@ordersune/crm-web-sdk 1.0.27 → 1.1.0
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/dist/index.d.ts +0 -2
- package/dist/index.js +1 -8
- package/dist/ordersune-crm-web-sdk-1.1.0.tgz +0 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/types/index.d.ts +85 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/web-sdk.d.ts +51 -0
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.js +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/dist/web-sdk.d.ts +1 -2
- package/dist/web-sdk.js +15 -20
- package/package.json +11 -10
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ordersune-crm-web-sdk-1.0.26.tgz +0 -0
- package/dist/ordersune-crm-web-sdk-1.0.27.tgz +0 -0
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js.map +0 -1
- package/dist/web-sdk.d.ts.map +0 -1
- package/dist/web-sdk.js.map +0 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = exports.WebSDK = void 0;
|
|
4
|
-
var web_sdk_1 = require("./web-sdk");
|
|
5
|
-
Object.defineProperty(exports, "WebSDK", { enumerable: true, get: function () { return web_sdk_1.WebSDK; } });
|
|
6
|
-
var web_sdk_2 = require("./web-sdk");
|
|
7
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return web_sdk_2.WebSDK; } });
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
function a0_0x5813(){const _0x277c97=['URL','trim','purchaseBatch','WebSDK','cursor','__esModule','getStoredDeviceId','rgba(0,\x200,\x200,\x200.5)','959850OJYnTZ','position','randomUUID','timezone','keys','messageColor','borderRadius','marginBottom','API\x20key\x20and\x20endpoint\x20are\x20required','none','platform','identify','width','SDK\x20Initialized','14px','default','webOnClickAction','Error\x20processing\x20campaign\x20click:','clearUserData','createElement','batchSize','Failed\x20to\x20detect\x20timezone','Initialization\x20failed','Purchase\x20event\x20queued','logClick','endpoint','click','debug','dismissMessageInSeconds','button1','508818bgLFcg','00000000-0000-0000-0000-000000000000','clockseq','deeplink_into_app','flex','flexDirection','.custom_attributes','dismissMessageAutomatically','_v6','sdkVersion','updateV1State','User\x20ID\x20must\x20be\x20a\x20string','button2','trackCustomAttribute','6ba7b811-9dad-11d1-80b4-00c04fd430c8','DateTimeFormat','attributeQueue','8px','removeItem','Async\x20initialization\x20failed','img','12px','showInAppMessage','set','setItem','×','absolute','9999','border','/analytics/data','batchProcessingInterval','header','purchases','body','now','100px','modal','storeUserProfile','node','eventQueue','fixed','json','marginTop','div','borderColor','parse','src','justifyContent','batchInterval','logInAppMessageClick','Identifying\x20user','addEventListener','140px','UUID\x20byte\x20range\x20','setToken','zIndex','center','getItem','8px\x200\x2024px\x200','nsecs','rng','openWebUrl','defineProperty','backgroundColor','Event\x20name\x20is\x20required\x20and\x20must\x20be\x20a\x20string','unshift','updateV7State','buildCampaignPayload','104WjonGE','22px','trackEvent','500','9897tRUtuy','Invalid\x20UUID','version','catch','deviceId','100%','Batch\x20processing\x20failed','Namespace\x20must\x20be\x20array-like\x20(16\x20iterable\x20integer\x20values,\x200-255)','type','apiKey','2px\x20solid\x20','getStoredUserProfile','maxBatchSize','guestUserId','resolvedOptions','unsafeStringify','onclick','DNS','validate','currentUser','fontWeight','floor','length','pointer','log','v1ToV6','getRandomValues','Batch\x20dispatched\x20successfully:\x20','removeChild','guest_user_','toLowerCase','\x20purchases,\x20','gap','msecs','textAlign','fontSize','color','web','height','undefined','/analytics/clicks','display','storeCustomAttributes','Sending\x20batch\x20to\x20server','maxWidth','object','button','getUserProfile','replace','startBatchProcessing','redirect_to_web_url','random','ceil','OrdersuneCRMWebSDK','NIL','User\x20data\x20cleared,\x20new\x20device\x20ID\x20generated','16858510BRsBIG','{\x22name\x22:\x22@ordersune/crm-web-sdk\x22,\x22version\x22:\x221.1.0\x22,\x22main\x22:\x22dist/index.js\x22,\x22types\x22:\x22dist/index.d.ts\x22,\x22publishConfig\x22:{\x22access\x22:\x22public\x22},\x22scripts\x22:{\x22build\x22:\x22npm\x20run\x20build:bundle\x20&&\x20npm\x20run\x20build:types\x22,\x22build:bundle\x22:\x22webpack\x20--config\x20webpack.config.js\x22,\x22build:types\x22:\x22tsc\x20--emitDeclarationOnly\x20--outDir\x20dist\x22,\x22prepare\x22:\x22npm\x20run\x20build\x20&&\x20husky\x22,\x22release\x22:\x22bash\x20-c\x20\x27read\x20-p\x20\x5c\x22Enter\x20OTP\x20from\x20authenticator:\x20\x5c\x22\x20OTP\x20&&\x20GIT_AUTHOR_NAME=\x5c\x22$(git\x20config\x20user.name)\x5c\x22\x20GIT_AUTHOR_EMAIL=\x5c\x22$(git\x20config\x20user.email)\x5c\x22\x20GIT_COMMITTER_NAME=\x5c\x22$(git\x20config\x20user.name)\x5c\x22\x20GIT_COMMITTER_EMAIL=\x5c\x22$(git\x20config\x20user.email)\x5c\x22\x20NPM_CONFIG_OTP=$OTP\x20semantic-release\x20--no-ci\x27\x22,\x22lint:commit\x22:\x22commitlint\x20--edit\x22},\x22files\x22:[\x22dist\x22,\x22README.md\x22],\x22dependencies\x22:{\x22uuid\x22:\x22^11.0.3\x22},\x22devDependencies\x22:{\x22@commitlint/cli\x22:\x22^20.1.0\x22,\x22@commitlint/config-conventional\x22:\x22^20.0.0\x22,\x22@semantic-release/changelog\x22:\x22^6.0.3\x22,\x22@semantic-release/git\x22:\x22^10.0.1\x22,\x22@semantic-release/npm\x22:\x22^13.1.2\x22,\x22@types/uuid\x22:\x22^9.0.0\x22,\x22husky\x22:\x22^9.1.7\x22,\x22javascript-obfuscator\x22:\x22^4.1.1\x22,\x22semantic-release\x22:\x22^25.0.2\x22,\x22terser-webpack-plugin\x22:\x22^5.3.14\x22,\x22ts-loader\x22:\x22^9.5.4\x22,\x22typescript\x22:\x22^5.0.0\x22,\x22webpack\x22:\x22^5.103.0\x22,\x22webpack-cli\x22:\x22^6.0.1\x22,\x22webpack-obfuscator\x22:\x22^3.5.1\x22}}','push','20px','isProcessingQueue','bind','userAttributes','toString','deviceDetails','stringify','loadCustomAttributes','Failed\x20to\x20send\x20payload\x20to\x20server','initializeDeviceDetails','function','slice','storeDeviceId','POST','application/json','alignItems','600','.current_user','displayInAppMessage','getGuestUserId','.device_id','SDK\x20not\x20fully\x20initialized,\x20waiting\x20for\x20initialization','right','292fqEauO','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','style','4598478xqBGWC','background','events','margin','20ULsMiR','closeColor','400px','pow','inAppImage','top','16px','padding','processCampaignClick','textContent','toUpperCase','initialize','284295EBjvYA','v6ToV1','stringToBytes','webOnClickValue','HTTP\x20error!\x20status:\x20','exports','seq','column','265937slgLxT','appendChild','string','timestamp','left','forceSend','Attribute\x20name\x20is\x20required\x20and\x20must\x20be\x20a\x20string','requestId','substring','\x20attributes','os.','fill','buildPurchasePayload','hexToColor','queueEvent','MAX','white','_blank','mediaConfig','amd','textColor','processBatch'];a0_0x5813=function(){return _0x277c97;};return a0_0x5813();}function a0_0x33a9(_0x5c1587,_0x17e574){const _0x581320=a0_0x5813();return a0_0x33a9=function(_0x33a96a,_0x486e19){_0x33a96a=_0x33a96a-0x76;let _0x2952d0=_0x581320[_0x33a96a];return _0x2952d0;},a0_0x33a9(_0x5c1587,_0x17e574);}(function(_0x5067d3,_0x54a36){const _0x3cfe8a=a0_0x33a9,_0xd296a1=_0x5067d3();while(!![]){try{const _0x3704a3=parseInt(_0x3cfe8a(0x158))/0x1+-parseInt(_0x3cfe8a(0x8d))/0x2+parseInt(_0x3cfe8a(0xf3))/0x3*(parseInt(_0x3cfe8a(0x145))/0x4)+parseInt(_0x3cfe8a(0x14c))/0x5*(-parseInt(_0x3cfe8a(0xab))/0x6)+parseInt(_0x3cfe8a(0x160))/0x7*(-parseInt(_0x3cfe8a(0xef))/0x8)+-parseInt(_0x3cfe8a(0x148))/0x9+parseInt(_0x3cfe8a(0x12b))/0xa;if(_0x3704a3===_0x54a36)break;else _0xd296a1['push'](_0xd296a1['shift']());}catch(_0x2069a8){_0xd296a1['push'](_0xd296a1['shift']());}}}(a0_0x5813,0x5e7c3),!function webpackUniversalModuleDefinition(_0x315a3d,_0x1463cd){const _0x3427a2=a0_0x33a9;_0x3427a2(0x120)==typeof exports&&_0x3427a2(0x120)==typeof module?module['exports']=_0x1463cd():_0x3427a2(0x138)==typeof define&&define[_0x3427a2(0x82)]?define('OrdersuneCRMWebSDK',[],_0x1463cd):_0x3427a2(0x120)==typeof exports?exports['OrdersuneCRMWebSDK']=_0x1463cd():_0x315a3d[_0x3427a2(0x128)]=_0x1463cd();}(this,()=>((()=>{'use strict';var _0x542268={0xb:(_0x82404e,_0x47e8e3,_0x1f3877)=>{const _0x16bc48=a0_0x33a9;Object[_0x16bc48(0xe9)](_0x47e8e3,'__esModule',{'value':!0x0}),_0x47e8e3[_0x16bc48(0x102)]=void 0x0;const _0x26e679=_0x1f3877(0x2ea),_0x5837df=[];for(let _0x5f5f8c=0x0;_0x5f5f8c<0x100;++_0x5f5f8c)_0x5837df['push']((_0x5f5f8c+0x100)[_0x16bc48(0x132)](0x10)[_0x16bc48(0x139)](0x1));function _0x3a354f(_0x76cbfc,_0x4c0233=0x0){const _0x1e327f=_0x16bc48;return(_0x5837df[_0x76cbfc[_0x4c0233+0x0]]+_0x5837df[_0x76cbfc[_0x4c0233+0x1]]+_0x5837df[_0x76cbfc[_0x4c0233+0x2]]+_0x5837df[_0x76cbfc[_0x4c0233+0x3]]+'-'+_0x5837df[_0x76cbfc[_0x4c0233+0x4]]+_0x5837df[_0x76cbfc[_0x4c0233+0x5]]+'-'+_0x5837df[_0x76cbfc[_0x4c0233+0x6]]+_0x5837df[_0x76cbfc[_0x4c0233+0x7]]+'-'+_0x5837df[_0x76cbfc[_0x4c0233+0x8]]+_0x5837df[_0x76cbfc[_0x4c0233+0x9]]+'-'+_0x5837df[_0x76cbfc[_0x4c0233+0xa]]+_0x5837df[_0x76cbfc[_0x4c0233+0xb]]+_0x5837df[_0x76cbfc[_0x4c0233+0xc]]+_0x5837df[_0x76cbfc[_0x4c0233+0xd]]+_0x5837df[_0x76cbfc[_0x4c0233+0xe]]+_0x5837df[_0x76cbfc[_0x4c0233+0xf]])[_0x1e327f(0x111)]();}_0x47e8e3[_0x16bc48(0x102)]=_0x3a354f,_0x47e8e3[_0x16bc48(0x9c)]=function _0x4e04c6(_0x514a84,_0x3f1506=0x0){const _0x5639d3=_0x3a354f(_0x514a84,_0x3f1506);if(!(0x0,_0x26e679['default'])(_0x5639d3))throw TypeError('Stringified\x20UUID\x20is\x20invalid');return _0x5639d3;};},0xb6:(_0x1b90ed,_0x45acd2,_0x10ee34)=>{const _0x45af49=a0_0x33a9;Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x8a),{'value':!0x0}),_0x45acd2['version']=_0x45acd2[_0x45af49(0x105)]=_0x45acd2['v7']=_0x45acd2['v6ToV1']=_0x45acd2['v6']=_0x45acd2['v5']=_0x45acd2['v4']=_0x45acd2['v3']=_0x45acd2[_0x45af49(0x10c)]=_0x45acd2['v1']=_0x45acd2[_0x45af49(0x134)]=_0x45acd2[_0x45af49(0xd8)]=_0x45acd2['NIL']=_0x45acd2[_0x45af49(0x7e)]=void 0x0;var _0x74dfdb=_0x10ee34(0xc4);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x7e),{'enumerable':!0x0,'get':function(){return _0x74dfdb['default'];}});var _0x158376=_0x10ee34(0x1d1);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x129),{'enumerable':!0x0,'get':function(){const _0x13b377=_0x45af49;return _0x158376[_0x13b377(0x9c)];}});var _0x1bfdad=_0x10ee34(0x31d);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0xd8),{'enumerable':!0x0,'get':function(){return _0x1bfdad['default'];}});var _0x1a4196=_0x10ee34(0xb);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x134),{'enumerable':!0x0,'get':function(){const _0x1fc839=_0x45af49;return _0x1a4196[_0x1fc839(0x9c)];}});var _0x48d0fa=_0x10ee34(0x1a9);Object[_0x45af49(0xe9)](_0x45acd2,'v1',{'enumerable':!0x0,'get':function(){const _0x403091=_0x45af49;return _0x48d0fa[_0x403091(0x9c)];}});var _0x317127=_0x10ee34(0x238);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x10c),{'enumerable':!0x0,'get':function(){const _0x22c5aa=_0x45af49;return _0x317127[_0x22c5aa(0x9c)];}});var _0x5e441f=_0x10ee34(0x24f);Object[_0x45af49(0xe9)](_0x45acd2,'v3',{'enumerable':!0x0,'get':function(){const _0xe0ad25=_0x45af49;return _0x5e441f[_0xe0ad25(0x9c)];}});var _0x517ade=_0x10ee34(0x11e);Object['defineProperty'](_0x45acd2,'v4',{'enumerable':!0x0,'get':function(){return _0x517ade['default'];}});var _0xb5a6d0=_0x10ee34(0x22d);Object['defineProperty'](_0x45acd2,'v5',{'enumerable':!0x0,'get':function(){return _0xb5a6d0['default'];}});var _0x1c1fa4=_0x10ee34(0x164);Object['defineProperty'](_0x45acd2,'v6',{'enumerable':!0x0,'get':function(){const _0x24b59e=_0x45af49;return _0x1c1fa4[_0x24b59e(0x9c)];}});var _0x51103e=_0x10ee34(0x10c);Object['defineProperty'](_0x45acd2,_0x45af49(0x159),{'enumerable':!0x0,'get':function(){const _0x1c0250=_0x45af49;return _0x51103e[_0x1c0250(0x9c)];}});var _0x1f3aee=_0x10ee34(0x12b);Object[_0x45af49(0xe9)](_0x45acd2,'v7',{'enumerable':!0x0,'get':function(){const _0x14b2aa=_0x45af49;return _0x1f3aee[_0x14b2aa(0x9c)];}});var _0x581ae1=_0x10ee34(0x2ea);Object[_0x45af49(0xe9)](_0x45acd2,_0x45af49(0x105),{'enumerable':!0x0,'get':function(){return _0x581ae1['default'];}});var _0x137cfe=_0x10ee34(0x302);Object['defineProperty'](_0x45acd2,_0x45af49(0xf5),{'enumerable':!0x0,'get':function(){const _0x1d7495=_0x45af49;return _0x137cfe[_0x1d7495(0x9c)];}});},0xc4:(_0x59d570,_0x3c9268)=>{const _0x1ce981=a0_0x33a9;Object[_0x1ce981(0xe9)](_0x3c9268,'__esModule',{'value':!0x0}),_0x3c9268[_0x1ce981(0x9c)]='ffffffff-ffff-ffff-ffff-ffffffffffff';},0x10a:(_0x1b43b9,_0x27ce75)=>{const _0x4401a4=a0_0x33a9;Object[_0x4401a4(0xe9)](_0x27ce75,_0x4401a4(0x8a),{'value':!0x0}),_0x27ce75['log']=void 0x0,_0x27ce75[_0x4401a4(0x10b)]=(_0x2a6ca3,_0xd670ac,..._0x4ccd0e)=>{const _0x10ee0a=_0x4401a4;_0x2a6ca3&&console[_0x10ee0a(0x10b)]('[OrderSune\x20CRM]',_0xd670ac,..._0x4ccd0e);};},0x10c:(_0xbe18a,_0x420652,_0x2dd145)=>{const _0x2ff14b=a0_0x33a9;Object['defineProperty'](_0x420652,'__esModule',{'value':!0x0});const _0x5f5b4=_0x2dd145(0x31d),_0x4fed47=_0x2dd145(0xb);_0x420652[_0x2ff14b(0x9c)]=function _0x2bd34b(_0x44f840){const _0xb4e11e=_0x2ff14b,_0x2f33e2=function _0x2f9d0e(_0x353bce){return Uint8Array['of']((0xf&_0x353bce[0x3])<<0x4|_0x353bce[0x4]>>0x4&0xf,(0xf&_0x353bce[0x4])<<0x4|(0xf0&_0x353bce[0x5])>>0x4,(0xf&_0x353bce[0x5])<<0x4|0xf&_0x353bce[0x6],_0x353bce[0x7],(0xf&_0x353bce[0x1])<<0x4|(0xf0&_0x353bce[0x2])>>0x4,(0xf&_0x353bce[0x2])<<0x4|(0xf0&_0x353bce[0x3])>>0x4,0x10|(0xf0&_0x353bce[0x0])>>0x4,(0xf&_0x353bce[0x0])<<0x4|(0xf0&_0x353bce[0x1])>>0x4,_0x353bce[0x8],_0x353bce[0x9],_0x353bce[0xa],_0x353bce[0xb],_0x353bce[0xc],_0x353bce[0xd],_0x353bce[0xe],_0x353bce[0xf]);}(_0xb4e11e(0x162)==typeof _0x44f840?(0x0,_0x5f5b4[_0xb4e11e(0x9c)])(_0x44f840):_0x44f840);return _0xb4e11e(0x162)==typeof _0x44f840?(0x0,_0x4fed47[_0xb4e11e(0x102)])(_0x2f33e2):_0x2f33e2;};},0x11e:(_0x16dce1,_0x2aab43,_0xfcd9b4)=>{const _0x75ca3d=a0_0x33a9;Object['defineProperty'](_0x2aab43,_0x75ca3d(0x8a),{'value':!0x0});const _0x476be0=_0xfcd9b4(0x30b),_0x145aa3=_0xfcd9b4(0x123),_0x1d5e8d=_0xfcd9b4(0xb);_0x2aab43[_0x75ca3d(0x9c)]=function _0x169825(_0x5a7dd4,_0x189524,_0x4d8872){const _0x26b5d7=_0x75ca3d;if(_0x476be0[_0x26b5d7(0x9c)][_0x26b5d7(0x8f)]&&!_0x189524&&!_0x5a7dd4)return _0x476be0[_0x26b5d7(0x9c)][_0x26b5d7(0x8f)]();const _0x57cfa8=(_0x5a7dd4=_0x5a7dd4||{})['random']??_0x5a7dd4['rng']?.()??(0x0,_0x145aa3[_0x26b5d7(0x9c)])();if(_0x57cfa8[_0x26b5d7(0x109)]<0x10)throw new Error(_0x26b5d7(0x146));if(_0x57cfa8[0x6]=0xf&_0x57cfa8[0x6]|0x40,_0x57cfa8[0x8]=0x3f&_0x57cfa8[0x8]|0x80,_0x189524){if((_0x4d8872=_0x4d8872||0x0)<0x0||_0x4d8872+0x10>_0x189524[_0x26b5d7(0x109)])throw new RangeError(_0x26b5d7(0xe0)+_0x4d8872+':'+(_0x4d8872+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');for(let _0xc89453=0x0;_0xc89453<0x10;++_0xc89453)_0x189524[_0x4d8872+_0xc89453]=_0x57cfa8[_0xc89453];return _0x189524;}return(0x0,_0x1d5e8d[_0x26b5d7(0x102)])(_0x57cfa8);};},0x123:(_0x210e00,_0x5e7509)=>{const _0x4448d8=a0_0x33a9;let _0x47a420;Object['defineProperty'](_0x5e7509,_0x4448d8(0x8a),{'value':!0x0});const _0x26f8cc=new Uint8Array(0x10);_0x5e7509[_0x4448d8(0x9c)]=function _0x546e68(){const _0x10acae=_0x4448d8;if(!_0x47a420){if(_0x10acae(0x11a)==typeof crypto||!crypto[_0x10acae(0x10d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x47a420=crypto[_0x10acae(0x10d)][_0x10acae(0x130)](crypto);}return _0x47a420(_0x26f8cc);};},0x12b:(_0xd9d820,_0x11118b,_0x5f02e7)=>{const _0x3495f8=a0_0x33a9;Object['defineProperty'](_0x11118b,_0x3495f8(0x8a),{'value':!0x0}),_0x11118b[_0x3495f8(0xed)]=void 0x0;const _0x102a44=_0x5f02e7(0x123),_0x3bd09e=_0x5f02e7(0xb),_0x2f4250={};function _0x2e7366(_0x36957b,_0xb1bd23,_0x2383b5){const _0x479dcf=_0x3495f8;return _0x36957b['msecs']??=-0x1/0x0,_0x36957b[_0x479dcf(0x15e)]??=0x0,_0xb1bd23>_0x36957b['msecs']?(_0x36957b[_0x479dcf(0x15e)]=_0x2383b5[0x6]<<0x17|_0x2383b5[0x7]<<0x10|_0x2383b5[0x8]<<0x8|_0x2383b5[0x9],_0x36957b[_0x479dcf(0x114)]=_0xb1bd23):(_0x36957b[_0x479dcf(0x15e)]=_0x36957b['seq']+0x1|0x0,0x0===_0x36957b[_0x479dcf(0x15e)]&&_0x36957b[_0x479dcf(0x114)]++),_0x36957b;}function _0x3600a0(_0x5461fc,_0x26c350,_0x1dcf07,_0x436dca,_0x43f2b1=0x0){const _0x2210ce=_0x3495f8;if(_0x5461fc[_0x2210ce(0x109)]<0x10)throw new Error(_0x2210ce(0x146));if(_0x436dca){if(_0x43f2b1<0x0||_0x43f2b1+0x10>_0x436dca[_0x2210ce(0x109)])throw new RangeError(_0x2210ce(0xe0)+_0x43f2b1+':'+(_0x43f2b1+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');}else _0x436dca=new Uint8Array(0x10),_0x43f2b1=0x0;return _0x26c350??=Date[_0x2210ce(0xcd)](),_0x1dcf07??=0x7f*_0x5461fc[0x6]<<0x18|_0x5461fc[0x7]<<0x10|_0x5461fc[0x8]<<0x8|_0x5461fc[0x9],_0x436dca[_0x43f2b1++]=_0x26c350/0x10000000000&0xff,_0x436dca[_0x43f2b1++]=_0x26c350/0x100000000&0xff,_0x436dca[_0x43f2b1++]=_0x26c350/0x1000000&0xff,_0x436dca[_0x43f2b1++]=_0x26c350/0x10000&0xff,_0x436dca[_0x43f2b1++]=_0x26c350/0x100&0xff,_0x436dca[_0x43f2b1++]=0xff&_0x26c350,_0x436dca[_0x43f2b1++]=0x70|_0x1dcf07>>>0x1c&0xf,_0x436dca[_0x43f2b1++]=_0x1dcf07>>>0x14&0xff,_0x436dca[_0x43f2b1++]=0x80|_0x1dcf07>>>0xe&0x3f,_0x436dca[_0x43f2b1++]=_0x1dcf07>>>0x6&0xff,_0x436dca[_0x43f2b1++]=_0x1dcf07<<0x2&0xff|0x3&_0x5461fc[0xa],_0x436dca[_0x43f2b1++]=_0x5461fc[0xb],_0x436dca[_0x43f2b1++]=_0x5461fc[0xc],_0x436dca[_0x43f2b1++]=_0x5461fc[0xd],_0x436dca[_0x43f2b1++]=_0x5461fc[0xe],_0x436dca[_0x43f2b1++]=_0x5461fc[0xf],_0x436dca;}_0x11118b[_0x3495f8(0xed)]=_0x2e7366,_0x11118b[_0x3495f8(0x9c)]=function _0xf6bf0c(_0x10ad5d,_0x180f43,_0x42aa7f){const _0x1b1317=_0x3495f8;let _0x324fd7;if(_0x10ad5d)_0x324fd7=_0x3600a0(_0x10ad5d[_0x1b1317(0x126)]??_0x10ad5d['rng']?.()??(0x0,_0x102a44[_0x1b1317(0x9c)])(),_0x10ad5d['msecs'],_0x10ad5d[_0x1b1317(0x15e)],_0x180f43,_0x42aa7f);else{const _0x5b2419=Date[_0x1b1317(0xcd)](),_0x5488af=(0x0,_0x102a44[_0x1b1317(0x9c)])();_0x2e7366(_0x2f4250,_0x5b2419,_0x5488af),_0x324fd7=_0x3600a0(_0x5488af,_0x2f4250[_0x1b1317(0x114)],_0x2f4250['seq'],_0x180f43,_0x42aa7f);}return _0x180f43??(0x0,_0x3bd09e['unsafeStringify'])(_0x324fd7);};},0x14a:_0x4d8be6=>{const _0x45310f=a0_0x33a9;_0x4d8be6[_0x45310f(0x15d)]=JSON[_0x45310f(0xd8)](_0x45310f(0x12c));},0x152:(_0x45d654,_0x16f5b8)=>{const _0x291883=a0_0x33a9;function _0x432477(_0x1a1f11){return 0xe+(_0x1a1f11+0x40>>>0x9<<0x4)+0x1;}function _0x579794(_0x2a3360,_0x1e5001){const _0x552745=(0xffff&_0x2a3360)+(0xffff&_0x1e5001);return(_0x2a3360>>0x10)+(_0x1e5001>>0x10)+(_0x552745>>0x10)<<0x10|0xffff&_0x552745;}function _0x19225f(_0x162f03,_0x4402c0,_0x238bbb,_0x5df370,_0x5247f0,_0x28f191){return _0x579794(function _0x1c4687(_0x5630c3,_0x5eaa23){return _0x5630c3<<_0x5eaa23|_0x5630c3>>>0x20-_0x5eaa23;}(_0x579794(_0x579794(_0x4402c0,_0x162f03),_0x579794(_0x5df370,_0x28f191)),_0x5247f0),_0x238bbb);}function _0x2e30a6(_0x36c8e4,_0x2c6ea0,_0x5abe54,_0x597cc5,_0x1cda0f,_0x28d5ec,_0x1eb20c){return _0x19225f(_0x2c6ea0&_0x5abe54|~_0x2c6ea0&_0x597cc5,_0x36c8e4,_0x2c6ea0,_0x1cda0f,_0x28d5ec,_0x1eb20c);}function _0xc65882(_0x1dd9ed,_0x266517,_0x4cfb59,_0x27c4ec,_0x2f6943,_0x41cb9f,_0x47ff0f){return _0x19225f(_0x266517&_0x27c4ec|_0x4cfb59&~_0x27c4ec,_0x1dd9ed,_0x266517,_0x2f6943,_0x41cb9f,_0x47ff0f);}function _0x34be4c(_0x43cda9,_0x211f1d,_0xe20186,_0x37866c,_0x4bce23,_0x122b3d,_0x4ff10b){return _0x19225f(_0x211f1d^_0xe20186^_0x37866c,_0x43cda9,_0x211f1d,_0x4bce23,_0x122b3d,_0x4ff10b);}function _0x1135f2(_0xb195a1,_0x23ec35,_0x50b772,_0x19f008,_0x5f01ad,_0x2e0885,_0xbe1e1){return _0x19225f(_0x50b772^(_0x23ec35|~_0x19f008),_0xb195a1,_0x23ec35,_0x5f01ad,_0x2e0885,_0xbe1e1);}Object[_0x291883(0xe9)](_0x16f5b8,'__esModule',{'value':!0x0}),_0x16f5b8['default']=function _0xada5fa(_0x20dcb2){return function _0x497b8b(_0x1da3f1){const _0x11cce6=a0_0x33a9,_0x35932b=new Uint8Array(0x4*_0x1da3f1[_0x11cce6(0x109)]);for(let _0x2c0330=0x0;_0x2c0330<0x4*_0x1da3f1[_0x11cce6(0x109)];_0x2c0330++)_0x35932b[_0x2c0330]=_0x1da3f1[_0x2c0330>>0x2]>>>_0x2c0330%0x4*0x8&0xff;return _0x35932b;}(function _0x33a4d4(_0x5bfbfc,_0x471968){const _0x32b21a=a0_0x33a9,_0x454296=new Uint32Array(_0x432477(_0x471968))[_0x32b21a(0x7a)](0x0);_0x454296[_0x32b21a(0xc2)](_0x5bfbfc),_0x454296[_0x471968>>0x5]|=0x80<<_0x471968%0x20,_0x454296[_0x454296[_0x32b21a(0x109)]-0x1]=_0x471968,_0x5bfbfc=_0x454296;let _0x2d3a27=0x67452301,_0x4344bb=-0x10325477,_0x440cf6=-0x67452302,_0x18d16b=0x10325476;for(let _0x399011=0x0;_0x399011<_0x5bfbfc[_0x32b21a(0x109)];_0x399011+=0x10){const _0x4735de=_0x2d3a27,_0x3ef3f4=_0x4344bb,_0x462ad8=_0x440cf6,_0x5ce9eb=_0x18d16b;_0x2d3a27=_0x2e30a6(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011],0x7,-0x28955b88),_0x18d16b=_0x2e30a6(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x1],0xc,-0x173848aa),_0x440cf6=_0x2e30a6(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x2],0x11,0x242070db),_0x4344bb=_0x2e30a6(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x3],0x16,-0x3e423112),_0x2d3a27=_0x2e30a6(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x4],0x7,-0xa83f051),_0x18d16b=_0x2e30a6(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x5],0xc,0x4787c62a),_0x440cf6=_0x2e30a6(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x6],0x11,-0x57cfb9ed),_0x4344bb=_0x2e30a6(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x7],0x16,-0x2b96aff),_0x2d3a27=_0x2e30a6(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x8],0x7,0x698098d8),_0x18d16b=_0x2e30a6(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x9],0xc,-0x74bb0851),_0x440cf6=_0x2e30a6(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xa],0x11,-0xa44f),_0x4344bb=_0x2e30a6(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xb],0x16,-0x76a32842),_0x2d3a27=_0x2e30a6(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0xc],0x7,0x6b901122),_0x18d16b=_0x2e30a6(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xd],0xc,-0x2678e6d),_0x440cf6=_0x2e30a6(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xe],0x11,-0x5986bc72),_0x4344bb=_0x2e30a6(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xf],0x16,0x49b40821),_0x2d3a27=_0xc65882(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x1],0x5,-0x9e1da9e),_0x18d16b=_0xc65882(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x6],0x9,-0x3fbf4cc0),_0x440cf6=_0xc65882(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xb],0xe,0x265e5a51),_0x4344bb=_0xc65882(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011],0x14,-0x16493856),_0x2d3a27=_0xc65882(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x5],0x5,-0x29d0efa3),_0x18d16b=_0xc65882(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xa],0x9,0x2441453),_0x440cf6=_0xc65882(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xf],0xe,-0x275e197f),_0x4344bb=_0xc65882(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x4],0x14,-0x182c0438),_0x2d3a27=_0xc65882(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x9],0x5,0x21e1cde6),_0x18d16b=_0xc65882(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xe],0x9,-0x3cc8f82a),_0x440cf6=_0xc65882(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x3],0xe,-0xb2af279),_0x4344bb=_0xc65882(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x8],0x14,0x455a14ed),_0x2d3a27=_0xc65882(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0xd],0x5,-0x561c16fb),_0x18d16b=_0xc65882(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x2],0x9,-0x3105c08),_0x440cf6=_0xc65882(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x7],0xe,0x676f02d9),_0x4344bb=_0xc65882(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xc],0x14,-0x72d5b376),_0x2d3a27=_0x34be4c(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x5],0x4,-0x5c6be),_0x18d16b=_0x34be4c(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x8],0xb,-0x788e097f),_0x440cf6=_0x34be4c(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xb],0x10,0x6d9d6122),_0x4344bb=_0x34be4c(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xe],0x17,-0x21ac7f4),_0x2d3a27=_0x34be4c(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x1],0x4,-0x5b4115bc),_0x18d16b=_0x34be4c(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x4],0xb,0x4bdecfa9),_0x440cf6=_0x34be4c(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x7],0x10,-0x944b4a0),_0x4344bb=_0x34be4c(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xa],0x17,-0x41404390),_0x2d3a27=_0x34be4c(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0xd],0x4,0x289b7ec6),_0x18d16b=_0x34be4c(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011],0xb,-0x155ed806),_0x440cf6=_0x34be4c(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x3],0x10,-0x2b10cf7b),_0x4344bb=_0x34be4c(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x6],0x17,0x4881d05),_0x2d3a27=_0x34be4c(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x9],0x4,-0x262b2fc7),_0x18d16b=_0x34be4c(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xc],0xb,-0x1924661b),_0x440cf6=_0x34be4c(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xf],0x10,0x1fa27cf8),_0x4344bb=_0x34be4c(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x2],0x17,-0x3b53a99b),_0x2d3a27=_0x1135f2(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011],0x6,-0xbd6ddbc),_0x18d16b=_0x1135f2(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x7],0xa,0x432aff97),_0x440cf6=_0x1135f2(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xe],0xf,-0x546bdc59),_0x4344bb=_0x1135f2(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x5],0x15,-0x36c5fc7),_0x2d3a27=_0x1135f2(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0xc],0x6,0x655b59c3),_0x18d16b=_0x1135f2(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0x3],0xa,-0x70f3336e),_0x440cf6=_0x1135f2(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0xa],0xf,-0x100b83),_0x4344bb=_0x1135f2(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x1],0x15,-0x7a7ba22f),_0x2d3a27=_0x1135f2(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x8],0x6,0x6fa87e4f),_0x18d16b=_0x1135f2(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xf],0xa,-0x1d31920),_0x440cf6=_0x1135f2(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x6],0xf,-0x5cfebcec),_0x4344bb=_0x1135f2(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0xd],0x15,0x4e0811a1),_0x2d3a27=_0x1135f2(_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b,_0x5bfbfc[_0x399011+0x4],0x6,-0x8ac817e),_0x18d16b=_0x1135f2(_0x18d16b,_0x2d3a27,_0x4344bb,_0x440cf6,_0x5bfbfc[_0x399011+0xb],0xa,-0x42c50dcb),_0x440cf6=_0x1135f2(_0x440cf6,_0x18d16b,_0x2d3a27,_0x4344bb,_0x5bfbfc[_0x399011+0x2],0xf,0x2ad7d2bb),_0x4344bb=_0x1135f2(_0x4344bb,_0x440cf6,_0x18d16b,_0x2d3a27,_0x5bfbfc[_0x399011+0x9],0x15,-0x14792c6f),_0x2d3a27=_0x579794(_0x2d3a27,_0x4735de),_0x4344bb=_0x579794(_0x4344bb,_0x3ef3f4),_0x440cf6=_0x579794(_0x440cf6,_0x462ad8),_0x18d16b=_0x579794(_0x18d16b,_0x5ce9eb);}return Uint32Array['of'](_0x2d3a27,_0x4344bb,_0x440cf6,_0x18d16b);}(function _0x4f40d7(_0x320a35){const _0x393776=a0_0x33a9;if(0x0===_0x320a35[_0x393776(0x109)])return new Uint32Array();const _0x2207ed=new Uint32Array(_0x432477(0x8*_0x320a35[_0x393776(0x109)]))[_0x393776(0x7a)](0x0);for(let _0x503b53=0x0;_0x503b53<_0x320a35['length'];_0x503b53++)_0x2207ed[_0x503b53>>0x2]|=(0xff&_0x320a35[_0x503b53])<<_0x503b53%0x4*0x8;return _0x2207ed;}(_0x20dcb2),0x8*_0x20dcb2['length']));};},0x164:(_0x51cc9b,_0x328dae,_0x4615c3)=>{const _0x180482=a0_0x33a9;Object[_0x180482(0xe9)](_0x328dae,_0x180482(0x8a),{'value':!0x0});const _0x34472f=_0x4615c3(0xb),_0x1f58c1=_0x4615c3(0x1a9),_0xffb314=_0x4615c3(0x238);_0x328dae[_0x180482(0x9c)]=function _0x286aca(_0x1c4580,_0x3321f7,_0xe3e58e){const _0xa8b73f=_0x180482;_0x1c4580??={},_0xe3e58e??=0x0;let _0x21fee0=(0x0,_0x1f58c1[_0xa8b73f(0x9c)])({..._0x1c4580,'_v6':!0x0},new Uint8Array(0x10));if(_0x21fee0=(0x0,_0xffb314[_0xa8b73f(0x9c)])(_0x21fee0),_0x3321f7){for(let _0x47d679=0x0;_0x47d679<0x10;_0x47d679++)_0x3321f7[_0xe3e58e+_0x47d679]=_0x21fee0[_0x47d679];return _0x3321f7;}return(0x0,_0x34472f[_0xa8b73f(0x102)])(_0x21fee0);};},0x1a7:(_0x348975,_0x3dcbb6,_0x1774e7)=>{const _0x353e3b=a0_0x33a9;Object['defineProperty'](_0x3dcbb6,_0x353e3b(0x8a),{'value':!0x0}),_0x3dcbb6['WebSDK']=void 0x0;const _0x23388e=_0x1774e7(0x10a),_0xf35d0e=_0x1774e7(0xb6),_0x17e48f=_0x1774e7(0x14a),_0x4b80ea=_0x353e3b(0x79),_0x20978a=_0x17e48f['version'];_0x3dcbb6['WebSDK']=class WebSDK{constructor(_0x5ce1bb){const _0xb0a8a9=_0x353e3b;var _0x301ad1,_0x106450,_0x7b41e0,_0x3d0955;if(this[_0xb0a8a9(0xff)]=0xa,this[_0xb0a8a9(0xdb)]=0x2710,this[_0xb0a8a9(0xb4)]=_0x20978a,this[_0xb0a8a9(0xd2)]=[],this[_0xb0a8a9(0x87)]=[],this[_0xb0a8a9(0xbb)]={},this[_0xb0a8a9(0x12f)]=!0x1,this[_0xb0a8a9(0x97)]=_0xb0a8a9(0x118),!_0x5ce1bb['apiKey']||!_0x5ce1bb[_0xb0a8a9(0xa6)])throw new Error(_0xb0a8a9(0x95));this[_0xb0a8a9(0xfc)]=_0x5ce1bb[_0xb0a8a9(0xfc)],this[_0xb0a8a9(0xa6)]=_0x5ce1bb['endpoint'],this[_0xb0a8a9(0xa8)]=null!==(_0x301ad1=_0x5ce1bb['debug'])&&void 0x0!==_0x301ad1&&_0x301ad1,this[_0xb0a8a9(0xff)]=null!==(_0x106450=_0x5ce1bb[_0xb0a8a9(0xa1)])&&void 0x0!==_0x106450?_0x106450:0xa,this[_0xb0a8a9(0xdb)]=null!==(_0x7b41e0=_0x5ce1bb[_0xb0a8a9(0xdb)])&&void 0x0!==_0x7b41e0?_0x7b41e0:0x2710,this[_0xb0a8a9(0x97)]=null!==(_0x3d0955=_0x5ce1bb['platform'])&&void 0x0!==_0x3d0955?_0x3d0955:_0xb0a8a9(0x118),this[_0xb0a8a9(0xf7)]=this[_0xb0a8a9(0x8b)]()||(0x0,_0xf35d0e['v4'])(),this[_0xb0a8a9(0x100)]=this[_0xb0a8a9(0x141)](),this[_0xb0a8a9(0x157)]()['catch'](_0x558d86=>{const _0x55ada8=_0xb0a8a9;(0x0,_0x23388e[_0x55ada8(0x10b)])(this[_0x55ada8(0xa8)],_0x55ada8(0xbe),_0x558d86);});}async[_0x353e3b(0x157)](){const _0x3ff8d4=_0x353e3b;try{(0x0,_0x23388e[_0x3ff8d4(0x10b)])(this[_0x3ff8d4(0xa8)],_0x3ff8d4(0x9a)),this[_0x3ff8d4(0x13a)](),await this['initializeDeviceDetails'](),await this[_0x3ff8d4(0x135)]();const _0x2a05f3=this[_0x3ff8d4(0xfe)]();_0x2a05f3?(this[_0x3ff8d4(0x106)]=_0x2a05f3,(0x0,_0x23388e[_0x3ff8d4(0x10b)])(this[_0x3ff8d4(0xa8)],'Loaded\x20user\x20profile',this['currentUser'])):this[_0x3ff8d4(0x98)]('');try{const _0x51aeeb=Intl[_0x3ff8d4(0xba)]()[_0x3ff8d4(0x101)]()['timeZone'];this[_0x3ff8d4(0xb8)](_0x3ff8d4(0x90),_0x51aeeb);}catch(_0x2d4400){(0x0,_0x23388e[_0x3ff8d4(0x10b)])(this[_0x3ff8d4(0xa8)],_0x3ff8d4(0xa2),_0x2d4400);}this[_0x3ff8d4(0x124)](),this[_0x3ff8d4(0xf1)]('app_started',{});}catch(_0x65ae72){throw(0x0,_0x23388e[_0x3ff8d4(0x10b)])(this[_0x3ff8d4(0xa8)],_0x3ff8d4(0xa3),_0x65ae72),_0x65ae72;}}[_0x353e3b(0x98)](_0x48abdf){const _0x11abfe=_0x353e3b;if(_0x11abfe(0x162)!=typeof _0x48abdf)throw new Error(_0x11abfe(0xb6));const _0x2bfbe9=this['getStoredUserProfile']();(null==_0x2bfbe9?void 0x0:_0x2bfbe9['id'])!==_0x48abdf&&((0x0,_0x23388e[_0x11abfe(0x10b)])(this[_0x11abfe(0xa8)],_0x11abfe(0xdd),_0x48abdf),this[_0x11abfe(0x106)]=_0x48abdf?{'id':_0x48abdf,'guestUserId':this[_0x11abfe(0x100)]}:{'id':this[_0x11abfe(0x100)],'guestUserId':this[_0x11abfe(0x100)]},this[_0x11abfe(0xd0)]());}[_0x353e3b(0x9f)](){const _0x356afc=_0x353e3b;this[_0x356afc(0xf7)]=(0x0,_0xf35d0e['v4'])(),this[_0x356afc(0x100)]=this['getGuestUserId'](),this[_0x356afc(0x137)](),this[_0x356afc(0x106)]={'id':this[_0x356afc(0x100)],'guestUserId':this[_0x356afc(0x100)]},this['attributeQueue']={},this[_0x356afc(0xd2)]=[],this[_0x356afc(0x87)]=[],this[_0x356afc(0x13a)](),sessionStorage['setItem'](''+_0x4b80ea+this[_0x356afc(0xfc)]+_0x356afc(0x13f),JSON['stringify'](this['currentUser'])),sessionStorage[_0x356afc(0xbd)](''+_0x4b80ea+this[_0x356afc(0xfc)]+_0x356afc(0xb1)),this[_0x356afc(0xa8)]&&(0x0,_0x23388e[_0x356afc(0x10b)])(this[_0x356afc(0xa8)],_0x356afc(0x12a));}[_0x353e3b(0xf1)](_0x291b8d,_0x3e71ed={},_0x4abc55={}){const _0xd1e904=_0x353e3b;if(!_0x291b8d||_0xd1e904(0x162)!=typeof _0x291b8d)throw new Error(_0xd1e904(0xeb));const _0x47cf40={'deviceId':this[_0xd1e904(0xf7)],'eventName':_0x291b8d,'timestamp':_0x4abc55[_0xd1e904(0x163)]||Date['now'](),'requestId':_0x4abc55[_0xd1e904(0x76)]||(0x0,_0xf35d0e['v4'])(),'properties':_0x3e71ed};this[_0xd1e904(0x7d)](_0x47cf40);}[_0x353e3b(0xe1)](_0x2c5644){const _0x7d23e1=_0x353e3b;this[_0x7d23e1(0x133)]&&(this[_0x7d23e1(0x133)]={...this[_0x7d23e1(0x133)],'pushToken':_0x2c5644});}['trackCustomAttribute'](_0x1c7220,_0x1473ed){const _0x621358=_0x353e3b;if(!_0x1c7220||_0x621358(0x162)!=typeof _0x1c7220)throw new Error(_0x621358(0x166));this[_0x621358(0xbb)]={...this['attributeQueue'],[_0x1c7220]:_0x1473ed},(0x0,_0x23388e['log'])(this['debug'],'Custom\x20attribute\x20queued',_0x1c7220,_0x1473ed),this[_0x621358(0x11d)]();}['logProductPurchase'](_0x564c8e,_0x2981b0,_0xcb6e84,_0x15156a,_0x54ef97,_0x328aa5,_0x5b3c04,_0x5f4c7d){const _0x15776e=_0x353e3b,_0x447dc9=this['buildPurchasePayload']({'externalId':_0x564c8e,'itemId':_0x2981b0,'itemName':_0xcb6e84,'unitPrice':_0x15156a,'quantity':_0x54ef97,'source':_0x328aa5,'channel':_0x5b3c04,'itemCategory':_0x5f4c7d});this[_0x15776e(0x87)][_0x15776e(0x12d)](_0x447dc9),this[_0x15776e(0xa8)]&&(0x0,_0x23388e[_0x15776e(0x10b)])(this[_0x15776e(0xa8)],_0x15776e(0xa4),_0x447dc9);}[_0x353e3b(0x122)](){const _0x4be3cb=_0x353e3b;return this[_0x4be3cb(0x106)];}async[_0x353e3b(0x165)](){const _0x2ff567=_0x353e3b;(this[_0x2ff567(0xd2)][_0x2ff567(0x109)]>0x0||this['purchaseBatch'][_0x2ff567(0x109)]>0x0||this[_0x2ff567(0xbb)][_0x2ff567(0x109)]>0x0)&&await this[_0x2ff567(0x84)]();}['dispose'](){const _0x38b2ea=_0x353e3b;this[_0x38b2ea(0xc9)]&&clearInterval(this['batchProcessingInterval']),(this[_0x38b2ea(0xd2)]['length']>0x0||this[_0x38b2ea(0x87)]['length']>0x0||this['attributeQueue'][_0x38b2ea(0x109)]>0x0)&&this[_0x38b2ea(0x84)]()[_0x38b2ea(0xf6)](_0x2df100=>{const _0xd4bca4=_0x38b2ea;(0x0,_0x23388e[_0xd4bca4(0x10b)])(this[_0xd4bca4(0xa8)],'Error\x20during\x20disposal',_0x2df100);});}[_0x353e3b(0x8b)](){const _0x4e1438=_0x353e3b;return sessionStorage[_0x4e1438(0xe4)](''+_0x4b80ea+this[_0x4e1438(0xfc)]+_0x4e1438(0x142));}['getStoredUserProfile'](){const _0x2b617d=_0x353e3b,_0x2f608d=sessionStorage[_0x2b617d(0xe4)](''+_0x4b80ea+this[_0x2b617d(0xfc)]+_0x2b617d(0x13f));return _0x2f608d?JSON['parse'](_0x2f608d):null;}[_0x353e3b(0x13a)](){const _0x5ccfff=_0x353e3b;sessionStorage[_0x5ccfff(0xc3)](''+_0x4b80ea+this['apiKey']+_0x5ccfff(0x142),this['deviceId']);}[_0x353e3b(0xd0)](){const _0xc18fa4=_0x353e3b;this['currentUser']&&sessionStorage['setItem'](''+_0x4b80ea+this[_0xc18fa4(0xfc)]+_0xc18fa4(0x13f),JSON[_0xc18fa4(0x134)](this['currentUser']));}[_0x353e3b(0x11d)](){const _0x3c141b=_0x353e3b,_0x2bf09=sessionStorage[_0x3c141b(0xe4)](''+_0x4b80ea+this[_0x3c141b(0xfc)]+_0x3c141b(0xb1)),_0x16d495={..._0x2bf09?JSON[_0x3c141b(0xd8)](_0x2bf09):{},...this[_0x3c141b(0xbb)]};sessionStorage[_0x3c141b(0xc3)](''+_0x4b80ea+this[_0x3c141b(0xfc)]+_0x3c141b(0xb1),JSON['stringify'](_0x16d495));}async['loadCustomAttributes'](){const _0x587ac6=_0x353e3b,_0x43378c=sessionStorage[_0x587ac6(0xe4)](''+_0x4b80ea+this['apiKey']+'.custom_attributes');_0x43378c&&(this[_0x587ac6(0xbb)]={...this[_0x587ac6(0xbb)],...JSON['parse'](_0x43378c)});}['getGuestUserId'](){const _0x54fd53=_0x353e3b;return _0x54fd53(0x110)+this['deviceId'];}[_0x353e3b(0x7b)]({externalId:_0xf61016,itemId:_0x321170,itemName:_0x3ee0ca,unitPrice:_0x4a7cc8,quantity:_0x525f83,source:_0x43b32f,channel:_0x45d2e8,itemCategory:_0x49676b}){const _0x4769bc=_0x353e3b;return{'external_id':_0xf61016,'item_id':_0x321170,'item_name':_0x3ee0ca,'item_category':_0x49676b,'quantity':_0x525f83,'unit_price':_0x4a7cc8,'total_price':_0x4a7cc8*_0x525f83,'source':_0x43b32f,'channel':_0x45d2e8,'purchased_at':Date[_0x4769bc(0xcd)]()};}async['initializeDeviceDetails'](){const _0x4f9ae1=_0x353e3b;this[_0x4f9ae1(0x133)]={'deviceId':this[_0x4f9ae1(0xf7)],'platform':this[_0x4f9ae1(0x97)]};}['startBatchProcessing'](){const _0x295ee4=_0x353e3b;this[_0x295ee4(0xc9)]=setInterval(()=>{const _0x1ca532=_0x295ee4;(this[_0x1ca532(0xd2)][_0x1ca532(0x109)]>0x0||this[_0x1ca532(0x87)][_0x1ca532(0x109)]>0x0||this[_0x1ca532(0xbb)][_0x1ca532(0x109)]>0x0)&&this['processBatch']()[_0x1ca532(0xf6)](_0x5d7300=>{const _0x5e6bb8=_0x1ca532;(0x0,_0x23388e[_0x5e6bb8(0x10b)])(this['debug'],'Batch\x20processing\x20failed',_0x5d7300);});},this[_0x295ee4(0xdb)]);}[_0x353e3b(0x7d)](_0x1065aa){const _0x57bdb3=_0x353e3b;this[_0x57bdb3(0xd2)][_0x57bdb3(0x12d)](_0x1065aa),(0x0,_0x23388e['log'])(this[_0x57bdb3(0xa8)],'Event\x20queued',_0x1065aa),this[_0x57bdb3(0xd2)]['length']>=this['maxBatchSize']&&this[_0x57bdb3(0x84)]()[_0x57bdb3(0xf6)](_0x437193=>{const _0x42f2c9=_0x57bdb3;(0x0,_0x23388e[_0x42f2c9(0x10b)])(this[_0x42f2c9(0xa8)],_0x42f2c9(0xf9),_0x437193);});}async[_0x353e3b(0x84)](){const _0xfc2a84=_0x353e3b;if(this[_0xfc2a84(0x12f)])return;this[_0xfc2a84(0x12f)]=!0x0;const _0x5b18a2=[...this['eventQueue']],_0x31b9b3=[...this['purchaseBatch']],_0x170eb7={...this[_0xfc2a84(0xbb)]};this['eventQueue']=[],this[_0xfc2a84(0x87)]=[],this[_0xfc2a84(0xbb)]={};try{await this['sendBatchToServer'](_0x5b18a2,_0x31b9b3,_0x170eb7);}catch(_0x2eaed0){throw this['eventQueue'][_0xfc2a84(0xec)](..._0x5b18a2),this[_0xfc2a84(0x87)][_0xfc2a84(0xec)](..._0x31b9b3),this[_0xfc2a84(0xbb)]={...this[_0xfc2a84(0xbb)],..._0x170eb7},(0x0,_0x23388e[_0xfc2a84(0x10b)])(this[_0xfc2a84(0xa8)],_0xfc2a84(0xf9),_0x2eaed0),_0x2eaed0;}finally{this[_0xfc2a84(0x12f)]=!0x1;}}async['sendBatchToServer'](_0x1606d5,_0x1e94dc,_0x6a72a){const _0x3e74f8=_0x353e3b;var _0x1109cc,_0x142bfe;this[_0x3e74f8(0x133)]||await this[_0x3e74f8(0x137)]();const _0x3ca68d={'sdkVersion':this['sdkVersion'],'deviceInfo':this[_0x3e74f8(0x133)],'userId':null===(_0x1109cc=this[_0x3e74f8(0x106)])||void 0x0===_0x1109cc?void 0x0:_0x1109cc['id'],'guestUserId':null===(_0x142bfe=this[_0x3e74f8(0x106)])||void 0x0===_0x142bfe?void 0x0:_0x142bfe[_0x3e74f8(0x100)],'time':Date[_0x3e74f8(0xcd)](),'events':_0x1606d5,'purchases':_0x1e94dc,'userAttributes':_0x6a72a};(0x0,_0x23388e[_0x3e74f8(0x10b)])(this['debug'],_0x3e74f8(0x11e),_0x3ca68d);try{const _0x5ac6d4=await fetch(this['endpoint']+_0x3e74f8(0xc8),{'method':_0x3e74f8(0x13b),'headers':{'Content-Type':_0x3e74f8(0x13c),'x-api-key':this['apiKey']},'body':JSON['stringify'](_0x3ca68d)});if(!_0x5ac6d4['ok'])throw new Error(_0x3e74f8(0x15c)+_0x5ac6d4['status']);this['debug']&&(0x0,_0x23388e[_0x3e74f8(0x10b)])(this[_0x3e74f8(0xa8)],_0x3e74f8(0x10e)+_0x3ca68d[_0x3e74f8(0x14a)]['length']+'\x20events,\x20'+_0x3ca68d[_0x3e74f8(0xcb)][_0x3e74f8(0x109)]+_0x3e74f8(0x112)+Object[_0x3e74f8(0x91)](_0x3ca68d[_0x3e74f8(0x131)])['length']+_0x3e74f8(0x78)),await _0x5ac6d4[_0x3e74f8(0xd4)](),Object['keys'](_0x6a72a)[_0x3e74f8(0x109)]>0x0&&(this[_0x3e74f8(0xbb)]={},sessionStorage[_0x3e74f8(0xbd)](''+_0x4b80ea+this['apiKey']+_0x3e74f8(0xb1)));}catch(_0x418c82){throw(0x0,_0x23388e[_0x3e74f8(0x10b)])(this['debug'],_0x3e74f8(0x136),_0x418c82),_0x418c82;}}[_0x353e3b(0x140)](_0x23bc23,_0x2150e5,_0x4428b9){const _0x2bccca=_0x353e3b,_0x977098=JSON[_0x2bccca(0xd8)](_0x23bc23),_0x36e2=_0x977098[_0x2bccca(0xca)],_0x4a3c23=_0x977098['message'],_0x981228=_0x977098['modal'][_0x2bccca(0xaa)],_0x6f10e7=_0x977098['modal'][_0x2bccca(0xb7)],_0x36d15b=_0x981228['type']||'',_0x406b21=_0x6f10e7[_0x2bccca(0xfb)]||'',_0x1b685b=_0x977098[_0x2bccca(0x81)][_0x2bccca(0x150)];this[_0x2bccca(0xc1)]({'context':_0x4428b9,'title':_0x36e2,'body':_0x4a3c23,'primaryButtonText':_0x36d15b,'secondaryButtonText':_0x406b21,'imageUrl':_0x1b685b,'buttonPropertiesPrimary':_0x981228,'buttonPropertiesSecondary':_0x6f10e7,'dismissMessageAutomatically':_0x977098[_0x2bccca(0xcf)][_0x2bccca(0xb2)],'dismissMessageInSeconds':_0x977098[_0x2bccca(0xcf)][_0x2bccca(0xa9)],'headerColor':_0x977098[_0x2bccca(0xcf)]['headerColor'],'messageColor':_0x977098[_0x2bccca(0xcf)][_0x2bccca(0x92)],'closeColor':_0x977098[_0x2bccca(0xcf)][_0x2bccca(0x14d)],'campaignId':_0x2150e5});}[_0x353e3b(0x7c)](_0x5d9f19){const _0xe70e0f=_0x353e3b;return 0x6===(_0x5d9f19=_0x5d9f19[_0xe70e0f(0x156)]()[_0xe70e0f(0x123)]('#',''))[_0xe70e0f(0x109)]?'#'+_0x5d9f19:'#'+_0x5d9f19[_0xe70e0f(0x77)](0x2);}[_0x353e3b(0xe8)](_0x1df576){const _0x16773f=_0x353e3b;_0x1df576&&window['open'](_0x1df576,_0x16773f(0x80));}[_0x353e3b(0xc1)](_0x4dfc3e){const _0x586c89=_0x353e3b,{title:_0x2aed9f,body:_0x2d2881,primaryButtonText:_0x2c7035,secondaryButtonText:_0x29519e,imageUrl:_0x2fbf37,onClose:_0x52d5fa,buttonPropertiesPrimary:_0x223237,buttonPropertiesSecondary:_0x5f182b,dismissMessageAutomatically:_0x5e790f,dismissMessageInSeconds:_0x3d22b1,headerColor:_0x236d64,messageColor:_0x299302,closeColor:_0x4ffabd,campaignId:_0x7620dc}=_0x4dfc3e,_0x440a7a=document['createElement'](_0x586c89(0xd6));_0x440a7a['style'][_0x586c89(0x8e)]=_0x586c89(0xd3),_0x440a7a[_0x586c89(0x147)][_0x586c89(0x151)]='0',_0x440a7a[_0x586c89(0x147)][_0x586c89(0x164)]='0',_0x440a7a['style'][_0x586c89(0x99)]='100%',_0x440a7a[_0x586c89(0x147)][_0x586c89(0x119)]=_0x586c89(0xf8),_0x440a7a[_0x586c89(0x147)][_0x586c89(0xea)]=_0x586c89(0x8c),_0x440a7a['style'][_0x586c89(0x11c)]='flex',_0x440a7a[_0x586c89(0x147)][_0x586c89(0xda)]='center',_0x440a7a[_0x586c89(0x147)][_0x586c89(0x13d)]=_0x586c89(0xe3),_0x440a7a[_0x586c89(0x147)][_0x586c89(0xe2)]=_0x586c89(0xc6);const _0x1757c5=document[_0x586c89(0xa0)](_0x586c89(0xd6));_0x1757c5[_0x586c89(0x147)][_0x586c89(0xea)]=_0x586c89(0x7f),_0x1757c5[_0x586c89(0x147)][_0x586c89(0x93)]=_0x586c89(0xc0),_0x1757c5['style']['padding']='16px',_0x1757c5[_0x586c89(0x147)][_0x586c89(0x11f)]=_0x586c89(0x14e),_0x1757c5['style']['width']='90%',_0x1757c5['style']['boxShadow']='0\x204px\x206px\x20rgba(0,\x200,\x200,\x200.1)',_0x1757c5[_0x586c89(0x147)][_0x586c89(0x8e)]='relative';const _0x3d4a53=document[_0x586c89(0xa0)](_0x586c89(0x121));_0x3d4a53['innerHTML']=_0x586c89(0xc4),_0x3d4a53[_0x586c89(0x147)][_0x586c89(0x8e)]=_0x586c89(0xc5),_0x3d4a53['style'][_0x586c89(0x151)]=_0x586c89(0xbc),_0x3d4a53[_0x586c89(0x147)][_0x586c89(0x144)]=_0x586c89(0xbc),_0x3d4a53[_0x586c89(0x147)][_0x586c89(0x149)]=_0x586c89(0x96),_0x3d4a53[_0x586c89(0x147)][_0x586c89(0xc7)]=_0x586c89(0x96),_0x3d4a53[_0x586c89(0x147)]['fontSize']=_0x586c89(0x12e),_0x3d4a53['style']['cursor']=_0x586c89(0x10a),_0x3d4a53[_0x586c89(0x147)][_0x586c89(0x117)]=this[_0x586c89(0x7c)](_0x4ffabd),_0x3d4a53['onclick']=()=>{const _0x4bfc87=_0x586c89;_0x52d5fa&&_0x52d5fa(),this[_0x4bfc87(0xdc)](_0x7620dc,!0x1,!0x0,!0x0),document[_0x4bfc87(0xcc)][_0x4bfc87(0x10f)](_0x440a7a);};const _0x5f1cfd=document[_0x586c89(0xa0)]('div');if(_0x5f1cfd[_0x586c89(0x147)][_0x586c89(0x11c)]=_0x586c89(0xaf),_0x5f1cfd['style'][_0x586c89(0xb0)]=_0x586c89(0x15f),_0x5f1cfd[_0x586c89(0x147)][_0x586c89(0x13d)]=_0x586c89(0xe3),_0x5f1cfd['style'][_0x586c89(0x115)]=_0x586c89(0xe3),_0x2fbf37&&''!==_0x2fbf37[_0x586c89(0x86)]()){const _0x59f370=document[_0x586c89(0xa0)](_0x586c89(0xbf));_0x59f370[_0x586c89(0xd9)]=_0x2fbf37,_0x59f370[_0x586c89(0x147)]['width']=_0x586c89(0xce),_0x59f370[_0x586c89(0x147)][_0x586c89(0x119)]=_0x586c89(0xce),_0x59f370[_0x586c89(0x147)][_0x586c89(0x94)]='16px',_0x59f370[_0x586c89(0x147)][_0x586c89(0xd5)]='16px',_0x59f370['onerror']=()=>{const _0x4cae71=_0x586c89;_0x59f370[_0x4cae71(0x147)][_0x4cae71(0x11c)]=_0x4cae71(0x96);},_0x5f1cfd[_0x586c89(0x161)](_0x59f370);}const _0x39e51d=document[_0x586c89(0xa0)]('h2');_0x39e51d[_0x586c89(0x155)]=_0x2aed9f,_0x39e51d['style'][_0x586c89(0x116)]=_0x586c89(0xf0),_0x39e51d[_0x586c89(0x147)][_0x586c89(0x107)]=_0x586c89(0x13e),_0x39e51d[_0x586c89(0x147)]['color']=this['hexToColor'](_0x236d64),_0x39e51d[_0x586c89(0x147)][_0x586c89(0x14b)]='8px\x200',_0x5f1cfd[_0x586c89(0x161)](_0x39e51d);const _0x6657d2=document[_0x586c89(0xa0)]('p');_0x6657d2['textContent']=_0x2d2881,_0x6657d2[_0x586c89(0x147)][_0x586c89(0x116)]=_0x586c89(0x9b),_0x6657d2['style'][_0x586c89(0x117)]=this[_0x586c89(0x7c)](_0x299302),_0x6657d2[_0x586c89(0x147)][_0x586c89(0x107)]=_0x586c89(0xf2),_0x6657d2['style'][_0x586c89(0x14b)]=_0x586c89(0xe5),_0x5f1cfd[_0x586c89(0x161)](_0x6657d2);const _0x371b94=()=>{const _0x1d74f5=_0x586c89;_0x1d74f5(0x125)!==_0x223237[_0x1d74f5(0x15b)]&&'deeplink_into_app'!==_0x223237[_0x1d74f5(0x15b)]||this['openWebUrl'](_0x223237[_0x1d74f5(0x9d)]||'');},_0x5c8b11=()=>{const _0x25e80c=_0x586c89;_0x25e80c(0x125)!==_0x5f182b[_0x25e80c(0x15b)]&&_0x25e80c(0xae)!==_0x5f182b[_0x25e80c(0x15b)]||this[_0x25e80c(0xe8)](_0x5f182b[_0x25e80c(0x9d)]||'');},_0x10608d=document[_0x586c89(0xa0)](_0x586c89(0xd6));if(_0x10608d[_0x586c89(0x147)][_0x586c89(0x11c)]=_0x586c89(0xaf),_0x10608d[_0x586c89(0x147)][_0x586c89(0xda)]=_0x586c89(0xe3),_0x10608d[_0x586c89(0x147)][_0x586c89(0x99)]=_0x586c89(0xf8),_0x10608d[_0x586c89(0x147)][_0x586c89(0x113)]=_0x586c89(0x152),_0x29519e&&''!==_0x29519e[_0x586c89(0x86)]()){const _0x48ed39=document[_0x586c89(0xa0)](_0x586c89(0x121));_0x48ed39[_0x586c89(0x155)]=_0x2c7035,_0x48ed39[_0x586c89(0x147)][_0x586c89(0xaf)]='1',_0x48ed39[_0x586c89(0x147)][_0x586c89(0x11f)]=_0x586c89(0xdf),_0x48ed39[_0x586c89(0x147)][_0x586c89(0x153)]='12px',_0x48ed39[_0x586c89(0x147)][_0x586c89(0xea)]=this[_0x586c89(0x7c)](_0x223237[_0x586c89(0xea)]),_0x48ed39['style'][_0x586c89(0x117)]=this['hexToColor'](_0x223237[_0x586c89(0x83)]),_0x48ed39['style']['border']='2px\x20solid\x20'+this[_0x586c89(0x7c)](_0x223237[_0x586c89(0xd7)]),_0x48ed39[_0x586c89(0x147)][_0x586c89(0x93)]=_0x586c89(0xbc),_0x48ed39[_0x586c89(0x147)][_0x586c89(0x116)]=_0x586c89(0x152),_0x48ed39[_0x586c89(0x147)][_0x586c89(0x107)]=_0x586c89(0x13e),_0x48ed39[_0x586c89(0x147)]['cursor']='pointer',_0x48ed39['onclick']=()=>{const _0xbcdfbe=_0x586c89;document[_0xbcdfbe(0xcc)]['removeChild'](_0x440a7a),_0x371b94();},_0x10608d['appendChild'](_0x48ed39);const _0x4fda79=document['createElement'](_0x586c89(0x121));_0x4fda79['textContent']=_0x29519e,_0x4fda79[_0x586c89(0x147)][_0x586c89(0xaf)]='1',_0x4fda79[_0x586c89(0x147)][_0x586c89(0x11f)]='140px',_0x4fda79[_0x586c89(0x147)][_0x586c89(0x153)]='12px',_0x4fda79[_0x586c89(0x147)][_0x586c89(0xea)]=this['hexToColor'](_0x5f182b[_0x586c89(0xea)]),_0x4fda79['style'][_0x586c89(0x117)]=this['hexToColor'](_0x5f182b[_0x586c89(0x83)]),_0x4fda79[_0x586c89(0x147)]['border']='2px\x20solid\x20'+this['hexToColor'](_0x5f182b[_0x586c89(0xd7)]),_0x4fda79[_0x586c89(0x147)][_0x586c89(0x93)]=_0x586c89(0xbc),_0x4fda79[_0x586c89(0x147)]['fontSize']=_0x586c89(0x152),_0x4fda79['style']['fontWeight']=_0x586c89(0x13e),_0x4fda79[_0x586c89(0x147)][_0x586c89(0x89)]=_0x586c89(0x10a),_0x4fda79[_0x586c89(0x103)]=()=>{const _0x1d03a1=_0x586c89;document['body']['removeChild'](_0x440a7a),this[_0x1d03a1(0xdc)](_0x7620dc,!0x0,!0x0,!0x1),_0x5c8b11();},_0x10608d[_0x586c89(0x161)](_0x4fda79);}else{if(_0x2c7035&&''!==_0x2c7035['trim']()){const _0x2ed2b4=document[_0x586c89(0xa0)]('button');_0x2ed2b4[_0x586c89(0x155)]=_0x2c7035,_0x2ed2b4[_0x586c89(0x147)][_0x586c89(0x99)]=_0x586c89(0xf8),_0x2ed2b4['style'][_0x586c89(0x153)]='12px',_0x2ed2b4['style'][_0x586c89(0xea)]=this['hexToColor'](_0x223237[_0x586c89(0xea)]),_0x2ed2b4[_0x586c89(0x147)][_0x586c89(0x117)]=this[_0x586c89(0x7c)](_0x223237['textColor']),_0x2ed2b4[_0x586c89(0x147)][_0x586c89(0xc7)]=_0x586c89(0xfd)+this['hexToColor'](_0x223237[_0x586c89(0xd7)]),_0x2ed2b4[_0x586c89(0x147)]['borderRadius']='8px',_0x2ed2b4['style'][_0x586c89(0x116)]=_0x586c89(0x152),_0x2ed2b4[_0x586c89(0x147)][_0x586c89(0x107)]='600',_0x2ed2b4[_0x586c89(0x147)][_0x586c89(0x89)]=_0x586c89(0x10a),_0x2ed2b4[_0x586c89(0x103)]=()=>{const _0x239ac2=_0x586c89;document[_0x239ac2(0xcc)][_0x239ac2(0x10f)](_0x440a7a),this[_0x239ac2(0xdc)](_0x7620dc,!0x0,!0x0,!0x1),_0x371b94();},_0x10608d['appendChild'](_0x2ed2b4);}}_0x1757c5[_0x586c89(0x161)](_0x3d4a53),_0x1757c5['appendChild'](_0x5f1cfd),_0x5f1cfd[_0x586c89(0x161)](_0x10608d),_0x440a7a[_0x586c89(0x161)](_0x1757c5),document[_0x586c89(0xcc)][_0x586c89(0x161)](_0x440a7a),_0x5e790f&&setTimeout(()=>{const _0x50c3e6=_0x586c89;document['body']['contains'](_0x440a7a)&&document[_0x50c3e6(0xcc)]['removeChild'](_0x440a7a);},0x3e8*parseInt(_0x3d22b1)),_0x440a7a[_0x586c89(0xde)](_0x586c89(0xa7),_0x5e8067=>{const _0x5dd574=_0x586c89;_0x5e8067['target']===_0x440a7a&&document[_0x5dd574(0xcc)][_0x5dd574(0x10f)](_0x440a7a);});}async[_0x353e3b(0xdc)](_0x5848ef,_0x237186,_0x13efc7,_0x29f7c0){const _0x5497b7=_0x353e3b,_0x3d395d=await this[_0x5497b7(0xee)](_0x5848ef,_0x13efc7,_0x237186,_0x29f7c0);await this['processCampaignClick'](_0x3d395d);}async[_0x353e3b(0xa5)](_0xc4ae32){const _0x17f8b6=_0x353e3b;this[_0x17f8b6(0x106)]&&this[_0x17f8b6(0x133)]||((0x0,_0x23388e[_0x17f8b6(0x10b)])(this['debug'],_0x17f8b6(0x143)),await this[_0x17f8b6(0x157)]()),(this[_0x17f8b6(0xd2)][_0x17f8b6(0x109)]>0x0||this[_0x17f8b6(0x87)]['length']>0x0||Object[_0x17f8b6(0x91)](this['attributeQueue'])[_0x17f8b6(0x109)]>0x0)&&await this[_0x17f8b6(0x165)]();const _0x34b8e3=await this[_0x17f8b6(0xee)](_0xc4ae32,!0x0,!0x0);await this[_0x17f8b6(0x154)](_0x34b8e3);}async[_0x353e3b(0x154)](_0x23cadc){const _0x4f92e9=_0x353e3b;try{const _0x4d39c4=await fetch(this[_0x4f92e9(0xa6)]+_0x4f92e9(0x11b),{'method':'POST','headers':{'Content-Type':_0x4f92e9(0x13c),'x-api-key':this[_0x4f92e9(0xfc)]},'body':JSON[_0x4f92e9(0x134)](_0x23cadc)});if(!_0x4d39c4['ok'])throw new Error(_0x4f92e9(0x15c)+_0x4d39c4['status']);this[_0x4f92e9(0xa8)]&&(0x0,_0x23388e[_0x4f92e9(0x10b)])(this['debug'],'process\x20campaign\x20click\x20dispatched\x20successfully:\x20'+_0x23cadc['campaignId']);}catch(_0x2b4b9e){throw(0x0,_0x23388e['log'])(this['debug'],_0x4f92e9(0x9e),_0x2b4b9e),_0x2b4b9e;}}async[_0x353e3b(0xee)](_0x2f59ac,_0x3f8490,_0x1d02e0,_0x3f92c4){const _0x458443=_0x353e3b,_0x218001=Date[_0x458443(0xcd)](),_0x2db5a9={'campaignId':_0x2f59ac,'opened':_0x3f8490,'clicked':_0x1d02e0,'deviceId':this[_0x458443(0xf7)],'timestamp':_0x218001};return void 0x0!==_0x3f92c4&&(_0x2db5a9['dismissed']=_0x3f92c4),_0x2db5a9;}};},0x1a9:(_0x2e575d,_0xf81ec9,_0x268d1c)=>{const _0xb1c20b=a0_0x33a9;Object['defineProperty'](_0xf81ec9,_0xb1c20b(0x8a),{'value':!0x0}),_0xf81ec9['updateV1State']=void 0x0;const _0x322474=_0x268d1c(0x123),_0x37bdaf=_0x268d1c(0xb),_0x349ccb={};function _0x54ee92(_0x5412db,_0x2b0b6d,_0x280b17){const _0x5409b9=_0xb1c20b;return _0x5412db['msecs']??=-0x1/0x0,_0x5412db[_0x5409b9(0xe6)]??=0x0,_0x2b0b6d===_0x5412db['msecs']?(_0x5412db[_0x5409b9(0xe6)]++,_0x5412db[_0x5409b9(0xe6)]>=0x2710&&(_0x5412db[_0x5409b9(0xd1)]=void 0x0,_0x5412db[_0x5409b9(0xe6)]=0x0)):_0x2b0b6d>_0x5412db[_0x5409b9(0x114)]?_0x5412db['nsecs']=0x0:_0x2b0b6d<_0x5412db[_0x5409b9(0x114)]&&(_0x5412db[_0x5409b9(0xd1)]=void 0x0),_0x5412db['node']||(_0x5412db[_0x5409b9(0xd1)]=_0x280b17['slice'](0xa,0x10),_0x5412db[_0x5409b9(0xd1)][0x0]|=0x1,_0x5412db[_0x5409b9(0xad)]=0x3fff&(_0x280b17[0x8]<<0x8|_0x280b17[0x9])),_0x5412db[_0x5409b9(0x114)]=_0x2b0b6d,_0x5412db;}function _0x224557(_0x23983f,_0x1e4adf,_0x9e2f99,_0x3fc3d6,_0x4e9243,_0x4fbf22,_0x295692=0x0){const _0x56997c=_0xb1c20b;if(_0x23983f[_0x56997c(0x109)]<0x10)throw new Error(_0x56997c(0x146));if(_0x4fbf22){if(_0x295692<0x0||_0x295692+0x10>_0x4fbf22[_0x56997c(0x109)])throw new RangeError(_0x56997c(0xe0)+_0x295692+':'+(_0x295692+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');}else _0x4fbf22=new Uint8Array(0x10),_0x295692=0x0;_0x1e4adf??=Date['now'](),_0x9e2f99??=0x0,_0x3fc3d6??=0x3fff&(_0x23983f[0x8]<<0x8|_0x23983f[0x9]),_0x4e9243??=_0x23983f[_0x56997c(0x139)](0xa,0x10);const _0x5eafd4=(0x2710*(0xfffffff&(_0x1e4adf+=0xb1d069b5400))+_0x9e2f99)%0x100000000;_0x4fbf22[_0x295692++]=_0x5eafd4>>>0x18&0xff,_0x4fbf22[_0x295692++]=_0x5eafd4>>>0x10&0xff,_0x4fbf22[_0x295692++]=_0x5eafd4>>>0x8&0xff,_0x4fbf22[_0x295692++]=0xff&_0x5eafd4;const _0x5195dc=_0x1e4adf/0x100000000*0x2710&0xfffffff;_0x4fbf22[_0x295692++]=_0x5195dc>>>0x8&0xff,_0x4fbf22[_0x295692++]=0xff&_0x5195dc,_0x4fbf22[_0x295692++]=_0x5195dc>>>0x18&0xf|0x10,_0x4fbf22[_0x295692++]=_0x5195dc>>>0x10&0xff,_0x4fbf22[_0x295692++]=_0x3fc3d6>>>0x8|0x80,_0x4fbf22[_0x295692++]=0xff&_0x3fc3d6;for(let _0x4f4e8e=0x0;_0x4f4e8e<0x6;++_0x4f4e8e)_0x4fbf22[_0x295692++]=_0x4e9243[_0x4f4e8e];return _0x4fbf22;}_0xf81ec9[_0xb1c20b(0xb5)]=_0x54ee92,_0xf81ec9['default']=function _0x3d5e23(_0x5f3318,_0x3fd657,_0xeeef6b){const _0x187261=_0xb1c20b;let _0x35a313;const _0xccf87a=_0x5f3318?.[_0x187261(0xb3)]??!0x1;if(_0x5f3318){const _0x3426bb=Object[_0x187261(0x91)](_0x5f3318);0x1===_0x3426bb[_0x187261(0x109)]&&_0x187261(0xb3)===_0x3426bb[0x0]&&(_0x5f3318=void 0x0);}if(_0x5f3318)_0x35a313=_0x224557(_0x5f3318[_0x187261(0x126)]??_0x5f3318[_0x187261(0xe7)]?.()??(0x0,_0x322474[_0x187261(0x9c)])(),_0x5f3318[_0x187261(0x114)],_0x5f3318[_0x187261(0xe6)],_0x5f3318[_0x187261(0xad)],_0x5f3318[_0x187261(0xd1)],_0x3fd657,_0xeeef6b);else{const _0x3c3c85=Date[_0x187261(0xcd)](),_0x343a79=(0x0,_0x322474[_0x187261(0x9c)])();_0x54ee92(_0x349ccb,_0x3c3c85,_0x343a79),_0x35a313=_0x224557(_0x343a79,_0x349ccb[_0x187261(0x114)],_0x349ccb[_0x187261(0xe6)],_0xccf87a?void 0x0:_0x349ccb[_0x187261(0xad)],_0xccf87a?void 0x0:_0x349ccb['node'],_0x3fd657,_0xeeef6b);}return _0x3fd657??(0x0,_0x37bdaf[_0x187261(0x102)])(_0x35a313);};},0x1d1:(_0x2aa653,_0x4ac7c6)=>{const _0x37a7ba=a0_0x33a9;Object[_0x37a7ba(0xe9)](_0x4ac7c6,_0x37a7ba(0x8a),{'value':!0x0}),_0x4ac7c6['default']=_0x37a7ba(0xac);},0x22d:(_0x1a49ba,_0xdad9e2,_0x116806)=>{const _0x52e1ae=a0_0x33a9;Object[_0x52e1ae(0xe9)](_0xdad9e2,_0x52e1ae(0x8a),{'value':!0x0}),_0xdad9e2[_0x52e1ae(0x85)]=_0xdad9e2['DNS']=void 0x0;const _0x4f1e2c=_0x116806(0x33d),_0x24aff0=_0x116806(0x3dc);var _0x34d750=_0x116806(0x3dc);function _0x29f3d6(_0x48ecad,_0x4b9bef,_0x43e23f,_0x3fc4f6){const _0x2867be=_0x52e1ae;return(0x0,_0x24aff0[_0x2867be(0x9c)])(0x50,_0x4f1e2c[_0x2867be(0x9c)],_0x48ecad,_0x4b9bef,_0x43e23f,_0x3fc4f6);}Object['defineProperty'](_0xdad9e2,'DNS',{'enumerable':!0x0,'get':function(){return _0x34d750['DNS'];}}),Object['defineProperty'](_0xdad9e2,_0x52e1ae(0x85),{'enumerable':!0x0,'get':function(){const _0x3ce120=_0x52e1ae;return _0x34d750[_0x3ce120(0x85)];}}),_0x29f3d6[_0x52e1ae(0x104)]=_0x24aff0[_0x52e1ae(0x104)],_0x29f3d6['URL']=_0x24aff0['URL'],_0xdad9e2[_0x52e1ae(0x9c)]=_0x29f3d6;},0x238:(_0x192a5c,_0x1634b5,_0x4f3fb9)=>{Object['defineProperty'](_0x1634b5,'__esModule',{'value':!0x0});const _0xf29964=_0x4f3fb9(0x31d),_0xde71d=_0x4f3fb9(0xb);_0x1634b5['default']=function _0x3b4c11(_0x26883f){const _0x3448dd=a0_0x33a9,_0x2fcc71=function _0xd27263(_0xb90733){return Uint8Array['of']((0xf&_0xb90733[0x6])<<0x4|_0xb90733[0x7]>>0x4&0xf,(0xf&_0xb90733[0x7])<<0x4|(0xf0&_0xb90733[0x4])>>0x4,(0xf&_0xb90733[0x4])<<0x4|(0xf0&_0xb90733[0x5])>>0x4,(0xf&_0xb90733[0x5])<<0x4|(0xf0&_0xb90733[0x0])>>0x4,(0xf&_0xb90733[0x0])<<0x4|(0xf0&_0xb90733[0x1])>>0x4,(0xf&_0xb90733[0x1])<<0x4|(0xf0&_0xb90733[0x2])>>0x4,0x60|0xf&_0xb90733[0x2],_0xb90733[0x3],_0xb90733[0x8],_0xb90733[0x9],_0xb90733[0xa],_0xb90733[0xb],_0xb90733[0xc],_0xb90733[0xd],_0xb90733[0xe],_0xb90733[0xf]);}(_0x3448dd(0x162)==typeof _0x26883f?(0x0,_0xf29964['default'])(_0x26883f):_0x26883f);return'string'==typeof _0x26883f?(0x0,_0xde71d[_0x3448dd(0x102)])(_0x2fcc71):_0x2fcc71;};},0x24f:(_0x423beb,_0x5d0b0e,_0x268d73)=>{const _0x2070aa=a0_0x33a9;Object[_0x2070aa(0xe9)](_0x5d0b0e,'__esModule',{'value':!0x0}),_0x5d0b0e['URL']=_0x5d0b0e[_0x2070aa(0x104)]=void 0x0;const _0x88f4a2=_0x268d73(0x152),_0x51e17f=_0x268d73(0x3dc);var _0x2e7315=_0x268d73(0x3dc);function _0x38252f(_0x5e9556,_0x561611,_0x5ad9fa,_0x1908a7){const _0x51f27e=_0x2070aa;return(0x0,_0x51e17f['default'])(0x30,_0x88f4a2[_0x51f27e(0x9c)],_0x5e9556,_0x561611,_0x5ad9fa,_0x1908a7);}Object[_0x2070aa(0xe9)](_0x5d0b0e,_0x2070aa(0x104),{'enumerable':!0x0,'get':function(){const _0x2372c4=_0x2070aa;return _0x2e7315[_0x2372c4(0x104)];}}),Object[_0x2070aa(0xe9)](_0x5d0b0e,_0x2070aa(0x85),{'enumerable':!0x0,'get':function(){const _0x13c2ec=_0x2070aa;return _0x2e7315[_0x13c2ec(0x85)];}}),_0x38252f[_0x2070aa(0x104)]=_0x51e17f[_0x2070aa(0x104)],_0x38252f[_0x2070aa(0x85)]=_0x51e17f[_0x2070aa(0x85)],_0x5d0b0e[_0x2070aa(0x9c)]=_0x38252f;},0x2b9:(_0x39d9b0,_0x2a6d0b)=>{const _0x630476=a0_0x33a9;Object[_0x630476(0xe9)](_0x2a6d0b,_0x630476(0x8a),{'value':!0x0}),_0x2a6d0b[_0x630476(0x9c)]=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;},0x2ea:(_0xa5fb67,_0x37ca79,_0x507d21)=>{const _0xf01955=a0_0x33a9;Object[_0xf01955(0xe9)](_0x37ca79,_0xf01955(0x8a),{'value':!0x0});const _0x2d6527=_0x507d21(0x2b9);_0x37ca79['default']=function _0xb14e3(_0x13b897){const _0x31b461=_0xf01955;return'string'==typeof _0x13b897&&_0x2d6527[_0x31b461(0x9c)]['test'](_0x13b897);};},0x302:(_0x1b2fd8,_0x16713a,_0x4c73cc)=>{const _0x5a882a=a0_0x33a9;Object[_0x5a882a(0xe9)](_0x16713a,_0x5a882a(0x8a),{'value':!0x0});const _0x5e2ab3=_0x4c73cc(0x2ea);_0x16713a[_0x5a882a(0x9c)]=function _0x4035db(_0x46c6e6){const _0x1584a7=_0x5a882a;if(!(0x0,_0x5e2ab3[_0x1584a7(0x9c)])(_0x46c6e6))throw TypeError(_0x1584a7(0xf4));return parseInt(_0x46c6e6['slice'](0xe,0xf),0x10);};},0x30b:(_0x3fde0b,_0x3896e6)=>{const _0x5c3698=a0_0x33a9;Object['defineProperty'](_0x3896e6,'__esModule',{'value':!0x0});const _0x30656c=_0x5c3698(0x11a)!=typeof crypto&&crypto['randomUUID']&&crypto[_0x5c3698(0x8f)]['bind'](crypto);_0x3896e6[_0x5c3698(0x9c)]={'randomUUID':_0x30656c};},0x31d:(_0x442222,_0x4a49da,_0x42d118)=>{const _0x3f8167=a0_0x33a9;Object['defineProperty'](_0x4a49da,'__esModule',{'value':!0x0});const _0x1bd4e6=_0x42d118(0x2ea);_0x4a49da[_0x3f8167(0x9c)]=function _0x4297c7(_0x3a0fa8){const _0x4a64e7=_0x3f8167;if(!(0x0,_0x1bd4e6[_0x4a64e7(0x9c)])(_0x3a0fa8))throw TypeError('Invalid\x20UUID');let _0x34cf82;return Uint8Array['of']((_0x34cf82=parseInt(_0x3a0fa8['slice'](0x0,0x8),0x10))>>>0x18,_0x34cf82>>>0x10&0xff,_0x34cf82>>>0x8&0xff,0xff&_0x34cf82,(_0x34cf82=parseInt(_0x3a0fa8[_0x4a64e7(0x139)](0x9,0xd),0x10))>>>0x8,0xff&_0x34cf82,(_0x34cf82=parseInt(_0x3a0fa8[_0x4a64e7(0x139)](0xe,0x12),0x10))>>>0x8,0xff&_0x34cf82,(_0x34cf82=parseInt(_0x3a0fa8['slice'](0x13,0x17),0x10))>>>0x8,0xff&_0x34cf82,(_0x34cf82=parseInt(_0x3a0fa8[_0x4a64e7(0x139)](0x18,0x24),0x10))/0x10000000000&0xff,_0x34cf82/0x100000000&0xff,_0x34cf82>>>0x18&0xff,_0x34cf82>>>0x10&0xff,_0x34cf82>>>0x8&0xff,0xff&_0x34cf82);};},0x33d:(_0x5232bb,_0xd6f2a3)=>{const _0x339ce4=a0_0x33a9;function _0x40db3d(_0x5dbd33,_0x2fe3e3,_0x1719fa,_0x403159){switch(_0x5dbd33){case 0x0:return _0x2fe3e3&_0x1719fa^~_0x2fe3e3&_0x403159;case 0x1:case 0x3:return _0x2fe3e3^_0x1719fa^_0x403159;case 0x2:return _0x2fe3e3&_0x1719fa^_0x2fe3e3&_0x403159^_0x1719fa&_0x403159;}}function _0x590695(_0x187602,_0x4533ed){return _0x187602<<_0x4533ed|_0x187602>>>0x20-_0x4533ed;}Object[_0x339ce4(0xe9)](_0xd6f2a3,_0x339ce4(0x8a),{'value':!0x0}),_0xd6f2a3[_0x339ce4(0x9c)]=function _0x5c43be(_0x7d5fd7){const _0x1eda61=_0x339ce4,_0x21c9ba=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],_0x54860f=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],_0x487ebe=new Uint8Array(_0x7d5fd7[_0x1eda61(0x109)]+0x1);_0x487ebe['set'](_0x7d5fd7),_0x487ebe[_0x7d5fd7[_0x1eda61(0x109)]]=0x80;const _0x485749=(_0x7d5fd7=_0x487ebe)['length']/0x4+0x2,_0x26e71a=Math[_0x1eda61(0x127)](_0x485749/0x10),_0x4d2e0d=new Array(_0x26e71a);for(let _0x427989=0x0;_0x427989<_0x26e71a;++_0x427989){const _0x5b52b0=new Uint32Array(0x10);for(let _0x464bc1=0x0;_0x464bc1<0x10;++_0x464bc1)_0x5b52b0[_0x464bc1]=_0x7d5fd7[0x40*_0x427989+0x4*_0x464bc1]<<0x18|_0x7d5fd7[0x40*_0x427989+0x4*_0x464bc1+0x1]<<0x10|_0x7d5fd7[0x40*_0x427989+0x4*_0x464bc1+0x2]<<0x8|_0x7d5fd7[0x40*_0x427989+0x4*_0x464bc1+0x3];_0x4d2e0d[_0x427989]=_0x5b52b0;}_0x4d2e0d[_0x26e71a-0x1][0xe]=0x8*(_0x7d5fd7[_0x1eda61(0x109)]-0x1)/Math[_0x1eda61(0x14f)](0x2,0x20),_0x4d2e0d[_0x26e71a-0x1][0xe]=Math[_0x1eda61(0x108)](_0x4d2e0d[_0x26e71a-0x1][0xe]),_0x4d2e0d[_0x26e71a-0x1][0xf]=0x8*(_0x7d5fd7[_0x1eda61(0x109)]-0x1)&0xffffffff;for(let _0x3730b0=0x0;_0x3730b0<_0x26e71a;++_0x3730b0){const _0x346ecc=new Uint32Array(0x50);for(let _0x4c1948=0x0;_0x4c1948<0x10;++_0x4c1948)_0x346ecc[_0x4c1948]=_0x4d2e0d[_0x3730b0][_0x4c1948];for(let _0x2d579d=0x10;_0x2d579d<0x50;++_0x2d579d)_0x346ecc[_0x2d579d]=_0x590695(_0x346ecc[_0x2d579d-0x3]^_0x346ecc[_0x2d579d-0x8]^_0x346ecc[_0x2d579d-0xe]^_0x346ecc[_0x2d579d-0x10],0x1);let _0x3fcad9=_0x54860f[0x0],_0x41fc11=_0x54860f[0x1],_0x5b5bf7=_0x54860f[0x2],_0x32e01f=_0x54860f[0x3],_0x383953=_0x54860f[0x4];for(let _0x2f4bba=0x0;_0x2f4bba<0x50;++_0x2f4bba){const _0x204ea4=Math[_0x1eda61(0x108)](_0x2f4bba/0x14),_0x191428=_0x590695(_0x3fcad9,0x5)+_0x40db3d(_0x204ea4,_0x41fc11,_0x5b5bf7,_0x32e01f)+_0x383953+_0x21c9ba[_0x204ea4]+_0x346ecc[_0x2f4bba]>>>0x0;_0x383953=_0x32e01f,_0x32e01f=_0x5b5bf7,_0x5b5bf7=_0x590695(_0x41fc11,0x1e)>>>0x0,_0x41fc11=_0x3fcad9,_0x3fcad9=_0x191428;}_0x54860f[0x0]=_0x54860f[0x0]+_0x3fcad9>>>0x0,_0x54860f[0x1]=_0x54860f[0x1]+_0x41fc11>>>0x0,_0x54860f[0x2]=_0x54860f[0x2]+_0x5b5bf7>>>0x0,_0x54860f[0x3]=_0x54860f[0x3]+_0x32e01f>>>0x0,_0x54860f[0x4]=_0x54860f[0x4]+_0x383953>>>0x0;}return Uint8Array['of'](_0x54860f[0x0]>>0x18,_0x54860f[0x0]>>0x10,_0x54860f[0x0]>>0x8,_0x54860f[0x0],_0x54860f[0x1]>>0x18,_0x54860f[0x1]>>0x10,_0x54860f[0x1]>>0x8,_0x54860f[0x1],_0x54860f[0x2]>>0x18,_0x54860f[0x2]>>0x10,_0x54860f[0x2]>>0x8,_0x54860f[0x2],_0x54860f[0x3]>>0x18,_0x54860f[0x3]>>0x10,_0x54860f[0x3]>>0x8,_0x54860f[0x3],_0x54860f[0x4]>>0x18,_0x54860f[0x4]>>0x10,_0x54860f[0x4]>>0x8,_0x54860f[0x4]);};},0x3dc:(_0x851717,_0x3fc386,_0x18f1b2)=>{const _0x206527=a0_0x33a9;Object[_0x206527(0xe9)](_0x3fc386,_0x206527(0x8a),{'value':!0x0}),_0x3fc386['URL']=_0x3fc386[_0x206527(0x104)]=_0x3fc386[_0x206527(0x15a)]=void 0x0;const _0x3c2178=_0x18f1b2(0x31d),_0x13e2eb=_0x18f1b2(0xb);function _0x4850f4(_0x2b0624){const _0x11299a=_0x206527;_0x2b0624=unescape(encodeURIComponent(_0x2b0624));const _0x3ec3b2=new Uint8Array(_0x2b0624[_0x11299a(0x109)]);for(let _0x17f7cf=0x0;_0x17f7cf<_0x2b0624['length'];++_0x17f7cf)_0x3ec3b2[_0x17f7cf]=_0x2b0624['charCodeAt'](_0x17f7cf);return _0x3ec3b2;}_0x3fc386[_0x206527(0x15a)]=_0x4850f4,_0x3fc386['DNS']='6ba7b810-9dad-11d1-80b4-00c04fd430c8',_0x3fc386[_0x206527(0x85)]=_0x206527(0xb9),_0x3fc386[_0x206527(0x9c)]=function _0x426d1c(_0x31acfa,_0xd709b9,_0x431749,_0x1d433d,_0x3368ed,_0x28ef73){const _0x1e161a=_0x206527,_0xf74b00=_0x1e161a(0x162)==typeof _0x431749?_0x4850f4(_0x431749):_0x431749,_0x4c12a8=_0x1e161a(0x162)==typeof _0x1d433d?(0x0,_0x3c2178[_0x1e161a(0x9c)])(_0x1d433d):_0x1d433d;if(_0x1e161a(0x162)==typeof _0x1d433d&&(_0x1d433d=(0x0,_0x3c2178['default'])(_0x1d433d)),0x10!==_0x1d433d?.[_0x1e161a(0x109)])throw TypeError(_0x1e161a(0xfa));let _0x270351=new Uint8Array(0x10+_0xf74b00['length']);if(_0x270351[_0x1e161a(0xc2)](_0x4c12a8),_0x270351['set'](_0xf74b00,_0x4c12a8[_0x1e161a(0x109)]),_0x270351=_0xd709b9(_0x270351),_0x270351[0x6]=0xf&_0x270351[0x6]|_0x31acfa,_0x270351[0x8]=0x3f&_0x270351[0x8]|0x80,_0x3368ed){_0x28ef73=_0x28ef73||0x0;for(let _0x3bd6a9=0x0;_0x3bd6a9<0x10;++_0x3bd6a9)_0x3368ed[_0x28ef73+_0x3bd6a9]=_0x270351[_0x3bd6a9];return _0x3368ed;}return(0x0,_0x13e2eb['unsafeStringify'])(_0x270351);};}},_0x366d3a={};function _0x50985a(_0x1b56d1){const _0x13c273=a0_0x33a9;var _0x3ee8ea=_0x366d3a[_0x1b56d1];if(void 0x0!==_0x3ee8ea)return _0x3ee8ea[_0x13c273(0x15d)];var _0x17cefe=_0x366d3a[_0x1b56d1]={'exports':{}};return _0x542268[_0x1b56d1](_0x17cefe,_0x17cefe[_0x13c273(0x15d)],_0x50985a),_0x17cefe[_0x13c273(0x15d)];}var _0x2717b7={};return((()=>{const _0x46f111=a0_0x33a9;var _0x33b110=_0x2717b7;Object[_0x46f111(0xe9)](_0x33b110,_0x46f111(0x8a),{'value':!0x0}),_0x33b110[_0x46f111(0x88)]=void 0x0;var _0x3a6ab5=_0x50985a(0x1a7);Object[_0x46f111(0xe9)](_0x33b110,_0x46f111(0x88),{'enumerable':!0x0,'get':function(){return _0x3a6ab5['WebSDK'];}});})()),_0x2717b7;})())));
|
|
Binary file
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export interface UserProfile {
|
|
2
|
+
id: string;
|
|
3
|
+
guestUserId?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EventOptions {
|
|
6
|
+
timestamp?: string;
|
|
7
|
+
requestId?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SDKConfig {
|
|
10
|
+
apiKey: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
debug?: boolean;
|
|
13
|
+
batchSize?: number;
|
|
14
|
+
batchInterval?: number;
|
|
15
|
+
platform?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PurchasePayload {
|
|
18
|
+
externalId: string;
|
|
19
|
+
itemId: string;
|
|
20
|
+
itemName: string;
|
|
21
|
+
unitPrice: number;
|
|
22
|
+
quantity: number;
|
|
23
|
+
source: string;
|
|
24
|
+
channel: string;
|
|
25
|
+
itemCategory?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface DeviceDetails {
|
|
28
|
+
deviceId: string;
|
|
29
|
+
platform: string;
|
|
30
|
+
pushToken?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ButtonProperties {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
borderColor: string;
|
|
35
|
+
textColor: string;
|
|
36
|
+
androidOnClickValue?: string;
|
|
37
|
+
androidOnClickAction?: string;
|
|
38
|
+
iOSOnClickValue?: string;
|
|
39
|
+
iOSOnClickAction?: string;
|
|
40
|
+
type?: string;
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}
|
|
43
|
+
export interface ModalConfig {
|
|
44
|
+
button1: ButtonProperties;
|
|
45
|
+
button2: ButtonProperties;
|
|
46
|
+
dismissMessageAutomatically: boolean;
|
|
47
|
+
dismissMessageInSeconds: string;
|
|
48
|
+
headerColor: string;
|
|
49
|
+
messageColor: string;
|
|
50
|
+
closeColor: string;
|
|
51
|
+
}
|
|
52
|
+
export interface MediaConfig {
|
|
53
|
+
inAppImage: string;
|
|
54
|
+
}
|
|
55
|
+
export interface InAppMessageData {
|
|
56
|
+
header: string;
|
|
57
|
+
message: string;
|
|
58
|
+
modal: ModalConfig;
|
|
59
|
+
mediaConfig: MediaConfig;
|
|
60
|
+
}
|
|
61
|
+
export interface ShowInAppMessageOptions {
|
|
62
|
+
context?: any;
|
|
63
|
+
title: string;
|
|
64
|
+
body: string;
|
|
65
|
+
primaryButtonText: string;
|
|
66
|
+
secondaryButtonText?: string;
|
|
67
|
+
imageUrl: string;
|
|
68
|
+
onClose?: () => void;
|
|
69
|
+
buttonPropertiesPrimary: ButtonProperties;
|
|
70
|
+
buttonPropertiesSecondary: ButtonProperties;
|
|
71
|
+
dismissMessageAutomatically: boolean;
|
|
72
|
+
dismissMessageInSeconds: string;
|
|
73
|
+
headerColor: string;
|
|
74
|
+
messageColor: string;
|
|
75
|
+
closeColor: string;
|
|
76
|
+
campaignId: string;
|
|
77
|
+
}
|
|
78
|
+
export interface CampaignPayload {
|
|
79
|
+
campaignId: string;
|
|
80
|
+
opened: boolean;
|
|
81
|
+
clicked: boolean;
|
|
82
|
+
deviceId: string;
|
|
83
|
+
timestamp: number;
|
|
84
|
+
dismissed?: boolean;
|
|
85
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const log: (debug: boolean, message: string, ...args: any[]) => void;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { SDKConfig, EventOptions, UserProfile } from "./types";
|
|
2
|
+
export declare class WebSDK {
|
|
3
|
+
private readonly apiKey;
|
|
4
|
+
private readonly endpoint;
|
|
5
|
+
private readonly debug;
|
|
6
|
+
private readonly maxBatchSize;
|
|
7
|
+
private readonly batchInterval;
|
|
8
|
+
private readonly sdkVersion;
|
|
9
|
+
private deviceId;
|
|
10
|
+
private guestUserId;
|
|
11
|
+
private deviceDetails?;
|
|
12
|
+
private currentUser?;
|
|
13
|
+
private eventQueue;
|
|
14
|
+
private purchaseBatch;
|
|
15
|
+
private attributeQueue;
|
|
16
|
+
private isProcessingQueue;
|
|
17
|
+
private batchProcessingInterval?;
|
|
18
|
+
private platform;
|
|
19
|
+
constructor(config: SDKConfig);
|
|
20
|
+
private initialize;
|
|
21
|
+
identify(userId: string): void;
|
|
22
|
+
clearUserData(): void;
|
|
23
|
+
trackEvent(eventName: string, properties?: Record<string, any>, options?: EventOptions): void;
|
|
24
|
+
setToken(token: string): void;
|
|
25
|
+
trackCustomAttribute(attributeName: string, attributeValue: any): void;
|
|
26
|
+
logProductPurchase(orderId: string, itemId: string, itemName: string, unitPrice: number, quantity: number, source: string, channel: string, itemCategory?: string): void;
|
|
27
|
+
getUserProfile(): UserProfile | undefined;
|
|
28
|
+
forceSend(): Promise<void>;
|
|
29
|
+
dispose(): void;
|
|
30
|
+
private getStoredDeviceId;
|
|
31
|
+
private getStoredUserProfile;
|
|
32
|
+
private storeDeviceId;
|
|
33
|
+
private storeUserProfile;
|
|
34
|
+
private storeCustomAttributes;
|
|
35
|
+
private loadCustomAttributes;
|
|
36
|
+
private getGuestUserId;
|
|
37
|
+
private buildPurchasePayload;
|
|
38
|
+
private initializeDeviceDetails;
|
|
39
|
+
private startBatchProcessing;
|
|
40
|
+
private queueEvent;
|
|
41
|
+
private processBatch;
|
|
42
|
+
private sendBatchToServer;
|
|
43
|
+
displayInAppMessage(inAppMessageData: string, campaignId: string, context?: any): void;
|
|
44
|
+
private hexToColor;
|
|
45
|
+
private openWebUrl;
|
|
46
|
+
private showInAppMessage;
|
|
47
|
+
private logInAppMessageClick;
|
|
48
|
+
logClick(campaignId: string): Promise<void>;
|
|
49
|
+
private processCampaignClick;
|
|
50
|
+
private buildCampaignPayload;
|
|
51
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface SDKConfig {
|
|
|
12
12
|
debug?: boolean;
|
|
13
13
|
batchSize?: number;
|
|
14
14
|
batchInterval?: number;
|
|
15
|
+
platform?: string;
|
|
15
16
|
}
|
|
16
17
|
export interface PurchasePayload {
|
|
17
18
|
externalId: string;
|
|
@@ -25,7 +26,6 @@ export interface PurchasePayload {
|
|
|
25
26
|
}
|
|
26
27
|
export interface DeviceDetails {
|
|
27
28
|
deviceId: string;
|
|
28
|
-
deviceIdentifier: string;
|
|
29
29
|
platform: string;
|
|
30
30
|
pushToken?: string;
|
|
31
31
|
}
|
|
@@ -83,4 +83,3 @@ export interface CampaignPayload {
|
|
|
83
83
|
timestamp: number;
|
|
84
84
|
dismissed?: boolean;
|
|
85
85
|
}
|
|
86
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.js
CHANGED
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
package/dist/web-sdk.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare class WebSDK {
|
|
|
7
7
|
private readonly batchInterval;
|
|
8
8
|
private readonly sdkVersion;
|
|
9
9
|
private deviceId;
|
|
10
|
-
private deviceIdentifier;
|
|
11
10
|
private guestUserId;
|
|
12
11
|
private deviceDetails?;
|
|
13
12
|
private currentUser?;
|
|
@@ -16,6 +15,7 @@ export declare class WebSDK {
|
|
|
16
15
|
private attributeQueue;
|
|
17
16
|
private isProcessingQueue;
|
|
18
17
|
private batchProcessingInterval?;
|
|
18
|
+
private platform;
|
|
19
19
|
constructor(config: SDKConfig);
|
|
20
20
|
private initialize;
|
|
21
21
|
identify(userId: string): void;
|
|
@@ -49,4 +49,3 @@ export declare class WebSDK {
|
|
|
49
49
|
private processCampaignClick;
|
|
50
50
|
private buildCampaignPayload;
|
|
51
51
|
}
|
|
52
|
-
//# sourceMappingURL=web-sdk.d.ts.map
|
package/dist/web-sdk.js
CHANGED
|
@@ -3,16 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.WebSDK = void 0;
|
|
4
4
|
const utils_1 = require("./utils");
|
|
5
5
|
const uuid_1 = require("uuid");
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
const DeviceUUID = require("device-uuid").DeviceUUID;
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
const package_json_1 = require("../package.json");
|
|
10
6
|
const STORAGE_PREFIX = "os.";
|
|
11
7
|
const DEFAULT_BATCH_SIZE = 10;
|
|
12
8
|
const DEFAULT_BATCH_INTERVAL = 10000;
|
|
13
|
-
const SDK_VERSION =
|
|
9
|
+
const SDK_VERSION = "1.0.7";
|
|
14
10
|
class WebSDK {
|
|
15
11
|
constructor(config) {
|
|
12
|
+
var _a, _b, _c, _d;
|
|
16
13
|
this.maxBatchSize = DEFAULT_BATCH_SIZE;
|
|
17
14
|
this.batchInterval = DEFAULT_BATCH_INTERVAL;
|
|
18
15
|
this.sdkVersion = SDK_VERSION;
|
|
@@ -20,17 +17,17 @@ class WebSDK {
|
|
|
20
17
|
this.purchaseBatch = [];
|
|
21
18
|
this.attributeQueue = {};
|
|
22
19
|
this.isProcessingQueue = false;
|
|
20
|
+
this.platform = "web";
|
|
23
21
|
if (!config.apiKey || !config.endpoint) {
|
|
24
22
|
throw new Error("API key and endpoint are required");
|
|
25
23
|
}
|
|
26
24
|
this.apiKey = config.apiKey;
|
|
27
25
|
this.endpoint = config.endpoint;
|
|
28
|
-
this.debug = config.debug
|
|
29
|
-
this.maxBatchSize = config.batchSize
|
|
30
|
-
this.batchInterval = config.batchInterval
|
|
26
|
+
this.debug = (_a = config.debug) !== null && _a !== void 0 ? _a : false;
|
|
27
|
+
this.maxBatchSize = (_b = config.batchSize) !== null && _b !== void 0 ? _b : DEFAULT_BATCH_SIZE;
|
|
28
|
+
this.batchInterval = (_c = config.batchInterval) !== null && _c !== void 0 ? _c : DEFAULT_BATCH_INTERVAL;
|
|
29
|
+
this.platform = (_d = config.platform) !== null && _d !== void 0 ? _d : "web";
|
|
31
30
|
this.deviceId = this.getStoredDeviceId() || (0, uuid_1.v4)();
|
|
32
|
-
const deviceUUID = new DeviceUUID();
|
|
33
|
-
this.deviceIdentifier = deviceUUID.get();
|
|
34
31
|
this.guestUserId = this.getGuestUserId();
|
|
35
32
|
// Initialize async
|
|
36
33
|
this.initialize().catch((error) => {
|
|
@@ -71,7 +68,7 @@ class WebSDK {
|
|
|
71
68
|
throw new Error("User ID must be a string");
|
|
72
69
|
}
|
|
73
70
|
const storedUser = this.getStoredUserProfile();
|
|
74
|
-
if (storedUser
|
|
71
|
+
if ((storedUser === null || storedUser === void 0 ? void 0 : storedUser.id) === userId)
|
|
75
72
|
return;
|
|
76
73
|
(0, utils_1.log)(this.debug, "Identifying user", userId);
|
|
77
74
|
// If userId is empty or matches guest pattern, use guest user
|
|
@@ -91,11 +88,8 @@ class WebSDK {
|
|
|
91
88
|
this.storeUserProfile();
|
|
92
89
|
}
|
|
93
90
|
clearUserData() {
|
|
94
|
-
// Generate new device ID
|
|
91
|
+
// Generate new device ID
|
|
95
92
|
this.deviceId = (0, uuid_1.v4)();
|
|
96
|
-
// Also regenerate device_identifier
|
|
97
|
-
const deviceUUID = new DeviceUUID();
|
|
98
|
-
this.deviceIdentifier = deviceUUID.get();
|
|
99
93
|
this.guestUserId = this.getGuestUserId();
|
|
100
94
|
this.initializeDeviceDetails();
|
|
101
95
|
this.currentUser = {
|
|
@@ -238,8 +232,7 @@ class WebSDK {
|
|
|
238
232
|
async initializeDeviceDetails() {
|
|
239
233
|
this.deviceDetails = {
|
|
240
234
|
deviceId: this.deviceId,
|
|
241
|
-
|
|
242
|
-
platform: 'web',
|
|
235
|
+
platform: this.platform,
|
|
243
236
|
};
|
|
244
237
|
}
|
|
245
238
|
startBatchProcessing() {
|
|
@@ -287,14 +280,15 @@ class WebSDK {
|
|
|
287
280
|
}
|
|
288
281
|
}
|
|
289
282
|
async sendBatchToServer(events, purchases, currentAttributes) {
|
|
283
|
+
var _a, _b;
|
|
290
284
|
if (!this.deviceDetails) {
|
|
291
285
|
await this.initializeDeviceDetails();
|
|
292
286
|
}
|
|
293
287
|
const payload = {
|
|
294
288
|
sdkVersion: this.sdkVersion,
|
|
295
289
|
deviceInfo: this.deviceDetails,
|
|
296
|
-
userId: this.currentUser
|
|
297
|
-
guestUserId: this.currentUser
|
|
290
|
+
userId: (_a = this.currentUser) === null || _a === void 0 ? void 0 : _a.id,
|
|
291
|
+
guestUserId: (_b = this.currentUser) === null || _b === void 0 ? void 0 : _b.guestUserId,
|
|
298
292
|
time: Date.now(),
|
|
299
293
|
events: events,
|
|
300
294
|
purchases: purchases,
|
|
@@ -328,7 +322,9 @@ class WebSDK {
|
|
|
328
322
|
}
|
|
329
323
|
}
|
|
330
324
|
displayInAppMessage(inAppMessageData, campaignId, context) {
|
|
325
|
+
(0, utils_1.log)(this.debug, "Displaying in-app message", inAppMessageData);
|
|
331
326
|
const transformedData = JSON.parse(inAppMessageData);
|
|
327
|
+
(0, utils_1.log)(this.debug, "Displaying in-app message", transformedData);
|
|
332
328
|
const title = transformedData.header;
|
|
333
329
|
const body = transformedData.message;
|
|
334
330
|
const buttonDataPrimary = transformedData.modal.button1;
|
|
@@ -601,4 +597,3 @@ class WebSDK {
|
|
|
601
597
|
}
|
|
602
598
|
}
|
|
603
599
|
exports.WebSDK = WebSDK;
|
|
604
|
-
//# sourceMappingURL=web-sdk.js.map
|
package/package.json
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ordersune/crm-web-sdk",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"default": "./dist/index.js"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
6
|
"publishConfig": {
|
|
13
7
|
"access": "public"
|
|
14
8
|
},
|
|
15
9
|
"scripts": {
|
|
16
|
-
"build": "
|
|
10
|
+
"build": "npm run build:bundle && npm run build:types",
|
|
11
|
+
"build:bundle": "webpack --config webpack.config.js",
|
|
12
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
17
13
|
"prepare": "npm run build && husky",
|
|
18
14
|
"release": "bash -c 'read -p \"Enter OTP from authenticator: \" OTP && GIT_AUTHOR_NAME=\"$(git config user.name)\" GIT_AUTHOR_EMAIL=\"$(git config user.email)\" GIT_COMMITTER_NAME=\"$(git config user.name)\" GIT_COMMITTER_EMAIL=\"$(git config user.email)\" NPM_CONFIG_OTP=$OTP semantic-release --no-ci'",
|
|
19
15
|
"lint:commit": "commitlint --edit"
|
|
@@ -23,7 +19,6 @@
|
|
|
23
19
|
"README.md"
|
|
24
20
|
],
|
|
25
21
|
"dependencies": {
|
|
26
|
-
"device-uuid": "^2.0.0",
|
|
27
22
|
"uuid": "^11.0.3"
|
|
28
23
|
},
|
|
29
24
|
"devDependencies": {
|
|
@@ -34,7 +29,13 @@
|
|
|
34
29
|
"@semantic-release/npm": "^13.1.2",
|
|
35
30
|
"@types/uuid": "^9.0.0",
|
|
36
31
|
"husky": "^9.1.7",
|
|
32
|
+
"javascript-obfuscator": "^4.1.1",
|
|
37
33
|
"semantic-release": "^25.0.2",
|
|
38
|
-
"
|
|
34
|
+
"terser-webpack-plugin": "^5.3.14",
|
|
35
|
+
"ts-loader": "^9.5.4",
|
|
36
|
+
"typescript": "^5.0.0",
|
|
37
|
+
"webpack": "^5.103.0",
|
|
38
|
+
"webpack-cli": "^6.0.1",
|
|
39
|
+
"webpack-obfuscator": "^3.5.1"
|
|
39
40
|
}
|
|
40
41
|
}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;AAA1B,iGAAA,MAAM,OAAA;AACf,qCAA8C;AAArC,kGAAA,MAAM,OAAW"}
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAA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B,CAAC;IAC1C,yBAAyB,EAAE,gBAAgB,CAAC;IAC5C,2BAA2B,EAAE,OAAO,CAAC;IACrC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
package/dist/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;AA8FC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,GAAI,OAAO,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,EAAE,SAIlE,CAAC"}
|
package/dist/utils/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,GAAG,GAAG,CAAC,KAAc,EAAE,OAAe,EAAE,GAAG,IAAW,EAAE,EAAE;IACrE,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;IACnD,CAAC;AACH,CAAC,CAAC;AAJW,QAAA,GAAG,OAId"}
|
package/dist/web-sdk.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":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