Skip to content

Instantly share code, notes, and snippets.

@bll-bobbygill
Created September 4, 2024 18:25
Show Gist options
  • Save bll-bobbygill/7a14922bfded9f9f2d76cc7534566e99 to your computer and use it in GitHub Desktop.
Save bll-bobbygill/7a14922bfded9f9f2d76cc7534566e99 to your computer and use it in GitHub Desktop.
function B2BRetention(){this[_0x46032c(-0x121,-0xf1)]=![],this[_0x46032c(-0xea,-0xf0)]=![],this['valid_domain']=![],this[_0x46032c(-0x11c,-0xef)]=![],this[_0x46032c(-0xe3,-0xee)]=!![],this[_0x46032c(-0xd4,-0xed)]=![],this[_0x46032c(-0xee,-0xec)]=![],this[_0x46032c(-0xb5,-0xeb)]='',this[_0x46032c(-0xd3,-0xea)]=![],this[_0x46032c(-0xbc,-0xe9)]=![],this['has_console']=window[_0x46032c(-0x112,-0xe8)]&&console[_0x46032c(-0xa4,-0xe7)],this[_0x46032c(-0xc5,-0xe6)]=document['currentScript'][_0x46032c(-0xfa,-0xe5)],this['label']=_0x46032c(-0xf8,-0xe4),this[_0x46032c(-0xd4,-0xe3)]=null,this[_0x46032c(-0x12c,-0xe2)]=1;function _0x46032c(_0x24feb8,_0xbf2828){return _0x3497(_0xbf2828- -0xf1,_0x24feb8);}this['domains']=['bluelabellabs.com'],this[_0x46032c(-0x11c,-0xe1)]=false,this[_0x46032c(-0x106,-0xe0)]=true,this[_0x46032c(-0xb6,-0xdf)]=false,this[_0x46032c(-0xd6,-0xde)]='9xgnrndqve';}function _0x3497(_0xdacc47,_0x34978c){const _0x14fc96=_0xdacc();return _0x3497=function(_0x2a8d57,_0x71965f){_0x2a8d57=_0x2a8d57-0x0;let _0x5abb41=_0x14fc96[_0x2a8d57];return _0x5abb41;},_0x3497(_0xdacc47,_0x34978c);}B2BRetention['prototype'][_0x4fb854(0x2a0,0x2dc)]=function(){function _0x1b5447(_0x3baece,_0x296c33){return _0x4fb854(_0x3baece,_0x296c33- -0x3f6);}try{this[_0x1b5447(-0x148,-0x128)]=reb2b[_0x1b5447(-0xd6,-0x119)];}catch{}_reb2b['validate_script'](),_reb2b[_0x1b5447(-0x148,-0x118)](),_reb2b[_0x1b5447(-0x12b,-0x117)](),_reb2b[_0x1b5447(-0xe1,-0x116)](),_reb2b['fetch_keys'](),_reb2b[_0x1b5447(-0xe8,-0x115)](),_reb2b[_0x1b5447(-0x157,-0x114)]();},B2BRetention[_0x4fb854(0x2b7,0x2e3)][_0x4fb854(0x2ac,0x2e4)]=function(){this['valid_script']=this[_0x5b12e4(0x3d1,0x39f)][_0x5b12e4(0x3e3,0x3d8)](_0x5b12e4(0x3e4,0x3da));if(navigator[_0x5b12e4(0x3e5,0x428)]){}else this[_0x5b12e4(0x3c6,0x385)]=![];let _0x31baaa=navigator[_0x5b12e4(0x3e6,0x41d)]||navigator[_0x5b12e4(0x3e7,0x3b4)]||window[_0x5b12e4(0x3e8,0x437)];(_0x31baaa[_0x5b12e4(0x3e9,0x3c8)](_0x5b12e4(0x3ea,0x3d5))>-0x1||_0x31baaa[_0x5b12e4(0x3e9,0x3d3)](_0x5b12e4(0x3eb,0x425))>-0x1||_0x31baaa[_0x5b12e4(0x3e9,0x3c3)](_0x5b12e4(0x3ec,0x3fc))>-0x1||_0x31baaa[_0x5b12e4(0x3e9,0x3c6)](_0x5b12e4(0x3ed,0x420))>-0x1||_0x31baaa[_0x5b12e4(0x3e9,0x39d)](_0x5b12e4(0x3ee,0x3cc))>-0x1||_0x31baaa['indexOf']('facebookexternalhit')>-0x1)&&(this[_0x5b12e4(0x3c6,0x3b3)]=![]);let _0xbaca06=this['script_url'][_0x5b12e4(0x3ef,0x3d0)](/b2bjsstore\/b\/(.*?)\/reb2b.js/);_0xbaca06[0x1][_0x5b12e4(0x3f0,0x3ea)]()===this[_0x5b12e4(0x3f1,0x43d)][_0x5b12e4(0x3f0,0x3ef)]()&&(this[_0x5b12e4(0x3c7,0x38c)]=!![]);if(this[_0x5b12e4(0x3f2,0x438)]['length']>0x0)for(let _0x1b27b9=0x0;_0x1b27b9<this[_0x5b12e4(0x3f2,0x43a)][_0x5b12e4(0x3f3,0x424)];_0x1b27b9++){let _0x1a44ca=this[_0x5b12e4(0x3f2,0x3f6)][_0x1b27b9];location[_0x5b12e4(0x3f4,0x3d8)][_0x5b12e4(0x3f5,0x3cb)](_0x1a44ca)&&(this['valid_domain']=!![]);}function _0x5b12e4(_0x4a1369,_0x4f6dc2){return _0x4fb854(_0x4f6dc2,_0x4a1369-0xfe);}location['href']['includes'](_0x5b12e4(0x3f6,0x3e6))&&(this[_0x5b12e4(0x3ce,0x41b)]=!![]);},B2BRetention[_0x4fb854(0x2f3,0x2e3)]['check_double_load']=function(){if(window['location']!==window[_0x159d54(0x25c,0x22c)][_0x159d54(0x25d,0x2ad)]){this[_0x159d54(0x22b,0x1e0)]=![];return;}let _0x2d57d6=document[_0x159d54(0x25e,0x20f)][_0x159d54(0x25f,0x2ad)](';\x20')['find'](_0x16dad5=>_0x16dad5[_0x159d54(0x248,0x248)]('_reb2bloaded='))?.[_0x159d54(0x25f,0x25c)]('=')[0x1];function _0x159d54(_0x14b6e4,_0x28a6e0){return _0x4fb854(_0x28a6e0,_0x14b6e4- -0x9d);}if(_0x2d57d6===_0x159d54(0x260,0x29a)){this['valid_script']=![];return;}document[_0x159d54(0x25e,0x27a)]='_reb2bloaded=true;max-age=1;secure;samesite=strict;path=/';},B2BRetention[_0x4fb854(0x2cf,0x2e3)][_0x4fb854(0x294,0x2df)]=function(){function _0x667772(_0x5883bb,_0x57390d){return _0x4fb854(_0x57390d,_0x5883bb- -0x1cf);}try{typeof localStorage!==_0x667772(0x12f,0x125)&&(localStorage[_0x667772(0x130,0x13f)](_0x667772(0x131,0xf7),'yes'),localStorage[_0x667772(0x132,0x121)]('b2b_feature_test')===_0x667772(0x133,0x17d)&&(localStorage['removeItem']('b2b_feature_test'),this[_0x667772(0x100,0xc4)]=!![]));}catch(_0x10628f){}},B2BRetention[_0x4fb854(0x2f2,0x2e3)][_0x4fb854(0x32b,0x2e0)]=function(){function _0x378589(_0x2511fd,_0x1c0146){return _0x4fb854(_0x1c0146,_0x2511fd- -0x591);}document[_0x378589(-0x28e,-0x24c)]&&document['referrer'][_0x378589(-0x28d,-0x27c)]!==location[_0x378589(-0x28d,-0x275)]&&_reb2b['store_key'](_0x378589(-0x28c,-0x2ac),document[_0x378589(-0x28e,-0x298)],0x3c*0x3c*0x18*0xf,0x0,!![]);},B2BRetention['prototype'][_0x4fb854(0x2d6,0x306)]=function(){function _0x147a71(_0x384bc4,_0x3c419a){return _0x4fb854(_0x384bc4,_0x3c419a- -0x244);}try{this[_0x147a71(0xbc,0x92)]!==null&&this[_0x147a71(0x98,0x92)]>0x0&&setTimeout(function(){function _0x3e8833(_0x20696f,_0x3f155c){return _0x147a71(_0x20696f,_0x3f155c- -0x27e);}_reb2b[_0x3e8833(-0x1b7,-0x1bb)]();},this['auto_trigger_collection_after_time']*0x3e8);if(this['auto_trigger_collection_after_pageviews']!==null&&this[_0x147a71(0x73,0x93)]>0x0){if(this[_0x147a71(0x9b,0x93)]===0x1)_reb2b[_0x147a71(0x10b,0xc3)]();else{let _0x29cb35=document[_0x147a71(0xa3,0xb7)]['split'](';\x20')[_0x147a71(0x8a,0xc4)](_0x168181=>_0x168181['startsWith'](_0x147a71(0x10c,0xc5)))?.[_0x147a71(0xd6,0xb8)]('=')[0x1];_0x29cb35!==undefined?(_0x29cb35=parseInt(_0x29cb35)+0x1,document[_0x147a71(0x107,0xb7)]=_0x147a71(0x8b,0xc5)+_0x29cb35+_0x147a71(0x10a,0xc6)+0x3c*0x3c+_0x147a71(0x76,0xc7),_0x29cb35>=this[_0x147a71(0xd8,0x93)]&&_reb2b[_0x147a71(0xb1,0xc3)]()):document['cookie']=_0x147a71(0xad,0xc8)+0x3c*0x3c+_0x147a71(0x75,0xc7);}}}catch{}},B2BRetention['prototype'][_0x4fb854(0x342,0x30d)]=function(_0x3455f7,_0x149c2f){let _0x3928a0=null;this[_0x21dc06(0x4,-0x46)]&&(_0x3928a0=localStorage[_0x21dc06(0x24,-0x14)](_0x3455f7));function _0x21dc06(_0x398eaa,_0x34b73a){return _0x4fb854(_0x398eaa,_0x34b73a- -0x315);}return _0x3928a0===null&&(_0x3928a0=document['cookie']['split'](';\x20')[_0x21dc06(0x2f,-0xd)](_0x586965=>_0x586965[_0x21dc06(-0x46,-0x30)](_0x3455f7+'='))?.[_0x21dc06(0xa,-0x19)]('=')[0x1]),_0x3928a0!==null&&_0x3928a0!==undefined&&_0x149c2f&&_0x3928a0['length']>=0x20&&(_0x3928a0=_0x3928a0[_0x21dc06(-0x4a,-0x7)](this[_0x21dc06(0x2a,-0x22)],''),_0x3928a0=atob(_0x3928a0)),_0x3928a0;},B2BRetention[_0x4fb854(0x2dd,0x2e3)]['store_key']=function(_0x140d3c,_0x34003c,_0x1b3e9a,_0x526168,_0x3284af){_0x526168>0x0&&(_0x34003c=btoa(_0x34003c),_0x34003c=_0x34003c[_0x1fe177(-0xa8,-0x81)](0x0,_0x526168)+this['label']+_0x34003c['slice'](_0x526168));document[_0x1fe177(-0xbc,-0x10d)]=_0x140d3c+'='+_0x34003c+';max-age='+_0x1b3e9a+';secure;samesite=strict;path=/';function _0x1fe177(_0x2be623,_0x115acf){return _0x4fb854(_0x115acf,_0x2be623- -0x3b7);}if(_0x3284af&&this[_0x1fe177(-0xe8,-0xe3)])localStorage[_0x1fe177(-0xb8,-0xe5)](_0x140d3c,_0x34003c);},B2BRetention['prototype'][_0x4fb854(0x309,0x310)]=function(){function _0x36bcba(_0x5f35bc,_0x3b91ae){return _0x4fb854(_0x3b91ae,_0x5f35bc- -0x591);}if(this[_0x36bcba(-0x2c9,-0x30b)]){_reb2b[_0x36bcba(-0x280,-0x279)](),_reb2b[_0x36bcba(-0x27f,-0x2c0)](),this[_0x36bcba(-0x27e,-0x2ca)]=_reb2b['process_key'](_0x36bcba(-0x27d,-0x26b),![]),this[_0x36bcba(-0x27f,-0x236)]=_reb2b[_0x36bcba(-0x284,-0x244)](_0x36bcba(-0x27c,-0x23e),![]),this[_0x36bcba(-0x27b,-0x2cb)]=_reb2b[_0x36bcba(-0x284,-0x278)](_0x36bcba(-0x27a,-0x27d),![]),this[_0x36bcba(-0x279,-0x284)]=_reb2b[_0x36bcba(-0x284,-0x2cd)](_0x36bcba(-0x278,-0x259),!![]),this[_0x36bcba(-0x277,-0x2ba)]=_reb2b[_0x36bcba(-0x284,-0x232)](_0x36bcba(-0x276,-0x24f),!![]),this[_0x36bcba(-0x275,-0x23b)]=_reb2b[_0x36bcba(-0x284,-0x24d)](_0x36bcba(-0x274,-0x2bd),!![]),this[_0x36bcba(-0x273,-0x297)]=_reb2b[_0x36bcba(-0x284,-0x293)]('_fbp',![]),this[_0x36bcba(-0x272,-0x229)]=_reb2b['process_key'](_0x36bcba(-0x271,-0x278),![]),this[_0x36bcba(-0x28e,-0x282)]=_reb2b[_0x36bcba(-0x284,-0x26b)](_0x36bcba(-0x28c,-0x2be),![]),this[_0x36bcba(-0x270,-0x28e)]=_reb2b[_0x36bcba(-0x284,-0x2a4)](_0x36bcba(-0x26f,-0x266),![]),this[_0x36bcba(-0x26e,-0x26f)]=_reb2b[_0x36bcba(-0x284,-0x285)](_0x36bcba(-0x26d,-0x2b5),![]);if(this[_0x36bcba(-0x270,-0x28b)]){let _0x91317=JSON[_0x36bcba(-0x26c,-0x246)](decodeURIComponent(this[_0x36bcba(-0x270,-0x238)]));if(_0x91317['proxy']==!![])this[_0x36bcba(-0x2c5,-0x2f5)]=!![];if(_0x91317[_0x36bcba(-0x26b,-0x24e)]=='US')this[_0x36bcba(-0x2c7,-0x306)]=!![];!_0x91317['hasOwnProperty'](_0x36bcba(-0x26a,-0x25a))&&(document[_0x36bcba(-0x296,-0x2ad)]=_0x36bcba(-0x269,-0x271));}if(!this[_0x36bcba(-0x2b8,-0x30a)])this[_0x36bcba(-0x2c7,-0x309)]=!![];(this[_0x36bcba(-0x279,-0x26d)]&&this['li_md5'][_0x36bcba(-0x29c,-0x2cf)]==0x20||this['td_md5']&&this[_0x36bcba(-0x275,-0x26f)][_0x36bcba(-0x29c,-0x29c)]==0x20)&&(this[_0x36bcba(-0x2c4,-0x315)]=!![]);}},B2BRetention[_0x4fb854(0x2a9,0x2e3)]['validate_cookie_consent']=function(){function _0x3bb598(_0xb72e83,_0x53bdf1){return _0x4fb854(_0xb72e83,_0x53bdf1- -0x470);}if(this['valid_script']){let _0x433580=_reb2b['process_key'](_0x3bb598(-0x195,-0x147),![]),_0x113dce=_reb2b[_0x3bb598(-0x1a2,-0x163)](_0x3bb598(-0x104,-0x146),![]);if(_0x113dce){_0x113dce===_0x3bb598(-0x1b4,-0x16e)?!this[_0x3bb598(-0x1dd,-0x1a5)]&&(this[_0x3bb598(-0x1a4,-0x1a5)]=!![],_reb2b['check_geo']()):(this['valid_cookie_consent']=![],setTimeout(function(){function _0x5dfd68(_0x24d29b,_0x1b98c3){return _0x3bb598(_0x1b98c3,_0x24d29b- -0x214);}_reb2b[_0x5dfd68(-0x3a3,-0x395)]();},0x258));return;}if(_0x433580){let _0x13b127=_0x433580[_0x3bb598(-0x1b6,-0x174)](','),_0x3ec285={};for(const _0x2a88d0 of _0x13b127){const [_0x3a4a50,_0x2ee512]=_0x2a88d0[_0x3bb598(-0x164,-0x174)](':');_0x3ec285[_0x3a4a50[_0x3bb598(-0x118,-0x145)]()]=_0x2ee512[_0x3bb598(-0x132,-0x145)]();}let _0x35651b=_0x3ec285[_0x3bb598(-0x14d,-0x144)];_0x35651b==='no'||_0x35651b===''?(this[_0x3bb598(-0x1b6,-0x1a5)]=![],setTimeout(function(){function _0x5ec2f7(_0x45d155,_0x397b87){return _0x3bb598(_0x397b87,_0x45d155- -0x199);}_reb2b[_0x5ec2f7(-0x328,-0x307)]();},0x258)):!this[_0x3bb598(-0x1da,-0x1a5)]&&(this[_0x3bb598(-0x1b0,-0x1a5)]=!![],_reb2b[_0x3bb598(-0x1c9,-0x18e)]());}else{let _0x434855=document[_0x3bb598(-0xf7,-0x143)]['innerHTML'];_0x434855[_0x3bb598(-0x13c,-0x179)](_0x3bb598(-0x108,-0x142))&&(this[_0x3bb598(-0x197,-0x1a5)]=![],setTimeout(function(){function _0x3b26b1(_0x4638ce,_0x32911b){return _0x3bb598(_0x32911b,_0x4638ce-0x300);}_reb2b[_0x3b26b1(0x171,0x122)]();},0x258));}}},B2BRetention[_0x4fb854(0x307,0x2e3)]['grab_other_cookies']=function(){function _0x23db3a(_0xa93780,_0x402df2){return _0x4fb854(_0xa93780,_0x402df2- -0x2a5);}this[_0x23db3a(0x42,0x8a)]=_reb2b[_0x23db3a(0x26,0x68)](_0x23db3a(0xcb,0x8b),![]);},B2BRetention[_0x4fb854(0x2f6,0x2e3)][_0x4fb854(0x30d,0x2e2)]=function(){function _0x5254ad(_0x5648d3,_0x59730c){return _0x4fb854(_0x5648d3,_0x59730c- -0x276);}this[_0x5254ad(0x50,0x52)]&&this['valid_cookie_consent']&&(!this[_0x5254ad(0xf4,0xab)]?_reb2b[_0x5254ad(0xba,0xbb)]():_reb2b[_0x5254ad(0xbb,0xbc)]());},B2BRetention[_0x4fb854(0x2cd,0x2e3)][_0x4fb854(0x32a,0x331)]=function(){function _0x20106a(_0x48f0c6,_0x39f287){return _0x4fb854(_0x48f0c6,_0x39f287-0xc1);}fetch('https://pro.ip-api.com/json?key=zPwv6i0dpmS2yR5&fields=proxy,hosting,isp,lat,long,zip,city,region,status,country,timezone,regionName,countryCode')[_0x20106a(0x43a,0x3f4)](_0x2e63a3=>_0x2e63a3[_0x20106a(0x3d3,0x3f5)]())[_0x20106a(0x3a7,0x3f4)](_0x230e24=>{function _0x2dee8e(_0x5c311d,_0x11e9d0){return _0x20106a(_0x5c311d,_0x11e9d0- -0x185);}this[_0x2dee8e(0x22f,0x25d)]=encodeURIComponent(JSON[_0x2dee8e(0x255,0x271)](_0x230e24)),_0x230e24[_0x2dee8e(0x2b1,0x263)]==!![]&&(this['using_proxy']=!![]),_0x230e24[_0x2dee8e(0x21b,0x262)]=='US'&&(this[_0x2dee8e(0x1e8,0x206)]=!![],_reb2b['capture_ids']()),_reb2b['store_key'](_0x2dee8e(0x258,0x25e),encodeURIComponent(JSON[_0x2dee8e(0x28a,0x271)](_0x230e24)),0x3c*0x3c*0x18*0x14,0x0,![]);});},B2BRetention[_0x4fb854(0x32d,0x2e3)][_0x4fb854(0x2fb,0x332)]=function(){function _0x5b73b4(_0x43eb7c,_0x4bedb5){return _0x4fb854(_0x4bedb5,_0x43eb7c- -0x28a);}this[_0x5b73b4(0x3e,0x43)]&&this[_0x5b73b4(0x40,0x32)]&&(!this[_0x5b73b4(0x43,0x80)]?(!this[_0x5b73b4(0x99,0xc3)]?this[_0x5b73b4(0x99,0xc6)]=0x1:this['re_resolve']=parseInt(this['re_resolve'])+0x1,this['re_resolve']<=0x5&&(document[_0x5b73b4(0x71,0x97)]=_0x5b73b4(0xac,0xd3)+this[_0x5b73b4(0x99,0xdb)]+_0x5b73b4(0x80,0x48)+0x3c*0x3c*0x18*0x2+_0x5b73b4(0x81,0x42),_reb2b[_0x5b73b4(0xad,0xca)](),_reb2b[_0x5b73b4(0xae,0x9d)]())):_reb2b[_0x5b73b4(0x7c,0xa0)]());};function _0x4fb854(_0x5b96af,_0x2a29fb){return _0x3497(_0x2a29fb-0x2c8,_0x5b96af);}function _0xdacc(){const _0x2af40b=['valid_script','valid_account','valid_geo','valid_cookie_consent','using_proxy','has_valid_id','ver','has_ls','do_debug','console','error','script_url','src','46DJ4HM1J361','auto_trigger_collection_after_time','auto_trigger_collection_after_pageviews','disable_events','geo_fence','wait_for_hs','api_gateway','prep_service','SNIPPET_VERSION','check_double_load','check_local_storage','process_url','validate_cookie_consent','check_geo','prototype','validate_script','startsWith','https://s3-us-west-2.amazonaws.com/b2bjsstore/b/','cookieEnabled','userAgent','vendor','opera','indexOf','Instagram','Googlebot','Bingbot','Msnbot','yandex','match','toLowerCase','label','domains','length','host','includes','vge=true','parent','location','cookie','split','true','undefined','setItem','b2b_feature_test','getItem','yes','referrer','hostname','_reb2bref','process_triggers','collect','find','_reb2bpv=',';max-age=',';secure;samesite=strict;path=/','_reb2bpv=1;max-age=','process_key','replace','slice','fetch_keys','uuidv4','session_id','uuid','_reb2buid','_reb2bsessionID','external_id','_reb2beid','li_md5','_reb2bli','li_sha2','_reb2bsha','td_md5','_reb2btd','fbp','fbc','_fbc','geo','_reb2bgeo','re_resolve','_reb2bresolve','parse','countryCode','proxy','_reb2bgeo=;expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20GMT;secure;samesite=strict;path=/','cookieyes-consent','cookieyes-advertisement','trim','advertisement','documentElement','https://cdn-cookieyes.com/','hs_hubspotutk','hubspotutk','trigger_geo','capture_ids','then','json','stringify','_reb2bresolve=','trigger_li','trigger_td','https://alocdn.com/c/vn3d8u2u/a/xtarget/p.json','md5_email','store_key','liQ','push','onload','fetch_li_id','head','md5','sha2','getRandomValues','random','toString','substr','getTime','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789','floor','assignIdentity','log_error','Retention.com\x20-\x20invalid\x20identity\x20information','recollect','valid_domain','collect_triggered','send_to_gateway','b2b','https://','clean_string','POST','application/json','grab_other_cookies','type','account_data','li_sha256','extra_data','last_referrer','title','url','guid','version','extra_ids','charCodeAt','has_console','log','run_pending_jobs','shift','identify','reb2b','href','verifyge=true','opener','postMessage','close'];_0xdacc=function(){return _0x2af40b;};return _0xdacc();}B2BRetention[_0x4fb854(0x29f,0x2e3)][_0x4fb854(0x34d,0x338)]=function(){function _0x434a43(_0x40e49b,_0x1d9591){return _0x4fb854(_0x1d9591,_0x40e49b- -0x3a0);}fetch(_0x434a43(-0x67,-0x80),{'credentials':'include'})[_0x434a43(-0x6d,-0x54)](_0x1d2f77=>_0x1d2f77['json']())[_0x434a43(-0x6d,-0x6e)](_0x3e5212=>{function _0x80cf9e(_0x246764,_0x9a08b6){return _0x434a43(_0x9a08b6- -0x24a,_0x246764);}_0x3e5212['md5_email']&&(this[_0x80cf9e(-0x34f,-0x31d)]=!![],this[_0x80cf9e(-0x314,-0x2ce)]=_0x3e5212[_0x80cf9e(-0x2f9,-0x2b0)],setTimeout(function(){function _0x57ad24(_0x4e9607,_0x212e47){return _0x80cf9e(_0x4e9607,_0x212e47-0x4bf);}_reb2b[_0x57ad24(0x1a1,0x1db)]();},0x32),_reb2b[_0x80cf9e(-0x2f4,-0x2af)](_0x80cf9e(-0x316,-0x2cd),_0x3e5212[_0x80cf9e(-0x25d,-0x2b0)],0x3c*0x3c*0x18*0x1e,0x9,![]));});},B2BRetention['prototype'][_0x4fb854(0x354,0x337)]=function(){function _0x40257f(_0x21438c,_0xeef378){return _0x4fb854(_0xeef378,_0x21438c- -0x34b);}window['liQ']=window[_0x40257f(-0xf,-0x54)]||[],window[_0x40257f(-0xf,-0xa)][_0x40257f(-0xe,-0x5a)]({'config':{'sync':![],'identityResolutionConfig':{'publisherId':0x11c1b}}});let _0x359878=document['createElement']('script');_0x359878[_0x40257f(-0x77,-0x33)]='https://b-code.liadm.com/lc2.js',_0x359878[_0x40257f(-0xd,-0x5)]=function(){function _0x655aa(_0x469651,_0x868b35){return _0x40257f(_0x868b35- -0x232,_0x469651);}_reb2b[_0x655aa(-0x251,-0x23e)]();},document[_0x40257f(-0xb,-0x23)]['appendChild'](_0x359878);},B2BRetention[_0x4fb854(0x2a5,0x2e3)]['fetch_li_id']=function(){var _0x1c6c89=0.3;if(this['using_proxy'])_0x1c6c89=0.7;function _0x19babe(_0x22bc5c,_0xf82da2){return _0x4fb854(_0xf82da2,_0x22bc5c- -0x2ac);}window[_0x19babe(0x90,0x57)]['resolve'](function(_0x1b2175){function _0x124beb(_0x171930,_0x830dd7){return _0x19babe(_0x830dd7-0x191,_0x171930);}_0x1b2175[_0x124beb(0x1dd,0x226)]&&(_reb2b[_0x124beb(0x1d0,0x1b2)]=!![],_reb2b[_0x124beb(0x234,0x1fd)]=_0x1b2175[_0x124beb(0x24a,0x226)],setTimeout(function(){function _0x3404a6(_0x553357,_0x5a9f0a){return _0x124beb(_0x5a9f0a,_0x553357- -0x32e);}_reb2b[_0x3404a6(-0x143,-0x140)]();},0x32),_reb2b[_0x124beb(0x1da,0x220)](_0x124beb(0x20a,0x1fe),_0x1b2175['md5'],0x3c*0x3c*0x18*0x1e,0x6,![])),_0x1b2175[_0x124beb(0x1dd,0x227)]&&(_reb2b[_0x124beb(0x236,0x1ff)]=_0x1b2175[_0x124beb(0x268,0x227)],_reb2b[_0x124beb(0x259,0x220)]('_reb2bsha',_0x1b2175['sha2'],0x3c*0x3c*0x18*0x1e,0x12,![]));},function(_0x17a1cc){},{'qf':_0x1c6c89,'resolve':[_0x19babe(0x95,0x9c),'sha2']});},B2BRetention[_0x4fb854(0x2b1,0x2e3)][_0x4fb854(0x31f,0x311)]=function(){let _0x3e5b95=_reb2b[_0x26374c(0x30e,0x2df)](_0x26374c(0x315,0x2dd),0x0);function _0x26374c(_0x4c2ad3,_0x45f7b9){return _0x4fb854(_0x45f7b9,_0x4c2ad3-0x1);}if(_0x3e5b95)return;try{_0x3e5b95=([0x989680]+-0x3e8+-0xfa0+-0x1f40+-0x174876e800)[_0x26374c(0x30f,0x2d4)](/[018]/g,_0x593006=>(_0x593006^crypto[_0x26374c(0x344,0x339)](new Uint8Array(0x1))[0x0]&0xf>>_0x593006/0x4)['toString'](0x10));}catch{_0x3e5b95=Math[_0x26374c(0x345,0x32e)]()[_0x26374c(0x346,0x2f8)](0x24)[_0x26374c(0x347,0x37a)](0x2,0x7)+'-'+Math['random']()[_0x26374c(0x346,0x340)](0x24)['substr'](0x2,0x7)+'-'+Math['random']()[_0x26374c(0x346,0x32e)](0x24)[_0x26374c(0x347,0x2f7)](0x2,0x7);}_0x3e5b95=_0x3e5b95+'-'+new Date()[_0x26374c(0x348,0x348)](),_reb2b['store_key'](_0x26374c(0x315,0x314),_0x3e5b95,0x3c*0x3c*0x18*0x168,0x0,!![]);},B2BRetention[_0x4fb854(0x32a,0x2e3)][_0x4fb854(0x2e3,0x312)]=function(){let _0x301597=_reb2b[_0x1ef863(-0x142,-0x123)](_0x1ef863(-0x13a,-0x155),0x0);function _0x1ef863(_0x139c90,_0x57ec06){return _0x4fb854(_0x57ec06,_0x139c90- -0x44f);}if(!_0x301597){_0x301597='';const _0xfc6cd3=_0x1ef863(-0x107,-0xd7);for(let _0x100793=0x0;_0x100793<0x18;_0x100793++){const _0x4b08c7=Math[_0x1ef863(-0x106,-0x106)](Math['random']()*_0xfc6cd3[_0x1ef863(-0x15a,-0x13a)]);_0x301597+=_0xfc6cd3['charAt'](_0x4b08c7);}}_reb2b[_0x1ef863(-0x114,-0x10a)](_0x1ef863(-0x13a,-0x185),_0x301597,0x3c*0x1e,0x0,![]);},B2BRetention[_0x4fb854(0x32d,0x2e3)][_0x4fb854(0x33c,0x34a)]=function(_0x3f35e6){if(!_0x3f35e6){_reb2b[_0x15970b(0x2d,-0x1a)](_0x15970b(0x2e,0x39));return;}function _0x15970b(_0x564615,_0x3d918d){return _0x4fb854(_0x3d918d,_0x564615- -0x31e);}this[_0x15970b(-0x8,-0x56)]=_0x3f35e6[_0x15970b(0x27,0x3e)](),_reb2b[_0x15970b(0x1d,-0x14)](_0x15970b(-0x7,0x1a),_0x3f35e6['toString'](),0x3c*0x3c*0x18*0x168,0x0,!![]);},B2BRetention[_0x4fb854(0x31e,0x2e3)][_0x4fb854(0x38b,0x34d)]=function(){function _0x3f986b(_0x5883be,_0x598a03){return _0x4fb854(_0x598a03,_0x5883be- -0x39);}_reb2b[_0x3f986b(0x2ce,0x2fd)]();};let coc_idx=0x0;B2BRetention[_0x4fb854(0x303,0x2e3)][_0x4fb854(0x2c3,0x307)]=function(){if(!this['valid_script']||!this['valid_account']||!this[_0x256a4d(-0xf5,-0xe5)])return;function _0x256a4d(_0x58e647,_0x22523b){return _0x4fb854(_0x58e647,_0x22523b- -0x433);}if(this[_0x256a4d(-0x158,-0x163)]){}else{if(!this[_0x256a4d(-0x181,-0x166)])return;if(this[_0x256a4d(-0xe3,-0xe4)])return;let _0x422262=_reb2b['append_keys'](_0x256a4d(-0x102,-0x12c));if(this[_0x256a4d(-0x157,-0x159)]&&!this['hs_hubspotutk']){coc_idx++;if(coc_idx<=0xa){setTimeout(_reb2b[_0x256a4d(-0x115,-0xe6)],0x32*coc_idx);return;}}this['collect_triggered']=!![],_reb2b[_0x256a4d(-0xaf,-0xe3)](_0x422262,this[_0x256a4d(-0x149,-0x158)],_0x256a4d(-0x132,-0xe2));}},B2BRetention['prototype'][_0x4fb854(0x33a,0x350)]=function(_0x3704ab,_0x24f6b2,_0x3b2754){function _0x3d0a5e(_0x71dc15,_0x33cce4){return _0x4fb854(_0x71dc15,_0x33cce4- -0x397);}if(this[_0x3d0a5e(-0xf7,-0xca)]&&this[_0x3d0a5e(-0xac,-0xcd)]&&!this[_0x3d0a5e(-0xc7,-0xbf)]){let _0x4844b8=_0x3d0a5e(-0x7c,-0x45)+_0x24f6b2+'.execute-api.us-west-2.amazonaws.com/'+_0x3b2754,_0x12b8e4=btoa(_reb2b[_0x3d0a5e(-0x77,-0x44)](JSON[_0x3d0a5e(-0xaf,-0x62)](_0x3704ab)));fetch(_0x4844b8,{'method':_0x3d0a5e(-0x62,-0x43),'headers':{'Content-Type':_0x3d0a5e(-0x33,-0x42)},'body':_0x12b8e4});}},B2BRetention[_0x4fb854(0x2ed,0x2e3)]['append_keys']=function(_0x38e85e){_reb2b[_0x4a1475(0x7b,0x75)]();function _0x4a1475(_0x1f5c6d,_0x4c6d54){return _0x4fb854(_0x4c6d54,_0x1f5c6d- -0x2db);}let _0x4b5626={'account_data':{},'extra_data':{}};_0x4b5626[_0x4a1475(0x18,0x66)]=this[_0x4a1475(0x18,0x17)],_0x4b5626[_0x4a1475(0x7c,0x60)]=_0x38e85e;if(this['li_md5'])_0x4b5626['account_data'][_0x4a1475(0x3d,0x5)]=this[_0x4a1475(0x3d,0x5a)];if(this[_0x4a1475(0x3f,0x5d)])_0x4b5626[_0x4a1475(0x7d,0x36)][_0x4a1475(0x7e,0xbb)]=this['li_sha2'];if(this['td_md5'])_0x4b5626[_0x4a1475(0x7d,0x3e)][_0x4a1475(0x41,0x7)]=this[_0x4a1475(0x41,-0x2)];if(this['fbp'])_0x4b5626[_0x4a1475(0x7f,0x59)][_0x4a1475(0x43,0x84)]=this[_0x4a1475(0x43,0x76)];if(this[_0x4a1475(0x44,0x3e)])_0x4b5626[_0x4a1475(0x7f,0xb4)][_0x4a1475(0x44,0x24)]=this[_0x4a1475(0x44,0x3c)];if(this[_0x4a1475(0x54,0x17)])_0x4b5626[_0x4a1475(0x7f,0xb2)][_0x4a1475(0x54,0x99)]=this[_0x4a1475(0x54,0xd)];if(this[_0x4a1475(0x3b,0xa)])_0x4b5626[_0x4a1475(0x7f,0x6f)]['external_id']=this['external_id'];if(this[_0x4a1475(0x28,-0xf)])_0x4b5626[_0x4a1475(0x7f,0x3a)][_0x4a1475(0x28,0x67)]=this[_0x4a1475(0x28,0x25)];if(document['referrer'])_0x4b5626['extra_data'][_0x4a1475(0x80,0x74)]=document[_0x4a1475(0x28,0x6b)];if(document[_0x4a1475(0x81,0xc7)])_0x4b5626[_0x4a1475(0x7f,0xc4)][_0x4a1475(0x81,0x78)]=_reb2b[_0x4a1475(0x78,0x2b)](document[_0x4a1475(0x81,0x8d)]);if(document[_0x4a1475(0x1f,0x6e)]&&document[_0x4a1475(0x1f,0x8)]['href'])_0x4b5626[_0x4a1475(0x7f,0x6d)][_0x4a1475(0x82,0x6d)]=document['location']['href'];else{if(document['documentURI'])_0x4b5626[_0x4a1475(0x7f,0x53)][_0x4a1475(0x82,0xce)]=document['documentURI'];}_0x4b5626[_0x4a1475(0x7f,0x90)]['session_id']=this['session_id'],_0x4b5626[_0x4a1475(0x7f,0x95)][_0x4a1475(0x83,0x7f)]=this[_0x4a1475(0x38,0x65)],_0x4b5626[_0x4a1475(0x7f,0x6d)][_0x4a1475(0x84,0x38)]=this[_0x4a1475(-0xd,-0x54)],_0x4b5626[_0x4a1475(0x7f,0x2d)][_0x4a1475(-0x8,0x5)]=this[_0x4a1475(-0x8,-0x33)];if(this[_0x4a1475(0x85,0xc1)])_0x4b5626[_0x4a1475(0x7f,0xa4)]['extra_ids']=this[_0x4a1475(0x85,0x93)];if(this[_0x4a1475(0x46,0x6b)])_0x4b5626[_0x4a1475(0x7f,0xc1)]['geo']=JSON[_0x4a1475(0x4a,0x94)](decodeURIComponent(this[_0x4a1475(0x46,0x25)]));return _0x4b5626;},B2BRetention[_0x4fb854(0x2a9,0x2e3)][_0x4fb854(0x314,0x353)]=function(_0x130c42){let _0x137dae='';function _0x47cd07(_0x5065d4,_0x4e4a1c){return _0x4fb854(_0x5065d4,_0x4e4a1c-0xf6);}for(let _0x1fc44a=0x0;_0x1fc44a<_0x130c42[_0x47cd07(0x401,0x3eb)];_0x1fc44a++){_0x130c42[_0x47cd07(0x451,0x457)](_0x1fc44a)<=0x7f&&(_0x137dae+=_0x130c42['charAt'](_0x1fc44a));}return _0x137dae;},B2BRetention[_0x4fb854(0x2e2,0x2e3)][_0x4fb854(0x399,0x34b)]=function(_0x5d9c31){function _0x1a2048(_0x5e2242,_0x1fdad6){return _0x4fb854(_0x5e2242,_0x1fdad6- -0x680);}this[_0x1a2048(-0x307,-0x31e)]&&console[_0x1a2048(-0x30f,-0x31d)](_0x5d9c31);},B2BRetention[_0x4fb854(0x322,0x2e3)][_0x4fb854(0x389,0x364)]=function(_0x9619dc){if(!this[_0x3ea025(-0x2c2,-0x27c)]||!this['valid_domain'])return;function _0x3ea025(_0x584040,_0x40226a){return _0x4fb854(_0x584040,_0x40226a- -0x544);}if(_0x9619dc===undefined)return;_0x9619dc&&Array['isArray'](_0x9619dc)&&_0x9619dc['forEach'](function(_0x141230){let _0xdb505c=_0x141230[_0x4be912(0xb0,0xf0)]();function _0x4be912(_0x3f52b6,_0x4a76f3){return _0x3ea025(_0x4a76f3,_0x3f52b6-0x28f);}switch(_0xdb505c){case'identify':_reb2b[_0x4be912(0xb1,0xfe)](_0x141230[0x0]);break;}});},_reb2b=new B2BRetention(),_reb2b[_0x4fb854(0x308,0x2dc)](),_reb2b['run_pending_jobs'](window[_0x4fb854(0x36e,0x367)]),window[_0x4fb854(0x3a8,0x367)]=_reb2b;location[_0x4fb854(0x37d,0x368)][_0x4fb854(0x344,0x2f7)](_0x4fb854(0x393,0x369))&&(window[_0x4fb854(0x31f,0x36a)]&&!window[_0x4fb854(0x37a,0x36a)]['closed']&&(window[_0x4fb854(0x377,0x36a)][_0x4fb854(0x346,0x36b)]('verify_script~'+_reb2b[_0x4fb854(0x314,0x2f3)],'*'),window[_0x4fb854(0x39f,0x36c)]()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment