https://www.bright.cn/wp-content/themes/brightdata/assets/js/minified/brd_main.min.js?ver=1790874475
1'use strict';(()=>{const brd=window.brd||{};brd.essentials=brd.essentials||{};brd.essentials.set_cookie=(name,val,hours,type)=>{if(!is_cookie_allowed(name)) 2return;val=type=='object'?encodeURIComponent(JSON.stringify(val)):val;let expires='expires=0';if(hours){let d=new Date();d.setTime(d.getTime()+hours*60*60*1000);expires='expires='+d.toUTCString()} 3document.cookie=name+'='+val+';'+expires+';path=/'};brd.essentials.get_cookie=(name,type)=>{let val='';name=name+'=';const ca=document.cookie.split(';');for(let i=0;i<ca.length;i++){let c=ca[i];while(c.charAt(0)==' ') 4c=c.substring(1);if(c.indexOf(name)==0) 5val=c.substring(name.length,c.length)} 6if(!val) 7return'';val=type=='object'?JSON.parse(decodeURIComponent(val)):val;return val};brd.essentials.remove_cookie=name=>brd.essentials.set_cookie(name,'',-1);const is_cookie_allowed=name=>{if(!brd.essentials.get_cookie('brd_is_eu')) 8return!0;if(!window.brd_cookies_consent||typeof window.brd_cookies_consent.is_cookie_allowed!='function'){return!0} 9const is_eu=brd.essentials.get_cookie('brd_is_eu');if(!is_eu||is_eu=='false') 10return!0;const c=window.brd_cookies_consent;const type=c.get_cookie_type_by_name(name);if(!type){throw new Error(`Cookie ${name} is not in the `+`brd_cookies_consent.cookies list. Add cookie to the list `+`first`)} 11if(type=='necessary') 12return!0;return c.is_cookie_allowed(type)};brd.essentials.is_cn_host=hostname=>{hostname=hostname||typeof location!=='undefined'&&location.hostname||'';return hostname.indexOf('bright.cn')!==-1};brd.essentials.req_debug=query=>{const script=document.createElement('script');script.src=brd.essentials.ATTR_BASE+'/dummy.js?'+query+'&rnd='+Math.random();document.body.appendChild(script)};brd.essentials.ATTR_BASE=brd.essentials.is_cn_host()?'https://www.bright.cn':'https://brightdata.com';window.brd=brd})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.