mergn-webapp-sdk 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ 'use strict';function _0x291e(_0x3e70a1,_0xf2d4d4){const _0x10de8e=_0x10de();return _0x291e=function(_0x291e71,_0x20f702){_0x291e71=_0x291e71-0x14a;let _0xbae76a=_0x10de8e[_0x291e71];return _0xbae76a;},_0x291e(_0x3e70a1,_0xf2d4d4);}(function(_0x3b49ce,_0x380387){const _0x7b57f5=_0x291e,_0x2a5bae=_0x3b49ce();while(!![]){try{const _0x5ac3a8=parseInt(_0x7b57f5(0x213))/0x1+-parseInt(_0x7b57f5(0x1fb))/0x2+parseInt(_0x7b57f5(0x206))/0x3*(parseInt(_0x7b57f5(0x19c))/0x4)+parseInt(_0x7b57f5(0x225))/0x5*(parseInt(_0x7b57f5(0x161))/0x6)+-parseInt(_0x7b57f5(0x1c8))/0x7+-parseInt(_0x7b57f5(0x14b))/0x8+-parseInt(_0x7b57f5(0x14a))/0x9*(parseInt(_0x7b57f5(0x21f))/0xa);if(_0x5ac3a8===_0x380387)break;else _0x2a5bae['push'](_0x2a5bae['shift']());}catch(_0x3421e7){_0x2a5bae['push'](_0x2a5bae['shift']());}}}(_0x10de,0x9ae2f));function _0x10de(){const _0x1c269b=['identity','logout','Platform','utm_campaign','UTM_MEDIUM','#\x20Recording\x20event','documentElement','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','scroll','/attribute','Error\x20fetching\x20attribute\x20data','Edg','recordEvent','beforeunload','Popup','customer','getItem','length','Viewed\x20Webpage','removeItem','events','data','read\x20from\x20private\x20field','Event\x20','Web','URL','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','SCROLL','toISOString','test','Recording\x20attribute','groupEnd','[id^=\x22u_content_form_\x22]','campaignEntryTimeValue','propertyIsEnumerable','has','position','attributes','timeEnd','Identity:\x20','left','message','application/json','scrollHeight','write\x20to\x20private\x20field','defineProperties','/set-attribute','Error\x20posting\x20attribute\x20record','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','log','SESSION_ID','.u-close-button','location','40bbABVh','Safari','campaignEntryTime','ttl','access\x20private\x20method','Event\x20Payload:\x0a\x20','scrollY','debugLevel','UTM_TERM','Cannot\x20','INFO:\x20','campaignId','ERROR','Error\x20posting\x20event\x20record','hasOwnProperty','innerHTML','offlineEvents','[id^=\x22u_content_button_\x22]','Chrome','value','setDebugLevel','Recording\x20event\x20Time','Logging\x20out','/event','Checking\x20TTL','setItem','MergnError','ERROR:\x20','set','uniqueIdentity','post','\x0aUnexpected\x20error:\x20','querySelectorAll','Image\x20Click','popup_container_','disableSDK','parse','page','apiKey','\x0aMergnError:\x20','pathname','apply','group','stringify','4815412bUKlGI','IMMEDIATELY','SESSION_CREATED','UTM_CONTENT','utm_source','querySelector','Recording\x20event','.u-popup-container','name','innerHeight','Checking\x20TTL\x20Time','100%','UTM_SOURCE','userAgent','\x20is\x20not\x20valid.','utm_medium','load','Logging\x20in\x20Time','getOwnPropertyDescriptors','POST','99999999','Internet\x20Explorer','Unknown','Tracking\x20page\x20change','NONE','appendChild','string','INFO','randomUUID','updateAPIKey','login','initialTime','/customer','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','indexOf','click','Web\x20Session\x20Concluded','mergn','Error\x20posting\x20identity\x20data','ALL','top','online','Logging\x20out\x20Time','record\x20event','Mergn\x20SDK\x20Initialization\x20Time','addEventListener','getInstance','info','then','Attribute\x20Payload:\x0a\x20','Event\x20Payload','549612pwCcoy','style','filter','session','Popup\x20Action','#\x20recordAttribute','Initializing\x20Mergn\x20SDK','keys','Mergn\x20is\x20offline!','error','map','315348poPMzY','next','Tracking\x20page\x20change\x20Time','Mergn\x20SDK\x20is\x20disabled!','Attribute\x20','attributeProperty','join','Popup\x20View','eventProperty','close','search','getOwnPropertySymbols','get','1075147DgxbPl','isArray','fixed','recordAttribute','/brand','resolve','init','Form\x20Submit','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','onLine','os-version','defineProperty','530IRNFkm','throw','forEach','prototype','Mozilla\x20Firefox','utm_term','9185aTYkOI','call','toLowerCase','214290OuiDLI','2117848LgPGfZ','\x20has\x20invalid\x20attributeProperties:\x20','offline','form','div','Recording\x20attribute\x20Time','json','body','utm_content','hostname','isInitialized','Error\x20setting\x20identity','pushState','/record-event','/set-identity','action','time','zIndex','getTime','height','push','Firefox','3258LAlZxY','Microsoft\x20Edge','Logging\x20in','remove','href'];_0x10de=function(){return _0x1c269b;};return _0x10de();}((()=>{const _0x3fa1e9=_0x291e;var _0x2ba8e5=Object[_0x3fa1e9(0x21e)],_0x5534f3=Object[_0x3fa1e9(0x193)],_0x5b61fa=Object[_0x3fa1e9(0x1da)],_0x45946b=Object[_0x3fa1e9(0x211)],_0x951a9b=Object[_0x3fa1e9(0x222)][_0x3fa1e9(0x1aa)],_0x1e50b5=Object[_0x3fa1e9(0x222)][_0x3fa1e9(0x188)],_0x7d832c=(_0x567547,_0x5f55a2,_0x4500c8)=>_0x5f55a2 in _0x567547?_0x2ba8e5(_0x567547,_0x5f55a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4500c8}):_0x567547[_0x5f55a2]=_0x4500c8,_0x1af828=(_0x3f7eb7,_0x11abbc)=>{const _0x30661f=_0x3fa1e9;for(var _0x3bf20c in _0x11abbc||(_0x11abbc={}))_0x951a9b[_0x30661f(0x226)](_0x11abbc,_0x3bf20c)&&_0x7d832c(_0x3f7eb7,_0x3bf20c,_0x11abbc[_0x3bf20c]);if(_0x45946b){for(var _0x3bf20c of _0x45946b(_0x11abbc))_0x1e50b5[_0x30661f(0x226)](_0x11abbc,_0x3bf20c)&&_0x7d832c(_0x3f7eb7,_0x3bf20c,_0x11abbc[_0x3bf20c]);}return _0x3f7eb7;},_0xe3a062=(_0x1f391,_0x1afc3c)=>_0x5534f3(_0x1f391,_0x5b61fa(_0x1afc3c)),_0x25bdcc=(_0x4e2f2c,_0x2d5441,_0x309fb9)=>{const _0x16352f=_0x3fa1e9;if(!_0x2d5441[_0x16352f(0x189)](_0x4e2f2c))throw TypeError(_0x16352f(0x1a5)+_0x309fb9);},_0x224c57=(_0x535aad,_0x491be9,_0xe499e)=>(_0x25bdcc(_0x535aad,_0x491be9,_0x3fa1e9(0x17c)),_0xe499e?_0xe499e[_0x3fa1e9(0x226)](_0x535aad):_0x491be9[_0x3fa1e9(0x212)](_0x535aad)),_0x2085b6=(_0x370698,_0x30f5c5,_0x404119)=>{const _0x4acfd1=_0x3fa1e9;if(_0x30f5c5[_0x4acfd1(0x189)](_0x370698))throw TypeError('Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once');_0x30f5c5 instanceof WeakSet?_0x30f5c5['add'](_0x370698):_0x30f5c5[_0x4acfd1(0x1b8)](_0x370698,_0x404119);},_0x4dba13=(_0x4055bf,_0x2ae2c0,_0x2dd592,_0x16e479)=>(_0x25bdcc(_0x4055bf,_0x2ae2c0,_0x3fa1e9(0x192)),_0x16e479?_0x16e479[_0x3fa1e9(0x226)](_0x4055bf,_0x2dd592):_0x2ae2c0[_0x3fa1e9(0x1b8)](_0x4055bf,_0x2dd592),_0x2dd592),_0x4dd6c9=(_0x37765f,_0x72f78,_0x437efa)=>(_0x25bdcc(_0x37765f,_0x72f78,_0x3fa1e9(0x1a0)),_0x437efa),_0x3ec66a=(_0x261f58,_0x5cf45c,_0x106830)=>new Promise((_0x2760a0,_0x3fb801)=>{const _0x44e055=_0x3fa1e9;var _0x2fe6e1=_0x21f2ca=>{const _0x2c95dc=_0x291e;try{_0x25836a(_0x106830[_0x2c95dc(0x207)](_0x21f2ca));}catch(_0x550b37){_0x3fb801(_0x550b37);}},_0x28d9f5=_0x419d36=>{const _0x29b158=_0x291e;try{_0x25836a(_0x106830[_0x29b158(0x220)](_0x419d36));}catch(_0x40a3d6){_0x3fb801(_0x40a3d6);}},_0x25836a=_0x6582ef=>_0x6582ef['done']?_0x2760a0(_0x6582ef['value']):Promise[_0x44e055(0x218)](_0x6582ef[_0x44e055(0x1af)])[_0x44e055(0x1f8)](_0x2fe6e1,_0x28d9f5);_0x25836a((_0x106830=_0x106830[_0x44e055(0x1c5)](_0x261f58,_0x5cf45c))[_0x44e055(0x207)]());}),_0x54c29b=(_0x57f27e=>(_0x57f27e[_0x3fa1e9(0x1d4)]=_0x3fa1e9(0x1cc),_0x57f27e[_0x3fa1e9(0x16a)]=_0x3fa1e9(0x1d7),_0x57f27e['UTM_CAMPAIGN']=_0x3fa1e9(0x169),_0x57f27e[_0x3fa1e9(0x1a4)]=_0x3fa1e9(0x224),_0x57f27e[_0x3fa1e9(0x1cb)]=_0x3fa1e9(0x153),_0x57f27e))(_0x54c29b||{}),_0x2bc93c=new Set(Object['values'](_0x54c29b)),_0x59349f=_0x3fa1e9(0x1ff),_0x5d16c6=_0x3fa1e9(0x1e9),_0x3ee760=_0x3fa1e9(0x16f),_0x5cf735=_0x3fa1e9(0x194),_0x56b1fe=_0x3fa1e9(0x1b3),_0x15782a=_0x3fa1e9(0x158),_0x7f7cb0=_0x3fa1e9(0x1e8),_0x43021b=_0x3fa1e9(0x159),_0xb3459b,_0x5e5b98=class _0x30e1aa{constructor(){}static['getInstance'](){return _0x224c57(_0x30e1aa,_0xb3459b)||_0x4dba13(_0x30e1aa,_0xb3459b,new _0x30e1aa()),_0x224c57(_0x30e1aa,_0xb3459b);}[_0x3fa1e9(0x1e5)](_0x170f3d){const _0x5cb67b=_0x3fa1e9;_0x30e1aa[_0x5cb67b(0x1c2)]=_0x170f3d;}['get'](_0x24f2b5){return _0x3ec66a(this,null,function*(){const _0xd54ac=_0x291e;return(yield fetch(_0x5d16c6+_0x24f2b5,{'headers':{'Authorization':_0x30e1aa[_0xd54ac(0x1c2)],'Content-Type':_0xd54ac(0x190)}}))[_0xd54ac(0x151)]();});}[_0x3fa1e9(0x1ba)](_0x2d5c3b,_0x53b833){return _0x3ec66a(this,null,function*(){const _0x23e4b7=_0x291e;return(yield fetch(_0x5d16c6+_0x2d5c3b,{'body':JSON[_0x23e4b7(0x1c7)](_0x53b833||{}),'headers':{'Authorization':_0x30e1aa[_0x23e4b7(0x1c2)],'Content-Type':_0x23e4b7(0x190)},'method':_0x23e4b7(0x1db)}))[_0x23e4b7(0x151)]();});}};_0xb3459b=new WeakMap(),_0x2085b6(_0x5e5b98,_0xb3459b,void 0x0);var _0x1b2a76=_0x5e5b98,_0xe39655=_0x1b2a76[_0x3fa1e9(0x1f6)](),_0x16dea6=class extends Error{constructor(_0x4cfeab){const _0xed8415=_0x3fa1e9;super(_0x4cfeab),this[_0xed8415(0x1d0)]=_0xed8415(0x1b6);}};_0x16dea6[_0x3fa1e9(0x1bf)]=!0x1,_0x16dea6['offline']=!navigator[_0x3fa1e9(0x21c)],_0x16dea6['debugLevel']=0x0,_0x16dea6[_0x3fa1e9(0x155)]=!0x1;var _0x243f0a=(_0x346f74,_0x5401bd)=>{const _0x104ea5=_0x3fa1e9;_0x5401bd instanceof _0x16dea6?_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+_0x104ea5(0x1c3)+_0x5401bd[_0x104ea5(0x18f)]):_0x5401bd instanceof Error?_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+'\x0aUnexpected\x20error:\x20'+_0x5401bd[_0x104ea5(0x18f)]):_0x48d513(0x2,'OriginateFrom:\x20'+_0x346f74+_0x104ea5(0x1bb)+String(_0x5401bd));},_0x424aa8=(_0xf04df,_0xaee818,_0x2ab93f)=>_0x3ec66a(void 0x0,null,function*(){const _0x53b9e4=_0x3fa1e9;try{if(_0x16dea6[_0x53b9e4(0x1bf)])throw new _0x16dea6(_0x53b9e4(0x209));if(_0xf04df!==_0x53b9e4(0x1f3)&&_0x16dea6[_0x53b9e4(0x14d)])throw new _0x16dea6(_0x53b9e4(0x203));if(_0xf04df!==_0x53b9e4(0x219)&&!_0x16dea6[_0x53b9e4(0x155)])throw new _0x16dea6('Mergn\x20not\x20initialized!');return yield _0xaee818();}catch(_0x407a07){return _0x2ab93f?_0x2ab93f(_0x407a07):(_0x16dea6['debugLevel']===0x2||_0x16dea6[_0x53b9e4(0x1a3)]===0x3)&&_0x243f0a(_0xf04df,_0x407a07),null;}}),_0x44aeb0=(_0x5a6898=>(_0x5a6898[_0x5a6898['NONE']=0x0]=_0x3fa1e9(0x1e0),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1e3)]=0x1]=_0x3fa1e9(0x1e3),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1a8)]=0x2]=_0x3fa1e9(0x1a8),_0x5a6898[_0x5a6898[_0x3fa1e9(0x1ef)]=0x3]=_0x3fa1e9(0x1ef),_0x5a6898))(_0x44aeb0||{}),_0x48d513=(_0x1d95ec,_0x3b1cd1)=>{const _0xd96668=_0x3fa1e9;_0x16dea6['debugLevel']!==0x0&&_0x16dea6[_0xd96668(0x1a3)]<=0x3&&(_0x1d95ec===0x1?console[_0xd96668(0x1f7)](_0xd96668(0x1a6)+new Date()[_0xd96668(0x182)](),_0x3b1cd1):_0x1d95ec===0x2&&console[_0xd96668(0x204)](_0xd96668(0x1b7)+new Date()['toISOString'](),_0x3b1cd1));},_0x5474cb=(_0x59645d,_0x46df10)=>{const _0x149772=_0x3fa1e9;_0x16dea6[_0x149772(0x1a3)]!==0x0&&(_0x46df10?console[_0x149772(0x15b)](_0x59645d):console[_0x149772(0x18c)](_0x59645d));},_0x29c717=(_0x1264b8,_0x301a3f)=>{const _0x4abe7c=_0x3fa1e9;_0x16dea6[_0x4abe7c(0x1a3)]!==0x0&&(_0x301a3f?console[_0x4abe7c(0x1c6)](_0x1264b8):console[_0x4abe7c(0x185)]());},_0x42553f,_0x169270,_0x549dc9,_0x3cc540,_0x1f66e3,_0x55714a,_0x20dbb9,_0x105709,_0x12eaad,_0x4eee1a,_0x7d1891,_0x870467,_0x4ce33e,_0x5545da,_0x47eeba,_0x1f4e27,_0xc90bd2,_0x56f016,_0x1ead06,_0x28f9d0,_0x244245,_0x20fc3d,_0x1e2d5c,_0x28477e,_0xdb7f8f,_0x27d596,_0x3d995a,_0x21d27f,_0x2549fe,_0xc776c,_0x6622b9,_0x43ef14,_0x74d558,_0x208e3f,_0x5c6240,_0x54eada,_0x53161a,_0x1cb98,_0x2ac5fc,_0xe994b,_0x4a7d3a,_0x3fb810,_0x130b7b,_0x299d57,_0x3a8eef,_0x1f6cc0,_0x52f849,_0x3ad148,_0x3d817d,_0x5a91b6,_0x230a58,_0x78690e,_0x423c46,_0x2e0538,_0xc2d380,_0x23c86c,_0x56a831,_0x55177f,_0x3a8e4c,_0x16e627,_0x271b85,_0x51284d,_0x390f38,_0x10b647,_0x2c33bc,_0x5845ef,_0x10d4f8,_0x19bcdb,_0x3f8761,_0x29c13a,_0x3bdba0,_0x1fa7ba,_0x25d3dd,_0x19a139,_0x25df1b,_0x138f27,_0x2d4268=class _0x4ab25a{constructor(){_0x2085b6(this,_0x55714a),_0x2085b6(this,_0x105709),_0x2085b6(this,_0x4eee1a),_0x2085b6(this,_0x870467),_0x2085b6(this,_0x5545da),_0x2085b6(this,_0x1f4e27),_0x2085b6(this,_0x56f016),_0x2085b6(this,_0x28f9d0),_0x2085b6(this,_0x20fc3d),_0x2085b6(this,_0x28477e),_0x2085b6(this,_0x2549fe),_0x2085b6(this,_0x6622b9),_0x2085b6(this,_0x74d558),_0x2085b6(this,_0x5c6240),_0x2085b6(this,_0x53161a),_0x2085b6(this,_0x2ac5fc),_0x2085b6(this,_0x4a7d3a),_0x2085b6(this,_0x130b7b),_0x2085b6(this,_0x3a8eef),_0x2085b6(this,_0x52f849),_0x2085b6(this,_0x3d817d),_0x2085b6(this,_0x230a58),_0x2085b6(this,_0x423c46),_0x2085b6(this,_0xc2d380),_0x2085b6(this,_0x56a831),_0x2085b6(this,_0x3a8e4c),_0x2085b6(this,_0x271b85),_0x2085b6(this,_0x390f38),_0x2085b6(this,_0x2c33bc),_0x2085b6(this,_0x10d4f8),_0x2085b6(this,_0x3f8761),_0x2085b6(this,_0x3bdba0),_0x2085b6(this,_0x25d3dd),_0x2085b6(this,_0x25df1b),_0x2085b6(this,_0x169270,void 0x0),_0x2085b6(this,_0x549dc9,void 0x0),_0x2085b6(this,_0x3cc540,void 0x0),_0x2085b6(this,_0x1f66e3,null),_0x2085b6(this,_0x27d596,()=>{const _0x61e764=_0x291e;let _0x6fdb6f=()=>{const _0x708b89=_0x291e;let _0x31a8ef=JSON[_0x708b89(0x1c0)](localStorage[_0x708b89(0x176)](_0x708b89(0x15a))||'{}');Object['keys'](_0x31a8ef)['forEach'](_0x3ecb53=>{const _0x5c4ab0=_0x708b89;_0x31a8ef[_0x3ecb53][_0x5c4ab0(0x1e7)]=new Date()['getTime'](),_0x31a8ef[_0x3ecb53][_0x5c4ab0(0x1c1)]=window[_0x5c4ab0(0x19b)][_0x5c4ab0(0x154)]+window[_0x5c4ab0(0x19b)][_0x5c4ab0(0x1c4)];}),localStorage[_0x708b89(0x1b5)](_0x708b89(0x15a),JSON[_0x708b89(0x1c7)](_0x31a8ef));};_0x6fdb6f(),window[_0x61e764(0x1f5)](_0x61e764(0x173),_0x6fdb6f);}),_0x2085b6(this,_0x3d995a,_0x5718a5=>{const _0x41e0b6=_0x291e;let _0x52a489=JSON[_0x41e0b6(0x1c0)](localStorage['getItem'](_0x41e0b6(0x15a))||'{}');_0x52a489[_0x5718a5]&&delete _0x52a489[_0x5718a5],localStorage[_0x41e0b6(0x1b5)](_0x41e0b6(0x15a),JSON['stringify'](_0x52a489));}),_0x2085b6(this,_0x21d27f,()=>{const _0x3a6a4a=_0x291e;let _0x3d074a=JSON[_0x3a6a4a(0x1c0)](localStorage['getItem'](_0x3a6a4a(0x15a))||'{}');Object[_0x3a6a4a(0x202)](_0x3d074a)['forEach'](_0x1eb5ae=>{const _0xf513f6=_0x3a6a4a;_0x3d074a[_0x1eb5ae][_0xf513f6(0x18f)][_0xf513f6(0x1d0)]===_0xf513f6(0x174)&&_0x4dd6c9(this,_0x3a8eef,_0x1f6cc0)[_0xf513f6(0x226)](this,_0x3d074a[_0x1eb5ae][_0xf513f6(0x1a7)]);});});}static[_0x3fa1e9(0x1f6)](){return _0x224c57(_0x4ab25a,_0x42553f)||_0x4dba13(_0x4ab25a,_0x42553f,new _0x4ab25a()),_0x224c57(_0x4ab25a,_0x42553f);}[_0x3fa1e9(0x219)](_0x139d10){_0x424aa8('init',()=>_0x3ec66a(this,null,function*(){const _0x227e79=_0x291e;_0x48d513(0x1,'Initializing\x20Mergn\x20SDK'),_0x29c717('Initializing\x20Mergn\x20SDK',!0x0),_0x5474cb('Mergn\x20SDK\x20Initialization\x20Time',!0x0),_0x4dd6c9(this,_0x28f9d0,_0x244245)['call'](this,_0x139d10),yield _0x4dd6c9(this,_0x1f4e27,_0xc90bd2)[_0x227e79(0x226)](this),_0x16dea6[_0x227e79(0x155)]=!0x0,setInterval(()=>_0x3ec66a(this,null,function*(){yield _0x4dd6c9(this,_0x1f4e27,_0xc90bd2)['call'](this);}),0x493e0),yield _0x4dd6c9(this,_0x105709,_0x12eaad)[_0x227e79(0x226)](this),window['addEventListener'](_0x227e79(0x1f1),()=>_0x3ec66a(this,null,function*(){const _0x242297=_0x227e79;_0x16dea6[_0x242297(0x14d)]=!0x1;let _0x579b32=JSON['parse'](localStorage[_0x242297(0x176)](_0x242297(0x1ac))||'[]');Array[_0x242297(0x214)](_0x579b32)&&(yield _0x4dd6c9(this,_0x2c33bc,_0x5845ef)[_0x242297(0x226)](this,{'customerId':localStorage[_0x242297(0x176)]('customer')||'','events':_0x579b32}),localStorage[_0x242297(0x179)]('offlineEvents')),_0x4dd6c9(this,_0x105709,_0x12eaad)['call'](this),_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)['call'](this);})),window['addEventListener']('offline',()=>{const _0x2f55c9=_0x227e79;_0x16dea6[_0x2f55c9(0x14d)]=!0x0;}),window[_0x227e79(0x1f5)](_0x227e79(0x1d8),()=>{const _0x362b2f=_0x227e79;_0x224c57(this,_0x21d27f)[_0x362b2f(0x226)](this);});let _0x12c673=history[_0x227e79(0x157)];history[_0x227e79(0x157)]=(..._0x460a54)=>{const _0x231e0a=_0x227e79;_0x12c673[_0x231e0a(0x1c5)](history,_0x460a54),_0x4dd6c9(this,_0x56f016,_0x1ead06)[_0x231e0a(0x226)](this);},_0x4dd6c9(this,_0x56f016,_0x1ead06)['call'](this),_0x5474cb(_0x227e79(0x1f4),!0x1),_0x29c717(_0x227e79(0x201),!0x1);}));}[_0x3fa1e9(0x1b0)](_0x3bbed8){const _0x531beb=_0x3fa1e9;if(!(_0x3bbed8 in _0x44aeb0)){console[_0x531beb(0x204)](_0x531beb(0x197));return;}_0x16dea6[_0x531beb(0x1a3)]=_0x3bbed8;}[_0x3fa1e9(0x216)](_0x464532,_0x5b1846){const _0x8da0cf=_0x3fa1e9;_0x424aa8(_0x8da0cf(0x216),()=>_0x3ec66a(this,null,function*(){yield _0x4dd6c9(this,_0x55714a,_0x20dbb9)['call'](this,_0x464532,_0x5b1846,void 0x0);}));}[_0x3fa1e9(0x1e6)](_0x5eccef){const _0x689d81=_0x3fa1e9;_0x424aa8(_0x689d81(0x1e6),()=>_0x3ec66a(this,null,function*(){const _0x3db7ad=_0x689d81;_0x48d513(0x1,'Logging\x20in'),_0x29c717(_0x3db7ad(0x163),!0x0),_0x5474cb(_0x3db7ad(0x1d9),!0x0),_0x48d513(0x1,_0x3db7ad(0x18d)+_0x5eccef),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)[_0x3db7ad(0x226)](this,_0x5eccef),_0x5474cb(_0x3db7ad(0x1d9),!0x1),_0x29c717(_0x3db7ad(0x163),!0x1);}));}[_0x3fa1e9(0x167)](){const _0x480de1=_0x3fa1e9;_0x424aa8(_0x480de1(0x167),()=>_0x3ec66a(this,null,function*(){const _0x339274=_0x480de1;_0x48d513(0x1,_0x339274(0x1b2)),_0x29c717(_0x339274(0x1b2),!0x0),_0x5474cb(_0x339274(0x1f2),!0x0),_0x4dd6c9(this,_0x3bdba0,_0x1fa7ba)[_0x339274(0x226)](this),_0x5474cb(_0x339274(0x1f2),!0x1),_0x29c717(_0x339274(0x1b2),!0x1);}));}[_0x3fa1e9(0x172)](_0x2e36df,_0xa4132f){setTimeout(()=>{const _0x2d36e3=_0x291e;_0x424aa8(_0x2d36e3(0x1f3),()=>_0x3ec66a(this,null,function*(){const _0x341e18=_0x2d36e3;_0x48d513(0x1,_0x341e18(0x1ce)),_0x29c717(_0x341e18(0x1ce),!0x0),_0x5474cb(_0x341e18(0x1b1),!0x0),_0x48d513(0x1,_0x341e18(0x1a1)+{'eventName':_0x2e36df,'eventProperties':_0xa4132f}),_0x4dd6c9(this,_0x4eee1a,_0x7d1891)['call'](this,_0x2e36df,_0xa4132f),_0x5474cb(_0x341e18(0x1b1),!0x1),_0x29c717('Recording\x20event',!0x1);}));});}};_0x42553f=new WeakMap(),_0x169270=new WeakMap(),_0x549dc9=new WeakMap(),_0x3cc540=new WeakMap(),_0x1f66e3=new WeakMap(),_0x55714a=new WeakSet(),_0x20dbb9=function(_0x368e86,_0x1cdc22,_0x56ee08){return _0x3ec66a(this,null,function*(){const _0x229616=_0x291e;yield _0x424aa8(_0x229616(0x200),()=>_0x3ec66a(this,null,function*(){const _0x40a1d2=_0x229616;_0x48d513(0x1,_0x40a1d2(0x184)),_0x29c717('Recording\x20attribute',!0x0),_0x5474cb(_0x40a1d2(0x150),!0x0),_0x48d513(0x1,_0x40a1d2(0x1f9)+{'attributeName':_0x368e86,'attributeProperties':_0x56ee08,'attributeValue':_0x1cdc22}+')}'),yield _0x4dd6c9(this,_0x105709,_0x12eaad)['call'](this),yield _0x4dd6c9(this,_0x25d3dd,_0x19a139)['call'](this);let _0x3f39be=JSON[_0x40a1d2(0x1c0)](localStorage[_0x40a1d2(0x176)]('attributes')||'{}'),_0x813c3a=_0x56ee08?_0x4dd6c9(this,_0x271b85,_0x51284d)[_0x40a1d2(0x226)](this,_0x3f39be,_0x368e86,_0x56ee08):_0x4dd6c9(this,_0x271b85,_0x51284d)[_0x40a1d2(0x226)](this,_0x3f39be,_0x368e86);if(typeof _0x813c3a==_0x40a1d2(0x1e2)){_0x48d513(0x2,_0x813c3a);return;}_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)[_0x40a1d2(0x226)](this);let {id:_0x3920cd}=_0x3f39be[_0x368e86],_0x6afd27={'attributeId':_0x3920cd,'attributeProperties':_0x813c3a,'customerId':localStorage[_0x40a1d2(0x176)](_0x40a1d2(0x175))||'','value':_0x1cdc22};yield _0x4dd6c9(this,_0x25df1b,_0x138f27)['call'](this,_0x6afd27),_0x5474cb(_0x40a1d2(0x150),!0x1),_0x29c717('Recording\x20attribute',!0x1);}));});},_0x105709=new WeakSet(),_0x12eaad=function(){return _0x3ec66a(this,null,function*(){const _0x8557ce=_0x291e;_0x48d513(0x1,'Checking\x20TTL'),_0x29c717(_0x8557ce(0x1b4),!0x0),_0x5474cb(_0x8557ce(0x1d2),!0x0);let _0x43ab12=localStorage[_0x8557ce(0x176)](_0x8557ce(0x19f)),_0x33aa2c=!0x1;if(_0x43ab12){if(_0x33aa2c=new Date()['getTime']()-parseInt(_0x43ab12,0xa)>0x124f80,_0x33aa2c){let _0x11ed9e=localStorage[_0x8557ce(0x176)](_0x8557ce(0x1fe)),_0x56f28b=localStorage[_0x8557ce(0x176)](_0x8557ce(0x19f));_0x11ed9e&&_0x56f28b&&_0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x8557ce(0x226)](this,'Web\x20Session\x20Concluded',[{'eventProperty':_0x8557ce(0x199),'value':localStorage[_0x8557ce(0x176)](_0x8557ce(0x1fe))},{'eventProperty':_0x8557ce(0x1ca),'value':new Date(parseInt(_0x56f28b,0xa))[_0x8557ce(0x182)]()}]),_0x4dd6c9(this,_0x3bdba0,_0x1fa7ba)[_0x8557ce(0x226)](this),localStorage[_0x8557ce(0x1b5)](_0x8557ce(0x19f),''+new Date()[_0x8557ce(0x15d)]());}}else localStorage[_0x8557ce(0x1b5)](_0x8557ce(0x19f),''+new Date()['getTime']());(!_0x43ab12||_0x33aa2c||_0x4dd6c9(this,_0x20fc3d,_0x1e2d5c)[_0x8557ce(0x226)](this))&&(_0x4dd6c9(this,_0x2549fe,_0xc776c)[_0x8557ce(0x226)](this),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)[_0x8557ce(0x226)](this),yield _0x4dd6c9(this,_0x28477e,_0xdb7f8f)[_0x8557ce(0x226)](this)),_0x5474cb('Checking\x20TTL\x20Time',!0x1),_0x29c717(_0x8557ce(0x1b4),!0x1);});},_0x4eee1a=new WeakSet(),_0x7d1891=function(_0x50e6ae,_0xce8c5a,_0x50a90e,_0x5da839,_0x5536d3){return _0x3ec66a(this,null,function*(){yield _0x424aa8('#\x20record\x20event',()=>_0x3ec66a(this,null,function*(){const _0x355a3c=_0x291e;var _0x12722c;_0x48d513(0x1,_0x355a3c(0x16b)),_0x29c717(_0x355a3c(0x1ce),!0x0),_0x5474cb(_0x355a3c(0x1b1),!0x0),_0x48d513(0x1,_0x355a3c(0x1fa)),_0x48d513(0x1,{'campaignCustomerInstanceId':_0x5da839,'eventName':_0x50e6ae,'eventProperties':_0xce8c5a,'name':_0x5536d3}),_0x50e6ae!==_0x355a3c(0x1ec)&&(yield _0x4dd6c9(this,_0x105709,_0x12eaad)[_0x355a3c(0x226)](this));let _0xbaaf13=[];_0xce8c5a&&_0xbaaf13[_0x355a3c(0x15f)](..._0xce8c5a),_0xbaaf13[_0x355a3c(0x15f)]({'eventProperty':_0x355a3c(0x168),'value':_0x224c57(this,_0x169270)}),_0xbaaf13[_0x355a3c(0x15f)]({'eventProperty':'operating-system','value':_0x224c57(this,_0x3cc540)}),_0xbaaf13['push']({'eventProperty':_0x355a3c(0x21d),'value':_0x224c57(this,_0x549dc9)});let _0x6254a0=_0x4dd6c9(this,_0x56a831,_0x55177f)[_0x355a3c(0x226)](this),_0x53401d=_0x4dd6c9(this,_0x3a8e4c,_0x16e627)[_0x355a3c(0x226)](this,_0x6254a0,_0x50e6ae,_0xbaaf13);if(typeof _0x53401d==_0x355a3c(0x1e2)){_0x48d513(0x2,_0x53401d);return;}_0x4dd6c9(this,_0x4a7d3a,_0x3fb810)['call'](this);let {id:_0x20f247}=_0x6254a0[_0x50e6ae],_0x5acb63=_0x4dd6c9(this,_0x390f38,_0x10b647)[_0x355a3c(0x226)](this,_0x1af828(_0xe3a062(_0x1af828(_0x1af828({},_0x5da839?{'campaignCustomerInstanceId':_0x5da839}:{}),_0x50a90e?{'campaignId':_0x50a90e}:{}),{'eventId':_0x20f247,'eventProperties':_0x53401d,'sessionId':localStorage[_0x355a3c(0x176)](_0x355a3c(0x1fe))||''}),_0x5536d3?{'name':_0x5536d3}:{}));if(_0x16dea6[_0x355a3c(0x14d)]){let _0x22b48d=JSON[_0x355a3c(0x1c0)](localStorage['getItem'](_0x355a3c(0x1ac))||'[]');_0x22b48d[_0x355a3c(0x177)]<=0x32&&(_0x22b48d[_0x355a3c(0x15f)](..._0x5acb63[_0x355a3c(0x17a)]),localStorage[_0x355a3c(0x1b5)](_0x355a3c(0x1ac),JSON[_0x355a3c(0x1c7)](_0x22b48d)));return;}let _0x1bde42=yield _0x4dd6c9(this,_0x2c33bc,_0x5845ef)['call'](this,_0x5acb63);(_0x12722c=_0x1bde42==null?void 0x0:_0x1bde42[_0x355a3c(0x17b)])==null||_0x12722c[_0x355a3c(0x221)](_0xb547f7=>{const _0x16f4e3=_0x355a3c;_0x4dd6c9(this,_0x10d4f8,_0x19bcdb)[_0x16f4e3(0x226)](this,_0xb547f7['message'][_0x16f4e3(0x1d0)])&&(_0x4dd6c9(this,_0x3f8761,_0x29c13a)[_0x16f4e3(0x226)](this,_0xb547f7),_0x224c57(this,_0x27d596)[_0x16f4e3(0x226)](this),_0x4dd6c9(this,_0x3a8eef,_0x1f6cc0)['call'](this,_0xb547f7[_0x16f4e3(0x1a7)]));}),_0x5474cb('Recording\x20event\x20Time',!0x1),_0x29c717(_0x355a3c(0x1ce),!0x1);}));});},_0x870467=new WeakSet(),_0x4ce33e=function(){const _0x42819a=_0x3fa1e9;let _0x43aec8=navigator[_0x42819a(0x1d5)][_0x42819a(0x227)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x42819a(0x183)](_0x43aec8)?'Mobile':/windows|macintosh|linux|x11/i[_0x42819a(0x183)](_0x43aec8)?_0x42819a(0x17e):'Unknown';},_0x5545da=new WeakSet(),_0x47eeba=function(){const _0x1f203a=_0x3fa1e9;let _0xdb39a9=navigator[_0x1f203a(0x1d5)],_0x703f11;return _0xdb39a9['indexOf'](_0x1f203a(0x1ae))>-0x1?_0x703f11='Google\x20Chrome':_0xdb39a9[_0x1f203a(0x1ea)]('Safari')>-0x1?_0x703f11=_0x1f203a(0x19d):_0xdb39a9[_0x1f203a(0x1ea)](_0x1f203a(0x160))>-0x1?_0x703f11=_0x1f203a(0x223):_0xdb39a9[_0x1f203a(0x1ea)](_0x1f203a(0x171))>-0x1?_0x703f11=_0x1f203a(0x162):_0xdb39a9[_0x1f203a(0x1ea)]('MSIE')>-0x1?_0x703f11=_0x1f203a(0x1dd):_0x703f11=_0x1f203a(0x1de),_0x703f11;},_0x1f4e27=new WeakSet(),_0xc90bd2=function(){return _0x3ec66a(this,null,function*(){const _0x3fe7a8=_0x291e;try{yield _0xe39655[_0x3fe7a8(0x212)](_0x3fe7a8(0x217));}catch(_0x52fe5a){throw _0x16dea6[_0x3fe7a8(0x1bf)]=!0x0,_0x52fe5a['message'];}});},_0x56f016=new WeakSet(),_0x1ead06=function(){return _0x3ec66a(this,null,function*(){const _0x3f659e=_0x291e;var _0x257e03;_0x48d513(0x1,_0x3f659e(0x1df)),_0x29c717(_0x3f659e(0x1df),!0x0),_0x5474cb(_0x3f659e(0x208),!0x0);let _0x148104=(_0x257e03=window==null?void 0x0:window[_0x3f659e(0x19b)])==null?void 0x0:_0x257e03[_0x3f659e(0x165)];if(_0x148104!==_0x224c57(this,_0x1f66e3)){_0x4dba13(this,_0x1f66e3,_0x148104);let _0x2f5590=[];new URLSearchParams(new URL(window['location'][_0x3f659e(0x165)])[_0x3f659e(0x210)])['forEach']((_0x1f0081,_0x4e4a1e)=>_0x3ec66a(this,null,function*(){const _0x51aae8=_0x3f659e;_0x2bc93c[_0x51aae8(0x189)](_0x4e4a1e)&&_0x2f5590[_0x51aae8(0x15f)]({'eventProperty':_0x4e4a1e,'value':_0x1f0081});})),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x3f659e(0x226)](this,_0x3f659e(0x178),[{'eventProperty':_0x3f659e(0x17f),'value':window[_0x3f659e(0x19b)]['pathname']},..._0x2f5590]);}_0x5474cb(_0x3f659e(0x208),!0x1),_0x29c717(_0x3f659e(0x1df),!0x1);});},_0x28f9d0=new WeakSet(),_0x244245=function(_0x5ae3f0){const _0x25ed8b=_0x3fa1e9;_0xe39655[_0x25ed8b(0x1e5)](_0x5ae3f0),_0x4dba13(this,_0x169270,navigator[_0x25ed8b(0x1d5)]),_0x4dba13(this,_0x549dc9,_0x4dd6c9(this,_0x5545da,_0x47eeba)[_0x25ed8b(0x226)](this)),_0x4dba13(this,_0x3cc540,_0x4dd6c9(this,_0x870467,_0x4ce33e)[_0x25ed8b(0x226)](this));},_0x20fc3d=new WeakSet(),_0x1e2d5c=function(){const _0x169fa2=_0x3fa1e9;return!localStorage['getItem'](_0x169fa2(0x17a))||!localStorage[_0x169fa2(0x176)](_0x169fa2(0x175))||!localStorage[_0x169fa2(0x176)]('attributes')||!localStorage[_0x169fa2(0x176)](_0x169fa2(0x1b9))||!localStorage['getItem'](_0x169fa2(0x1fe))||!localStorage['getItem'](_0x169fa2(0x175));},_0x28477e=new WeakSet(),_0xdb7f8f=function(){return _0x3ec66a(this,null,function*(){const _0x4571d4=_0x291e;yield _0x4dd6c9(this,_0x6622b9,_0x43ef14)[_0x4571d4(0x226)](this),yield _0x4dd6c9(this,_0x5c6240,_0x54eada)[_0x4571d4(0x226)](this),yield _0x4dd6c9(this,_0x2ac5fc,_0xe994b)['call'](this);});},_0x27d596=new WeakMap(),_0x3d995a=new WeakMap(),_0x21d27f=new WeakMap(),_0x2549fe=new WeakSet(),_0xc776c=function(){const _0x32a490=_0x3fa1e9;let _0x285029=localStorage[_0x32a490(0x176)](_0x32a490(0x1b9));return _0x285029||(_0x285029=crypto[_0x32a490(0x1e4)](),localStorage[_0x32a490(0x1b5)](_0x32a490(0x1b9),_0x285029)),_0x285029;},_0x6622b9=new WeakSet(),_0x43ef14=function(){return _0x3ec66a(this,null,function*(){const _0x3fedd6=_0x291e;if(!localStorage[_0x3fedd6(0x176)](_0x3fedd6(0x17a))){let _0x2eff6f=(yield _0x4dd6c9(this,_0x74d558,_0x208e3f)[_0x3fedd6(0x226)](this))[_0x3fedd6(0x17b)];_0x2eff6f&&localStorage['setItem'](_0x3fedd6(0x17a),JSON['stringify'](_0x2eff6f));}});},_0x74d558=new WeakSet(),_0x208e3f=function(){return _0x3ec66a(this,null,function*(){try{return yield _0xe39655['get'](''+_0x56b1fe);}catch(_0x1583f3){throw new Error('Error\x20fetching\x20event\x20data');}});},_0x5c6240=new WeakSet(),_0x54eada=function(){return _0x3ec66a(this,null,function*(){const _0x192e47=_0x291e;if(!localStorage[_0x192e47(0x176)](_0x192e47(0x18b))){let _0x2499e1=(yield _0x4dd6c9(this,_0x53161a,_0x1cb98)[_0x192e47(0x226)](this))['data'];_0x2499e1&&localStorage[_0x192e47(0x1b5)](_0x192e47(0x18b),JSON[_0x192e47(0x1c7)](_0x2499e1));}});},_0x53161a=new WeakSet(),_0x1cb98=function(){return _0x3ec66a(this,null,function*(){const _0x3d7533=_0x291e;try{return yield _0xe39655[_0x3d7533(0x212)](''+_0x3ee760);}catch(_0x5c0574){throw new Error(_0x3d7533(0x170));}});},_0x2ac5fc=new WeakSet(),_0xe994b=function(_0x439cb8){return _0x3ec66a(this,null,function*(){const _0x5f4b4f=_0x291e;localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x1fe))||(localStorage['setItem']('session',crypto[_0x5f4b4f(0x1e4)]()),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x5f4b4f(0x226)](this,'Web\x20Session\x20Started',[{'eventProperty':'SESSION_ID','value':localStorage[_0x5f4b4f(0x176)]('session')},{'eventProperty':_0x5f4b4f(0x1ca),'value':new Date(parseInt(localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x19f))||'',0xa))[_0x5f4b4f(0x182)]()}]));let _0x3e6193={'deviceId':localStorage[_0x5f4b4f(0x176)]('uniqueIdentity')||crypto[_0x5f4b4f(0x1e4)](),'os':_0x224c57(this,_0x169270)};if(_0x439cb8)_0x3e6193[_0x5f4b4f(0x166)]=_0x439cb8;else{if(!_0x439cb8&&localStorage[_0x5f4b4f(0x176)](_0x5f4b4f(0x175)))return;}try{let _0x49758c=yield _0x4dd6c9(this,_0x130b7b,_0x299d57)[_0x5f4b4f(0x226)](this,_0x3e6193);_0x49758c!==void 0x0&&localStorage[_0x5f4b4f(0x1b5)](_0x5f4b4f(0x175),_0x49758c);}catch(_0x472747){throw new Error(_0x5f4b4f(0x156));}});},_0x4a7d3a=new WeakSet(),_0x3fb810=function(){const _0x3d0a63=_0x3fa1e9;localStorage['setItem'](_0x3d0a63(0x19f),''+new Date()[_0x3d0a63(0x15d)]());},_0x130b7b=new WeakSet(),_0x299d57=function(_0x144c37){return _0x3ec66a(this,null,function*(){const _0x2118c3=_0x291e;try{return(yield _0xe39655[_0x2118c3(0x1ba)](''+_0x7f7cb0+_0x43021b,_0x144c37))['data'];}catch(_0xa16908){throw new Error(_0x2118c3(0x1ee));}});},_0x3a8eef=new WeakSet(),_0x1f6cc0=function(_0x5567b1){const _0x116f6d=_0x3fa1e9;let _0x23a29f=_0x4dd6c9(this,_0x52f849,_0x3ad148)[_0x116f6d(0x226)](this);if(_0x23a29f!=null&&_0x23a29f[_0x5567b1])switch(_0x23a29f[_0x5567b1][_0x116f6d(0x19e)]){case'DELAY':{_0x4dd6c9(this,_0x230a58,_0x78690e)['call'](this,_0x23a29f[_0x5567b1]);break;}case _0x116f6d(0x1c9):{_0x4dd6c9(this,_0x423c46,_0x2e0538)['call'](this,_0x23a29f[_0x5567b1]);break;}case _0x116f6d(0x181):{_0x4dd6c9(this,_0x3d817d,_0x5a91b6)[_0x116f6d(0x226)](this,_0x23a29f[_0x5567b1]);break;}default:return;}},_0x52f849=new WeakSet(),_0x3ad148=function(){const _0x13eaf1=_0x3fa1e9;let _0x3f76cc=localStorage[_0x13eaf1(0x176)](_0x13eaf1(0x15a));return _0x3f76cc?JSON[_0x13eaf1(0x1c0)](_0x3f76cc):null;},_0x3d817d=new WeakSet(),_0x5a91b6=function(_0x307b77){const _0x10bebb=_0x3fa1e9;let _0x53c241=()=>{const _0x3c8728=_0x291e;var _0x16dc5e,_0x4b2968;let _0x5e1cda=window[_0x3c8728(0x1d1)],_0x5b5922=document[_0x3c8728(0x16c)][_0x3c8728(0x191)],_0x22c5ee=window[_0x3c8728(0x1a2)]/(_0x5b5922-_0x5e1cda)*0x64;console[_0x3c8728(0x198)](_0x3c8728(0x196),_0x22c5ee),console[_0x3c8728(0x198)](_0x3c8728(0x16d),(_0x16dc5e=_0x307b77['campaignEntryTimeValue'])==null?void 0x0:_0x16dc5e[_0x3c8728(0x1af)]),_0x22c5ee>(((_0x4b2968=_0x307b77[_0x3c8728(0x187)])==null?void 0x0:_0x4b2968[_0x3c8728(0x1af)])||0x0)&&(window['removeEventListener'](_0x3c8728(0x16e),_0x53c241),console[_0x3c8728(0x198)]('called\x202'),_0x4dd6c9(this,_0x423c46,_0x2e0538)['call'](this,_0x307b77));};window[_0x10bebb(0x1f5)](_0x10bebb(0x16e),_0x53c241);},_0x230a58=new WeakSet(),_0x78690e=function(_0x32c336){const _0x27d5dc=_0x3fa1e9;var _0x2b44dd;let _0x2f6b0e=_0x32c336[_0x27d5dc(0x1e7)]-0x1f4+(((_0x2b44dd=_0x32c336[_0x27d5dc(0x187)])==null?void 0x0:_0x2b44dd[_0x27d5dc(0x1af)])||0x0)*0x3e8-new Date()[_0x27d5dc(0x15d)]();_0x2f6b0e>0x0&&_0x32c336[_0x27d5dc(0x1c1)]===window[_0x27d5dc(0x19b)][_0x27d5dc(0x154)]+window[_0x27d5dc(0x19b)][_0x27d5dc(0x1c4)]&&setTimeout(()=>{const _0xc03933=_0x27d5dc;_0x224c57(this,_0x3d995a)[_0xc03933(0x226)](this,_0x32c336[_0xc03933(0x1a7)]),_0x4dd6c9(this,_0x423c46,_0x2e0538)[_0xc03933(0x226)](this,_0x32c336);},_0x2f6b0e);},_0x423c46=new WeakSet(),_0x2e0538=function(_0xd9d483){const _0x3a4048=_0x3fa1e9;let _0x1eed86=_0x4dd6c9(this,_0xc2d380,_0x23c86c)['call'](this,_0x3a4048(0x14f),_0xd9d483);document[_0x3a4048(0x152)][_0x3a4048(0x1e1)](_0x1eed86),_0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x3a4048(0x226)](this,_0x59349f,[{'eventProperty':_0x3a4048(0x20d),'value':JSON[_0x3a4048(0x1c7)]({'campaignId':_0xd9d483[_0x3a4048(0x1a7)]})}],_0xd9d483[_0x3a4048(0x1a7)],_0xd9d483['campaignCustomerInstanceId'],'view'),_0x224c57(this,_0x3d995a)[_0x3a4048(0x226)](this,_0xd9d483[_0x3a4048(0x1a7)]);},_0xc2d380=new WeakSet(),_0x23c86c=function(_0x16f404,_0x3ffd36){const _0x4a8b26=_0x3fa1e9;var _0x2c34f1;let {campaignCustomerInstanceId:_0x55dced,campaignId:_0x3b840c,message:{design:_0x292b39}}=_0x3ffd36,_0x10e8ae=document['createElement'](_0x16f404);_0x10e8ae['id']=_0x4a8b26(0x1be)+_0x3b840c,_0x10e8ae[_0x4a8b26(0x1ab)]=_0x292b39,_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x18a)]=_0x4a8b26(0x215),_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x1f0)]='0',_0x10e8ae['style'][_0x4a8b26(0x18e)]='0',_0x10e8ae[_0x4a8b26(0x1fc)]['width']=_0x4a8b26(0x1d3),_0x10e8ae['style'][_0x4a8b26(0x15e)]='100%',_0x10e8ae[_0x4a8b26(0x1fc)][_0x4a8b26(0x15c)]=_0x4a8b26(0x1dc);let _0x4aa37c=_0x10e8ae['querySelector'](_0x4a8b26(0x1cf));return _0x4aa37c&&(_0x4aa37c[_0x4a8b26(0x1fc)][_0x4a8b26(0x15c)]='50'),_0x10e8ae[_0x4a8b26(0x1bc)](_0x4a8b26(0x186))['forEach'](_0x2e5f7f=>{const _0x1babbb=_0x4a8b26;let _0x4d3fb7=_0x2e5f7f['querySelector'](_0x1babbb(0x14e));_0x4d3fb7&&_0x4d3fb7[_0x1babbb(0x1f5)]('submit',()=>_0x3ec66a(this,null,function*(){const _0x53310a=_0x1babbb;_0x10e8ae['remove']();let _0x114cec=new FormData(_0x4d3fb7),_0x1ef170={};for(let [_0x540635,_0x1be1b9]of _0x114cec['entries']())_0x1ef170[_0x540635]=_0x1be1b9;yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x53310a(0x226)](this,_0x59349f,[{'eventProperty':_0x53310a(0x21a),'value':JSON[_0x53310a(0x1c7)]({'campaignId':_0x3b840c,'formId':_0x2e5f7f['id'],'formValues':_0x1ef170})}],_0x3b840c,_0x55dced,_0x53310a(0x14e));}));}),(_0x2c34f1=_0x10e8ae[_0x4a8b26(0x1cd)](_0x4a8b26(0x19a)))==null||_0x2c34f1[_0x4a8b26(0x1f5)](_0x4a8b26(0x1eb),()=>_0x3ec66a(this,null,function*(){const _0xae2c46=_0x4a8b26;_0x10e8ae[_0xae2c46(0x164)](),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0xae2c46(0x226)](this,_0x59349f,[{'eventProperty':'Close\x20Click','value':JSON[_0xae2c46(0x1c7)]({'campaignId':_0x3b840c})}],_0x3b840c,_0x55dced,_0xae2c46(0x20f));})),_0x10e8ae[_0x4a8b26(0x1bc)](_0x4a8b26(0x1ad))[_0x4a8b26(0x221)](_0xe823c0=>{const _0x2250e9=_0x4a8b26;_0xe823c0[_0x2250e9(0x1f5)]('click',()=>_0x3ec66a(this,null,function*(){const _0x22cf08=_0x2250e9;_0x10e8ae['remove'](),yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x22cf08(0x226)](this,_0x59349f,[{'eventProperty':'Button\x20Click','value':JSON[_0x22cf08(0x1c7)]({'buttonId':_0xe823c0['id'],'campaignId':_0x3b840c})}],_0x3b840c,_0x55dced,'click');}));}),_0x10e8ae['querySelectorAll']('.u-popup-container\x20img')[_0x4a8b26(0x221)](_0xca8a9c=>{const _0x3b6ae6=_0x4a8b26;_0xca8a9c[_0x3b6ae6(0x1f5)](_0x3b6ae6(0x1eb),()=>_0x3ec66a(this,null,function*(){const _0x11316f=_0x3b6ae6;yield _0x4dd6c9(this,_0x4eee1a,_0x7d1891)[_0x11316f(0x226)](this,_0x59349f,[{'eventProperty':_0x11316f(0x1bd),'value':JSON[_0x11316f(0x1c7)]({'campaignId':_0x3b840c,'imageClassName':_0xca8a9c['className'],'imageId':_0xca8a9c['id']})}],_0x3b840c,_0x55dced,_0x11316f(0x1eb));}));}),_0x10e8ae;},_0x56a831=new WeakSet(),_0x55177f=function(){const _0xf5eea7=_0x3fa1e9;let _0x2288f8=localStorage[_0xf5eea7(0x176)](_0xf5eea7(0x17a));return _0x2288f8?JSON[_0xf5eea7(0x1c0)](_0x2288f8):{};},_0x3a8e4c=new WeakSet(),_0x16e627=function(_0x50e65b,_0x2cc104,_0x512fc4){const _0x32d501=_0x3fa1e9;if(!Object[_0x32d501(0x222)]['hasOwnProperty'][_0x32d501(0x226)](_0x50e65b,_0x2cc104))return _0x32d501(0x17d)+_0x2cc104+'\x20is\x20not\x20valid.';if(!_0x512fc4)return[];let _0x507415=_0x50e65b[_0x2cc104];if(!(_0x507415!=null&&_0x507415['eventProperty']))return _0x32d501(0x17d)+_0x2cc104+_0x32d501(0x180);let _0x179fc3=_0x512fc4[_0x32d501(0x1fd)](({eventProperty:_0x43f6f5})=>!Object[_0x32d501(0x222)][_0x32d501(0x1aa)][_0x32d501(0x226)](_0x507415[_0x32d501(0x20e)],_0x43f6f5))[_0x32d501(0x205)](({eventProperty:_0x4aa7e9})=>_0x4aa7e9);return _0x179fc3['length']>0x0?'Event\x20'+_0x2cc104+'\x20has\x20invalid\x20eventProperties:\x20'+_0x179fc3[_0x32d501(0x20c)](',\x20')+'.':_0x512fc4['map'](({eventProperty:_0x388623,value:_0x3c5957})=>({'eventPropertyId':_0x507415[_0x32d501(0x20e)][_0x388623]['id'],'value':_0x3c5957}));},_0x271b85=new WeakSet(),_0x51284d=function(_0x35075c,_0x32a56a,_0x4b6250){const _0x24fe99=_0x3fa1e9;if(!Object['prototype'][_0x24fe99(0x1aa)][_0x24fe99(0x226)](_0x35075c,_0x32a56a))return _0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x1d6);if(!_0x4b6250)return[];let _0x5028e2=_0x35075c[_0x32a56a];if(!(_0x5028e2!=null&&_0x5028e2[_0x24fe99(0x20b)]))return _0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x21b);let _0x47b2ee=_0x4b6250['filter'](({attributeProperty:_0x8e4932})=>!Object[_0x24fe99(0x222)][_0x24fe99(0x1aa)][_0x24fe99(0x226)](_0x5028e2[_0x24fe99(0x20b)],_0x8e4932))[_0x24fe99(0x205)](({attributeProperty:_0x1e91c6})=>_0x1e91c6);return _0x47b2ee[_0x24fe99(0x177)]>0x0?_0x24fe99(0x20a)+_0x32a56a+_0x24fe99(0x14c)+_0x47b2ee[_0x24fe99(0x20c)](',\x20')+'.':_0x4b6250[_0x24fe99(0x205)](({attributeProperty:_0x56a526,value:_0x4c6c50})=>({'attributePropertyId':_0x5028e2[_0x24fe99(0x20b)][_0x56a526]['id'],'value':_0x4c6c50}));},_0x390f38=new WeakSet(),_0x10b647=function(_0xdde1f4){const _0x47b19f=_0x3fa1e9;return{'customerId':localStorage[_0x47b19f(0x176)](_0x47b19f(0x175))||'','events':[_0xdde1f4]};},_0x2c33bc=new WeakSet(),_0x5845ef=function(_0x548a1e){return _0x3ec66a(this,null,function*(){const _0x593b33=_0x291e;try{return yield _0xe39655[_0x593b33(0x1ba)](''+_0x56b1fe+_0x15782a,_0x548a1e);}catch(_0x509587){throw new Error(_0x593b33(0x1a9));}});},_0x10d4f8=new WeakSet(),_0x19bcdb=function(_0x42345f){const _0x121915=_0x3fa1e9;return _0x42345f===_0x121915(0x174);},_0x3f8761=new WeakSet(),_0x29c13a=function(_0x4ccf4c){const _0xe8f77c=_0x3fa1e9;let _0x334d8a=JSON[_0xe8f77c(0x1c0)](localStorage[_0xe8f77c(0x176)]('action')||'{}');_0x334d8a[_0x4ccf4c[_0xe8f77c(0x1a7)]]=_0xe3a062(_0x1af828({},_0x4ccf4c),{'initialTime':new Date()['getTime'](),'page':window['location'][_0xe8f77c(0x154)]+window[_0xe8f77c(0x19b)][_0xe8f77c(0x1c4)]}),localStorage[_0xe8f77c(0x1b5)](_0xe8f77c(0x15a),JSON['stringify'](_0x334d8a));},_0x3bdba0=new WeakSet(),_0x1fa7ba=function(){const _0x248a60=_0x3fa1e9;localStorage[_0x248a60(0x179)](_0x248a60(0x15a)),localStorage['removeItem'](_0x248a60(0x17a)),localStorage['removeItem'](_0x248a60(0x18b)),localStorage['removeItem'](_0x248a60(0x1ac)),localStorage['removeItem'](_0x248a60(0x19f)),localStorage[_0x248a60(0x179)](_0x248a60(0x1fe));},_0x25d3dd=new WeakSet(),_0x19a139=function(){return _0x3ec66a(this,null,function*(){const _0x37da73=_0x291e;localStorage[_0x37da73(0x176)]('attributes')||(yield _0x4dd6c9(this,_0x5c6240,_0x54eada)[_0x37da73(0x226)](this));});},_0x25df1b=new WeakSet(),_0x138f27=function(_0x8b8e5e){return _0x3ec66a(this,null,function*(){const _0x3b4ae9=_0x291e;try{return yield _0xe39655[_0x3b4ae9(0x1ba)](''+_0x3ee760+_0x5cf735,_0x8b8e5e);}catch(_0x279f4a){throw new Error(_0x3b4ae9(0x195));}});},_0x2085b6(_0x2d4268,_0x42553f,void 0x0);var _0x36e207=_0x2d4268,_0x71214e=_0x36e207[_0x3fa1e9(0x1f6)]();typeof window!='undefined'&&(window[_0x3fa1e9(0x1ed)]=_0x71214e);var _0x95e707=_0x71214e;})());
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x337480=_0xf843;(function(_0x121042,_0x30d2d4){const _0x416703=_0xf843,_0x2f577a=_0x121042();while(!![]){try{const _0x105e08=parseInt(_0x416703(0x28d))/0x1*(parseInt(_0x416703(0x255))/0x2)+-parseInt(_0x416703(0x299))/0x3+-parseInt(_0x416703(0x1cd))/0x4*(parseInt(_0x416703(0x200))/0x5)+-parseInt(_0x416703(0x211))/0x6+-parseInt(_0x416703(0x22e))/0x7*(parseInt(_0x416703(0x297))/0x8)+parseInt(_0x416703(0x21f))/0x9+parseInt(_0x416703(0x26a))/0xa;if(_0x105e08===_0x30d2d4)break;else _0x2f577a['push'](_0x2f577a['shift']());}catch(_0x266bce){_0x2f577a['push'](_0x2f577a['shift']());}}}(_0x354a,0xb01ef));var Ct=Object['create'],F=Object['defineProperty'],_t=Object[_0x337480(0x25a)],Mt=Object['getOwnPropertyDescriptor'],Ft=Object[_0x337480(0x254)],$t=Object[_0x337480(0x250)],Ge=Object[_0x337480(0x24a)],Vt=Object[_0x337480(0x225)],je=Object[_0x337480(0x27d)]['hasOwnProperty'],Bt=Object[_0x337480(0x27d)][_0x337480(0x280)],He=(_0x49864c,_0x5e532b,_0x4c67f3)=>_0x5e532b in _0x49864c?F(_0x49864c,_0x5e532b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c67f3}):_0x49864c[_0x5e532b]=_0x4c67f3,$=(_0x4a20dd,_0x31bc66)=>{const _0x4c90db=_0x337480;for(var _0x2598cb in _0x31bc66||(_0x31bc66={}))je[_0x4c90db(0x24e)](_0x31bc66,_0x2598cb)&&He(_0x4a20dd,_0x2598cb,_0x31bc66[_0x2598cb]);if(Ge){for(var _0x2598cb of Ge(_0x31bc66))Bt['call'](_0x31bc66,_0x2598cb)&&He(_0x4a20dd,_0x2598cb,_0x31bc66[_0x2598cb]);}return _0x4a20dd;},Ue=(_0x967387,_0x2d224a)=>_t(_0x967387,Ft(_0x2d224a)),kt=(_0x29708b,_0x52a2ee)=>{for(var _0x590134 in _0x52a2ee)F(_0x29708b,_0x590134,{'get':_0x52a2ee[_0x590134],'enumerable':!0x0});},qe=(_0x43d524,_0x309b49,_0x48c194,_0x353d14)=>{const _0x57eaa5=_0x337480;if(_0x309b49&&typeof _0x309b49=='object'||typeof _0x309b49==_0x57eaa5(0x216)){for(let _0x2bffd8 of $t(_0x309b49))!je[_0x57eaa5(0x24e)](_0x43d524,_0x2bffd8)&&_0x2bffd8!==_0x48c194&&F(_0x43d524,_0x2bffd8,{'get':()=>_0x309b49[_0x2bffd8],'enumerable':!(_0x353d14=Mt(_0x309b49,_0x2bffd8))||_0x353d14[_0x57eaa5(0x1d3)]});}return _0x43d524;},Qe=(_0x373d5e,_0xd73978,_0x138987)=>(_0x138987=_0x373d5e!=null?Ct(Vt(_0x373d5e)):{},qe(_0xd73978||!_0x373d5e||!_0x373d5e[_0x337480(0x1d6)]?F(_0x138987,_0x337480(0x22f),{'value':_0x373d5e,'enumerable':!0x0}):_0x138987,_0x373d5e)),Jt=_0x494673=>qe(F({},_0x337480(0x1d6),{'value':!0x0}),_0x494673),xe=(_0x2b2846,_0x226796,_0x1ffeb1)=>{const _0x428601=_0x337480;if(!_0x226796[_0x428601(0x26b)](_0x2b2846))throw TypeError(_0x428601(0x26e)+_0x1ffeb1);},E=(_0x5d5a62,_0x50ed87,_0x2023e6)=>(xe(_0x5d5a62,_0x50ed87,_0x337480(0x1c6)),_0x2023e6?_0x2023e6[_0x337480(0x24e)](_0x5d5a62):_0x50ed87[_0x337480(0x1ea)](_0x5d5a62)),a=(_0x59391e,_0x4ef1c4,_0x1a22a0)=>{const _0x2c71b5=_0x337480;if(_0x4ef1c4['has'](_0x59391e))throw TypeError(_0x2c71b5(0x230));_0x4ef1c4 instanceof WeakSet?_0x4ef1c4['add'](_0x59391e):_0x4ef1c4[_0x2c71b5(0x1c7)](_0x59391e,_0x1a22a0);},f=(_0x1aab20,_0x1d64d8,_0x198d4d,_0x2e6eb2)=>(xe(_0x1aab20,_0x1d64d8,_0x337480(0x240)),_0x2e6eb2?_0x2e6eb2[_0x337480(0x24e)](_0x1aab20,_0x198d4d):_0x1d64d8[_0x337480(0x1c7)](_0x1aab20,_0x198d4d),_0x198d4d),Ye=(_0x46fa30,_0x1b7c88,_0x31484d,_0x2a386c)=>({set '_'(_0x2213eb){f(_0x46fa30,_0x1b7c88,_0x2213eb,_0x31484d);},get '_'(){return E(_0x46fa30,_0x1b7c88,_0x2a386c);}}),n=(_0x4873f5,_0x4cff95,_0x2f20a6)=>(xe(_0x4873f5,_0x4cff95,_0x337480(0x1d5)),_0x2f20a6),c=(_0x22e6a4,_0x463d54,_0xdd9258)=>new Promise((_0x32a62b,_0x1c29ac)=>{const _0x1a549b=_0x337480;var _0x5838d3=_0x53d14f=>{const _0x552605=_0xf843;try{_0x340cf7(_0xdd9258[_0x552605(0x226)](_0x53d14f));}catch(_0x4c8812){_0x1c29ac(_0x4c8812);}},_0x2e66ae=_0x26f808=>{const _0x57fc03=_0xf843;try{_0x340cf7(_0xdd9258[_0x57fc03(0x293)](_0x26f808));}catch(_0x362dc8){_0x1c29ac(_0x362dc8);}},_0x340cf7=_0x2fb1cd=>_0x2fb1cd[_0x1a549b(0x25d)]?_0x32a62b(_0x2fb1cd[_0x1a549b(0x1ee)]):Promise[_0x1a549b(0x21d)](_0x2fb1cd[_0x1a549b(0x1ee)])[_0x1a549b(0x267)](_0x5838d3,_0x2e66ae);_0x340cf7((_0xdd9258=_0xdd9258[_0x1a549b(0x29c)](_0x22e6a4,_0x463d54))[_0x1a549b(0x226)]());}),Wt={};kt(Wt,{'default':()=>zt}),module['exports']=Jt(Wt);var oe=require('uuid'),Xe=(_0x3749fd=>(_0x3749fd[_0x337480(0x282)]=_0x337480(0x270),_0x3749fd['UTM_MEDIUM']=_0x337480(0x29e),_0x3749fd['UTM_CAMPAIGN']=_0x337480(0x298),_0x3749fd[_0x337480(0x21c)]=_0x337480(0x20a),_0x3749fd[_0x337480(0x1cc)]=_0x337480(0x1c9),_0x3749fd))(Xe||{}),Ze=new Set(Object[_0x337480(0x28b)](Xe)),N='Popup\x20Action',et=_0x337480(0x263),Ce=_0x337480(0x1e2),tt=_0x337480(0x23f),_e='/event',rt='/record-event',nt=_0x337480(0x25c),ot=_0x337480(0x284),at=Qe(require('axios')),st=require('axios-queue-js'),ct=Qe(require('axios-retry')),it=require('axios'),l=class extends Error{constructor(_0x15991a){const _0xfd3995=_0x337480;super(_0x15991a),this['name']=_0xfd3995(0x28e);}};l[_0x337480(0x239)]=!0x1,l[_0x337480(0x26d)]=!navigator['onLine'],l['debugLevel']=0x0,l[_0x337480(0x271)]=!0x1;function _0xf843(_0x33b4dd,_0x5cb330){const _0x354a0e=_0x354a();return _0xf843=function(_0xf84312,_0xbfabed){_0xf84312=_0xf84312-0x1c6;let _0xf4f36e=_0x354a0e[_0xf84312];return _0xf4f36e;},_0xf843(_0x33b4dd,_0x5cb330);}var Kt=(_0x55a887,_0x10a88b)=>{const _0x5d804a=_0x337480;_0x10a88b instanceof l?u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x228)+_0x10a88b[_0x5d804a(0x1cf)]):_0x10a88b instanceof it['AxiosError']?(u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x243)+_0x10a88b['message']),_0x10a88b[_0x5d804a(0x234)]?(u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x218)+_0x10a88b[_0x5d804a(0x234)][_0x5d804a(0x268)]),u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x27b)+_0x10a88b[_0x5d804a(0x234)]['data'])):_0x10a88b['request']?u(0x2,'OriginateFrom:\x20'+_0x55a887+_0x5d804a(0x205)):u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x27a)+_0x10a88b[_0x5d804a(0x1cf)])):_0x10a88b instanceof Error?u(0x2,_0x5d804a(0x1dd)+_0x55a887+_0x5d804a(0x256)+_0x10a88b[_0x5d804a(0x1cf)]):u(0x2,'OriginateFrom:\x20'+_0x55a887+_0x5d804a(0x256)+String(_0x10a88b));},O=(_0x3e40d0,_0x5d0d86,_0x59ec84)=>c(void 0x0,null,function*(){const _0x2d9ad8=_0x337480;try{if(l[_0x2d9ad8(0x239)])throw new l(_0x2d9ad8(0x1e4));if(_0x3e40d0!==_0x2d9ad8(0x27f)&&l[_0x2d9ad8(0x26d)])throw new l(_0x2d9ad8(0x288));if(_0x3e40d0!=='init'&&!l[_0x2d9ad8(0x271)])throw new l(_0x2d9ad8(0x28a));return yield _0x5d0d86();}catch(_0x34a8ae){return _0x59ec84?_0x59ec84(_0x34a8ae):(l['debugLevel']===0x2||l[_0x2d9ad8(0x29a)]===0x3)&&Kt(_0x3e40d0,_0x34a8ae),null;}}),V=(_0x14c985=>(_0x14c985[_0x14c985[_0x337480(0x1ca)]=0x0]=_0x337480(0x1ca),_0x14c985[_0x14c985[_0x337480(0x22b)]=0x1]='INFO',_0x14c985[_0x14c985[_0x337480(0x207)]=0x2]=_0x337480(0x207),_0x14c985[_0x14c985[_0x337480(0x1d1)]=0x3]='ALL',_0x14c985))(V||{}),u=(_0x71983c,_0x5590cb)=>{const _0xfc091b=_0x337480;l[_0xfc091b(0x29a)]!==0x0&&l['debugLevel']<=0x3&&(_0x71983c===0x1?console['info']('INFO:\x20'+new Date()['toISOString'](),_0x5590cb):_0x71983c===0x2&&console[_0xfc091b(0x1e7)](_0xfc091b(0x277)+new Date()[_0xfc091b(0x1fe)](),_0x5590cb));},S=(_0x551bec,_0x23bfe6)=>{const _0x1841a8=_0x337480;l[_0x1841a8(0x29a)]!==0x0&&(_0x23bfe6?console[_0x1841a8(0x232)](_0x551bec):console['timeEnd'](_0x551bec));},I=(_0x4eba06,_0x229d6b)=>{const _0x5efedc=_0x337480;l[_0x5efedc(0x29a)]!==0x0&&(_0x229d6b?console[_0x5efedc(0x275)](_0x4eba06):console[_0x5efedc(0x1fa)]());},w,B,k,J,re,K,Fe,ne,lt,p=class p{constructor(){const _0x29c637=_0x337480;a(this,re,0x0);let _0x45d12b=at[_0x29c637(0x22f)][_0x29c637(0x22a)]({'baseURL':et,'headers':{'Content-Type':_0x29c637(0x245)}});f(p,B,_0x45d12b),f(p,k,new st[(_0x29c637(0x24f))]({'client':_0x45d12b,'queueSize':0xa})),(0x0,ct[_0x29c637(0x22f)])(_0x45d12b,{'onRetry':_0x163d39=>{const _0x183b62=_0x29c637;_0x163d39>=E(p,J)?(l['debugLevel']>0x2&&console['error'](_0x183b62(0x233)),l[_0x183b62(0x239)]=!0x0,setTimeout(()=>{l['disableSDK']=!0x1;},0x7530)):Ye(this,re)['_']++;},'retries':E(p,J),'retryDelay':_0x307b1a=>_0x307b1a*0x1388});}static[_0x337480(0x1e0)](_0x3a89ab){const _0x31466f=_0x337480;this[_0x31466f(0x29b)]=_0x3a89ab,n(this,ne,lt)[_0x31466f(0x24e)](this)[_0x31466f(0x22c)][_0x31466f(0x223)]['common']['Authorization']=_0x3a89ab;}static['get'](_0x16caad){const _0x4dcc7f=_0x337480;return n(this,K,Fe)[_0x4dcc7f(0x24e)](this)['get'](_0x16caad);}static[_0x337480(0x237)](_0x12b125,_0x3df397){const _0x6b80dd=_0x337480;return n(this,K,Fe)[_0x6b80dd(0x24e)](this)[_0x6b80dd(0x237)](_0x12b125,_0x3df397||{});}};w=new WeakMap(),B=new WeakMap(),k=new WeakMap(),J=new WeakMap(),re=new WeakMap(),K=new WeakSet(),Fe=function(){return E(p,w)||f(p,w,new p()),E(p,k);},ne=new WeakSet(),lt=function(){return E(p,w)||f(p,w,new p()),E(p,B);},a(p,K),a(p,ne),a(p,w,void 0x0),a(p,B,void 0x0),a(p,k,void 0x0),a(p,J,0x2);var Me=p,R=Me,P,D,W,G,H,ce,gt,b,z,T,y,le,ut,ge,Et,j,Ve,q,Be,ue,pt,Ee,dt,pe,mt,de,Q,me,Se,St,Ie,It,ve,vt,Y,ke,fe,ft,U,ie,x,ae,Te,Tt,X,Je,ye,yt,he,ht,Re,Rt,C,se,Oe,Ot,we,wt,Le,Lt,Z,Ke,be,bt,ee,ze,Ae,At,Ne,Nt,te,We,Pe,Pt,De,Dt,L=class L{constructor(){a(this,ce),a(this,b),a(this,T),a(this,le),a(this,ge),a(this,j),a(this,q),a(this,ue),a(this,Ee),a(this,pe),a(this,Se),a(this,Ie),a(this,ve),a(this,Y),a(this,fe),a(this,U),a(this,x),a(this,Te),a(this,X),a(this,ye),a(this,he),a(this,Re),a(this,C),a(this,Oe),a(this,we),a(this,Le),a(this,Z),a(this,be),a(this,ee),a(this,Ae),a(this,Ne),a(this,te),a(this,Pe),a(this,De),a(this,D,void 0x0),a(this,W,void 0x0),a(this,G,void 0x0),a(this,H,null),a(this,de,()=>{let _0x5f093c=()=>{const _0x24b599=_0xf843;let _0x2f860a=JSON[_0x24b599(0x1d2)](localStorage[_0x24b599(0x29d)](_0x24b599(0x1ef))||'{}');Object[_0x24b599(0x24b)](_0x2f860a)[_0x24b599(0x25e)](_0x25b2d9=>{const _0x75ae33=_0x24b599;_0x2f860a[_0x25b2d9][_0x75ae33(0x1c8)]=new Date()['getTime'](),_0x2f860a[_0x25b2d9][_0x75ae33(0x1e1)]=window[_0x75ae33(0x248)][_0x75ae33(0x219)]+window[_0x75ae33(0x248)][_0x75ae33(0x296)];}),localStorage['setItem'](_0x24b599(0x1ef),JSON[_0x24b599(0x208)](_0x2f860a));};_0x5f093c(),window['addEventListener']('beforeunload',_0x5f093c);}),a(this,Q,_0x5b671a=>{const _0x42bfab=_0xf843;let _0x296f3e=JSON[_0x42bfab(0x1d2)](localStorage[_0x42bfab(0x29d)](_0x42bfab(0x1ef))||'{}');_0x296f3e[_0x5b671a]&&delete _0x296f3e[_0x5b671a],localStorage[_0x42bfab(0x24c)](_0x42bfab(0x1ef),JSON[_0x42bfab(0x208)](_0x296f3e));}),a(this,me,()=>{const _0x510da6=_0xf843;let _0x455eb4=JSON[_0x510da6(0x1d2)](localStorage[_0x510da6(0x29d)](_0x510da6(0x1ef))||'{}');Object['keys'](_0x455eb4)[_0x510da6(0x25e)](_0x2601fe=>{const _0xad2723=_0x510da6;_0x455eb4[_0x2601fe][_0xad2723(0x1cf)]['name']===_0xad2723(0x203)&&n(this,X,Je)[_0xad2723(0x24e)](this,_0x455eb4[_0x2601fe][_0xad2723(0x1e9)]);});});}static['getInstance'](){return E(L,P)||f(L,P,new L()),E(L,P);}['init'](_0x3dfc14){const _0x4e77d3=_0x337480;O(_0x4e77d3(0x291),()=>c(this,null,function*(){const _0x35c9c6=_0x4e77d3;u(0x1,'Initializing\x20Mergn\x20SDK'),I(_0x35c9c6(0x27e),!0x0),S(_0x35c9c6(0x279),!0x0),n(this,ue,pt)[_0x35c9c6(0x24e)](this,_0x3dfc14),yield n(this,j,Ve)[_0x35c9c6(0x24e)](this),l[_0x35c9c6(0x271)]=!0x0,setInterval(()=>c(this,null,function*(){yield n(this,j,Ve)['call'](this);}),0x493e0),yield n(this,b,z)['call'](this),window[_0x35c9c6(0x20f)]('online',()=>c(this,null,function*(){const _0x1a5554=_0x35c9c6;l[_0x1a5554(0x26d)]=!0x1;let _0x44356e=JSON['parse'](localStorage[_0x1a5554(0x29d)]('offlineEvents')||'[]');Array['isArray'](_0x44356e)&&(yield n(this,ee,ze)[_0x1a5554(0x24e)](this,{'customerId':localStorage[_0x1a5554(0x29d)](_0x1a5554(0x253))||'','events':_0x44356e}),localStorage[_0x1a5554(0x1fc)](_0x1a5554(0x272))),n(this,b,z)[_0x1a5554(0x24e)](this),n(this,x,ae)[_0x1a5554(0x24e)](this);})),window[_0x35c9c6(0x20f)](_0x35c9c6(0x26d),()=>{const _0x3a61a2=_0x35c9c6;l[_0x3a61a2(0x26d)]=!0x0;}),window[_0x35c9c6(0x20f)]('load',()=>{const _0x1b2987=_0x35c9c6;E(this,me)[_0x1b2987(0x24e)](this);});let _0x17fc81=history[_0x35c9c6(0x261)];history[_0x35c9c6(0x261)]=(..._0x4145d9)=>{const _0x7cebee=_0x35c9c6;_0x17fc81['apply'](history,_0x4145d9),n(this,q,Be)[_0x7cebee(0x24e)](this);},n(this,q,Be)['call'](this),S(_0x35c9c6(0x279),!0x1),I(_0x35c9c6(0x27e),!0x1);}));}[_0x337480(0x1d7)](_0x422a67){const _0x5483d0=_0x337480;if(!(_0x422a67 in V)){console[_0x5483d0(0x1e7)]('Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203');return;}l[_0x5483d0(0x29a)]=_0x422a67;}['recordAttribute'](_0x3e05ef,_0x276307){const _0x436404=_0x337480;O(_0x436404(0x1d0),()=>c(this,null,function*(){const _0x28603e=_0x436404;yield n(this,ce,gt)[_0x28603e(0x24e)](this,_0x3e05ef,_0x276307,void 0x0);}));}[_0x337480(0x1de)](_0x46983b){const _0x8f408a=_0x337480;O(_0x8f408a(0x1de),()=>c(this,null,function*(){const _0x3eaed5=_0x8f408a;u(0x1,_0x3eaed5(0x227)),I('Logging\x20in',!0x0),S(_0x3eaed5(0x258),!0x0),u(0x1,_0x3eaed5(0x242)+_0x46983b),yield n(this,U,ie)[_0x3eaed5(0x24e)](this,_0x46983b),S(_0x3eaed5(0x258),!0x1),I(_0x3eaed5(0x227),!0x1);}));}[_0x337480(0x269)](){const _0x4b7500=_0x337480;O(_0x4b7500(0x269),()=>c(this,null,function*(){const _0x19a1c9=_0x4b7500;u(0x1,_0x19a1c9(0x274)),I(_0x19a1c9(0x274),!0x0),S(_0x19a1c9(0x273),!0x0),n(this,te,We)[_0x19a1c9(0x24e)](this),S(_0x19a1c9(0x273),!0x1),I(_0x19a1c9(0x274),!0x1);}));}['recordEvent'](_0x52641a,_0x12cfc6){setTimeout(()=>{const _0x53df75=_0xf843;O(_0x53df75(0x27f),()=>c(this,null,function*(){const _0x2e5ab7=_0x53df75;u(0x1,_0x2e5ab7(0x1d8)),I(_0x2e5ab7(0x1d8),!0x0),S('Recording\x20event\x20Time',!0x0),u(0x1,_0x2e5ab7(0x1db)+{'eventName':_0x52641a,'eventProperties':_0x12cfc6}),n(this,T,y)[_0x2e5ab7(0x24e)](this,_0x52641a,_0x12cfc6),S('Recording\x20event\x20Time',!0x1),I(_0x2e5ab7(0x1d8),!0x1);}));});}};P=new WeakMap(),D=new WeakMap(),W=new WeakMap(),G=new WeakMap(),H=new WeakMap(),ce=new WeakSet(),gt=function(_0x10e3e7,_0x43a7cf,_0x3eac08){return c(this,null,function*(){const _0x174285=_0xf843;yield O(_0x174285(0x1f4),()=>c(this,null,function*(){const _0x4474ed=_0x174285;u(0x1,'Recording\x20attribute'),I('Recording\x20attribute',!0x0),S('Recording\x20attribute\x20Time',!0x0),u(0x1,'Attribute\x20Payload:\x0a\x20'+{'attributeName':_0x10e3e7,'attributeProperties':_0x3eac08,'attributeValue':_0x43a7cf}+')}'),yield n(this,b,z)[_0x4474ed(0x24e)](this),yield n(this,Pe,Pt)['call'](this);let _0x51ae09=JSON[_0x4474ed(0x1d2)](localStorage[_0x4474ed(0x29d)]('attributes')||'{}'),_0x45737f=_0x3eac08?n(this,Z,Ke)['call'](this,_0x51ae09,_0x10e3e7,_0x3eac08):n(this,Z,Ke)[_0x4474ed(0x24e)](this,_0x51ae09,_0x10e3e7);if(typeof _0x45737f==_0x4474ed(0x1e5)){u(0x2,_0x45737f);return;}n(this,x,ae)['call'](this);let {id:_0x17846e}=_0x51ae09[_0x10e3e7],_0x3a67c7={'attributeId':_0x17846e,'attributeProperties':_0x45737f,'customerId':localStorage['getItem'](_0x4474ed(0x253))||'','value':_0x43a7cf};yield n(this,De,Dt)['call'](this,_0x3a67c7),S('Recording\x20attribute\x20Time',!0x1),I(_0x4474ed(0x290),!0x1);}));});},b=new WeakSet(),z=function(){return c(this,null,function*(){const _0x52c637=_0xf843;u(0x1,_0x52c637(0x23a)),I(_0x52c637(0x23a),!0x0),S(_0x52c637(0x1ec),!0x0);let _0x9f243c=localStorage[_0x52c637(0x29d)](_0x52c637(0x217)),_0x174c25=!0x1;if(_0x9f243c){if(_0x174c25=new Date()[_0x52c637(0x1ff)]()-parseInt(_0x9f243c,0xa)>0x124f80,_0x174c25){let _0x546006=localStorage[_0x52c637(0x29d)](_0x52c637(0x247)),_0x467162=localStorage[_0x52c637(0x29d)]('ttl');_0x546006&&_0x467162&&n(this,T,y)[_0x52c637(0x24e)](this,'Web\x20Session\x20Concluded',[{'eventProperty':'SESSION_ID','value':localStorage[_0x52c637(0x29d)](_0x52c637(0x247))},{'eventProperty':_0x52c637(0x1fb),'value':new Date(parseInt(_0x467162,0xa))[_0x52c637(0x1fe)]()}]),n(this,te,We)[_0x52c637(0x24e)](this),localStorage[_0x52c637(0x24c)](_0x52c637(0x217),''+new Date()[_0x52c637(0x1ff)]());}}else localStorage[_0x52c637(0x24c)](_0x52c637(0x217),''+new Date()[_0x52c637(0x1ff)]());(!_0x9f243c||_0x174c25||n(this,Ee,dt)[_0x52c637(0x24e)](this))&&(n(this,Se,St)[_0x52c637(0x24e)](this),yield n(this,U,ie)[_0x52c637(0x24e)](this),yield n(this,pe,mt)[_0x52c637(0x24e)](this)),S(_0x52c637(0x1ec),!0x1),I(_0x52c637(0x23a),!0x1);});},T=new WeakSet(),y=function(_0x4f6341,_0x2c005d,_0x1b74f5,_0x2fa911,_0x120673){return c(this,null,function*(){const _0xa08429=_0xf843;yield O(_0xa08429(0x1ce),()=>c(this,null,function*(){const _0x1dae2e=_0xa08429;var _0xb4d723;u(0x1,_0x1dae2e(0x221)),I('Recording\x20event',!0x0),S('Recording\x20event\x20Time',!0x0),u(0x1,'Event\x20Payload'),u(0x1,{'campaignCustomerInstanceId':_0x2fa911,'eventName':_0x4f6341,'eventProperties':_0x2c005d,'name':_0x120673}),_0x4f6341!==_0x1dae2e(0x28f)&&(yield n(this,b,z)[_0x1dae2e(0x24e)](this));let _0x31544f=[];_0x2c005d&&_0x31544f[_0x1dae2e(0x1f1)](..._0x2c005d),_0x31544f['push']({'eventProperty':_0x1dae2e(0x292),'value':E(this,D)}),_0x31544f[_0x1dae2e(0x1f1)]({'eventProperty':'operating-system','value':E(this,G)}),_0x31544f[_0x1dae2e(0x1f1)]({'eventProperty':_0x1dae2e(0x260),'value':E(this,W)});let _0x18222b=n(this,we,wt)['call'](this),_0x841aa9=n(this,Le,Lt)[_0x1dae2e(0x24e)](this,_0x18222b,_0x4f6341,_0x31544f);if(typeof _0x841aa9==_0x1dae2e(0x1e5)){u(0x2,_0x841aa9);return;}n(this,x,ae)[_0x1dae2e(0x24e)](this);let {id:_0x267ff0}=_0x18222b[_0x4f6341],_0x5a36b5=n(this,be,bt)[_0x1dae2e(0x24e)](this,$(Ue($($({},_0x2fa911?{'campaignCustomerInstanceId':_0x2fa911}:{}),_0x1b74f5?{'campaignId':_0x1b74f5}:{}),{'eventId':_0x267ff0,'eventProperties':_0x841aa9,'sessionId':localStorage[_0x1dae2e(0x29d)](_0x1dae2e(0x247))||''}),_0x120673?{'name':_0x120673}:{}));if(l[_0x1dae2e(0x26d)]){let _0x43a9b4=JSON[_0x1dae2e(0x1d2)](localStorage[_0x1dae2e(0x29d)]('offlineEvents')||'[]');_0x43a9b4[_0x1dae2e(0x1f0)]<=0x32&&(_0x43a9b4[_0x1dae2e(0x1f1)](..._0x5a36b5[_0x1dae2e(0x249)]),localStorage['setItem'](_0x1dae2e(0x272),JSON[_0x1dae2e(0x208)](_0x43a9b4)));return;}let _0x4ff062=yield n(this,ee,ze)[_0x1dae2e(0x24e)](this,_0x5a36b5);(_0xb4d723=_0x4ff062==null?void 0x0:_0x4ff062[_0x1dae2e(0x276)])==null||_0xb4d723[_0x1dae2e(0x25e)](_0xad87d0=>{const _0x1eae06=_0x1dae2e;n(this,Ae,At)[_0x1eae06(0x24e)](this,_0xad87d0[_0x1eae06(0x1cf)]['name'])&&(n(this,Ne,Nt)[_0x1eae06(0x24e)](this,_0xad87d0),E(this,de)[_0x1eae06(0x24e)](this),n(this,X,Je)['call'](this,_0xad87d0[_0x1eae06(0x1e9)]));}),S(_0x1dae2e(0x20e),!0x1),I(_0x1dae2e(0x1d8),!0x1);}));});},le=new WeakSet(),ut=function(){const _0x312606=_0x337480;let _0x5d35c1=navigator['userAgent'][_0x312606(0x21a)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i['test'](_0x5d35c1)?_0x312606(0x1f8):/windows|macintosh|linux|x11/i[_0x312606(0x21b)](_0x5d35c1)?_0x312606(0x259):'Unknown';},ge=new WeakSet(),Et=function(){const _0x24d12e=_0x337480;let _0x1f40c4=navigator[_0x24d12e(0x235)],_0x4b9b1c;return _0x1f40c4[_0x24d12e(0x212)]('Chrome')>-0x1?_0x4b9b1c=_0x24d12e(0x236):_0x1f40c4[_0x24d12e(0x212)](_0x24d12e(0x222))>-0x1?_0x4b9b1c=_0x24d12e(0x222):_0x1f40c4[_0x24d12e(0x212)](_0x24d12e(0x28c))>-0x1?_0x4b9b1c=_0x24d12e(0x244):_0x1f40c4[_0x24d12e(0x212)](_0x24d12e(0x1f2))>-0x1?_0x4b9b1c=_0x24d12e(0x22d):_0x1f40c4[_0x24d12e(0x212)]('MSIE')>-0x1?_0x4b9b1c=_0x24d12e(0x1dc):_0x4b9b1c=_0x24d12e(0x281),_0x4b9b1c;},j=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x584a89=_0xf843;try{yield R[_0x584a89(0x1ea)](_0x584a89(0x1f5));}catch(_0xf586b8){throw l[_0x584a89(0x239)]=!0x0,_0xf586b8[_0x584a89(0x1cf)];}});},q=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x31d364=_0xf843;var _0x41facf;u(0x1,'Tracking\x20page\x20change'),I('Tracking\x20page\x20change',!0x0),S(_0x31d364(0x238),!0x0);let _0x40f11f=(_0x41facf=window==null?void 0x0:window[_0x31d364(0x248)])==null?void 0x0:_0x41facf[_0x31d364(0x1e3)];if(_0x40f11f!==E(this,H)){f(this,H,_0x40f11f);let _0x4516cd=[];new URLSearchParams(new URL(window[_0x31d364(0x248)][_0x31d364(0x1e3)])[_0x31d364(0x1f7)])[_0x31d364(0x25e)]((_0x583ee1,_0x35d1b4)=>c(this,null,function*(){const _0x22b47e=_0x31d364;Ze['has'](_0x35d1b4)&&_0x4516cd[_0x22b47e(0x1f1)]({'eventProperty':_0x35d1b4,'value':_0x583ee1});})),yield n(this,T,y)['call'](this,_0x31d364(0x287),[{'eventProperty':_0x31d364(0x295),'value':window[_0x31d364(0x248)][_0x31d364(0x296)]},..._0x4516cd]);}S(_0x31d364(0x238),!0x1),I(_0x31d364(0x214),!0x1);});},ue=new WeakSet(),pt=function(_0x5f2e7d){const _0x515c2c=_0x337480;R[_0x515c2c(0x1e0)](_0x5f2e7d),f(this,D,navigator[_0x515c2c(0x235)]),f(this,W,n(this,ge,Et)[_0x515c2c(0x24e)](this)),f(this,G,n(this,le,ut)[_0x515c2c(0x24e)](this));},Ee=new WeakSet(),dt=function(){const _0x12e9e1=_0x337480;return!localStorage[_0x12e9e1(0x29d)]('events')||!localStorage[_0x12e9e1(0x29d)](_0x12e9e1(0x253))||!localStorage[_0x12e9e1(0x29d)](_0x12e9e1(0x206))||!localStorage['getItem'](_0x12e9e1(0x1d4))||!localStorage[_0x12e9e1(0x29d)](_0x12e9e1(0x247))||!localStorage[_0x12e9e1(0x29d)](_0x12e9e1(0x253));},pe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x57e039=_0xf843;yield n(this,Ie,It)[_0x57e039(0x24e)](this),yield n(this,Y,ke)[_0x57e039(0x24e)](this),yield n(this,U,ie)[_0x57e039(0x24e)](this);});},de=new WeakMap(),Q=new WeakMap(),me=new WeakMap(),Se=new WeakSet(),St=function(){const _0x70a8b5=_0x337480;let _0x55402a=localStorage[_0x70a8b5(0x29d)](_0x70a8b5(0x1d4));return _0x55402a||(_0x55402a=(0x0,oe['v4'])(),localStorage[_0x70a8b5(0x24c)](_0x70a8b5(0x1d4),_0x55402a)),_0x55402a;},Ie=new WeakSet(),It=function(){return c(this,null,function*(){const _0x2092b8=_0xf843;if(!localStorage[_0x2092b8(0x29d)](_0x2092b8(0x249))){let _0x1a3e18=(yield n(this,ve,vt)[_0x2092b8(0x24e)](this))[_0x2092b8(0x276)];_0x1a3e18&&localStorage[_0x2092b8(0x24c)](_0x2092b8(0x249),JSON['stringify'](_0x1a3e18));}});},ve=new WeakSet(),vt=function(){return c(this,null,function*(){const _0x2bb455=_0xf843;try{return(yield R[_0x2bb455(0x1ea)](''+_e))[_0x2bb455(0x276)];}catch(_0x7bc5c8){throw new Error('Error\x20fetching\x20event\x20data');}});},Y=new WeakSet(),ke=function(){return c(this,null,function*(){const _0x244a2e=_0xf843;if(!localStorage[_0x244a2e(0x29d)]('attributes')){let _0x4464aa=(yield n(this,fe,ft)['call'](this))[_0x244a2e(0x276)];_0x4464aa&&localStorage[_0x244a2e(0x24c)](_0x244a2e(0x206),JSON['stringify'](_0x4464aa));}});},fe=new WeakSet(),ft=function(){return c(this,null,function*(){const _0x20f5a6=_0xf843;try{return(yield R[_0x20f5a6(0x1ea)](''+Ce))['data'];}catch(_0x153419){throw new Error(_0x20f5a6(0x23c));}});},U=new WeakSet(),ie=function(_0xd30e07){return c(this,null,function*(){const _0xcb7312=_0xf843;localStorage[_0xcb7312(0x29d)](_0xcb7312(0x247))||(localStorage['setItem'](_0xcb7312(0x247),(0x0,oe['v4'])()),yield n(this,T,y)[_0xcb7312(0x24e)](this,_0xcb7312(0x213),[{'eventProperty':'SESSION_ID','value':localStorage[_0xcb7312(0x29d)]('session')},{'eventProperty':'SESSION_CREATED','value':new Date(parseInt(localStorage[_0xcb7312(0x29d)](_0xcb7312(0x217))||'',0xa))[_0xcb7312(0x1fe)]()}]));let _0x2ff25d={'deviceId':localStorage['getItem'](_0xcb7312(0x1d4))||(0x0,oe['v4'])(),'os':E(this,D)};if(_0xd30e07)_0x2ff25d[_0xcb7312(0x278)]=_0xd30e07;else{if(!_0xd30e07&&localStorage[_0xcb7312(0x29d)](_0xcb7312(0x253)))return;}try{let _0x592466=(yield n(this,Te,Tt)[_0xcb7312(0x24e)](this,_0x2ff25d))[_0xcb7312(0x276)];_0x592466!==void 0x0&&localStorage[_0xcb7312(0x24c)](_0xcb7312(0x253),_0x592466);}catch(_0x39df4a){throw new Error(_0xcb7312(0x210));}});},x=new WeakSet(),ae=function(){const _0x43c809=_0x337480;localStorage[_0x43c809(0x24c)]('ttl',''+new Date()[_0x43c809(0x1ff)]());},Te=new WeakSet(),Tt=function(_0xede1be){return c(this,null,function*(){const _0x1506e7=_0xf843;try{return(yield R['post'](''+nt+ot,_0xede1be))[_0x1506e7(0x276)];}catch(_0x188284){throw new Error(_0x1506e7(0x26c));}});},X=new WeakSet(),Je=function(_0x4f9f24){const _0x410352=_0x337480;let _0x579aed=n(this,ye,yt)[_0x410352(0x24e)](this);if(_0x579aed!=null&&_0x579aed[_0x4f9f24])switch(_0x579aed[_0x4f9f24]['campaignEntryTime']){case _0x410352(0x25f):{n(this,Re,Rt)['call'](this,_0x579aed[_0x4f9f24]);break;}case _0x410352(0x1ed):{n(this,C,se)[_0x410352(0x24e)](this,_0x579aed[_0x4f9f24]);break;}case'SCROLL':{n(this,he,ht)[_0x410352(0x24e)](this,_0x579aed[_0x4f9f24]);break;}default:return;}},ye=new WeakSet(),yt=function(){let _0x511588=localStorage['getItem']('action');return _0x511588?JSON['parse'](_0x511588):null;},he=new WeakSet(),ht=function(_0x2ba606){const _0x127d32=_0x337480;let _0x358688=()=>{const _0x40f796=_0xf843;var _0xe9e8fb,_0x6a2131;let _0x56b455=window['innerHeight'],_0x443ba4=document[_0x40f796(0x1fd)][_0x40f796(0x1eb)],_0x4e61d3=window[_0x40f796(0x246)]/(_0x443ba4-_0x56b455)*0x64;console[_0x40f796(0x1d9)](_0x40f796(0x231),_0x4e61d3),console[_0x40f796(0x1d9)]('🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:',(_0xe9e8fb=_0x2ba606[_0x40f796(0x20c)])==null?void 0x0:_0xe9e8fb[_0x40f796(0x1ee)]),_0x4e61d3>(((_0x6a2131=_0x2ba606[_0x40f796(0x20c)])==null?void 0x0:_0x6a2131['value'])||0x0)&&(window[_0x40f796(0x264)](_0x40f796(0x27c),_0x358688),console['log'](_0x40f796(0x1e8)),n(this,C,se)[_0x40f796(0x24e)](this,_0x2ba606));};window[_0x127d32(0x20f)]('scroll',_0x358688);},Re=new WeakSet(),Rt=function(_0x266284){const _0x333b16=_0x337480;var _0x24b297;let _0xf30db2=_0x266284[_0x333b16(0x1c8)]-0x1f4+(((_0x24b297=_0x266284['campaignEntryTimeValue'])==null?void 0x0:_0x24b297[_0x333b16(0x1ee)])||0x0)*0x3e8-new Date()['getTime']();_0xf30db2>0x0&&_0x266284[_0x333b16(0x1e1)]===window[_0x333b16(0x248)][_0x333b16(0x219)]+window[_0x333b16(0x248)][_0x333b16(0x296)]&&setTimeout(()=>{const _0x2f5180=_0x333b16;E(this,Q)[_0x2f5180(0x24e)](this,_0x266284['campaignId']),n(this,C,se)[_0x2f5180(0x24e)](this,_0x266284);},_0xf30db2);},C=new WeakSet(),se=function(_0x358495){const _0x469c2e=_0x337480;let _0x2dac99=n(this,Oe,Ot)[_0x469c2e(0x24e)](this,_0x469c2e(0x23e),_0x358495);document[_0x469c2e(0x1da)][_0x469c2e(0x252)](_0x2dac99),n(this,T,y)['call'](this,N,[{'eventProperty':_0x469c2e(0x251),'value':JSON['stringify']({'campaignId':_0x358495[_0x469c2e(0x1e9)]})}],_0x358495['campaignId'],_0x358495['campaignCustomerInstanceId'],_0x469c2e(0x1e6)),E(this,Q)[_0x469c2e(0x24e)](this,_0x358495[_0x469c2e(0x1e9)]);},Oe=new WeakSet(),Ot=function(_0x1294a5,_0x5380c1){const _0x32bbdd=_0x337480;var _0x325d39;let {campaignCustomerInstanceId:_0x201452,campaignId:_0x3538d9,message:{design:_0x469eb1}}=_0x5380c1,_0x2f1daf=document[_0x32bbdd(0x1cb)](_0x1294a5);_0x2f1daf['id']=_0x32bbdd(0x1f9)+_0x3538d9,_0x2f1daf[_0x32bbdd(0x265)]=_0x469eb1,_0x2f1daf['style']['zIndex']='50';let _0x5f5c21=_0x2f1daf[_0x32bbdd(0x1f6)](_0x32bbdd(0x204));return _0x5f5c21&&(_0x5f5c21[_0x32bbdd(0x266)]['zIndex']='50'),_0x2f1daf[_0x32bbdd(0x202)](_0x32bbdd(0x24d))[_0x32bbdd(0x25e)](_0x5f055f=>{const _0x2a8a15=_0x32bbdd;let _0x2c35b8=_0x5f055f[_0x2a8a15(0x1f6)](_0x2a8a15(0x286));_0x2c35b8&&_0x2c35b8['addEventListener'](_0x2a8a15(0x220),()=>c(this,null,function*(){const _0xb01868=_0x2a8a15;_0x2f1daf[_0xb01868(0x1f3)]();let _0x30d8e9=new FormData(_0x2c35b8),_0x34ddae={};for(let [_0x56d360,_0xee0197]of _0x30d8e9['entries']())_0x34ddae[_0x56d360]=_0xee0197;yield n(this,T,y)['call'](this,N,[{'eventProperty':_0xb01868(0x26f),'value':JSON[_0xb01868(0x208)]({'campaignId':_0x3538d9,'formId':_0x5f055f['id'],'formValues':_0x34ddae})}],_0x3538d9,_0x201452,_0xb01868(0x286));}));}),(_0x325d39=_0x2f1daf[_0x32bbdd(0x1f6)]('.u-close-button'))==null||_0x325d39[_0x32bbdd(0x20f)](_0x32bbdd(0x29f),()=>c(this,null,function*(){const _0x225c45=_0x32bbdd;_0x2f1daf['remove'](),yield n(this,T,y)['call'](this,N,[{'eventProperty':_0x225c45(0x20d),'value':JSON[_0x225c45(0x208)]({'campaignId':_0x3538d9})}],_0x3538d9,_0x201452,_0x225c45(0x21e));})),_0x2f1daf[_0x32bbdd(0x202)](_0x32bbdd(0x283))[_0x32bbdd(0x25e)](_0x458ebe=>{const _0x444552=_0x32bbdd;_0x458ebe[_0x444552(0x20f)](_0x444552(0x29f),()=>c(this,null,function*(){const _0x49949f=_0x444552;yield n(this,T,y)[_0x49949f(0x24e)](this,N,[{'eventProperty':'Button\x20Click','value':JSON[_0x49949f(0x208)]({'buttonId':_0x458ebe['id'],'campaignId':_0x3538d9})}],_0x3538d9,_0x201452,_0x49949f(0x29f));}));}),_0x2f1daf[_0x32bbdd(0x202)](_0x32bbdd(0x20b))[_0x32bbdd(0x25e)](_0x1c9e84=>{const _0x299cb6=_0x32bbdd;_0x1c9e84['addEventListener'](_0x299cb6(0x29f),()=>c(this,null,function*(){const _0x5c6218=_0x299cb6;yield n(this,T,y)['call'](this,N,[{'eventProperty':'Image\x20Click','value':JSON[_0x5c6218(0x208)]({'campaignId':_0x3538d9,'imageClassName':_0x1c9e84[_0x5c6218(0x23b)],'imageId':_0x1c9e84['id']})}],_0x3538d9,_0x201452,'click');}));}),_0x2f1daf;},we=new WeakSet(),wt=function(){const _0x2df3f6=_0x337480;let _0x21a802=localStorage[_0x2df3f6(0x29d)](_0x2df3f6(0x249));return _0x21a802?JSON[_0x2df3f6(0x1d2)](_0x21a802):{};},Le=new WeakSet(),Lt=function(_0x3d8a4e,_0x3fda62,_0x2fbad9){const _0x2184b4=_0x337480;if(!Object[_0x2184b4(0x27d)][_0x2184b4(0x241)][_0x2184b4(0x24e)](_0x3d8a4e,_0x3fda62))return'Event\x20'+_0x3fda62+_0x2184b4(0x23d);if(!_0x2fbad9)return[];let _0x3ba659=_0x3d8a4e[_0x3fda62];if(!(_0x3ba659!=null&&_0x3ba659[_0x2184b4(0x224)]))return _0x2184b4(0x215)+_0x3fda62+'\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.';let _0x3fcacd=_0x2fbad9[_0x2184b4(0x294)](({eventProperty:_0x46c21c})=>!Object['prototype']['hasOwnProperty'][_0x2184b4(0x24e)](_0x3ba659[_0x2184b4(0x224)],_0x46c21c))[_0x2184b4(0x229)](({eventProperty:_0x90048d})=>_0x90048d);return _0x3fcacd[_0x2184b4(0x1f0)]>0x0?_0x2184b4(0x215)+_0x3fda62+_0x2184b4(0x285)+_0x3fcacd[_0x2184b4(0x1df)](',\x20')+'.':_0x2fbad9[_0x2184b4(0x229)](({eventProperty:_0x25dd24,value:_0x56d850})=>({'eventPropertyId':_0x3ba659[_0x2184b4(0x224)][_0x25dd24]['id'],'value':_0x56d850}));},Z=new WeakSet(),Ke=function(_0x12deca,_0x2624cb,_0x30e83f){const _0x43cbe6=_0x337480;if(!Object[_0x43cbe6(0x27d)]['hasOwnProperty']['call'](_0x12deca,_0x2624cb))return _0x43cbe6(0x209)+_0x2624cb+_0x43cbe6(0x23d);if(!_0x30e83f)return[];let _0x595181=_0x12deca[_0x2624cb];if(!(_0x595181!=null&&_0x595181['attributeProperty']))return _0x43cbe6(0x209)+_0x2624cb+_0x43cbe6(0x289);let _0x24bccf=_0x30e83f['filter'](({attributeProperty:_0x559f69})=>!Object[_0x43cbe6(0x27d)][_0x43cbe6(0x241)][_0x43cbe6(0x24e)](_0x595181[_0x43cbe6(0x262)],_0x559f69))[_0x43cbe6(0x229)](({attributeProperty:_0x5cee6d})=>_0x5cee6d);return _0x24bccf['length']>0x0?_0x43cbe6(0x209)+_0x2624cb+_0x43cbe6(0x257)+_0x24bccf[_0x43cbe6(0x1df)](',\x20')+'.':_0x30e83f[_0x43cbe6(0x229)](({attributeProperty:_0x207cc0,value:_0x2da266})=>({'attributePropertyId':_0x595181['attributeProperty'][_0x207cc0]['id'],'value':_0x2da266}));},be=new WeakSet(),bt=function(_0x1ce632){const _0x28c3c9=_0x337480;return{'customerId':localStorage[_0x28c3c9(0x29d)](_0x28c3c9(0x253))||'','events':[_0x1ce632]};},ee=new WeakSet(),ze=function(_0x202d75){return c(this,null,function*(){try{return(yield R['post'](''+_e+rt,_0x202d75))['data'];}catch(_0x58a6a7){throw new Error('Error\x20posting\x20event\x20record');}});},Ae=new WeakSet(),At=function(_0x3e89c4){const _0x95b016=_0x337480;return _0x3e89c4===_0x95b016(0x203);},Ne=new WeakSet(),Nt=function(_0x4c0623){const _0x331db4=_0x337480;let _0x40a481=JSON[_0x331db4(0x1d2)](localStorage[_0x331db4(0x29d)](_0x331db4(0x1ef))||'{}');_0x40a481[_0x4c0623[_0x331db4(0x1e9)]]=Ue($({},_0x4c0623),{'initialTime':new Date()[_0x331db4(0x1ff)](),'page':window[_0x331db4(0x248)][_0x331db4(0x219)]+window['location'][_0x331db4(0x296)]}),localStorage['setItem'](_0x331db4(0x1ef),JSON[_0x331db4(0x208)](_0x40a481));},te=new WeakSet(),We=function(){const _0x2b8b7b=_0x337480;localStorage[_0x2b8b7b(0x1fc)](_0x2b8b7b(0x1ef)),localStorage[_0x2b8b7b(0x1fc)](_0x2b8b7b(0x249)),localStorage[_0x2b8b7b(0x1fc)](_0x2b8b7b(0x206)),localStorage[_0x2b8b7b(0x1fc)](_0x2b8b7b(0x272)),localStorage[_0x2b8b7b(0x1fc)]('ttl'),localStorage['removeItem'](_0x2b8b7b(0x247));},Pe=new WeakSet(),Pt=function(){return c(this,null,function*(){const _0x3b92a2=_0xf843;localStorage['getItem'](_0x3b92a2(0x206))||(yield n(this,Y,ke)[_0x3b92a2(0x24e)](this));});},De=new WeakSet(),Dt=function(_0x1b8daa){return c(this,null,function*(){const _0x2851a0=_0xf843;try{return yield R['post'](''+Ce+tt,_0x1b8daa);}catch(_0x1d7b1a){throw new Error(_0x2851a0(0x25b));}});},a(L,P,void 0x0);var $e=L,Ut=$e[_0x337480(0x201)](),zt=Ut;function _0x354a(){const _0x342041=['submit','#\x20Recording\x20event','Safari','headers','eventProperty','getPrototypeOf','next','Logging\x20in','\x0aMergnError:\x20','map','create','INFO','defaults','Microsoft\x20Edge','6776qhKmRU','default','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','time','Max\x20retries\x20reached.\x20Disabling\x20SDK\x20for\x2030\x20secs.','response','userAgent','Google\x20Chrome','post','Tracking\x20page\x20change\x20Time','disableSDK','Checking\x20TTL','className','Error\x20fetching\x20attribute\x20data','\x20is\x20not\x20valid.','div','/set-attribute','write\x20to\x20private\x20field','hasOwnProperty','Identity:\x20','\x0aAxiosError:\x20','Mozilla\x20Firefox','application/json','scrollY','session','location','events','getOwnPropertySymbols','keys','setItem','[id^=\x22u_content_form_\x22]','call','AxiosQueueManager','getOwnPropertyNames','Popup\x20View','appendChild','customer','getOwnPropertyDescriptors','1436542KaYcbR','\x0aUnexpected\x20error:\x20','\x20has\x20invalid\x20attributeProperties:\x20','Logging\x20in\x20Time','Web','defineProperties','Error\x20posting\x20attribute\x20record','/customer','done','forEach','DELAY','os-version','pushState','attributeProperty','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','removeEventListener','innerHTML','style','then','status','logout','12594510FYfoDO','has','Error\x20posting\x20identity\x20data','offline','Cannot\x20','Form\x20Submit','utm_source','isInitialized','offlineEvents','Logging\x20out\x20Time','Logging\x20out','group','data','ERROR:\x20','identity','Mergn\x20SDK\x20Initialization\x20Time','\x0aError\x20setting\x20up\x20the\x20request:\x20','\x0aResponse\x20Data:\x20','scroll','prototype','Initializing\x20Mergn\x20SDK','record\x20event','propertyIsEnumerable','Unknown','UTM_SOURCE','[id^=\x22u_content_button_\x22]','/set-identity','\x20has\x20invalid\x20eventProperties:\x20','form','Viewed\x20Webpage','Mergn\x20is\x20offline!','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','Mergn\x20not\x20initialized!','values','Firefox','2brWJEo','MergnError','Web\x20Session\x20Concluded','Recording\x20attribute','init','Platform','throw','filter','URL','pathname','1312GgCOuW','utm_campaign','3349800ttaacN','debugLevel','apiKey','apply','getItem','utm_medium','click','read\x20from\x20private\x20field','set','initialTime','utm_content','NONE','createElement','UTM_CONTENT','176892DWbZln','#\x20record\x20event','message','recordAttribute','ALL','parse','enumerable','uniqueIdentity','access\x20private\x20method','__esModule','setDebugLevel','Recording\x20event','log','body','Event\x20Payload:\x0a\x20','Internet\x20Explorer','OriginateFrom:\x20','login','join','updateAPIKey','page','/attribute','href','Mergn\x20SDK\x20is\x20disabled!','string','view','error','called\x202','campaignId','get','scrollHeight','Checking\x20TTL\x20Time','IMMEDIATELY','value','action','length','push','Edg','remove','#\x20recordAttribute','brand','querySelector','search','Mobile','popup_container_','groupEnd','SESSION_CREATED','removeItem','documentElement','toISOString','getTime','135FjYumW','getInstance','querySelectorAll','Popup','.u-popup-container','\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.','attributes','ERROR','stringify','Attribute\x20','utm_term','.u-popup-container\x20img','campaignEntryTimeValue','Close\x20Click','Recording\x20event\x20Time','addEventListener','Error\x20setting\x20identity','818148CQUlmc','indexOf','Web\x20Session\x20Started','Tracking\x20page\x20change','Event\x20','function','ttl','\x0aHTTP\x20Status:\x20','hostname','toLowerCase','test','UTM_TERM','resolve','close','5680161UCkmbJ'];_0x354a=function(){return _0x342041;};return _0x354a();}
1
+ 'use strict';const _0x53951a=_0x4420;(function(_0x7e47ce,_0x1667e2){const _0x3b5e65=_0x4420,_0x3f312e=_0x7e47ce();while(!![]){try{const _0x2a9277=-parseInt(_0x3b5e65(0x28c))/0x1*(-parseInt(_0x3b5e65(0x20d))/0x2)+-parseInt(_0x3b5e65(0x1fb))/0x3+parseInt(_0x3b5e65(0x23c))/0x4+-parseInt(_0x3b5e65(0x200))/0x5*(-parseInt(_0x3b5e65(0x27a))/0x6)+-parseInt(_0x3b5e65(0x283))/0x7*(-parseInt(_0x3b5e65(0x203))/0x8)+parseInt(_0x3b5e65(0x241))/0x9+-parseInt(_0x3b5e65(0x25e))/0xa;if(_0x2a9277===_0x1667e2)break;else _0x3f312e['push'](_0x3f312e['shift']());}catch(_0x26ebc0){_0x3f312e['push'](_0x3f312e['shift']());}}}(_0x11b6,0x403e3));var Y=Object['defineProperty'],vt=Object['defineProperties'],yt=Object[_0x53951a(0x2ac)],Tt=Object[_0x53951a(0x1e3)],ft=Object[_0x53951a(0x248)],Be=Object['getOwnPropertySymbols'],Je=Object['prototype'][_0x53951a(0x280)],ht=Object[_0x53951a(0x20c)][_0x53951a(0x1eb)],ke=(_0x555eb8,_0x5811f5,_0x33dbc3)=>_0x5811f5 in _0x555eb8?Y(_0x555eb8,_0x5811f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33dbc3}):_0x555eb8[_0x5811f5]=_0x33dbc3,M=(_0x35b087,_0x13f487)=>{const _0x56254f=_0x53951a;for(var _0x30242c in _0x13f487||(_0x13f487={}))Je[_0x56254f(0x267)](_0x13f487,_0x30242c)&&ke(_0x35b087,_0x30242c,_0x13f487[_0x30242c]);if(Be){for(var _0x30242c of Be(_0x13f487))ht[_0x56254f(0x267)](_0x13f487,_0x30242c)&&ke(_0x35b087,_0x30242c,_0x13f487[_0x30242c]);}return _0x35b087;},we=(_0xa709a9,_0x16a18b)=>vt(_0xa709a9,Tt(_0x16a18b)),Ot=(_0x373916,_0x4b6654)=>{for(var _0x1b1166 in _0x4b6654)Y(_0x373916,_0x1b1166,{'get':_0x4b6654[_0x1b1166],'enumerable':!0x0});},Rt=(_0x27256,_0x30d146,_0x828117,_0x590ff4)=>{const _0xcd6261=_0x53951a;if(_0x30d146&&typeof _0x30d146==_0xcd6261(0x210)||typeof _0x30d146==_0xcd6261(0x1ea)){for(let _0x7b34b3 of ft(_0x30d146))!Je[_0xcd6261(0x267)](_0x27256,_0x7b34b3)&&_0x7b34b3!==_0x828117&&Y(_0x27256,_0x7b34b3,{'get':()=>_0x30d146[_0x7b34b3],'enumerable':!(_0x590ff4=yt(_0x30d146,_0x7b34b3))||_0x590ff4[_0xcd6261(0x202)]});}return _0x27256;},wt=_0x32bf8c=>Rt(Y({},'__esModule',{'value':!0x0}),_0x32bf8c),Le=(_0x1e9209,_0x1e3513,_0x29cd67)=>{const _0x1f7f5b=_0x53951a;if(!_0x1e3513[_0x1f7f5b(0x260)](_0x1e9209))throw TypeError(_0x1f7f5b(0x294)+_0x29cd67);},I=(_0x93e755,_0x28f2e1,_0x1814e0)=>(Le(_0x93e755,_0x28f2e1,'read\x20from\x20private\x20field'),_0x1814e0?_0x1814e0['call'](_0x93e755):_0x28f2e1[_0x53951a(0x27b)](_0x93e755)),s=(_0x8fb667,_0x17f1e2,_0x48c9b4)=>{const _0x3e0c51=_0x53951a;if(_0x17f1e2[_0x3e0c51(0x260)](_0x8fb667))throw TypeError(_0x3e0c51(0x26c));_0x17f1e2 instanceof WeakSet?_0x17f1e2[_0x3e0c51(0x27c)](_0x8fb667):_0x17f1e2[_0x3e0c51(0x235)](_0x8fb667,_0x48c9b4);},O=(_0x110b39,_0x1df601,_0x37ca0b,_0x2b8901)=>(Le(_0x110b39,_0x1df601,_0x53951a(0x237)),_0x2b8901?_0x2b8901[_0x53951a(0x267)](_0x110b39,_0x37ca0b):_0x1df601[_0x53951a(0x235)](_0x110b39,_0x37ca0b),_0x37ca0b),n=(_0x124601,_0x3be2b8,_0x25e898)=>(Le(_0x124601,_0x3be2b8,_0x53951a(0x238)),_0x25e898),c=(_0x495820,_0x152609,_0x168935)=>new Promise((_0x3d3004,_0x23b9da)=>{const _0x566dad=_0x53951a;var _0x3761eb=_0x4a2b61=>{const _0x2d8d90=_0x4420;try{_0x1b2527(_0x168935[_0x2d8d90(0x1e4)](_0x4a2b61));}catch(_0xf873b9){_0x23b9da(_0xf873b9);}},_0x282c4d=_0x180c5a=>{const _0x3b408b=_0x4420;try{_0x1b2527(_0x168935[_0x3b408b(0x1e6)](_0x180c5a));}catch(_0x70899d){_0x23b9da(_0x70899d);}},_0x1b2527=_0x59c260=>_0x59c260[_0x566dad(0x270)]?_0x3d3004(_0x59c260[_0x566dad(0x1ef)]):Promise[_0x566dad(0x1e1)](_0x59c260[_0x566dad(0x1ef)])[_0x566dad(0x2b3)](_0x3761eb,_0x282c4d);_0x1b2527((_0x168935=_0x168935['apply'](_0x495820,_0x152609))[_0x566dad(0x1e4)]());}),Nt={};Ot(Nt,{'default':()=>bt}),module[_0x53951a(0x265)]=wt(Nt);var Ke=(_0x338ab7=>(_0x338ab7[_0x53951a(0x2b5)]=_0x53951a(0x269),_0x338ab7[_0x53951a(0x26e)]=_0x53951a(0x2b6),_0x338ab7['UTM_CAMPAIGN']=_0x53951a(0x2a7),_0x338ab7['UTM_TERM']='utm_term',_0x338ab7[_0x53951a(0x2ae)]=_0x53951a(0x21a),_0x338ab7))(Ke||{}),ze=new Set(Object['values'](Ke)),N='Popup\x20Action',be=_0x53951a(0x292),Ne='/attribute',We='/set-attribute',Ae=_0x53951a(0x22f),je=_0x53951a(0x24a),Ge=_0x53951a(0x266),He=_0x53951a(0x25d),A,y=class y{constructor(){}static[_0x53951a(0x2ad)](){return I(y,A)||O(y,A,new y()),I(y,A);}['updateAPIKey'](_0x4d0914){y['apiKey']=_0x4d0914;}[_0x53951a(0x27b)](_0x586163){return c(this,null,function*(){const _0x38e7d=_0x4420;return(yield fetch(be+_0x586163,{'headers':{'Authorization':y['apiKey'],'Content-Type':_0x38e7d(0x25a)}}))['json']();});}[_0x53951a(0x281)](_0x5c3482,_0xde2ba8){return c(this,null,function*(){const _0x4d3c71=_0x4420;return(yield fetch(be+_0x5c3482,{'body':JSON[_0x4d3c71(0x233)](_0xde2ba8||{}),'headers':{'Authorization':y[_0x4d3c71(0x222)],'Content-Type':_0x4d3c71(0x25a)},'method':'POST'}))[_0x4d3c71(0x23a)]();});}};A=new WeakMap(),s(y,A,void 0x0);var Pe=y,h=Pe[_0x53951a(0x2ad)](),g=class extends Error{constructor(_0x582a08){const _0x5468f4=_0x53951a;super(_0x582a08),this[_0x5468f4(0x2af)]='MergnError';}};g['disableSDK']=!0x1,g[_0x53951a(0x28f)]=!navigator[_0x53951a(0x230)],g[_0x53951a(0x275)]=0x0,g[_0x53951a(0x288)]=!0x1;var Lt=(_0x330909,_0x6e6e3)=>{const _0xf67e1a=_0x53951a;_0x6e6e3 instanceof g?p(0x2,_0xf67e1a(0x232)+_0x330909+'\x0aMergnError:\x20'+_0x6e6e3['message']):_0x6e6e3 instanceof Error?p(0x2,_0xf67e1a(0x232)+_0x330909+_0xf67e1a(0x24b)+_0x6e6e3[_0xf67e1a(0x234)]):p(0x2,_0xf67e1a(0x232)+_0x330909+_0xf67e1a(0x24b)+String(_0x6e6e3));},R=(_0x3ff2b8,_0x525e50,_0x4279be)=>c(void 0x0,null,function*(){const _0x329076=_0x53951a;try{if(g[_0x329076(0x245)])throw new g('Mergn\x20SDK\x20is\x20disabled!');if(_0x3ff2b8!==_0x329076(0x239)&&g['offline'])throw new g(_0x329076(0x251));if(_0x3ff2b8!=='init'&&!g[_0x329076(0x288)])throw new g(_0x329076(0x25f));return yield _0x525e50();}catch(_0xe23115){return _0x4279be?_0x4279be(_0xe23115):(g[_0x329076(0x275)]===0x2||g[_0x329076(0x275)]===0x3)&&Lt(_0x3ff2b8,_0xe23115),null;}}),Q=(_0x599115=>(_0x599115[_0x599115[_0x53951a(0x228)]=0x0]=_0x53951a(0x228),_0x599115[_0x599115[_0x53951a(0x262)]=0x1]=_0x53951a(0x262),_0x599115[_0x599115['ERROR']=0x2]='ERROR',_0x599115[_0x599115[_0x53951a(0x250)]=0x3]=_0x53951a(0x250),_0x599115))(Q||{}),p=(_0x3ca2f5,_0x2a1d77)=>{const _0x4c5e9e=_0x53951a;g['debugLevel']!==0x0&&g[_0x4c5e9e(0x275)]<=0x3&&(_0x3ca2f5===0x1?console['info']('INFO:\x20'+new Date()['toISOString'](),_0x2a1d77):_0x3ca2f5===0x2&&console[_0x4c5e9e(0x1f7)](_0x4c5e9e(0x249)+new Date()[_0x4c5e9e(0x209)](),_0x2a1d77));},d=(_0x521a0e,_0xb07389)=>{const _0x4b9da0=_0x53951a;g[_0x4b9da0(0x275)]!==0x0&&(_0xb07389?console[_0x4b9da0(0x1f4)](_0x521a0e):console[_0x4b9da0(0x1f1)](_0x521a0e));},m=(_0x192cfd,_0x3acf33)=>{const _0x3ecd0e=_0x53951a;g['debugLevel']!==0x0&&(_0x3acf33?console[_0x3ecd0e(0x216)](_0x192cfd):console[_0x3ecd0e(0x23d)]());},P,U,$,B,k,te,qe,L,V,v,T,ne,Ye,oe,Qe,J,Ce,K,_e,re,Xe,ie,Ze,ae,et,se,z,ce,le,tt,ge,nt,pe,ot,W,De,ue,rt,C,X,_,Z,Ee,it,j,xe,de,at,me,st,Se,ct,D,ee,Ie,lt,ve,gt,ye,pt,G,Fe,Te,ut,H,Me,fe,Et,he,dt,q,Ve,Oe,mt,Re,St,w=class w{constructor(){s(this,te),s(this,L),s(this,v),s(this,ne),s(this,oe),s(this,J),s(this,K),s(this,re),s(this,ie),s(this,ae),s(this,le),s(this,ge),s(this,pe),s(this,W),s(this,ue),s(this,C),s(this,_),s(this,Ee),s(this,j),s(this,de),s(this,me),s(this,Se),s(this,D),s(this,Ie),s(this,ve),s(this,ye),s(this,G),s(this,Te),s(this,H),s(this,fe),s(this,he),s(this,q),s(this,Oe),s(this,Re),s(this,U,void 0x0),s(this,$,void 0x0),s(this,B,void 0x0),s(this,k,null),s(this,se,()=>{const _0x3b879a=_0x4420;let _0x148397=()=>{const _0x1f70d0=_0x4420;let _0x40a2f0=JSON[_0x1f70d0(0x20a)](localStorage[_0x1f70d0(0x218)]('action')||'{}');Object['keys'](_0x40a2f0)['forEach'](_0x3d2d08=>{const _0x48b241=_0x1f70d0;_0x40a2f0[_0x3d2d08]['initialTime']=new Date()['getTime'](),_0x40a2f0[_0x3d2d08][_0x48b241(0x268)]=window['location'][_0x48b241(0x20e)]+window[_0x48b241(0x1f3)][_0x48b241(0x290)];}),localStorage[_0x1f70d0(0x20b)](_0x1f70d0(0x295),JSON[_0x1f70d0(0x233)](_0x40a2f0));};_0x148397(),window[_0x3b879a(0x212)]('beforeunload',_0x148397);}),s(this,z,_0x74f826=>{const _0xcdb8bc=_0x4420;let _0x3532b2=JSON[_0xcdb8bc(0x20a)](localStorage['getItem']('action')||'{}');_0x3532b2[_0x74f826]&&delete _0x3532b2[_0x74f826],localStorage['setItem'](_0xcdb8bc(0x295),JSON[_0xcdb8bc(0x233)](_0x3532b2));}),s(this,ce,()=>{const _0x1438d0=_0x4420;let _0x54f2ab=JSON[_0x1438d0(0x20a)](localStorage['getItem'](_0x1438d0(0x295))||'{}');Object[_0x1438d0(0x224)](_0x54f2ab)[_0x1438d0(0x26f)](_0x505baf=>{const _0x5a2181=_0x1438d0;_0x54f2ab[_0x505baf][_0x5a2181(0x234)]['name']===_0x5a2181(0x236)&&n(this,j,xe)[_0x5a2181(0x267)](this,_0x54f2ab[_0x505baf][_0x5a2181(0x225)]);});});}static[_0x53951a(0x2ad)](){return I(w,P)||O(w,P,new w()),I(w,P);}[_0x53951a(0x2b9)](_0x514177){const _0x5a657f=_0x53951a;R(_0x5a657f(0x2b9),()=>c(this,null,function*(){const _0x37d292=_0x5a657f;p(0x1,_0x37d292(0x207)),m('Initializing\x20Mergn\x20SDK',!0x0),d(_0x37d292(0x2aa),!0x0),n(this,re,Xe)[_0x37d292(0x267)](this,_0x514177),yield n(this,J,Ce)[_0x37d292(0x267)](this),g[_0x37d292(0x288)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x154e72=_0x37d292;yield n(this,J,Ce)[_0x154e72(0x267)](this);}),0x493e0),yield n(this,L,V)[_0x37d292(0x267)](this),window[_0x37d292(0x212)](_0x37d292(0x217),()=>c(this,null,function*(){const _0x552b86=_0x37d292;g[_0x552b86(0x28f)]=!0x1;let _0x2e9c5d=JSON[_0x552b86(0x20a)](localStorage[_0x552b86(0x218)](_0x552b86(0x24f))||'[]');Array['isArray'](_0x2e9c5d)&&(yield n(this,H,Me)[_0x552b86(0x267)](this,{'customerId':localStorage[_0x552b86(0x218)]('customer')||'','events':_0x2e9c5d}),localStorage[_0x552b86(0x299)]('offlineEvents')),n(this,L,V)['call'](this),n(this,_,Z)[_0x552b86(0x267)](this);})),window[_0x37d292(0x212)](_0x37d292(0x28f),()=>{const _0x2b60b1=_0x37d292;g[_0x2b60b1(0x28f)]=!0x0;}),window[_0x37d292(0x212)]('load',()=>{const _0x3c3590=_0x37d292;I(this,ce)[_0x3c3590(0x267)](this);});let _0x3b1899=history[_0x37d292(0x1f8)];history[_0x37d292(0x1f8)]=(..._0x219a05)=>{const _0x484d22=_0x37d292;_0x3b1899[_0x484d22(0x26a)](history,_0x219a05),n(this,K,_e)[_0x484d22(0x267)](this);},n(this,K,_e)['call'](this),d(_0x37d292(0x2aa),!0x1),m('Initializing\x20Mergn\x20SDK',!0x1);}));}[_0x53951a(0x22d)](_0x410a5d){const _0x20032a=_0x53951a;if(!(_0x410a5d in Q)){console[_0x20032a(0x1f7)](_0x20032a(0x1f9));return;}g['debugLevel']=_0x410a5d;}[_0x53951a(0x229)](_0x356a3e,_0x497fcc){const _0x8987c3=_0x53951a;R(_0x8987c3(0x229),()=>c(this,null,function*(){const _0x51ea4e=_0x8987c3;yield n(this,te,qe)[_0x51ea4e(0x267)](this,_0x356a3e,_0x497fcc,void 0x0);}));}[_0x53951a(0x2a1)](_0x49613b){const _0x36b238=_0x53951a;R(_0x36b238(0x2a1),()=>c(this,null,function*(){const _0x500e29=_0x36b238;p(0x1,_0x500e29(0x204)),m(_0x500e29(0x204),!0x0),d(_0x500e29(0x296),!0x0),p(0x1,_0x500e29(0x2b8)+_0x49613b),yield n(this,C,X)[_0x500e29(0x267)](this,_0x49613b),d('Logging\x20in\x20Time',!0x1),m('Logging\x20in',!0x1);}));}['logout'](){const _0x1c95bc=_0x53951a;R(_0x1c95bc(0x21b),()=>c(this,null,function*(){const _0x2bbdef=_0x1c95bc;p(0x1,_0x2bbdef(0x1ec)),m(_0x2bbdef(0x1ec),!0x0),d('Logging\x20out\x20Time',!0x0),n(this,q,Ve)[_0x2bbdef(0x267)](this),d('Logging\x20out\x20Time',!0x1),m(_0x2bbdef(0x1ec),!0x1);}));}[_0x53951a(0x21c)](_0x51a762,_0x3618ea){setTimeout(()=>{const _0x973ae5=_0x4420;R(_0x973ae5(0x239),()=>c(this,null,function*(){const _0x1b1eb6=_0x973ae5;p(0x1,_0x1b1eb6(0x291)),m(_0x1b1eb6(0x291),!0x0),d('Recording\x20event\x20Time',!0x0),p(0x1,_0x1b1eb6(0x2b4)+{'eventName':_0x51a762,'eventProperties':_0x3618ea}),n(this,v,T)[_0x1b1eb6(0x267)](this,_0x51a762,_0x3618ea),d(_0x1b1eb6(0x263),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),te=new WeakSet(),qe=function(_0x28366f,_0x70e8b1,_0x12a67c){return c(this,null,function*(){const _0x37a52b=_0x4420;yield R(_0x37a52b(0x284),()=>c(this,null,function*(){const _0xc101c9=_0x37a52b;p(0x1,'Recording\x20attribute'),m(_0xc101c9(0x231),!0x0),d(_0xc101c9(0x2b1),!0x0),p(0x1,_0xc101c9(0x215)+{'attributeName':_0x28366f,'attributeProperties':_0x12a67c,'attributeValue':_0x70e8b1}+')}'),yield n(this,L,V)[_0xc101c9(0x267)](this),yield n(this,Oe,mt)['call'](this);let _0x3e731e=JSON[_0xc101c9(0x20a)](localStorage[_0xc101c9(0x218)](_0xc101c9(0x277))||'{}'),_0x258dd8=_0x12a67c?n(this,G,Fe)[_0xc101c9(0x267)](this,_0x3e731e,_0x28366f,_0x12a67c):n(this,G,Fe)['call'](this,_0x3e731e,_0x28366f);if(typeof _0x258dd8=='string'){p(0x2,_0x258dd8);return;}n(this,_,Z)[_0xc101c9(0x267)](this);let {id:_0x35d737}=_0x3e731e[_0x28366f],_0x338f88={'attributeId':_0x35d737,'attributeProperties':_0x258dd8,'customerId':localStorage[_0xc101c9(0x218)](_0xc101c9(0x26b))||'','value':_0x70e8b1};yield n(this,Re,St)[_0xc101c9(0x267)](this,_0x338f88),d(_0xc101c9(0x2b1),!0x1),m(_0xc101c9(0x231),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x3c0a6a=_0x4420;p(0x1,_0x3c0a6a(0x1f6)),m(_0x3c0a6a(0x1f6),!0x0),d(_0x3c0a6a(0x22c),!0x0);let _0x2b34c3=localStorage['getItem'](_0x3c0a6a(0x272)),_0x2a4015=!0x1;if(_0x2b34c3){if(_0x2a4015=new Date()[_0x3c0a6a(0x24e)]()-parseInt(_0x2b34c3,0xa)>0x124f80,_0x2a4015){let _0x2d736f=localStorage['getItem'](_0x3c0a6a(0x223)),_0x185c0b=localStorage[_0x3c0a6a(0x218)](_0x3c0a6a(0x272));_0x2d736f&&_0x185c0b&&n(this,v,T)[_0x3c0a6a(0x267)](this,_0x3c0a6a(0x23b),[{'eventProperty':_0x3c0a6a(0x24d),'value':localStorage['getItem'](_0x3c0a6a(0x223))},{'eventProperty':_0x3c0a6a(0x258),'value':new Date(parseInt(_0x185c0b,0xa))[_0x3c0a6a(0x209)]()}]),n(this,q,Ve)[_0x3c0a6a(0x267)](this),localStorage[_0x3c0a6a(0x20b)](_0x3c0a6a(0x272),''+new Date()[_0x3c0a6a(0x24e)]());}}else localStorage['setItem'](_0x3c0a6a(0x272),''+new Date()[_0x3c0a6a(0x24e)]());(!_0x2b34c3||_0x2a4015||n(this,ie,Ze)['call'](this))&&(n(this,le,tt)['call'](this),yield n(this,C,X)[_0x3c0a6a(0x267)](this),yield n(this,ae,et)[_0x3c0a6a(0x267)](this)),d(_0x3c0a6a(0x22c),!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),T=function(_0x2e1cd3,_0xfc2745,_0x32da0,_0x10aa37,_0x222b75){return c(this,null,function*(){const _0x3266e7=_0x4420;yield R(_0x3266e7(0x1e2),()=>c(this,null,function*(){const _0x6600ea=_0x3266e7;var _0x1329ca;p(0x1,_0x6600ea(0x29b)),m(_0x6600ea(0x291),!0x0),d(_0x6600ea(0x263),!0x0),p(0x1,'Event\x20Payload'),p(0x1,{'campaignCustomerInstanceId':_0x10aa37,'eventName':_0x2e1cd3,'eventProperties':_0xfc2745,'name':_0x222b75}),_0x2e1cd3!==_0x6600ea(0x23b)&&(yield n(this,L,V)[_0x6600ea(0x267)](this));let _0x1b0d5d=[];_0xfc2745&&_0x1b0d5d[_0x6600ea(0x220)](..._0xfc2745),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x28a),'value':I(this,U)}),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x23e),'value':I(this,B)}),_0x1b0d5d[_0x6600ea(0x220)]({'eventProperty':_0x6600ea(0x21f),'value':I(this,$)});let _0xd90f97=n(this,ve,gt)[_0x6600ea(0x267)](this),_0x23dc7a=n(this,ye,pt)[_0x6600ea(0x267)](this,_0xd90f97,_0x2e1cd3,_0x1b0d5d);if(typeof _0x23dc7a==_0x6600ea(0x1e8)){p(0x2,_0x23dc7a);return;}n(this,_,Z)[_0x6600ea(0x267)](this);let {id:_0x546bb8}=_0xd90f97[_0x2e1cd3],_0x26388f=n(this,Te,ut)[_0x6600ea(0x267)](this,M(we(M(M({},_0x10aa37?{'campaignCustomerInstanceId':_0x10aa37}:{}),_0x32da0?{'campaignId':_0x32da0}:{}),{'eventId':_0x546bb8,'eventProperties':_0x23dc7a,'sessionId':localStorage['getItem'](_0x6600ea(0x223))||''}),_0x222b75?{'name':_0x222b75}:{}));if(g[_0x6600ea(0x28f)]){let _0x431461=JSON[_0x6600ea(0x20a)](localStorage['getItem'](_0x6600ea(0x24f))||'[]');_0x431461[_0x6600ea(0x271)]<=0x32&&(_0x431461['push'](..._0x26388f[_0x6600ea(0x2a5)]),localStorage['setItem'](_0x6600ea(0x24f),JSON[_0x6600ea(0x233)](_0x431461)));return;}let _0x169ac9=yield n(this,H,Me)['call'](this,_0x26388f);(_0x1329ca=_0x169ac9==null?void 0x0:_0x169ac9['data'])==null||_0x1329ca[_0x6600ea(0x26f)](_0x23598f=>{const _0x8060a=_0x6600ea;n(this,fe,Et)[_0x8060a(0x267)](this,_0x23598f['message'][_0x8060a(0x2af)])&&(n(this,he,dt)[_0x8060a(0x267)](this,_0x23598f),I(this,se)[_0x8060a(0x267)](this),n(this,j,xe)[_0x8060a(0x267)](this,_0x23598f[_0x8060a(0x225)]));}),d(_0x6600ea(0x263),!0x1),m(_0x6600ea(0x291),!0x1);}));});},ne=new WeakSet(),Ye=function(){const _0xd4c41d=_0x53951a;let _0x30b35f=navigator['userAgent'][_0xd4c41d(0x278)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0xd4c41d(0x2a3)](_0x30b35f)?'Mobile':/windows|macintosh|linux|x11/i[_0xd4c41d(0x2a3)](_0x30b35f)?'Web':'Unknown';},oe=new WeakSet(),Qe=function(){const _0x12d566=_0x53951a;let _0x5e9380=navigator['userAgent'],_0xdd1303;return _0x5e9380[_0x12d566(0x22e)](_0x12d566(0x255))>-0x1?_0xdd1303=_0x12d566(0x1e5):_0x5e9380['indexOf'](_0x12d566(0x276))>-0x1?_0xdd1303=_0x12d566(0x276):_0x5e9380[_0x12d566(0x22e)](_0x12d566(0x2a6))>-0x1?_0xdd1303=_0x12d566(0x1fe):_0x5e9380[_0x12d566(0x22e)]('Edg')>-0x1?_0xdd1303=_0x12d566(0x2b2):_0x5e9380[_0x12d566(0x22e)]('MSIE')>-0x1?_0xdd1303=_0x12d566(0x2a0):_0xdd1303=_0x12d566(0x1ff),_0xdd1303;},J=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0xeed550=_0x4420;try{yield h['get'](_0xeed550(0x247));}catch(_0x5186b2){throw g[_0xeed550(0x245)]=!0x0,_0x5186b2[_0xeed550(0x234)];}});},K=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x45c461=_0x4420;var _0x1dd1c2;p(0x1,_0x45c461(0x206)),m('Tracking\x20page\x20change',!0x0),d(_0x45c461(0x205),!0x0);let _0x46b6c7=(_0x1dd1c2=window==null?void 0x0:window[_0x45c461(0x1f3)])==null?void 0x0:_0x1dd1c2['href'];if(_0x46b6c7!==I(this,k)){O(this,k,_0x46b6c7);let _0x4a24b4=[];new URLSearchParams(new URL(window[_0x45c461(0x1f3)][_0x45c461(0x208)])[_0x45c461(0x2a9)])[_0x45c461(0x26f)]((_0x30f0f3,_0x52331b)=>c(this,null,function*(){const _0x1beee3=_0x45c461;ze[_0x1beee3(0x260)](_0x52331b)&&_0x4a24b4[_0x1beee3(0x220)]({'eventProperty':_0x52331b,'value':_0x30f0f3});})),yield n(this,v,T)[_0x45c461(0x267)](this,_0x45c461(0x226),[{'eventProperty':_0x45c461(0x253),'value':window['location'][_0x45c461(0x290)]},..._0x4a24b4]);}d(_0x45c461(0x205),!0x1),m('Tracking\x20page\x20change',!0x1);});},re=new WeakSet(),Xe=function(_0xbfa54){const _0x535164=_0x53951a;h[_0x535164(0x2a8)](_0xbfa54),O(this,U,navigator[_0x535164(0x264)]),O(this,$,n(this,oe,Qe)['call'](this)),O(this,B,n(this,ne,Ye)[_0x535164(0x267)](this));},ie=new WeakSet(),Ze=function(){const _0xdd0c8b=_0x53951a;return!localStorage[_0xdd0c8b(0x218)]('events')||!localStorage[_0xdd0c8b(0x218)](_0xdd0c8b(0x26b))||!localStorage[_0xdd0c8b(0x218)]('attributes')||!localStorage[_0xdd0c8b(0x218)](_0xdd0c8b(0x1fc))||!localStorage[_0xdd0c8b(0x218)]('session')||!localStorage['getItem']('customer');},ae=new WeakSet(),et=function(){return c(this,null,function*(){const _0x196f9f=_0x4420;yield n(this,ge,nt)[_0x196f9f(0x267)](this),yield n(this,W,De)[_0x196f9f(0x267)](this),yield n(this,C,X)[_0x196f9f(0x267)](this);});},se=new WeakMap(),z=new WeakMap(),ce=new WeakMap(),le=new WeakSet(),tt=function(){const _0x2c4fc8=_0x53951a;let _0x30b47e=localStorage[_0x2c4fc8(0x218)](_0x2c4fc8(0x1fc));return _0x30b47e||(_0x30b47e=crypto[_0x2c4fc8(0x2a2)](),localStorage['setItem']('uniqueIdentity',_0x30b47e)),_0x30b47e;},ge=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x488edb=_0x4420;if(!localStorage[_0x488edb(0x218)](_0x488edb(0x2a5))){let _0x3b307e=(yield n(this,pe,ot)[_0x488edb(0x267)](this))[_0x488edb(0x243)];_0x3b307e&&localStorage[_0x488edb(0x20b)](_0x488edb(0x2a5),JSON[_0x488edb(0x233)](_0x3b307e));}});},pe=new WeakSet(),ot=function(){return c(this,null,function*(){const _0x1f940a=_0x4420;try{return yield h['get'](''+Ae);}catch(_0x45d117){throw new Error(_0x1f940a(0x1fd));}});},W=new WeakSet(),De=function(){return c(this,null,function*(){const _0x4f5cd1=_0x4420;if(!localStorage[_0x4f5cd1(0x218)](_0x4f5cd1(0x277))){let _0x3f2e2e=(yield n(this,ue,rt)[_0x4f5cd1(0x267)](this))[_0x4f5cd1(0x243)];_0x3f2e2e&&localStorage[_0x4f5cd1(0x20b)](_0x4f5cd1(0x277),JSON['stringify'](_0x3f2e2e));}});},ue=new WeakSet(),rt=function(){return c(this,null,function*(){const _0xb11979=_0x4420;try{return yield h[_0xb11979(0x27b)](''+Ne);}catch(_0x2d3131){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),X=function(_0x1be048){return c(this,null,function*(){const _0x12505c=_0x4420;localStorage[_0x12505c(0x218)](_0x12505c(0x223))||(localStorage['setItem']('session',crypto[_0x12505c(0x2a2)]()),yield n(this,v,T)[_0x12505c(0x267)](this,'Web\x20Session\x20Started',[{'eventProperty':_0x12505c(0x24d),'value':localStorage['getItem']('session')},{'eventProperty':_0x12505c(0x258),'value':new Date(parseInt(localStorage[_0x12505c(0x218)](_0x12505c(0x272))||'',0xa))['toISOString']()}]));let _0x52ac26={'deviceId':localStorage[_0x12505c(0x218)](_0x12505c(0x1fc))||crypto[_0x12505c(0x2a2)](),'os':I(this,U)};if(_0x1be048)_0x52ac26[_0x12505c(0x21e)]=_0x1be048;else{if(!_0x1be048&&localStorage[_0x12505c(0x218)](_0x12505c(0x26b)))return;}try{let _0x58e1df=yield n(this,Ee,it)['call'](this,_0x52ac26);_0x58e1df!==void 0x0&&localStorage['setItem'](_0x12505c(0x26b),_0x58e1df);}catch(_0x4122e2){throw new Error(_0x12505c(0x256));}});},_=new WeakSet(),Z=function(){const _0x3de7ba=_0x53951a;localStorage[_0x3de7ba(0x20b)](_0x3de7ba(0x272),''+new Date()['getTime']());},Ee=new WeakSet(),it=function(_0x566e4e){return c(this,null,function*(){const _0x2c0b09=_0x4420;try{return(yield h['post'](''+Ge+He,_0x566e4e))[_0x2c0b09(0x243)];}catch(_0x260d4e){throw new Error(_0x2c0b09(0x213));}});},j=new WeakSet(),xe=function(_0x18b974){const _0x54baf8=_0x53951a;let _0x4660dc=n(this,de,at)['call'](this);if(_0x4660dc!=null&&_0x4660dc[_0x18b974])switch(_0x4660dc[_0x18b974][_0x54baf8(0x1e9)]){case _0x54baf8(0x2ab):{n(this,Se,ct)['call'](this,_0x4660dc[_0x18b974]);break;}case _0x54baf8(0x27f):{n(this,D,ee)[_0x54baf8(0x267)](this,_0x4660dc[_0x18b974]);break;}case _0x54baf8(0x25c):{n(this,me,st)[_0x54baf8(0x267)](this,_0x4660dc[_0x18b974]);break;}default:return;}},de=new WeakSet(),at=function(){let _0x25e51f=localStorage['getItem']('action');return _0x25e51f?JSON['parse'](_0x25e51f):null;},me=new WeakSet(),st=function(_0x29fda1){const _0x489a32=_0x53951a;let _0x44762d=()=>{const _0x3b3288=_0x4420;var _0x1deecd,_0x9c9d00;let _0x5c81bf=window['innerHeight'],_0x2e49e4=document[_0x3b3288(0x2b7)]['scrollHeight'],_0x5172e8=window[_0x3b3288(0x1f0)]/(_0x2e49e4-_0x5c81bf)*0x64;console[_0x3b3288(0x246)]('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x5172e8),console[_0x3b3288(0x246)](_0x3b3288(0x29a),(_0x1deecd=_0x29fda1[_0x3b3288(0x28d)])==null?void 0x0:_0x1deecd['value']),_0x5172e8>(((_0x9c9d00=_0x29fda1[_0x3b3288(0x28d)])==null?void 0x0:_0x9c9d00[_0x3b3288(0x1ef)])||0x0)&&(window[_0x3b3288(0x242)](_0x3b3288(0x201),_0x44762d),console[_0x3b3288(0x246)](_0x3b3288(0x221)),n(this,D,ee)[_0x3b3288(0x267)](this,_0x29fda1));};window['addEventListener'](_0x489a32(0x201),_0x44762d);},Se=new WeakSet(),ct=function(_0x20dd36){const _0xaec035=_0x53951a;var _0x351c9c;let _0x3ec578=_0x20dd36[_0xaec035(0x244)]-0x1f4+(((_0x351c9c=_0x20dd36[_0xaec035(0x28d)])==null?void 0x0:_0x351c9c[_0xaec035(0x1ef)])||0x0)*0x3e8-new Date()['getTime']();_0x3ec578>0x0&&_0x20dd36[_0xaec035(0x268)]===window[_0xaec035(0x1f3)][_0xaec035(0x20e)]+window[_0xaec035(0x1f3)][_0xaec035(0x290)]&&setTimeout(()=>{const _0x1f03b1=_0xaec035;I(this,z)[_0x1f03b1(0x267)](this,_0x20dd36[_0x1f03b1(0x225)]),n(this,D,ee)[_0x1f03b1(0x267)](this,_0x20dd36);},_0x3ec578);},D=new WeakSet(),ee=function(_0x2468ce){const _0x500798=_0x53951a;let _0x47abd4=n(this,Ie,lt)['call'](this,_0x500798(0x2a4),_0x2468ce);document[_0x500798(0x214)][_0x500798(0x27e)](_0x47abd4),n(this,v,T)[_0x500798(0x267)](this,N,[{'eventProperty':_0x500798(0x261),'value':JSON[_0x500798(0x233)]({'campaignId':_0x2468ce[_0x500798(0x225)]})}],_0x2468ce['campaignId'],_0x2468ce[_0x500798(0x1ee)],'view'),I(this,z)[_0x500798(0x267)](this,_0x2468ce[_0x500798(0x225)]);},Ie=new WeakSet(),lt=function(_0x44cfee,_0x212fe8){const _0x47f017=_0x53951a;var _0x267808;let {campaignCustomerInstanceId:_0x133d8c,campaignId:_0x4e1738,message:{design:_0x3a7b1a}}=_0x212fe8,_0x355269=document[_0x47f017(0x273)](_0x44cfee);_0x355269['id']=_0x47f017(0x252)+_0x4e1738,_0x355269['innerHTML']=_0x3a7b1a,_0x355269['style']['position']=_0x47f017(0x2b0),_0x355269['style']['top']='0',_0x355269[_0x47f017(0x27d)][_0x47f017(0x1f5)]='0',_0x355269[_0x47f017(0x27d)][_0x47f017(0x24c)]=_0x47f017(0x29f),_0x355269['style'][_0x47f017(0x211)]=_0x47f017(0x29f),_0x355269[_0x47f017(0x27d)][_0x47f017(0x227)]=_0x47f017(0x259);let _0xa52f6d=_0x355269['querySelector'](_0x47f017(0x29e));return _0xa52f6d&&(_0xa52f6d['style']['zIndex']='50'),_0x355269[_0x47f017(0x1ed)]('[id^=\x22u_content_form_\x22]')['forEach'](_0xf04996=>{const _0x1ebf2b=_0x47f017;let _0x2fcbc=_0xf04996[_0x1ebf2b(0x22a)](_0x1ebf2b(0x289));_0x2fcbc&&_0x2fcbc['addEventListener'](_0x1ebf2b(0x279),()=>c(this,null,function*(){const _0x12ed6b=_0x1ebf2b;_0x355269[_0x12ed6b(0x282)]();let _0x483c45=new FormData(_0x2fcbc),_0x3df82d={};for(let [_0x43ba6e,_0x51aa5f]of _0x483c45[_0x12ed6b(0x297)]())_0x3df82d[_0x43ba6e]=_0x51aa5f;yield n(this,v,T)[_0x12ed6b(0x267)](this,N,[{'eventProperty':_0x12ed6b(0x28e),'value':JSON[_0x12ed6b(0x233)]({'campaignId':_0x4e1738,'formId':_0xf04996['id'],'formValues':_0x3df82d})}],_0x4e1738,_0x133d8c,_0x12ed6b(0x289));}));}),(_0x267808=_0x355269[_0x47f017(0x22a)](_0x47f017(0x26d)))==null||_0x267808[_0x47f017(0x212)]('click',()=>c(this,null,function*(){const _0x483544=_0x47f017;_0x355269[_0x483544(0x282)](),yield n(this,v,T)['call'](this,N,[{'eventProperty':'Close\x20Click','value':JSON[_0x483544(0x233)]({'campaignId':_0x4e1738})}],_0x4e1738,_0x133d8c,_0x483544(0x28b));})),_0x355269['querySelectorAll']('[id^=\x22u_content_button_\x22]')[_0x47f017(0x26f)](_0x1f6760=>{const _0x12e084=_0x47f017;_0x1f6760['addEventListener'](_0x12e084(0x257),()=>c(this,null,function*(){const _0x38f671=_0x12e084;_0x355269[_0x38f671(0x282)](),yield n(this,v,T)[_0x38f671(0x267)](this,N,[{'eventProperty':_0x38f671(0x1f2),'value':JSON[_0x38f671(0x233)]({'buttonId':_0x1f6760['id'],'campaignId':_0x4e1738})}],_0x4e1738,_0x133d8c,_0x38f671(0x257));}));}),_0x355269[_0x47f017(0x1ed)](_0x47f017(0x20f))[_0x47f017(0x26f)](_0x39cdc4=>{_0x39cdc4['addEventListener']('click',()=>c(this,null,function*(){const _0x510357=_0x4420;yield n(this,v,T)['call'](this,N,[{'eventProperty':_0x510357(0x25b),'value':JSON['stringify']({'campaignId':_0x4e1738,'imageClassName':_0x39cdc4[_0x510357(0x21d)],'imageId':_0x39cdc4['id']})}],_0x4e1738,_0x133d8c,_0x510357(0x257));}));}),_0x355269;},ve=new WeakSet(),gt=function(){const _0x429637=_0x53951a;let _0x3adb7f=localStorage['getItem']('events');return _0x3adb7f?JSON[_0x429637(0x20a)](_0x3adb7f):{};},ye=new WeakSet(),pt=function(_0xe25968,_0x10c223,_0xca6403){const _0x4d17b5=_0x53951a;if(!Object['prototype'][_0x4d17b5(0x280)]['call'](_0xe25968,_0x10c223))return _0x4d17b5(0x29d)+_0x10c223+_0x4d17b5(0x240);if(!_0xca6403)return[];let _0x1cc5fb=_0xe25968[_0x10c223];if(!(_0x1cc5fb!=null&&_0x1cc5fb[_0x4d17b5(0x1fa)]))return _0x4d17b5(0x29d)+_0x10c223+_0x4d17b5(0x287);let _0x284b8b=_0xca6403[_0x4d17b5(0x219)](({eventProperty:_0x1d0b48})=>!Object[_0x4d17b5(0x20c)][_0x4d17b5(0x280)][_0x4d17b5(0x267)](_0x1cc5fb[_0x4d17b5(0x1fa)],_0x1d0b48))[_0x4d17b5(0x23f)](({eventProperty:_0x14ec8c})=>_0x14ec8c);return _0x284b8b[_0x4d17b5(0x271)]>0x0?'Event\x20'+_0x10c223+_0x4d17b5(0x298)+_0x284b8b[_0x4d17b5(0x29c)](',\x20')+'.':_0xca6403[_0x4d17b5(0x23f)](({eventProperty:_0x3bdc61,value:_0x1a796c})=>({'eventPropertyId':_0x1cc5fb[_0x4d17b5(0x1fa)][_0x3bdc61]['id'],'value':_0x1a796c}));},G=new WeakSet(),Fe=function(_0x53cf0a,_0x3600ef,_0x16cd5f){const _0x389269=_0x53951a;if(!Object[_0x389269(0x20c)][_0x389269(0x280)][_0x389269(0x267)](_0x53cf0a,_0x3600ef))return _0x389269(0x274)+_0x3600ef+_0x389269(0x240);if(!_0x16cd5f)return[];let _0x15d327=_0x53cf0a[_0x3600ef];if(!(_0x15d327!=null&&_0x15d327[_0x389269(0x285)]))return'Attribute\x20'+_0x3600ef+'\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.';let _0x4a36c8=_0x16cd5f[_0x389269(0x219)](({attributeProperty:_0x3c20ba})=>!Object['prototype'][_0x389269(0x280)][_0x389269(0x267)](_0x15d327['attributeProperty'],_0x3c20ba))[_0x389269(0x23f)](({attributeProperty:_0x27e3ab})=>_0x27e3ab);return _0x4a36c8['length']>0x0?'Attribute\x20'+_0x3600ef+_0x389269(0x293)+_0x4a36c8[_0x389269(0x29c)](',\x20')+'.':_0x16cd5f[_0x389269(0x23f)](({attributeProperty:_0x2a524b,value:_0x19fa21})=>({'attributePropertyId':_0x15d327[_0x389269(0x285)][_0x2a524b]['id'],'value':_0x19fa21}));},Te=new WeakSet(),ut=function(_0x566090){const _0xbf3b6b=_0x53951a;return{'customerId':localStorage[_0xbf3b6b(0x218)]('customer')||'','events':[_0x566090]};},H=new WeakSet(),Me=function(_0x264f86){return c(this,null,function*(){const _0x27e205=_0x4420;try{return yield h[_0x27e205(0x281)](''+Ae+je,_0x264f86);}catch(_0xfec6ab){throw new Error(_0x27e205(0x254));}});},fe=new WeakSet(),Et=function(_0x46ab8a){const _0x1beffb=_0x53951a;return _0x46ab8a===_0x1beffb(0x236);},he=new WeakSet(),dt=function(_0xf73f76){const _0x566b48=_0x53951a;let _0x4e2b01=JSON[_0x566b48(0x20a)](localStorage['getItem']('action')||'{}');_0x4e2b01[_0xf73f76['campaignId']]=we(M({},_0xf73f76),{'initialTime':new Date()[_0x566b48(0x24e)](),'page':window[_0x566b48(0x1f3)][_0x566b48(0x20e)]+window['location'][_0x566b48(0x290)]}),localStorage[_0x566b48(0x20b)](_0x566b48(0x295),JSON[_0x566b48(0x233)](_0x4e2b01));},q=new WeakSet(),Ve=function(){const _0x1029a2=_0x53951a;localStorage['removeItem'](_0x1029a2(0x295)),localStorage['removeItem'](_0x1029a2(0x2a5)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x277)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x24f)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x272)),localStorage[_0x1029a2(0x299)](_0x1029a2(0x223));},Oe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x282ada=_0x4420;localStorage[_0x282ada(0x218)](_0x282ada(0x277))||(yield n(this,W,De)['call'](this));});},Re=new WeakSet(),St=function(_0x448700){return c(this,null,function*(){const _0x14bc49=_0x4420;try{return yield h[_0x14bc49(0x281)](''+Ne+We,_0x448700);}catch(_0x5d707d){throw new Error(_0x14bc49(0x22b));}});},s(w,P,void 0x0);var Ue=w,$e=Ue[_0x53951a(0x2ad)]();function _0x11b6(){const _0x17050b=['\x20has\x20invalid\x20eventProperties:\x20','removeItem','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','#\x20Recording\x20event','join','Event\x20','.u-popup-container','100%','Internet\x20Explorer','login','randomUUID','test','div','events','Firefox','utm_campaign','updateAPIKey','search','Mergn\x20SDK\x20Initialization\x20Time','DELAY','getOwnPropertyDescriptor','getInstance','UTM_CONTENT','name','fixed','Recording\x20attribute\x20Time','Microsoft\x20Edge','then','Event\x20Payload:\x0a\x20','UTM_SOURCE','utm_medium','documentElement','Identity:\x20','init','resolve','#\x20record\x20event','getOwnPropertyDescriptors','next','Google\x20Chrome','throw','mergn','string','campaignEntryTime','function','propertyIsEnumerable','Logging\x20out','querySelectorAll','campaignCustomerInstanceId','value','scrollY','timeEnd','Button\x20Click','location','time','left','Checking\x20TTL','error','pushState','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','eventProperty','697470sGMKzi','uniqueIdentity','Error\x20fetching\x20event\x20data','Mozilla\x20Firefox','Unknown','335hNpyOy','scroll','enumerable','32cJOIMz','Logging\x20in','Tracking\x20page\x20change\x20Time','Tracking\x20page\x20change','Initializing\x20Mergn\x20SDK','href','toISOString','parse','setItem','prototype','244694aDcpni','hostname','.u-popup-container\x20img','object','height','addEventListener','Error\x20posting\x20identity\x20data','body','Attribute\x20Payload:\x0a\x20','group','online','getItem','filter','utm_content','logout','recordEvent','className','identity','os-version','push','called\x202','apiKey','session','keys','campaignId','Viewed\x20Webpage','zIndex','NONE','recordAttribute','querySelector','Error\x20posting\x20attribute\x20record','Checking\x20TTL\x20Time','setDebugLevel','indexOf','/event','onLine','Recording\x20attribute','OriginateFrom:\x20','stringify','message','set','Popup','write\x20to\x20private\x20field','access\x20private\x20method','record\x20event','json','Web\x20Session\x20Concluded','215416iheLkj','groupEnd','operating-system','map','\x20is\x20not\x20valid.','4372695YrVKRL','removeEventListener','data','initialTime','disableSDK','log','/brand','getOwnPropertyNames','ERROR:\x20','/record-event','\x0aUnexpected\x20error:\x20','width','SESSION_ID','getTime','offlineEvents','ALL','Mergn\x20is\x20offline!','popup_container_','URL','Error\x20posting\x20event\x20record','Chrome','Error\x20setting\x20identity','click','SESSION_CREATED','99999999','application/json','Image\x20Click','SCROLL','/set-identity','9683970YTZnAI','Mergn\x20not\x20initialized!','has','Popup\x20View','INFO','Recording\x20event\x20Time','userAgent','exports','/customer','call','page','utm_source','apply','customer','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','.u-close-button','UTM_MEDIUM','forEach','done','length','ttl','createElement','Attribute\x20','debugLevel','Safari','attributes','toLowerCase','submit','24054LLTMiy','get','add','style','appendChild','IMMEDIATELY','hasOwnProperty','post','remove','719285ioDfsn','#\x20recordAttribute','attributeProperty','undefined','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','isInitialized','form','Platform','close','2WbDGtv','campaignEntryTimeValue','Form\x20Submit','offline','pathname','Recording\x20event','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','\x20has\x20invalid\x20attributeProperties:\x20','Cannot\x20','action','Logging\x20in\x20Time','entries'];_0x11b6=function(){return _0x17050b;};return _0x11b6();}function _0x4420(_0x32df6d,_0x15f9f0){const _0x11b637=_0x11b6();return _0x4420=function(_0x4420e7,_0x2b48f9){_0x4420e7=_0x4420e7-0x1e1;let _0x268ea7=_0x11b637[_0x4420e7];return _0x268ea7;},_0x4420(_0x32df6d,_0x15f9f0);}typeof window!=_0x53951a(0x286)&&(window[_0x53951a(0x1e7)]=$e);var bt=$e;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x5600(){const _0x8b5cd4=['Recording\x20event\x20Time','querySelector','attributeProperty','next','Logging\x20out','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','pathname','ERROR','Edg','defineProperties','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Checking\x20TTL\x20Time','16axkAkD','prototype','recordAttribute','create','div','setItem','toLowerCase','\x0aUnexpected\x20error:\x20','Viewed\x20Webpage','41755IyzOUM','read\x20from\x20private\x20field','os-version','updateAPIKey','/customer','Error\x20posting\x20attribute\x20record','utm_source','Logging\x20in','Internet\x20Explorer','initialTime','apply','Web\x20Session\x20Started','Firefox','forEach','18367pbWwUB','Unknown','response','stringify','Logging\x20out\x20Time','eventProperty','addEventListener','ttl','zIndex','log','Error\x20posting\x20identity\x20data','URL','1066329xbPotY','Button\x20Click','values','logout','Image\x20Click','Popup','location','getTime','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','\x0aResponse\x20Data:\x20','2949WnCaqU','/record-event','\x20has\x20invalid\x20eventProperties:\x20','application/json','common','className','map','time','style','getInstance','524iDFZVD','error','UTM_CAMPAIGN','data','[id^=\x22u_content_button_\x22]','Chrome','body','documentElement','call','click','customer','258velgvp','.u-popup-container\x20img','Initializing\x20Mergn\x20SDK','Form\x20Submit','scrollHeight','utm_content','Attribute\x20Payload:\x0a\x20','removeItem','init','Logging\x20in\x20Time','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','innerHeight','Event\x20Payload','Safari','test','Web\x20Session\x20Concluded','isInitialized','action','11LIEJqg','Tracking\x20page\x20change\x20Time','#\x20record\x20event','push','session','apiKey','join','Popup\x20View','info','utm_term','offlineEvents','getOwnPropertyDescriptors','Mobile','Tracking\x20page\x20change','ERROR:\x20','OriginateFrom:\x20','string','remove','disableSDK','\x0aError\x20setting\x20up\x20the\x20request:\x20','search','indexOf','view','Event\x20','propertyIsEnumerable','5153330yCLvUB','events','campaignEntryTimeValue','getOwnPropertySymbols','12871512TqVCkW','Mergn\x20SDK\x20is\x20disabled!','/set-attribute','status','entries','Mozilla\x20Firefox','Error\x20fetching\x20event\x20data','UTM_CONTENT','setDebugLevel','Error\x20fetching\x20attribute\x20data','DELAY','SESSION_CREATED','Identity:\x20','UTM_TERM','resolve','length','[id^=\x22u_content_form_\x22]','get','filter','Mergn\x20SDK\x20Initialization\x20Time','ALL','campaignId','Recording\x20attribute\x20Time','createElement','form','uniqueIdentity','hostname','/set-identity','removeEventListener','Recording\x20event','/attribute','Microsoft\x20Edge','parse','page','NONE','MergnError','Checking\x20TTL','throw','submit','set','#\x20recordAttribute','scroll','scrollY','done','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','groupEnd','16jEHSEy','has','getItem','onLine','popup_container_','MSIE','Attribute\x20','Cannot\x20','add','hasOwnProperty','IMMEDIATELY','group','attributes','userAgent','INFO','login','href','isArray','post','/event','load','record\x20event','Recording\x20attribute','keys','beforeunload','then','pushState','\x0aHTTP\x20Status:\x20','offline','toISOString','\x0aAxiosError:\x20','1552033CHHAfl','debugLevel','Web','brand','Platform','querySelectorAll','INFO:\x20','#\x20Recording\x20event','Google\x20Chrome','value','message','SESSION_ID','write\x20to\x20private\x20field','.u-close-button','SCROLL'];_0x5600=function(){return _0x8b5cd4;};return _0x5600();}const _0x325027=_0x2773;(function(_0x3a37c4,_0x3bcd45){const _0x3e3cab=_0x2773,_0x11a0b1=_0x3a37c4();while(!![]){try{const _0x3b4750=-parseInt(_0x3e3cab(0x150))/0x1*(parseInt(_0x3e3cab(0x139))/0x2)+-parseInt(_0x3e3cab(0x166))/0x3*(parseInt(_0x3e3cab(0x170))/0x4)+-parseInt(_0x3e3cab(0x142))/0x5*(-parseInt(_0x3e3cab(0x17b))/0x6)+-parseInt(_0x3e3cab(0x11e))/0x7*(parseInt(_0x3e3cab(0xff))/0x8)+parseInt(_0x3e3cab(0x15c))/0x9+-parseInt(_0x3e3cab(0x1a6))/0xa+-parseInt(_0x3e3cab(0x18d))/0xb*(-parseInt(_0x3e3cab(0xd1))/0xc);if(_0x3b4750===_0x3bcd45)break;else _0x11a0b1['push'](_0x11a0b1['shift']());}catch(_0x465bb3){_0x11a0b1['push'](_0x11a0b1['shift']());}}}(_0x5600,0x4d148));var Lt=Object['defineProperty'],bt=Object[_0x325027(0x136)],At=Object[_0x325027(0x198)],We=Object[_0x325027(0xd0)],Nt=Object[_0x325027(0x13a)][_0x325027(0x108)],Pt=Object[_0x325027(0x13a)][_0x325027(0x1a5)],Ge=(_0xd4e4e8,_0x3d7e33,_0xba560)=>_0x3d7e33 in _0xd4e4e8?Lt(_0xd4e4e8,_0x3d7e33,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xba560}):_0xd4e4e8[_0x3d7e33]=_0xba560,F=(_0x31f385,_0x577bb2)=>{const _0x1820ea=_0x325027;for(var _0xf91263 in _0x577bb2||(_0x577bb2={}))Nt[_0x1820ea(0x178)](_0x577bb2,_0xf91263)&&Ge(_0x31f385,_0xf91263,_0x577bb2[_0xf91263]);if(We){for(var _0xf91263 of We(_0x577bb2))Pt[_0x1820ea(0x178)](_0x577bb2,_0xf91263)&&Ge(_0x31f385,_0xf91263,_0x577bb2[_0xf91263]);}return _0x31f385;},Pe=(_0x1cecd6,_0x1f163c)=>bt(_0x1cecd6,At(_0x1f163c)),De=(_0x1c9f7b,_0x4d0b88,_0x496a92)=>{const _0x52cb4b=_0x325027;if(!_0x4d0b88['has'](_0x1c9f7b))throw TypeError(_0x52cb4b(0x106)+_0x496a92);},E=(_0x59c57f,_0x4f9801,_0xcfb82f)=>(De(_0x59c57f,_0x4f9801,_0x325027(0x143)),_0xcfb82f?_0xcfb82f[_0x325027(0x178)](_0x59c57f):_0x4f9801[_0x325027(0xe2)](_0x59c57f)),o=(_0x53c863,_0xf276f9,_0x388947)=>{const _0x40c5aa=_0x325027;if(_0xf276f9['has'](_0x53c863))throw TypeError(_0x40c5aa(0x164));_0xf276f9 instanceof WeakSet?_0xf276f9[_0x40c5aa(0x107)](_0x53c863):_0xf276f9[_0x40c5aa(0xf8)](_0x53c863,_0x388947);},f=(_0x52779e,_0x3512d9,_0x14fe57,_0xbaeb1d)=>(De(_0x52779e,_0x3512d9,_0x325027(0x12a)),_0xbaeb1d?_0xbaeb1d[_0x325027(0x178)](_0x52779e,_0x14fe57):_0x3512d9[_0x325027(0xf8)](_0x52779e,_0x14fe57),_0x14fe57),He=(_0x135bae,_0x4c9286,_0x3e16c6,_0x18f7cd)=>({set '_'(_0x4973d5){f(_0x135bae,_0x4c9286,_0x4973d5,_0x3e16c6);},get '_'(){return E(_0x135bae,_0x4c9286,_0x18f7cd);}}),r=(_0x119524,_0x956648,_0x3d7f86)=>(De(_0x119524,_0x956648,'access\x20private\x20method'),_0x3d7f86),c=(_0x1012fb,_0x5b255c,_0x5594e5)=>new Promise((_0x5b5640,_0x1ab6e9)=>{const _0x146b6e=_0x325027;var _0x2ee311=_0x372ad3=>{try{_0x550207(_0x5594e5['next'](_0x372ad3));}catch(_0x424719){_0x1ab6e9(_0x424719);}},_0x9cf24a=_0x415afb=>{const _0x2a2655=_0x2773;try{_0x550207(_0x5594e5[_0x2a2655(0xf6)](_0x415afb));}catch(_0xe5b265){_0x1ab6e9(_0xe5b265);}},_0x550207=_0x50e4f7=>_0x50e4f7[_0x146b6e(0xfc)]?_0x5b5640(_0x50e4f7[_0x146b6e(0x127)]):Promise[_0x146b6e(0xdf)](_0x50e4f7[_0x146b6e(0x127)])[_0x146b6e(0x118)](_0x2ee311,_0x9cf24a);_0x550207((_0x5594e5=_0x5594e5[_0x146b6e(0x14c)](_0x1012fb,_0x5b255c))[_0x146b6e(0x130)]());});import{v4 as _0x5c5132}from'uuid';var je=(_0x4109d7=>(_0x4109d7['UTM_SOURCE']=_0x325027(0x148),_0x4109d7['UTM_MEDIUM']='utm_medium',_0x4109d7[_0x325027(0x172)]='utm_campaign',_0x4109d7[_0x325027(0xde)]=_0x325027(0x196),_0x4109d7[_0x325027(0xd8)]=_0x325027(0x180),_0x4109d7))(je||{}),qe=new Set(Object[_0x325027(0x15e)](je)),N='Popup\x20Action',Qe='https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api',Ue=_0x325027(0xef),Ye=_0x325027(0xd3),xe=_0x325027(0x112),Xe=_0x325027(0x167),Ze=_0x325027(0x146),et=_0x325027(0xec);import _0x2bbf5d from'axios';import{AxiosQueueManager as _0x5bd8bb}from'axios-queue-js';import _0x5a591e from'axios-retry';import{AxiosError as _0x249b4d}from'axios';var l=class extends Error{constructor(_0x52194e){const _0x318315=_0x325027;super(_0x52194e),this['name']=_0x318315(0xf4);}};l[_0x325027(0x19f)]=!0x1,l['offline']=!navigator[_0x325027(0x102)],l[_0x325027(0x11f)]=0x0,l[_0x325027(0x18b)]=!0x1;var Ut=(_0x3f9700,_0x3eda68)=>{const _0x2214d7=_0x325027;_0x3eda68 instanceof l?u(0x2,_0x2214d7(0x19c)+_0x3f9700+'\x0aMergnError:\x20'+_0x3eda68[_0x2214d7(0x128)]):_0x3eda68 instanceof _0x249b4d?(u(0x2,'OriginateFrom:\x20'+_0x3f9700+_0x2214d7(0x11d)+_0x3eda68['message']),_0x3eda68[_0x2214d7(0x152)]?(u(0x2,_0x2214d7(0x19c)+_0x3f9700+_0x2214d7(0x11a)+_0x3eda68[_0x2214d7(0x152)][_0x2214d7(0xd4)]),u(0x2,'OriginateFrom:\x20'+_0x3f9700+_0x2214d7(0x165)+_0x3eda68[_0x2214d7(0x152)][_0x2214d7(0x173)])):_0x3eda68['request']?u(0x2,_0x2214d7(0x19c)+_0x3f9700+'\x0aNo\x20response\x20received.\x20Check\x20network\x20connection\x20or\x20server\x20issues.'):u(0x2,'OriginateFrom:\x20'+_0x3f9700+_0x2214d7(0x1a0)+_0x3eda68['message'])):_0x3eda68 instanceof Error?u(0x2,'OriginateFrom:\x20'+_0x3f9700+_0x2214d7(0x140)+_0x3eda68[_0x2214d7(0x128)]):u(0x2,_0x2214d7(0x19c)+_0x3f9700+'\x0aUnexpected\x20error:\x20'+String(_0x3eda68));},O=(_0x3d982f,_0x2487ca,_0x301fb4)=>c(void 0x0,null,function*(){const _0xd7c8ca=_0x325027;try{if(l[_0xd7c8ca(0x19f)])throw new l(_0xd7c8ca(0xd2));if(_0x3d982f!=='record\x20event'&&l[_0xd7c8ca(0x11b)])throw new l('Mergn\x20is\x20offline!');if(_0x3d982f!=='init'&&!l[_0xd7c8ca(0x18b)])throw new l('Mergn\x20not\x20initialized!');return yield _0x2487ca();}catch(_0x12d2bd){return _0x301fb4?_0x301fb4(_0x12d2bd):(l[_0xd7c8ca(0x11f)]===0x2||l[_0xd7c8ca(0x11f)]===0x3)&&Ut(_0x3d982f,_0x12d2bd),null;}}),$=(_0x28553d=>(_0x28553d[_0x28553d[_0x325027(0xf3)]=0x0]='NONE',_0x28553d[_0x28553d[_0x325027(0x10d)]=0x1]=_0x325027(0x10d),_0x28553d[_0x28553d[_0x325027(0x134)]=0x2]='ERROR',_0x28553d[_0x28553d[_0x325027(0xe5)]=0x3]=_0x325027(0xe5),_0x28553d))($||{}),u=(_0x33aa7a,_0x389f25)=>{const _0x5f50af=_0x325027;l[_0x5f50af(0x11f)]!==0x0&&l[_0x5f50af(0x11f)]<=0x3&&(_0x33aa7a===0x1?console[_0x5f50af(0x195)](_0x5f50af(0x124)+new Date()[_0x5f50af(0x11c)](),_0x389f25):_0x33aa7a===0x2&&console[_0x5f50af(0x171)](_0x5f50af(0x19b)+new Date()[_0x5f50af(0x11c)](),_0x389f25));},S=(_0x2ea09d,_0x36da5a)=>{const _0x2cac20=_0x325027;l[_0x2cac20(0x11f)]!==0x0&&(_0x36da5a?console[_0x2cac20(0x16d)](_0x2ea09d):console['timeEnd'](_0x2ea09d));},I=(_0x3a6f32,_0x297e00)=>{const _0x558f97=_0x325027;l[_0x558f97(0x11f)]!==0x0&&(_0x297e00?console[_0x558f97(0x10a)](_0x3a6f32):console[_0x558f97(0xfe)]());},w,V,B,k,te,J,_e,re,tt,p=class p{constructor(){const _0x286724=_0x325027;o(this,te,0x0);let _0x528f04=_0x2bbf5d[_0x286724(0x13c)]({'baseURL':Qe,'headers':{'Content-Type':_0x286724(0x169)}});f(p,V,_0x528f04),f(p,B,new _0x5bd8bb({'client':_0x528f04,'queueSize':0xa})),_0x5a591e(_0x528f04,{'onRetry':_0x29199e=>{const _0x40f682=_0x286724;_0x29199e>=E(p,k)?(l[_0x40f682(0x11f)]>0x2&&console[_0x40f682(0x171)]('Max\x20retries\x20reached.\x20Disabling\x20SDK\x20for\x2030\x20secs.'),l[_0x40f682(0x19f)]=!0x0,setTimeout(()=>{l['disableSDK']=!0x1;},0x7530)):He(this,te)['_']++;},'retries':E(p,k),'retryDelay':_0x18ac26=>_0x18ac26*0x1388});}static[_0x325027(0x145)](_0x38cf2d){const _0x3c8b13=_0x325027;this[_0x3c8b13(0x192)]=_0x38cf2d,r(this,re,tt)[_0x3c8b13(0x178)](this)['defaults']['headers'][_0x3c8b13(0x16a)]['Authorization']=_0x38cf2d;}static[_0x325027(0xe2)](_0x1fa90f){const _0x26e014=_0x325027;return r(this,J,_e)[_0x26e014(0x178)](this)[_0x26e014(0xe2)](_0x1fa90f);}static[_0x325027(0x111)](_0x4ebea6,_0x484bb4){const _0x7fd1a0=_0x325027;return r(this,J,_e)[_0x7fd1a0(0x178)](this)[_0x7fd1a0(0x111)](_0x4ebea6,_0x484bb4||{});}};w=new WeakMap(),V=new WeakMap(),B=new WeakMap(),k=new WeakMap(),te=new WeakMap(),J=new WeakSet(),_e=function(){return E(p,w)||f(p,w,new p()),E(p,B);},re=new WeakSet(),tt=function(){return E(p,w)||f(p,w,new p()),E(p,V);},o(p,J),o(p,re),o(p,w,void 0x0),o(p,V,void 0x0),o(p,B,void 0x0),o(p,k,0x2);function _0x2773(_0x545074,_0x4164d1){const _0x560039=_0x5600();return _0x2773=function(_0x2773c0,_0x1a8c32){_0x2773c0=_0x2773c0-0xce;let _0x5525f6=_0x560039[_0x2773c0];return _0x5525f6;},_0x2773(_0x545074,_0x4164d1);}var Ce=p,R=Ce,P,D,z,W,G,ae,rt,b,K,T,y,se,nt,ce,ot,H,$e,j,Ve,le,it,ge,at,ue,st,Ee,q,pe,de,ct,me,lt,Se,gt,Q,Be,Ie,ut,U,ne,x,oe,ve,Et,Y,ke,fe,pt,Te,dt,ye,mt,C,ie,he,St,Re,It,Oe,vt,X,Je,we,ft,Z,Ke,Le,Tt,be,yt,ee,ze,Ae,ht,Ne,Rt,L=class L{constructor(){o(this,ae),o(this,b),o(this,T),o(this,se),o(this,ce),o(this,H),o(this,j),o(this,le),o(this,ge),o(this,ue),o(this,de),o(this,me),o(this,Se),o(this,Q),o(this,Ie),o(this,U),o(this,x),o(this,ve),o(this,Y),o(this,fe),o(this,Te),o(this,ye),o(this,C),o(this,he),o(this,Re),o(this,Oe),o(this,X),o(this,we),o(this,Z),o(this,Le),o(this,be),o(this,ee),o(this,Ae),o(this,Ne),o(this,D,void 0x0),o(this,z,void 0x0),o(this,W,void 0x0),o(this,G,null),o(this,Ee,()=>{const _0x24c861=_0x2773;let _0x25b1f9=()=>{const _0x20d130=_0x2773;let _0x5379e0=JSON[_0x20d130(0xf1)](localStorage[_0x20d130(0x101)](_0x20d130(0x18c))||'{}');Object[_0x20d130(0x116)](_0x5379e0)[_0x20d130(0x14f)](_0xe80640=>{const _0x2e482f=_0x20d130;_0x5379e0[_0xe80640][_0x2e482f(0x14b)]=new Date()[_0x2e482f(0x163)](),_0x5379e0[_0xe80640][_0x2e482f(0xf2)]=window[_0x2e482f(0x162)][_0x2e482f(0xeb)]+window[_0x2e482f(0x162)][_0x2e482f(0x133)];}),localStorage[_0x20d130(0x13e)](_0x20d130(0x18c),JSON[_0x20d130(0x153)](_0x5379e0));};_0x25b1f9(),window[_0x24c861(0x156)](_0x24c861(0x117),_0x25b1f9);}),o(this,q,_0xb60f26=>{const _0x34aca4=_0x2773;let _0x7fdf29=JSON[_0x34aca4(0xf1)](localStorage[_0x34aca4(0x101)](_0x34aca4(0x18c))||'{}');_0x7fdf29[_0xb60f26]&&delete _0x7fdf29[_0xb60f26],localStorage[_0x34aca4(0x13e)](_0x34aca4(0x18c),JSON['stringify'](_0x7fdf29));}),o(this,pe,()=>{const _0x308ab7=_0x2773;let _0x494330=JSON['parse'](localStorage[_0x308ab7(0x101)](_0x308ab7(0x18c))||'{}');Object[_0x308ab7(0x116)](_0x494330)[_0x308ab7(0x14f)](_0x26e31a=>{const _0x5781f4=_0x308ab7;_0x494330[_0x26e31a]['message']['name']===_0x5781f4(0x161)&&r(this,Y,ke)['call'](this,_0x494330[_0x26e31a][_0x5781f4(0xe6)]);});});}static[_0x325027(0x16f)](){return E(L,P)||f(L,P,new L()),E(L,P);}['init'](_0x38b510){const _0x1ca65c=_0x325027;O(_0x1ca65c(0x183),()=>c(this,null,function*(){const _0x4f641e=_0x1ca65c;u(0x1,_0x4f641e(0x17d)),I('Initializing\x20Mergn\x20SDK',!0x0),S('Mergn\x20SDK\x20Initialization\x20Time',!0x0),r(this,le,it)[_0x4f641e(0x178)](this,_0x38b510),yield r(this,H,$e)['call'](this),l[_0x4f641e(0x18b)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x4c4d5a=_0x4f641e;yield r(this,H,$e)[_0x4c4d5a(0x178)](this);}),0x493e0),yield r(this,b,K)['call'](this),window['addEventListener']('online',()=>c(this,null,function*(){const _0x3f4f89=_0x4f641e;l[_0x3f4f89(0x11b)]=!0x1;let _0x5766c5=JSON['parse'](localStorage[_0x3f4f89(0x101)](_0x3f4f89(0x197))||'[]');Array[_0x3f4f89(0x110)](_0x5766c5)&&(yield r(this,Z,Ke)['call'](this,{'customerId':localStorage[_0x3f4f89(0x101)](_0x3f4f89(0x17a))||'','events':_0x5766c5}),localStorage[_0x3f4f89(0x182)]('offlineEvents')),r(this,b,K)[_0x3f4f89(0x178)](this),r(this,x,oe)[_0x3f4f89(0x178)](this);})),window[_0x4f641e(0x156)](_0x4f641e(0x11b),()=>{const _0x34b6ba=_0x4f641e;l[_0x34b6ba(0x11b)]=!0x0;}),window[_0x4f641e(0x156)](_0x4f641e(0x113),()=>{const _0x44e190=_0x4f641e;E(this,pe)[_0x44e190(0x178)](this);});let _0x52f8f6=history[_0x4f641e(0x119)];history['pushState']=(..._0x283e95)=>{const _0x5438dc=_0x4f641e;_0x52f8f6[_0x5438dc(0x14c)](history,_0x283e95),r(this,j,Ve)[_0x5438dc(0x178)](this);},r(this,j,Ve)[_0x4f641e(0x178)](this),S(_0x4f641e(0xe4),!0x1),I('Initializing\x20Mergn\x20SDK',!0x1);}));}[_0x325027(0xd9)](_0xe1effc){const _0x3035fc=_0x325027;if(!(_0xe1effc in $)){console['error'](_0x3035fc(0x185));return;}l['debugLevel']=_0xe1effc;}[_0x325027(0x13b)](_0x3b2de6,_0x343b34){O('recordAttribute',()=>c(this,null,function*(){yield r(this,ae,rt)['call'](this,_0x3b2de6,_0x343b34,void 0x0);}));}[_0x325027(0x10e)](_0x541bbd){O('login',()=>c(this,null,function*(){const _0x53446d=_0x2773;u(0x1,_0x53446d(0x149)),I(_0x53446d(0x149),!0x0),S('Logging\x20in\x20Time',!0x0),u(0x1,_0x53446d(0xdd)+_0x541bbd),yield r(this,U,ne)[_0x53446d(0x178)](this,_0x541bbd),S(_0x53446d(0x184),!0x1),I(_0x53446d(0x149),!0x1);}));}[_0x325027(0x15f)](){const _0x59e15d=_0x325027;O(_0x59e15d(0x15f),()=>c(this,null,function*(){const _0xc0d2af=_0x59e15d;u(0x1,_0xc0d2af(0x131)),I(_0xc0d2af(0x131),!0x0),S(_0xc0d2af(0x154),!0x0),r(this,ee,ze)['call'](this),S('Logging\x20out\x20Time',!0x1),I('Logging\x20out',!0x1);}));}['recordEvent'](_0x5378e8,_0x5e71e1){setTimeout(()=>{const _0x5b74dc=_0x2773;O(_0x5b74dc(0x114),()=>c(this,null,function*(){const _0x2fd513=_0x5b74dc;u(0x1,_0x2fd513(0xee)),I(_0x2fd513(0xee),!0x0),S('Recording\x20event\x20Time',!0x0),u(0x1,'Event\x20Payload:\x0a\x20'+{'eventName':_0x5378e8,'eventProperties':_0x5e71e1}),r(this,T,y)[_0x2fd513(0x178)](this,_0x5378e8,_0x5e71e1),S(_0x2fd513(0x12d),!0x1),I(_0x2fd513(0xee),!0x1);}));});}};P=new WeakMap(),D=new WeakMap(),z=new WeakMap(),W=new WeakMap(),G=new WeakMap(),ae=new WeakSet(),rt=function(_0x273a0e,_0x2057d7,_0x3d13cf){return c(this,null,function*(){const _0x483aec=_0x2773;yield O(_0x483aec(0xf9),()=>c(this,null,function*(){const _0x1ca9d1=_0x483aec;u(0x1,_0x1ca9d1(0x115)),I(_0x1ca9d1(0x115),!0x0),S(_0x1ca9d1(0xe7),!0x0),u(0x1,_0x1ca9d1(0x181)+{'attributeName':_0x273a0e,'attributeProperties':_0x3d13cf,'attributeValue':_0x2057d7}+')}'),yield r(this,b,K)[_0x1ca9d1(0x178)](this),yield r(this,Ae,ht)[_0x1ca9d1(0x178)](this);let _0x3b920a=JSON[_0x1ca9d1(0xf1)](localStorage[_0x1ca9d1(0x101)]('attributes')||'{}'),_0xbf9b5e=_0x3d13cf?r(this,X,Je)[_0x1ca9d1(0x178)](this,_0x3b920a,_0x273a0e,_0x3d13cf):r(this,X,Je)[_0x1ca9d1(0x178)](this,_0x3b920a,_0x273a0e);if(typeof _0xbf9b5e==_0x1ca9d1(0x19d)){u(0x2,_0xbf9b5e);return;}r(this,x,oe)[_0x1ca9d1(0x178)](this);let {id:_0x622956}=_0x3b920a[_0x273a0e],_0x4acd97={'attributeId':_0x622956,'attributeProperties':_0xbf9b5e,'customerId':localStorage['getItem'](_0x1ca9d1(0x17a))||'','value':_0x2057d7};yield r(this,Ne,Rt)['call'](this,_0x4acd97),S(_0x1ca9d1(0xe7),!0x1),I('Recording\x20attribute',!0x1);}));});},b=new WeakSet(),K=function(){return c(this,null,function*(){const _0x42fb4b=_0x2773;u(0x1,_0x42fb4b(0xf5)),I(_0x42fb4b(0xf5),!0x0),S(_0x42fb4b(0x138),!0x0);let _0x43ccc9=localStorage[_0x42fb4b(0x101)]('ttl'),_0x47d144=!0x1;if(_0x43ccc9){if(_0x47d144=new Date()[_0x42fb4b(0x163)]()-parseInt(_0x43ccc9,0xa)>0x124f80,_0x47d144){let _0x5e5916=localStorage[_0x42fb4b(0x101)]('session'),_0x4ffe94=localStorage[_0x42fb4b(0x101)](_0x42fb4b(0x157));_0x5e5916&&_0x4ffe94&&r(this,T,y)[_0x42fb4b(0x178)](this,'Web\x20Session\x20Concluded',[{'eventProperty':'SESSION_ID','value':localStorage[_0x42fb4b(0x101)](_0x42fb4b(0x191))},{'eventProperty':_0x42fb4b(0xdc),'value':new Date(parseInt(_0x4ffe94,0xa))[_0x42fb4b(0x11c)]()}]),r(this,ee,ze)[_0x42fb4b(0x178)](this),localStorage[_0x42fb4b(0x13e)]('ttl',''+new Date()[_0x42fb4b(0x163)]());}}else localStorage[_0x42fb4b(0x13e)](_0x42fb4b(0x157),''+new Date()['getTime']());(!_0x43ccc9||_0x47d144||r(this,ge,at)['call'](this))&&(r(this,de,ct)[_0x42fb4b(0x178)](this),yield r(this,U,ne)['call'](this),yield r(this,ue,st)[_0x42fb4b(0x178)](this)),S('Checking\x20TTL\x20Time',!0x1),I(_0x42fb4b(0xf5),!0x1);});},T=new WeakSet(),y=function(_0x53995e,_0x5ea56e,_0xc95ca3,_0x12865a,_0x45ecb2){return c(this,null,function*(){const _0x2fb8aa=_0x2773;yield O(_0x2fb8aa(0x18f),()=>c(this,null,function*(){const _0x2be59d=_0x2fb8aa;var _0x367adf;u(0x1,_0x2be59d(0x125)),I(_0x2be59d(0xee),!0x0),S(_0x2be59d(0x12d),!0x0),u(0x1,_0x2be59d(0x187)),u(0x1,{'campaignCustomerInstanceId':_0x12865a,'eventName':_0x53995e,'eventProperties':_0x5ea56e,'name':_0x45ecb2}),_0x53995e!==_0x2be59d(0x18a)&&(yield r(this,b,K)[_0x2be59d(0x178)](this));let _0x118c51=[];_0x5ea56e&&_0x118c51['push'](..._0x5ea56e),_0x118c51[_0x2be59d(0x190)]({'eventProperty':_0x2be59d(0x122),'value':E(this,D)}),_0x118c51[_0x2be59d(0x190)]({'eventProperty':'operating-system','value':E(this,W)}),_0x118c51[_0x2be59d(0x190)]({'eventProperty':_0x2be59d(0x144),'value':E(this,z)});let _0x2837e=r(this,Re,It)[_0x2be59d(0x178)](this),_0x2f7b65=r(this,Oe,vt)['call'](this,_0x2837e,_0x53995e,_0x118c51);if(typeof _0x2f7b65==_0x2be59d(0x19d)){u(0x2,_0x2f7b65);return;}r(this,x,oe)['call'](this);let {id:_0x23a0cf}=_0x2837e[_0x53995e],_0x311101=r(this,we,ft)[_0x2be59d(0x178)](this,F(Pe(F(F({},_0x12865a?{'campaignCustomerInstanceId':_0x12865a}:{}),_0xc95ca3?{'campaignId':_0xc95ca3}:{}),{'eventId':_0x23a0cf,'eventProperties':_0x2f7b65,'sessionId':localStorage[_0x2be59d(0x101)](_0x2be59d(0x191))||''}),_0x45ecb2?{'name':_0x45ecb2}:{}));if(l[_0x2be59d(0x11b)]){let _0x3a1c4d=JSON[_0x2be59d(0xf1)](localStorage['getItem']('offlineEvents')||'[]');_0x3a1c4d[_0x2be59d(0xe0)]<=0x32&&(_0x3a1c4d[_0x2be59d(0x190)](..._0x311101[_0x2be59d(0xce)]),localStorage[_0x2be59d(0x13e)]('offlineEvents',JSON[_0x2be59d(0x153)](_0x3a1c4d)));return;}let _0x2ec3b3=yield r(this,Z,Ke)[_0x2be59d(0x178)](this,_0x311101);(_0x367adf=_0x2ec3b3==null?void 0x0:_0x2ec3b3['data'])==null||_0x367adf[_0x2be59d(0x14f)](_0x911da7=>{const _0x2f70e4=_0x2be59d;r(this,Le,Tt)[_0x2f70e4(0x178)](this,_0x911da7[_0x2f70e4(0x128)]['name'])&&(r(this,be,yt)['call'](this,_0x911da7),E(this,Ee)[_0x2f70e4(0x178)](this),r(this,Y,ke)[_0x2f70e4(0x178)](this,_0x911da7['campaignId']));}),S(_0x2be59d(0x12d),!0x1),I('Recording\x20event',!0x1);}));});},se=new WeakSet(),nt=function(){const _0x2fb8f4=_0x325027;let _0x5d8fb9=navigator[_0x2fb8f4(0x10c)][_0x2fb8f4(0x13f)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x2fb8f4(0x189)](_0x5d8fb9)?_0x2fb8f4(0x199):/windows|macintosh|linux|x11/i[_0x2fb8f4(0x189)](_0x5d8fb9)?_0x2fb8f4(0x120):_0x2fb8f4(0x151);},ce=new WeakSet(),ot=function(){const _0x3da0e5=_0x325027;let _0x5c4378=navigator[_0x3da0e5(0x10c)],_0x17fcbc;return _0x5c4378[_0x3da0e5(0x1a2)](_0x3da0e5(0x175))>-0x1?_0x17fcbc=_0x3da0e5(0x126):_0x5c4378['indexOf'](_0x3da0e5(0x188))>-0x1?_0x17fcbc=_0x3da0e5(0x188):_0x5c4378[_0x3da0e5(0x1a2)](_0x3da0e5(0x14e))>-0x1?_0x17fcbc=_0x3da0e5(0xd6):_0x5c4378[_0x3da0e5(0x1a2)](_0x3da0e5(0x135))>-0x1?_0x17fcbc=_0x3da0e5(0xf0):_0x5c4378[_0x3da0e5(0x1a2)](_0x3da0e5(0x104))>-0x1?_0x17fcbc=_0x3da0e5(0x14a):_0x17fcbc='Unknown',_0x17fcbc;},H=new WeakSet(),$e=function(){return c(this,null,function*(){const _0xf06d39=_0x2773;try{yield R[_0xf06d39(0xe2)](_0xf06d39(0x121));}catch(_0x148dbc){throw l['disableSDK']=!0x0,_0x148dbc[_0xf06d39(0x128)];}});},j=new WeakSet(),Ve=function(){return c(this,null,function*(){const _0x5828c2=_0x2773;var _0x4bd5ed;u(0x1,_0x5828c2(0x19a)),I(_0x5828c2(0x19a),!0x0),S(_0x5828c2(0x18e),!0x0);let _0x12c303=(_0x4bd5ed=window==null?void 0x0:window[_0x5828c2(0x162)])==null?void 0x0:_0x4bd5ed[_0x5828c2(0x10f)];if(_0x12c303!==E(this,G)){f(this,G,_0x12c303);let _0x22d866=[];new URLSearchParams(new URL(window['location'][_0x5828c2(0x10f)])[_0x5828c2(0x1a1)])[_0x5828c2(0x14f)]((_0x2e96fa,_0x36aa8e)=>c(this,null,function*(){const _0x5b7b33=_0x5828c2;qe[_0x5b7b33(0x100)](_0x36aa8e)&&_0x22d866[_0x5b7b33(0x190)]({'eventProperty':_0x36aa8e,'value':_0x2e96fa});})),yield r(this,T,y)[_0x5828c2(0x178)](this,_0x5828c2(0x141),[{'eventProperty':_0x5828c2(0x15b),'value':window[_0x5828c2(0x162)][_0x5828c2(0x133)]},..._0x22d866]);}S(_0x5828c2(0x18e),!0x1),I('Tracking\x20page\x20change',!0x1);});},le=new WeakSet(),it=function(_0x175dc7){const _0x4395ff=_0x325027;R[_0x4395ff(0x145)](_0x175dc7),f(this,D,navigator['userAgent']),f(this,z,r(this,ce,ot)[_0x4395ff(0x178)](this)),f(this,W,r(this,se,nt)[_0x4395ff(0x178)](this));},ge=new WeakSet(),at=function(){const _0x3f7ce4=_0x325027;return!localStorage[_0x3f7ce4(0x101)](_0x3f7ce4(0xce))||!localStorage[_0x3f7ce4(0x101)]('customer')||!localStorage[_0x3f7ce4(0x101)](_0x3f7ce4(0x10b))||!localStorage[_0x3f7ce4(0x101)]('uniqueIdentity')||!localStorage['getItem']('session')||!localStorage[_0x3f7ce4(0x101)]('customer');},ue=new WeakSet(),st=function(){return c(this,null,function*(){const _0x2f7a72=_0x2773;yield r(this,me,lt)[_0x2f7a72(0x178)](this),yield r(this,Q,Be)['call'](this),yield r(this,U,ne)[_0x2f7a72(0x178)](this);});},Ee=new WeakMap(),q=new WeakMap(),pe=new WeakMap(),de=new WeakSet(),ct=function(){const _0x23c80a=_0x325027;let _0x90d695=localStorage['getItem'](_0x23c80a(0xea));return _0x90d695||(_0x90d695=_0x5c5132(),localStorage[_0x23c80a(0x13e)]('uniqueIdentity',_0x90d695)),_0x90d695;},me=new WeakSet(),lt=function(){return c(this,null,function*(){const _0x4f75c0=_0x2773;if(!localStorage[_0x4f75c0(0x101)](_0x4f75c0(0xce))){let _0x55b3d1=(yield r(this,Se,gt)[_0x4f75c0(0x178)](this))[_0x4f75c0(0x173)];_0x55b3d1&&localStorage[_0x4f75c0(0x13e)](_0x4f75c0(0xce),JSON['stringify'](_0x55b3d1));}});},Se=new WeakSet(),gt=function(){return c(this,null,function*(){const _0x5b68f8=_0x2773;try{return(yield R[_0x5b68f8(0xe2)](''+xe))[_0x5b68f8(0x173)];}catch(_0x12456f){throw new Error(_0x5b68f8(0xd7));}});},Q=new WeakSet(),Be=function(){return c(this,null,function*(){const _0x293b90=_0x2773;if(!localStorage[_0x293b90(0x101)](_0x293b90(0x10b))){let _0x2046d4=(yield r(this,Ie,ut)[_0x293b90(0x178)](this))['data'];_0x2046d4&&localStorage[_0x293b90(0x13e)](_0x293b90(0x10b),JSON[_0x293b90(0x153)](_0x2046d4));}});},Ie=new WeakSet(),ut=function(){return c(this,null,function*(){const _0xcf47d7=_0x2773;try{return(yield R[_0xcf47d7(0xe2)](''+Ue))[_0xcf47d7(0x173)];}catch(_0x4c8967){throw new Error(_0xcf47d7(0xda));}});},U=new WeakSet(),ne=function(_0xa8ee2e){return c(this,null,function*(){const _0x994876=_0x2773;localStorage[_0x994876(0x101)](_0x994876(0x191))||(localStorage[_0x994876(0x13e)](_0x994876(0x191),_0x5c5132()),yield r(this,T,y)[_0x994876(0x178)](this,_0x994876(0x14d),[{'eventProperty':_0x994876(0x129),'value':localStorage[_0x994876(0x101)](_0x994876(0x191))},{'eventProperty':_0x994876(0xdc),'value':new Date(parseInt(localStorage[_0x994876(0x101)]('ttl')||'',0xa))[_0x994876(0x11c)]()}]));let _0x38fad7={'deviceId':localStorage['getItem'](_0x994876(0xea))||_0x5c5132(),'os':E(this,D)};if(_0xa8ee2e)_0x38fad7['identity']=_0xa8ee2e;else{if(!_0xa8ee2e&&localStorage[_0x994876(0x101)]('customer'))return;}try{let _0x5cbf1c=(yield r(this,ve,Et)[_0x994876(0x178)](this,_0x38fad7))[_0x994876(0x173)];_0x5cbf1c!==void 0x0&&localStorage[_0x994876(0x13e)](_0x994876(0x17a),_0x5cbf1c);}catch(_0xd63f14){throw new Error('Error\x20setting\x20identity');}});},x=new WeakSet(),oe=function(){const _0x34904b=_0x325027;localStorage[_0x34904b(0x13e)]('ttl',''+new Date()[_0x34904b(0x163)]());},ve=new WeakSet(),Et=function(_0x4deeb4){return c(this,null,function*(){const _0x41f702=_0x2773;try{return(yield R['post'](''+Ze+et,_0x4deeb4))[_0x41f702(0x173)];}catch(_0x3b7df7){throw new Error(_0x41f702(0x15a));}});},Y=new WeakSet(),ke=function(_0x439d2f){const _0x4a5c82=_0x325027;let _0x3f2679=r(this,fe,pt)['call'](this);if(_0x3f2679!=null&&_0x3f2679[_0x439d2f])switch(_0x3f2679[_0x439d2f]['campaignEntryTime']){case _0x4a5c82(0xdb):{r(this,ye,mt)[_0x4a5c82(0x178)](this,_0x3f2679[_0x439d2f]);break;}case _0x4a5c82(0x109):{r(this,C,ie)[_0x4a5c82(0x178)](this,_0x3f2679[_0x439d2f]);break;}case _0x4a5c82(0x12c):{r(this,Te,dt)[_0x4a5c82(0x178)](this,_0x3f2679[_0x439d2f]);break;}default:return;}},fe=new WeakSet(),pt=function(){const _0x95a73a=_0x325027;let _0x48f0af=localStorage[_0x95a73a(0x101)](_0x95a73a(0x18c));return _0x48f0af?JSON['parse'](_0x48f0af):null;},Te=new WeakSet(),dt=function(_0x3eb678){const _0x162bd5=_0x325027;let _0x5225ce=()=>{const _0x436d73=_0x2773;var _0x13f38e,_0x17d665;let _0x4554a2=window[_0x436d73(0x186)],_0xcf0ae8=document[_0x436d73(0x177)][_0x436d73(0x17f)],_0x57fe4b=window[_0x436d73(0xfb)]/(_0xcf0ae8-_0x4554a2)*0x64;console[_0x436d73(0x159)](_0x436d73(0x137),_0x57fe4b),console['log']('🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:',(_0x13f38e=_0x3eb678[_0x436d73(0xcf)])==null?void 0x0:_0x13f38e[_0x436d73(0x127)]),_0x57fe4b>(((_0x17d665=_0x3eb678[_0x436d73(0xcf)])==null?void 0x0:_0x17d665[_0x436d73(0x127)])||0x0)&&(window[_0x436d73(0xed)](_0x436d73(0xfa),_0x5225ce),console[_0x436d73(0x159)]('called\x202'),r(this,C,ie)[_0x436d73(0x178)](this,_0x3eb678));};window[_0x162bd5(0x156)]('scroll',_0x5225ce);},ye=new WeakSet(),mt=function(_0x328be9){const _0x311f6e=_0x325027;var _0x3c041d;let _0x2b6540=_0x328be9[_0x311f6e(0x14b)]-0x1f4+(((_0x3c041d=_0x328be9['campaignEntryTimeValue'])==null?void 0x0:_0x3c041d[_0x311f6e(0x127)])||0x0)*0x3e8-new Date()['getTime']();_0x2b6540>0x0&&_0x328be9['page']===window[_0x311f6e(0x162)][_0x311f6e(0xeb)]+window[_0x311f6e(0x162)][_0x311f6e(0x133)]&&setTimeout(()=>{const _0x37b54b=_0x311f6e;E(this,q)[_0x37b54b(0x178)](this,_0x328be9[_0x37b54b(0xe6)]),r(this,C,ie)['call'](this,_0x328be9);},_0x2b6540);},C=new WeakSet(),ie=function(_0x4fa607){const _0x154daa=_0x325027;let _0x2fe31a=r(this,he,St)['call'](this,_0x154daa(0x13d),_0x4fa607);document[_0x154daa(0x176)]['appendChild'](_0x2fe31a),r(this,T,y)[_0x154daa(0x178)](this,N,[{'eventProperty':_0x154daa(0x194),'value':JSON[_0x154daa(0x153)]({'campaignId':_0x4fa607[_0x154daa(0xe6)]})}],_0x4fa607[_0x154daa(0xe6)],_0x4fa607['campaignCustomerInstanceId'],_0x154daa(0x1a3)),E(this,q)[_0x154daa(0x178)](this,_0x4fa607[_0x154daa(0xe6)]);},he=new WeakSet(),St=function(_0x3191b7,_0x5aab10){const _0x23603a=_0x325027;var _0x460f83;let {campaignCustomerInstanceId:_0x3edb5a,campaignId:_0x26fc70,message:{design:_0x5ed536}}=_0x5aab10,_0x25fa89=document[_0x23603a(0xe8)](_0x3191b7);_0x25fa89['id']=_0x23603a(0x103)+_0x26fc70,_0x25fa89['innerHTML']=_0x5ed536,_0x25fa89[_0x23603a(0x16e)][_0x23603a(0x158)]='50';let _0x27b641=_0x25fa89['querySelector']('.u-popup-container');return _0x27b641&&(_0x27b641[_0x23603a(0x16e)]['zIndex']='50'),_0x25fa89[_0x23603a(0x123)](_0x23603a(0xe1))['forEach'](_0x299ee1=>{const _0x28a076=_0x23603a;let _0x40ebe3=_0x299ee1[_0x28a076(0x12e)](_0x28a076(0xe9));_0x40ebe3&&_0x40ebe3[_0x28a076(0x156)](_0x28a076(0xf7),()=>c(this,null,function*(){const _0x7832ae=_0x28a076;_0x25fa89[_0x7832ae(0x19e)]();let _0x2ce463=new FormData(_0x40ebe3),_0x3c44d3={};for(let [_0x1ad750,_0x3bdcdc]of _0x2ce463[_0x7832ae(0xd5)]())_0x3c44d3[_0x1ad750]=_0x3bdcdc;yield r(this,T,y)[_0x7832ae(0x178)](this,N,[{'eventProperty':_0x7832ae(0x17e),'value':JSON[_0x7832ae(0x153)]({'campaignId':_0x26fc70,'formId':_0x299ee1['id'],'formValues':_0x3c44d3})}],_0x26fc70,_0x3edb5a,_0x7832ae(0xe9));}));}),(_0x460f83=_0x25fa89[_0x23603a(0x12e)](_0x23603a(0x12b)))==null||_0x460f83['addEventListener'](_0x23603a(0x179),()=>c(this,null,function*(){const _0x245dd3=_0x23603a;_0x25fa89[_0x245dd3(0x19e)](),yield r(this,T,y)[_0x245dd3(0x178)](this,N,[{'eventProperty':'Close\x20Click','value':JSON[_0x245dd3(0x153)]({'campaignId':_0x26fc70})}],_0x26fc70,_0x3edb5a,'close');})),_0x25fa89[_0x23603a(0x123)](_0x23603a(0x174))['forEach'](_0x478922=>{const _0x2038ed=_0x23603a;_0x478922['addEventListener'](_0x2038ed(0x179),()=>c(this,null,function*(){const _0x3aec2d=_0x2038ed;yield r(this,T,y)[_0x3aec2d(0x178)](this,N,[{'eventProperty':_0x3aec2d(0x15d),'value':JSON[_0x3aec2d(0x153)]({'buttonId':_0x478922['id'],'campaignId':_0x26fc70})}],_0x26fc70,_0x3edb5a,_0x3aec2d(0x179));}));}),_0x25fa89[_0x23603a(0x123)](_0x23603a(0x17c))[_0x23603a(0x14f)](_0x12c978=>{const _0x1b82a0=_0x23603a;_0x12c978[_0x1b82a0(0x156)](_0x1b82a0(0x179),()=>c(this,null,function*(){const _0x494c2c=_0x1b82a0;yield r(this,T,y)['call'](this,N,[{'eventProperty':_0x494c2c(0x160),'value':JSON[_0x494c2c(0x153)]({'campaignId':_0x26fc70,'imageClassName':_0x12c978[_0x494c2c(0x16b)],'imageId':_0x12c978['id']})}],_0x26fc70,_0x3edb5a,_0x494c2c(0x179));}));}),_0x25fa89;},Re=new WeakSet(),It=function(){const _0x4847f5=_0x325027;let _0x45947e=localStorage[_0x4847f5(0x101)](_0x4847f5(0xce));return _0x45947e?JSON[_0x4847f5(0xf1)](_0x45947e):{};},Oe=new WeakSet(),vt=function(_0x1b1fcd,_0xf34e8b,_0x2f58c7){const _0x59f473=_0x325027;if(!Object['prototype']['hasOwnProperty'][_0x59f473(0x178)](_0x1b1fcd,_0xf34e8b))return _0x59f473(0x1a4)+_0xf34e8b+'\x20is\x20not\x20valid.';if(!_0x2f58c7)return[];let _0x1f783b=_0x1b1fcd[_0xf34e8b];if(!(_0x1f783b!=null&&_0x1f783b[_0x59f473(0x155)]))return _0x59f473(0x1a4)+_0xf34e8b+_0x59f473(0xfd);let _0x1c5175=_0x2f58c7[_0x59f473(0xe3)](({eventProperty:_0x4557bf})=>!Object[_0x59f473(0x13a)]['hasOwnProperty'][_0x59f473(0x178)](_0x1f783b[_0x59f473(0x155)],_0x4557bf))[_0x59f473(0x16c)](({eventProperty:_0x5278d1})=>_0x5278d1);return _0x1c5175[_0x59f473(0xe0)]>0x0?_0x59f473(0x1a4)+_0xf34e8b+_0x59f473(0x168)+_0x1c5175[_0x59f473(0x193)](',\x20')+'.':_0x2f58c7[_0x59f473(0x16c)](({eventProperty:_0x36b95f,value:_0x58c63a})=>({'eventPropertyId':_0x1f783b[_0x59f473(0x155)][_0x36b95f]['id'],'value':_0x58c63a}));},X=new WeakSet(),Je=function(_0x25d294,_0x58476b,_0x27c62b){const _0x3c008d=_0x325027;if(!Object[_0x3c008d(0x13a)]['hasOwnProperty'][_0x3c008d(0x178)](_0x25d294,_0x58476b))return'Attribute\x20'+_0x58476b+'\x20is\x20not\x20valid.';if(!_0x27c62b)return[];let _0x5ebc79=_0x25d294[_0x58476b];if(!(_0x5ebc79!=null&&_0x5ebc79['attributeProperty']))return'Attribute\x20'+_0x58476b+_0x3c008d(0x132);let _0x26c37f=_0x27c62b[_0x3c008d(0xe3)](({attributeProperty:_0x18eeb2})=>!Object[_0x3c008d(0x13a)][_0x3c008d(0x108)]['call'](_0x5ebc79[_0x3c008d(0x12f)],_0x18eeb2))[_0x3c008d(0x16c)](({attributeProperty:_0xff9005})=>_0xff9005);return _0x26c37f[_0x3c008d(0xe0)]>0x0?_0x3c008d(0x105)+_0x58476b+'\x20has\x20invalid\x20attributeProperties:\x20'+_0x26c37f['join'](',\x20')+'.':_0x27c62b[_0x3c008d(0x16c)](({attributeProperty:_0x579c50,value:_0x1e6056})=>({'attributePropertyId':_0x5ebc79['attributeProperty'][_0x579c50]['id'],'value':_0x1e6056}));},we=new WeakSet(),ft=function(_0x445d5b){const _0x410a8b=_0x325027;return{'customerId':localStorage['getItem'](_0x410a8b(0x17a))||'','events':[_0x445d5b]};},Z=new WeakSet(),Ke=function(_0x3daa91){return c(this,null,function*(){const _0x101f5c=_0x2773;try{return(yield R[_0x101f5c(0x111)](''+xe+Xe,_0x3daa91))[_0x101f5c(0x173)];}catch(_0x25a208){throw new Error('Error\x20posting\x20event\x20record');}});},Le=new WeakSet(),Tt=function(_0x36f25e){return _0x36f25e==='Popup';},be=new WeakSet(),yt=function(_0x4fdb5f){const _0x194bd3=_0x325027;let _0x1544a2=JSON['parse'](localStorage[_0x194bd3(0x101)](_0x194bd3(0x18c))||'{}');_0x1544a2[_0x4fdb5f[_0x194bd3(0xe6)]]=Pe(F({},_0x4fdb5f),{'initialTime':new Date()[_0x194bd3(0x163)](),'page':window[_0x194bd3(0x162)][_0x194bd3(0xeb)]+window[_0x194bd3(0x162)]['pathname']}),localStorage[_0x194bd3(0x13e)](_0x194bd3(0x18c),JSON[_0x194bd3(0x153)](_0x1544a2));},ee=new WeakSet(),ze=function(){const _0x716a6e=_0x325027;localStorage[_0x716a6e(0x182)](_0x716a6e(0x18c)),localStorage[_0x716a6e(0x182)](_0x716a6e(0xce)),localStorage['removeItem'](_0x716a6e(0x10b)),localStorage[_0x716a6e(0x182)](_0x716a6e(0x197)),localStorage[_0x716a6e(0x182)](_0x716a6e(0x157)),localStorage['removeItem']('session');},Ae=new WeakSet(),ht=function(){return c(this,null,function*(){const _0x5881d2=_0x2773;localStorage['getItem'](_0x5881d2(0x10b))||(yield r(this,Q,Be)[_0x5881d2(0x178)](this));});},Ne=new WeakSet(),Rt=function(_0x1b4d92){return c(this,null,function*(){const _0x560e70=_0x2773;try{return yield R[_0x560e70(0x111)](''+Ue+Ye,_0x1b4d92);}catch(_0x138af7){throw new Error(_0x560e70(0x147));}});},o(L,P,void 0x0);var Fe=L,Ot=Fe[_0x325027(0x16f)](),_r=Ot;export{_r as default};
1
+ const _0x4d949b=_0x3479;(function(_0x102734,_0x472077){const _0x33c5de=_0x3479,_0x4aee0f=_0x102734();while(!![]){try{const _0x556d09=-parseInt(_0x33c5de(0x17c))/0x1+-parseInt(_0x33c5de(0x1d8))/0x2*(-parseInt(_0x33c5de(0x1bd))/0x3)+-parseInt(_0x33c5de(0x1cb))/0x4*(-parseInt(_0x33c5de(0x195))/0x5)+parseInt(_0x33c5de(0x162))/0x6+-parseInt(_0x33c5de(0x148))/0x7*(-parseInt(_0x33c5de(0x1a6))/0x8)+parseInt(_0x33c5de(0x13b))/0x9*(parseInt(_0x33c5de(0x155))/0xa)+-parseInt(_0x33c5de(0x19b))/0xb*(parseInt(_0x33c5de(0x14f))/0xc);if(_0x556d09===_0x472077)break;else _0x4aee0f['push'](_0x4aee0f['shift']());}catch(_0x43decf){_0x4aee0f['push'](_0x4aee0f['shift']());}}}(_0x2529,0x52449));var St=Object['defineProperty'],It=Object[_0x4d949b(0x178)],vt=Object['getOwnPropertyDescriptors'],$e=Object[_0x4d949b(0x113)],yt=Object[_0x4d949b(0x1c8)][_0x4d949b(0x17b)],Tt=Object[_0x4d949b(0x1c8)][_0x4d949b(0x17f)],Be=(_0x5f4fbc,_0x192577,_0x2e1b79)=>_0x192577 in _0x5f4fbc?St(_0x5f4fbc,_0x192577,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e1b79}):_0x5f4fbc[_0x192577]=_0x2e1b79,M=(_0x14fee6,_0x39de25)=>{const _0x3f79f3=_0x4d949b;for(var _0x424a2b in _0x39de25||(_0x39de25={}))yt[_0x3f79f3(0x124)](_0x39de25,_0x424a2b)&&Be(_0x14fee6,_0x424a2b,_0x39de25[_0x424a2b]);if($e){for(var _0x424a2b of $e(_0x39de25))Tt[_0x3f79f3(0x124)](_0x39de25,_0x424a2b)&&Be(_0x14fee6,_0x424a2b,_0x39de25[_0x424a2b]);}return _0x14fee6;},Re=(_0x1b6eb2,_0x58417d)=>It(_0x1b6eb2,vt(_0x58417d)),we=(_0x1e70d7,_0xc59127,_0x3dbeef)=>{const _0x2956e1=_0x4d949b;if(!_0xc59127[_0x2956e1(0x16b)](_0x1e70d7))throw TypeError(_0x2956e1(0x1bc)+_0x3dbeef);},I=(_0x4107ef,_0x5f166f,_0x29b78c)=>(we(_0x4107ef,_0x5f166f,_0x4d949b(0x185)),_0x29b78c?_0x29b78c[_0x4d949b(0x124)](_0x4107ef):_0x5f166f[_0x4d949b(0x13f)](_0x4107ef)),a=(_0x4247df,_0x20c1a1,_0x188c9b)=>{const _0xe4cbf6=_0x4d949b;if(_0x20c1a1[_0xe4cbf6(0x16b)](_0x4247df))throw TypeError(_0xe4cbf6(0x1cd));_0x20c1a1 instanceof WeakSet?_0x20c1a1[_0xe4cbf6(0x164)](_0x4247df):_0x20c1a1[_0xe4cbf6(0x1ac)](_0x4247df,_0x188c9b);},O=(_0x2b2627,_0xf7288e,_0x596a8d,_0x595713)=>(we(_0x2b2627,_0xf7288e,_0x4d949b(0x141)),_0x595713?_0x595713[_0x4d949b(0x124)](_0x2b2627,_0x596a8d):_0xf7288e[_0x4d949b(0x1ac)](_0x2b2627,_0x596a8d),_0x596a8d),n=(_0xf346f9,_0x6af4f,_0x2fbd57)=>(we(_0xf346f9,_0x6af4f,_0x4d949b(0x1b2)),_0x2fbd57),c=(_0x21a51a,_0x1cc7ce,_0x163aee)=>new Promise((_0x4e3891,_0x55fd0e)=>{const _0x5181d5=_0x4d949b;var _0x2dcba5=_0x2ff0c3=>{try{_0x51f475(_0x163aee['next'](_0x2ff0c3));}catch(_0x1e8820){_0x55fd0e(_0x1e8820);}},_0x33f869=_0x4257ca=>{const _0x2d60c4=_0x3479;try{_0x51f475(_0x163aee[_0x2d60c4(0x161)](_0x4257ca));}catch(_0x54aef7){_0x55fd0e(_0x54aef7);}},_0x51f475=_0x569286=>_0x569286[_0x5181d5(0x158)]?_0x4e3891(_0x569286[_0x5181d5(0x189)]):Promise[_0x5181d5(0x16f)](_0x569286[_0x5181d5(0x189)])[_0x5181d5(0x176)](_0x2dcba5,_0x33f869);_0x51f475((_0x163aee=_0x163aee['apply'](_0x21a51a,_0x1cc7ce))[_0x5181d5(0x10e)]());}),ke=(_0x5d7d4e=>(_0x5d7d4e['UTM_SOURCE']=_0x4d949b(0x16c),_0x5d7d4e[_0x4d949b(0x10d)]=_0x4d949b(0x1c0),_0x5d7d4e[_0x4d949b(0x122)]=_0x4d949b(0x166),_0x5d7d4e[_0x4d949b(0x1a3)]=_0x4d949b(0x14e),_0x5d7d4e[_0x4d949b(0x1dc)]='utm_content',_0x5d7d4e))(ke||{}),Je=new Set(Object[_0x4d949b(0x1cf)](ke)),N=_0x4d949b(0x126),Le=_0x4d949b(0x187),be=_0x4d949b(0x123),Ke=_0x4d949b(0x11b),Ne=_0x4d949b(0x14d),ze=_0x4d949b(0x17e),We=_0x4d949b(0x180),je=_0x4d949b(0x1c5),A,y=class y{constructor(){}static[_0x4d949b(0x175)](){return I(y,A)||O(y,A,new y()),I(y,A);}[_0x4d949b(0x19c)](_0x2af7b9){const _0x45efa8=_0x4d949b;y[_0x45efa8(0x1d0)]=_0x2af7b9;}['get'](_0x3e6ddb){return c(this,null,function*(){const _0x400e15=_0x3479;return(yield fetch(Le+_0x3e6ddb,{'headers':{'Authorization':y[_0x400e15(0x1d0)],'Content-Type':_0x400e15(0x1c4)}}))['json']();});}[_0x4d949b(0x157)](_0x464dd8,_0x414245){return c(this,null,function*(){const _0xfec90e=_0x3479;return(yield fetch(Le+_0x464dd8,{'body':JSON[_0xfec90e(0x183)](_0x414245||{}),'headers':{'Authorization':y['apiKey'],'Content-Type':_0xfec90e(0x1c4)},'method':_0xfec90e(0x159)}))[_0xfec90e(0x117)]();});}};A=new WeakMap(),a(y,A,void 0x0);var Ae=y,h=Ae[_0x4d949b(0x175)](),g=class extends Error{constructor(_0x4bb7a7){const _0x5c2863=_0x4d949b;super(_0x4bb7a7),this[_0x5c2863(0x18b)]=_0x5c2863(0x1b5);}};function _0x3479(_0x4c3733,_0x4bdb10){const _0x252966=_0x2529();return _0x3479=function(_0x3479df,_0x3a00c3){_0x3479df=_0x3479df-0x10c;let _0x248f7e=_0x252966[_0x3479df];return _0x248f7e;},_0x3479(_0x4c3733,_0x4bdb10);}g[_0x4d949b(0x170)]=!0x1,g['offline']=!navigator['onLine'],g[_0x4d949b(0x194)]=0x0,g[_0x4d949b(0x17a)]=!0x1;var ft=(_0x36fed1,_0x417725)=>{const _0x1cb7af=_0x4d949b;_0x417725 instanceof g?p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x182)+_0x417725[_0x1cb7af(0x174)]):_0x417725 instanceof Error?p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x12f)+_0x417725[_0x1cb7af(0x174)]):p(0x2,'OriginateFrom:\x20'+_0x36fed1+_0x1cb7af(0x12f)+String(_0x417725));},R=(_0x3bd04b,_0x278f6c,_0x525dce)=>c(void 0x0,null,function*(){const _0x6053cf=_0x4d949b;try{if(g['disableSDK'])throw new g(_0x6053cf(0x13e));if(_0x3bd04b!=='record\x20event'&&g[_0x6053cf(0x193)])throw new g(_0x6053cf(0x10c));if(_0x3bd04b!==_0x6053cf(0x19d)&&!g[_0x6053cf(0x17a)])throw new g(_0x6053cf(0x11c));return yield _0x278f6c();}catch(_0x401333){return _0x525dce?_0x525dce(_0x401333):(g[_0x6053cf(0x194)]===0x2||g[_0x6053cf(0x194)]===0x3)&&ft(_0x3bd04b,_0x401333),null;}}),Y=(_0x4cedbd=>(_0x4cedbd[_0x4cedbd[_0x4d949b(0x1a1)]=0x0]=_0x4d949b(0x1a1),_0x4cedbd[_0x4cedbd[_0x4d949b(0x196)]=0x1]=_0x4d949b(0x196),_0x4cedbd[_0x4cedbd['ERROR']=0x2]=_0x4d949b(0x131),_0x4cedbd[_0x4cedbd['ALL']=0x3]=_0x4d949b(0x154),_0x4cedbd))(Y||{}),p=(_0x3d8727,_0x3cd2cf)=>{const _0x4a5d48=_0x4d949b;g['debugLevel']!==0x0&&g[_0x4a5d48(0x194)]<=0x3&&(_0x3d8727===0x1?console[_0x4a5d48(0x112)]('INFO:\x20'+new Date()[_0x4a5d48(0x184)](),_0x3cd2cf):_0x3d8727===0x2&&console[_0x4a5d48(0x1a8)]('ERROR:\x20'+new Date()[_0x4a5d48(0x184)](),_0x3cd2cf));},d=(_0x3e53f0,_0x587f23)=>{const _0x133a02=_0x4d949b;g[_0x133a02(0x194)]!==0x0&&(_0x587f23?console[_0x133a02(0x156)](_0x3e53f0):console[_0x133a02(0x18e)](_0x3e53f0));},m=(_0x2dbbdb,_0x346cd9)=>{const _0xb61c1b=_0x4d949b;g['debugLevel']!==0x0&&(_0x346cd9?console[_0xb61c1b(0x1d3)](_0x2dbbdb):console[_0xb61c1b(0x1ad)]());},P,U,$,B,k,ee,Ge,L,V,v,T,te,He,ne,qe,J,Ue,K,Ce,oe,Ye,re,Qe,ie,Xe,ae,z,se,ce,Ze,le,et,ge,tt,W,_e,pe,nt,C,Q,_,X,ue,ot,j,De,Ee,rt,de,it,me,at,D,Z,Se,st,Ie,ct,ve,lt,G,xe,ye,gt,H,Fe,Te,pt,fe,ut,q,Me,he,Et,Oe,dt,w=class w{constructor(){a(this,ee),a(this,L),a(this,v),a(this,te),a(this,ne),a(this,J),a(this,K),a(this,oe),a(this,re),a(this,ie),a(this,ce),a(this,le),a(this,ge),a(this,W),a(this,pe),a(this,C),a(this,_),a(this,ue),a(this,j),a(this,Ee),a(this,de),a(this,me),a(this,D),a(this,Se),a(this,Ie),a(this,ve),a(this,G),a(this,ye),a(this,H),a(this,Te),a(this,fe),a(this,q),a(this,he),a(this,Oe),a(this,U,void 0x0),a(this,$,void 0x0),a(this,B,void 0x0),a(this,k,null),a(this,ae,()=>{const _0x1fc8ca=_0x3479;let _0x23d518=()=>{const _0x3d66de=_0x3479;let _0x277d85=JSON['parse'](localStorage[_0x3d66de(0x165)]('action')||'{}');Object['keys'](_0x277d85)[_0x3d66de(0x173)](_0x1cd25c=>{const _0x40b306=_0x3d66de;_0x277d85[_0x1cd25c][_0x40b306(0x1a9)]=new Date()[_0x40b306(0x1d9)](),_0x277d85[_0x1cd25c][_0x40b306(0x110)]=window[_0x40b306(0x1e0)]['hostname']+window[_0x40b306(0x1e0)][_0x40b306(0x1dd)];}),localStorage[_0x3d66de(0x1cc)](_0x3d66de(0x121),JSON[_0x3d66de(0x183)](_0x277d85));};_0x23d518(),window[_0x1fc8ca(0x19f)](_0x1fc8ca(0x142),_0x23d518);}),a(this,z,_0x4f745b=>{const _0x191656=_0x3479;let _0x4218e7=JSON[_0x191656(0x150)](localStorage[_0x191656(0x165)](_0x191656(0x121))||'{}');_0x4218e7[_0x4f745b]&&delete _0x4218e7[_0x4f745b],localStorage[_0x191656(0x1cc)]('action',JSON['stringify'](_0x4218e7));}),a(this,se,()=>{const _0x46cf07=_0x3479;let _0x1650fe=JSON[_0x46cf07(0x150)](localStorage[_0x46cf07(0x165)]('action')||'{}');Object['keys'](_0x1650fe)[_0x46cf07(0x173)](_0x492526=>{const _0x5ccf08=_0x46cf07;_0x1650fe[_0x492526][_0x5ccf08(0x174)]['name']==='Popup'&&n(this,j,De)[_0x5ccf08(0x124)](this,_0x1650fe[_0x492526]['campaignId']);});});}static['getInstance'](){return I(w,P)||O(w,P,new w()),I(w,P);}['init'](_0x16bcbd){const _0x5cf994=_0x4d949b;R(_0x5cf994(0x19d),()=>c(this,null,function*(){const _0x1d72e9=_0x5cf994;p(0x1,_0x1d72e9(0x19e)),m(_0x1d72e9(0x19e),!0x0),d('Mergn\x20SDK\x20Initialization\x20Time',!0x0),n(this,oe,Ye)[_0x1d72e9(0x124)](this,_0x16bcbd),yield n(this,J,Ue)[_0x1d72e9(0x124)](this),g['isInitialized']=!0x0,setInterval(()=>c(this,null,function*(){const _0x524a2c=_0x1d72e9;yield n(this,J,Ue)[_0x524a2c(0x124)](this);}),0x493e0),yield n(this,L,V)[_0x1d72e9(0x124)](this),window[_0x1d72e9(0x19f)]('online',()=>c(this,null,function*(){const _0x1c8084=_0x1d72e9;g[_0x1c8084(0x193)]=!0x1;let _0x3633a3=JSON[_0x1c8084(0x150)](localStorage[_0x1c8084(0x165)](_0x1c8084(0x167))||'[]');Array[_0x1c8084(0x115)](_0x3633a3)&&(yield n(this,H,Fe)[_0x1c8084(0x124)](this,{'customerId':localStorage[_0x1c8084(0x165)](_0x1c8084(0x13d))||'','events':_0x3633a3}),localStorage[_0x1c8084(0x1b3)](_0x1c8084(0x167))),n(this,L,V)[_0x1c8084(0x124)](this),n(this,_,X)[_0x1c8084(0x124)](this);})),window[_0x1d72e9(0x19f)]('offline',()=>{const _0x59cc80=_0x1d72e9;g[_0x59cc80(0x193)]=!0x0;}),window['addEventListener']('load',()=>{const _0xfebfcb=_0x1d72e9;I(this,se)[_0xfebfcb(0x124)](this);});let _0x41c397=history['pushState'];history['pushState']=(..._0xf388da)=>{const _0x56b5e0=_0x1d72e9;_0x41c397[_0x56b5e0(0x168)](history,_0xf388da),n(this,K,Ce)[_0x56b5e0(0x124)](this);},n(this,K,Ce)['call'](this),d('Mergn\x20SDK\x20Initialization\x20Time',!0x1),m(_0x1d72e9(0x19e),!0x1);}));}[_0x4d949b(0x143)](_0x257143){const _0x10ef2b=_0x4d949b;if(!(_0x257143 in Y)){console[_0x10ef2b(0x1a8)](_0x10ef2b(0x199));return;}g[_0x10ef2b(0x194)]=_0x257143;}[_0x4d949b(0x160)](_0xc98c8e,_0x28b74a){const _0x9917ba=_0x4d949b;R(_0x9917ba(0x160),()=>c(this,null,function*(){yield n(this,ee,Ge)['call'](this,_0xc98c8e,_0x28b74a,void 0x0);}));}[_0x4d949b(0x15a)](_0x417db){const _0x483e18=_0x4d949b;R(_0x483e18(0x15a),()=>c(this,null,function*(){const _0x505026=_0x483e18;p(0x1,_0x505026(0x152)),m(_0x505026(0x152),!0x0),d(_0x505026(0x130),!0x0),p(0x1,'Identity:\x20'+_0x417db),yield n(this,C,Q)['call'](this,_0x417db),d('Logging\x20in\x20Time',!0x1),m(_0x505026(0x152),!0x1);}));}[_0x4d949b(0x120)](){R('logout',()=>c(this,null,function*(){const _0x5aca1a=_0x3479;p(0x1,_0x5aca1a(0x119)),m(_0x5aca1a(0x119),!0x0),d(_0x5aca1a(0x18d),!0x0),n(this,q,Me)[_0x5aca1a(0x124)](this),d(_0x5aca1a(0x18d),!0x1),m(_0x5aca1a(0x119),!0x1);}));}[_0x4d949b(0x1ae)](_0x26637e,_0x41ad1b){setTimeout(()=>{const _0x5180c5=_0x3479;R(_0x5180c5(0x19a),()=>c(this,null,function*(){const _0x5d0ae1=_0x5180c5;p(0x1,'Recording\x20event'),m(_0x5d0ae1(0x1b1),!0x0),d(_0x5d0ae1(0x1d4),!0x0),p(0x1,_0x5d0ae1(0x118)+{'eventName':_0x26637e,'eventProperties':_0x41ad1b}),n(this,v,T)['call'](this,_0x26637e,_0x41ad1b),d(_0x5d0ae1(0x1d4),!0x1),m('Recording\x20event',!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),ee=new WeakSet(),Ge=function(_0x26376f,_0xe9d7ae,_0x1a8aae){return c(this,null,function*(){const _0x2ac702=_0x3479;yield R(_0x2ac702(0x1ce),()=>c(this,null,function*(){const _0x44a6ca=_0x2ac702;p(0x1,'Recording\x20attribute'),m(_0x44a6ca(0x15d),!0x0),d(_0x44a6ca(0x18a),!0x0),p(0x1,'Attribute\x20Payload:\x0a\x20'+{'attributeName':_0x26376f,'attributeProperties':_0x1a8aae,'attributeValue':_0xe9d7ae}+')}'),yield n(this,L,V)['call'](this),yield n(this,he,Et)['call'](this);let _0x29f938=JSON[_0x44a6ca(0x150)](localStorage[_0x44a6ca(0x165)](_0x44a6ca(0x1aa))||'{}'),_0x267077=_0x1a8aae?n(this,G,xe)[_0x44a6ca(0x124)](this,_0x29f938,_0x26376f,_0x1a8aae):n(this,G,xe)[_0x44a6ca(0x124)](this,_0x29f938,_0x26376f);if(typeof _0x267077==_0x44a6ca(0x15f)){p(0x2,_0x267077);return;}n(this,_,X)[_0x44a6ca(0x124)](this);let {id:_0x3784e4}=_0x29f938[_0x26376f],_0x24acbc={'attributeId':_0x3784e4,'attributeProperties':_0x267077,'customerId':localStorage[_0x44a6ca(0x165)]('customer')||'','value':_0xe9d7ae};yield n(this,Oe,dt)[_0x44a6ca(0x124)](this,_0x24acbc),d(_0x44a6ca(0x18a),!0x1),m(_0x44a6ca(0x15d),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x5e306e=_0x3479;p(0x1,_0x5e306e(0x1b4)),m(_0x5e306e(0x1b4),!0x0),d(_0x5e306e(0x125),!0x0);let _0x3c7a9c=localStorage['getItem']('ttl'),_0x372f58=!0x1;if(_0x3c7a9c){if(_0x372f58=new Date()[_0x5e306e(0x1d9)]()-parseInt(_0x3c7a9c,0xa)>0x124f80,_0x372f58){let _0x2c91e7=localStorage[_0x5e306e(0x165)](_0x5e306e(0x179)),_0x33c692=localStorage[_0x5e306e(0x165)](_0x5e306e(0x11f));_0x2c91e7&&_0x33c692&&n(this,v,T)['call'](this,_0x5e306e(0x1e1),[{'eventProperty':'SESSION_ID','value':localStorage['getItem'](_0x5e306e(0x179))},{'eventProperty':_0x5e306e(0x12a),'value':new Date(parseInt(_0x33c692,0xa))[_0x5e306e(0x184)]()}]),n(this,q,Me)[_0x5e306e(0x124)](this),localStorage[_0x5e306e(0x1cc)](_0x5e306e(0x11f),''+new Date()['getTime']());}}else localStorage[_0x5e306e(0x1cc)](_0x5e306e(0x11f),''+new Date()[_0x5e306e(0x1d9)]());(!_0x3c7a9c||_0x372f58||n(this,re,Qe)[_0x5e306e(0x124)](this))&&(n(this,ce,Ze)[_0x5e306e(0x124)](this),yield n(this,C,Q)[_0x5e306e(0x124)](this),yield n(this,ie,Xe)[_0x5e306e(0x124)](this)),d(_0x5e306e(0x125),!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),T=function(_0x30acf6,_0x501578,_0x46ecd6,_0x57c4c6,_0x8e49e6){return c(this,null,function*(){const _0x57386b=_0x3479;yield R(_0x57386b(0x1d6),()=>c(this,null,function*(){const _0x3cc42f=_0x57386b;var _0x5e2a5e;p(0x1,_0x3cc42f(0x153)),m(_0x3cc42f(0x1b1),!0x0),d('Recording\x20event\x20Time',!0x0),p(0x1,'Event\x20Payload'),p(0x1,{'campaignCustomerInstanceId':_0x57c4c6,'eventName':_0x30acf6,'eventProperties':_0x501578,'name':_0x8e49e6}),_0x30acf6!==_0x3cc42f(0x1e1)&&(yield n(this,L,V)[_0x3cc42f(0x124)](this));let _0x10c35e=[];_0x501578&&_0x10c35e[_0x3cc42f(0x1e2)](..._0x501578),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':_0x3cc42f(0x181),'value':I(this,U)}),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':'operating-system','value':I(this,B)}),_0x10c35e[_0x3cc42f(0x1e2)]({'eventProperty':_0x3cc42f(0x10f),'value':I(this,$)});let _0x47ce49=n(this,Ie,ct)[_0x3cc42f(0x124)](this),_0xad31dc=n(this,ve,lt)[_0x3cc42f(0x124)](this,_0x47ce49,_0x30acf6,_0x10c35e);if(typeof _0xad31dc==_0x3cc42f(0x15f)){p(0x2,_0xad31dc);return;}n(this,_,X)['call'](this);let {id:_0x2a9940}=_0x47ce49[_0x30acf6],_0x5c7444=n(this,ye,gt)[_0x3cc42f(0x124)](this,M(Re(M(M({},_0x57c4c6?{'campaignCustomerInstanceId':_0x57c4c6}:{}),_0x46ecd6?{'campaignId':_0x46ecd6}:{}),{'eventId':_0x2a9940,'eventProperties':_0xad31dc,'sessionId':localStorage['getItem'](_0x3cc42f(0x179))||''}),_0x8e49e6?{'name':_0x8e49e6}:{}));if(g['offline']){let _0x171302=JSON['parse'](localStorage['getItem'](_0x3cc42f(0x167))||'[]');_0x171302[_0x3cc42f(0x171)]<=0x32&&(_0x171302[_0x3cc42f(0x1e2)](..._0x5c7444[_0x3cc42f(0x16d)]),localStorage[_0x3cc42f(0x1cc)](_0x3cc42f(0x167),JSON['stringify'](_0x171302)));return;}let _0x2f698e=yield n(this,H,Fe)[_0x3cc42f(0x124)](this,_0x5c7444);(_0x5e2a5e=_0x2f698e==null?void 0x0:_0x2f698e[_0x3cc42f(0x1c2)])==null||_0x5e2a5e[_0x3cc42f(0x173)](_0x1f1c4e=>{const _0x3480df=_0x3cc42f;n(this,Te,pt)[_0x3480df(0x124)](this,_0x1f1c4e[_0x3480df(0x174)][_0x3480df(0x18b)])&&(n(this,fe,ut)[_0x3480df(0x124)](this,_0x1f1c4e),I(this,ae)[_0x3480df(0x124)](this),n(this,j,De)[_0x3480df(0x124)](this,_0x1f1c4e[_0x3480df(0x15e)]));}),d(_0x3cc42f(0x1d4),!0x1),m(_0x3cc42f(0x1b1),!0x1);}));});},te=new WeakSet(),He=function(){const _0x31f780=_0x4d949b;let _0x2af937=navigator['userAgent']['toLowerCase']();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x31f780(0x1c1)](_0x2af937)?_0x31f780(0x18c):/windows|macintosh|linux|x11/i['test'](_0x2af937)?_0x31f780(0x1b8):_0x31f780(0x1b0);},ne=new WeakSet(),qe=function(){const _0x31b616=_0x4d949b;let _0x353b81=navigator[_0x31b616(0x14b)],_0x4f34ed;return _0x353b81[_0x31b616(0x16e)](_0x31b616(0x129))>-0x1?_0x4f34ed=_0x31b616(0x15c):_0x353b81['indexOf'](_0x31b616(0x11a))>-0x1?_0x4f34ed=_0x31b616(0x11a):_0x353b81[_0x31b616(0x16e)]('Firefox')>-0x1?_0x4f34ed='Mozilla\x20Firefox':_0x353b81[_0x31b616(0x16e)](_0x31b616(0x133))>-0x1?_0x4f34ed=_0x31b616(0x144):_0x353b81[_0x31b616(0x16e)]('MSIE')>-0x1?_0x4f34ed=_0x31b616(0x140):_0x4f34ed='Unknown',_0x4f34ed;},J=new WeakSet(),Ue=function(){return c(this,null,function*(){const _0x4ea7e2=_0x3479;try{yield h[_0x4ea7e2(0x13f)](_0x4ea7e2(0x127));}catch(_0x39fccc){throw g['disableSDK']=!0x0,_0x39fccc[_0x4ea7e2(0x174)];}});},K=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x1b409c=_0x3479;var _0x5e392c;p(0x1,'Tracking\x20page\x20change'),m(_0x1b409c(0x146),!0x0),d(_0x1b409c(0x186),!0x0);let _0x37bc6d=(_0x5e392c=window==null?void 0x0:window['location'])==null?void 0x0:_0x5e392c[_0x1b409c(0x1df)];if(_0x37bc6d!==I(this,k)){O(this,k,_0x37bc6d);let _0x5c2e9d=[];new URLSearchParams(new URL(window[_0x1b409c(0x1e0)]['href'])[_0x1b409c(0x137)])['forEach']((_0x1917bd,_0x236dbe)=>c(this,null,function*(){Je['has'](_0x236dbe)&&_0x5c2e9d['push']({'eventProperty':_0x236dbe,'value':_0x1917bd});})),yield n(this,v,T)[_0x1b409c(0x124)](this,_0x1b409c(0x111),[{'eventProperty':_0x1b409c(0x1c3),'value':window[_0x1b409c(0x1e0)]['pathname']},..._0x5c2e9d]);}d('Tracking\x20page\x20change\x20Time',!0x1),m(_0x1b409c(0x146),!0x1);});},oe=new WeakSet(),Ye=function(_0x4fbbb7){const _0x28adff=_0x4d949b;h[_0x28adff(0x19c)](_0x4fbbb7),O(this,U,navigator[_0x28adff(0x14b)]),O(this,$,n(this,ne,qe)[_0x28adff(0x124)](this)),O(this,B,n(this,te,He)[_0x28adff(0x124)](this));},re=new WeakSet(),Qe=function(){const _0x16f2ab=_0x4d949b;return!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x16d))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x13d))||!localStorage[_0x16f2ab(0x165)]('attributes')||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x16a))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x179))||!localStorage[_0x16f2ab(0x165)](_0x16f2ab(0x13d));},ie=new WeakSet(),Xe=function(){return c(this,null,function*(){const _0x56c15d=_0x3479;yield n(this,le,et)[_0x56c15d(0x124)](this),yield n(this,W,_e)[_0x56c15d(0x124)](this),yield n(this,C,Q)[_0x56c15d(0x124)](this);});},ae=new WeakMap(),z=new WeakMap(),se=new WeakMap(),ce=new WeakSet(),Ze=function(){const _0x201576=_0x4d949b;let _0x3cfbd4=localStorage['getItem'](_0x201576(0x16a));return _0x3cfbd4||(_0x3cfbd4=crypto['randomUUID'](),localStorage['setItem'](_0x201576(0x16a),_0x3cfbd4)),_0x3cfbd4;},le=new WeakSet(),et=function(){return c(this,null,function*(){const _0x869d52=_0x3479;if(!localStorage[_0x869d52(0x165)](_0x869d52(0x16d))){let _0x16e22=(yield n(this,ge,tt)['call'](this))[_0x869d52(0x1c2)];_0x16e22&&localStorage[_0x869d52(0x1cc)](_0x869d52(0x16d),JSON[_0x869d52(0x183)](_0x16e22));}});},ge=new WeakSet(),tt=function(){return c(this,null,function*(){const _0x11c631=_0x3479;try{return yield h['get'](''+Ne);}catch(_0x3994a0){throw new Error(_0x11c631(0x1ca));}});},W=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x3bfbd3=_0x3479;if(!localStorage['getItem'](_0x3bfbd3(0x1aa))){let _0x3bd02f=(yield n(this,pe,nt)[_0x3bfbd3(0x124)](this))[_0x3bfbd3(0x1c2)];_0x3bd02f&&localStorage[_0x3bfbd3(0x1cc)](_0x3bfbd3(0x1aa),JSON['stringify'](_0x3bd02f));}});},pe=new WeakSet(),nt=function(){return c(this,null,function*(){try{return yield h['get'](''+be);}catch(_0x44e4d4){throw new Error('Error\x20fetching\x20attribute\x20data');}});},C=new WeakSet(),Q=function(_0x46064d){return c(this,null,function*(){const _0x516577=_0x3479;localStorage[_0x516577(0x165)](_0x516577(0x179))||(localStorage['setItem'](_0x516577(0x179),crypto[_0x516577(0x198)]()),yield n(this,v,T)[_0x516577(0x124)](this,_0x516577(0x145),[{'eventProperty':_0x516577(0x12d),'value':localStorage[_0x516577(0x165)]('session')},{'eventProperty':_0x516577(0x12a),'value':new Date(parseInt(localStorage[_0x516577(0x165)]('ttl')||'',0xa))['toISOString']()}]));let _0x5d79a7={'deviceId':localStorage[_0x516577(0x165)](_0x516577(0x16a))||crypto[_0x516577(0x198)](),'os':I(this,U)};if(_0x46064d)_0x5d79a7['identity']=_0x46064d;else{if(!_0x46064d&&localStorage['getItem'](_0x516577(0x13d)))return;}try{let _0x5ac9b6=yield n(this,ue,ot)[_0x516577(0x124)](this,_0x5d79a7);_0x5ac9b6!==void 0x0&&localStorage[_0x516577(0x1cc)]('customer',_0x5ac9b6);}catch(_0x579168){throw new Error(_0x516577(0x14a));}});},_=new WeakSet(),X=function(){const _0x24bb18=_0x4d949b;localStorage[_0x24bb18(0x1cc)](_0x24bb18(0x11f),''+new Date()[_0x24bb18(0x1d9)]());},ue=new WeakSet(),ot=function(_0xa5fa52){return c(this,null,function*(){const _0x448695=_0x3479;try{return(yield h['post'](''+We+je,_0xa5fa52))[_0x448695(0x1c2)];}catch(_0x4c62f1){throw new Error(_0x448695(0x149));}});},j=new WeakSet(),De=function(_0x1724f1){const _0x200888=_0x4d949b;let _0x36813a=n(this,Ee,rt)[_0x200888(0x124)](this);if(_0x36813a!=null&&_0x36813a[_0x1724f1])switch(_0x36813a[_0x1724f1][_0x200888(0x147)]){case _0x200888(0x191):{n(this,me,at)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}case'IMMEDIATELY':{n(this,D,Z)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}case'SCROLL':{n(this,de,it)[_0x200888(0x124)](this,_0x36813a[_0x1724f1]);break;}default:return;}},Ee=new WeakSet(),rt=function(){const _0x193a80=_0x4d949b;let _0x3d6fe2=localStorage[_0x193a80(0x165)]('action');return _0x3d6fe2?JSON[_0x193a80(0x150)](_0x3d6fe2):null;},de=new WeakSet(),it=function(_0x4d0b36){const _0x3ed88a=_0x4d949b;let _0x19f88c=()=>{const _0x47eb40=_0x3479;var _0xc88b65,_0x50bf4d;let _0x4d35e7=window[_0x47eb40(0x1de)],_0x47fbe9=document[_0x47eb40(0x116)][_0x47eb40(0x138)],_0x97168d=window[_0x47eb40(0x197)]/(_0x47fbe9-_0x4d35e7)*0x64;console[_0x47eb40(0x128)](_0x47eb40(0x11e),_0x97168d),console[_0x47eb40(0x128)](_0x47eb40(0x172),(_0xc88b65=_0x4d0b36[_0x47eb40(0x12b)])==null?void 0x0:_0xc88b65['value']),_0x97168d>(((_0x50bf4d=_0x4d0b36[_0x47eb40(0x12b)])==null?void 0x0:_0x50bf4d[_0x47eb40(0x189)])||0x0)&&(window[_0x47eb40(0x1db)]('scroll',_0x19f88c),console['log'](_0x47eb40(0x1b9)),n(this,D,Z)['call'](this,_0x4d0b36));};window[_0x3ed88a(0x19f)](_0x3ed88a(0x1c6),_0x19f88c);},me=new WeakSet(),at=function(_0x114a41){const _0x39d50d=_0x4d949b;var _0x84b024;let _0x507098=_0x114a41[_0x39d50d(0x1a9)]-0x1f4+(((_0x84b024=_0x114a41[_0x39d50d(0x12b)])==null?void 0x0:_0x84b024[_0x39d50d(0x189)])||0x0)*0x3e8-new Date()[_0x39d50d(0x1d9)]();_0x507098>0x0&&_0x114a41['page']===window[_0x39d50d(0x1e0)]['hostname']+window[_0x39d50d(0x1e0)][_0x39d50d(0x1dd)]&&setTimeout(()=>{const _0x314ddf=_0x39d50d;I(this,z)[_0x314ddf(0x124)](this,_0x114a41['campaignId']),n(this,D,Z)[_0x314ddf(0x124)](this,_0x114a41);},_0x507098);},D=new WeakSet(),Z=function(_0x413486){const _0x2e790e=_0x4d949b;let _0x2a1bf1=n(this,Se,st)['call'](this,_0x2e790e(0x114),_0x413486);document['body']['appendChild'](_0x2a1bf1),n(this,v,T)['call'](this,N,[{'eventProperty':'Popup\x20View','value':JSON[_0x2e790e(0x183)]({'campaignId':_0x413486[_0x2e790e(0x15e)]})}],_0x413486[_0x2e790e(0x15e)],_0x413486[_0x2e790e(0x1a7)],'view'),I(this,z)['call'](this,_0x413486[_0x2e790e(0x15e)]);},Se=new WeakSet(),st=function(_0x590cfa,_0x1d98be){const _0x3e1455=_0x4d949b;var _0x4d6ed8;let {campaignCustomerInstanceId:_0x5c98fe,campaignId:_0x32185f,message:{design:_0x35560e}}=_0x1d98be,_0x9303a0=document[_0x3e1455(0x192)](_0x590cfa);_0x9303a0['id']='popup_container_'+_0x32185f,_0x9303a0[_0x3e1455(0x1b6)]=_0x35560e,_0x9303a0['style'][_0x3e1455(0x135)]=_0x3e1455(0x1af),_0x9303a0[_0x3e1455(0x12e)][_0x3e1455(0x18f)]='0',_0x9303a0['style']['left']='0',_0x9303a0[_0x3e1455(0x12e)][_0x3e1455(0x1ba)]=_0x3e1455(0x169),_0x9303a0['style'][_0x3e1455(0x1d1)]='100%',_0x9303a0['style'][_0x3e1455(0x136)]=_0x3e1455(0x14c);let _0x45201c=_0x9303a0[_0x3e1455(0x1d2)](_0x3e1455(0x1d5));return _0x45201c&&(_0x45201c[_0x3e1455(0x12e)][_0x3e1455(0x136)]='50'),_0x9303a0['querySelectorAll']('[id^=\x22u_content_form_\x22]')[_0x3e1455(0x173)](_0x4d3d07=>{const _0x36ee0b=_0x3e1455;let _0x4bfb76=_0x4d3d07[_0x36ee0b(0x1d2)](_0x36ee0b(0x134));_0x4bfb76&&_0x4bfb76[_0x36ee0b(0x19f)]('submit',()=>c(this,null,function*(){const _0x4ba7ac=_0x36ee0b;_0x9303a0[_0x4ba7ac(0x139)]();let _0x4e469a=new FormData(_0x4bfb76),_0x1e2331={};for(let [_0x20e8ed,_0x2c00fc]of _0x4e469a[_0x4ba7ac(0x163)]())_0x1e2331[_0x20e8ed]=_0x2c00fc;yield n(this,v,T)[_0x4ba7ac(0x124)](this,N,[{'eventProperty':'Form\x20Submit','value':JSON[_0x4ba7ac(0x183)]({'campaignId':_0x32185f,'formId':_0x4d3d07['id'],'formValues':_0x1e2331})}],_0x32185f,_0x5c98fe,_0x4ba7ac(0x134));}));}),(_0x4d6ed8=_0x9303a0[_0x3e1455(0x1d2)](_0x3e1455(0x11d)))==null||_0x4d6ed8[_0x3e1455(0x19f)](_0x3e1455(0x1b7),()=>c(this,null,function*(){const _0xfa2c9c=_0x3e1455;_0x9303a0['remove'](),yield n(this,v,T)[_0xfa2c9c(0x124)](this,N,[{'eventProperty':'Close\x20Click','value':JSON['stringify']({'campaignId':_0x32185f})}],_0x32185f,_0x5c98fe,'close');})),_0x9303a0[_0x3e1455(0x1a5)](_0x3e1455(0x190))[_0x3e1455(0x173)](_0x102649=>{const _0x1f5287=_0x3e1455;_0x102649['addEventListener'](_0x1f5287(0x1b7),()=>c(this,null,function*(){const _0x3fc590=_0x1f5287;_0x9303a0[_0x3fc590(0x139)](),yield n(this,v,T)[_0x3fc590(0x124)](this,N,[{'eventProperty':_0x3fc590(0x177),'value':JSON['stringify']({'buttonId':_0x102649['id'],'campaignId':_0x32185f})}],_0x32185f,_0x5c98fe,_0x3fc590(0x1b7));}));}),_0x9303a0[_0x3e1455(0x1a5)](_0x3e1455(0x1a2))[_0x3e1455(0x173)](_0x5ce356=>{const _0x535b5b=_0x3e1455;_0x5ce356['addEventListener'](_0x535b5b(0x1b7),()=>c(this,null,function*(){const _0x2359af=_0x535b5b;yield n(this,v,T)[_0x2359af(0x124)](this,N,[{'eventProperty':_0x2359af(0x1da),'value':JSON[_0x2359af(0x183)]({'campaignId':_0x32185f,'imageClassName':_0x5ce356[_0x2359af(0x1a0)],'imageId':_0x5ce356['id']})}],_0x32185f,_0x5c98fe,'click');}));}),_0x9303a0;},Ie=new WeakSet(),ct=function(){const _0x3aacf2=_0x4d949b;let _0x12f671=localStorage['getItem']('events');return _0x12f671?JSON[_0x3aacf2(0x150)](_0x12f671):{};},ve=new WeakSet(),lt=function(_0x32a8d7,_0x13c949,_0x292475){const _0x21adfd=_0x4d949b;if(!Object['prototype'][_0x21adfd(0x17b)][_0x21adfd(0x124)](_0x32a8d7,_0x13c949))return _0x21adfd(0x1be)+_0x13c949+'\x20is\x20not\x20valid.';if(!_0x292475)return[];let _0x34fab1=_0x32a8d7[_0x13c949];if(!(_0x34fab1!=null&&_0x34fab1[_0x21adfd(0x1c7)]))return _0x21adfd(0x1be)+_0x13c949+_0x21adfd(0x1d7);let _0xd10e06=_0x292475[_0x21adfd(0x15b)](({eventProperty:_0x47d432})=>!Object[_0x21adfd(0x1c8)][_0x21adfd(0x17b)][_0x21adfd(0x124)](_0x34fab1['eventProperty'],_0x47d432))[_0x21adfd(0x151)](({eventProperty:_0x36bed1})=>_0x36bed1);return _0xd10e06[_0x21adfd(0x171)]>0x0?_0x21adfd(0x1be)+_0x13c949+_0x21adfd(0x1ab)+_0xd10e06[_0x21adfd(0x1a4)](',\x20')+'.':_0x292475[_0x21adfd(0x151)](({eventProperty:_0xe82457,value:_0x4d34d4})=>({'eventPropertyId':_0x34fab1[_0x21adfd(0x1c7)][_0xe82457]['id'],'value':_0x4d34d4}));},G=new WeakSet(),xe=function(_0x3144cf,_0x1649bb,_0x16c303){const _0x26054e=_0x4d949b;if(!Object[_0x26054e(0x1c8)][_0x26054e(0x17b)][_0x26054e(0x124)](_0x3144cf,_0x1649bb))return'Attribute\x20'+_0x1649bb+_0x26054e(0x17d);if(!_0x16c303)return[];let _0x2bf7f4=_0x3144cf[_0x1649bb];if(!(_0x2bf7f4!=null&&_0x2bf7f4[_0x26054e(0x12c)]))return _0x26054e(0x1bf)+_0x1649bb+'\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.';let _0x97b628=_0x16c303[_0x26054e(0x15b)](({attributeProperty:_0x55485f})=>!Object[_0x26054e(0x1c8)][_0x26054e(0x17b)][_0x26054e(0x124)](_0x2bf7f4[_0x26054e(0x12c)],_0x55485f))[_0x26054e(0x151)](({attributeProperty:_0x5d2c58})=>_0x5d2c58);return _0x97b628['length']>0x0?_0x26054e(0x1bf)+_0x1649bb+_0x26054e(0x13c)+_0x97b628['join'](',\x20')+'.':_0x16c303['map'](({attributeProperty:_0x529ea6,value:_0x26974d})=>({'attributePropertyId':_0x2bf7f4['attributeProperty'][_0x529ea6]['id'],'value':_0x26974d}));},ye=new WeakSet(),gt=function(_0x5c8c3a){const _0xbce1ff=_0x4d949b;return{'customerId':localStorage['getItem'](_0xbce1ff(0x13d))||'','events':[_0x5c8c3a]};},H=new WeakSet(),Fe=function(_0x4c33ea){return c(this,null,function*(){const _0x34889e=_0x3479;try{return yield h[_0x34889e(0x157)](''+Ne+ze,_0x4c33ea);}catch(_0x18044f){throw new Error(_0x34889e(0x1bb));}});},Te=new WeakSet(),pt=function(_0x532ffe){const _0x40a45c=_0x4d949b;return _0x532ffe===_0x40a45c(0x13a);},fe=new WeakSet(),ut=function(_0x159e06){const _0x1bd7c9=_0x4d949b;let _0x5c618d=JSON[_0x1bd7c9(0x150)](localStorage['getItem'](_0x1bd7c9(0x121))||'{}');_0x5c618d[_0x159e06[_0x1bd7c9(0x15e)]]=Re(M({},_0x159e06),{'initialTime':new Date()[_0x1bd7c9(0x1d9)](),'page':window[_0x1bd7c9(0x1e0)][_0x1bd7c9(0x132)]+window[_0x1bd7c9(0x1e0)][_0x1bd7c9(0x1dd)]}),localStorage[_0x1bd7c9(0x1cc)](_0x1bd7c9(0x121),JSON[_0x1bd7c9(0x183)](_0x5c618d));},q=new WeakSet(),Me=function(){const _0x4af900=_0x4d949b;localStorage[_0x4af900(0x1b3)]('action'),localStorage[_0x4af900(0x1b3)](_0x4af900(0x16d)),localStorage['removeItem']('attributes'),localStorage['removeItem'](_0x4af900(0x167)),localStorage['removeItem']('ttl'),localStorage[_0x4af900(0x1b3)]('session');},he=new WeakSet(),Et=function(){return c(this,null,function*(){const _0x2c07a1=_0x3479;localStorage[_0x2c07a1(0x165)](_0x2c07a1(0x1aa))||(yield n(this,W,_e)[_0x2c07a1(0x124)](this));});},Oe=new WeakSet(),dt=function(_0x1d8428){return c(this,null,function*(){const _0x535450=_0x3479;try{return yield h[_0x535450(0x157)](''+be+Ke,_0x1d8428);}catch(_0x54c70d){throw new Error('Error\x20posting\x20attribute\x20record');}});},a(w,P,void 0x0);var Pe=w,Ve=Pe[_0x4d949b(0x175)]();typeof window!=_0x4d949b(0x188)&&(window[_0x4d949b(0x1c9)]=Ve);function _0x2529(){const _0x1675c2=['width','Error\x20posting\x20event\x20record','Cannot\x20','9rqTSYD','Event\x20','Attribute\x20','utm_medium','test','data','URL','application/json','/set-identity','scroll','eventProperty','prototype','mergn','Error\x20fetching\x20event\x20data','1301992xpZbce','setItem','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','#\x20recordAttribute','values','apiKey','height','querySelector','group','Recording\x20event\x20Time','.u-popup-container','#\x20record\x20event','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','413128ZvREog','getTime','Image\x20Click','removeEventListener','UTM_CONTENT','pathname','innerHeight','href','location','Web\x20Session\x20Concluded','push','Mergn\x20is\x20offline!','UTM_MEDIUM','next','os-version','page','Viewed\x20Webpage','info','getOwnPropertySymbols','div','isArray','documentElement','json','Event\x20Payload:\x0a\x20','Logging\x20out','Safari','/set-attribute','Mergn\x20not\x20initialized!','.u-close-button','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','ttl','logout','action','UTM_CAMPAIGN','/attribute','call','Checking\x20TTL\x20Time','Popup\x20Action','/brand','log','Chrome','SESSION_CREATED','campaignEntryTimeValue','attributeProperty','SESSION_ID','style','\x0aUnexpected\x20error:\x20','Logging\x20in\x20Time','ERROR','hostname','Edg','form','position','zIndex','search','scrollHeight','remove','Popup','9PqgoYl','\x20has\x20invalid\x20attributeProperties:\x20','customer','Mergn\x20SDK\x20is\x20disabled!','get','Internet\x20Explorer','write\x20to\x20private\x20field','beforeunload','setDebugLevel','Microsoft\x20Edge','Web\x20Session\x20Started','Tracking\x20page\x20change','campaignEntryTime','187019AiPBVg','Error\x20posting\x20identity\x20data','Error\x20setting\x20identity','userAgent','99999999','/event','utm_term','1346676DMZfUf','parse','map','Logging\x20in','#\x20Recording\x20event','ALL','4198290FEnGYl','time','post','done','POST','login','filter','Google\x20Chrome','Recording\x20attribute','campaignId','string','recordAttribute','throw','347202GYPeFG','entries','add','getItem','utm_campaign','offlineEvents','apply','100%','uniqueIdentity','has','utm_source','events','indexOf','resolve','disableSDK','length','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','forEach','message','getInstance','then','Button\x20Click','defineProperties','session','isInitialized','hasOwnProperty','214792CrlaPr','\x20is\x20not\x20valid.','/record-event','propertyIsEnumerable','/customer','Platform','\x0aMergnError:\x20','stringify','toISOString','read\x20from\x20private\x20field','Tracking\x20page\x20change\x20Time','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','undefined','value','Recording\x20attribute\x20Time','name','Mobile','Logging\x20out\x20Time','timeEnd','top','[id^=\x22u_content_button_\x22]','DELAY','createElement','offline','debugLevel','5wnwOwr','INFO','scrollY','randomUUID','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','record\x20event','143tOrRUu','updateAPIKey','init','Initializing\x20Mergn\x20SDK','addEventListener','className','NONE','.u-popup-container\x20img','UTM_TERM','join','querySelectorAll','176CToEYu','campaignCustomerInstanceId','error','initialTime','attributes','\x20has\x20invalid\x20eventProperties:\x20','set','groupEnd','recordEvent','fixed','Unknown','Recording\x20event','access\x20private\x20method','removeItem','Checking\x20TTL','MergnError','innerHTML','click','Web','called\x202'];_0x2529=function(){return _0x1675c2;};return _0x2529();}var En=Ve;export{En as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mergn-webapp-sdk",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "author": "yaseenmergn123",
6
6
  "main": "./dist/index.js",
@@ -45,11 +45,5 @@
45
45
  "ts-node": "^10.9.2",
46
46
  "tsup": "^8.0.1",
47
47
  "typescript": "^5.3.3"
48
- },
49
- "dependencies": {
50
- "axios": "^1.6.5",
51
- "axios-queue-js": "^1.1.6",
52
- "axios-retry": "^4.0.0",
53
- "uuid": "^9.0.1"
54
48
  }
55
49
  }