mergn-webapp-sdk 1.0.14 → 1.0.16
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.
- package/README.md +11 -3
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,17 +7,25 @@
|
|
|
7
7
|
|
|
8
8
|
Mergn Web SDK is available as an npm package.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
#### Using a package manager
|
|
11
11
|
|
|
12
12
|
`npm install mergn-webapp-sdk --save`
|
|
13
13
|
|
|
14
|
+
```javascript
|
|
15
|
+
import mergn from 'mergn-webapp-sdk';
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
#### Using a CDN
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<script src="https://cdn.jsdelivr.net/npm/mergn-webapp-sdk@1.0.15/dist/index.global.js"></script>
|
|
22
|
+
```
|
|
23
|
+
|
|
14
24
|
## Initialization
|
|
15
25
|
|
|
16
26
|
#### Add your Mergn account credentials
|
|
17
27
|
|
|
18
28
|
```javascript
|
|
19
|
-
import mergn from 'mergn-webapp-sdk';
|
|
20
|
-
|
|
21
29
|
mergn.init('Api_Key'); // Replace with values applicable to you. Refer below
|
|
22
30
|
```
|
|
23
31
|
|
package/dist/index.global.js
CHANGED
|
@@ -1 +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;})());
|
|
1
|
+
'use strict';(function(_0x386ae4,_0x1ca240){const _0x305716=_0x37fa,_0x353eab=_0x386ae4();while(!![]){try{const _0x421e06=-parseInt(_0x305716(0x2b0))/0x1+-parseInt(_0x305716(0x212))/0x2+-parseInt(_0x305716(0x217))/0x3*(-parseInt(_0x305716(0x261))/0x4)+parseInt(_0x305716(0x288))/0x5+-parseInt(_0x305716(0x233))/0x6*(-parseInt(_0x305716(0x2bc))/0x7)+parseInt(_0x305716(0x24e))/0x8+-parseInt(_0x305716(0x1f5))/0x9;if(_0x421e06===_0x1ca240)break;else _0x353eab['push'](_0x353eab['shift']());}catch(_0x258bd9){_0x353eab['push'](_0x353eab['shift']());}}}(_0x3b4f,0x7f24b));function _0x3b4f(){const _0xd3aed0=['Button\x20Click','toLowerCase','6110920YAPbCU','value','UTM_SOURCE','ERROR:\x20','UTM_MEDIUM','offlineEvents','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','Image\x20Click','undefined','filter','getTime','groupEnd','99999999','call','UTM_CONTENT','removeItem','isArray','attributeProperty','Checking\x20TTL','8kasteR','forEach','MSIE','resolve','Initializing\x20Mergn\x20SDK','string','Logging\x20out','Mozilla\x20Firefox','Web\x20Session\x20Concluded','position','pathname','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','add','map','push','Mergn\x20SDK\x20is\x20disabled!','recordAttribute','Error\x20fetching\x20event\x20data','record\x20event','click','error','utm_medium','innerHeight','getItem','entries','time','Cannot\x20','Safari','next','.u-popup-container\x20img','load','IMMEDIATELY','scrollY','SESSION_ID','page','set','hostname','utm_campaign','session','4238375pfAREd','data','[id^=\x22u_content_form_\x22]','test','json','href','loading','remove','Popup\x20Action','/customer','Recording\x20attribute\x20Time','customer','values','Tracking\x20page\x20change','height','offline','isInitialized','Recording\x20event\x20Time','action','querySelectorAll','Attribute\x20','Unknown','body','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','Recording\x20event','campaignEntryTimeValue','access\x20private\x20method','attributes','hasOwnProperty','randomUUID','OriginateFrom:\x20','Chrome','style','has','Internet\x20Explorer','setDebugLevel','Recording\x20attribute','Mergn\x20is\x20offline!','login','pushState','418016eAwbxh','utm_content','INFO','Event\x20Payload','Close\x20Click','indexOf','\x0aMergnError:\x20','Attribute\x20Payload:\x0a\x20','[id^=\x22u_content_button_\x22]','length','beforeunload','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','1405439YMuDMM','initialTime','div','Mergn\x20not\x20initialized!','message','parse','100%','prototype','zIndex','Logging\x20in\x20Time','.u-close-button','mergn','os-version','defineProperties','Popup\x20View','#\x20recordAttribute','Event\x20Payload:\x0a\x20','popup_container_','5608197DOgkTf','\x20has\x20invalid\x20attributeProperties:\x20','Error\x20posting\x20identity\x20data','post','Logging\x20out\x20Time','/attribute','disableSDK','appendChild','campaignId','view','form','ttl','Firefox','createElement','Logging\x20in','Popup','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','SESSION_CREATED','userAgent','/brand','propertyIsEnumerable','campaignCustomerInstanceId','setItem','addEventListener','querySelector','Tracking\x20page\x20change\x20Time','updateAPIKey','stringify','ALL','1940486bFfMOR','Error\x20fetching\x20attribute\x20data','\x20is\x20not\x20valid.','onLine','getInstance','1079781LuwtSs','scrollHeight','scroll','top','fixed','documentElement','name','UTM_TERM','debugLevel','#\x20Recording\x20event','#\x20record\x20event','Microsoft\x20Edge','search','.u-popup-container','getOwnPropertySymbols','operating-system','\x20has\x20invalid\x20eventProperties:\x20','join','NONE','group','info','Web','INFO:\x20','POST','\x0aUnexpected\x20error:\x20','apiKey','Edg','ERROR','6XKcbDA','called\x202','/set-identity','MergnError','Mergn\x20is\x20loading!','/event','done','Viewed\x20Webpage','get','Mergn\x20SDK\x20Initialization\x20Time','keys','Error\x20setting\x20identity','apply','Checking\x20TTL\x20Time','events','online','eventProperty','Event\x20','logout','location','log','init','defineProperty','toISOString','Error\x20posting\x20event\x20record'];_0x3b4f=function(){return _0xd3aed0;};return _0x3b4f();}function _0x37fa(_0x4b29b6,_0x578dea){const _0x3b4f1b=_0x3b4f();return _0x37fa=function(_0x37fa02,_0x78dfb7){_0x37fa02=_0x37fa02-0x1e6;let _0x33caf0=_0x3b4f1b[_0x37fa02];return _0x33caf0;},_0x37fa(_0x4b29b6,_0x578dea);}((()=>{const _0x134d2b=_0x37fa;var _0x167c65=Object[_0x134d2b(0x249)],_0x1b89d3=Object[_0x134d2b(0x1f0)],_0x5f5162=Object['getOwnPropertyDescriptors'],_0x906f46=Object[_0x134d2b(0x225)],_0x2630f3=Object['prototype'][_0x134d2b(0x2a4)],_0xe7d69b=Object[_0x134d2b(0x1ea)][_0x134d2b(0x209)],_0x2ddd95=(_0x106d01,_0x110235,_0x1899b5)=>_0x110235 in _0x106d01?_0x167c65(_0x106d01,_0x110235,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1899b5}):_0x106d01[_0x110235]=_0x1899b5,_0x2dfea2=(_0x371b5f,_0x5e349e)=>{const _0x23015a=_0x134d2b;for(var _0x4fa2ae in _0x5e349e||(_0x5e349e={}))_0x2630f3[_0x23015a(0x25b)](_0x5e349e,_0x4fa2ae)&&_0x2ddd95(_0x371b5f,_0x4fa2ae,_0x5e349e[_0x4fa2ae]);if(_0x906f46){for(var _0x4fa2ae of _0x906f46(_0x5e349e))_0xe7d69b[_0x23015a(0x25b)](_0x5e349e,_0x4fa2ae)&&_0x2ddd95(_0x371b5f,_0x4fa2ae,_0x5e349e[_0x4fa2ae]);}return _0x371b5f;},_0x42814b=(_0x10929a,_0x153169)=>_0x1b89d3(_0x10929a,_0x5f5162(_0x153169)),_0x92d32d=(_0x229b27,_0xc1eff,_0x53988e)=>{const _0x66987d=_0x134d2b;if(!_0xc1eff['has'](_0x229b27))throw TypeError(_0x66987d(0x27b)+_0x53988e);},_0x2a6e0f=(_0x3f881b,_0x450d58,_0x438d49)=>(_0x92d32d(_0x3f881b,_0x450d58,'read\x20from\x20private\x20field'),_0x438d49?_0x438d49[_0x134d2b(0x25b)](_0x3f881b):_0x450d58[_0x134d2b(0x23b)](_0x3f881b)),_0x5d7673=(_0x3dd13f,_0x2512b3,_0x1ddddf)=>{const _0x395828=_0x134d2b;if(_0x2512b3[_0x395828(0x2a9)](_0x3dd13f))throw TypeError(_0x395828(0x254));_0x2512b3 instanceof WeakSet?_0x2512b3[_0x395828(0x26d)](_0x3dd13f):_0x2512b3[_0x395828(0x284)](_0x3dd13f,_0x1ddddf);},_0xc5a7a0=(_0x6033c9,_0xf6fec6,_0x208e12,_0x1ff147)=>(_0x92d32d(_0x6033c9,_0xf6fec6,'write\x20to\x20private\x20field'),_0x1ff147?_0x1ff147[_0x134d2b(0x25b)](_0x6033c9,_0x208e12):_0xf6fec6[_0x134d2b(0x284)](_0x6033c9,_0x208e12),_0x208e12),_0x43c20c=(_0x19124b,_0x51364a,_0x2410c5)=>(_0x92d32d(_0x19124b,_0x51364a,_0x134d2b(0x2a2)),_0x2410c5),_0x22a439=(_0x564850,_0x38734b,_0x3b8fc0)=>new Promise((_0x13b970,_0x4479a5)=>{const _0xc382cd=_0x134d2b;var _0x54c0e1=_0x241e63=>{const _0x570f65=_0x37fa;try{_0x5993e8(_0x3b8fc0[_0x570f65(0x27d)](_0x241e63));}catch(_0x52e36e){_0x4479a5(_0x52e36e);}},_0x2f23ac=_0x393b89=>{try{_0x5993e8(_0x3b8fc0['throw'](_0x393b89));}catch(_0xac0828){_0x4479a5(_0xac0828);}},_0x5993e8=_0x1f079a=>_0x1f079a[_0xc382cd(0x239)]?_0x13b970(_0x1f079a[_0xc382cd(0x24f)]):Promise[_0xc382cd(0x264)](_0x1f079a['value'])['then'](_0x54c0e1,_0x2f23ac);_0x5993e8((_0x3b8fc0=_0x3b8fc0[_0xc382cd(0x23f)](_0x564850,_0x38734b))[_0xc382cd(0x27d)]());}),_0x3ab269=(_0x4e035c=>(_0x4e035c[_0x134d2b(0x250)]='utm_source',_0x4e035c[_0x134d2b(0x252)]=_0x134d2b(0x276),_0x4e035c['UTM_CAMPAIGN']=_0x134d2b(0x286),_0x4e035c[_0x134d2b(0x21e)]='utm_term',_0x4e035c[_0x134d2b(0x25c)]=_0x134d2b(0x2b1),_0x4e035c))(_0x3ab269||{}),_0x599365=new Set(Object[_0x134d2b(0x294)](_0x3ab269)),_0x5bb614=_0x134d2b(0x290),_0x471a4d='https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api',_0x90aa16=_0x134d2b(0x1fa),_0x2302e7='/set-attribute',_0x7b7bd2=_0x134d2b(0x238),_0x30919d='/record-event',_0x388c51=_0x134d2b(0x291),_0x206a8f=_0x134d2b(0x235),_0x4b696b,_0x2dcefb=class _0x5a8ef7{constructor(){}static[_0x134d2b(0x216)](){return _0x2a6e0f(_0x5a8ef7,_0x4b696b)||_0xc5a7a0(_0x5a8ef7,_0x4b696b,new _0x5a8ef7()),_0x2a6e0f(_0x5a8ef7,_0x4b696b);}[_0x134d2b(0x20f)](_0x1a5839){const _0x2073d5=_0x134d2b;_0x5a8ef7[_0x2073d5(0x230)]=_0x1a5839;}['get'](_0x4fe1e7){return _0x22a439(this,null,function*(){const _0x39ab88=_0x37fa;return(yield fetch(_0x471a4d+_0x4fe1e7,{'headers':{'Authorization':_0x5a8ef7[_0x39ab88(0x230)],'Content-Type':'application/json'}}))[_0x39ab88(0x28c)]();});}[_0x134d2b(0x1f8)](_0x2687cc,_0x313cc8){return _0x22a439(this,null,function*(){const _0xc07759=_0x37fa;return(yield fetch(_0x471a4d+_0x2687cc,{'body':JSON[_0xc07759(0x210)](_0x313cc8||{}),'headers':{'Authorization':_0x5a8ef7[_0xc07759(0x230)],'Content-Type':'application/json'},'method':_0xc07759(0x22e)}))[_0xc07759(0x28c)]();});}};_0x4b696b=new WeakMap(),_0x5d7673(_0x2dcefb,_0x4b696b,void 0x0);var _0x4abaac=_0x2dcefb,_0x5924ae=_0x4abaac['getInstance'](),_0x3281d5=class extends Error{constructor(_0x10308f){const _0x536470=_0x134d2b;super(_0x10308f),this[_0x536470(0x21d)]=_0x536470(0x236);}};_0x3281d5[_0x134d2b(0x1fb)]=!0x1,_0x3281d5[_0x134d2b(0x297)]=!navigator[_0x134d2b(0x215)],_0x3281d5[_0x134d2b(0x21f)]=0x0,_0x3281d5[_0x134d2b(0x298)]=!0x1,_0x3281d5['loading']=!0x1;var _0x1da169=(_0x2a891b,_0x558949)=>{const _0x4314d7=_0x134d2b;_0x558949 instanceof _0x3281d5?_0x3b44f8(0x2,'OriginateFrom:\x20'+_0x2a891b+_0x4314d7(0x2b6)+_0x558949['message']):_0x558949 instanceof Error?_0x3b44f8(0x2,'OriginateFrom:\x20'+_0x2a891b+_0x4314d7(0x22f)+_0x558949[_0x4314d7(0x1e7)]):_0x3b44f8(0x2,_0x4314d7(0x2a6)+_0x2a891b+_0x4314d7(0x22f)+String(_0x558949));},_0x4c001c=(_0x33b097,_0x24d427,_0x697c68)=>_0x22a439(void 0x0,null,function*(){const _0x2ce62a=_0x134d2b;try{if(_0x3281d5[_0x2ce62a(0x1fb)])throw new _0x3281d5(_0x2ce62a(0x270));if(_0x33b097!==_0x2ce62a(0x273)&&_0x3281d5[_0x2ce62a(0x297)])throw new _0x3281d5(_0x2ce62a(0x2ad));if(_0x33b097!=='init'&&!_0x3281d5[_0x2ce62a(0x298)])throw new _0x3281d5(_0x2ce62a(0x1e6));if(_0x33b097!==_0x2ce62a(0x2ae)&&_0x3281d5[_0x2ce62a(0x28e)])throw new _0x3281d5(_0x2ce62a(0x237));return yield _0x24d427();}catch(_0x3e1c32){return _0x697c68?_0x697c68(_0x3e1c32):(_0x3281d5['debugLevel']===0x2||_0x3281d5[_0x2ce62a(0x21f)]===0x3)&&_0x1da169(_0x33b097,_0x3e1c32),null;}}),_0x5f398c=(_0x25ac17=>(_0x25ac17[_0x25ac17['NONE']=0x0]=_0x134d2b(0x229),_0x25ac17[_0x25ac17[_0x134d2b(0x2b2)]=0x1]=_0x134d2b(0x2b2),_0x25ac17[_0x25ac17[_0x134d2b(0x232)]=0x2]='ERROR',_0x25ac17[_0x25ac17[_0x134d2b(0x211)]=0x3]=_0x134d2b(0x211),_0x25ac17))(_0x5f398c||{}),_0x3b44f8=(_0xbce45d,_0x2e7fef)=>{const _0x2227ab=_0x134d2b;_0x3281d5[_0x2227ab(0x21f)]!==0x0&&_0x3281d5[_0x2227ab(0x21f)]<=0x3&&(_0xbce45d===0x1?console[_0x2227ab(0x22b)](_0x2227ab(0x22d)+new Date()['toISOString'](),_0x2e7fef):_0xbce45d===0x2&&console[_0x2227ab(0x275)](_0x2227ab(0x251)+new Date()[_0x2227ab(0x24a)](),_0x2e7fef));},_0x40c920=(_0x1a6c35,_0x4ee918)=>{const _0x81806=_0x134d2b;_0x3281d5[_0x81806(0x21f)]!==0x0&&(_0x4ee918?console[_0x81806(0x27a)](_0x1a6c35):console['timeEnd'](_0x1a6c35));},_0x3e1fd9=(_0x213fea,_0x8055c3)=>{const _0x17da32=_0x134d2b;_0x3281d5[_0x17da32(0x21f)]!==0x0&&(_0x8055c3?console[_0x17da32(0x22a)](_0x213fea):console[_0x17da32(0x259)]());},_0x4a6114,_0x1bb221,_0x173ff0,_0x16d86c,_0x173a69,_0x170413,_0xe1c41b,_0x552f0f,_0x1e70d1,_0x18c45f,_0x16011a,_0x3e6146,_0x2b7f02,_0x6bbcf4,_0x5aa0be,_0x5a8a71,_0x22e49e,_0x32458b,_0x16e27b,_0x58bdc4,_0x13bccd,_0x3b6e1e,_0x11f20e,_0x1a9ee6,_0x54bdc1,_0x2d6506,_0x13b424,_0x1ad2b5,_0x9f772e,_0x41bbfe,_0x4072d4,_0xab394d,_0x60bcfb,_0xfc2f46,_0x310bbf,_0x409f1a,_0x48d18c,_0x3bad35,_0x5b822f,_0x43e4b0,_0x3f9067,_0x4d9f6c,_0x30ff5a,_0x1a387b,_0x60bccd,_0x4e8c34,_0x2dea25,_0x17cb15,_0x2d9843,_0x1fa8b6,_0x5a1c01,_0x7016b9,_0x5a5cc2,_0x513d60,_0x446740,_0x15f155,_0x5520cd,_0x375ffb,_0x12f3bd,_0xb50ae7,_0x7fa546,_0x354aab,_0x3fb089,_0x525dbc,_0xa71c0f,_0x79a6e7,_0x456e3d,_0x5b0243,_0x41bc0e,_0x330d8b,_0x36f681,_0x4a31f1,_0x47cc64,_0x1c09ad,_0x3a06f9,_0x2cced9,_0x9a2e1d=class _0x5254c3{constructor(){_0x5d7673(this,_0x170413),_0x5d7673(this,_0x552f0f),_0x5d7673(this,_0x18c45f),_0x5d7673(this,_0x3e6146),_0x5d7673(this,_0x6bbcf4),_0x5d7673(this,_0x5a8a71),_0x5d7673(this,_0x32458b),_0x5d7673(this,_0x58bdc4),_0x5d7673(this,_0x3b6e1e),_0x5d7673(this,_0x1a9ee6),_0x5d7673(this,_0x9f772e),_0x5d7673(this,_0x4072d4),_0x5d7673(this,_0x60bcfb),_0x5d7673(this,_0x310bbf),_0x5d7673(this,_0x48d18c),_0x5d7673(this,_0x5b822f),_0x5d7673(this,_0x3f9067),_0x5d7673(this,_0x30ff5a),_0x5d7673(this,_0x60bccd),_0x5d7673(this,_0x2dea25),_0x5d7673(this,_0x2d9843),_0x5d7673(this,_0x5a1c01),_0x5d7673(this,_0x5a5cc2),_0x5d7673(this,_0x446740),_0x5d7673(this,_0x5520cd),_0x5d7673(this,_0x12f3bd),_0x5d7673(this,_0x7fa546),_0x5d7673(this,_0x3fb089),_0x5d7673(this,_0xa71c0f),_0x5d7673(this,_0x456e3d),_0x5d7673(this,_0x41bc0e),_0x5d7673(this,_0x36f681),_0x5d7673(this,_0x47cc64),_0x5d7673(this,_0x3a06f9),_0x5d7673(this,_0x1bb221,void 0x0),_0x5d7673(this,_0x173ff0,void 0x0),_0x5d7673(this,_0x16d86c,void 0x0),_0x5d7673(this,_0x173a69,null),_0x5d7673(this,_0x2d6506,()=>{const _0x554eea=_0x37fa;let _0x4d1ff6=()=>{const _0xa807f7=_0x37fa;let _0x5cddc8=JSON[_0xa807f7(0x1e8)](localStorage['getItem'](_0xa807f7(0x29a))||'{}');Object[_0xa807f7(0x23d)](_0x5cddc8)[_0xa807f7(0x262)](_0x1cdbcc=>{const _0x2a652d=_0xa807f7;_0x5cddc8[_0x1cdbcc][_0x2a652d(0x2bd)]=new Date()['getTime'](),_0x5cddc8[_0x1cdbcc]['page']=window['location']['hostname']+window[_0x2a652d(0x246)][_0x2a652d(0x26b)];}),localStorage[_0xa807f7(0x20b)]('action',JSON[_0xa807f7(0x210)](_0x5cddc8));};_0x4d1ff6(),window['addEventListener'](_0x554eea(0x2ba),_0x4d1ff6);}),_0x5d7673(this,_0x13b424,_0x247485=>{const _0x319599=_0x37fa;let _0x2bdcc8=JSON['parse'](localStorage[_0x319599(0x278)](_0x319599(0x29a))||'{}');_0x2bdcc8[_0x247485]&&delete _0x2bdcc8[_0x247485],localStorage[_0x319599(0x20b)]('action',JSON[_0x319599(0x210)](_0x2bdcc8));}),_0x5d7673(this,_0x1ad2b5,()=>{const _0x5a9e64=_0x37fa;let _0x3a8773=JSON['parse'](localStorage['getItem'](_0x5a9e64(0x29a))||'{}');Object[_0x5a9e64(0x23d)](_0x3a8773)[_0x5a9e64(0x262)](_0x5c1ced=>{const _0x2d42cd=_0x5a9e64;_0x3a8773[_0x5c1ced][_0x2d42cd(0x1e7)][_0x2d42cd(0x21d)]===_0x2d42cd(0x204)&&_0x43c20c(this,_0x60bccd,_0x4e8c34)['call'](this,_0x3a8773[_0x5c1ced]['campaignId']);});});}static[_0x134d2b(0x216)](){return _0x2a6e0f(_0x5254c3,_0x4a6114)||_0xc5a7a0(_0x5254c3,_0x4a6114,new _0x5254c3()),_0x2a6e0f(_0x5254c3,_0x4a6114);}[_0x134d2b(0x248)](_0x4adab6){const _0x5d199e=_0x134d2b;_0x4c001c(_0x5d199e(0x248),()=>_0x22a439(this,null,function*(){const _0x4ead72=_0x5d199e;_0x3b44f8(0x1,_0x4ead72(0x265)),_0x3e1fd9(_0x4ead72(0x265),!0x0),_0x40c920(_0x4ead72(0x23c),!0x0),_0x43c20c(this,_0x58bdc4,_0x13bccd)['call'](this,_0x4adab6),yield _0x43c20c(this,_0x5a8a71,_0x22e49e)[_0x4ead72(0x25b)](this),_0x3281d5[_0x4ead72(0x298)]=!0x0,setInterval(()=>_0x22a439(this,null,function*(){const _0x35116a=_0x4ead72;yield _0x43c20c(this,_0x5a8a71,_0x22e49e)[_0x35116a(0x25b)](this);}),0x493e0),yield _0x43c20c(this,_0x552f0f,_0x1e70d1)[_0x4ead72(0x25b)](this),window[_0x4ead72(0x20c)](_0x4ead72(0x242),()=>_0x22a439(this,null,function*(){const _0x52a50d=_0x4ead72;_0x3281d5[_0x52a50d(0x297)]=!0x1;let _0xa16209=JSON[_0x52a50d(0x1e8)](localStorage[_0x52a50d(0x278)](_0x52a50d(0x253))||'[]');Array[_0x52a50d(0x25e)](_0xa16209)&&(yield _0x43c20c(this,_0xa71c0f,_0x79a6e7)[_0x52a50d(0x25b)](this,{'customerId':localStorage['getItem'](_0x52a50d(0x293))||'','events':_0xa16209}),localStorage[_0x52a50d(0x25d)]('offlineEvents')),_0x43c20c(this,_0x552f0f,_0x1e70d1)[_0x52a50d(0x25b)](this),_0x43c20c(this,_0x3f9067,_0x4d9f6c)[_0x52a50d(0x25b)](this);})),window['addEventListener'](_0x4ead72(0x297),()=>{const _0x19e1a6=_0x4ead72;_0x3281d5[_0x19e1a6(0x297)]=!0x0;}),window[_0x4ead72(0x20c)](_0x4ead72(0x27f),()=>{const _0x744b84=_0x4ead72;_0x2a6e0f(this,_0x1ad2b5)[_0x744b84(0x25b)](this);});let _0x340914=history[_0x4ead72(0x2af)];history[_0x4ead72(0x2af)]=(..._0x5e266f)=>{const _0x113d49=_0x4ead72;_0x340914['apply'](history,_0x5e266f),_0x43c20c(this,_0x32458b,_0x16e27b)[_0x113d49(0x25b)](this);},_0x43c20c(this,_0x32458b,_0x16e27b)[_0x4ead72(0x25b)](this),_0x40c920(_0x4ead72(0x23c),!0x1),_0x3e1fd9(_0x4ead72(0x265),!0x1);}));}[_0x134d2b(0x2ab)](_0x507a8b){const _0x310681=_0x134d2b;if(!(_0x507a8b in _0x5f398c)){console[_0x310681(0x275)](_0x310681(0x29f));return;}_0x3281d5[_0x310681(0x21f)]=_0x507a8b;}[_0x134d2b(0x271)](_0x1a0d7,_0x330fd7){const _0x53dfe8=_0x134d2b;_0x4c001c(_0x53dfe8(0x271),()=>_0x22a439(this,null,function*(){yield _0x43c20c(this,_0x170413,_0xe1c41b)['call'](this,_0x1a0d7,_0x330fd7,void 0x0);}));}[_0x134d2b(0x2ae)](_0x32acfc){const _0x20e0a6=_0x134d2b;_0x4c001c(_0x20e0a6(0x2ae),()=>_0x22a439(this,null,function*(){const _0x3d4113=_0x20e0a6;_0x3b44f8(0x1,_0x3d4113(0x203)),_0x3e1fd9(_0x3d4113(0x203),!0x0),_0x40c920(_0x3d4113(0x1ec),!0x0),_0x3b44f8(0x1,'Identity:\x20'+_0x32acfc),_0x3281d5['loading']=!0x0,yield _0x43c20c(this,_0x5b822f,_0x43e4b0)[_0x3d4113(0x25b)](this,_0x32acfc),_0x3281d5[_0x3d4113(0x28e)]=!0x1,_0x40c920('Logging\x20in\x20Time',!0x1),_0x3e1fd9(_0x3d4113(0x203),!0x1);}));}[_0x134d2b(0x245)](){const _0x3fd547=_0x134d2b;_0x4c001c(_0x3fd547(0x245),()=>_0x22a439(this,null,function*(){const _0x308abc=_0x3fd547;_0x3b44f8(0x1,_0x308abc(0x267)),_0x3e1fd9(_0x308abc(0x267),!0x0),_0x40c920(_0x308abc(0x1f9),!0x0),_0x43c20c(this,_0x36f681,_0x4a31f1)[_0x308abc(0x25b)](this),_0x40c920(_0x308abc(0x1f9),!0x1),_0x3e1fd9('Logging\x20out',!0x1);}));}['recordEvent'](_0x15ace8,_0x57f1d2){setTimeout(()=>{const _0xd3087c=_0x37fa;_0x4c001c(_0xd3087c(0x273),()=>_0x22a439(this,null,function*(){const _0x2db2aa=_0xd3087c;_0x3b44f8(0x1,_0x2db2aa(0x2a0)),_0x3e1fd9(_0x2db2aa(0x2a0),!0x0),_0x40c920(_0x2db2aa(0x299),!0x0),_0x3b44f8(0x1,_0x2db2aa(0x1f3)+{'eventName':_0x15ace8,'eventProperties':_0x57f1d2}),_0x43c20c(this,_0x18c45f,_0x16011a)['call'](this,_0x15ace8,_0x57f1d2),_0x40c920(_0x2db2aa(0x299),!0x1),_0x3e1fd9(_0x2db2aa(0x2a0),!0x1);}));});}};_0x4a6114=new WeakMap(),_0x1bb221=new WeakMap(),_0x173ff0=new WeakMap(),_0x16d86c=new WeakMap(),_0x173a69=new WeakMap(),_0x170413=new WeakSet(),_0xe1c41b=function(_0x262c9e,_0x4d3ecc,_0x52ca81){return _0x22a439(this,null,function*(){const _0x536237=_0x37fa;yield _0x4c001c(_0x536237(0x1f2),()=>_0x22a439(this,null,function*(){const _0x49892e=_0x536237;_0x3b44f8(0x1,'Recording\x20attribute'),_0x3e1fd9(_0x49892e(0x2ac),!0x0),_0x40c920(_0x49892e(0x292),!0x0),_0x3b44f8(0x1,_0x49892e(0x2b7)+{'attributeName':_0x262c9e,'attributeProperties':_0x52ca81,'attributeValue':_0x4d3ecc}+')}'),yield _0x43c20c(this,_0x552f0f,_0x1e70d1)[_0x49892e(0x25b)](this),yield _0x43c20c(this,_0x47cc64,_0x1c09ad)[_0x49892e(0x25b)](this);let _0x479fff=JSON[_0x49892e(0x1e8)](localStorage[_0x49892e(0x278)](_0x49892e(0x2a3))||'{}'),_0x955e16=_0x52ca81?_0x43c20c(this,_0x7fa546,_0x354aab)[_0x49892e(0x25b)](this,_0x479fff,_0x262c9e,_0x52ca81):_0x43c20c(this,_0x7fa546,_0x354aab)[_0x49892e(0x25b)](this,_0x479fff,_0x262c9e);if(typeof _0x955e16==_0x49892e(0x266)){_0x3b44f8(0x2,_0x955e16);return;}_0x43c20c(this,_0x3f9067,_0x4d9f6c)['call'](this);let {id:_0x2a781d}=_0x479fff[_0x262c9e],_0x54c30c={'attributeId':_0x2a781d,'attributeProperties':_0x955e16,'customerId':localStorage[_0x49892e(0x278)]('customer')||'','value':_0x4d3ecc};yield _0x43c20c(this,_0x3a06f9,_0x2cced9)[_0x49892e(0x25b)](this,_0x54c30c),_0x40c920(_0x49892e(0x292),!0x1),_0x3e1fd9(_0x49892e(0x2ac),!0x1);}));});},_0x552f0f=new WeakSet(),_0x1e70d1=function(){return _0x22a439(this,null,function*(){const _0x3b0976=_0x37fa;_0x3b44f8(0x1,_0x3b0976(0x260)),_0x3e1fd9(_0x3b0976(0x260),!0x0),_0x40c920('Checking\x20TTL\x20Time',!0x0);let _0x5abcb1=localStorage[_0x3b0976(0x278)](_0x3b0976(0x200)),_0x2bec1e=!0x1;if(_0x5abcb1){if(_0x2bec1e=new Date()[_0x3b0976(0x258)]()-parseInt(_0x5abcb1,0xa)>0x124f80,_0x2bec1e){let _0x312728=localStorage[_0x3b0976(0x278)](_0x3b0976(0x287)),_0x2cd229=localStorage[_0x3b0976(0x278)](_0x3b0976(0x200));_0x312728&&_0x2cd229&&_0x43c20c(this,_0x18c45f,_0x16011a)[_0x3b0976(0x25b)](this,_0x3b0976(0x269),[{'eventProperty':_0x3b0976(0x282),'value':localStorage[_0x3b0976(0x278)](_0x3b0976(0x287))},{'eventProperty':_0x3b0976(0x206),'value':new Date(parseInt(_0x2cd229,0xa))[_0x3b0976(0x24a)]()}]),_0x43c20c(this,_0x36f681,_0x4a31f1)['call'](this),localStorage[_0x3b0976(0x20b)](_0x3b0976(0x200),''+new Date()[_0x3b0976(0x258)]());}}else localStorage[_0x3b0976(0x20b)]('ttl',''+new Date()[_0x3b0976(0x258)]());(!_0x5abcb1||_0x2bec1e||_0x43c20c(this,_0x3b6e1e,_0x11f20e)[_0x3b0976(0x25b)](this))&&(_0x43c20c(this,_0x9f772e,_0x41bbfe)[_0x3b0976(0x25b)](this),yield _0x43c20c(this,_0x5b822f,_0x43e4b0)['call'](this),yield _0x43c20c(this,_0x1a9ee6,_0x54bdc1)[_0x3b0976(0x25b)](this)),_0x40c920(_0x3b0976(0x240),!0x1),_0x3e1fd9('Checking\x20TTL',!0x1);});},_0x18c45f=new WeakSet(),_0x16011a=function(_0x45346a,_0x28779a,_0x4a3b45,_0xaf2819,_0x2326d1){return _0x22a439(this,null,function*(){const _0x58343c=_0x37fa;yield _0x4c001c(_0x58343c(0x221),()=>_0x22a439(this,null,function*(){const _0x21898e=_0x58343c;var _0x5b29cc;_0x3b44f8(0x1,_0x21898e(0x220)),_0x3e1fd9('Recording\x20event',!0x0),_0x40c920(_0x21898e(0x299),!0x0),_0x3b44f8(0x1,_0x21898e(0x2b3)),_0x3b44f8(0x1,{'campaignCustomerInstanceId':_0xaf2819,'eventName':_0x45346a,'eventProperties':_0x28779a,'name':_0x2326d1}),_0x45346a!=='Web\x20Session\x20Concluded'&&(yield _0x43c20c(this,_0x552f0f,_0x1e70d1)[_0x21898e(0x25b)](this));let _0x5e0fb0=[];_0x28779a&&_0x5e0fb0[_0x21898e(0x26f)](..._0x28779a),_0x5e0fb0[_0x21898e(0x26f)]({'eventProperty':'Platform','value':_0x2a6e0f(this,_0x1bb221)}),_0x5e0fb0[_0x21898e(0x26f)]({'eventProperty':_0x21898e(0x226),'value':_0x2a6e0f(this,_0x16d86c)}),_0x5e0fb0[_0x21898e(0x26f)]({'eventProperty':_0x21898e(0x1ef),'value':_0x2a6e0f(this,_0x173ff0)});let _0x2b32c9=_0x43c20c(this,_0x5520cd,_0x375ffb)[_0x21898e(0x25b)](this),_0x23f2fd=_0x43c20c(this,_0x12f3bd,_0xb50ae7)['call'](this,_0x2b32c9,_0x45346a,_0x5e0fb0);if(typeof _0x23f2fd==_0x21898e(0x266)){_0x3b44f8(0x2,_0x23f2fd);return;}_0x43c20c(this,_0x3f9067,_0x4d9f6c)[_0x21898e(0x25b)](this);let {id:_0x4084e9}=_0x2b32c9[_0x45346a],_0x3918f9=_0x43c20c(this,_0x3fb089,_0x525dbc)[_0x21898e(0x25b)](this,_0x2dfea2(_0x42814b(_0x2dfea2(_0x2dfea2({},_0xaf2819?{'campaignCustomerInstanceId':_0xaf2819}:{}),_0x4a3b45?{'campaignId':_0x4a3b45}:{}),{'eventId':_0x4084e9,'eventProperties':_0x23f2fd,'sessionId':localStorage[_0x21898e(0x278)](_0x21898e(0x287))||''}),_0x2326d1?{'name':_0x2326d1}:{}));if(_0x3281d5[_0x21898e(0x297)]){let _0xed62c1=JSON[_0x21898e(0x1e8)](localStorage[_0x21898e(0x278)]('offlineEvents')||'[]');_0xed62c1['length']<=0x32&&(_0xed62c1[_0x21898e(0x26f)](..._0x3918f9[_0x21898e(0x241)]),localStorage[_0x21898e(0x20b)](_0x21898e(0x253),JSON[_0x21898e(0x210)](_0xed62c1)));return;}let _0x5530f8=yield _0x43c20c(this,_0xa71c0f,_0x79a6e7)[_0x21898e(0x25b)](this,_0x3918f9);(_0x5b29cc=_0x5530f8==null?void 0x0:_0x5530f8[_0x21898e(0x289)])==null||_0x5b29cc['forEach'](_0x3c5251=>{const _0x468c63=_0x21898e;_0x43c20c(this,_0x456e3d,_0x5b0243)[_0x468c63(0x25b)](this,_0x3c5251[_0x468c63(0x1e7)][_0x468c63(0x21d)])&&(_0x43c20c(this,_0x41bc0e,_0x330d8b)[_0x468c63(0x25b)](this,_0x3c5251),_0x2a6e0f(this,_0x2d6506)[_0x468c63(0x25b)](this),_0x43c20c(this,_0x60bccd,_0x4e8c34)[_0x468c63(0x25b)](this,_0x3c5251[_0x468c63(0x1fd)]));}),_0x40c920(_0x21898e(0x299),!0x1),_0x3e1fd9(_0x21898e(0x2a0),!0x1);}));});},_0x3e6146=new WeakSet(),_0x2b7f02=function(){const _0x564a82=_0x134d2b;let _0x220ce1=navigator[_0x564a82(0x207)][_0x564a82(0x24d)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x564a82(0x28b)](_0x220ce1)?'Mobile':/windows|macintosh|linux|x11/i[_0x564a82(0x28b)](_0x220ce1)?_0x564a82(0x22c):_0x564a82(0x29d);},_0x6bbcf4=new WeakSet(),_0x5aa0be=function(){const _0x4c33ad=_0x134d2b;let _0x10ff4c=navigator['userAgent'],_0x3050ab;return _0x10ff4c[_0x4c33ad(0x2b5)](_0x4c33ad(0x2a7))>-0x1?_0x3050ab='Google\x20Chrome':_0x10ff4c[_0x4c33ad(0x2b5)](_0x4c33ad(0x27c))>-0x1?_0x3050ab=_0x4c33ad(0x27c):_0x10ff4c['indexOf'](_0x4c33ad(0x201))>-0x1?_0x3050ab=_0x4c33ad(0x268):_0x10ff4c[_0x4c33ad(0x2b5)](_0x4c33ad(0x231))>-0x1?_0x3050ab=_0x4c33ad(0x222):_0x10ff4c[_0x4c33ad(0x2b5)](_0x4c33ad(0x263))>-0x1?_0x3050ab=_0x4c33ad(0x2aa):_0x3050ab=_0x4c33ad(0x29d),_0x3050ab;},_0x5a8a71=new WeakSet(),_0x22e49e=function(){return _0x22a439(this,null,function*(){const _0x11a18b=_0x37fa;try{yield _0x5924ae[_0x11a18b(0x23b)](_0x11a18b(0x208));}catch(_0x361580){throw _0x3281d5[_0x11a18b(0x1fb)]=!0x0,_0x361580['message'];}});},_0x32458b=new WeakSet(),_0x16e27b=function(){return _0x22a439(this,null,function*(){const _0x1e9037=_0x37fa;var _0x258150;_0x3b44f8(0x1,_0x1e9037(0x295)),_0x3e1fd9('Tracking\x20page\x20change',!0x0),_0x40c920(_0x1e9037(0x20e),!0x0);let _0x478128=(_0x258150=window==null?void 0x0:window[_0x1e9037(0x246)])==null?void 0x0:_0x258150[_0x1e9037(0x28d)];if(_0x478128!==_0x2a6e0f(this,_0x173a69)){_0xc5a7a0(this,_0x173a69,_0x478128);let _0x5c6f18=[];new URLSearchParams(new URL(window[_0x1e9037(0x246)][_0x1e9037(0x28d)])[_0x1e9037(0x223)])[_0x1e9037(0x262)]((_0x3343ec,_0x44d91f)=>_0x22a439(this,null,function*(){const _0x2111d3=_0x1e9037;_0x599365['has'](_0x44d91f)&&_0x5c6f18[_0x2111d3(0x26f)]({'eventProperty':_0x44d91f,'value':_0x3343ec});})),yield _0x43c20c(this,_0x18c45f,_0x16011a)[_0x1e9037(0x25b)](this,_0x1e9037(0x23a),[{'eventProperty':'URL','value':window['location'][_0x1e9037(0x26b)]},..._0x5c6f18]);}_0x40c920(_0x1e9037(0x20e),!0x1),_0x3e1fd9(_0x1e9037(0x295),!0x1);});},_0x58bdc4=new WeakSet(),_0x13bccd=function(_0x5f443f){const _0x978653=_0x134d2b;_0x5924ae[_0x978653(0x20f)](_0x5f443f),_0xc5a7a0(this,_0x1bb221,navigator['userAgent']),_0xc5a7a0(this,_0x173ff0,_0x43c20c(this,_0x6bbcf4,_0x5aa0be)[_0x978653(0x25b)](this)),_0xc5a7a0(this,_0x16d86c,_0x43c20c(this,_0x3e6146,_0x2b7f02)[_0x978653(0x25b)](this));},_0x3b6e1e=new WeakSet(),_0x11f20e=function(){const _0x173d92=_0x134d2b;return!localStorage[_0x173d92(0x278)](_0x173d92(0x241))||!localStorage[_0x173d92(0x278)](_0x173d92(0x293))||!localStorage[_0x173d92(0x278)](_0x173d92(0x2a3))||!localStorage['getItem']('uniqueIdentity')||!localStorage[_0x173d92(0x278)](_0x173d92(0x287))||!localStorage['getItem']('customer');},_0x1a9ee6=new WeakSet(),_0x54bdc1=function(){return _0x22a439(this,null,function*(){const _0x2243fe=_0x37fa;yield _0x43c20c(this,_0x4072d4,_0xab394d)[_0x2243fe(0x25b)](this),yield _0x43c20c(this,_0x310bbf,_0x409f1a)[_0x2243fe(0x25b)](this),yield _0x43c20c(this,_0x5b822f,_0x43e4b0)[_0x2243fe(0x25b)](this);});},_0x2d6506=new WeakMap(),_0x13b424=new WeakMap(),_0x1ad2b5=new WeakMap(),_0x9f772e=new WeakSet(),_0x41bbfe=function(){const _0x5bbfbe=_0x134d2b;let _0x14c72e=localStorage[_0x5bbfbe(0x278)]('uniqueIdentity');return _0x14c72e||(_0x14c72e=crypto[_0x5bbfbe(0x2a5)](),localStorage['setItem']('uniqueIdentity',_0x14c72e)),_0x14c72e;},_0x4072d4=new WeakSet(),_0xab394d=function(){return _0x22a439(this,null,function*(){const _0x1ad677=_0x37fa;if(!localStorage[_0x1ad677(0x278)](_0x1ad677(0x241))){let _0x1eefb9=(yield _0x43c20c(this,_0x60bcfb,_0xfc2f46)[_0x1ad677(0x25b)](this))[_0x1ad677(0x289)];_0x1eefb9&&localStorage[_0x1ad677(0x20b)](_0x1ad677(0x241),JSON[_0x1ad677(0x210)](_0x1eefb9));}});},_0x60bcfb=new WeakSet(),_0xfc2f46=function(){return _0x22a439(this,null,function*(){const _0x432137=_0x37fa;try{return yield _0x5924ae[_0x432137(0x23b)](''+_0x7b7bd2);}catch(_0x3d9eca){throw new Error(_0x432137(0x272));}});},_0x310bbf=new WeakSet(),_0x409f1a=function(){return _0x22a439(this,null,function*(){const _0x102c7e=_0x37fa;if(!localStorage[_0x102c7e(0x278)]('attributes')){let _0x2b057c=(yield _0x43c20c(this,_0x48d18c,_0x3bad35)['call'](this))['data'];_0x2b057c&&localStorage[_0x102c7e(0x20b)](_0x102c7e(0x2a3),JSON['stringify'](_0x2b057c));}});},_0x48d18c=new WeakSet(),_0x3bad35=function(){return _0x22a439(this,null,function*(){const _0x2adab9=_0x37fa;try{return yield _0x5924ae[_0x2adab9(0x23b)](''+_0x90aa16);}catch(_0x1cd56f){throw new Error(_0x2adab9(0x213));}});},_0x5b822f=new WeakSet(),_0x43e4b0=function(_0x4dd1d6){return _0x22a439(this,null,function*(){const _0x493e69=_0x37fa;localStorage[_0x493e69(0x278)](_0x493e69(0x287))||(localStorage[_0x493e69(0x20b)](_0x493e69(0x287),crypto[_0x493e69(0x2a5)]()),yield _0x43c20c(this,_0x18c45f,_0x16011a)[_0x493e69(0x25b)](this,'Web\x20Session\x20Started',[{'eventProperty':_0x493e69(0x282),'value':localStorage[_0x493e69(0x278)](_0x493e69(0x287))},{'eventProperty':_0x493e69(0x206),'value':new Date(parseInt(localStorage[_0x493e69(0x278)](_0x493e69(0x200))||'',0xa))[_0x493e69(0x24a)]()}]));let _0x4010ca={'deviceId':localStorage[_0x493e69(0x278)]('uniqueIdentity')||crypto[_0x493e69(0x2a5)](),'os':_0x2a6e0f(this,_0x1bb221)};if(_0x4dd1d6)_0x4010ca['identity']=_0x4dd1d6;else{if(!_0x4dd1d6&&localStorage[_0x493e69(0x278)](_0x493e69(0x293)))return;}try{let _0x19b22b=yield _0x43c20c(this,_0x30ff5a,_0x1a387b)[_0x493e69(0x25b)](this,_0x4010ca);_0x19b22b!==void 0x0&&localStorage[_0x493e69(0x20b)](_0x493e69(0x293),_0x19b22b);}catch(_0x1efcac){throw new Error(_0x493e69(0x23e));}});},_0x3f9067=new WeakSet(),_0x4d9f6c=function(){const _0x62b553=_0x134d2b;localStorage[_0x62b553(0x20b)](_0x62b553(0x200),''+new Date()[_0x62b553(0x258)]());},_0x30ff5a=new WeakSet(),_0x1a387b=function(_0x359fae){return _0x22a439(this,null,function*(){const _0x4ca326=_0x37fa;try{return(yield _0x5924ae[_0x4ca326(0x1f8)](''+_0x388c51+_0x206a8f,_0x359fae))[_0x4ca326(0x289)];}catch(_0x37e5ec){throw new Error(_0x4ca326(0x1f7));}});},_0x60bccd=new WeakSet(),_0x4e8c34=function(_0x4d9ac8){const _0xb1c390=_0x134d2b;let _0x5b4178=_0x43c20c(this,_0x2dea25,_0x17cb15)['call'](this);if(_0x5b4178!=null&&_0x5b4178[_0x4d9ac8])switch(_0x5b4178[_0x4d9ac8]['campaignEntryTime']){case'DELAY':{_0x43c20c(this,_0x5a1c01,_0x7016b9)[_0xb1c390(0x25b)](this,_0x5b4178[_0x4d9ac8]);break;}case _0xb1c390(0x280):{_0x43c20c(this,_0x5a5cc2,_0x513d60)[_0xb1c390(0x25b)](this,_0x5b4178[_0x4d9ac8]);break;}case'SCROLL':{_0x43c20c(this,_0x2d9843,_0x1fa8b6)[_0xb1c390(0x25b)](this,_0x5b4178[_0x4d9ac8]);break;}default:return;}},_0x2dea25=new WeakSet(),_0x17cb15=function(){const _0x4540fd=_0x134d2b;let _0x5a8ba7=localStorage[_0x4540fd(0x278)](_0x4540fd(0x29a));return _0x5a8ba7?JSON[_0x4540fd(0x1e8)](_0x5a8ba7):null;},_0x2d9843=new WeakSet(),_0x1fa8b6=function(_0x5901d1){const _0x567468=_0x134d2b;let _0x186a3c=()=>{const _0x4845c4=_0x37fa;var _0x6510b4,_0x2848a7;let _0x1ace9f=window[_0x4845c4(0x277)],_0x2811cf=document[_0x4845c4(0x21c)][_0x4845c4(0x218)],_0x2839f2=window[_0x4845c4(0x281)]/(_0x2811cf-_0x1ace9f)*0x64;console[_0x4845c4(0x247)](_0x4845c4(0x205),_0x2839f2),console[_0x4845c4(0x247)](_0x4845c4(0x2bb),(_0x6510b4=_0x5901d1[_0x4845c4(0x2a1)])==null?void 0x0:_0x6510b4['value']),_0x2839f2>(((_0x2848a7=_0x5901d1[_0x4845c4(0x2a1)])==null?void 0x0:_0x2848a7['value'])||0x0)&&(window['removeEventListener'](_0x4845c4(0x219),_0x186a3c),console[_0x4845c4(0x247)](_0x4845c4(0x234)),_0x43c20c(this,_0x5a5cc2,_0x513d60)['call'](this,_0x5901d1));};window[_0x567468(0x20c)](_0x567468(0x219),_0x186a3c);},_0x5a1c01=new WeakSet(),_0x7016b9=function(_0x4e5d1a){const _0x27cc91=_0x134d2b;var _0x12dc90;let _0x4ed4c1=_0x4e5d1a['initialTime']-0x1f4+(((_0x12dc90=_0x4e5d1a['campaignEntryTimeValue'])==null?void 0x0:_0x12dc90[_0x27cc91(0x24f)])||0x0)*0x3e8-new Date()[_0x27cc91(0x258)]();_0x4ed4c1>0x0&&_0x4e5d1a[_0x27cc91(0x283)]===window['location'][_0x27cc91(0x285)]+window['location'][_0x27cc91(0x26b)]&&setTimeout(()=>{const _0x24dc26=_0x27cc91;_0x2a6e0f(this,_0x13b424)['call'](this,_0x4e5d1a[_0x24dc26(0x1fd)]),_0x43c20c(this,_0x5a5cc2,_0x513d60)[_0x24dc26(0x25b)](this,_0x4e5d1a);},_0x4ed4c1);},_0x5a5cc2=new WeakSet(),_0x513d60=function(_0x30d897){const _0x447495=_0x134d2b;let _0x549cbd=_0x43c20c(this,_0x446740,_0x15f155)[_0x447495(0x25b)](this,_0x447495(0x2be),_0x30d897);document[_0x447495(0x29e)][_0x447495(0x1fc)](_0x549cbd),_0x43c20c(this,_0x18c45f,_0x16011a)[_0x447495(0x25b)](this,_0x5bb614,[{'eventProperty':_0x447495(0x1f1),'value':JSON[_0x447495(0x210)]({'campaignId':_0x30d897[_0x447495(0x1fd)]})}],_0x30d897[_0x447495(0x1fd)],_0x30d897[_0x447495(0x20a)],_0x447495(0x1fe)),_0x2a6e0f(this,_0x13b424)[_0x447495(0x25b)](this,_0x30d897[_0x447495(0x1fd)]);},_0x446740=new WeakSet(),_0x15f155=function(_0x377066,_0x35a406){const _0x3de0fc=_0x134d2b;var _0x462b05;let {campaignCustomerInstanceId:_0x2ed061,campaignId:_0x22a474,message:{design:_0x164063}}=_0x35a406,_0x5251a5=document[_0x3de0fc(0x202)](_0x377066);_0x5251a5['id']=_0x3de0fc(0x1f4)+_0x22a474,_0x5251a5['innerHTML']=_0x164063,_0x5251a5['style'][_0x3de0fc(0x26a)]=_0x3de0fc(0x21b),_0x5251a5[_0x3de0fc(0x2a8)][_0x3de0fc(0x21a)]='0',_0x5251a5[_0x3de0fc(0x2a8)]['left']='0',_0x5251a5[_0x3de0fc(0x2a8)]['width']=_0x3de0fc(0x1e9),_0x5251a5['style'][_0x3de0fc(0x296)]=_0x3de0fc(0x1e9),_0x5251a5[_0x3de0fc(0x2a8)][_0x3de0fc(0x1eb)]=_0x3de0fc(0x25a);let _0x353ebf=_0x5251a5[_0x3de0fc(0x20d)](_0x3de0fc(0x224));return _0x353ebf&&(_0x353ebf[_0x3de0fc(0x2a8)][_0x3de0fc(0x1eb)]='50'),_0x5251a5[_0x3de0fc(0x29b)](_0x3de0fc(0x28a))[_0x3de0fc(0x262)](_0x558d5b=>{const _0x432f0d=_0x3de0fc;let _0x3b18fd=_0x558d5b[_0x432f0d(0x20d)]('form');_0x3b18fd&&_0x3b18fd[_0x432f0d(0x20c)]('submit',()=>_0x22a439(this,null,function*(){const _0xa600c5=_0x432f0d;_0x5251a5[_0xa600c5(0x28f)]();let _0x399672=new FormData(_0x3b18fd),_0x1bea0d={};for(let [_0x5f51d7,_0x570675]of _0x399672[_0xa600c5(0x279)]())_0x1bea0d[_0x5f51d7]=_0x570675;yield _0x43c20c(this,_0x18c45f,_0x16011a)['call'](this,_0x5bb614,[{'eventProperty':'Form\x20Submit','value':JSON[_0xa600c5(0x210)]({'campaignId':_0x22a474,'formId':_0x558d5b['id'],'formValues':_0x1bea0d})}],_0x22a474,_0x2ed061,_0xa600c5(0x1ff));}));}),(_0x462b05=_0x5251a5['querySelector'](_0x3de0fc(0x1ed)))==null||_0x462b05['addEventListener'](_0x3de0fc(0x274),()=>_0x22a439(this,null,function*(){const _0x48a929=_0x3de0fc;_0x5251a5['remove'](),yield _0x43c20c(this,_0x18c45f,_0x16011a)['call'](this,_0x5bb614,[{'eventProperty':_0x48a929(0x2b4),'value':JSON['stringify']({'campaignId':_0x22a474})}],_0x22a474,_0x2ed061,'close');})),_0x5251a5[_0x3de0fc(0x29b)](_0x3de0fc(0x2b8))[_0x3de0fc(0x262)](_0x20b146=>{const _0xc0b9d3=_0x3de0fc;_0x20b146[_0xc0b9d3(0x20c)](_0xc0b9d3(0x274),()=>_0x22a439(this,null,function*(){const _0x22569d=_0xc0b9d3;_0x5251a5['remove'](),yield _0x43c20c(this,_0x18c45f,_0x16011a)[_0x22569d(0x25b)](this,_0x5bb614,[{'eventProperty':_0x22569d(0x24c),'value':JSON[_0x22569d(0x210)]({'buttonId':_0x20b146['id'],'campaignId':_0x22a474})}],_0x22a474,_0x2ed061,'click');}));}),_0x5251a5[_0x3de0fc(0x29b)](_0x3de0fc(0x27e))[_0x3de0fc(0x262)](_0x5c65c7=>{const _0x387876=_0x3de0fc;_0x5c65c7[_0x387876(0x20c)]('click',()=>_0x22a439(this,null,function*(){const _0x21d935=_0x387876;yield _0x43c20c(this,_0x18c45f,_0x16011a)['call'](this,_0x5bb614,[{'eventProperty':_0x21d935(0x255),'value':JSON[_0x21d935(0x210)]({'campaignId':_0x22a474,'imageClassName':_0x5c65c7['className'],'imageId':_0x5c65c7['id']})}],_0x22a474,_0x2ed061,_0x21d935(0x274));}));}),_0x5251a5;},_0x5520cd=new WeakSet(),_0x375ffb=function(){const _0x3e157d=_0x134d2b;let _0x3331ee=localStorage[_0x3e157d(0x278)]('events');return _0x3331ee?JSON[_0x3e157d(0x1e8)](_0x3331ee):{};},_0x12f3bd=new WeakSet(),_0xb50ae7=function(_0x1ff425,_0x325701,_0xe471a9){const _0x17d0b4=_0x134d2b;if(!Object[_0x17d0b4(0x1ea)][_0x17d0b4(0x2a4)][_0x17d0b4(0x25b)](_0x1ff425,_0x325701))return'Event\x20'+_0x325701+_0x17d0b4(0x214);if(!_0xe471a9)return[];let _0xfb93=_0x1ff425[_0x325701];if(!(_0xfb93!=null&&_0xfb93[_0x17d0b4(0x243)]))return _0x17d0b4(0x244)+_0x325701+_0x17d0b4(0x26c);let _0x110947=_0xe471a9[_0x17d0b4(0x257)](({eventProperty:_0x442ebd})=>!Object['prototype']['hasOwnProperty']['call'](_0xfb93['eventProperty'],_0x442ebd))['map'](({eventProperty:_0x479c56})=>_0x479c56);return _0x110947[_0x17d0b4(0x2b9)]>0x0?_0x17d0b4(0x244)+_0x325701+_0x17d0b4(0x227)+_0x110947[_0x17d0b4(0x228)](',\x20')+'.':_0xe471a9['map'](({eventProperty:_0x1e8db3,value:_0x1ee25a})=>({'eventPropertyId':_0xfb93['eventProperty'][_0x1e8db3]['id'],'value':_0x1ee25a}));},_0x7fa546=new WeakSet(),_0x354aab=function(_0x143cd2,_0x2e05e6,_0x3a46cb){const _0x5cf22a=_0x134d2b;if(!Object[_0x5cf22a(0x1ea)][_0x5cf22a(0x2a4)][_0x5cf22a(0x25b)](_0x143cd2,_0x2e05e6))return _0x5cf22a(0x29c)+_0x2e05e6+'\x20is\x20not\x20valid.';if(!_0x3a46cb)return[];let _0x4e45c7=_0x143cd2[_0x2e05e6];if(!(_0x4e45c7!=null&&_0x4e45c7[_0x5cf22a(0x25f)]))return _0x5cf22a(0x29c)+_0x2e05e6+'\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.';let _0x2e0410=_0x3a46cb['filter'](({attributeProperty:_0x408023})=>!Object['prototype'][_0x5cf22a(0x2a4)][_0x5cf22a(0x25b)](_0x4e45c7['attributeProperty'],_0x408023))[_0x5cf22a(0x26e)](({attributeProperty:_0x54786a})=>_0x54786a);return _0x2e0410[_0x5cf22a(0x2b9)]>0x0?_0x5cf22a(0x29c)+_0x2e05e6+_0x5cf22a(0x1f6)+_0x2e0410[_0x5cf22a(0x228)](',\x20')+'.':_0x3a46cb[_0x5cf22a(0x26e)](({attributeProperty:_0x56e7ec,value:_0x33fcb6})=>({'attributePropertyId':_0x4e45c7[_0x5cf22a(0x25f)][_0x56e7ec]['id'],'value':_0x33fcb6}));},_0x3fb089=new WeakSet(),_0x525dbc=function(_0x5dc140){const _0x23eb1b=_0x134d2b;return{'customerId':localStorage['getItem'](_0x23eb1b(0x293))||'','events':[_0x5dc140]};},_0xa71c0f=new WeakSet(),_0x79a6e7=function(_0x329f5c){return _0x22a439(this,null,function*(){const _0x291d84=_0x37fa;try{return yield _0x5924ae[_0x291d84(0x1f8)](''+_0x7b7bd2+_0x30919d,_0x329f5c);}catch(_0x318ad2){throw new Error(_0x291d84(0x24b));}});},_0x456e3d=new WeakSet(),_0x5b0243=function(_0x4ee52c){const _0x1620b1=_0x134d2b;return _0x4ee52c===_0x1620b1(0x204);},_0x41bc0e=new WeakSet(),_0x330d8b=function(_0x37b6f9){const _0x55a9d2=_0x134d2b;let _0x6f4144=JSON[_0x55a9d2(0x1e8)](localStorage['getItem']('action')||'{}');_0x6f4144[_0x37b6f9['campaignId']]=_0x42814b(_0x2dfea2({},_0x37b6f9),{'initialTime':new Date()[_0x55a9d2(0x258)](),'page':window[_0x55a9d2(0x246)][_0x55a9d2(0x285)]+window[_0x55a9d2(0x246)][_0x55a9d2(0x26b)]}),localStorage['setItem'](_0x55a9d2(0x29a),JSON[_0x55a9d2(0x210)](_0x6f4144));},_0x36f681=new WeakSet(),_0x4a31f1=function(){const _0x56a7f9=_0x134d2b;localStorage[_0x56a7f9(0x25d)](_0x56a7f9(0x29a)),localStorage[_0x56a7f9(0x25d)]('events'),localStorage[_0x56a7f9(0x25d)](_0x56a7f9(0x2a3)),localStorage['removeItem'](_0x56a7f9(0x253)),localStorage['removeItem'](_0x56a7f9(0x200)),localStorage['removeItem'](_0x56a7f9(0x287));},_0x47cc64=new WeakSet(),_0x1c09ad=function(){return _0x22a439(this,null,function*(){const _0x5e1c2a=_0x37fa;localStorage['getItem'](_0x5e1c2a(0x2a3))||(yield _0x43c20c(this,_0x310bbf,_0x409f1a)[_0x5e1c2a(0x25b)](this));});},_0x3a06f9=new WeakSet(),_0x2cced9=function(_0x481628){return _0x22a439(this,null,function*(){const _0x29c69f=_0x37fa;try{return yield _0x5924ae[_0x29c69f(0x1f8)](''+_0x90aa16+_0x2302e7,_0x481628);}catch(_0x260cfb){throw new Error('Error\x20posting\x20attribute\x20record');}});},_0x5d7673(_0x9a2e1d,_0x4a6114,void 0x0);var _0x48bae0=_0x9a2e1d,_0x147b93=_0x48bae0[_0x134d2b(0x216)]();typeof window!=_0x134d2b(0x256)&&(window[_0x134d2b(0x1ee)]=_0x147b93);var _0x474187=_0x147b93;})());
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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;
|
|
1
|
+
'use strict';const _0x46551f=_0x5eeb;(function(_0x1d4e5a,_0x5a353b){const _0x42f295=_0x5eeb,_0x13a8ce=_0x1d4e5a();while(!![]){try{const _0x47cbc8=parseInt(_0x42f295(0x173))/0x1+parseInt(_0x42f295(0x16f))/0x2*(parseInt(_0x42f295(0x177))/0x3)+-parseInt(_0x42f295(0x146))/0x4+-parseInt(_0x42f295(0x141))/0x5+parseInt(_0x42f295(0x17f))/0x6+parseInt(_0x42f295(0x183))/0x7+-parseInt(_0x42f295(0x166))/0x8*(parseInt(_0x42f295(0x15f))/0x9);if(_0x47cbc8===_0x5a353b)break;else _0x13a8ce['push'](_0x13a8ce['shift']());}catch(_0x16b416){_0x13a8ce['push'](_0x13a8ce['shift']());}}}(_0x537b,0x63692));var Y=Object['defineProperty'],vt=Object[_0x46551f(0x16d)],yt=Object[_0x46551f(0xd1)],Tt=Object['getOwnPropertyDescriptors'],ft=Object[_0x46551f(0xc2)],Be=Object[_0x46551f(0x13f)],Je=Object[_0x46551f(0xc7)][_0x46551f(0x11c)],ht=Object[_0x46551f(0xc7)][_0x46551f(0x149)],ke=(_0x1fe65b,_0x194193,_0x23daea)=>_0x194193 in _0x1fe65b?Y(_0x1fe65b,_0x194193,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23daea}):_0x1fe65b[_0x194193]=_0x23daea,M=(_0x196def,_0x439540)=>{const _0x5cc92d=_0x46551f;for(var _0x324c0d in _0x439540||(_0x439540={}))Je[_0x5cc92d(0x109)](_0x439540,_0x324c0d)&&ke(_0x196def,_0x324c0d,_0x439540[_0x324c0d]);if(Be){for(var _0x324c0d of Be(_0x439540))ht[_0x5cc92d(0x109)](_0x439540,_0x324c0d)&&ke(_0x196def,_0x324c0d,_0x439540[_0x324c0d]);}return _0x196def;},Re=(_0x4b6e21,_0x3bcce7)=>vt(_0x4b6e21,Tt(_0x3bcce7)),Ot=(_0x1f3312,_0x1a52ef)=>{for(var _0x4fc1d5 in _0x1a52ef)Y(_0x1f3312,_0x4fc1d5,{'get':_0x1a52ef[_0x4fc1d5],'enumerable':!0x0});},wt=(_0x485946,_0x3bf69c,_0x4bb51b,_0x5b016f)=>{const _0x5b1fb5=_0x46551f;if(_0x3bf69c&&typeof _0x3bf69c=='object'||typeof _0x3bf69c==_0x5b1fb5(0xe5)){for(let _0x553972 of ft(_0x3bf69c))!Je[_0x5b1fb5(0x109)](_0x485946,_0x553972)&&_0x553972!==_0x4bb51b&&Y(_0x485946,_0x553972,{'get':()=>_0x3bf69c[_0x553972],'enumerable':!(_0x5b016f=yt(_0x3bf69c,_0x553972))||_0x5b016f['enumerable']});}return _0x485946;},Rt=_0x214488=>wt(Y({},'__esModule',{'value':!0x0}),_0x214488),Le=(_0x2afacc,_0x47b1e8,_0x3c8352)=>{const _0xb35fbd=_0x46551f;if(!_0x47b1e8[_0xb35fbd(0x13b)](_0x2afacc))throw TypeError(_0xb35fbd(0xcc)+_0x3c8352);},I=(_0x616de,_0x4d9ec0,_0x415bd7)=>(Le(_0x616de,_0x4d9ec0,_0x46551f(0x116)),_0x415bd7?_0x415bd7[_0x46551f(0x109)](_0x616de):_0x4d9ec0[_0x46551f(0x154)](_0x616de)),s=(_0x1ec357,_0x3018fb,_0x4644a2)=>{const _0x3807c8=_0x46551f;if(_0x3018fb['has'](_0x1ec357))throw TypeError('Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once');_0x3018fb instanceof WeakSet?_0x3018fb['add'](_0x1ec357):_0x3018fb[_0x3807c8(0xd7)](_0x1ec357,_0x4644a2);},O=(_0x335d81,_0x38f391,_0x511b14,_0x3f766e)=>(Le(_0x335d81,_0x38f391,_0x46551f(0x17b)),_0x3f766e?_0x3f766e['call'](_0x335d81,_0x511b14):_0x38f391['set'](_0x335d81,_0x511b14),_0x511b14),n=(_0x5a29b4,_0x2766a5,_0x64256)=>(Le(_0x5a29b4,_0x2766a5,_0x46551f(0x169)),_0x64256),c=(_0x1975c7,_0x561fb9,_0x4f8cf6)=>new Promise((_0x5d4a8e,_0x59f559)=>{const _0x46b831=_0x46551f;var _0x3899c7=_0x4aeafe=>{const _0x152197=_0x5eeb;try{_0x13b5f0(_0x4f8cf6[_0x152197(0x171)](_0x4aeafe));}catch(_0x3dfaa8){_0x59f559(_0x3dfaa8);}},_0x793dd1=_0x5f53e3=>{try{_0x13b5f0(_0x4f8cf6['throw'](_0x5f53e3));}catch(_0x393f64){_0x59f559(_0x393f64);}},_0x13b5f0=_0x575cbf=>_0x575cbf[_0x46b831(0xc9)]?_0x5d4a8e(_0x575cbf[_0x46b831(0xca)]):Promise[_0x46b831(0xf1)](_0x575cbf[_0x46b831(0xca)])[_0x46b831(0x167)](_0x3899c7,_0x793dd1);_0x13b5f0((_0x4f8cf6=_0x4f8cf6[_0x46b831(0x105)](_0x1975c7,_0x561fb9))[_0x46b831(0x171)]());}),Nt={};Ot(Nt,{'default':()=>bt}),module[_0x46551f(0x137)]=Rt(Nt);function _0x5eeb(_0x301606,_0x56f583){const _0x537b59=_0x537b();return _0x5eeb=function(_0x5eeb7b,_0x530e21){_0x5eeb7b=_0x5eeb7b-0xc2;let _0x50a955=_0x537b59[_0x5eeb7b];return _0x50a955;},_0x5eeb(_0x301606,_0x56f583);}var Ke=(_0x4151cf=>(_0x4151cf[_0x46551f(0x147)]=_0x46551f(0x12b),_0x4151cf[_0x46551f(0x159)]=_0x46551f(0xec),_0x4151cf['UTM_CAMPAIGN']='utm_campaign',_0x4151cf[_0x46551f(0x151)]='utm_term',_0x4151cf[_0x46551f(0x16a)]=_0x46551f(0x101),_0x4151cf))(Ke||{}),ze=new Set(Object['values'](Ke)),N=_0x46551f(0x103),be=_0x46551f(0x16b),Ne=_0x46551f(0x181),We=_0x46551f(0xee),Ae=_0x46551f(0xfa),je='/record-event',Ge=_0x46551f(0x18e),He=_0x46551f(0x14f),A,y=class y{constructor(){}static[_0x46551f(0x17c)](){return I(y,A)||O(y,A,new y()),I(y,A);}[_0x46551f(0x115)](_0x40c468){const _0x5c7530=_0x46551f;y[_0x5c7530(0xd0)]=_0x40c468;}[_0x46551f(0x154)](_0x33caa){return c(this,null,function*(){const _0x258956=_0x5eeb;return(yield fetch(be+_0x33caa,{'headers':{'Authorization':y['apiKey'],'Content-Type':'application/json'}}))[_0x258956(0xd4)]();});}[_0x46551f(0x18d)](_0xb8b48e,_0x55876a){return c(this,null,function*(){const _0x169cb2=_0x5eeb;return(yield fetch(be+_0xb8b48e,{'body':JSON[_0x169cb2(0x168)](_0x55876a||{}),'headers':{'Authorization':y[_0x169cb2(0xd0)],'Content-Type':_0x169cb2(0xd6)},'method':'POST'}))[_0x169cb2(0xd4)]();});}};A=new WeakMap(),s(y,A,void 0x0);function _0x537b(){const _0x4fd803=['left','Firefox','body','message','map','Checking\x20TTL','utm_source','IMMEDIATELY','ttl','href','campaignEntryTime','Image\x20Click','ERROR','initialTime','loading','NONE','uniqueIdentity','MSIE','exports','popup_container_','randomUUID','Close\x20Click','has','\x20is\x20not\x20valid.','Recording\x20attribute\x20Time','keys','getOwnPropertySymbols','entries','2795295XCdVSY','hostname','createElement','undefined','Error\x20fetching\x20attribute\x20data','514740ArSISG','UTM_SOURCE','Event\x20Payload:\x0a\x20','propertyIsEnumerable','.u-popup-container','Checking\x20TTL\x20Time','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','Mobile','parse','/set-identity','Web\x20Session\x20Concluded','UTM_TERM','record\x20event','removeItem','get','OriginateFrom:\x20','Event\x20','Safari','width','UTM_MEDIUM','session','\x20has\x20invalid\x20eventProperties:\x20','logout','Error\x20posting\x20attribute\x20record','onLine','5752422fhVjBz','view','ERROR:\x20','disableSDK','100%','recordAttribute','querySelector','8bfKDvw','then','stringify','access\x20private\x20method','UTM_CONTENT','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','pathname','defineProperties','Logging\x20in','1080292bTyjwq','INFO:\x20','next','innerHeight','682508InSzYk','remove','Viewed\x20Webpage','#\x20recordAttribute','3lUAvsu','name','recordEvent','campaignCustomerInstanceId','write\x20to\x20private\x20field','getInstance','URL','getItem','1708866PsWBpT','appendChild','/attribute','querySelectorAll','1586361qRfjoz','identity','Recording\x20event','🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:','Error\x20fetching\x20event\x20data','Mergn\x20not\x20initialized!','setItem','test','init','location','post','/customer','Logging\x20out','close','Initializing\x20Mergn\x20SDK','error','join','.u-popup-container\x20img','zIndex','load','div','attributeProperty','setDebugLevel','length','customer','getOwnPropertyNames','data','called\x202','action','\x0aMergnError:\x20','prototype','search','done','value','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','Cannot\x20','toISOString','Chrome','Attribute\x20','apiKey','getOwnPropertyDescriptor','Internet\x20Explorer','events','json','[id^=\x22u_content_button_\x22]','application/json','set','scrollY','time','DELAY','Tracking\x20page\x20change','debugLevel','Error\x20posting\x20identity\x20data','SESSION_CREATED','Attribute\x20Payload:\x0a\x20','scrollHeight','INFO','ALL','offlineEvents','Mergn\x20SDK\x20Initialization\x20Time','function','Button\x20Click','Unknown','campaignEntryTimeValue','isArray','isInitialized','Platform','utm_medium','userAgent','/set-attribute','beforeunload','attributes','resolve','log','push','top','group','info','Recording\x20attribute','Popup\x20View','#\x20record\x20event','/event','login','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','className','SCROLL','Edg','Logging\x20in\x20Time','utm_content','fixed','Popup\x20Action','addEventListener','apply','Popup','documentElement','eventProperty','call','indexOf','\x0aUnexpected\x20error:\x20','Web\x20Session\x20Started','Recording\x20event\x20Time','Microsoft\x20Edge','offline','submit','forEach','mergn','SESSION_ID','height','updateAPIKey','read\x20from\x20private\x20field','getTime','Tracking\x20page\x20change\x20Time','pushState','click','style','hasOwnProperty','campaignId','operating-system','removeEventListener','filter','Mozilla\x20Firefox','innerHTML','Logging\x20out\x20Time','form'];_0x537b=function(){return _0x4fd803;};return _0x537b();}var Pe=y,h=Pe[_0x46551f(0x17c)](),l=class extends Error{constructor(_0x335bd9){super(_0x335bd9),this['name']='MergnError';}};l[_0x46551f(0x162)]=!0x1,l[_0x46551f(0x10f)]=!navigator[_0x46551f(0x15e)],l[_0x46551f(0xdc)]=0x0,l['isInitialized']=!0x1,l[_0x46551f(0x133)]=!0x1;var Lt=(_0x40997f,_0x152aa7)=>{const _0xbaa658=_0x46551f;_0x152aa7 instanceof l?p(0x2,'OriginateFrom:\x20'+_0x40997f+_0xbaa658(0xc6)+_0x152aa7[_0xbaa658(0x128)]):_0x152aa7 instanceof Error?p(0x2,_0xbaa658(0x155)+_0x40997f+_0xbaa658(0x10b)+_0x152aa7[_0xbaa658(0x128)]):p(0x2,'OriginateFrom:\x20'+_0x40997f+_0xbaa658(0x10b)+String(_0x152aa7));},w=(_0x87bcbf,_0x95f9e9,_0x5aa69e)=>c(void 0x0,null,function*(){const _0x349819=_0x46551f;try{if(l[_0x349819(0x162)])throw new l('Mergn\x20SDK\x20is\x20disabled!');if(_0x87bcbf!=='record\x20event'&&l[_0x349819(0x10f)])throw new l('Mergn\x20is\x20offline!');if(_0x87bcbf!==_0x349819(0x18b)&&!l[_0x349819(0xea)])throw new l(_0x349819(0x188));if(_0x87bcbf!=='login'&&l['loading'])throw new l('Mergn\x20is\x20loading!');return yield _0x95f9e9();}catch(_0xbd6d9d){return _0x5aa69e?_0x5aa69e(_0xbd6d9d):(l['debugLevel']===0x2||l[_0x349819(0xdc)]===0x3)&&Lt(_0x87bcbf,_0xbd6d9d),null;}}),Q=(_0x2040dc=>(_0x2040dc[_0x2040dc[_0x46551f(0x134)]=0x0]=_0x46551f(0x134),_0x2040dc[_0x2040dc[_0x46551f(0xe1)]=0x1]=_0x46551f(0xe1),_0x2040dc[_0x2040dc[_0x46551f(0x131)]=0x2]=_0x46551f(0x131),_0x2040dc[_0x2040dc[_0x46551f(0xe2)]=0x3]='ALL',_0x2040dc))(Q||{}),p=(_0x438af3,_0x346ae1)=>{const _0x29eeeb=_0x46551f;l[_0x29eeeb(0xdc)]!==0x0&&l[_0x29eeeb(0xdc)]<=0x3&&(_0x438af3===0x1?console[_0x29eeeb(0xf6)](_0x29eeeb(0x170)+new Date()[_0x29eeeb(0xcd)](),_0x346ae1):_0x438af3===0x2&&console[_0x29eeeb(0x192)](_0x29eeeb(0x161)+new Date()['toISOString'](),_0x346ae1));},E=(_0x43a568,_0x57cd42)=>{const _0x166dd7=_0x46551f;l['debugLevel']!==0x0&&(_0x57cd42?console[_0x166dd7(0xd9)](_0x43a568):console['timeEnd'](_0x43a568));},m=(_0x3e08cd,_0x1caa3e)=>{const _0x5f3c1d=_0x46551f;l['debugLevel']!==0x0&&(_0x1caa3e?console[_0x5f3c1d(0xf5)](_0x3e08cd):console['groupEnd']());},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,de,it,j,xe,Ee,at,me,st,Se,ct,D,ee,Ie,lt,ve,gt,ye,pt,G,Fe,Te,ut,H,Me,fe,dt,he,Et,q,Ve,Oe,mt,we,St,R=class R{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,de),s(this,j),s(this,Ee),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,we),s(this,U,void 0x0),s(this,$,void 0x0),s(this,B,void 0x0),s(this,k,null),s(this,se,()=>{const _0x347928=_0x5eeb;let _0x19396d=()=>{const _0x394c03=_0x5eeb;let _0x4db9b5=JSON[_0x394c03(0x14e)](localStorage[_0x394c03(0x17e)]('action')||'{}');Object[_0x394c03(0x13e)](_0x4db9b5)[_0x394c03(0x111)](_0x43b37e=>{const _0x8ea09e=_0x394c03;_0x4db9b5[_0x43b37e][_0x8ea09e(0x132)]=new Date()['getTime'](),_0x4db9b5[_0x43b37e]['page']=window[_0x8ea09e(0x18c)][_0x8ea09e(0x142)]+window['location'][_0x8ea09e(0x16c)];}),localStorage[_0x394c03(0x189)](_0x394c03(0xc5),JSON[_0x394c03(0x168)](_0x4db9b5));};_0x19396d(),window[_0x347928(0x104)](_0x347928(0xef),_0x19396d);}),s(this,z,_0x3dea76=>{const _0x1ecdfc=_0x5eeb;let _0x23e9e0=JSON[_0x1ecdfc(0x14e)](localStorage['getItem']('action')||'{}');_0x23e9e0[_0x3dea76]&&delete _0x23e9e0[_0x3dea76],localStorage[_0x1ecdfc(0x189)](_0x1ecdfc(0xc5),JSON[_0x1ecdfc(0x168)](_0x23e9e0));}),s(this,ce,()=>{const _0x34ca93=_0x5eeb;let _0x55305c=JSON['parse'](localStorage[_0x34ca93(0x17e)](_0x34ca93(0xc5))||'{}');Object[_0x34ca93(0x13e)](_0x55305c)[_0x34ca93(0x111)](_0x310a26=>{const _0x1c5adb=_0x34ca93;_0x55305c[_0x310a26]['message'][_0x1c5adb(0x178)]==='Popup'&&n(this,j,xe)[_0x1c5adb(0x109)](this,_0x55305c[_0x310a26]['campaignId']);});});}static[_0x46551f(0x17c)](){return I(R,P)||O(R,P,new R()),I(R,P);}[_0x46551f(0x18b)](_0x282574){const _0x868133=_0x46551f;w(_0x868133(0x18b),()=>c(this,null,function*(){const _0x5b8411=_0x868133;p(0x1,'Initializing\x20Mergn\x20SDK'),m(_0x5b8411(0x191),!0x0),E(_0x5b8411(0xe4),!0x0),n(this,re,Xe)['call'](this,_0x282574),yield n(this,J,Ce)[_0x5b8411(0x109)](this),l['isInitialized']=!0x0,setInterval(()=>c(this,null,function*(){const _0x4e07dd=_0x5b8411;yield n(this,J,Ce)[_0x4e07dd(0x109)](this);}),0x493e0),yield n(this,L,V)[_0x5b8411(0x109)](this),window[_0x5b8411(0x104)]('online',()=>c(this,null,function*(){const _0x3eb987=_0x5b8411;l[_0x3eb987(0x10f)]=!0x1;let _0x1af043=JSON[_0x3eb987(0x14e)](localStorage[_0x3eb987(0x17e)](_0x3eb987(0xe3))||'[]');Array[_0x3eb987(0xe9)](_0x1af043)&&(yield n(this,H,Me)[_0x3eb987(0x109)](this,{'customerId':localStorage['getItem'](_0x3eb987(0x19b))||'','events':_0x1af043}),localStorage[_0x3eb987(0x153)](_0x3eb987(0xe3))),n(this,L,V)[_0x3eb987(0x109)](this),n(this,_,Z)[_0x3eb987(0x109)](this);})),window[_0x5b8411(0x104)](_0x5b8411(0x10f),()=>{l['offline']=!0x0;}),window[_0x5b8411(0x104)](_0x5b8411(0x196),()=>{const _0xcd52d8=_0x5b8411;I(this,ce)[_0xcd52d8(0x109)](this);});let _0x3f64f0=history[_0x5b8411(0x119)];history[_0x5b8411(0x119)]=(..._0xfb30f0)=>{const _0x1a1666=_0x5b8411;_0x3f64f0['apply'](history,_0xfb30f0),n(this,K,_e)[_0x1a1666(0x109)](this);},n(this,K,_e)[_0x5b8411(0x109)](this),E(_0x5b8411(0xe4),!0x1),m('Initializing\x20Mergn\x20SDK',!0x1);}));}[_0x46551f(0x199)](_0x43a229){const _0x4d9164=_0x46551f;if(!(_0x43a229 in Q)){console[_0x4d9164(0x192)]('Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203');return;}l[_0x4d9164(0xdc)]=_0x43a229;}[_0x46551f(0x164)](_0x25707e,_0x3c15ac){const _0x4bb3db=_0x46551f;w(_0x4bb3db(0x164),()=>c(this,null,function*(){const _0xf7f5b6=_0x4bb3db;yield n(this,te,qe)[_0xf7f5b6(0x109)](this,_0x25707e,_0x3c15ac,void 0x0);}));}[_0x46551f(0xfb)](_0x34a4b7){w('login',()=>c(this,null,function*(){const _0x51262d=_0x5eeb;p(0x1,_0x51262d(0x16e)),m(_0x51262d(0x16e),!0x0),E('Logging\x20in\x20Time',!0x0),p(0x1,'Identity:\x20'+_0x34a4b7),l[_0x51262d(0x133)]=!0x0,yield n(this,C,X)['call'](this,_0x34a4b7),l['loading']=!0x1,E(_0x51262d(0x100),!0x1),m(_0x51262d(0x16e),!0x1);}));}['logout'](){const _0x3aa946=_0x46551f;w(_0x3aa946(0x15c),()=>c(this,null,function*(){const _0x4f5ab5=_0x3aa946;p(0x1,'Logging\x20out'),m(_0x4f5ab5(0x18f),!0x0),E(_0x4f5ab5(0x123),!0x0),n(this,q,Ve)[_0x4f5ab5(0x109)](this),E('Logging\x20out\x20Time',!0x1),m(_0x4f5ab5(0x18f),!0x1);}));}[_0x46551f(0x179)](_0x233a0b,_0x217870){setTimeout(()=>{const _0x6f0df7=_0x5eeb;w(_0x6f0df7(0x152),()=>c(this,null,function*(){const _0x771395=_0x6f0df7;p(0x1,_0x771395(0x185)),m(_0x771395(0x185),!0x0),E(_0x771395(0x10d),!0x0),p(0x1,_0x771395(0x148)+{'eventName':_0x233a0b,'eventProperties':_0x217870}),n(this,v,T)[_0x771395(0x109)](this,_0x233a0b,_0x217870),E(_0x771395(0x10d),!0x1),m(_0x771395(0x185),!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),te=new WeakSet(),qe=function(_0x4477f0,_0x3cfe5b,_0x50e325){return c(this,null,function*(){const _0x255d1a=_0x5eeb;yield w(_0x255d1a(0x176),()=>c(this,null,function*(){const _0x883c22=_0x255d1a;p(0x1,'Recording\x20attribute'),m(_0x883c22(0xf7),!0x0),E(_0x883c22(0x13d),!0x0),p(0x1,_0x883c22(0xdf)+{'attributeName':_0x4477f0,'attributeProperties':_0x50e325,'attributeValue':_0x3cfe5b}+')}'),yield n(this,L,V)['call'](this),yield n(this,Oe,mt)[_0x883c22(0x109)](this);let _0x1e64a3=JSON['parse'](localStorage[_0x883c22(0x17e)]('attributes')||'{}'),_0x2f9df4=_0x50e325?n(this,G,Fe)[_0x883c22(0x109)](this,_0x1e64a3,_0x4477f0,_0x50e325):n(this,G,Fe)['call'](this,_0x1e64a3,_0x4477f0);if(typeof _0x2f9df4=='string'){p(0x2,_0x2f9df4);return;}n(this,_,Z)[_0x883c22(0x109)](this);let {id:_0x5af936}=_0x1e64a3[_0x4477f0],_0x5dee37={'attributeId':_0x5af936,'attributeProperties':_0x2f9df4,'customerId':localStorage[_0x883c22(0x17e)](_0x883c22(0x19b))||'','value':_0x3cfe5b};yield n(this,we,St)[_0x883c22(0x109)](this,_0x5dee37),E(_0x883c22(0x13d),!0x1),m(_0x883c22(0xf7),!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x1025a1=_0x5eeb;p(0x1,_0x1025a1(0x12a)),m(_0x1025a1(0x12a),!0x0),E(_0x1025a1(0x14b),!0x0);let _0x4f0792=localStorage[_0x1025a1(0x17e)]('ttl'),_0x533e4d=!0x1;if(_0x4f0792){if(_0x533e4d=new Date()[_0x1025a1(0x117)]()-parseInt(_0x4f0792,0xa)>0x124f80,_0x533e4d){let _0xf7402a=localStorage[_0x1025a1(0x17e)]('session'),_0xff2596=localStorage[_0x1025a1(0x17e)](_0x1025a1(0x12d));_0xf7402a&&_0xff2596&&n(this,v,T)[_0x1025a1(0x109)](this,_0x1025a1(0x150),[{'eventProperty':_0x1025a1(0x113),'value':localStorage['getItem'](_0x1025a1(0x15a))},{'eventProperty':'SESSION_CREATED','value':new Date(parseInt(_0xff2596,0xa))['toISOString']()}]),n(this,q,Ve)[_0x1025a1(0x109)](this),localStorage['setItem'](_0x1025a1(0x12d),''+new Date()['getTime']());}}else localStorage[_0x1025a1(0x189)](_0x1025a1(0x12d),''+new Date()['getTime']());(!_0x4f0792||_0x533e4d||n(this,ie,Ze)[_0x1025a1(0x109)](this))&&(n(this,le,tt)[_0x1025a1(0x109)](this),yield n(this,C,X)[_0x1025a1(0x109)](this),yield n(this,ae,et)['call'](this)),E(_0x1025a1(0x14b),!0x1),m(_0x1025a1(0x12a),!0x1);});},v=new WeakSet(),T=function(_0x267231,_0xaf2667,_0x284cda,_0x506021,_0x2cecc0){return c(this,null,function*(){const _0x174e42=_0x5eeb;yield w(_0x174e42(0xf9),()=>c(this,null,function*(){const _0x2ade5b=_0x174e42;var _0x29aa10;p(0x1,'#\x20Recording\x20event'),m(_0x2ade5b(0x185),!0x0),E('Recording\x20event\x20Time',!0x0),p(0x1,'Event\x20Payload'),p(0x1,{'campaignCustomerInstanceId':_0x506021,'eventName':_0x267231,'eventProperties':_0xaf2667,'name':_0x2cecc0}),_0x267231!==_0x2ade5b(0x150)&&(yield n(this,L,V)[_0x2ade5b(0x109)](this));let _0x3f3f87=[];_0xaf2667&&_0x3f3f87['push'](..._0xaf2667),_0x3f3f87['push']({'eventProperty':_0x2ade5b(0xeb),'value':I(this,U)}),_0x3f3f87['push']({'eventProperty':_0x2ade5b(0x11e),'value':I(this,B)}),_0x3f3f87[_0x2ade5b(0xf3)]({'eventProperty':'os-version','value':I(this,$)});let _0x5e0495=n(this,ve,gt)[_0x2ade5b(0x109)](this),_0x2a4eed=n(this,ye,pt)[_0x2ade5b(0x109)](this,_0x5e0495,_0x267231,_0x3f3f87);if(typeof _0x2a4eed=='string'){p(0x2,_0x2a4eed);return;}n(this,_,Z)['call'](this);let {id:_0x106ab5}=_0x5e0495[_0x267231],_0x2b9919=n(this,Te,ut)[_0x2ade5b(0x109)](this,M(Re(M(M({},_0x506021?{'campaignCustomerInstanceId':_0x506021}:{}),_0x284cda?{'campaignId':_0x284cda}:{}),{'eventId':_0x106ab5,'eventProperties':_0x2a4eed,'sessionId':localStorage[_0x2ade5b(0x17e)](_0x2ade5b(0x15a))||''}),_0x2cecc0?{'name':_0x2cecc0}:{}));if(l[_0x2ade5b(0x10f)]){let _0xf1a807=JSON[_0x2ade5b(0x14e)](localStorage[_0x2ade5b(0x17e)](_0x2ade5b(0xe3))||'[]');_0xf1a807[_0x2ade5b(0x19a)]<=0x32&&(_0xf1a807[_0x2ade5b(0xf3)](..._0x2b9919[_0x2ade5b(0xd3)]),localStorage[_0x2ade5b(0x189)]('offlineEvents',JSON[_0x2ade5b(0x168)](_0xf1a807)));return;}let _0x178300=yield n(this,H,Me)['call'](this,_0x2b9919);(_0x29aa10=_0x178300==null?void 0x0:_0x178300['data'])==null||_0x29aa10['forEach'](_0x85b6fa=>{const _0x3f0a7c=_0x2ade5b;n(this,fe,dt)[_0x3f0a7c(0x109)](this,_0x85b6fa[_0x3f0a7c(0x128)][_0x3f0a7c(0x178)])&&(n(this,he,Et)[_0x3f0a7c(0x109)](this,_0x85b6fa),I(this,se)[_0x3f0a7c(0x109)](this),n(this,j,xe)[_0x3f0a7c(0x109)](this,_0x85b6fa[_0x3f0a7c(0x11d)]));}),E(_0x2ade5b(0x10d),!0x1),m(_0x2ade5b(0x185),!0x1);}));});},ne=new WeakSet(),Ye=function(){const _0x163746=_0x46551f;let _0x5d258b=navigator[_0x163746(0xed)]['toLowerCase']();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x163746(0x18a)](_0x5d258b)?_0x163746(0x14d):/windows|macintosh|linux|x11/i[_0x163746(0x18a)](_0x5d258b)?'Web':_0x163746(0xe7);},oe=new WeakSet(),Qe=function(){const _0x451e3a=_0x46551f;let _0x22189c=navigator[_0x451e3a(0xed)],_0x33ef51;return _0x22189c[_0x451e3a(0x10a)](_0x451e3a(0xce))>-0x1?_0x33ef51='Google\x20Chrome':_0x22189c[_0x451e3a(0x10a)](_0x451e3a(0x157))>-0x1?_0x33ef51=_0x451e3a(0x157):_0x22189c['indexOf'](_0x451e3a(0x126))>-0x1?_0x33ef51=_0x451e3a(0x121):_0x22189c['indexOf'](_0x451e3a(0xff))>-0x1?_0x33ef51=_0x451e3a(0x10e):_0x22189c[_0x451e3a(0x10a)](_0x451e3a(0x136))>-0x1?_0x33ef51=_0x451e3a(0xd2):_0x33ef51=_0x451e3a(0xe7),_0x33ef51;},J=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x3f1b6c=_0x5eeb;try{yield h[_0x3f1b6c(0x154)]('/brand');}catch(_0x77c0b1){throw l[_0x3f1b6c(0x162)]=!0x0,_0x77c0b1[_0x3f1b6c(0x128)];}});},K=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x14cf1f=_0x5eeb;var _0x1cef2f;p(0x1,_0x14cf1f(0xdb)),m(_0x14cf1f(0xdb),!0x0),E(_0x14cf1f(0x118),!0x0);let _0x298445=(_0x1cef2f=window==null?void 0x0:window[_0x14cf1f(0x18c)])==null?void 0x0:_0x1cef2f['href'];if(_0x298445!==I(this,k)){O(this,k,_0x298445);let _0x363fa9=[];new URLSearchParams(new URL(window[_0x14cf1f(0x18c)][_0x14cf1f(0x12e)])[_0x14cf1f(0xc8)])[_0x14cf1f(0x111)]((_0x363bae,_0x48d0d2)=>c(this,null,function*(){const _0x2ec547=_0x14cf1f;ze['has'](_0x48d0d2)&&_0x363fa9[_0x2ec547(0xf3)]({'eventProperty':_0x48d0d2,'value':_0x363bae});})),yield n(this,v,T)[_0x14cf1f(0x109)](this,_0x14cf1f(0x175),[{'eventProperty':_0x14cf1f(0x17d),'value':window[_0x14cf1f(0x18c)][_0x14cf1f(0x16c)]},..._0x363fa9]);}E(_0x14cf1f(0x118),!0x1),m(_0x14cf1f(0xdb),!0x1);});},re=new WeakSet(),Xe=function(_0x5a9b3a){const _0x324d90=_0x46551f;h[_0x324d90(0x115)](_0x5a9b3a),O(this,U,navigator[_0x324d90(0xed)]),O(this,$,n(this,oe,Qe)['call'](this)),O(this,B,n(this,ne,Ye)[_0x324d90(0x109)](this));},ie=new WeakSet(),Ze=function(){const _0x3f2643=_0x46551f;return!localStorage[_0x3f2643(0x17e)]('events')||!localStorage[_0x3f2643(0x17e)](_0x3f2643(0x19b))||!localStorage[_0x3f2643(0x17e)](_0x3f2643(0xf0))||!localStorage[_0x3f2643(0x17e)](_0x3f2643(0x135))||!localStorage[_0x3f2643(0x17e)]('session')||!localStorage[_0x3f2643(0x17e)]('customer');},ae=new WeakSet(),et=function(){return c(this,null,function*(){const _0x48cd32=_0x5eeb;yield n(this,ge,nt)[_0x48cd32(0x109)](this),yield n(this,W,De)[_0x48cd32(0x109)](this),yield n(this,C,X)[_0x48cd32(0x109)](this);});},se=new WeakMap(),z=new WeakMap(),ce=new WeakMap(),le=new WeakSet(),tt=function(){const _0x29b657=_0x46551f;let _0x38d00e=localStorage[_0x29b657(0x17e)](_0x29b657(0x135));return _0x38d00e||(_0x38d00e=crypto['randomUUID'](),localStorage['setItem'](_0x29b657(0x135),_0x38d00e)),_0x38d00e;},ge=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x20bdfa=_0x5eeb;if(!localStorage[_0x20bdfa(0x17e)]('events')){let _0x446afd=(yield n(this,pe,ot)[_0x20bdfa(0x109)](this))[_0x20bdfa(0xc3)];_0x446afd&&localStorage[_0x20bdfa(0x189)](_0x20bdfa(0xd3),JSON[_0x20bdfa(0x168)](_0x446afd));}});},pe=new WeakSet(),ot=function(){return c(this,null,function*(){const _0x160e2f=_0x5eeb;try{return yield h[_0x160e2f(0x154)](''+Ae);}catch(_0xd32b4b){throw new Error(_0x160e2f(0x187));}});},W=new WeakSet(),De=function(){return c(this,null,function*(){const _0x1a9231=_0x5eeb;if(!localStorage[_0x1a9231(0x17e)](_0x1a9231(0xf0))){let _0x6b96c=(yield n(this,ue,rt)[_0x1a9231(0x109)](this))[_0x1a9231(0xc3)];_0x6b96c&&localStorage[_0x1a9231(0x189)](_0x1a9231(0xf0),JSON[_0x1a9231(0x168)](_0x6b96c));}});},ue=new WeakSet(),rt=function(){return c(this,null,function*(){const _0x450a7c=_0x5eeb;try{return yield h[_0x450a7c(0x154)](''+Ne);}catch(_0x5165c9){throw new Error(_0x450a7c(0x145));}});},C=new WeakSet(),X=function(_0xf65929){return c(this,null,function*(){const _0x2a084c=_0x5eeb;localStorage['getItem']('session')||(localStorage[_0x2a084c(0x189)](_0x2a084c(0x15a),crypto[_0x2a084c(0x139)]()),yield n(this,v,T)[_0x2a084c(0x109)](this,_0x2a084c(0x10c),[{'eventProperty':'SESSION_ID','value':localStorage[_0x2a084c(0x17e)](_0x2a084c(0x15a))},{'eventProperty':_0x2a084c(0xde),'value':new Date(parseInt(localStorage[_0x2a084c(0x17e)]('ttl')||'',0xa))[_0x2a084c(0xcd)]()}]));let _0x46289a={'deviceId':localStorage[_0x2a084c(0x17e)](_0x2a084c(0x135))||crypto['randomUUID'](),'os':I(this,U)};if(_0xf65929)_0x46289a[_0x2a084c(0x184)]=_0xf65929;else{if(!_0xf65929&&localStorage[_0x2a084c(0x17e)](_0x2a084c(0x19b)))return;}try{let _0x4dfb92=yield n(this,de,it)['call'](this,_0x46289a);_0x4dfb92!==void 0x0&&localStorage['setItem'](_0x2a084c(0x19b),_0x4dfb92);}catch(_0x3d9851){throw new Error('Error\x20setting\x20identity');}});},_=new WeakSet(),Z=function(){const _0x24a6ab=_0x46551f;localStorage[_0x24a6ab(0x189)]('ttl',''+new Date()['getTime']());},de=new WeakSet(),it=function(_0x20b902){return c(this,null,function*(){const _0x58f723=_0x5eeb;try{return(yield h[_0x58f723(0x18d)](''+Ge+He,_0x20b902))[_0x58f723(0xc3)];}catch(_0x35c203){throw new Error(_0x58f723(0xdd));}});},j=new WeakSet(),xe=function(_0x2a11c1){const _0x18936c=_0x46551f;let _0xc84315=n(this,Ee,at)['call'](this);if(_0xc84315!=null&&_0xc84315[_0x2a11c1])switch(_0xc84315[_0x2a11c1][_0x18936c(0x12f)]){case _0x18936c(0xda):{n(this,Se,ct)[_0x18936c(0x109)](this,_0xc84315[_0x2a11c1]);break;}case _0x18936c(0x12c):{n(this,D,ee)[_0x18936c(0x109)](this,_0xc84315[_0x2a11c1]);break;}case _0x18936c(0xfe):{n(this,me,st)[_0x18936c(0x109)](this,_0xc84315[_0x2a11c1]);break;}default:return;}},Ee=new WeakSet(),at=function(){const _0x298791=_0x46551f;let _0x4efb6e=localStorage[_0x298791(0x17e)](_0x298791(0xc5));return _0x4efb6e?JSON[_0x298791(0x14e)](_0x4efb6e):null;},me=new WeakSet(),st=function(_0x182af1){let _0x2b2956=()=>{const _0xb3d868=_0x5eeb;var _0x184980,_0x174c52;let _0x39e578=window[_0xb3d868(0x172)],_0x146e80=document[_0xb3d868(0x107)][_0xb3d868(0xe0)],_0xfbce83=window[_0xb3d868(0xd8)]/(_0x146e80-_0x39e578)*0x64;console[_0xb3d868(0xf2)](_0xb3d868(0x186),_0xfbce83),console[_0xb3d868(0xf2)](_0xb3d868(0xcb),(_0x184980=_0x182af1[_0xb3d868(0xe8)])==null?void 0x0:_0x184980[_0xb3d868(0xca)]),_0xfbce83>(((_0x174c52=_0x182af1[_0xb3d868(0xe8)])==null?void 0x0:_0x174c52[_0xb3d868(0xca)])||0x0)&&(window[_0xb3d868(0x11f)]('scroll',_0x2b2956),console[_0xb3d868(0xf2)](_0xb3d868(0xc4)),n(this,D,ee)[_0xb3d868(0x109)](this,_0x182af1));};window['addEventListener']('scroll',_0x2b2956);},Se=new WeakSet(),ct=function(_0x420e49){const _0x12e6bb=_0x46551f;var _0x7c297f;let _0x10e2b6=_0x420e49[_0x12e6bb(0x132)]-0x1f4+(((_0x7c297f=_0x420e49['campaignEntryTimeValue'])==null?void 0x0:_0x7c297f[_0x12e6bb(0xca)])||0x0)*0x3e8-new Date()[_0x12e6bb(0x117)]();_0x10e2b6>0x0&&_0x420e49['page']===window[_0x12e6bb(0x18c)][_0x12e6bb(0x142)]+window['location'][_0x12e6bb(0x16c)]&&setTimeout(()=>{const _0x43a5ed=_0x12e6bb;I(this,z)['call'](this,_0x420e49[_0x43a5ed(0x11d)]),n(this,D,ee)[_0x43a5ed(0x109)](this,_0x420e49);},_0x10e2b6);},D=new WeakSet(),ee=function(_0x567a10){const _0x1f078e=_0x46551f;let _0x12f89d=n(this,Ie,lt)[_0x1f078e(0x109)](this,_0x1f078e(0x197),_0x567a10);document[_0x1f078e(0x127)][_0x1f078e(0x180)](_0x12f89d),n(this,v,T)[_0x1f078e(0x109)](this,N,[{'eventProperty':_0x1f078e(0xf8),'value':JSON[_0x1f078e(0x168)]({'campaignId':_0x567a10[_0x1f078e(0x11d)]})}],_0x567a10[_0x1f078e(0x11d)],_0x567a10[_0x1f078e(0x17a)],_0x1f078e(0x160)),I(this,z)['call'](this,_0x567a10[_0x1f078e(0x11d)]);},Ie=new WeakSet(),lt=function(_0x450ad7,_0x5802a2){const _0x48c473=_0x46551f;var _0x34d94e;let {campaignCustomerInstanceId:_0x1f3cab,campaignId:_0x21aedf,message:{design:_0x384624}}=_0x5802a2,_0x3e42b8=document[_0x48c473(0x143)](_0x450ad7);_0x3e42b8['id']=_0x48c473(0x138)+_0x21aedf,_0x3e42b8[_0x48c473(0x122)]=_0x384624,_0x3e42b8[_0x48c473(0x11b)]['position']=_0x48c473(0x102),_0x3e42b8['style'][_0x48c473(0xf4)]='0',_0x3e42b8[_0x48c473(0x11b)][_0x48c473(0x125)]='0',_0x3e42b8['style'][_0x48c473(0x158)]=_0x48c473(0x163),_0x3e42b8[_0x48c473(0x11b)][_0x48c473(0x114)]=_0x48c473(0x163),_0x3e42b8['style']['zIndex']='99999999';let _0x1fc8e9=_0x3e42b8[_0x48c473(0x165)](_0x48c473(0x14a));return _0x1fc8e9&&(_0x1fc8e9[_0x48c473(0x11b)][_0x48c473(0x195)]='50'),_0x3e42b8[_0x48c473(0x182)]('[id^=\x22u_content_form_\x22]')[_0x48c473(0x111)](_0x137509=>{const _0xc86e35=_0x48c473;let _0x9ec60=_0x137509[_0xc86e35(0x165)](_0xc86e35(0x124));_0x9ec60&&_0x9ec60[_0xc86e35(0x104)](_0xc86e35(0x110),()=>c(this,null,function*(){const _0x125ba6=_0xc86e35;_0x3e42b8['remove']();let _0x54ea23=new FormData(_0x9ec60),_0x1f32a5={};for(let [_0x5b3bae,_0x2c9791]of _0x54ea23[_0x125ba6(0x140)]())_0x1f32a5[_0x5b3bae]=_0x2c9791;yield n(this,v,T)[_0x125ba6(0x109)](this,N,[{'eventProperty':'Form\x20Submit','value':JSON[_0x125ba6(0x168)]({'campaignId':_0x21aedf,'formId':_0x137509['id'],'formValues':_0x1f32a5})}],_0x21aedf,_0x1f3cab,_0x125ba6(0x124));}));}),(_0x34d94e=_0x3e42b8[_0x48c473(0x165)]('.u-close-button'))==null||_0x34d94e[_0x48c473(0x104)](_0x48c473(0x11a),()=>c(this,null,function*(){const _0x2320db=_0x48c473;_0x3e42b8[_0x2320db(0x174)](),yield n(this,v,T)[_0x2320db(0x109)](this,N,[{'eventProperty':_0x2320db(0x13a),'value':JSON['stringify']({'campaignId':_0x21aedf})}],_0x21aedf,_0x1f3cab,_0x2320db(0x190));})),_0x3e42b8[_0x48c473(0x182)](_0x48c473(0xd5))[_0x48c473(0x111)](_0x1194f6=>{const _0x401909=_0x48c473;_0x1194f6[_0x401909(0x104)](_0x401909(0x11a),()=>c(this,null,function*(){const _0x91fe6f=_0x401909;_0x3e42b8[_0x91fe6f(0x174)](),yield n(this,v,T)[_0x91fe6f(0x109)](this,N,[{'eventProperty':_0x91fe6f(0xe6),'value':JSON[_0x91fe6f(0x168)]({'buttonId':_0x1194f6['id'],'campaignId':_0x21aedf})}],_0x21aedf,_0x1f3cab,_0x91fe6f(0x11a));}));}),_0x3e42b8[_0x48c473(0x182)](_0x48c473(0x194))[_0x48c473(0x111)](_0x3435fd=>{const _0x2c7368=_0x48c473;_0x3435fd['addEventListener'](_0x2c7368(0x11a),()=>c(this,null,function*(){const _0xd0ed9d=_0x2c7368;yield n(this,v,T)['call'](this,N,[{'eventProperty':_0xd0ed9d(0x130),'value':JSON[_0xd0ed9d(0x168)]({'campaignId':_0x21aedf,'imageClassName':_0x3435fd[_0xd0ed9d(0xfd)],'imageId':_0x3435fd['id']})}],_0x21aedf,_0x1f3cab,'click');}));}),_0x3e42b8;},ve=new WeakSet(),gt=function(){const _0x1985fa=_0x46551f;let _0x45c9f4=localStorage[_0x1985fa(0x17e)]('events');return _0x45c9f4?JSON[_0x1985fa(0x14e)](_0x45c9f4):{};},ye=new WeakSet(),pt=function(_0x33ef4f,_0x58fe71,_0x2dcbf7){const _0x1d6d84=_0x46551f;if(!Object['prototype']['hasOwnProperty'][_0x1d6d84(0x109)](_0x33ef4f,_0x58fe71))return _0x1d6d84(0x156)+_0x58fe71+_0x1d6d84(0x13c);if(!_0x2dcbf7)return[];let _0x164e00=_0x33ef4f[_0x58fe71];if(!(_0x164e00!=null&&_0x164e00[_0x1d6d84(0x108)]))return _0x1d6d84(0x156)+_0x58fe71+_0x1d6d84(0xfc);let _0x47ab78=_0x2dcbf7[_0x1d6d84(0x120)](({eventProperty:_0x194c66})=>!Object[_0x1d6d84(0xc7)][_0x1d6d84(0x11c)][_0x1d6d84(0x109)](_0x164e00[_0x1d6d84(0x108)],_0x194c66))[_0x1d6d84(0x129)](({eventProperty:_0x222631})=>_0x222631);return _0x47ab78[_0x1d6d84(0x19a)]>0x0?_0x1d6d84(0x156)+_0x58fe71+_0x1d6d84(0x15b)+_0x47ab78['join'](',\x20')+'.':_0x2dcbf7['map'](({eventProperty:_0x58e4ae,value:_0x47520d})=>({'eventPropertyId':_0x164e00[_0x1d6d84(0x108)][_0x58e4ae]['id'],'value':_0x47520d}));},G=new WeakSet(),Fe=function(_0x2b78a8,_0x3281a4,_0x4ab302){const _0x1f1c6d=_0x46551f;if(!Object[_0x1f1c6d(0xc7)][_0x1f1c6d(0x11c)][_0x1f1c6d(0x109)](_0x2b78a8,_0x3281a4))return _0x1f1c6d(0xcf)+_0x3281a4+'\x20is\x20not\x20valid.';if(!_0x4ab302)return[];let _0x48ba51=_0x2b78a8[_0x3281a4];if(!(_0x48ba51!=null&&_0x48ba51[_0x1f1c6d(0x198)]))return'Attribute\x20'+_0x3281a4+_0x1f1c6d(0x14c);let _0x4fbe81=_0x4ab302[_0x1f1c6d(0x120)](({attributeProperty:_0x409dca})=>!Object[_0x1f1c6d(0xc7)]['hasOwnProperty'][_0x1f1c6d(0x109)](_0x48ba51['attributeProperty'],_0x409dca))[_0x1f1c6d(0x129)](({attributeProperty:_0xd512bd})=>_0xd512bd);return _0x4fbe81[_0x1f1c6d(0x19a)]>0x0?'Attribute\x20'+_0x3281a4+'\x20has\x20invalid\x20attributeProperties:\x20'+_0x4fbe81[_0x1f1c6d(0x193)](',\x20')+'.':_0x4ab302[_0x1f1c6d(0x129)](({attributeProperty:_0x30305a,value:_0x23011e})=>({'attributePropertyId':_0x48ba51['attributeProperty'][_0x30305a]['id'],'value':_0x23011e}));},Te=new WeakSet(),ut=function(_0x193438){const _0x46f63f=_0x46551f;return{'customerId':localStorage[_0x46f63f(0x17e)](_0x46f63f(0x19b))||'','events':[_0x193438]};},H=new WeakSet(),Me=function(_0x5f44e2){return c(this,null,function*(){const _0x5f3acc=_0x5eeb;try{return yield h[_0x5f3acc(0x18d)](''+Ae+je,_0x5f44e2);}catch(_0x21ce8e){throw new Error('Error\x20posting\x20event\x20record');}});},fe=new WeakSet(),dt=function(_0xf0f702){const _0x464d97=_0x46551f;return _0xf0f702===_0x464d97(0x106);},he=new WeakSet(),Et=function(_0x21e33f){const _0x4f8478=_0x46551f;let _0x1b8f97=JSON[_0x4f8478(0x14e)](localStorage['getItem']('action')||'{}');_0x1b8f97[_0x21e33f[_0x4f8478(0x11d)]]=Re(M({},_0x21e33f),{'initialTime':new Date()[_0x4f8478(0x117)](),'page':window['location'][_0x4f8478(0x142)]+window[_0x4f8478(0x18c)][_0x4f8478(0x16c)]}),localStorage['setItem'](_0x4f8478(0xc5),JSON[_0x4f8478(0x168)](_0x1b8f97));},q=new WeakSet(),Ve=function(){const _0x1dd0a3=_0x46551f;localStorage[_0x1dd0a3(0x153)]('action'),localStorage['removeItem'](_0x1dd0a3(0xd3)),localStorage[_0x1dd0a3(0x153)](_0x1dd0a3(0xf0)),localStorage[_0x1dd0a3(0x153)](_0x1dd0a3(0xe3)),localStorage[_0x1dd0a3(0x153)]('ttl'),localStorage[_0x1dd0a3(0x153)]('session');},Oe=new WeakSet(),mt=function(){return c(this,null,function*(){const _0x536e88=_0x5eeb;localStorage[_0x536e88(0x17e)](_0x536e88(0xf0))||(yield n(this,W,De)['call'](this));});},we=new WeakSet(),St=function(_0x3cee4b){return c(this,null,function*(){const _0x37cc36=_0x5eeb;try{return yield h['post'](''+Ne+We,_0x3cee4b);}catch(_0x1c695d){throw new Error(_0x37cc36(0x15d));}});},s(R,P,void 0x0);var Ue=R,$e=Ue[_0x46551f(0x17c)]();typeof window!=_0x46551f(0x144)&&(window[_0x46551f(0x112)]=$e);var bt=$e;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x13c6bb=_0x4d7a;(function(_0x2a5f35,_0xebee9e){const _0x3c3034=_0x4d7a,_0x1ecb07=_0x2a5f35();while(!![]){try{const _0x13f570=parseInt(_0x3c3034(0x14e))/0x1*(-parseInt(_0x3c3034(0x100))/0x2)+parseInt(_0x3c3034(0x1bf))/0x3*(parseInt(_0x3c3034(0x1a5))/0x4)+-parseInt(_0x3c3034(0x140))/0x5+parseInt(_0x3c3034(0x114))/0x6+parseInt(_0x3c3034(0x1ab))/0x7*(parseInt(_0x3c3034(0x15b))/0x8)+-parseInt(_0x3c3034(0x1bc))/0x9*(parseInt(_0x3c3034(0x139))/0xa)+parseInt(_0x3c3034(0x163))/0xb;if(_0x13f570===_0xebee9e)break;else _0x1ecb07['push'](_0x1ecb07['shift']());}catch(_0x1bb69f){_0x1ecb07['push'](_0x1ecb07['shift']());}}}(_0x1509,0x97351));var St=Object['defineProperty'],It=Object[_0x13c6bb(0x191)],vt=Object[_0x13c6bb(0x19f)],$e=Object['getOwnPropertySymbols'],yt=Object[_0x13c6bb(0x1c2)][_0x13c6bb(0x13d)],Tt=Object[_0x13c6bb(0x1c2)]['propertyIsEnumerable'],Be=(_0x46b1c2,_0x3b66ef,_0xec5c00)=>_0x3b66ef in _0x46b1c2?St(_0x46b1c2,_0x3b66ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xec5c00}):_0x46b1c2[_0x3b66ef]=_0xec5c00,M=(_0x131d91,_0x2e57d5)=>{const _0x1bf5e7=_0x13c6bb;for(var _0x3dfa87 in _0x2e57d5||(_0x2e57d5={}))yt[_0x1bf5e7(0x10d)](_0x2e57d5,_0x3dfa87)&&Be(_0x131d91,_0x3dfa87,_0x2e57d5[_0x3dfa87]);if($e){for(var _0x3dfa87 of $e(_0x2e57d5))Tt[_0x1bf5e7(0x10d)](_0x2e57d5,_0x3dfa87)&&Be(_0x131d91,_0x3dfa87,_0x2e57d5[_0x3dfa87]);}return _0x131d91;},we=(_0x3a6535,_0x44dc18)=>It(_0x3a6535,vt(_0x44dc18)),Re=(_0x40ae1f,_0x59c1eb,_0x54bcfd)=>{if(!_0x59c1eb['has'](_0x40ae1f))throw TypeError('Cannot\x20'+_0x54bcfd);},I=(_0x4a478e,_0xda9659,_0x546e95)=>(Re(_0x4a478e,_0xda9659,_0x13c6bb(0x136)),_0x546e95?_0x546e95[_0x13c6bb(0x10d)](_0x4a478e):_0xda9659[_0x13c6bb(0x12b)](_0x4a478e)),s=(_0x27fa18,_0x54f61f,_0x51dada)=>{const _0x362ecd=_0x13c6bb;if(_0x54f61f[_0x362ecd(0x14b)](_0x27fa18))throw TypeError(_0x362ecd(0x18a));_0x54f61f instanceof WeakSet?_0x54f61f[_0x362ecd(0x1bb)](_0x27fa18):_0x54f61f['set'](_0x27fa18,_0x51dada);},O=(_0x19afa6,_0x2771ea,_0x52fe4d,_0x29caf2)=>(Re(_0x19afa6,_0x2771ea,_0x13c6bb(0x1c4)),_0x29caf2?_0x29caf2[_0x13c6bb(0x10d)](_0x19afa6,_0x52fe4d):_0x2771ea[_0x13c6bb(0x13c)](_0x19afa6,_0x52fe4d),_0x52fe4d),n=(_0xe90852,_0x1f92f1,_0x3d21c7)=>(Re(_0xe90852,_0x1f92f1,_0x13c6bb(0x189)),_0x3d21c7),c=(_0x3346dd,_0x3e0aed,_0x58230f)=>new Promise((_0x4eee9b,_0x4da044)=>{const _0x25cad6=_0x13c6bb;var _0x90f6fa=_0x4c0237=>{const _0x5dbc2b=_0x4d7a;try{_0xad511c(_0x58230f[_0x5dbc2b(0x194)](_0x4c0237));}catch(_0x32bcc0){_0x4da044(_0x32bcc0);}},_0x2f06ac=_0x3c482d=>{const _0x105466=_0x4d7a;try{_0xad511c(_0x58230f[_0x105466(0xf9)](_0x3c482d));}catch(_0x533f34){_0x4da044(_0x533f34);}},_0xad511c=_0x579633=>_0x579633[_0x25cad6(0x129)]?_0x4eee9b(_0x579633['value']):Promise[_0x25cad6(0x11e)](_0x579633['value'])[_0x25cad6(0x13a)](_0x90f6fa,_0x2f06ac);_0xad511c((_0x58230f=_0x58230f[_0x25cad6(0x11d)](_0x3346dd,_0x3e0aed))['next']());}),ke=(_0xe56f42=>(_0xe56f42[_0x13c6bb(0x14a)]='utm_source',_0xe56f42[_0x13c6bb(0x1a1)]=_0x13c6bb(0x14d),_0xe56f42[_0x13c6bb(0x118)]=_0x13c6bb(0x159),_0xe56f42['UTM_TERM']=_0x13c6bb(0x190),_0xe56f42['UTM_CONTENT']=_0x13c6bb(0x19b),_0xe56f42))(ke||{}),Je=new Set(Object[_0x13c6bb(0x18d)](ke)),N=_0x13c6bb(0x156),Le=_0x13c6bb(0x175),be=_0x13c6bb(0x1cc),Ke=_0x13c6bb(0x179),Ne=_0x13c6bb(0x1cf),ze='/record-event',We=_0x13c6bb(0x16b),je=_0x13c6bb(0x174),A,y=class y{constructor(){}static[_0x13c6bb(0x166)](){return I(y,A)||O(y,A,new y()),I(y,A);}[_0x13c6bb(0x1b6)](_0x423df9){y['apiKey']=_0x423df9;}[_0x13c6bb(0x12b)](_0x4b4338){return c(this,null,function*(){const _0x5ea8b8=_0x4d7a;return(yield fetch(Le+_0x4b4338,{'headers':{'Authorization':y[_0x5ea8b8(0x17e)],'Content-Type':_0x5ea8b8(0x195)}}))['json']();});}[_0x13c6bb(0x1ae)](_0x51784a,_0x39ca7d){return c(this,null,function*(){const _0x5d13b3=_0x4d7a;return(yield fetch(Le+_0x51784a,{'body':JSON[_0x5d13b3(0x1c9)](_0x39ca7d||{}),'headers':{'Authorization':y[_0x5d13b3(0x17e)],'Content-Type':_0x5d13b3(0x195)},'method':'POST'}))[_0x5d13b3(0x1a0)]();});}};A=new WeakMap(),s(y,A,void 0x0);var Ae=y,h=Ae[_0x13c6bb(0x166)](),l=class extends Error{constructor(_0x2cfb92){const _0x364026=_0x13c6bb;super(_0x2cfb92),this[_0x364026(0x1c1)]=_0x364026(0x199);}};l[_0x13c6bb(0x176)]=!0x1,l[_0x13c6bb(0x161)]=!navigator[_0x13c6bb(0x1ca)],l['debugLevel']=0x0,l[_0x13c6bb(0x111)]=!0x1,l[_0x13c6bb(0x184)]=!0x1;function _0x1509(){const _0x2eaf5f=['UTM_SOURCE','has','SESSION_CREATED','utm_medium','93067cWfjhW','pushState','URL','click','Chrome','Recording\x20event\x20Time','userAgent','keys','Popup\x20Action','record\x20event','Logging\x20out\x20Time','utm_campaign','initialTime','25984CYZHEJ','Edg','error','top','ttl','width','offline','toISOString','10619389xcMUqq','close','os-version','getInstance','MSIE','documentElement','getTime','SCROLL','/customer','pathname','IMMEDIATELY','info','Mobile','parse','Popup\x20View','test','Logging\x20out','/set-identity','https://u23z4zsda8.execute-api.ap-southeast-1.amazonaws.com/Prod/sdk-management/api','disableSDK','Button\x20Click','.u-popup-container\x20img','/set-attribute','attributeProperty','attributes','length','scrollHeight','apiKey','OriginateFrom:\x20','addEventListener','Checking\x20TTL\x20Time','uniqueIdentity','Identity:\x20','loading','filter','Unknown','removeItem','Error\x20fetching\x20attribute\x20data','access\x20private\x20method','Cannot\x20add\x20the\x20same\x20private\x20member\x20more\x20than\x20once','Tracking\x20page\x20change','campaignId','values','Mergn\x20SDK\x20is\x20disabled!','className','utm_term','defineProperties','Safari','data','next','application/json','/brand','remove','map','MergnError','ERROR:\x20','utm_content','.u-close-button','session','Error\x20posting\x20attribute\x20record','getOwnPropertyDescriptors','json','UTM_MEDIUM','eventProperty','Event\x20','search','131644UueJZd','\x20does\x20not\x20have\x20a\x20valid\x20eventProperty.','fixed','Firefox','Mergn\x20not\x20initialized!','zIndex','301LXUpTJ','Recording\x20attribute','Image\x20Click','post','DELAY','#\x20recordAttribute','message','Google\x20Chrome','getItem','NONE','Error\x20setting\x20identity','updateAPIKey','🚀\x20~\x20scrollHandler\x20~\x20data.campaignEntryTimeValue?.value:','style','100%','hostname','add','36PaXovR','INFO','\x20has\x20invalid\x20eventProperties:\x20','48roVvzJ','Debug\x20level\x20must\x20be\x20according\x20to:\x0a\x20NONE:\x200,\x20INFO:\x201,\x20ERROR:\x202,\x20ALL:\x203','name','prototype','left','write\x20to\x20private\x20field','ALL','customer','Web','Initializing\x20Mergn\x20SDK','stringify','onLine','Checking\x20TTL','/attribute','SESSION_ID','recordAttribute','/event','throw','groupEnd','INFO:\x20','\x0aUnexpected\x20error:\x20','position','scrollY','Event\x20Payload:\x0a\x20','26JbKdqM','page','string','setDebugLevel','\x20does\x20not\x20have\x20a\x20valid\x20attributeProperty.','operating-system','campaignEntryTime','join','Platform','events','Close\x20Click','ERROR','Attribute\x20','call','identity','innerHTML','querySelector','isInitialized','logout','debugLevel','3445092MyaFij','log','scroll','Web\x20Session\x20Concluded','UTM_CAMPAIGN','timeEnd','campaignEntryTimeValue','99999999','[id^=\x22u_content_button_\x22]','apply','resolve','Recording\x20event','Viewed\x20Webpage','Recording\x20attribute\x20Time','indexOf','Error\x20fetching\x20event\x20data','submit','height','\x0aMergnError:\x20','offlineEvents','login','done','Form\x20Submit','get','randomUUID','time','\x20has\x20invalid\x20attributeProperties:\x20','action','href','toLowerCase','#\x20Recording\x20event','location','removeEventListener','querySelectorAll','read\x20from\x20private\x20field','init','[id^=\x22u_content_form_\x22]','675810fvnMmp','then','beforeunload','set','hasOwnProperty','value','undefined','531405DpWbfT','Logging\x20in','forEach','Logging\x20in\x20Time','push','called\x202','appendChild','setItem','form','Event\x20Payload'];_0x1509=function(){return _0x2eaf5f;};return _0x1509();}var ft=(_0x1d2663,_0x2cdd2e)=>{const _0x2971ed=_0x13c6bb;_0x2cdd2e instanceof l?p(0x2,_0x2971ed(0x17f)+_0x1d2663+_0x2971ed(0x126)+_0x2cdd2e[_0x2971ed(0x1b1)]):_0x2cdd2e instanceof Error?p(0x2,_0x2971ed(0x17f)+_0x1d2663+'\x0aUnexpected\x20error:\x20'+_0x2cdd2e[_0x2971ed(0x1b1)]):p(0x2,'OriginateFrom:\x20'+_0x1d2663+_0x2971ed(0xfc)+String(_0x2cdd2e));},w=(_0x5e31a7,_0x2cf956,_0x357977)=>c(void 0x0,null,function*(){const _0x5d9250=_0x13c6bb;try{if(l['disableSDK'])throw new l(_0x5d9250(0x18e));if(_0x5e31a7!==_0x5d9250(0x157)&&l[_0x5d9250(0x161)])throw new l('Mergn\x20is\x20offline!');if(_0x5e31a7!==_0x5d9250(0x137)&&!l[_0x5d9250(0x111)])throw new l(_0x5d9250(0x1a9));if(_0x5e31a7!=='login'&&l[_0x5d9250(0x184)])throw new l('Mergn\x20is\x20loading!');return yield _0x2cf956();}catch(_0xbee010){return _0x357977?_0x357977(_0xbee010):(l[_0x5d9250(0x113)]===0x2||l[_0x5d9250(0x113)]===0x3)&&ft(_0x5e31a7,_0xbee010),null;}}),Y=(_0x590c63=>(_0x590c63[_0x590c63[_0x13c6bb(0x1b4)]=0x0]='NONE',_0x590c63[_0x590c63[_0x13c6bb(0x1bd)]=0x1]=_0x13c6bb(0x1bd),_0x590c63[_0x590c63[_0x13c6bb(0x10b)]=0x2]=_0x13c6bb(0x10b),_0x590c63[_0x590c63[_0x13c6bb(0x1c5)]=0x3]=_0x13c6bb(0x1c5),_0x590c63))(Y||{}),p=(_0x1a5482,_0x13c029)=>{const _0x339851=_0x13c6bb;l['debugLevel']!==0x0&&l[_0x339851(0x113)]<=0x3&&(_0x1a5482===0x1?console[_0x339851(0x16e)](_0x339851(0xfb)+new Date()[_0x339851(0x162)](),_0x13c029):_0x1a5482===0x2&&console[_0x339851(0x15d)](_0x339851(0x19a)+new Date()[_0x339851(0x162)](),_0x13c029));},E=(_0x1d90a8,_0x2982f3)=>{const _0x4bf8f0=_0x13c6bb;l[_0x4bf8f0(0x113)]!==0x0&&(_0x2982f3?console[_0x4bf8f0(0x12d)](_0x1d90a8):console[_0x4bf8f0(0x119)](_0x1d90a8));},m=(_0x345ad7,_0x17a460)=>{const _0x30af6c=_0x13c6bb;l['debugLevel']!==0x0&&(_0x17a460?console['group'](_0x345ad7):console[_0x30af6c(0xfa)]());},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,de,rt,Ee,it,me,at,D,Z,Se,st,Ie,ct,ve,lt,G,xe,ye,gt,H,Fe,Te,pt,fe,ut,q,Me,he,dt,Oe,Et,R=class R{constructor(){s(this,ee),s(this,L),s(this,v),s(this,te),s(this,ne),s(this,J),s(this,K),s(this,oe),s(this,re),s(this,ie),s(this,ce),s(this,le),s(this,ge),s(this,W),s(this,pe),s(this,C),s(this,_),s(this,ue),s(this,j),s(this,de),s(this,Ee),s(this,me),s(this,D),s(this,Se),s(this,Ie),s(this,ve),s(this,G),s(this,ye),s(this,H),s(this,Te),s(this,fe),s(this,q),s(this,he),s(this,Oe),s(this,U,void 0x0),s(this,$,void 0x0),s(this,B,void 0x0),s(this,k,null),s(this,ae,()=>{const _0x9b9e3=_0x4d7a;let _0x49f0aa=()=>{const _0x386de5=_0x4d7a;let _0x5420a7=JSON[_0x386de5(0x170)](localStorage['getItem'](_0x386de5(0x12f))||'{}');Object[_0x386de5(0x155)](_0x5420a7)[_0x386de5(0x142)](_0x6aed9f=>{const _0x19b666=_0x386de5;_0x5420a7[_0x6aed9f][_0x19b666(0x15a)]=new Date()[_0x19b666(0x169)](),_0x5420a7[_0x6aed9f]['page']=window['location'][_0x19b666(0x1ba)]+window[_0x19b666(0x133)][_0x19b666(0x16c)];}),localStorage['setItem']('action',JSON['stringify'](_0x5420a7));};_0x49f0aa(),window[_0x9b9e3(0x180)](_0x9b9e3(0x13b),_0x49f0aa);}),s(this,z,_0x4b2cdc=>{const _0x42f8a6=_0x4d7a;let _0x17b396=JSON[_0x42f8a6(0x170)](localStorage[_0x42f8a6(0x1b3)](_0x42f8a6(0x12f))||'{}');_0x17b396[_0x4b2cdc]&&delete _0x17b396[_0x4b2cdc],localStorage[_0x42f8a6(0x147)]('action',JSON[_0x42f8a6(0x1c9)](_0x17b396));}),s(this,se,()=>{const _0x574f28=_0x4d7a;let _0x4e052b=JSON['parse'](localStorage[_0x574f28(0x1b3)](_0x574f28(0x12f))||'{}');Object['keys'](_0x4e052b)[_0x574f28(0x142)](_0x20dbb6=>{const _0x22e157=_0x574f28;_0x4e052b[_0x20dbb6]['message'][_0x22e157(0x1c1)]==='Popup'&&n(this,j,De)[_0x22e157(0x10d)](this,_0x4e052b[_0x20dbb6][_0x22e157(0x18c)]);});});}static[_0x13c6bb(0x166)](){return I(R,P)||O(R,P,new R()),I(R,P);}['init'](_0x4bc18a){w('init',()=>c(this,null,function*(){const _0x5f1a9f=_0x4d7a;p(0x1,_0x5f1a9f(0x1c8)),m('Initializing\x20Mergn\x20SDK',!0x0),E('Mergn\x20SDK\x20Initialization\x20Time',!0x0),n(this,oe,Ye)[_0x5f1a9f(0x10d)](this,_0x4bc18a),yield n(this,J,Ue)['call'](this),l[_0x5f1a9f(0x111)]=!0x0,setInterval(()=>c(this,null,function*(){const _0x42d74a=_0x5f1a9f;yield n(this,J,Ue)[_0x42d74a(0x10d)](this);}),0x493e0),yield n(this,L,V)[_0x5f1a9f(0x10d)](this),window[_0x5f1a9f(0x180)]('online',()=>c(this,null,function*(){const _0x2243aa=_0x5f1a9f;l[_0x2243aa(0x161)]=!0x1;let _0x87e933=JSON[_0x2243aa(0x170)](localStorage[_0x2243aa(0x1b3)]('offlineEvents')||'[]');Array['isArray'](_0x87e933)&&(yield n(this,H,Fe)[_0x2243aa(0x10d)](this,{'customerId':localStorage[_0x2243aa(0x1b3)](_0x2243aa(0x1c6))||'','events':_0x87e933}),localStorage['removeItem']('offlineEvents')),n(this,L,V)[_0x2243aa(0x10d)](this),n(this,_,X)[_0x2243aa(0x10d)](this);})),window['addEventListener'](_0x5f1a9f(0x161),()=>{const _0x2a73b9=_0x5f1a9f;l[_0x2a73b9(0x161)]=!0x0;}),window['addEventListener']('load',()=>{I(this,se)['call'](this);});let _0x5d1ceb=history[_0x5f1a9f(0x14f)];history[_0x5f1a9f(0x14f)]=(..._0x4ec9d2)=>{const _0x36cd1d=_0x5f1a9f;_0x5d1ceb[_0x36cd1d(0x11d)](history,_0x4ec9d2),n(this,K,Ce)['call'](this);},n(this,K,Ce)['call'](this),E('Mergn\x20SDK\x20Initialization\x20Time',!0x1),m(_0x5f1a9f(0x1c8),!0x1);}));}[_0x13c6bb(0x103)](_0x178132){const _0x4ebd0b=_0x13c6bb;if(!(_0x178132 in Y)){console[_0x4ebd0b(0x15d)](_0x4ebd0b(0x1c0));return;}l['debugLevel']=_0x178132;}['recordAttribute'](_0x22a555,_0x172e7a){const _0x492e62=_0x13c6bb;w(_0x492e62(0x1ce),()=>c(this,null,function*(){const _0x2f9979=_0x492e62;yield n(this,ee,Ge)[_0x2f9979(0x10d)](this,_0x22a555,_0x172e7a,void 0x0);}));}[_0x13c6bb(0x128)](_0x1d7260){const _0x29107c=_0x13c6bb;w(_0x29107c(0x128),()=>c(this,null,function*(){const _0x5d8d01=_0x29107c;p(0x1,_0x5d8d01(0x141)),m(_0x5d8d01(0x141),!0x0),E(_0x5d8d01(0x143),!0x0),p(0x1,_0x5d8d01(0x183)+_0x1d7260),l[_0x5d8d01(0x184)]=!0x0,yield n(this,C,Q)['call'](this,_0x1d7260),l[_0x5d8d01(0x184)]=!0x1,E(_0x5d8d01(0x143),!0x1),m('Logging\x20in',!0x1);}));}[_0x13c6bb(0x112)](){w('logout',()=>c(this,null,function*(){const _0x1135a5=_0x4d7a;p(0x1,_0x1135a5(0x173)),m(_0x1135a5(0x173),!0x0),E(_0x1135a5(0x158),!0x0),n(this,q,Me)[_0x1135a5(0x10d)](this),E(_0x1135a5(0x158),!0x1),m(_0x1135a5(0x173),!0x1);}));}['recordEvent'](_0x250e70,_0x3197bc){setTimeout(()=>{const _0x46512d=_0x4d7a;w(_0x46512d(0x157),()=>c(this,null,function*(){const _0x444a4c=_0x46512d;p(0x1,_0x444a4c(0x11f)),m(_0x444a4c(0x11f),!0x0),E(_0x444a4c(0x153),!0x0),p(0x1,_0x444a4c(0xff)+{'eventName':_0x250e70,'eventProperties':_0x3197bc}),n(this,v,T)[_0x444a4c(0x10d)](this,_0x250e70,_0x3197bc),E(_0x444a4c(0x153),!0x1),m(_0x444a4c(0x11f),!0x1);}));});}};P=new WeakMap(),U=new WeakMap(),$=new WeakMap(),B=new WeakMap(),k=new WeakMap(),ee=new WeakSet(),Ge=function(_0x4c5351,_0x57136c,_0x1f190a){return c(this,null,function*(){const _0x237a65=_0x4d7a;yield w(_0x237a65(0x1b0),()=>c(this,null,function*(){const _0xccbb82=_0x237a65;p(0x1,'Recording\x20attribute'),m(_0xccbb82(0x1ac),!0x0),E('Recording\x20attribute\x20Time',!0x0),p(0x1,'Attribute\x20Payload:\x0a\x20'+{'attributeName':_0x4c5351,'attributeProperties':_0x1f190a,'attributeValue':_0x57136c}+')}'),yield n(this,L,V)[_0xccbb82(0x10d)](this),yield n(this,he,dt)['call'](this);let _0x11e5d4=JSON['parse'](localStorage[_0xccbb82(0x1b3)](_0xccbb82(0x17b))||'{}'),_0x2794e2=_0x1f190a?n(this,G,xe)[_0xccbb82(0x10d)](this,_0x11e5d4,_0x4c5351,_0x1f190a):n(this,G,xe)[_0xccbb82(0x10d)](this,_0x11e5d4,_0x4c5351);if(typeof _0x2794e2==_0xccbb82(0x102)){p(0x2,_0x2794e2);return;}n(this,_,X)[_0xccbb82(0x10d)](this);let {id:_0x536e3b}=_0x11e5d4[_0x4c5351],_0x4a2963={'attributeId':_0x536e3b,'attributeProperties':_0x2794e2,'customerId':localStorage['getItem'](_0xccbb82(0x1c6))||'','value':_0x57136c};yield n(this,Oe,Et)[_0xccbb82(0x10d)](this,_0x4a2963),E(_0xccbb82(0x121),!0x1),m('Recording\x20attribute',!0x1);}));});},L=new WeakSet(),V=function(){return c(this,null,function*(){const _0x42f4b1=_0x4d7a;p(0x1,_0x42f4b1(0x1cb)),m(_0x42f4b1(0x1cb),!0x0),E(_0x42f4b1(0x181),!0x0);let _0x272a74=localStorage[_0x42f4b1(0x1b3)](_0x42f4b1(0x15f)),_0x47dc93=!0x1;if(_0x272a74){if(_0x47dc93=new Date()[_0x42f4b1(0x169)]()-parseInt(_0x272a74,0xa)>0x124f80,_0x47dc93){let _0x327dcc=localStorage['getItem']('session'),_0x59ed09=localStorage[_0x42f4b1(0x1b3)](_0x42f4b1(0x15f));_0x327dcc&&_0x59ed09&&n(this,v,T)[_0x42f4b1(0x10d)](this,'Web\x20Session\x20Concluded',[{'eventProperty':_0x42f4b1(0x1cd),'value':localStorage['getItem']('session')},{'eventProperty':_0x42f4b1(0x14c),'value':new Date(parseInt(_0x59ed09,0xa))['toISOString']()}]),n(this,q,Me)[_0x42f4b1(0x10d)](this),localStorage[_0x42f4b1(0x147)]('ttl',''+new Date()[_0x42f4b1(0x169)]());}}else localStorage[_0x42f4b1(0x147)](_0x42f4b1(0x15f),''+new Date()[_0x42f4b1(0x169)]());(!_0x272a74||_0x47dc93||n(this,re,Qe)[_0x42f4b1(0x10d)](this))&&(n(this,ce,Ze)[_0x42f4b1(0x10d)](this),yield n(this,C,Q)[_0x42f4b1(0x10d)](this),yield n(this,ie,Xe)[_0x42f4b1(0x10d)](this)),E('Checking\x20TTL\x20Time',!0x1),m('Checking\x20TTL',!0x1);});},v=new WeakSet(),T=function(_0x44a578,_0x190c47,_0x38db5e,_0xdc72b0,_0x2b3033){return c(this,null,function*(){yield w('#\x20record\x20event',()=>c(this,null,function*(){const _0x550a47=_0x4d7a;var _0x5ebdf3;p(0x1,_0x550a47(0x132)),m(_0x550a47(0x11f),!0x0),E(_0x550a47(0x153),!0x0),p(0x1,_0x550a47(0x149)),p(0x1,{'campaignCustomerInstanceId':_0xdc72b0,'eventName':_0x44a578,'eventProperties':_0x190c47,'name':_0x2b3033}),_0x44a578!==_0x550a47(0x117)&&(yield n(this,L,V)[_0x550a47(0x10d)](this));let _0x357c8b=[];_0x190c47&&_0x357c8b['push'](..._0x190c47),_0x357c8b[_0x550a47(0x144)]({'eventProperty':_0x550a47(0x108),'value':I(this,U)}),_0x357c8b[_0x550a47(0x144)]({'eventProperty':_0x550a47(0x105),'value':I(this,B)}),_0x357c8b[_0x550a47(0x144)]({'eventProperty':_0x550a47(0x165),'value':I(this,$)});let _0x29aeb1=n(this,Ie,ct)[_0x550a47(0x10d)](this),_0x2b4ce4=n(this,ve,lt)[_0x550a47(0x10d)](this,_0x29aeb1,_0x44a578,_0x357c8b);if(typeof _0x2b4ce4==_0x550a47(0x102)){p(0x2,_0x2b4ce4);return;}n(this,_,X)['call'](this);let {id:_0x2b5231}=_0x29aeb1[_0x44a578],_0x4c74ac=n(this,ye,gt)['call'](this,M(we(M(M({},_0xdc72b0?{'campaignCustomerInstanceId':_0xdc72b0}:{}),_0x38db5e?{'campaignId':_0x38db5e}:{}),{'eventId':_0x2b5231,'eventProperties':_0x2b4ce4,'sessionId':localStorage['getItem'](_0x550a47(0x19d))||''}),_0x2b3033?{'name':_0x2b3033}:{}));if(l[_0x550a47(0x161)]){let _0x325cf3=JSON[_0x550a47(0x170)](localStorage['getItem']('offlineEvents')||'[]');_0x325cf3[_0x550a47(0x17c)]<=0x32&&(_0x325cf3[_0x550a47(0x144)](..._0x4c74ac['events']),localStorage['setItem'](_0x550a47(0x127),JSON[_0x550a47(0x1c9)](_0x325cf3)));return;}let _0x3ec04c=yield n(this,H,Fe)[_0x550a47(0x10d)](this,_0x4c74ac);(_0x5ebdf3=_0x3ec04c==null?void 0x0:_0x3ec04c['data'])==null||_0x5ebdf3['forEach'](_0x1e93bb=>{const _0xddc3ef=_0x550a47;n(this,Te,pt)[_0xddc3ef(0x10d)](this,_0x1e93bb['message'][_0xddc3ef(0x1c1)])&&(n(this,fe,ut)['call'](this,_0x1e93bb),I(this,ae)[_0xddc3ef(0x10d)](this),n(this,j,De)['call'](this,_0x1e93bb['campaignId']));}),E(_0x550a47(0x153),!0x1),m(_0x550a47(0x11f),!0x1);}));});},te=new WeakSet(),He=function(){const _0x9b4e44=_0x13c6bb;let _0x2afab1=navigator['userAgent'][_0x9b4e44(0x131)]();return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i[_0x9b4e44(0x172)](_0x2afab1)?_0x9b4e44(0x16f):/windows|macintosh|linux|x11/i[_0x9b4e44(0x172)](_0x2afab1)?_0x9b4e44(0x1c7):_0x9b4e44(0x186);},ne=new WeakSet(),qe=function(){const _0x46335f=_0x13c6bb;let _0x1a7425=navigator[_0x46335f(0x154)],_0x590a4a;return _0x1a7425[_0x46335f(0x122)](_0x46335f(0x152))>-0x1?_0x590a4a=_0x46335f(0x1b2):_0x1a7425[_0x46335f(0x122)](_0x46335f(0x192))>-0x1?_0x590a4a=_0x46335f(0x192):_0x1a7425['indexOf'](_0x46335f(0x1a8))>-0x1?_0x590a4a='Mozilla\x20Firefox':_0x1a7425[_0x46335f(0x122)](_0x46335f(0x15c))>-0x1?_0x590a4a='Microsoft\x20Edge':_0x1a7425['indexOf'](_0x46335f(0x167))>-0x1?_0x590a4a='Internet\x20Explorer':_0x590a4a='Unknown',_0x590a4a;},J=new WeakSet(),Ue=function(){return c(this,null,function*(){const _0x1bd131=_0x4d7a;try{yield h[_0x1bd131(0x12b)](_0x1bd131(0x196));}catch(_0x1b91e8){throw l[_0x1bd131(0x176)]=!0x0,_0x1b91e8[_0x1bd131(0x1b1)];}});},K=new WeakSet(),Ce=function(){return c(this,null,function*(){const _0x44649a=_0x4d7a;var _0x33e5fa;p(0x1,_0x44649a(0x18b)),m(_0x44649a(0x18b),!0x0),E('Tracking\x20page\x20change\x20Time',!0x0);let _0x21af22=(_0x33e5fa=window==null?void 0x0:window[_0x44649a(0x133)])==null?void 0x0:_0x33e5fa[_0x44649a(0x130)];if(_0x21af22!==I(this,k)){O(this,k,_0x21af22);let _0x2feaf1=[];new URLSearchParams(new URL(window['location'][_0x44649a(0x130)])[_0x44649a(0x1a4)])[_0x44649a(0x142)]((_0x46324d,_0x1dc658)=>c(this,null,function*(){const _0x465ea7=_0x44649a;Je['has'](_0x1dc658)&&_0x2feaf1[_0x465ea7(0x144)]({'eventProperty':_0x1dc658,'value':_0x46324d});})),yield n(this,v,T)[_0x44649a(0x10d)](this,_0x44649a(0x120),[{'eventProperty':_0x44649a(0x150),'value':window[_0x44649a(0x133)]['pathname']},..._0x2feaf1]);}E('Tracking\x20page\x20change\x20Time',!0x1),m('Tracking\x20page\x20change',!0x1);});},oe=new WeakSet(),Ye=function(_0x5505b4){const _0x5accb2=_0x13c6bb;h['updateAPIKey'](_0x5505b4),O(this,U,navigator[_0x5accb2(0x154)]),O(this,$,n(this,ne,qe)['call'](this)),O(this,B,n(this,te,He)[_0x5accb2(0x10d)](this));},re=new WeakSet(),Qe=function(){const _0x471707=_0x13c6bb;return!localStorage[_0x471707(0x1b3)](_0x471707(0x109))||!localStorage[_0x471707(0x1b3)]('customer')||!localStorage[_0x471707(0x1b3)](_0x471707(0x17b))||!localStorage['getItem'](_0x471707(0x182))||!localStorage[_0x471707(0x1b3)](_0x471707(0x19d))||!localStorage['getItem']('customer');},ie=new WeakSet(),Xe=function(){return c(this,null,function*(){const _0x99fd67=_0x4d7a;yield n(this,le,et)[_0x99fd67(0x10d)](this),yield n(this,W,_e)['call'](this),yield n(this,C,Q)[_0x99fd67(0x10d)](this);});},ae=new WeakMap(),z=new WeakMap(),se=new WeakMap(),ce=new WeakSet(),Ze=function(){const _0x4867a4=_0x13c6bb;let _0x5830c8=localStorage[_0x4867a4(0x1b3)](_0x4867a4(0x182));return _0x5830c8||(_0x5830c8=crypto[_0x4867a4(0x12c)](),localStorage[_0x4867a4(0x147)](_0x4867a4(0x182),_0x5830c8)),_0x5830c8;},le=new WeakSet(),et=function(){return c(this,null,function*(){const _0x35dd23=_0x4d7a;if(!localStorage[_0x35dd23(0x1b3)](_0x35dd23(0x109))){let _0x4fb79b=(yield n(this,ge,tt)[_0x35dd23(0x10d)](this))[_0x35dd23(0x193)];_0x4fb79b&&localStorage['setItem'](_0x35dd23(0x109),JSON[_0x35dd23(0x1c9)](_0x4fb79b));}});},ge=new WeakSet(),tt=function(){return c(this,null,function*(){const _0x515b91=_0x4d7a;try{return yield h[_0x515b91(0x12b)](''+Ne);}catch(_0x2a074f){throw new Error(_0x515b91(0x123));}});},W=new WeakSet(),_e=function(){return c(this,null,function*(){const _0x34ac35=_0x4d7a;if(!localStorage['getItem'](_0x34ac35(0x17b))){let _0x50eee9=(yield n(this,pe,nt)['call'](this))[_0x34ac35(0x193)];_0x50eee9&&localStorage[_0x34ac35(0x147)](_0x34ac35(0x17b),JSON[_0x34ac35(0x1c9)](_0x50eee9));}});},pe=new WeakSet(),nt=function(){return c(this,null,function*(){const _0x32a8b4=_0x4d7a;try{return yield h[_0x32a8b4(0x12b)](''+be);}catch(_0x76ea95){throw new Error(_0x32a8b4(0x188));}});},C=new WeakSet(),Q=function(_0x364b0e){return c(this,null,function*(){const _0x2fa73b=_0x4d7a;localStorage[_0x2fa73b(0x1b3)](_0x2fa73b(0x19d))||(localStorage[_0x2fa73b(0x147)]('session',crypto['randomUUID']()),yield n(this,v,T)['call'](this,'Web\x20Session\x20Started',[{'eventProperty':_0x2fa73b(0x1cd),'value':localStorage[_0x2fa73b(0x1b3)](_0x2fa73b(0x19d))},{'eventProperty':_0x2fa73b(0x14c),'value':new Date(parseInt(localStorage['getItem'](_0x2fa73b(0x15f))||'',0xa))[_0x2fa73b(0x162)]()}]));let _0x55a584={'deviceId':localStorage[_0x2fa73b(0x1b3)]('uniqueIdentity')||crypto[_0x2fa73b(0x12c)](),'os':I(this,U)};if(_0x364b0e)_0x55a584[_0x2fa73b(0x10e)]=_0x364b0e;else{if(!_0x364b0e&&localStorage['getItem']('customer'))return;}try{let _0x593d05=yield n(this,ue,ot)[_0x2fa73b(0x10d)](this,_0x55a584);_0x593d05!==void 0x0&&localStorage['setItem'](_0x2fa73b(0x1c6),_0x593d05);}catch(_0x28100f){throw new Error(_0x2fa73b(0x1b5));}});},_=new WeakSet(),X=function(){const _0x4c8315=_0x13c6bb;localStorage[_0x4c8315(0x147)](_0x4c8315(0x15f),''+new Date()[_0x4c8315(0x169)]());},ue=new WeakSet(),ot=function(_0x4b500c){return c(this,null,function*(){const _0x554967=_0x4d7a;try{return(yield h[_0x554967(0x1ae)](''+We+je,_0x4b500c))[_0x554967(0x193)];}catch(_0x4c4219){throw new Error('Error\x20posting\x20identity\x20data');}});},j=new WeakSet(),De=function(_0x3eceab){const _0x33f49a=_0x13c6bb;let _0x4080e9=n(this,de,rt)[_0x33f49a(0x10d)](this);if(_0x4080e9!=null&&_0x4080e9[_0x3eceab])switch(_0x4080e9[_0x3eceab][_0x33f49a(0x106)]){case _0x33f49a(0x1af):{n(this,me,at)['call'](this,_0x4080e9[_0x3eceab]);break;}case _0x33f49a(0x16d):{n(this,D,Z)[_0x33f49a(0x10d)](this,_0x4080e9[_0x3eceab]);break;}case _0x33f49a(0x16a):{n(this,Ee,it)[_0x33f49a(0x10d)](this,_0x4080e9[_0x3eceab]);break;}default:return;}},de=new WeakSet(),rt=function(){const _0x7b7923=_0x13c6bb;let _0x3019d6=localStorage[_0x7b7923(0x1b3)](_0x7b7923(0x12f));return _0x3019d6?JSON[_0x7b7923(0x170)](_0x3019d6):null;},Ee=new WeakSet(),it=function(_0x4dab61){const _0x5c8008=_0x13c6bb;let _0x5e3fba=()=>{const _0x2b6c8c=_0x4d7a;var _0x40549e,_0x5a380e;let _0x3ccda9=window['innerHeight'],_0x538036=document[_0x2b6c8c(0x168)][_0x2b6c8c(0x17d)],_0x229f61=window[_0x2b6c8c(0xfe)]/(_0x538036-_0x3ccda9)*0x64;console[_0x2b6c8c(0x115)]('🚀\x20~\x20scrollHandler\x20~\x20percentScrolled:',_0x229f61),console['log'](_0x2b6c8c(0x1b7),(_0x40549e=_0x4dab61[_0x2b6c8c(0x11a)])==null?void 0x0:_0x40549e['value']),_0x229f61>(((_0x5a380e=_0x4dab61[_0x2b6c8c(0x11a)])==null?void 0x0:_0x5a380e[_0x2b6c8c(0x13e)])||0x0)&&(window[_0x2b6c8c(0x134)](_0x2b6c8c(0x116),_0x5e3fba),console[_0x2b6c8c(0x115)](_0x2b6c8c(0x145)),n(this,D,Z)[_0x2b6c8c(0x10d)](this,_0x4dab61));};window[_0x5c8008(0x180)](_0x5c8008(0x116),_0x5e3fba);},me=new WeakSet(),at=function(_0x2970ce){const _0x43be35=_0x13c6bb;var _0x3d9718;let _0x2b1990=_0x2970ce[_0x43be35(0x15a)]-0x1f4+(((_0x3d9718=_0x2970ce[_0x43be35(0x11a)])==null?void 0x0:_0x3d9718[_0x43be35(0x13e)])||0x0)*0x3e8-new Date()[_0x43be35(0x169)]();_0x2b1990>0x0&&_0x2970ce[_0x43be35(0x101)]===window[_0x43be35(0x133)]['hostname']+window['location'][_0x43be35(0x16c)]&&setTimeout(()=>{const _0x3329e0=_0x43be35;I(this,z)[_0x3329e0(0x10d)](this,_0x2970ce['campaignId']),n(this,D,Z)[_0x3329e0(0x10d)](this,_0x2970ce);},_0x2b1990);},D=new WeakSet(),Z=function(_0x1bb694){const _0x384169=_0x13c6bb;let _0x676dcf=n(this,Se,st)['call'](this,'div',_0x1bb694);document['body'][_0x384169(0x146)](_0x676dcf),n(this,v,T)[_0x384169(0x10d)](this,N,[{'eventProperty':_0x384169(0x171),'value':JSON[_0x384169(0x1c9)]({'campaignId':_0x1bb694['campaignId']})}],_0x1bb694[_0x384169(0x18c)],_0x1bb694['campaignCustomerInstanceId'],'view'),I(this,z)[_0x384169(0x10d)](this,_0x1bb694[_0x384169(0x18c)]);},Se=new WeakSet(),st=function(_0x476acd,_0xa2fc4c){const _0x345eaf=_0x13c6bb;var _0x236245;let {campaignCustomerInstanceId:_0x5a60ab,campaignId:_0x3a149f,message:{design:_0x3e8472}}=_0xa2fc4c,_0x2939b8=document['createElement'](_0x476acd);_0x2939b8['id']='popup_container_'+_0x3a149f,_0x2939b8[_0x345eaf(0x10f)]=_0x3e8472,_0x2939b8[_0x345eaf(0x1b8)][_0x345eaf(0xfd)]=_0x345eaf(0x1a7),_0x2939b8[_0x345eaf(0x1b8)][_0x345eaf(0x15e)]='0',_0x2939b8[_0x345eaf(0x1b8)][_0x345eaf(0x1c3)]='0',_0x2939b8[_0x345eaf(0x1b8)][_0x345eaf(0x160)]=_0x345eaf(0x1b9),_0x2939b8[_0x345eaf(0x1b8)][_0x345eaf(0x125)]='100%',_0x2939b8['style'][_0x345eaf(0x1aa)]=_0x345eaf(0x11b);let _0x12769c=_0x2939b8[_0x345eaf(0x110)]('.u-popup-container');return _0x12769c&&(_0x12769c[_0x345eaf(0x1b8)][_0x345eaf(0x1aa)]='50'),_0x2939b8[_0x345eaf(0x135)](_0x345eaf(0x138))[_0x345eaf(0x142)](_0x5c4d0e=>{const _0xa697f5=_0x345eaf;let _0x5e0abe=_0x5c4d0e['querySelector'](_0xa697f5(0x148));_0x5e0abe&&_0x5e0abe[_0xa697f5(0x180)](_0xa697f5(0x124),()=>c(this,null,function*(){const _0xd5f328=_0xa697f5;_0x2939b8['remove']();let _0x48b4bf=new FormData(_0x5e0abe),_0x1954d6={};for(let [_0x325f5e,_0x26c4bd]of _0x48b4bf['entries']())_0x1954d6[_0x325f5e]=_0x26c4bd;yield n(this,v,T)[_0xd5f328(0x10d)](this,N,[{'eventProperty':_0xd5f328(0x12a),'value':JSON[_0xd5f328(0x1c9)]({'campaignId':_0x3a149f,'formId':_0x5c4d0e['id'],'formValues':_0x1954d6})}],_0x3a149f,_0x5a60ab,_0xd5f328(0x148));}));}),(_0x236245=_0x2939b8['querySelector'](_0x345eaf(0x19c)))==null||_0x236245[_0x345eaf(0x180)]('click',()=>c(this,null,function*(){const _0x56cc79=_0x345eaf;_0x2939b8[_0x56cc79(0x197)](),yield n(this,v,T)[_0x56cc79(0x10d)](this,N,[{'eventProperty':_0x56cc79(0x10a),'value':JSON[_0x56cc79(0x1c9)]({'campaignId':_0x3a149f})}],_0x3a149f,_0x5a60ab,_0x56cc79(0x164));})),_0x2939b8[_0x345eaf(0x135)](_0x345eaf(0x11c))['forEach'](_0x155cf4=>{const _0xb7e21a=_0x345eaf;_0x155cf4[_0xb7e21a(0x180)](_0xb7e21a(0x151),()=>c(this,null,function*(){const _0x4cab57=_0xb7e21a;_0x2939b8[_0x4cab57(0x197)](),yield n(this,v,T)[_0x4cab57(0x10d)](this,N,[{'eventProperty':_0x4cab57(0x177),'value':JSON['stringify']({'buttonId':_0x155cf4['id'],'campaignId':_0x3a149f})}],_0x3a149f,_0x5a60ab,'click');}));}),_0x2939b8[_0x345eaf(0x135)](_0x345eaf(0x178))[_0x345eaf(0x142)](_0x39f7ce=>{const _0x182f86=_0x345eaf;_0x39f7ce[_0x182f86(0x180)](_0x182f86(0x151),()=>c(this,null,function*(){const _0x8425bc=_0x182f86;yield n(this,v,T)[_0x8425bc(0x10d)](this,N,[{'eventProperty':_0x8425bc(0x1ad),'value':JSON[_0x8425bc(0x1c9)]({'campaignId':_0x3a149f,'imageClassName':_0x39f7ce[_0x8425bc(0x18f)],'imageId':_0x39f7ce['id']})}],_0x3a149f,_0x5a60ab,_0x8425bc(0x151));}));}),_0x2939b8;},Ie=new WeakSet(),ct=function(){const _0x33f30c=_0x13c6bb;let _0x4831f7=localStorage[_0x33f30c(0x1b3)]('events');return _0x4831f7?JSON[_0x33f30c(0x170)](_0x4831f7):{};},ve=new WeakSet(),lt=function(_0xe5b5c2,_0x11c81b,_0xe15742){const _0x5d0a7f=_0x13c6bb;if(!Object[_0x5d0a7f(0x1c2)][_0x5d0a7f(0x13d)]['call'](_0xe5b5c2,_0x11c81b))return _0x5d0a7f(0x1a3)+_0x11c81b+'\x20is\x20not\x20valid.';if(!_0xe15742)return[];let _0x3f10f3=_0xe5b5c2[_0x11c81b];if(!(_0x3f10f3!=null&&_0x3f10f3[_0x5d0a7f(0x1a2)]))return _0x5d0a7f(0x1a3)+_0x11c81b+_0x5d0a7f(0x1a6);let _0xcb80fd=_0xe15742[_0x5d0a7f(0x185)](({eventProperty:_0x236ab9})=>!Object[_0x5d0a7f(0x1c2)][_0x5d0a7f(0x13d)][_0x5d0a7f(0x10d)](_0x3f10f3[_0x5d0a7f(0x1a2)],_0x236ab9))[_0x5d0a7f(0x198)](({eventProperty:_0xdd37b})=>_0xdd37b);return _0xcb80fd[_0x5d0a7f(0x17c)]>0x0?_0x5d0a7f(0x1a3)+_0x11c81b+_0x5d0a7f(0x1be)+_0xcb80fd[_0x5d0a7f(0x107)](',\x20')+'.':_0xe15742['map'](({eventProperty:_0x52f544,value:_0x30f328})=>({'eventPropertyId':_0x3f10f3[_0x5d0a7f(0x1a2)][_0x52f544]['id'],'value':_0x30f328}));},G=new WeakSet(),xe=function(_0xb64d3b,_0x1146f5,_0x5038c5){const _0x2b01a4=_0x13c6bb;if(!Object[_0x2b01a4(0x1c2)][_0x2b01a4(0x13d)]['call'](_0xb64d3b,_0x1146f5))return _0x2b01a4(0x10c)+_0x1146f5+'\x20is\x20not\x20valid.';if(!_0x5038c5)return[];let _0x27511d=_0xb64d3b[_0x1146f5];if(!(_0x27511d!=null&&_0x27511d[_0x2b01a4(0x17a)]))return _0x2b01a4(0x10c)+_0x1146f5+_0x2b01a4(0x104);let _0x136f3c=_0x5038c5[_0x2b01a4(0x185)](({attributeProperty:_0x29b206})=>!Object['prototype']['hasOwnProperty'][_0x2b01a4(0x10d)](_0x27511d[_0x2b01a4(0x17a)],_0x29b206))[_0x2b01a4(0x198)](({attributeProperty:_0x5698c4})=>_0x5698c4);return _0x136f3c[_0x2b01a4(0x17c)]>0x0?_0x2b01a4(0x10c)+_0x1146f5+_0x2b01a4(0x12e)+_0x136f3c[_0x2b01a4(0x107)](',\x20')+'.':_0x5038c5[_0x2b01a4(0x198)](({attributeProperty:_0x19c3c6,value:_0x5b6678})=>({'attributePropertyId':_0x27511d[_0x2b01a4(0x17a)][_0x19c3c6]['id'],'value':_0x5b6678}));},ye=new WeakSet(),gt=function(_0x319cb7){const _0x3f0783=_0x13c6bb;return{'customerId':localStorage[_0x3f0783(0x1b3)](_0x3f0783(0x1c6))||'','events':[_0x319cb7]};},H=new WeakSet(),Fe=function(_0x2dd1f4){return c(this,null,function*(){try{return yield h['post'](''+Ne+ze,_0x2dd1f4);}catch(_0xdf2b3a){throw new Error('Error\x20posting\x20event\x20record');}});},Te=new WeakSet(),pt=function(_0x200008){return _0x200008==='Popup';},fe=new WeakSet(),ut=function(_0x443173){const _0x115111=_0x13c6bb;let _0x48e88a=JSON[_0x115111(0x170)](localStorage['getItem'](_0x115111(0x12f))||'{}');_0x48e88a[_0x443173['campaignId']]=we(M({},_0x443173),{'initialTime':new Date()['getTime'](),'page':window[_0x115111(0x133)][_0x115111(0x1ba)]+window['location'][_0x115111(0x16c)]}),localStorage[_0x115111(0x147)](_0x115111(0x12f),JSON[_0x115111(0x1c9)](_0x48e88a));},q=new WeakSet(),Me=function(){const _0x4bb33c=_0x13c6bb;localStorage[_0x4bb33c(0x187)](_0x4bb33c(0x12f)),localStorage[_0x4bb33c(0x187)]('events'),localStorage[_0x4bb33c(0x187)](_0x4bb33c(0x17b)),localStorage[_0x4bb33c(0x187)](_0x4bb33c(0x127)),localStorage['removeItem'](_0x4bb33c(0x15f)),localStorage[_0x4bb33c(0x187)](_0x4bb33c(0x19d));},he=new WeakSet(),dt=function(){return c(this,null,function*(){const _0x5645d2=_0x4d7a;localStorage[_0x5645d2(0x1b3)]('attributes')||(yield n(this,W,_e)[_0x5645d2(0x10d)](this));});},Oe=new WeakSet(),Et=function(_0x17baf1){return c(this,null,function*(){const _0x1383a6=_0x4d7a;try{return yield h['post'](''+be+Ke,_0x17baf1);}catch(_0x41594a){throw new Error(_0x1383a6(0x19e));}});},s(R,P,void 0x0);function _0x4d7a(_0x4b97ec,_0x58cd77){const _0x1509e1=_0x1509();return _0x4d7a=function(_0x4d7a32,_0x554084){_0x4d7a32=_0x4d7a32-0xf9;let _0x339e7b=_0x1509e1[_0x4d7a32];return _0x339e7b;},_0x4d7a(_0x4b97ec,_0x58cd77);}var Pe=R,Ve=Pe[_0x13c6bb(0x166)]();typeof window!=_0x13c6bb(0x13f)&&(window['mergn']=Ve);var dn=Ve;export{dn as default};
|