wisetrack 2.0.9 → 2.1.1

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.
Files changed (61) hide show
  1. package/README.md +75 -24
  2. package/dist/cdn/sdk.bundle.min.js +1 -1
  3. package/dist/cjs/constants/constants.d.ts +3 -1
  4. package/dist/cjs/constants/endpoints.d.ts +9 -6
  5. package/dist/cjs/constants/environments.d.ts +1 -1
  6. package/dist/cjs/core/caching/queue-data.d.ts +0 -1
  7. package/dist/cjs/core/caching/request-queue-manager.d.ts +16 -31
  8. package/dist/cjs/core/fields/click-match-fields-builder.d.ts +7 -0
  9. package/dist/cjs/core/fields/heartbeat-fields-builder.d.ts +7 -0
  10. package/dist/cjs/core/network/api-client.d.ts +16 -4
  11. package/dist/cjs/core/network/network-error.d.ts +32 -16
  12. package/dist/cjs/core/network/network-manager.d.ts +9 -4
  13. package/dist/cjs/core/storage/storage-manager.d.ts +23 -2
  14. package/dist/cjs/core/wisetrack.d.ts +31 -9
  15. package/dist/cjs/core/wt-configure.d.ts +18 -0
  16. package/dist/cjs/core/wt-tracker.d.ts +5 -2
  17. package/dist/cjs/index.d.ts +4 -2
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/cjs/types/config/initial-config.d.ts +8 -0
  20. package/dist/cjs/types/config/secure-config.d.ts +11 -0
  21. package/dist/cjs/types/config/wt-auth.d.ts +7 -0
  22. package/dist/cjs/types/config/wt-config-endpoints.d.ts +15 -0
  23. package/dist/cjs/types/config/wt-config.d.ts +4 -6
  24. package/dist/cjs/types/wt-deferred-lookup.d.ts +6 -0
  25. package/dist/cjs/utils/country-finder.d.ts +1 -0
  26. package/dist/cjs/utils/crypto-helper.d.ts +1 -1
  27. package/dist/cjs/utils/heartbeat-manager.d.ts +0 -0
  28. package/dist/cjs/utils/lifecycle-observer.d.ts +32 -0
  29. package/dist/cjs/utils/utils.d.ts +1 -0
  30. package/dist/cjs/utils/webgl-fingerprint.d.ts +3 -3
  31. package/dist/esm/constants/constants.d.ts +3 -1
  32. package/dist/esm/constants/endpoints.d.ts +9 -6
  33. package/dist/esm/constants/environments.d.ts +1 -1
  34. package/dist/esm/core/caching/queue-data.d.ts +0 -1
  35. package/dist/esm/core/caching/request-queue-manager.d.ts +16 -31
  36. package/dist/esm/core/fields/click-match-fields-builder.d.ts +7 -0
  37. package/dist/esm/core/fields/heartbeat-fields-builder.d.ts +7 -0
  38. package/dist/esm/core/network/api-client.d.ts +16 -4
  39. package/dist/esm/core/network/network-error.d.ts +32 -16
  40. package/dist/esm/core/network/network-manager.d.ts +9 -4
  41. package/dist/esm/core/storage/storage-manager.d.ts +23 -2
  42. package/dist/esm/core/wisetrack.d.ts +31 -9
  43. package/dist/esm/core/wt-configure.d.ts +18 -0
  44. package/dist/esm/core/wt-tracker.d.ts +5 -2
  45. package/dist/esm/index.d.ts +4 -2
  46. package/dist/esm/index.js +1 -1
  47. package/dist/esm/types/config/initial-config.d.ts +8 -0
  48. package/dist/esm/types/config/secure-config.d.ts +11 -0
  49. package/dist/esm/types/config/wt-auth.d.ts +7 -0
  50. package/dist/esm/types/config/wt-config-endpoints.d.ts +15 -0
  51. package/dist/esm/types/config/wt-config.d.ts +4 -6
  52. package/dist/esm/types/wt-deferred-lookup.d.ts +6 -0
  53. package/dist/esm/utils/country-finder.d.ts +1 -0
  54. package/dist/esm/utils/crypto-helper.d.ts +1 -1
  55. package/dist/esm/utils/heartbeat-manager.d.ts +0 -0
  56. package/dist/esm/utils/lifecycle-observer.d.ts +32 -0
  57. package/dist/esm/utils/utils.d.ts +1 -0
  58. package/dist/esm/utils/webgl-fingerprint.d.ts +3 -3
  59. package/package.json +15 -13
  60. package/dist/cjs/utils/activity-ticker.d.ts +0 -12
  61. package/dist/esm/utils/activity-ticker.d.ts +0 -12
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _0x6301(e,t){const r=_0x2209();return(_0x6301=function(e,t){return r[e-=342]})(e,t)}const _0x166e2d=_0x6301;function _0x2209(){const e=["1819221BdCluO","7NgHYfM","1800","3906592JUHskJ","488147VwQzBx","1783074IDYunO","2.0.9","info","8972UdOuPD","300","1654294LXBFKI","production","8682939RcEyrr","635BxSDRo","1DJKLwD","web","550xlNHjI"];return(_0x2209=function(){return e})()}!function(){const e=_0x6301,t=_0x2209();for(;;)try{if(543052===parseInt(e(347))/1*(-parseInt(e(343))/2)+-parseInt(e(350))/3+-parseInt(e(358))/4*(parseInt(e(346))/5)+-parseInt(e(355))/6*(-parseInt(e(351))/7)+parseInt(e(353))/8+-parseInt(e(345))/9+parseInt(e(349))/10*(parseInt(e(354))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x166e2d(348),VERSION:_0x166e2d(356)},CONFIG:{DEFAULT_ENVIRONMENT:_0x166e2d(344)},DEFAULTS:{LOG_LEVEL:_0x166e2d(357),SESSION_INTERVAL:_0x166e2d(352),SUBSESSION_INTERVAL:_0x166e2d(342),PARAMETERS_VALUE:void 0}},_0x73872f=_0x7f58;function _0x326b(){const e=["indexOf","addOutputEngine","log","error","8UbxQjr","2ADIqMx","level","setPrefix","outputEngines","debug","push","3076633lcaaRY","4267225tPIEaF","LOG_LEVEL","warn","shouldLog","prefix","none","550524CJcwWc","info","setLevel","toUpperCase","DEFAULTS","978723gHxxfE","1014165BCZxwb","599588OioMcN","59062HcQUSA"];return(_0x326b=function(){return e})()}function _0x7f58(e,t){const r=_0x326b();return(_0x7f58=function(e,t){return r[e-=236]})(e,t)}!function(){const e=_0x7f58,t=_0x326b();for(;;)try{if(735647===-parseInt(e(254))/1*(parseInt(e(260))/2)+parseInt(e(251))/3+-parseInt(e(253))/4+parseInt(e(240))/5+parseInt(e(246))/6+parseInt(e(239))/7*(-parseInt(e(259))/8)+parseInt(e(252))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:_0x73872f(237),INFO:_0x73872f(247),WARN:"warn",ERROR:_0x73872f(258),NONE:_0x73872f(245)};class WTLogger{static[_0x73872f(248)](e){this[_0x73872f(261)]=e}static[_0x73872f(262)](e){this[_0x73872f(244)]=e}static[_0x73872f(256)](e){const t=_0x73872f;this[t(236)][t(238)](e)}static shouldLog(e){const t=_0x73872f,r=["debug",t(247),t(242),t(258)],i=r[t(255)](this[t(261)]);return r.indexOf(e)>=i}static[_0x73872f(257)](e,...t){const r=_0x73872f;if(!this[r(243)](e))return;const i="["+this[r(244)]+"-"+e[r(249)]()+"]";for(const n of this[r(236)])n(e,i,t)}static[_0x73872f(237)](...e){this[_0x73872f(257)]("debug",...e)}static info(...e){this.log("info",...e)}static warn(...e){const t=_0x73872f;this[t(257)](t(242),...e)}static[_0x73872f(258)](...e){const t=_0x73872f;this[t(257)](t(258),...e)}}function _0x2e59(e,t){var r=_0x32fd();return(_0x2e59=function(e,t){return r[e-=103]})(e,t)}WTLogger[_0x73872f(261)]=WTConstants[_0x73872f(250)][_0x73872f(241)],WTLogger[_0x73872f(244)]="WT",WTLogger[_0x73872f(236)]=[(e,t,r)=>{const i=_0x7f58;switch(e){case"debug":console.debug(t,...r);break;case i(247):console.info(t,...r);break;case i(242):console[i(242)](t,...r);break;case i(258):console.error(t,...r);break;default:console[i(257)](t,...r)}}];var _0x122652=_0x2e59;!function(){for(var e=_0x2e59,t=_0x32fd();;)try{if(257210===-parseInt(e(114))/1*(-parseInt(e(119))/2)+-parseInt(e(129))/3+-parseInt(e(152))/4+-parseInt(e(158))/5+-parseInt(e(109))/6*(parseInt(e(168))/7)+parseInt(e(104))/8+parseInt(e(108))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x122652(107),INITIAL_DATE:_0x122652(144),INITIAL_CONFIG:"WT.InitialConfigs",SDK_ENVIRONMENT:_0x122652(132),SDK_VERSION:"WT.SdkVersion",CONFIG:"WT.Configs",SDK_CLICK_SUBMIT:_0x122652(120),FIRST_SESSION_SUBMIT:_0x122652(164),SDK_ENABLED:_0x122652(146),FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:_0x122652(115),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:_0x122652(130),ACTIVE_TIME:"WT.ActiveTime",INACTIVE_TIME:_0x122652(159),INACTIVE_DURATION:_0x122652(160),REQUEST_QUEUE:_0x122652(131),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};function _0x32fd(){var e=["INITIAL_CONFIG","firstSessionSubmit","setItem","WT.InitialDate","SUBSESSION_COUNT","WT.SdkEnabled","SDK","error","REQUEST_QUEUE","SDK_ENVIRONMENT","toString","553392LCzjYT","PENDING_REQUEST_QUEUE","getItem","parse","INACTIVE_TIME","pendingRequestRecords","412480YimzhG","WT.InactiveTime","WT.InactiveDuration","EVENT_COUNT","false","ACTIVE_TIME","WT.FirstSessionSubmit","INACTIVE_DURATION","activeTime","sdkVersion","147oDkXIz","requestRecords","SDK_ENABLED","true","initialConfig","PUSH_TOKEN","sdkClickSubmit","DEVICE_ID","sdkEnvironment","3507936qecRNd","CONFIG","activeDuration","WT.DeviceId","3790827zbWIIs","131952xxAIAT","FIRST_SESSION_SUBMIT","inactiveTime","SDK_VERSION","Error in JSON decoding for key '","115171TfaVsP","WT.SessionCount","sessionCount","pushToken","INITIAL_DATE","2HOFHHF","WT.SdkClickSubmit","sdkEnabled","config","stringify","SDK_CLICK_SUBMIT","setJson","initialDate","FCM_TOKEN","clear","104940zkdnYb","WT.SubSessionCount","WT.RequestQueue","WT.SdkEnvironment","fcmToken","optionalBool","deviceId","subSessionCount","optionalNumber","removeItem","SESSION_COUNT","getJson"];return(_0x32fd=function(){return e})()}class StorageManager{[_0x122652(128)](){localStorage.clear()}[_0x122652(125)](e,t){var r=_0x122652;if(t)try{const i=JSON[r(123)](t);localStorage[r(143)](e,i)}catch(t){WTLogger[r(148)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(138)](e)}[_0x122652(140)](e){var t=_0x122652;const r=localStorage[t(154)](e);if(!r)return null;try{return JSON[t(155)](r)}catch(r){return WTLogger[t(148)](t(113)+e+"': "+r,r),null}}optionalNumber(e){const t=localStorage[_0x122652(154)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x122652(134)](e){var t=_0x122652;const r=localStorage[t(154)](e);return null===r?null:r===t(171)||r!==t(162)&&null}get[_0x122652(135)](){return localStorage[_0x122652(154)](WTStorageKeys.DEVICE_ID)}set[_0x122652(135)](e){var t=_0x122652;e?localStorage.setItem(WTStorageKeys[t(175)],e):localStorage[t(138)](WTStorageKeys[t(175)])}get[_0x122652(126)](){var e=_0x122652;return this[e(140)](WTStorageKeys[e(118)])}set[_0x122652(126)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(118)],e)}get initialConfig(){var e=_0x122652;return this[e(140)](WTStorageKeys[e(141)])}set[_0x122652(172)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(141)],e)}get[_0x122652(122)](){var e=_0x122652;return this[e(140)](WTStorageKeys[e(105)])}set config(e){var t=_0x122652;this.setJson(WTStorageKeys[t(105)],e)}get[_0x122652(121)](){var e;return null!==(e=this.optionalBool(WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(170)],e[t(151)]())}get[_0x122652(174)](){var e,t=_0x122652;return null!==(e=this[t(134)](WTStorageKeys[t(124)]))&&void 0!==e&&e}set[_0x122652(174)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(124)],e[t(151)]())}get[_0x122652(142)](){var e,t=_0x122652;return null!==(e=this.optionalBool(WTStorageKeys[t(110)]))&&void 0!==e&&e}set[_0x122652(142)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(110)],e[t(151)]())}get[_0x122652(133)](){return localStorage.getItem(WTStorageKeys.FCM_TOKEN)}set[_0x122652(133)](e){var t=_0x122652;e?localStorage[t(143)](WTStorageKeys[t(127)],e):localStorage[t(138)](WTStorageKeys.FCM_TOKEN)}get[_0x122652(117)](){var e=_0x122652;return localStorage[e(154)](WTStorageKeys[e(173)])}set pushToken(e){var t=_0x122652;e?localStorage[t(143)](WTStorageKeys[t(173)],e):localStorage[t(138)](WTStorageKeys[t(173)])}get[_0x122652(116)](){var e,t=_0x122652;return null!==(e=this.optionalNumber(WTStorageKeys[t(139)]))&&void 0!==e?e:1}set sessionCount(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(139)],e[t(151)]())}get[_0x122652(136)](){var e,t=_0x122652;return null!==(e=this[t(137)](WTStorageKeys[t(145)]))&&void 0!==e?e:1}set[_0x122652(136)](e){localStorage[_0x122652(143)](WTStorageKeys.SUBSESSION_COUNT,e.toString())}get[_0x122652(106)](){var e;return null!==(e=this[_0x122652(137)](WTStorageKeys.SESSION_LENGTH))&&void 0!==e?e:0}set[_0x122652(106)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys.SESSION_LENGTH,e[t(151)]())}get inactiveDuration(){var e,t=_0x122652;return null!==(e=this[t(137)](WTStorageKeys[t(165)]))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(165)],e[t(151)]())}get inactiveTime(){var e=_0x122652;return this[e(137)](WTStorageKeys[e(163)])}set[_0x122652(111)](e){var t=_0x122652;null!==e?localStorage[t(143)](WTStorageKeys[t(163)],e.toString()):localStorage[t(138)](WTStorageKeys[t(163)])}get[_0x122652(166)](){return this[_0x122652(137)](WTStorageKeys.INACTIVE_TIME)}set[_0x122652(166)](e){var t=_0x122652;null!==e?localStorage[t(143)](WTStorageKeys[t(156)],e[t(151)]()):localStorage[t(138)](WTStorageKeys[t(156)])}get[_0x122652(169)](){var e;return null!==(e=this[_0x122652(140)](WTStorageKeys.REQUEST_QUEUE))&&void 0!==e?e:[]}set[_0x122652(169)](e){var t=_0x122652;this[t(125)](WTStorageKeys[t(149)],e)}get pendingRequestRecords(){var e,t=_0x122652;return null!==(e=this[t(140)](WTStorageKeys[t(153)]))&&void 0!==e?e:[]}set[_0x122652(157)](e){var t=_0x122652;this.setJson(WTStorageKeys[t(153)],e)}get eventCount(){var e,t=_0x122652;return null!==(e=this.optionalNumber(WTStorageKeys[t(161)]))&&void 0!==e?e:0}set eventCount(e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(161)],e.toString())}get sdkEnvironment(){var e=_0x122652;return localStorage[e(154)](WTStorageKeys[e(150)])}set[_0x122652(103)](e){var t=_0x122652;localStorage[t(143)](WTStorageKeys[t(150)],e)}get[_0x122652(167)](){var e,t=_0x122652;return null!==(e=localStorage[t(154)](WTStorageKeys[t(112)]))&&void 0!==e?e:WTConstants[t(147)].VERSION}set[_0x122652(167)](e){var t=_0x122652;e?localStorage.setItem(WTStorageKeys.SDK_VERSION,e):localStorage[t(138)](WTStorageKeys[t(112)])}}const storageManager=new StorageManager,_0x10582c=_0x38d0;function _0x38d0(e,t){const r=_0x3e67();return(_0x38d0=function(e,t){return r[e-=492]})(e,t)}!function(){const e=_0x38d0,t=_0x3e67();for(;;)try{if(981705===-parseInt(e(507))/1+-parseInt(e(495))/2+parseInt(e(503))/3*(-parseInt(e(510))/4)+parseInt(e(504))/5*(parseInt(e(499))/6)+parseInt(e(505))/7+-parseInt(e(493))/8+parseInt(e(496))/9*(parseInt(e(497))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x10582c(498)](e){const t=_0x10582c;try{const r=atob(e);let i="";for(let e=0;e<r[t(494)];e++){const n=90^r.charCodeAt(e);i+=String[t(506)](n)}return i}catch(e){return console[t(501)](t(513),e),""}}static get[_0x10582c(502)](){const e=_0x10582c;return this[e(498)](e(512))}static get DEBUG_BASE_URL(){const e=_0x10582c;return this[e(498)](e(511))}static get[_0x10582c(500)](){const e=_0x10582c;return this[e(498)](e(492))}static get[_0x10582c(509)](){const e=_0x10582c;return this.decode(e(508))}}function _0x3e67(){const e=["error","CONFIG_PATH","8634BnJQxp","18010Mknbza","13517028xbKNyn","fromCharCode","1752607zgvUiW","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","PRODUCTION_BASE_URL","1952rDDvsC","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","dTsqM3U9Py53OTU0PDM9","Decode error:","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","6423680xKcxah","length","1038854HzwTex","4938939KgiwMK","30kIkABZ","decode","3138cOWSTy","STAGE_BASE_URL"];return(_0x3e67=function(){return e})()}const _0x37ba05=_0x2e67;function _0x2e67(e,t){const r=_0x462e();return(_0x2e67=function(e,t){return r[e-=327]})(e,t)}!function(){const e=_0x2e67,t=_0x462e();for(;;)try{if(129775===-parseInt(e(340))/1+-parseInt(e(345))/2*(-parseInt(e(346))/3)+parseInt(e(348))/4*(parseInt(e(333))/5)+parseInt(e(338))/6+parseInt(e(335))/7+-parseInt(e(339))/8*(-parseInt(e(330))/9)+parseInt(e(343))/10*(-parseInt(e(332))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x37ba05(327),PRODUCTION:_0x37ba05(342)},WTSDKEnvironment={DEBUG:"debug",STAGE:_0x37ba05(347),PRODUCTION:_0x37ba05(342)},EnvironmentUtils={get sdkEnvironment(){const e=_0x37ba05;var t;return null!==(t=storageManager[e(334)])&&void 0!==t?t:WTConstants[e(331)][e(329)]},get needResponseDetails(){const e=_0x37ba05;return this[e(334)]!==WTSDKEnvironment[e(337)]},get baseUrl(){const e=_0x37ba05;switch(this[e(334)]){case WTSDKEnvironment[e(344)]:return SecureConfig[e(341)];case WTSDKEnvironment.STAGE:return SecureConfig[e(336)];case WTSDKEnvironment[e(337)]:return SecureConfig[e(328)];default:throw new Error("Unknown environment: "+this[e(334)])}}};function _0x462e(){const e=["52290fWMVEx","DEBUG","71340EytUtA","15lwzgUo","stage","4628LosisX","sandbox","PRODUCTION_BASE_URL","DEFAULT_ENVIRONMENT","441vlcFUF","CONFIG","1353ceaqNL","1110cemEhJ","sdkEnvironment","1313438JpxSFg","STAGE_BASE_URL","PRODUCTION","1197564wSFQqT","34168PUWGyd","258769PcaKkw","DEBUG_BASE_URL","production"];return(_0x462e=function(){return e})()}var _0x58bc7a=_0x22cd;function _0x22cd(e,t){var r=_0x47dd();return(_0x22cd=function(e,t){return r[e-=318]})(e,t)}function _0x47dd(){var e=["3090210BaHgOT","sdkVersion","12118942wQwoxZ","18vosgKb","4jcXCBP","561145jPRZgo","1426008tJnKOa","1qlwUdm","sdkEnvironment","258138PLFBXK","451794QmCBVv","5521686NBMwyn","7OhTBNd"];return(_0x47dd=function(){return e})()}!function(){for(var e=_0x22cd,t=_0x47dd();;)try{if(525856===parseInt(e(323))/1*(parseInt(e(325))/2)+parseInt(e(326))/3+-parseInt(e(320))/4*(-parseInt(e(321))/5)+parseInt(e(327))/6*(-parseInt(e(328))/7)+parseInt(e(322))/8*(-parseInt(e(319))/9)+parseInt(e(329))/10+parseInt(e(318))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x58bc7a(324)](e){var t=_0x58bc7a;try{storageManager[t(324)]=e}catch(e){}}static[_0x58bc7a(330)](e){var t=_0x58bc7a;try{storageManager[t(330)]=e}catch(e){}}}function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function o(e){try{c(i.next(e))}catch(e){s(e)}}function a(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((i=i.apply(e,t||[])).next())})}function _0xd608(e,t){const r=_0x88e2();return(_0xd608=function(e,t){return r[e-=340]})(e,t)}"function"==typeof SuppressedError&&SuppressedError;const _0x53eafd=_0xd608;function _0x88e2(){const e=["9RIJVRQ","8070858xEdRDo","595392WssYHy","21184128waJZXw","5978780dZTKDV","4685992quTIGP","/api/v1/sdk_infos","/api/v1/sessions","8552614utCdGb","/api/v1/app_settings","1152324lIGUFo"];return(_0x88e2=function(){return e})()}!function(){const e=_0xd608,t=_0x88e2();for(;;)try{if(750203===-parseInt(e(350))/1+parseInt(e(342))/2*(-parseInt(e(340))/3)+-parseInt(e(345))/4+parseInt(e(344))/5+parseInt(e(341))/6+-parseInt(e(348))/7+parseInt(e(343))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:"/api/v1/events",SESSIONS:_0x53eafd(347),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:_0x53eafd(346),ATTRIBUTIONS:"/api/v1/attributions",APP_SETTINGS:_0x53eafd(349)};var ApiError,_0x597cee=_0x259f;function _0x259f(e,t){var r=_0x521f();return(_0x259f=function(e,t){return r[e-=165]})(e,t)}function _0x521f(){var e=["EVENTS","SUBSESSION_INTERVAL","2cZCBKo","session_interval","3624724LFgXqi","attributions","2691189Eoduzm","events","sdk_update","3483680PfdOGQ","sessionInterval","1549818yvPoqR","30xZcRko","778126OYLXCJ","sdk_infos","SESSION_INTERVAL","subsession_interval","defaultValue","24GHsSbx","1623706ofNlOR","sdkEnabled","sdk_clicks","DEFAULTS","sdkInfos","sessions","3987360SoxNVX"];return(_0x521f=function(){return e})()}!function(){for(var e=_0x259f,t=_0x521f();;)try{if(519726===parseInt(e(188))/1+parseInt(e(177))/2*(-parseInt(e(186))/3)+-parseInt(e(179))/4+parseInt(e(184))/5+-parseInt(e(167))/6*(parseInt(e(168))/7)+parseInt(e(174))/8+-parseInt(e(181))/9*(-parseInt(e(187))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,i,n,s=!0,o=!1,a=WTConstants[_0x597cee(171)][_0x597cee(190)],c=WTConstants[_0x597cee(171)].SUBSESSION_INTERVAL){var u=_0x597cee;this[u(182)]=e,this[u(173)]=t,this.sdkClicks=r,this[u(172)]=i,this[u(180)]=n,this[u(169)]=s,this.sdkUpdate=o,this[u(185)]=a,this.subsessionInterval=c}static fromJson(e){var t,r,i,n,s=_0x597cee;return new WTConfig(e[s(182)],e[s(173)],e[s(170)],e[s(189)],e[s(180)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(183)])&&void 0!==r&&r,null!==(i=e[s(178)])&&void 0!==i?i:WTConstants[s(171)].SESSION_INTERVAL,null!==(n=e[s(165)])&&void 0!==n?n:WTConstants[s(171)][s(176)])}static get[_0x597cee(166)](){var e=_0x597cee;return new WTConfig(WTEndpoints[e(175)],WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints.SDK_INFOS,WTEndpoints.ATTRIBUTIONS,!0,!1,WTConstants.DEFAULTS.SESSION_INTERVAL,WTConstants[e(171)][e(176)])}}function _0x4dcc(e,t){var r=_0x3ec1();return(_0x4dcc=function(e,t){return r[e-=237]})(e,t)}function _0x3ec1(){var e=["4344EBHwlk","InvalidUrl","43050xHlVwR","569579YfzCts","NetworkError: ","106104EKNAum","name","156zqbmTQ","NetworkFailure","277725aQrptC","NetworkError","statusCode","1792700NPGSJq","DecodingError","267gZqwPw","14940iFbrqk","ServerError ","ServerError","13302xvOmTb"];return(_0x3ec1=function(){return e})()}!function(){for(var e=_0x4dcc,t=_0x3ec1();;)try{if(595297===parseInt(e(240))/1+parseInt(e(242))/2+-parseInt(e(251))/3*(-parseInt(e(252))/4)+parseInt(e(239))/5*(parseInt(e(244))/6)+parseInt(e(246))/7+-parseInt(e(237))/8*(parseInt(e(255))/9)+parseInt(e(249))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x4dcc;class r extends Error{constructor(e){var t=_0x4dcc;super("Invalid URL: "+e),this.name=t(238)}}e.InvalidUrl=r;class i extends Error{constructor(e,t){var r=_0x4dcc;super(r(253)+e+": "+t),this[r(248)]=e,this.message=t,this[r(243)]=r(254)}}e[t(254)]=i;class n extends Error{constructor(e){var r=t;super(r(241)+e),this[r(243)]=r(245)}}e[t(247)]=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this.name=r(250)}}e[t(250)]=s}(ApiError||(ApiError={}));var _0x235566=_0x42e9;function _0x2a4c(){var e=["maxRetries","6766740twHcSS","701248fGRyOM","2497284cXcLrY","6748740JQjxhu","retryInterval","3101760tIMvPW","20596104OQJRoN","49bKxFqX","191767XbmVPG","6cjNxCa","canRetry"];return(_0x2a4c=function(){return e})()}function _0x42e9(e,t){var r=_0x2a4c();return(_0x42e9=function(e,t){return r[e-=415]})(e,t)}!function(){for(var e=_0x42e9,t=_0x2a4c();;)try{if(736863===-parseInt(e(416))/1*(-parseInt(e(417))/2)+parseInt(e(422))/3+parseInt(e(425))/4+parseInt(e(420))/5+-parseInt(e(423))/6+-parseInt(e(415))/7*(-parseInt(e(421))/8)+-parseInt(e(426))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x42e9;this[r(419)]=e,this[r(424)]=t}[_0x235566(418)](e){return e<this[_0x235566(419)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x42e9;return new Promise(t=>setTimeout(t,this[e(424)]))})}}function _0x23d5(){const e=["994818UlkgHY","InvalidUrl","DecodingError","210ClNJMV","241453eMdzdW","3565212vdeHCK","headers","error","Error executing request","6gYKHFV","-- PARAMETERS =>",") => ","text","Content-Type","status","Request successful","5937912hAqmTW","Server error","json","debug","ServerError","1988445SZYdvJ","✅ API SUCCESS (",") =>","canRetry","waitBeforeRetry","assign","warn","NetworkError","cors","application/json","no-store, no-cache, must-revalidate, proxy-revalidate","959siPrjg","sendRequest","28AMGBgy","retryPolicy","params","retryAttempt","12657jufeUo","no-cache","method","❌ API ERROR (","328JZoqNn","baseUrl","message"];return(_0x23d5=function(){return e})()}function _0x2cce(e,t){const r=_0x23d5();return(_0x2cce=function(e,t){return r[e-=166]})(e,t)}!function(){const e=_0x2cce,t=_0x23d5();for(;;)try{if(500736===-parseInt(e(173))/1*(-parseInt(e(178))/2)+-parseInt(e(207))/3*(-parseInt(e(203))/4)+parseInt(e(190))/5+parseInt(e(174))/6+-parseInt(e(201))/7*(parseInt(e(166))/8)+parseInt(e(185))/9+parseInt(e(172))/10*(-parseInt(e(169))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x2cce,i=t[r(206)]||1;let n,s;try{n=new URL(e,EnvironmentUtils[r(167)])}catch(t){throw console.error("Invalid URL:",t),new(ApiError[r(170)])(""+EnvironmentUtils[r(167)]+e)}WTLogger[r(188)]("🚀 REQUEST ("+i+r(180)+t[r(209)]+" "+e),WTLogger[r(188)](r(179),t[r(205)]||{});const o=Object[r(195)]({Accept:"application/json","Cache-Control":r(200),Pragma:r(208),Expires:"0"},t[r(175)]);t[r(205)]&&(o[r(182)]=r(199),s=JSON.stringify(t[r(205)]));try{const e=yield fetch(n,{method:t[r(209)],headers:o,body:s,cache:"no-store",mode:r(198),keepalive:!0});if(!e.ok){let t=yield e[r(187)](),i=t[r(168)]||(yield e[r(181)]());throw WTLogger[r(196)](r(210)+e.status+r(192),i),new(ApiError[r(189)])(e[r(183)],t[r(168)]||r(186))}try{const t=yield e[r(187)]();return WTLogger[r(188)](r(191)+e[r(183)]+r(192),t[r(168)]||r(184)),t}catch(e){throw new(ApiError[r(171)])(e.message||String(e))}}catch(n){if(n instanceof ApiError[r(189)]||n instanceof ApiError[r(171)])throw n;if(WTLogger[r(176)](r(177),n),this.retryPolicy()[r(193)](i))return yield this[r(204)]()[r(194)](),this[r(202)](e,Object[r(195)](Object[r(195)]({},t),{retryAttempt:i+1}));throw new(ApiError[r(197)])(n.message||"Unknown error")}})}};function _0x304b(){const e=["hostname","12580kqjZBB","location","2926zZYonk","POST","1372140MrVzLN","3877vJQmWf","11705071bCvkkq","2736qbdepp","appFrameWork","4770IWTPlm","sendRequest","109146JdRFtZ","SDK","278pLtMHZ","185cFqDxA","toISOString","initialConfig","result","PLATFORM","6858396fAGvvE","appToken"];return(_0x304b=function(){return e})()}function _0x527b(e,t){const r=_0x304b();return(_0x527b=function(e,t){return r[e-=261]})(e,t)}!function(){const e=_0x527b,t=_0x304b();for(;;)try{if(950404===-parseInt(e(279))/1*(-parseInt(e(265))/2)+-parseInt(e(278))/3+parseInt(e(271))/4+parseInt(e(266))/5*(parseInt(e(263))/6)+-parseInt(e(280))/7+-parseInt(e(281))/8*(parseInt(e(261))/9)+parseInt(e(274))/10*(parseInt(e(276))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x527b,t=storageManager[e(268)];if(!t)throw"Initial Config is not set";const r={parameters:{app_token:t[e(272)],app_version:t.appVersion,framework:t[e(282)],package_name:window[e(275)][e(273)],platform:WTConstants[e(264)][e(270)],sdk_version:storageManager.sdkVersion,initiated_by:WTConstants[e(264)][e(270)]+"_"+t.appFrameWork,store_name:"other"}},i=yield networkManager[e(262)](SecureConfig.CONFIG_PATH,{method:e(277),params:r});return WTConfig.fromJson(i[e(269)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x527b;t.sdk_updated_at=(new Date)[r(267)]();return(yield networkManager[r(262)](e,{method:r(277),params:{needs_response_details:EnvironmentUtils.needResponseDetails,parameters:t}})).success})}};function _0xc4ff(e,t){const r=_0x4751();return(_0xc4ff=function(e,t){return r[e-=257]})(e,t)}function _0x4751(){const e=["23430oKTvni","tickerDelay","inactiveDuration","tickerJob","activeDuration","1927332hhvrxE","start","stop","5918016IqQCMF","60446yQlMDe","activeTime","isPaused","590034nhQYVA","ActivityTicker: active duration= ","now","pause","9tDwEqE","679hWdUcL","hasFocus","hidden","4638735FobaDH","2763KxnIpw","4130fnOmeG","s, inactive duration= "];return(_0x4751=function(){return e})()}const _0x492f78=_0xc4ff;!function(){const e=_0xc4ff,t=_0x4751();for(;;)try{if(493163===parseInt(e(263))/1*(parseInt(e(280))/2)+-parseInt(e(259))/3+parseInt(e(276))/4+parseInt(e(267))/5+parseInt(e(271))/6*(-parseInt(e(264))/7)+-parseInt(e(279))/8+parseInt(e(268))/9*(parseInt(e(269))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0xc4ff;this[e(272)]=1e3,this[e(258)]=!1}[_0x492f78(277)](){const e=_0x492f78;this.tickerJob&&clearInterval(this[e(274)]),this[e(274)]=setInterval(()=>{const t=e;this[t(258)]||document[t(266)]||document[t(265)]()&&(console.log(t(260)+storageManager[t(275)]/1e3+t(270)+storageManager[t(273)]/1e3+"s"),storageManager[t(257)]=Date[t(261)](),storageManager[t(275)]+=this[t(272)])},this[e(272)])}[_0x492f78(278)](){clearInterval(this[_0x492f78(274)]),this.tickerJob=void 0}[_0x492f78(262)](){this[_0x492f78(258)]=!0}resume(){this.isPaused=!1}}const activityTicker=new ActivityTicker,_0x41092a=_0x34aa;function _0x34aa(e,t){const r=_0x2199();return(_0x34aa=function(e,t){return r[e-=360]})(e,t)}function _0x2199(){const e=["finally","abort","295320NgwVBA","7XCITxa","signal","88kFyaKQ","country.is failed","json","1071kNMzLR","78WmTvcE","6PJDsvE","tryAllEndpoints","1gXMsLj","4096808ypKjzw","35570YpwsMV","171XmuQUE","34168RRgnxZ","https://free.freeipapi.com/api/json","getCountryCode","2501485dUAdaH","fetchWithTimeout","393592Fdzlxj","_country","country","1371132rebroh","ipwho.is failed"];return(_0x2199=function(){return e})()}!function(){const e=_0x34aa,t=_0x2199();for(;;)try{if(269367===-parseInt(e(379))/1*(parseInt(e(362))/2)+parseInt(e(382))/3*(parseInt(e(383))/4)+parseInt(e(360))/5*(-parseInt(e(377))/6)+-parseInt(e(370))/7*(-parseInt(e(380))/8)+parseInt(e(375))/9*(-parseInt(e(381))/10)+parseInt(e(372))/11*(-parseInt(e(369))/12)+parseInt(e(376))/13*(parseInt(e(365))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x34aa(363)]=null}[_0x41092a(385)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x34aa;return!this._country&&(this[e(363)]=yield this[e(378)]()),this[e(363)]})}[_0x41092a(378)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this.fetchWithTimeout("https://api.country.is");if(!t.ok)throw new Error("country.is failed");return(yield t.json())[e(364)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this[e(361)](e(384));if(!t.ok)throw new Error(e(373));return(yield t.json()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x34aa,t=yield this[e(361)]("https://ipwho.is/");if(!t.ok)throw new Error(e(366));return(yield t[e(374)]()).country_code||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x41092a(361)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x34aa,i=new AbortController,n=setTimeout(()=>i[r(368)](),t);return fetch(e,{signal:i[r(371)]})[r(367)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x1b11(e,t){const r=_0x53d2();return(_0x1b11=function(e,t){return r[e-=224]})(e,t)}!function(){const e=_0x1b11,t=_0x53d2();for(;;)try{if(339175===parseInt(e(225))/1*(parseInt(e(232))/2)+parseInt(e(227))/3*(-parseInt(e(228))/4)+-parseInt(e(226))/5+parseInt(e(235))/6*(-parseInt(e(224))/7)+parseInt(e(230))/8*(parseInt(e(234))/9)+-parseInt(e(236))/10*(-parseInt(e(229))/11)+parseInt(e(233))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x1b11(231)]()};function _0x53d2(){const e=["3799092BPyJdZ","120SwYzIo","randomUUID","10806fFQNgb","4437804ZFsohm","251973WROWVT","42006Hsjici","10dpFWLU","112ePQjIU","3lOzpIw","1733920FoPgvw","4863CShWCm","872bvXSjr"];return(_0x53d2=function(){return e})()}function _0x15c6(){const e=["shift","maxRetries","retryCount","48JqysoG","randomUUID","435MjnDhw","waitingQueue","16818vuZvZz","push","1524176MYrcZk","parameters","locked","endpoint","9wZRdAb","31054VjbXjj","2926455YpuHgZ","createdAt","3125832uBnvBq","2168530RkeAly","842437qWWypM"];return(_0x15c6=function(){return e})()}!function(){const e=_0x14e4,t=_0x15c6();for(;;)try{if(442004===-parseInt(e(355))/1+-parseInt(e(370))/2*(-parseInt(e(359))/3)+parseInt(e(353))/4+-parseInt(e(361))/5*(-parseInt(e(363))/6)+parseInt(e(371))/7+-parseInt(e(365))/8*(parseInt(e(369))/9)+-parseInt(e(354))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x14e4;this[r(358)]=0,this[r(357)]=3,this.id=crypto[r(360)](),this[r(368)]=e,this[r(366)]=t,this[r(352)]=Date.now()}}function _0x14e4(e,t){const r=_0x15c6();return(_0x14e4=function(e,t){return r[e-=352]})(e,t)}class Mutex{constructor(){const e=_0x14e4;this[e(367)]=!1,this[e(362)]=[]}acquire(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x14e4;this[t(367)]?this[t(362)][t(364)](e):(this.locked=!0,e())})})}release(){const e=_0x14e4;if(this[e(362)].length>0){this[e(362)][e(356)]()()}else this[e(367)]=!1}}function _0x21b6(){const e=["SDK_INFOS","failedRequestDelay","isInitialized","processPendingQueue","Queue Manager is not initialized. Call initialize() first.","BACKOFF_MULTIPLIER","calculateBackoffDelay","initialize","getMainRequestsSentFlag","now","processingInterval","length","processQueues","20FYEQXn"," failed with error after ","PROCESSING_INTERVAL_MS","endpoint","getQueueStatus","❌ Request ","resetBackoffDelay","SESSIONS","requestRecords","3vXMjzg","1649007jKNWpa","⚠️ Request ","activeDuration","Error sending request ","subSessionCount","pendingRequestRecords","BASE_DELAY_MS","debug","error","sdkClickSubmit","saveMainQueue","addRequest","parameters"," failed. Retry ","shift","⏳ Request ","mutex","processMainQueue","MAX_DELAY_MS","push","23376iJuMhO","2137037SPRvrm","sendRequest","pow","SDK_CLICKS","getBackoffConfig","shutdown","acquire"," attempts. "," failed after ","1372800POlcwM","release","getPendingQueue","596726sZkvou","505aTbEei","getMainQueue","14502sxVsGQ","warn","postRequestCheck","firstSessionSubmit","Error in processing loop:","isCurrentlyProcessing","Applying backoff delay of ","isProcessing"," failed","): id=","fcmToken","🔄 Backoff delay manually reset","maxRetries","retryCount","💥 Sending request (","startProcessing","19899NrGsfW","stopProcessing","min"];return(_0x21b6=function(){return e})()}const _0x2e8595=_0x285b;function _0x285b(e,t){const r=_0x21b6();return(_0x285b=function(e,t){return r[e-=203]})(e,t)}!function(){const e=_0x285b,t=_0x21b6();for(;;)try{if(164454===-parseInt(e(263))/1+-parseInt(e(244))/2+-parseInt(e(210))/3*(-parseInt(e(231))/4)+-parseInt(e(245))/5*(-parseInt(e(247))/6)+-parseInt(e(232))/7+parseInt(e(241))/8+-parseInt(e(211))/9*(-parseInt(e(279))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x285b;this[e(268)]=!1,this.isProcessing=!1,this[e(252)]=!1,this.mutex=new Mutex,this[e(276)]=null,this[e(203)]=100,this[e(267)]=0,this.MAX_DELAY_MS=3e4,this[e(271)]=2,this[e(217)]=1e3}[_0x2e8595(273)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;this[e(268)]=!0,!this[e(254)]&&(yield this[e(262)]())})}[_0x2e8595(237)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;this[e(268)]&&(yield this.stopProcessing(),this[e(268)]=!1)})}startProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(this[e(268)]){yield this[e(227)][e(238)]();try{if(this.isProcessing)return;this[e(254)]=!0,this[e(276)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(278)]()}catch(e){WTLogger.error(t(251),e)}}),this[e(203)])}finally{this.mutex[e(242)]()}yield this[e(278)]()}else WTLogger.warn(e(270))})}[_0x2e8595(264)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;yield this[e(227)][e(238)]();try{this[e(254)]=!1,this[e(276)]&&(clearInterval(this[e(276)]),this.processingInterval=null)}finally{this.mutex.release()}})}[_0x2e8595(222)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x285b;yield this[t(227)][t(238)]();try{const r=this[t(246)]();if(r[t(230)](e),this[t(221)](r),this[t(267)]=0,!this[t(254)])return this[t(227)][t(242)](),void(yield this[t(262)]())}finally{this.isProcessing&&this[t(227)][t(242)]()}})}addPendingRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x285b;yield this[t(227)][t(238)]();try{if(this.getMainRequestsSentFlag()){const r=this[t(246)]();r.push(e),this[t(221)](r)}else{const r=this[t(243)]();r[t(230)](e),this.savePendingQueue(r)}if(this[t(267)]=0,!this[t(254)])return this[t(227)][t(242)](),void(yield this[t(262)]())}finally{this.isProcessing&&this.mutex[t(242)]()}})}[_0x2e8595(278)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(this[e(254)]&&!this[e(252)]){if(this[e(267)]>0){if(Date[e(275)]()<this.failedRequestDelay)return;this.failedRequestDelay=0,WTLogger.debug("⏰ Backoff delay ended, resuming queue processing")}this[e(252)]=!0,yield this.mutex[e(238)]();try{yield this.processMainQueue(),yield this.processPendingQueue()}finally{this[e(227)][e(242)](),this.isCurrentlyProcessing=!1}}})}[_0x2e8595(228)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b,t=this.getMainQueue();if(0===t[e(277)])return;const r=t[0];try{if(yield this[e(233)](r))t[e(225)](),this[e(221)](t),this[e(249)](r);else{if(t[0][e(260)]++,t[0].retryCount>=t[0].maxRetries){const i=this[e(272)](t[0][e(260)]);this[e(267)]=Date.now()+i,WTLogger.warn(e(226)+r.id+e(240)+r[e(259)]+e(239)+(e(253)+i+"ms"))}else WTLogger[e(248)](e(212)+r.id+e(224)+t[0][e(260)]+"/"+t[0].maxRetries);this[e(221)](t)}}catch(i){if(WTLogger.error(e(214)+r[e(204)]+":",i),t[0][e(260)]++,t[0][e(260)]>=t[0][e(259)]){const i=this.calculateBackoffDelay(t[0][e(260)]);this[e(267)]=Date[e(275)]()+i,WTLogger.warn(e(226)+r.id+e(280)+t[0][e(259)]+e(239)+(e(253)+i+"ms"))}this[e(221)](t)}})}calculateBackoffDelay(e){const t=_0x2e8595,r=this[t(217)]*Math[t(234)](this[t(271)],e-1);return Math[t(265)](r,this[t(229)])}[_0x2e8595(269)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x285b;if(!this[e(274)]())return;const t=this[e(243)]();if(0===t[e(277)])return;const r=this[e(246)]();r[e(230)](...t),this[e(221)](r),this.savePendingQueue([])})}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x285b;WTLogger[r(218)](r(261)+e[r(204)]+r(256)+e.id);let i=!1;try{i=yield apiClient.doCallRequest(e[r(204)],e[r(223)])}catch(t){WTLogger[r(219)](r(206)+e[r(204)]+r(255),t)}return i})}[_0x2e8595(246)](){return storageManager[_0x2e8595(209)]}saveMainQueue(e){storageManager.requestRecords=e}getPendingQueue(){return storageManager[_0x2e8595(216)]}savePendingQueue(e){storageManager[_0x2e8595(216)]=e}[_0x2e8595(274)](){return storageManager.sdkClickSubmit}[_0x2e8595(249)](e){const t=_0x2e8595;switch(e[t(204)]){case WTEndpoints[t(235)]:storageManager[t(220)]=!0;break;case WTEndpoints[t(208)]:storageManager[t(250)]?(storageManager[t(213)]=0,storageManager.inactiveDuration=0,storageManager[t(215)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(266)]:storageManager[t(257)]=e[t(223)].push_token}}[_0x2e8595(205)](){const e=_0x2e8595;return{mainQueueLength:this[e(246)]()[e(277)],pendingQueueLength:this.getPendingQueue()[e(277)],isProcessing:this.isProcessing,mainRequestsSent:this[e(274)](),isInBackoffDelay:this[e(267)]>0&&Date[e(275)]()<this[e(267)],backoffEndsAt:this[e(267)]>0?this[e(267)]:null}}[_0x2e8595(207)](){const e=_0x2e8595;this[e(267)]=0,WTLogger[e(218)](e(258))}[_0x2e8595(236)](){const e=_0x2e8595;return{baseDelayMs:this[e(217)],multiplier:this[e(271)],maxDelayMs:this.MAX_DELAY_MS}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var i=new r;return e(i),i}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,i){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,h=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",h("browser")).set("cpu",h("cpu")).set("device",h("device")).set("engine",h("engine")).set("os",h("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if("object"==typeof e?(isExtensions(e,!0)?("object"==typeof t&&(r=t),t=e):(r=e,t=void 0),e=void 0):"string"!=typeof e||isExtensions(t,!0)||(r=t,t=void 0),r&&"function"==typeof r.append){var i={};r.forEach(function(e,t){i[t]=e}),r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var n="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),o=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var o in e)r[o]=i[o]&&i[o].length%2==0?i[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,n,o,s).set("ua",n).set("browser",this.getBrowser()).set("cpu",this.getCPU()).set("device",this.getDevice()).set("engine",this.getEngine()).set("os",this.getOS()).get()}:function(){return new UAItem(e,n,o[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",a("browser")],["getCPU",a("cpu")],["getDevice",a("device")],["getEngine",a("engine")],["getOS",a("os")],["getResult",a("result")],["getUA",function(){return n}],["setUA",function(e){return isString(e)&&(n=e.length>500?trim(e,500):e),this}]]).setUA(n),this}UAParser.VERSION="2.0.4",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x25c42b=_0x3eef;function _0x4b1d(){const e=["type","pow","screenDensity","embedded","3833361JVEnwu","width","40mauFrn","maxTouchPoints","130991psIdkq","desktop","mobile","125000Doenst","540912qEYoPC","includes","console","283942zAOKth","cpu","browser","matchMedia","hbbtv","large","android auto","xbox","smarttv","getResult","7937694SJYbKt","ontouchstart","smart-tv","small","normal","uiMode","touch","sqrt","engine","pointer","16123896ZibzxO","carplay","watch","innerWidth","matches","getDeviceInfo","xlarge","googletv","displaySize","long","devicePixelRatio","device","uiStyle","wearable","7OSPjMU","toLowerCase","height","playstation","netcast","vive"];return(_0x4b1d=function(){return e})()}function _0x3eef(e,t){const r=_0x4b1d();return(_0x3eef=function(e,t){return r[e-=292]})(e,t)}!function(){const e=_0x3eef,t=_0x4b1d();for(;;)try{if(685922===-parseInt(e(301))/1*(parseInt(e(322))/2)+parseInt(e(311))/3+-parseInt(e(319))/4+-parseInt(e(318))/5+-parseInt(e(332))/6+-parseInt(e(315))/7*(-parseInt(e(313))/8)+parseInt(e(342))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x25c42b(292)](){const e=_0x25c42b,t=(new UAParser)[e(331)]();return{browser:t[e(324)],os:t.os,device:t[e(298)],engine:t[e(340)],cpu:t[e(323)],ua:t.ua}}get[_0x25c42b(309)](){const e=_0x25c42b;return window.devicePixelRatio>=3?"high":window[e(297)]>=2?"medium":"low"}get screenFormat(){const e=_0x25c42b;return window.innerHeight>window[e(345)]?e(296):e(336)}get screenSize(){const e=_0x25c42b,t=window[e(345)];return e(t<480?335:t<768?336:t<1440?327:293)}get[_0x25c42b(337)](){const e=_0x25c42b;var t,r,i;const n=this[e(292)](),s=(null===(t=n[e(298)])||void 0===t?void 0:t[e(307)])||"",o=(null===(i=null===(r=n[e(298)])||void 0===r?void 0:r.model)||void 0===i?void 0:i[e(302)]())||"",a=n.ua[e(302)]();return s===e(300)||o[e(320)](e(344))?6:s===e(330)||a[e(320)](e(334))||a.includes(e(326))||a[e(320)](e(305))||a[e(320)](e(294))||a[e(320)]("appletv")?4:s===e(321)||a[e(320)](e(304))||a[e(320)](e(329))||a[e(320)]("nintendo")?5:a[e(320)]("car")||a[e(320)](e(328))||a[e(320)](e(343))?3:a[e(320)]("oculus")||a.includes(e(306))||a.includes("vr")||s===e(310)?7:s===e(317)||"tablet"===s?1:""===s||s===e(316)?2:0}get[_0x25c42b(299)](){const e=_0x25c42b;return window[e(325)]&&window.matchMedia("(prefers-color-scheme: dark)")[e(346)]?"1":"0"}get[_0x25c42b(295)](){const e=_0x25c42b,t=window[e(297)]||1,r=screen[e(312)]*t/160,i=screen[e(303)]*t/160;return Math[e(339)](Math[e(308)](r,2)+Math.pow(i,2)).toFixed(2)}get screenType(){const e=_0x25c42b;return e(333)in window||navigator[e(314)]>0?e(338):e(341)}}const deviceDetector=new DeviceDetector;function _0x5ad9(e,t){const r=_0x39b0();return(_0x5ad9=function(e,t){return r[e-=245]})(e,t)}const _0x49c2d5=_0x5ad9;!function(){const e=_0x5ad9,t=_0x39b0();for(;;)try{if(391191===-parseInt(e(251))/1+-parseInt(e(250))/2*(-parseInt(e(267))/3)+parseInt(e(247))/4*(parseInt(e(264))/5)+parseInt(e(246))/6+-parseInt(e(261))/7+parseInt(e(260))/8*(-parseInt(e(248))/9)+parseInt(e(259))/10*(-parseInt(e(266))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x5ad9(262)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ad9;if(this[e(262)])return this[e(262)];const t=this[e(245)](),r=this.isSessionStorageSupported(),i=yield this[e(249)]();return this[e(262)]={localStorage:t,sessionStorage:r,indexedDB:i},this[e(262)]})}getStorageSizeBytes(e){const t=_0x5ad9;let r=0;for(let i=0;i<e[t(257)];i++){const n=e.key(i);if(!n)continue;const s=e[t(265)](n);null!=s&&(r+=2*n[t(257)],r+=2*s[t(257)])}return r}isLocalStorageSupported(){const e=_0x5ad9;try{const t="__test__";return localStorage[e(263)](t,"1"),localStorage[e(252)](t),!0}catch(e){return!1}}[_0x49c2d5(256)](){const e=_0x49c2d5;try{const t=e(255);return sessionStorage[e(263)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}[_0x49c2d5(249)](){const e=_0x49c2d5;return e(253)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(254)](r(268));e[r(258)]=()=>t(!1),e.onsuccess=()=>{e[r(269)].close(),indexedDB.deleteDatabase("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise.resolve(!1)}}function _0x39b0(){const e=["10948YnIEBg","27snHRjD","isIndexedDBSupported","1102712ujmxLB","245892HKJkIo","removeItem","indexedDB","open","__test__","isSessionStorageSupported","length","onerror","886510YYONeZ","1467704KfWDaw","3216640fgZMGK","supportResults","setItem","1380zvRSje","getItem","22mncjoH","3pgAvYd","__test__check__","result","isLocalStorageSupported","3105156YcofJz"];return(_0x39b0=function(){return e})()}const storageSupport=new StorageSupport,_0x575888=_0xf470;function _0xf470(e,t){const r=_0x5136();return(_0xf470=function(e,t){return r[e-=444]})(e,t)}!function(){const e=_0xf470,t=_0x5136();for(;;)try{if(525057===parseInt(e(500))/1+-parseInt(e(468))/2+parseInt(e(478))/3*(-parseInt(e(444))/4)+parseInt(e(451))/5+parseInt(e(462))/6+parseInt(e(485))/7*(parseInt(e(464))/8)+parseInt(e(481))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0xf470,t=new URLSearchParams(window.location[e(504)]),r={};for(const[i,n]of t[e(453)]())i[e(477)](e(455))&&n&&(r[i]=n);if(!r[e(471)]){const e=document.referrer;r.utm_source=e?new URL(e).hostname:"other"}return!r[e(503)]&&(r.utm_medium="organic"),Object[e(453)](r)[e(487)](([e,t])=>e+"="+encodeURIComponent(t))[e(448)]("&")}}function _0x5136(){const e=["mix-manifest.json",'script[src*="angular.js"], script[src*="angular.min.js"]',"[ng-version]","417121eGeRbo","innerHTML","scripts","utm_medium","search","keys","/js/app.js","detectWebFramework","805036RLpVic","svelte","__reactContainer","includes","join",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","some","2274400Cspbjx","Backbone.js","entries","Squarespace","utm_","Vue.js","Zepto.js","React","Vue","querySelector","__VUE__","3467742fKbNjJ","Shopify","8tPYpAd","/_nuxt/","Ghost CMS",'meta[name="generator"][content*="WordPress"]',"651166moRDqs","Meteor","script[id=__NEXT_DATA__]","utm_source",'meta[name="generator"][content*="Ghost"]',"/_next/","Drupal",'meta[name="generator"][content*="Drupal"]',"Gatsby.js","startsWith","12aRtQac","Alpine.js","wp-includes","1338867YJppwG","drupal-settings-json","Nuxt.js","Meteor.js","398685uTdVRj","[id=___gatsby]","map","Next.js","Angular","cdn.shopify.com","documentElement","[x-data], [x-init], [x-bind]","Wix","[data-reactroot], [data-reactid]","textContent","src"];return(_0x5136=function(){return e})()}Utils[_0x575888(507)]=()=>{const e=_0x575888;return document[e(460)](e(470))||[...document.scripts][e(450)](t=>t.src.includes(e(473)))?e(488):window[e(458)]||document[e(460)](e(494))||Array.from(document.querySelectorAll("*"))[e(450)](t=>void 0!==t._reactRootContainer||Object[e(505)](t)[e(450)](t=>t[e(477)](e(446))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(458):[...document[e(502)]][e(450)](t=>t[e(496)].includes(e(465)))?e(483):window[e(461)]||window[e(459)]||document[e(460)]("[data-v-app], [data-v-]")?e(456):document[e(460)](e(486))?e(476):window||document.querySelector(e(449))||document[e(460)](e(498))||window.ng||document[e(460)](e(499))?e(489):[...document.scripts][e(450)](t=>{const r=e;var i;return t[r(496)][r(447)](r(445))||(null===(i=t[r(495)])||void 0===i?void 0:i.includes("svelte"))})?"Svelte":document[e(460)](e(492))?e(479):window.jQuery?"jQuery":window.Backbone?e(452):window[e(469)]?e(484):window.Zepto?e(457):document.querySelector(e(467))||[...document[e(502)]][e(450)](t=>t[e(496)][e(447)]("wp-content")||t[e(496)].includes(e(480)))?"WordPress":[...document[e(502)]][e(450)](t=>t.src[e(447)](e(506))||t[e(496)][e(447)](e(497)))?"Laravel":document[e(460)](e(475))||document.documentElement.innerHTML[e(447)](e(482))?e(474):document[e(491)][e(501)][e(447)](e(490))?e(463):[...document[e(502)]][e(450)](t=>t[e(496)][e(447)]("static.squarespace.com"))?e(454):[...document[e(502)]].some(t=>t.src[e(447)]("wix.com"))?e(493):document[e(460)](e(472))?e(466):void 0};const _0x50020f=_0x4ae7;function _0x4ae7(e,t){const r=_0x4fc1();return(_0x4ae7=function(e,t){return r[e-=451]})(e,t)}function _0x4fc1(){const e=["12OmFypq","2rfZODm","VENDOR","stringify","UNMASKED_RENDERER_WEBGL","MAX_RENDERBUFFER_SIZE","876483sRmclx","getParameter","font","fillText","fillRect","experimental-webgl","height","getExtension","UNMASKED_VENDOR_WEBGL","RENDERER","toDataURL","#069","fillStyle","padStart","1967430SwFQRL","5066215ynWddI","2984328MDITMw","getSupportedExtensions","top","renderer","createElement","map","WiseTrack WebGL Fingerprint!","SHA-256","getWebGLFingerprint","SHADING_LANGUAGE_VERSION","#f60","encode","from","digest","webgl","canvas","MAX_TEXTURE_SIZE","6371200FJZDmz","toString","textBaseline","isWebGLSupported","vendor","subtle","14px 'Arial'","881260BqgexA","join","WEBGL_debug_renderer_info","hashData","getContext","2052044ppdycD"];return(_0x4fc1=function(){return e})()}!function(){const e=_0x4ae7,t=_0x4fc1();for(;;)try{if(458813===-parseInt(e(498))/1*(-parseInt(e(491))/2)+-parseInt(e(451))/3+-parseInt(e(496))/4+-parseInt(e(465))/5*(-parseInt(e(497))/6)+parseInt(e(466))/7+-parseInt(e(484))/8+-parseInt(e(467))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x50020f(487)](){const e=_0x50020f;try{const t=document.createElement(e(482));return!(!t.getContext(e(481))&&!t[e(495)](e(456)))}catch(e){return!1}}static[_0x50020f(475)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4ae7,t=document[e(471)](e(482)),r=t[e(495)](e(481))||t.getContext("experimental-webgl");if(!r)return;const i={version:r[e(452)](r.VERSION),shadingLangVersion:r[e(452)](r[e(476)]),maxTextureSize:r[e(452)](r[e(483)]),maxRenderBufferSize:r[e(452)](r[e(502)]),supportedExtensions:r[e(468)]()};try{const t=r[e(458)](e(493));i[e(488)]=t?r[e(452)](t[e(459)]):r[e(452)](r[e(499)])}catch(t){i.vendor=r[e(452)](r[e(499)])}try{const t=r[e(458)]("WEBGL_debug_renderer_info");i.renderer=t?r[e(452)](t[e(501)]):r[e(452)](r[e(460)])}catch(t){i[e(470)]=r[e(452)](r[e(460)])}return yield this.hashData(JSON[e(500)](i))})}static getCanvasFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4ae7,t=document.createElement(e(482));t.width=200,t[e(457)]=50;const r=t.getContext("2d");if(r)return r[e(486)]=e(469),r[e(453)]=e(490),r[e(463)]=e(477),r[e(455)](0,0,200,50),r[e(463)]=e(462),r[e(454)](e(473),2,2),yield this.hashData(t[e(461)]())})}static[_0x50020f(494)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4ae7,r="string"==typeof e?e:JSON[t(500)](e),i=(new TextEncoder)[t(478)](r),n=yield crypto[t(489)][t(480)](t(474),i);return Array[t(479)](new Uint8Array(n))[t(472)](e=>e[t(485)](16)[t(464)](2,"0"))[t(492)]("")})}}const _0x67d40c=_0x2356;function _0x12c8(){const e=["indexedDB","displaySize","SDK","7FOnzlq","now","179678CIxsHI","initialDate","localStorage","195tzWEav","1094916NKkzhL","version","appFrameWork","sdk_requested_at","uiStyle","filter","getSupportResult","getStorageSizeBytes","assign","browser","subSessionCount","pushToken","other","isWebGLSupported","split","deviceId","hardwareConcurrency","architecture","uiMode","getLocalFields","459894HKqIga","toFixed","DEFAULTS","toLowerCase","6vBJfeG","sdkVersion","getDeviceInfo","3348280lWeoSm","device","innerWidth","customDeviceId","location","10DkiJFc","getDeviceFields","performance","entries","screenFormat","24588jihQjl","engine","screenDensity","innerHeight","cpu","PLATFORM","getApplicationFields","type","map","onLine","build","outerHeight","PARAMETERS_VALUE","appToken","initialConfig","model","defaultTracker","language","toISOString","getWebGLFingerprint","fromEntries","toString","1869444fzvfdZ","5309953GjlviI","hostname"];return(_0x12c8=function(){return e})()}!function(){const e=_0x2356,t=_0x12c8();for(;;)try{if(315720===-parseInt(e(519))/1*(-parseInt(e(476))/2)+parseInt(e(523))/3+parseInt(e(489))/4*(-parseInt(e(522))/5)+-parseInt(e(472))/6*(parseInt(e(517))/7)+parseInt(e(479))/8+parseInt(e(511))/9*(-parseInt(e(484))/10)+-parseInt(e(512))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x67d40c(499)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2356,t=window[e(486)].now();let r={};return r[e(526)]=(new Date)[e(507)](),Object[e(460)](r,this[e(471)]()),Object[e(460)](r,yield this[e(495)]()),Object[e(460)](r,this[e(485)]()),r.time_spent=(window.performance[e(518)]()-t)[e(473)](1),WTConstants[e(474)].PARAMETERS_VALUE&&(r=Object[e(509)](Object[e(487)](r)[e(497)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(501)]:r]))),!WTConstants.DEFAULTS[e(501)]&&(r=Object[e(509)](Object[e(487)](r)[e(528)](([e,t])=>null!=t))),r})}[_0x67d40c(495)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2356,t=yield storageSupport[e(529)]();return{connectivity_type:navigator[e(498)]?"1":"-1",country:yield countryFinder.getCountryCode(),package_name:window[e(483)][e(513)],session_storage_enabled:t.sessionStorage,indexed_db_enabled:t[e(514)],local_storage_enabled:t[e(521)],session_storage:storageSupport.getStorageSizeBytes(sessionStorage)[e(473)](0),local_storage:storageSupport[e(459)](localStorage)[e(473)](0),web_gl_support:DeviceFingerprint[e(465)](),web_gl_fingerprint:yield DeviceFingerprint[e(508)](),web_gl_canvas_fingerprint:yield DeviceFingerprint.getCanvasFingerprint()}})}[_0x67d40c(471)](){const e=_0x67d40c,t=storageManager[e(503)];return t?{uuid:storageManager[e(467)],app_token:t[e(502)],environment:t.userEnvironment,store_name:e(464),app_version:t.appVersion,push_token:storageManager[e(463)],custom_device_id:t[e(482)],default_tracker:t[e(505)],platform:WTConstants[e(516)].PLATFORM,framework:t.appFrameWork[e(475)](),initiated_by:WTConstants[e(516)][e(494)]+"_"+t[e(525)][e(475)](),initiated_version:storageManager[e(477)],referrer:Utils.getUTMParamsString(),installed_at:storageManager[e(520)],session_count:storageManager.sessionCount[e(510)](),subsession_count:storageManager[e(462)][e(510)](),session_length:parseInt((storageManager.activeDuration/1e3)[e(510)]())[e(510)](),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(510)]())[e(510)]()}:{}}getDeviceFields(){const e=_0x67d40c,t=deviceDetector[e(478)]();return{browser_version:t[e(461)][e(524)],device_manufacturer:t.device.vendor,device_name:t[e(480)][e(504)],device_type:t[e(480)][e(496)],os_name:t.os.name,os_version:t.os[e(524)],cpu_type:t[e(493)][e(469)],web_user_agent:t.ua,display_height:window[e(492)].toFixed(0),display_width:window[e(481)][e(473)](0),language:navigator[e(506)][e(466)]("-")[0],screen_density:deviceDetector[e(491)],screen_format:deviceDetector[e(488)],screen_size:deviceDetector.screenSize,ui_mode:deviceDetector[e(470)][e(510)](),cpu_lpc:navigator[e(468)].toString(),ui_style:deviceDetector[e(527)],wout_width:window.outerWidth[e(510)](),wout_height:window[e(500)].toString(),web_engine:t[e(490)].name,web_engine_version:t[e(490)][e(524)],display_size:deviceDetector[e(515)],screen_type:deviceDetector.screenType}}}function _0x2356(e,t){const r=_0x12c8();return(_0x2356=function(e,t){return r[e-=459]})(e,t)}const fieldsBuilder=new FieldsBuilder;function _0x3dce(){const e=["46rSApDJ","12NfGKsv","revenue","name","4uQmIPd","build","2519364VieygQ","currency","partner_params","keys","1338970LuiJYe","3047148EASsbZ","16iOZKnk","type","create","6576097CHNRHv","2737994CCPjMM","741633IjDspi","event","19769Zzxxsq","call","20hLsnaw","amount","assign"];return(_0x3dce=function(){return e})()}function _0x21a2(e,t){const r=_0x3dce();return(_0x21a2=function(e,t){return r[e-=103]})(e,t)}!function(){const e=_0x21a2,t=_0x3dce();for(;;)try{if(548063===-parseInt(e(116))/1*(-parseInt(e(121))/2)+parseInt(e(114))/3*(-parseInt(e(125))/4)+parseInt(e(107))/5+-parseInt(e(103))/6+-parseInt(e(113))/7*(parseInt(e(109))/8)+-parseInt(e(108))/9*(-parseInt(e(118))/10)+parseInt(e(112))/11*(parseInt(e(122))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x21a2;super(),this[t(115)]=e}build(){const e=_0x21a2,t=Object[e(111)](null,{build:{get:()=>super[e(126)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(126)][r(117)](this),n={event_type:this[r(115)].type,event_name:this[r(115)][r(124)]};return Object[r(106)](this[r(115)].params).length>0&&(n[r(105)]=this.event.params),this.event[r(110)]===r(123)&&(n[r(123)]=this[r(115)][r(119)],n[r(104)]=this.event[r(104)]),new Promise(e=>{const t=r;e(Object[t(120)](Object[t(120)]({},i),n))})})}}const _0x3bd164=_0x1777;function _0x1777(e,t){const r=_0x2605();return(_0x1777=function(e,t){return r[e-=484]})(e,t)}function _0x2605(){const e=["SDK_CLICKS","pushToken","trackEvent","stop","build","WT Tracker stopped","11WQzTbr","isVisibleFocused","Creating Session: First-Session has already submitted","228450epmCIA","getCountryCode","EVENTS","blur","config","initialDate","shutdown","addRequest","focus","addEventListener","pending"," request to pending queue","deviceId","debug","start","1176tsMmxn","now","visible","sessionCount","checkFirstSession","eventCount","isRunning","toISOString","User was inactived for ","fcmToken","279ruxWMh","3359225PHDcBZ","checkSessionIntervals","This Notification token has sent to server previously","isEnabled","inactiveDuration","sdkClickSubmit","main","Creating Session: SDK is not enabled!","createRequest","addPendingRequest","initialized","initialize","addObservers","Creating Install: SDK is not enabled!","createAttribution","ATTRIBUTIONS","s | (","233006mjUqXY","14644aeiHAh","trackEvent: SDK is not initialized yet","info","stopTracking","2090040FAmuzd","WT Tracker started","generateDeviceUUID","checkPushToken","SESSIONS","getQueueStatus"," request to main queue","sdkEnabled","SDK_INFOS","Creating Install: SDK-Clicks has already submitted","activeTime","3804348RJQeho","visibilityState","subsessionInterval","inactiveTime","Add ","trackEvent: SDK is not enabled","CheckPushToken: SDK is not enabled","checkSdkClicks","s Totaly)","310854KYUYXS","startTracking","warn","setActivityTimes","sessionInterval"];return(_0x2605=function(){return e})()}!function(){const e=_0x1777,t=_0x2605();for(;;)try{if(843933===parseInt(e(487))/1*(-parseInt(e(533))/2)+-parseInt(e(558))/3+parseInt(e(538))/4+parseInt(e(516))/5+parseInt(e(549))/6+-parseInt(e(534))/7*(parseInt(e(505))/8)+parseInt(e(515))/9*(parseInt(e(490))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){this[_0x1777(511)]=!1,this.initialized=!1}get[_0x3bd164(519)](){return storageManager[_0x3bd164(545)]}[_0x3bd164(527)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(491)](),yield this[e(561)](),this.createDeviceID(),this[e(528)](),this[e(526)]=!0})}[_0x3bd164(559)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this.isEnabled?(WTLogger[e(503)](e(539)),yield queueManager[e(527)](),yield this[e(556)](),yield this[e(509)](),yield this.createAttribution(),this[e(511)]=!0):WTLogger[e(560)]("SDK is not enabled to start tracking!")})}[_0x3bd164(537)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(511)]=!1,activityTicker[e(484)](),yield queueManager[e(496)](),WTLogger.debug(e(486))})}[_0x3bd164(541)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1777;storageManager[t(564)]=e,this.isEnabled?this[t(526)]?storageManager[t(514)]!==e?yield this.createRequest({endpoint:WTEndpoints[t(546)],queueType:t(500)}):WTLogger[t(536)](t(518)):WTLogger[t(560)]("CheckPushToken: SDK is not initialized yet"):WTLogger[t(560)](t(555))})}[_0x3bd164(565)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1777;this[t(519)]?this[t(526)]?(storageManager[t(510)]+=1,yield this[t(524)]({endpoint:WTEndpoints[t(492)],fBuilder:new EventFieldsBuilder(e),queueType:t(500)})):WTLogger[t(560)](t(535)):WTLogger[t(560)](t(554))})}[_0x3bd164(491)](){countryFinder.getCountryCode()}[_0x3bd164(530)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?yield this.createRequest({endpoint:WTEndpoints[e(531)],queueType:e(500)}):WTLogger[e(560)]("Creating Attribution: SDK is not enabled!")})}[_0x3bd164(509)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?storageManager.firstSessionSubmit?WTLogger[e(503)](e(489)):yield this.createRequest({endpoint:WTEndpoints[e(542)],queueType:storageManager[e(521)]?"main":"pending"}):WTLogger[e(560)]("Creating First Session: SDK is not enabled!")})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;this[e(519)]?storageManager[e(521)]?WTLogger[e(503)](e(547)):yield this.createRequest({endpoint:WTEndpoints[e(563)]}):WTLogger.warn(e(529))})}[_0x3bd164(524)](e){const t=_0x3bd164;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(522)}){const n=t,s=yield r[n(485)](),o=new RequestRecord(e,s);"pending"===i?(WTLogger[n(503)]("Add "+e+n(501)),yield queueManager[n(525)](o)):(WTLogger[n(503)](n(553)+e+n(544)),yield queueManager[n(497)](o));const a=queueManager[n(543)]();WTLogger[n(503)](JSON.stringify(a))})}createDeviceID(){const e=_0x3bd164;!storageManager[e(502)]&&(storageManager[e(502)]=cryptoHelper[e(540)]()),!storageManager.initialDate&&(storageManager[e(495)]=(new Date)[e(512)]())}[_0x3bd164(561)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;if(storageManager[e(548)]){storageManager[e(552)]=storageManager[e(548)];const t=Date[e(506)]()-storageManager.inactiveTime;storageManager[e(520)]+=t,WTLogger[e(503)](e(513)+t/1e3+e(532)+storageManager[e(520)]/1e3+e(557)),yield this[e(517)]()}storageManager[e(548)]=Date[e(506)](),activityTicker[e(504)]()})}[_0x3bd164(517)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1777;var t,r;const i=storageManager[e(552)],n=null===(t=storageManager.config)||void 0===t?void 0:t[e(562)],s=null===(r=storageManager[e(494)])||void 0===r?void 0:r[e(551)];if(!this[e(519)])return void WTLogger[e(560)](e(523));if(!i||!n||!s)return;const o=Date.now()-i;o>1e3*parseInt(n)?(storageManager[e(508)]+=1,yield this[e(524)]({endpoint:WTEndpoints[e(542)],queueType:storageManager.sdkClickSubmit?e(522):e(500)})):o>1e3*parseInt(s)&&(storageManager.subSessionCount+=1)})}[_0x3bd164(488)](){const e=_0x3bd164;return document[e(550)]===e(507)&&document.hasFocus()}addObservers(){const e=_0x3bd164;window[e(499)]("beforeunload",()=>{activityTicker[e(484)]()}),window.addEventListener("pagehide",()=>{activityTicker[e(484)]()}),document.addEventListener("visibilitychange",()=>{const t=e;this[t(488)]()?(this[t(530)](),this[t(561)]()):activityTicker[t(484)]()}),window[e(499)](e(498),()=>{const t=e;this[t(488)]()&&(this[t(530)](),this.setActivityTimes())}),window[e(499)](e(493),()=>{activityTicker[e(484)]()})}}const tracker=new WTTracker,_0x352eeb=_0x191f;function _0x191f(e,t){const r=_0x5559();return(_0x191f=function(e,t){return r[e-=434]})(e,t)}function _0x5559(){const e=["3017265tMCQZS","doGetConfig","8163018NjRiGj","trackEvent","setLogLevel","2700964woqIcP","checkSdkUpdate","config","getConfig","3646853jdxKSd","isInitializing","SDK Config set","22yenDYW","error","checkSdkEnabled","WiseTrack is already initialized!","setFCMToken","trackingWaitingTime","init","13520BIszWI","startTrackerAutomatically","_instance","16tNkQaN","sdkEnabled","defaultValue","NetworkError","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","isEnabled","setEnabled","info","instance","sdkInitialized","sdkUpdate","clear","logLevel","SDK is disabled form server, contact your adminstrator!","Start Tracking: SDK is not enabled!","785017heERiw","‼️ SDK Config NOT set!, check errors.","100956QoQLpd","setLevel","startTracking","WiseTrack is initializing ...","stopTracking","warn","Clearing Data and stop tracker!","12222POYOgf","Track Event: SDK is not enabled!","Config is not set!"];return(_0x5559=function(){return e})()}!function(){const e=_0x191f,t=_0x5559();for(;;)try{if(927584===-parseInt(e(454))/1+-parseInt(e(478))/2*(parseInt(e(456))/3)+-parseInt(e(471))/4+parseInt(e(466))/5+parseInt(e(468))/6+-parseInt(e(475))/7*(parseInt(e(439))/8)+-parseInt(e(463))/9*(-parseInt(e(436))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x352eeb(447)](){const e=_0x352eeb;return!WiseTrack[e(438)]&&(WiseTrack[e(438)]=new WiseTrack),WiseTrack[e(438)]}constructor(){const e=_0x352eeb;this[e(448)]=!1,this[e(476)]=!1}[_0x352eeb(435)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;var r,i;if(this[t(476)])return void WTLogger[t(446)](t(459));if(this[t(448)])return void WTLogger[t(446)](t(481));this[t(476)]=!0,e.logLevel&&WTLogger[t(457)](e[t(451)]);const n=yield this[t(474)](e);this[t(480)](n),this.checkSdkUpdate(n),this[t(445)](!0),this[t(448)]=!0,yield tracker.initialize();(null===(r=e[t(437)])||void 0===r||r)&&setTimeout(()=>this[t(458)](),1e3*(null!==(i=e[t(434)])&&void 0!==i?i:0)),this[t(476)]=!1})}[_0x352eeb(470)](e){WTLogger.setLevel(e)}flush(){const e=_0x352eeb;WTLogger[e(446)](e(462)),storageManager[e(450)](),this[e(460)]()}isEnabled(){return storageManager.sdkEnabled}[_0x352eeb(445)](e){const t=_0x352eeb,r=storageManager[t(473)];if(!r)throw new Error(t(465));if(!r[t(440)])throw new Error("SDK is disabled form server, contact your adminstrator!");storageManager[t(440)]=e}[_0x352eeb(458)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x191f;this.sdkInitialized?this[e(444)]()?yield tracker[e(458)]():WTLogger[e(461)](e(453)):WTLogger[e(461)]("‼️ Start Tracking: SDK is not initialized yet")})}[_0x352eeb(460)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x191f;yield tracker[e(460)]()})}[_0x352eeb(482)](e){return __awaiter(this,void 0,void 0,function*(){yield tracker.checkPushToken(e)})}[_0x352eeb(469)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;this[t(448)]?this.isEnabled()?yield tracker[t(469)](e):WTLogger[t(461)](t(464)):WTLogger[t(461)]("‼️ Track Event: SDK is not initialized yet")})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x191f;let r;storageManager.initialConfig=e;try{r=yield apiClient[t(467)]()}catch(e){if(!(e instanceof ApiError[t(442)]))throw WTLogger[t(446)](t(455)),e;r=storageManager.config||WTConfig[t(441)]}return storageManager[t(473)]=r,WTLogger[t(446)](t(477)),r})}[_0x352eeb(480)](e){const t=_0x352eeb;if(!e.sdkEnabled){const e=t(452);throw WTLogger[t(479)](e),new Error(e)}}[_0x352eeb(472)](e){const t=_0x352eeb;e[t(449)]&&WTLogger[t(461)](t(443))}}function _0x4607(e,t){const r=_0xb24b();return(_0x4607=function(e,t){return r[e-=151]})(e,t)}const _0x37b8e9=_0x4607;function _0xb24b(){const e=["CAD","1102560MtFAjE","4390477qruidg","JPY","INR","80hJRgSK","813QNYlzW","AED","330jQynRT","IRR","IQD","970nuCSgg","SGD","NZD","BRL","50545sIZqeQ","RUB","LTC","EHT","10923LRyRdB","EUR","1598526hauNHT","5836JENoar","AUD","USD","CNY","SAR","24tlxCTC","9835YzVpbL","SEK","TRY","ZAR","GBP"];return(_0xb24b=function(){return e})()}!function(){const e=_0x4607,t=_0xb24b();for(;;)try{if(331604===-parseInt(e(169))/1*(-parseInt(e(179))/2)+-parseInt(e(180))/3*(-parseInt(e(163))/4)+parseInt(e(156))/5*(-parseInt(e(182))/6)+parseInt(e(176))/7+-parseInt(e(168))/8*(parseInt(e(162))/9)+parseInt(e(152))/10*(parseInt(e(160))/11)+-parseInt(e(175))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x37b8e9(165),EUR:_0x37b8e9(161),JPY:_0x37b8e9(177),GBP:_0x37b8e9(173),AUD:_0x37b8e9(164),CAD:_0x37b8e9(174),CHF:"CHF",CNY:_0x37b8e9(166),SEK:_0x37b8e9(170),NZD:_0x37b8e9(154),MXN:"MXN",SGD:_0x37b8e9(153),HKD:"HKD",NOK:"NOK",KRW:"KRW",TRY:_0x37b8e9(171),RUB:_0x37b8e9(157),INR:_0x37b8e9(178),BRL:_0x37b8e9(155),ZAR:_0x37b8e9(172),IRR:_0x37b8e9(183),AED:_0x37b8e9(181),IQD:_0x37b8e9(151),SAR:_0x37b8e9(167),OMR:"OMR",BTC:"BTC",EHT:_0x37b8e9(159),LTC:_0x37b8e9(158)},_0x32f45c=_0x25c7;function _0x25c7(e,t){const r=_0x4eae();return(_0x25c7=function(e,t){return r[e-=134]})(e,t)}function _0x4eae(){const e=["validateKey","2993072ugTRED","1876250YPfGzR",'value "',"377083VhxAAr","718014puljQQ","DANGEROUS_CHARS","test","isMaliciousContent","2558682bwXsHK","validateValue","SCRIPT_INJECTION_PATTERNS","Value cannot be null or undefined","no_parameters","some"," characters",'" is not valid. Please use different characters',"Key length must not exceed ","FORBIDDEN_KEY","containsScriptInjection","MAX_LENGTH","includes","length","containsSQLInjection","name","1100124RfmQyd","Key must be a non-empty string","containsDangerousChars","string",'key "',"Key cannot be '","21Sawcbn","839592nIQeOG","Value length must not exceed ","SQL_INJECTION_PATTERNS"];return(_0x4eae=function(){return e})()}!function(){const e=_0x25c7,t=_0x4eae();for(;;)try{if(280699===-parseInt(e(143))/1+-parseInt(e(144))/2+-parseInt(e(164))/3+parseInt(e(136))/4+-parseInt(e(141))/5+parseInt(e(148))/6+-parseInt(e(135))/7*(-parseInt(e(140))/8))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x25c7;super(e),this[t(163)]="WTEventValidationError"}}class WTEventValidator{static[_0x32f45c(162)](e){const t=_0x32f45c;return this.SQL_INJECTION_PATTERNS[t(153)](r=>r[t(146)](e))}static containsScriptInjection(e){const t=_0x32f45c;return this[t(150)][t(153)](r=>r[t(146)](e))}static[_0x32f45c(166)](e){const t=_0x32f45c;return this[t(145)][t(153)](r=>e[t(160)](r))}static[_0x32f45c(147)](e){const t=_0x32f45c;if(this[t(162)](e))return!0;if(this[t(158)](e))return!0;if(this[t(166)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(147)](r))return!0}catch(e){}return!1}static[_0x32f45c(139)](e){const t=_0x32f45c;if(!e||typeof e!==t(167))throw new WTEventValidationError(t(165));if(e[t(161)]>this.MAX_LENGTH)throw new WTEventValidationError(t(156)+this.MAX_LENGTH+" characters");if(e===this[t(157)])throw new WTEventValidationError(t(134)+this[t(157)]+"'");if(this.isMaliciousContent(e))throw new WTEventValidationError(t(168)+e+'" is not valid. Please use different characters')}static[_0x32f45c(149)](e){const t=_0x32f45c;if(null==e)throw new WTEventValidationError(t(151));const r=String(e);if(r.length>this[t(159)])throw new WTEventValidationError(t(137)+this[t(159)]+t(154));if(this[t(147)](r))throw new WTEventValidationError(t(142)+e+t(155))}}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x32f45c(157)]=_0x32f45c(152),WTEventValidator[_0x32f45c(138)]=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator[_0x32f45c(150)]=[/<script[^>]*>.*?<\/script>/i,/javascript:/i,/on(load|click|error|focus|blur|change|submit|mouseover|keyup|keydown)\s*=/i,/<iframe[^>]*>.*?<\/iframe>/i,/<object[^>]*>.*?<\/object>/i,/<embed[^>]*>/i,/vbscript:/i,/expression\s*\(/i,/<svg[^>]*on\w+\s*=/i,/data:text\/html/i],WTEventValidator.DANGEROUS_CHARS=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x31217e=_0x13f9;function _0x2e43(){const e=["entries",'": ',"1022UooGtc","3670134MPpmbL",'WTEvent validation failed for key "',"revenue","validateKey","warn","206444lJQkxu","70wWEXuP","revenueEvent","1234275RPpUkX","amount","name","type","1725176vxCkAG","1673322qtSdzs","16934067NEGzIy","validateValue","93008RmAJRV","default"];return(_0x2e43=function(){return e})()}function _0x13f9(e,t){const r=_0x2e43();return(_0x13f9=function(e,t){return r[e-=421]})(e,t)}!function(){const e=_0x13f9,t=_0x2e43();for(;;)try{if(856159===parseInt(e(430))/1+-parseInt(e(434))/2+parseInt(e(435))/3+-parseInt(e(427))/4*(-parseInt(e(428))/5)+-parseInt(e(422))/6+parseInt(e(421))/7*(parseInt(e(438))/8)+-parseInt(e(436))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,i,n){const s=_0x13f9;this[s(433)]=e,this[s(432)]=t,this[s(431)]=r,this.currency=i,this.params={},n&&this.validateAndSetParams(n)}static defaultEvent(e,t){return new WTEvent(_0x13f9(439),e,void 0,void 0,t)}static[_0x31217e(429)](e,t,r,i){return new WTEvent(_0x31217e(424),e,t,r,i)}validateAndSetParams(e){const t=_0x31217e;for(const[r,i]of Object[t(440)](e))try{WTEventValidator[t(425)](r),WTEventValidator[t(437)](i),this.params[r]=i}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(426)](t(423)+r+t(441)+e.message),e;throw e}}}function _0x3b07(e,t){var r=_0xbd5d();return(_0x3b07=function(e,t){return r[e-=259]})(e,t)}function _0xbd5d(){var e=["278828bZyaOL","72364eIzpno","30BjRYQC","6YfodrM","1130080fxIMpX","560202nTVEvu","847809EQpNSP","3040072vbNYBr","166932SBgMYt","30ZstVMo"];return(_0xbd5d=function(){return e})()}!function(){for(var e=_0x3b07,t=_0xbd5d();;)try{if(225478===parseInt(e(265))/1*(parseInt(e(263))/2)+parseInt(e(268))/3+-parseInt(e(262))/4*(parseInt(e(264))/5)+-parseInt(e(267))/6+parseInt(e(259))/7+-parseInt(e(266))/8+-parseInt(e(260))/9*(parseInt(e(261))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
1
+ "use strict";const _0x258167=_0x3fcd;!function(){const e=_0x3fcd,t=_0x21d4();for(;;)try{if(471873===parseInt(e(507))/1*(parseInt(e(501))/2)+parseInt(e(505))/3*(-parseInt(e(510))/4)+-parseInt(e(508))/5*(parseInt(e(504))/6)+parseInt(e(506))/7*(-parseInt(e(511))/8)+-parseInt(e(513))/9+-parseInt(e(502))/10+parseInt(e(512))/11*(parseInt(e(500))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:"web",VERSION:_0x258167(498)},CONFIG:{DEFAULT_ENVIRONMENT:_0x258167(499)},DEFAULTS:{LOG_LEVEL:"info",SESSION_INTERVAL:_0x258167(509),SUBSESSION_INTERVAL:"300",HEARTBEAT_INTERVAL:_0x258167(503),PARAMETERS_VALUE:void 0},WT_DEEPLINK_PARAM:"wt_click_id"};function _0x3fcd(e,t){const r=_0x21d4();return(_0x3fcd=function(e,t){return r[e-=498]})(e,t)}function _0x21d4(){const e=["352706FNEWra","5193480YiAGum","21600","354VyKlqd","90591byufDa","14JSkJhm","4fZMXyl","56890qlBVpj","1800","68YnNpSH","2561120nQRXFU","1496mVCUgB","7516404NKtzNq","2.1.0","production","259932XGMAZq"];return(_0x21d4=function(){return e})()}function _0x3ee0(){const e=["indexOf","1498804UGoIYf","15267780DXaVcO","1zoBybc","debug","156106hXNwaw","log","1345897XedUVs","3rYQBtQ","outputEngines","LOG_LEVEL","8TrmTTD","warn","level","info","toUpperCase","1662408icJoKE","108762gtAzSP","push","setLevel","25cGbxho","none","8670dhcRRD","addOutputEngine","1925PUXMwl","DEFAULTS","shouldLog","error","prefix"];return(_0x3ee0=function(){return e})()}const _0x593c9e=_0x376c;function _0x376c(e,t){const r=_0x3ee0();return(_0x376c=function(e,t){return r[e-=480]})(e,t)}!function(){const e=_0x376c,t=_0x3ee0();for(;;)try{if(200218===-parseInt(e(508))/1*(parseInt(e(481))/2)+parseInt(e(484))/3*(-parseInt(e(506))/4)+parseInt(e(496))/5*(-parseInt(e(493))/6)+parseInt(e(483))/7*(-parseInt(e(487))/8)+-parseInt(e(492))/9+parseInt(e(498))/10*(-parseInt(e(500))/11)+parseInt(e(507))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:_0x593c9e(480),INFO:_0x593c9e(490),WARN:_0x593c9e(488),ERROR:"error",NONE:_0x593c9e(497)};class WTLogger{static[_0x593c9e(495)](e){this[_0x593c9e(489)]=e}static setPrefix(e){this[_0x593c9e(504)]=e}static[_0x593c9e(499)](e){const t=_0x593c9e;this.outputEngines[t(494)](e)}static[_0x593c9e(502)](e){const t=_0x593c9e,r=[t(480),t(490),t(488),t(503)],i=r[t(505)](this[t(489)]);return r[t(505)](e)>=i}static[_0x593c9e(482)](e,...t){const r=_0x593c9e;if(!this[r(502)](e))return;const i="["+this[r(504)]+"-"+e[r(491)]()+"]";for(const n of this[r(485)])n(e,i,t)}static debug(...e){const t=_0x593c9e;this[t(482)](t(480),...e)}static[_0x593c9e(490)](...e){const t=_0x593c9e;this[t(482)](t(490),...e)}static[_0x593c9e(488)](...e){const t=_0x593c9e;this[t(482)](t(488),...e)}static[_0x593c9e(503)](...e){this.log("error",...e)}}WTLogger[_0x593c9e(489)]=WTConstants[_0x593c9e(501)][_0x593c9e(486)],WTLogger[_0x593c9e(504)]="WT",WTLogger[_0x593c9e(485)]=[(e,t,r)=>{const i=_0x376c;switch(e){case i(480):console.debug(t,...r);break;case"info":console[i(490)](t,...r);break;case"warn":console[i(488)](t,...r);break;case i(503):console[i(503)](t,...r);break;default:console[i(482)](t,...r)}}];var _0x117101=_0xacb6;!function(){for(var e=_0xacb6,t=_0x49cb();;)try{if(215453===-parseInt(e(508))/1*(parseInt(e(439))/2)+parseInt(e(451))/3*(-parseInt(e(478))/4)+parseInt(e(444))/5*(-parseInt(e(436))/6)+parseInt(e(479))/7+parseInt(e(505))/8+parseInt(e(413))/9*(-parseInt(e(496))/10)+parseInt(e(481))/11*(parseInt(e(452))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x117101(473),INITIAL_DATE:"WT.InitialDate",INITIAL_CONFIG:_0x117101(427),SDK_ENVIRONMENT:_0x117101(458),SDK_VERSION:_0x117101(470),CONFIG:_0x117101(416),SDK_CLICK_SUBMIT:_0x117101(414),FIRST_SESSION_SUBMIT:_0x117101(467),SDK_ENABLED:_0x117101(441),FCM_TOKEN:_0x117101(410),PUSH_TOKEN:_0x117101(445),EVENT_COUNT:_0x117101(448),SESSION_COUNT:_0x117101(432),SUBSESSION_COUNT:_0x117101(516),APP_START_TIME:_0x117101(514),LAST_ACTIVE_TIME:_0x117101(463),ACTIVE_DURATION:_0x117101(443),INACTIVE_TIME:_0x117101(455),INACTIVE_DURATION:_0x117101(500),REQUEST_QUEUE:_0x117101(488),PENDING_REQUEST_QUEUE:_0x117101(438),WISETRACK_ID:_0x117101(512),CLIENT_SESSION_ID:_0x117101(428),NEXT_CLIENT_SESSION_ID:_0x117101(417),LAST_SESSION_START:_0x117101(519),AUTH_TOKEN:_0x117101(503),DEFERRED_DATA:_0x117101(457),APP_DEEPLINK:_0x117101(506),DEFERRED_LINK_HANDLED:_0x117101(510),UNMATCHED_DEEPLINKS:_0x117101(464)};function _0x49cb(){var e=["WT.SdkVersion","PUSH_TOKEN","sdkEnvironment","WT.DeviceId","subSessionCount","deviceId","setJson","eventCount","4yZRMJd","2206344zAjmZW","SDK_ENABLED","1672werNIW","CONFIG","WISETRACK_ID","Error in encoding object for key '","firstSessionSubmit","AUTH_TOKEN","INITIAL_DATE","WT.RequestQueue","clear","deferredData","initialDate","removeItem","sdkVersion","APP_DEEPLINK","SDK","668550iXdyWX","sdkEnabled","appDeeplink","Error in JSON decoding for key '","WT.InactiveDuration","appStartTime","authToken","WT.AuthToken","CLIENT_SESSION_ID","1661496XcNHdW","WT.AppDeeplink","NEXT_CLIENT_SESSION_ID","23378OOVzCR","DEVICE_ID","WT.IsDeferredLinkHandled","FCM_TOKEN","WT.WTId","activeDuration","WT.AppStartTime","inactiveTime","WT.SubSessionCount","FIRST_SESSION_SUBMIT","SDK_CLICK_SUBMIT","WT.LastSessionStart","nextClientSessionId","lastActiveTime","getJson","DEFERRED_LINK_HANDLED","toString","WT.FcmToken","pushToken","APP_START_TIME","9qlKycH","WT.SdkClickSubmit","stringify","WT.Configs","WT.NextCSId","unmatchedDeeplinks","error","wiseId","LAST_SESSION_START","initialConfig","SDK_ENVIRONMENT","INACTIVE_TIME","SUBSESSION_COUNT","setItem","WT.InitialConfigs","WT.CSId","SDK_VERSION","requestRecords","optionalBool","WT.SessionCount","SESSION_COUNT","clientSessionId","INITIAL_CONFIG","818346YGSXJN","DEFERRED_DATA","WT.PendingRequestQueue","20RbTbYw","sessionCount","WT.SdkEnabled","getItem","WT.ActiveDuration","10ThQVhO","WT.PushToken","REQUEST_QUEUE","INACTIVE_DURATION","WT.EventCount","deferredLinkHandled","true","1052019QQFtyI","48684PIlVSj","parse","lastSessionStart","WT.InactiveTime","fcmToken","WT.DeferredData","WT.SdkEnvironment","PENDING_REQUEST_QUEUE","inactiveDuration","optionalNumber","sdkClickSubmit","WT.LastActiveTime","WT.UnmatchedDeepLinks","LAST_ACTIVE_TIME","EVENT_COUNT","WT.FirstSessionSubmit","false","UNMATCHED_DEEPLINKS"];return(_0x49cb=function(){return e})()}class StorageManager{[_0x117101(489)](){localStorage[_0x117101(489)]()}setJson(e,t){var r=_0x117101;if(t)try{const i=JSON[r(415)](t);localStorage[r(426)](e,i)}catch(t){WTLogger[r(419)](r(484)+e+"'",t)}else localStorage[r(492)](e)}[_0x117101(407)](e){var t=_0x117101;const r=localStorage[t(442)](e);if(!r)return null;try{return JSON[t(453)](r)}catch(r){return WTLogger[t(419)](t(499)+e+"': "+r,r),null}}[_0x117101(461)](e){const t=localStorage[_0x117101(442)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}optionalBool(e){var t=_0x117101;const r=localStorage[t(442)](e);return null===r?null:r===t(450)||r!==t(468)&&null}get[_0x117101(475)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(509)])}set deviceId(e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys.DEVICE_ID,e):localStorage[t(492)](WTStorageKeys.DEVICE_ID)}get[_0x117101(491)](){var e=_0x117101;return this[e(407)](WTStorageKeys[e(487)])}set[_0x117101(491)](e){var t=_0x117101;this[t(476)](WTStorageKeys[t(487)],e)}get[_0x117101(422)](){var e=_0x117101;return this[e(407)](WTStorageKeys[e(435)])}set[_0x117101(422)](e){var t=_0x117101;this[t(476)](WTStorageKeys[t(435)],e)}get config(){return this.getJson(WTStorageKeys.CONFIG)}set config(e){var t=_0x117101;this.setJson(WTStorageKeys[t(482)],e)}get[_0x117101(497)](){var e,t=_0x117101;return null!==(e=this[t(431)](WTStorageKeys[t(480)]))&&void 0!==e&&e}set[_0x117101(497)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys[t(480)],e[t(409)]())}get[_0x117101(462)](){var e,t=_0x117101;return null!==(e=this[t(431)](WTStorageKeys[t(518)]))&&void 0!==e&&e}set[_0x117101(462)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys[t(518)],e.toString())}get[_0x117101(485)](){var e,t=_0x117101;return null!==(e=this.optionalBool(WTStorageKeys[t(517)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x117101;localStorage[t(426)](WTStorageKeys[t(517)],e[t(409)]())}get[_0x117101(456)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(511)])}set[_0x117101(456)](e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys[t(511)],e):localStorage[t(492)](WTStorageKeys[t(511)])}get[_0x117101(411)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(471)])}set[_0x117101(411)](e){var t=_0x117101;e?localStorage.setItem(WTStorageKeys[t(471)],e):localStorage[t(492)](WTStorageKeys.PUSH_TOKEN)}get[_0x117101(440)](){var e,t=_0x117101;return null!==(e=this.optionalNumber(WTStorageKeys[t(433)]))&&void 0!==e?e:1}set[_0x117101(440)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys[t(433)],e[t(409)]())}get[_0x117101(474)](){var e,t=_0x117101;return null!==(e=this[t(461)](WTStorageKeys[t(425)]))&&void 0!==e?e:1}set[_0x117101(474)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys.SUBSESSION_COUNT,e[t(409)]())}get[_0x117101(513)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.ACTIVE_DURATION))&&void 0!==e?e:0}set[_0x117101(513)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys.ACTIVE_DURATION,e[t(409)]())}get[_0x117101(460)](){var e,t=_0x117101;return null!==(e=this.optionalNumber(WTStorageKeys[t(447)]))&&void 0!==e?e:0}set[_0x117101(460)](e){var t=_0x117101;localStorage.setItem(WTStorageKeys[t(447)],e[t(409)]())}get[_0x117101(515)](){var e=_0x117101;return this[e(461)](WTStorageKeys[e(424)])}set[_0x117101(515)](e){var t=_0x117101;null!==e?localStorage[t(426)](WTStorageKeys.INACTIVE_TIME,e[t(409)]()):localStorage.removeItem(WTStorageKeys[t(424)])}get[_0x117101(406)](){var e=_0x117101;return this[e(461)](WTStorageKeys[e(465)])}set[_0x117101(406)](e){var t=_0x117101;null!==e?localStorage[t(426)](WTStorageKeys[t(465)],e[t(409)]()):localStorage[t(492)](WTStorageKeys.LAST_ACTIVE_TIME)}get[_0x117101(430)](){var e,t=_0x117101;return null!==(e=this[t(407)](WTStorageKeys[t(446)]))&&void 0!==e?e:[]}set[_0x117101(430)](e){var t=_0x117101;this[t(476)](WTStorageKeys[t(446)],e)}get pendingRequestRecords(){var e,t=_0x117101;return null!==(e=this[t(407)](WTStorageKeys[t(459)]))&&void 0!==e?e:[]}set pendingRequestRecords(e){var t=_0x117101;this[t(476)](WTStorageKeys[t(459)],e)}get[_0x117101(477)](){var e,t=_0x117101;return null!==(e=this[t(461)](WTStorageKeys[t(466)]))&&void 0!==e?e:0}set eventCount(e){var t=_0x117101;localStorage.setItem(WTStorageKeys.EVENT_COUNT,e[t(409)]())}get[_0x117101(472)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(423)])}set[_0x117101(472)](e){var t=_0x117101;localStorage[t(426)](WTStorageKeys[t(423)],e)}get sdkVersion(){var e,t=_0x117101;return null!==(e=localStorage[t(442)](WTStorageKeys[t(429)]))&&void 0!==e?e:WTConstants[t(495)].VERSION}set[_0x117101(493)](e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys[t(429)],e):localStorage.removeItem(WTStorageKeys[t(429)])}get clientSessionId(){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(504)])}set[_0x117101(434)](e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys[t(504)],e):localStorage[t(492)](WTStorageKeys[t(504)])}get[_0x117101(501)](){var e=_0x117101;return this[e(461)](WTStorageKeys[e(412)])}set[_0x117101(501)](e){var t=_0x117101;null!==e?localStorage[t(426)](WTStorageKeys[t(412)],e[t(409)]()):localStorage.removeItem(WTStorageKeys.APP_START_TIME)}get[_0x117101(449)](){var e,t=_0x117101;return null!==(e=this.optionalBool(WTStorageKeys[t(408)]))&&void 0!==e&&e}set[_0x117101(449)](e){var t=_0x117101;localStorage.setItem(WTStorageKeys[t(408)],e[t(409)]())}get[_0x117101(418)](){var e,t=_0x117101;return null!==(e=this[t(407)](WTStorageKeys[t(469)]))&&void 0!==e?e:[]}set unmatchedDeeplinks(e){var t=_0x117101;this[t(476)](WTStorageKeys[t(469)],e)}get[_0x117101(490)](){var e=_0x117101;return this[e(407)](WTStorageKeys[e(437)])}set[_0x117101(490)](e){var t=_0x117101;this[t(476)](WTStorageKeys[t(437)],e)}get[_0x117101(498)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(494)])}set[_0x117101(498)](e){var t=_0x117101;e?localStorage.setItem(WTStorageKeys[t(494)],e):localStorage[t(492)](WTStorageKeys[t(494)])}get[_0x117101(420)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(483)])}set[_0x117101(420)](e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys[t(483)],e):localStorage.removeItem(WTStorageKeys[t(483)])}get[_0x117101(520)](){return localStorage[_0x117101(442)](WTStorageKeys.NEXT_CLIENT_SESSION_ID)}set[_0x117101(520)](e){var t=_0x117101;e?localStorage.setItem(WTStorageKeys[t(507)],e):localStorage[t(492)](WTStorageKeys[t(507)])}get[_0x117101(454)](){var e=_0x117101;return localStorage[e(442)](WTStorageKeys[e(421)])}set[_0x117101(454)](e){var t=_0x117101;e?localStorage[t(426)](WTStorageKeys[t(421)],e):localStorage[t(492)](WTStorageKeys[t(421)])}get[_0x117101(502)](){return localStorage[_0x117101(442)](WTStorageKeys.AUTH_TOKEN)}set authToken(e){var t=_0x117101;e?localStorage.setItem(WTStorageKeys[t(486)],e):localStorage[t(492)](WTStorageKeys[t(486)])}}function _0xacb6(e,t){var r=_0x49cb();return(_0xacb6=function(e,t){return r[e-=406]})(e,t)}const storageManager=new StorageManager;function _0x2b2d(){const e=["Mi4uKilgdXU+Pyx0KT4xdC0uPj8sdDMo","CONFIG_PATH","262100tjPUsX","SDK_CLICKS_PATH","CLICK_MATCHES_PATH","AUTH_PATH","18tmdLHO","charCodeAt","1802496UCDQSm","dTsqM3Usa3U/LD80Lik=","length","ATTRIBUTIONS_PATH","2922234hlTqAx","618012woQDZe","fromCharCode","SESSIONS_PATH","dTsqM3Usa3U+Pzw/KCg/PgU2NTUxLyop","dTsqM3Usa3U7Ly4y","LOCAL_BASE_URL","EVENTS_PATH","dTsqM3Usa3UyPzsoLjg/Oy4p","Decode error:","18992870LjUMhX","PRODUCTION_BASE_URL","NOTIFICATION_KEY","Mi4uKmB1dTY1OTs2MjUpLmBiamJq","dTsqM3Usa3U7Li4oMzgvLjM1NCk=","dTsqM3Usa3UqLykyBS41MT80KQ==","Mi4uKilgdXUpPjF0LTMpPy4oOzkxdDM1","Mi4uKilgdXUpLjs9P3QpPjF0LS4+Pyx0Myg=","1560097XNlmjF","decode","STAGE_BASE_URL","HEARTBEATS_PATH","dTsqM3Usa3UpPjEFOTYzOTEp","76DrpeAM","231558DcmDGw","60TwJDUy","PUSH_TOKENS_PATH","DEFERRED_LOOKUPS_PATH","DEBUG_BASE_URL","dTsqM3Usa3UpPykpMzU0KQ=="];return(_0x2b2d=function(){return e})()}const _0x4a83af=_0x21e8;function _0x21e8(e,t){const r=_0x2b2d();return(_0x21e8=function(e,t){return r[e-=253]})(e,t)}!function(){const e=_0x21e8,t=_0x2b2d();for(;;)try{if(787281===parseInt(e(263))/1+parseInt(e(277))/2+parseInt(e(269))/3*(parseInt(e(268))/4)+-parseInt(e(270))/5*(-parseInt(e(288))/6)+parseInt(e(287))/7+-parseInt(e(283))/8+parseInt(e(281))/9*(-parseInt(e(255))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static decode(e){const t=_0x21e8;try{const r=atob(e);let i="";for(let e=0;e<r[t(285)];e++){const n=90^r[t(282)](e);i+=String[t(289)](n)}return i}catch(e){return console.error(t(254),e),""}}static get[_0x4a83af(276)](){return this.decode("dTsqM3Usa3U5NTQ8Mz0=")}static get[_0x4a83af(293)](){const e=_0x4a83af;return this[e(264)](e(258))}static get[_0x4a83af(273)](){const e=_0x4a83af;return this.decode(e(275))}static get[_0x4a83af(265)](){const e=_0x4a83af;return this[e(264)](e(262))}static get[_0x4a83af(256)](){const e=_0x4a83af;return this[e(264)](e(261))}static get[_0x4a83af(257)](){return this[_0x4a83af(264)]("LTMpPy4oOzkxBTI/OyguOD87LgU0NS4zPDM5Oy4zNTQ=")}static get[_0x4a83af(294)](){const e=_0x4a83af;return this.decode(e(284))}static get[_0x4a83af(290)](){const e=_0x4a83af;return this[e(264)](e(274))}static get[_0x4a83af(278)](){const e=_0x4a83af;return this.decode(e(267))}static get[_0x4a83af(271)](){const e=_0x4a83af;return this[e(264)](e(260))}static get[_0x4a83af(286)](){const e=_0x4a83af;return this[e(264)](e(259))}static get[_0x4a83af(279)](){return this[_0x4a83af(264)]("dTsqM3Usa3U5NjM5MQU3Oy45Mj8p")}static get[_0x4a83af(272)](){const e=_0x4a83af;return this.decode(e(291))}static get[_0x4a83af(280)](){const e=_0x4a83af;return this[e(264)](e(292))}static get[_0x4a83af(266)](){const e=_0x4a83af;return this[e(264)](e(253))}}const _0x4dcc99=_0x3b4f;function _0x26c2(){const e=["sdkEnvironment","PRODUCTION","3976044PMRISs","production","3378HvHaVV","54SzVCWa","stage","STAGE_BASE_URL","165844TkJMna","DEBUG","LOCAL","DEBUG_BASE_URL","327BcqGlN","508246dEmdrH","DEFAULT_ENVIRONMENT","176bOaNee","Unknown environment: ","55kimbWu","3775uKxzHg","STAGE","1074770FwDvux","LOCAL_BASE_URL","576759LvvBIx","local","CONFIG","13348ENTlZi"];return(_0x26c2=function(){return e})()}function _0x3b4f(e,t){const r=_0x26c2();return(_0x3b4f=function(e,t){return r[e-=190]})(e,t)}!function(){const e=_0x3b4f,t=_0x26c2();for(;;)try{if(401615===parseInt(e(193))/1+parseInt(e(210))/2+-parseInt(e(209))/3*(parseInt(e(196))/4)+parseInt(e(215))/5*(parseInt(e(201))/6)+-parseInt(e(205))/7*(-parseInt(e(212))/8)+parseInt(e(202))/9*(parseInt(e(191))/10)+-parseInt(e(214))/11*(parseInt(e(199))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:"sandbox",PRODUCTION:_0x4dcc99(200)},WTSDKEnvironment={LOCAL:_0x4dcc99(194),DEBUG:"debug",STAGE:_0x4dcc99(203),PRODUCTION:_0x4dcc99(200)},EnvironmentUtils={get sdkEnvironment(){const e=_0x4dcc99;var t;return null!==(t=storageManager.sdkEnvironment)&&void 0!==t?t:WTConstants[e(195)][e(211)]},get baseUrl(){const e=_0x4dcc99;switch(this.sdkEnvironment){case WTSDKEnvironment[e(207)]:return SecureConfig[e(192)];case WTSDKEnvironment[e(206)]:return SecureConfig[e(208)];case WTSDKEnvironment[e(190)]:return SecureConfig[e(204)];case WTSDKEnvironment[e(198)]:return SecureConfig.PRODUCTION_BASE_URL;default:throw new Error(e(213)+this[e(197)])}}};var _0x473ab2=_0x13d9;function _0x3afc(){var e=["1983645xqIXny","155rzRmWA","1WEHMrL","8BSzRkT","220878ZNXYnc","453916TyLsZV","sdkVersion","11925727bEUuOX","53359296RJCsuU","sdkEnvironment","10aJtHCc","3xwbIMx","6811469TxNFHj","1973170sqUbDv"];return(_0x3afc=function(){return e})()}function _0x13d9(e,t){var r=_0x3afc();return(_0x13d9=function(e,t){return r[e-=312]})(e,t)}!function(){for(var e=_0x13d9,t=_0x3afc();;)try{if(595480===parseInt(e(324))/1*(-parseInt(e(321))/2)+parseInt(e(319))/3*(parseInt(e(313))/4)+parseInt(e(323))/5*(-parseInt(e(312))/6)+parseInt(e(320))/7*(-parseInt(e(325))/8)+parseInt(e(322))/9+parseInt(e(318))/10*(-parseInt(e(315))/11)+parseInt(e(316))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x473ab2(317)](e){var t=_0x473ab2;try{storageManager[t(317)]=e}catch(e){}}static[_0x473ab2(314)](e){var t=_0x473ab2;try{storageManager[t(314)]=e}catch(e){}}}function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,o)}c((i=i.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const _0x551fc5=_0x4bbc;function _0x4bbc(e,t){const r=_0x17c6();return(_0x4bbc=function(e,t){return r[e-=171]})(e,t)}function _0x17c6(){const e=["812236nSMPRX","PUSH_TOKENS_PATH","95wnUQPE","71730jdvPDb","630WJmFLA","236992TJPvcr","HEARTBEATS_PATH","CLICK_MATCHES_PATH","257481cZhgJP","AUTH_PATH","1429932kMOuGk","1313640LUnREU","1251704BuZHna","DEFERRED_LOOKUPS_PATH"];return(_0x17c6=function(){return e})()}!function(){const e=_0x4bbc,t=_0x17c6();for(;;)try{if(227854===-parseInt(e(176))/1+-parseInt(e(182))/2+-parseInt(e(179))/3+-parseInt(e(180))/4+parseInt(e(184))/5*(-parseInt(e(171))/6)+-parseInt(e(178))/7+parseInt(e(173))/8*(parseInt(e(172))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:SecureConfig.EVENTS_PATH,SESSIONS:SecureConfig.SESSIONS_PATH,SDK_CLICKS:SecureConfig.SDK_CLICKS_PATH,PUSH_TOKENS:SecureConfig[_0x551fc5(183)],ATTRIBUTIONS:SecureConfig.ATTRIBUTIONS_PATH,CLICK_MATCHES:SecureConfig[_0x551fc5(175)],DEFERRED_LOOKUPS:SecureConfig[_0x551fc5(181)],HEARTBEATS:SecureConfig[_0x551fc5(174)],AUTH:SecureConfig[_0x551fc5(177)]};var _0x3f8b93=_0x49c0;function _0x3f41(){var e=["deferredLookups","defaultValue","EVENTS","sdk_clicks","clickMatches","DEFERRED_LOOKUPS","3184015jbzJPd","22ZFhesO","auth","748920UjSego","HEARTBEATS","PUSH_TOKENS","sdkClicks","3536072Bepazk","6wRliVF","deferred_lookups","sessions","events","1100533YZSTcE","push_tokens","CLICK_MATCHES","pushTokens","SESSIONS","5589hSRKaT","ATTRIBUTIONS","fromJson","117CSWzRN","AUTH","1088oYkWXx","click_matches","attributions","1231861qDhVku","22563480ALAynX"];return(_0x3f41=function(){return e})()}function _0x49c0(e,t){var r=_0x3f41();return(_0x49c0=function(e,t){return r[e-=385]})(e,t)}!function(){for(var e=_0x49c0,t=_0x3f41();;)try{if(645934===-parseInt(e(391))/1+-parseInt(e(388))/2*(parseInt(e(416))/3)+-parseInt(e(406))/4+parseInt(e(399))/5+-parseInt(e(407))/6*(parseInt(e(411))/7)+-parseInt(e(402))/8*(parseInt(e(386))/9)+parseInt(e(392))/10*(parseInt(e(400))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigEndpoints{constructor(e,t,r,i,n,s,a,o,c){var u=_0x49c0;this[u(410)]=e,this[u(409)]=t,this[u(405)]=r,this[u(414)]=i,this[u(390)]=n,this[u(397)]=s,this[u(393)]=a,this.heartbeats=o,this.auth=c}static[_0x3f8b93(385)](e){var t=_0x3f8b93;return new this(e[t(410)],e[t(409)],e[t(396)],e[t(412)],e[t(390)],e[t(389)],e[t(408)],e.heartbeats,e[t(401)])}static get[_0x3f8b93(394)](){var e=_0x3f8b93;return new this(WTEndpoints[e(395)],WTEndpoints[e(415)],WTEndpoints.SDK_CLICKS,WTEndpoints[e(404)],WTEndpoints[e(417)],WTEndpoints[e(413)],WTEndpoints[e(398)],WTEndpoints[e(403)],WTEndpoints[e(387)])}}function _0x16ae(e,t){var r=_0x31b9();return(_0x16ae=function(e,t){return r[e-=139]})(e,t)}var _0x351b05=_0x16ae;function _0x31b9(){var e=["sdkUpdate","subsessionInterval","defaultValue","DEFAULTS","21IiJWdN","subsession_interval","endpoints","23454045YxRQnl","SUBSESSION_INTERVAL","1521028scjtKM","HEARTBEAT_INTERVAL","88761GGAgAu","1662910GesMIV","session_interval","52gqNLDn","10pGlTxI","1049502AQvGAP","sessionInterval","heartbeatInterval","SESSION_INTERVAL","fromJson","316497CqldPm","5370456wmkgVa","heartbeat_interval","sdk_update"];return(_0x31b9=function(){return e})()}!function(){for(var e=_0x16ae,t=_0x31b9();;)try{if(388651===parseInt(e(162))/1+parseInt(e(155))/2*(parseInt(e(152))/3)+parseInt(e(150))/4+parseInt(e(153))/5+-parseInt(e(157))/6*(-parseInt(e(145))/7)+parseInt(e(163))/8+-parseInt(e(148))/9*(parseInt(e(156))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t=!0,r=!1,i=WTConstants[_0x351b05(144)][_0x351b05(160)],n=WTConstants[_0x351b05(144)][_0x351b05(149)],s=WTConstants[_0x351b05(144)][_0x351b05(151)]){var a=_0x351b05;this.endpoints=e,this.sdkEnabled=t,this[a(141)]=r,this[a(158)]=i,this[a(142)]=n,this[a(159)]=s}static[_0x351b05(161)](e){var t,r,i,n,s,a=_0x351b05;return new this(e[a(147)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[a(140)])&&void 0!==r&&r,null!==(i=e[a(154)])&&void 0!==i?i:WTConstants[a(144)][a(160)],null!==(n=e[a(146)])&&void 0!==n?n:WTConstants[a(144)][a(149)],null!==(s=e[a(139)])&&void 0!==s?s:WTConstants.DEFAULTS[a(151)])}static get[_0x351b05(143)](){var e=_0x351b05;return new this(WTConfigEndpoints.defaultValue,!0,!1,WTConstants[e(144)][e(160)],WTConstants[e(144)][e(149)],WTConstants[e(144)][e(151)])}}function _0x3592(e,t){var r=_0x203c();return(_0x3592=function(e,t){return r[e-=478]})(e,t)}function _0x203c(){var e=["2692qsaoUS","lastActiveTime","initialConfig","isVisibleFocused","blur","pageHideListener","inactiveDuration","popstateHandler","20aQlmrI","onStartHandler","pagehide","hashchange","1471218mnMxHT","isDeferred","setupUrlChangeListener","bind","startTicking","call","16fzHkNS","tickerJob","hashchangeHandler","DeepLink Received => ","pushState","onClickMatchHandler","unregisterListeners","now","replaceState","30cwDEDk","resumeTicking","originalPushState","371295uAIfzk","focus","deeplinkHandler","visibilityState","hidden","pauseTicking","2018613xiDblH","deeplinkEnabled","ActivityTicker: active duration= ","push","493941RhrbSI","removeUrlChangeListener","activeDuration","visibilitychange","addEventListener","removeEventListener"," (isDeferred: ","22PyCnTd","uri","onDeeplinkReceived","href","hasFocus","tickerDelay","isPaused","popstate","searchParams","727002LugcOr","6416520bfBFKo","apply","stopTicking","visibilityListener","log","get","checkForDeepLink","563Pqsmhl","WT_DEEPLINK_PARAM","originalReplaceState"];return(_0x203c=function(){return e})()}var _0x43569d=_0x3592;!function(){for(var e=_0x3592,t=_0x203c();;)try{if(386133===-parseInt(e(506))/1*(-parseInt(e(509))/2)+parseInt(e(478))/3+-parseInt(e(517))/4*(-parseInt(e(539))/5)+-parseInt(e(521))/6+-parseInt(e(482))/7*(-parseInt(e(527))/8)+-parseInt(e(498))/9*(parseInt(e(536))/10)+-parseInt(e(489))/11*(parseInt(e(499))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class LifecycleOvserver{constructor(){var e=_0x3592;this[e(494)]=1e3,this[e(495)]=!1,this.onStartHandler=null,this.deeplinkHandler=null,this.onClickMatchHandler=null,this[e(502)]=null,this[e(514)]=null,this.originalPushState=null,this.originalReplaceState=null,this[e(516)]=null,this[e(529)]=null}registerListeners(){var e=_0x3592;this.visibilityListener=()=>__awaiter(this,void 0,void 0,function*(){var e,t=_0x3592;this.isVisibleFocused()?(yield null===(e=this[t(518)])||void 0===e?void 0:e[t(526)](this),this.isPaused=!1):this[t(544)]()}),this[e(514)]=()=>{this.pauseTicking()},window[e(486)](e(519),this[e(514)]),window[e(486)](e(513),this[e(514)]),document.addEventListener(e(485),this[e(502)]),window.addEventListener("focus",this[e(502)]),this[e(523)](),this.checkForDeepLink()}[_0x43569d(523)](){var e=_0x43569d;this.originalPushState=history[e(531)][e(524)](history),this.originalReplaceState=history[e(535)].bind(history),history[e(531)]=(...t)=>{var r=e;this[r(538)][r(500)](history,t),this[r(505)]()},history[e(535)]=(...t)=>{var r=e;this[r(508)][r(500)](history,t),this.checkForDeepLink()},this[e(516)]=()=>this[e(505)](),this.hashchangeHandler=()=>this[e(505)](),window.addEventListener(e(496),this[e(516)]),window[e(486)](e(520),this.hashchangeHandler)}[_0x43569d(483)](){var e=_0x43569d;this[e(538)]&&(history[e(531)]=this[e(538)]),this.originalReplaceState&&(history[e(535)]=this.originalReplaceState),this[e(516)]&&window.removeEventListener(e(496),this[e(516)]),this[e(529)]&&window[e(487)](e(520),this[e(529)]),this.originalPushState=null,this[e(508)]=null,this[e(516)]=null,this[e(529)]=null}[_0x43569d(533)](){var e=_0x43569d;this[e(514)]&&(window[e(487)](e(519),this[e(514)]),window.removeEventListener(e(513),this[e(514)])),this[e(502)]&&(document[e(487)](e(485),this[e(502)]),window.removeEventListener(e(540),this.visibilityListener)),this[e(483)]()}checkForDeepLink(){var e,t=_0x43569d;const r=window.location[t(492)];if(new URL(r)[t(497)][t(504)](WTConstants[t(507)])){storageManager.appDeeplink=r;var i=storageManager.unmatchedDeeplinks;i[t(481)](r),storageManager.unmatchedDeeplinks=i,null===(e=this[t(532)])||void 0===e||e[t(526)](this,r),this[t(491)]({uri:r,isDeferred:!1})}}onDeeplinkReceived(e){var t,r,i=_0x43569d;WTLogger.debug(i(530)+e[i(490)]+i(488)+e[i(522)]+")"),!1!==(null===(t=storageManager[i(511)])||void 0===t?void 0:t[i(479)])&&(null===(r=this[i(541)])||void 0===r||r[i(526)](this,e[i(490)],e.isDeferred))}[_0x43569d(512)](){var e=_0x43569d;return"visible"===document[e(542)]&&document[e(493)]()}[_0x43569d(525)](){var e=_0x43569d;this.tickerJob&&clearInterval(this[e(528)]),this[e(528)]=setInterval(()=>{var t=e;this.isPaused||document[t(543)]||document[t(493)]()&&(console[t(503)](t(480)+storageManager[t(484)]/1e3+"s, inactive duration= "+storageManager[t(515)]/1e3+"s"),storageManager[t(510)]=Date[t(534)](),storageManager.activeDuration+=this[t(494)])},this[e(494)])}[_0x43569d(501)](){var e=_0x43569d;clearInterval(this.tickerJob),this[e(528)]=void 0}pauseTicking(){this[_0x43569d(495)]=!0}[_0x43569d(537)](){this[_0x43569d(495)]=!1}}const lifecycleOvserver=new LifecycleOvserver;function _0xce21(e,t){var r=_0x1dcb();return(_0xce21=function(e,t){return r[e-=463]})(e,t)}var _0x5957a2=_0xce21;!function(){for(var e=_0xce21,t=_0x1dcb();;)try{if(420218===parseInt(e(477))/1*(parseInt(e(472))/2)+-parseInt(e(476))/3*(-parseInt(e(475))/4)+parseInt(e(463))/5+parseInt(e(471))/6*(-parseInt(e(468))/7)+-parseInt(e(466))/8*(parseInt(e(470))/9)+-parseInt(e(473))/10+-parseInt(e(467))/11*(-parseInt(e(464))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAuth{constructor(e,t){var r=_0xce21;this.authToken=e,this[r(465)]=t}static[_0x5957a2(474)](e){var t=_0x5957a2;return new this(e.auth_token,e[t(469)])}}function _0x1dcb(){var e=["wiseId","8oSgIIp","11CuQuai","49CSfKrZ","wise_id","6817014EcMHcP","569418umCwop","22SsUWOH","637510ldcpJJ","fromJson","12ZRyOtd","444153wTsaCB","76177aKvBbp","937505ijAePQ","5233620BldBCQ"];return(_0x1dcb=function(){return e})()}function _0x5be5(e,t){var r=_0x3af0();return(_0x5be5=function(e,t){return r[e-=148]})(e,t)}var _0x292afc=_0x5be5;function _0x3af0(){var e=["391721lCPoED","2NxYEPC","95JBRdlA","10OuMSwu","203974nWFkIS","491896fFrjVW","72044uSIBue","3fYMOEI","74838ShmIKC","deeplink","fromJson","726644NCvoKc","1047159TxnOQx"];return(_0x3af0=function(){return e})()}!function(){for(var e=_0x5be5,t=_0x3af0();;)try{if(134491===-parseInt(e(154))/1*(parseInt(e(157))/2)+parseInt(e(160))/3*(parseInt(e(151))/4)+-parseInt(e(155))/5*(-parseInt(e(148))/6)+parseInt(e(159))/7+parseInt(e(158))/8+parseInt(e(152))/9*(-parseInt(e(156))/10)+-parseInt(e(153))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTDeferredLookup{constructor(e){this.deeplink=e}static[_0x292afc(150)](e){return new this(e[_0x292afc(149)])}}const _0x193d37=_0x16e5;!function(){const e=_0x16e5,t=_0xbc7c();for(;;)try{if(179651===parseInt(e(157))/1+parseInt(e(176))/2+parseInt(e(162))/3+parseInt(e(167))/4*(parseInt(e(204))/5)+parseInt(e(216))/6*(-parseInt(e(190))/7)+-parseInt(e(152))/8*(parseInt(e(180))/9)+-parseInt(e(212))/10*(-parseInt(e(155))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x16e5,t=new URLSearchParams(window[e(210)][e(209)]),r={};for(const[i,n]of t.entries())i[e(206)](e(150))&&n&&(r[i]=n);if(!r[e(205)]){const t=document[e(147)];r[e(205)]=t?new URL(t)[e(222)]:e(192)}return!r[e(153)]&&(r[e(153)]=e(170)),Object[e(164)](r).map(([e,t])=>e+"="+encodeURIComponent(t))[e(148)]("&")}static[_0x193d37(215)](e){const t=_0x193d37,r=e[t(173)](),i=String(e[t(214)]()+1)[t(184)](2,"0"),n=String(e[t(172)]())[t(184)](2,"0"),s=String(e[t(179)]())[t(184)](2,"0"),a=String(e.getMinutes())[t(184)](2,"0"),o=String(e.getSeconds())[t(184)](2,"0"),c=-e[t(166)]();return r+"-"+i+"-"+n+"T"+s+":"+a+":"+o+(""+(c>=0?"+":"-")+String(Math.floor(Math[t(207)](c)/60))[t(184)](2,"0")+String(Math[t(207)](c)%60)[t(184)](2,"0"))}}function _0x16e5(e,t){const r=_0xbc7c();return(_0x16e5=function(e,t){return r[e-=147]})(e,t)}function _0xbc7c(){const e=["documentElement","padStart","Next.js","[x-data], [x-init], [x-bind]","__REACT_DEVTOOLS_GLOBAL_HOOK__","wix.com","[data-reactroot], [data-reactid]","2496095Iukrjo","mix-manifest.json","other","svelte","from","React","wp-content","Svelte","WordPress","detectWebFramework","Angular","Gatsby.js","src","Squarespace","15dTQERa","utm_source","startsWith","abs","innerHTML","search","location","includes","10ifBlPk","Ghost CMS","getMonth","formattedDate","6WkwVqX","querySelectorAll","Shopify","/_next/","__reactContainer","Zepto.js","hostname","jQuery","referrer","join","/_nuxt/","utm_",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","184cZDAsH","utm_medium","static.squarespace.com","320441yMHutQ","keys","342807pWPLdR","Zepto","__VUE__","drupal-settings-json","Backbone","698877RIerGL","querySelector","entries","wp-includes","getTimezoneOffset","20348mOmsTI",'script[src*="angular.js"], script[src*="angular.min.js"]',"script[id=__NEXT_DATA__]","organic","textContent","getDate","getFullYear","Drupal","Meteor","66526reOUKT","[id=___gatsby]","scripts","getHours","45855jcTDVD","some",'meta[name="generator"][content*="Ghost"]'];return(_0xbc7c=function(){return e})()}Utils[_0x193d37(199)]=()=>{const e=_0x193d37;return document[e(163)](e(169))||Array[e(194)](document.scripts)[e(181)](t=>t[e(202)][e(211)](e(219)))?e(185):window[e(195)]||document[e(163)](e(189))||Array[e(194)](document[e(217)]("*")).some(t=>void 0!==t._reactRootContainer||Object[e(156)](t).some(t=>t[e(206)](e(220))))||window[e(187)]?e(195):Array[e(194)](document.scripts)[e(181)](t=>t.src[e(211)](e(149)))?"Nuxt.js":window[e(159)]||window.Vue||document[e(163)]("[data-v-app], [data-v-]")?"Vue.js":document.querySelector(e(177))?e(201):window||document[e(163)](e(151))||document[e(163)](e(168))||window.ng||document.querySelector("[ng-version]")?e(200):Array[e(194)](document[e(178)])[e(181)](t=>{const r=e;var i;return t[r(202)][r(211)](r(193))||(null===(i=t[r(171)])||void 0===i?void 0:i.includes(r(193)))})?e(197):document.querySelector(e(186))?"Alpine.js":window[e(223)]?"jQuery":window[e(161)]?"Backbone.js":window[e(175)]?"Meteor.js":window[e(158)]?e(221):document[e(163)]('meta[name="generator"][content*="WordPress"]')||Array[e(194)](document[e(178)])[e(181)](t=>t[e(202)].includes(e(196))||t[e(202)][e(211)](e(165)))?e(198):Array.from(document[e(178)])[e(181)](t=>t[e(202)][e(211)]("/js/app.js")||t.src[e(211)](e(191)))?"Laravel":document[e(163)]('meta[name="generator"][content*="Drupal"]')||document.documentElement[e(208)][e(211)](e(160))?e(174):document[e(183)].innerHTML.includes("cdn.shopify.com")?e(218):Array[e(194)](document[e(178)]).some(t=>t[e(202)].includes(e(154)))?e(203):Array[e(194)](document[e(178)])[e(181)](t=>t.src[e(211)](e(188)))?"Wix":document[e(163)](e(182))?e(213):void 0};const _0x468328=_0x1a71;function _0x1a71(e,t){const r=_0x23ce();return(_0x1a71=function(e,t){return r[e-=457]})(e,t)}!function(){const e=_0x1a71,t=_0x23ce();for(;;)try{if(754512===parseInt(e(481))/1*(parseInt(e(483))/2)+parseInt(e(465))/3*(parseInt(e(474))/4)+-parseInt(e(466))/5*(-parseInt(e(478))/6)+parseInt(e(471))/7*(-parseInt(e(462))/8)+-parseInt(e(464))/9+parseInt(e(482))/10+parseInt(e(467))/11*(-parseInt(e(461))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){const e=_0x1a71;this._country=null,this[e(468)]=0}[_0x468328(486)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1a71;return this[e(468)]>=2?null:(!this[e(477)]&&(this[e(477)]=yield this.tryAllEndpoints()),this[e(477)])})}[_0x468328(479)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1a71,t=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x1a71,t=yield this[e(476)](e(480),2e3);if(!t.ok)throw new Error(e(473));return(yield t[e(472)]()).country||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x1a71,t=yield this.fetchWithTimeout(e(459),2e3);if(!t.ok)throw new Error(e(484));return(yield t.json()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x1a71,t=yield this[e(476)](e(469),2e3);if(!t.ok)throw new Error(e(475));return(yield t.json())[e(457)]||null})][e(458)](t=>t()[e(470)](()=>null)),r=yield Promise[e(485)](t);return!r&&this._failedCount++,r||null})}[_0x468328(476)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x1a71,i=new AbortController,n=setTimeout(()=>i[r(460)](),t);try{return yield fetch(e,{signal:i[r(463)],headers:{"User-Agent":"Mozilla/5.0"}})}finally{clearTimeout(n)}})}}const countryFinder=new CountryFinder;function _0x23ce(){const e=["freeipapi failed","race","getCountryCode","country_code","map","https://free.freeipapi.com/api/json","abort","10572SKMarW","2176XppbEf","signal","8059410MQCxdU","3054099Qouqpj","1905720eNsBcu","3421rKUlzy","_failedCount","https://ipwho.is/","catch","15540hSckQr","json","country.is failed","4jypCKz","ipwho.is failed","fetchWithTimeout","_country","6BEjOTa","tryAllEndpoints","https://api.country.is","891881xAMdPu","2367750ZEAzho","2zsIKig"];return(_0x23ce=function(){return e})()}var props,TYPEOF_FUNCTION="function",TYPEOF_OBJECT="object",TYPEOF_STRING="string",TYPEOF_UNDEFINED="undefined",BROWSER="browser",CPU="cpu",DEVICE="device",ENGINE="engine",OS="os",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH="sec-ch-ua",CH_FULL_VER_LIST=CH+"-full-version-list",CH_ARCH=CH+"-arch",CH_BITNESS=CH+"-bitness",CH_FORM_FACTORS=CH+"-form-factors",CH_MOBILE=CH+"-"+MOBILE,CH_MODEL=CH+"-"+MODEL,CH_PLATFORM=CH+"-platform",CH_PLATFORM_VER=CH_PLATFORM+"-version",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion",ARCHITECTURE,"formFactors","bitness"],NAVIGATOR=typeof window!==TYPEOF_UNDEFINED&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if(typeof e===TYPEOF_OBJECT&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return typeof e===TYPEOF_STRING},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];typeof r==TYPEOF_OBJECT&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){return e=strip(/^\s\s*/,String(e)),typeof t===TYPEOF_UNDEFINED?e:e.substring(0,t)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,a,o,c=0;c<t.length&&!a;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!a&&u[r];)if(a=u[r++].exec(e))for(n=0;n<d.length;n++)o=a[++i],typeof(s=d[n])===TYPEOF_OBJECT&&s.length>0?2===s.length?typeof s[1]==TYPEOF_FUNCTION?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==TYPEOF_FUNCTION||s[1].exec&&s[1].test?3==s.length?this[s[0]]=o?o.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=o?s[3].call(this,o.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=o?s[3].apply(this,[o.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=o?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=o?s[1].call(this,o,s[2]):void 0):this[s]=o||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if(typeof t[r]===TYPEOF_OBJECT&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/norton\/([\w\.]+)/i],[VERSION,[NAME,"Norton Private Browser"]],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/ mms\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Neon"]],[/ opt\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[NAME],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[NAME,/(.+)/,"Zalo"],VERSION,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/ome-(lighthouse)$/i],[NAME,[TYPE,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ARCHITECTURE,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ARCHITECTURE,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ARCHITECTURE,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ARCHITECTURE,"arm"]],[/ sun4\w[;\)]/i],[[ARCHITECTURE,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[ARCHITECTURE,/ower/,"",lowerize]],[/mc680.0/i],[[ARCHITECTURE,"68k"]],[/winnt.+\[axp/i],[[ARCHITECTURE,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[VENDOR,strMapper,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],MODEL,[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) ([\w ]+) os\d/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[MODEL,[TYPE,SMARTTV]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[VERSION,[NAME,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[VERSION,[NAME,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[BROWSER,[NAME,VERSION,"major",TYPE]],[CPU,[ARCHITECTURE]],[DEVICE,[TYPE,MODEL,VENDOR]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),setProps.call(props.isIgnore,[[BROWSER,[VERSION,"major"]],[ENGINE,[VERSION]],[OS,[VERSION]]]),setProps.call(props.isIgnoreRgx,[[BROWSER,/ ?browser$/i],[OS,/ ?os$/i]]),setProps.call(props.toString,[[BROWSER,[NAME,VERSION]],[CPU,[ARCHITECTURE]],[DEVICE,[VENDOR,MODEL]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function a(){setProps.call(this,r)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(a.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,e!=TYPEOF_UNDEFINED)break}else if(e==TYPEOF_UNDEFINED&&t){t=!t;break}return t},a.prototype.toString=function(){var e="";for(var t in s)typeof this[s[t]]!==TYPEOF_UNDEFINED&&(e+=(e?" ":"")+this[s[t]]);return e||TYPEOF_UNDEFINED}),a.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:a.prototype.is,toString:a.prototype.toString,withClientHints:a.prototype.withClientHints,withFeatureCheck:a.prototype.withFeatureCheck};var i=new r;return e(i),i},new a};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e[CH])],["fullVersionList",itemListToArray(e[CH_FULL_VER_LIST])],[MOBILE,/\?1/.test(e[CH_MOBILE])],[MODEL,stripQuotes(e[CH_MODEL])],["platform",stripQuotes(e[CH_PLATFORM])],["platformVersion",stripQuotes(e[CH_PLATFORM_VER])],[ARCHITECTURE,stripQuotes(e[CH_ARCH])],["formFactors",itemListToArray(e[CH_FORM_FACTORS])],["bitness",stripQuotes(e[CH_BITNESS])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==TYPEOF_UNDEFINED&&(this[r]=e[r])}function UAItem(e,t,r,i){return setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if(typeof e===TYPEOF_OBJECT?(isExtensions(e,!0)?(typeof t===TYPEOF_OBJECT&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e!==TYPEOF_STRING||isExtensions(t,!0)||(r=t,t=void 0),r)if(typeof r.append===TYPEOF_FUNCTION){var i={};r.forEach(function(e,t){i[String(t).toLowerCase()]=e}),r=i}else{var n={};for(var s in r)r.hasOwnProperty(s)&&(n[String(s).toLowerCase()]=r[s]);r=n}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var a=typeof e===TYPEOF_STRING?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",o=new UACHData(r,!0),c=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var a in e)r[a]=i[a]&&i[a].length%2==0?i[a].concat(e[a]):e[a];return r}(defaultRegexes,t):defaultRegexes,u=function(e){return"result"==e?function(){return new UAItem(e,a,c,o).set("ua",a).set(BROWSER,this.getBrowser()).set(CPU,this.getCPU()).set(DEVICE,this.getDevice()).set(ENGINE,this.getEngine()).set(OS,this.getOS()).get()}:function(){return new UAItem(e,a,c[e],o).parseUA().get()}};return setProps.call(this,[["getBrowser",u(BROWSER)],["getCPU",u(CPU)],["getDevice",u(DEVICE)],["getEngine",u(ENGINE)],["getOS",u(OS)],["getResult",u("result")],["getUA",function(){return a}],["setUA",function(e){return isString(e)&&(a=trim(e,500)),this}]]).setUA(a),this}function _0x5940(e,t){const r=_0xceb4();return(_0x5940=function(e,t){return r[e-=245]})(e,t)}function _0xceb4(){const e=["innerHeight","devicePixelRatio","medium","desktop","high","mobile","250297WAtWHp","toFixed","screenType","toLowerCase","browser","long","72jMtlVv","carplay","height","8886YOeSgu","large","3436lwBfTp","matches","console","187144IGwtoQ","1231020KiUPPW","ontouchstart","embedded","oculus","96uyVvKx","android auto","screenSize","screenDensity","939631SobXSu","includes","matchMedia","type","505tRIwjV","tablet","getDeviceInfo","netcast","uiStyle","device","(prefers-color-scheme: dark)","screenFormat","pow","normal","vive","engine","sqrt","wearable","hbbtv","low","14139yBNzhT","model","maxTouchPoints","innerWidth","googletv"];return(_0xceb4=function(){return e})()}UAItem.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},UAItem.prototype.set=function(e,t){return this.data[e]=t,this},UAItem.prototype.setCH=function(e){return this.uaCH=e,this},UAItem.prototype.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case BROWSER:NAVIGATOR.brave&&typeof NAVIGATOR.brave.isBrave==TYPEOF_FUNCTION&&this.set(NAME,"Brave");break;case DEVICE:!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&typeof NAVIGATOR.standalone!==TYPEOF_UNDEFINED&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case OS:!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(BROWSER,t(BROWSER)).set(CPU,t(CPU)).set(DEVICE,t(DEVICE)).set(ENGINE,t(ENGINE)).set(OS,t(OS))}return this},UAItem.prototype.parseUA=function(){switch("result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),this.itemType){case BROWSER:this.set("major",majorize(this.get(VERSION)));break;case OS:if("iOS"==this.get(NAME)&&"18.6"==this.get(VERSION)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(VERSION,e[1])}}return this},UAItem.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case BROWSER:case ENGINE:var r,i=e.fullVersionList||e.brands;if(i)for(var n=0;n<i.length;n++){var s=i[n].brand||i[n],a=i[n].version;this.itemType==BROWSER&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,a).set("major",majorize(a)),r=s),this.itemType==ENGINE&&"Chromium"==s&&this.set(VERSION,a)}break;case CPU:var o=e[ARCHITECTURE];o&&(o&&"64"==e.bitness&&(o+="64"),rgxMapper.call(this.data,o+";",t));break;case DEVICE:if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case OS:var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var _=this.data,E=function(t){return _[t].getItem().setCH(e).parseCH().get()};this.set(BROWSER,E(BROWSER)).set(CPU,E(CPU)).set(DEVICE,E(DEVICE)).set(ENGINE,E(ENGINE)).set(OS,E(OS))}return this},UAParser.VERSION="2.0.9",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize([ARCHITECTURE]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x38b844=_0x5940;!function(){const e=_0x5940,t=_0xceb4();for(;;)try{if(141530===parseInt(e(297))/1+parseInt(e(257))/2+parseInt(e(262))/3*(-parseInt(e(254))/4)+parseInt(e(270))/5*(-parseInt(e(252))/6)+-parseInt(e(266))/7+parseInt(e(249))/8*(-parseInt(e(286))/9)+parseInt(e(258))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x5940,t=(new UAParser).getResult();return{browser:t[e(247)],os:t.os,device:t[e(275)],engine:t[e(281)],cpu:t.cpu,ua:t.ua}}get[_0x38b844(265)](){const e=_0x38b844;return window[e(292)]>=3?e(295):window.devicePixelRatio>=2?e(293):e(285)}get[_0x38b844(277)](){const e=_0x38b844;return window[e(291)]>window[e(289)]?e(248):"normal"}get[_0x38b844(264)](){const e=_0x38b844,t=window[e(289)];return t<480?"small":t<768?e(279):t<1440?e(253):"xlarge"}get uiMode(){const e=_0x38b844;var t,r,i;const n=this[e(272)](),s=(null===(t=n[e(275)])||void 0===t?void 0:t[e(269)])||"",a=(null===(i=null===(r=n[e(275)])||void 0===r?void 0:r[e(287)])||void 0===i?void 0:i[e(246)]())||"",o=n.ua[e(246)]();return s===e(283)||a[e(267)]("watch")?6:"smarttv"===s||o[e(267)]("smart-tv")||o[e(267)](e(284))||o[e(267)](e(273))||o.includes(e(290))||o[e(267)]("appletv")?4:s===e(256)||o[e(267)]("playstation")||o[e(267)]("xbox")||o.includes("nintendo")?5:o.includes("car")||o.includes(e(263))||o[e(267)](e(250))?3:o[e(267)](e(261))||o[e(267)](e(280))||o[e(267)]("vr")||s===e(260)?7:s===e(296)||s===e(271)?1:""===s||s===e(294)?2:0}get[_0x38b844(274)](){const e=_0x38b844;return window[e(268)]&&window.matchMedia(e(276))[e(255)]?"1":"0"}get displaySize(){const e=_0x38b844,t=window[e(292)]||1,r=screen.width*t/160,i=screen[e(251)]*t/160;return Math[e(282)](Math[e(278)](r,2)+Math[e(278)](i,2))[e(298)](2)}get[_0x38b844(245)](){const e=_0x38b844;return e(259)in window||navigator[e(288)]>0?"touch":"pointer"}}const deviceDetector=new DeviceDetector,_0x2785bc=_0xae29;function _0xae29(e,t){const r=_0x44b6();return(_0xae29=function(e,t){return r[e-=239]})(e,t)}!function(){const e=_0xae29,t=_0x44b6();for(;;)try{if(804089===-parseInt(e(245))/1+-parseInt(e(239))/2+-parseInt(e(250))/3+-parseInt(e(251))/4+parseInt(e(260))/5*(parseInt(e(244))/6)+-parseInt(e(265))/7*(parseInt(e(253))/8)+parseInt(e(254))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0xae29(241)]=null}[_0x2785bc(242)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xae29;if(this[e(241)])return this[e(241)];const t=this[e(256)](),r=this[e(261)](),i=yield this[e(259)]();return this[e(241)]={localStorage:t,sessionStorage:r,indexedDB:i},this.supportResults})}[_0x2785bc(247)](e){const t=_0x2785bc;let r=0;for(let i=0;i<e[t(248)];i++){const n=e[t(266)](i);if(!n)continue;const s=e[t(240)](n);null!=s&&(r+=2*n[t(248)],r+=2*s[t(248)])}return r}[_0x2785bc(256)](){const e=_0x2785bc;try{const t=e(264);return localStorage[e(249)](t,"1"),localStorage[e(258)](t),!0}catch(e){return!1}}isSessionStorageSupported(){const e=_0x2785bc;try{const t=e(264);return sessionStorage[e(249)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}[_0x2785bc(259)](){const e=_0x2785bc;return e(255)in window?new Promise(t=>{const r=e;try{const e=indexedDB.open("__test__check__");e[r(263)]=()=>t(!1),e[r(246)]=()=>{const i=r;e[i(257)][i(252)](),indexedDB[i(243)]("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise[e(262)](!1)}}const storageSupport=new StorageSupport;function _0x44b6(){const e=["1258284clLDSk","4084812TNRKjB","close","721976IsFuoQ","50176350GPkHhU","indexedDB","isLocalStorageSupported","result","removeItem","isIndexedDBSupported","5MzprZc","isSessionStorageSupported","resolve","onerror","__test__","98mQOdnv","key","2432116POfoyi","getItem","supportResults","getSupportResult","deleteDatabase","1062606RvaRPC","1028015HauyHO","onsuccess","getStorageSizeBytes","length","setItem"];return(_0x44b6=function(){return e})()}function _0x4559(){const e=["textBaseline","isWebGLSupported","toDataURL","7LkKEZW","890304yXQyga","10506152piqJOP","null","canvas","29502cUMMKD","VENDOR","webgl","getCanvasFingerprint","#f60","join","hashData","toString","9588YtZjhU","getContext","all","132422DolBjw","4bYKlbB","height","320120AUagIe","UNMASKED_RENDERER_WEBGL","fillRect","getWebGLFingerprint","alphabetic","width","getExtension","length","generateFingerprint","23526usKFFl","117GVjLmR","font","VERSION","experimental-webgl","padStart","top","getParameter","charCodeAt","createElement","95VWdkvi","UNMASKED_VENDOR_WEBGL","14px Arial","fillStyle","4790752bRfgjS"];return(_0x4559=function(){return e})()}const _0xb65e4a=_0x15ee;function _0x15ee(e,t){const r=_0x4559();return(_0x15ee=function(e,t){return r[e-=330]})(e,t)}!function(){const e=_0x15ee,t=_0x4559();for(;;)try{if(677772===-parseInt(e(345))/1*(-parseInt(e(346))/2)+-parseInt(e(330))/3+parseInt(e(371))/4+parseInt(e(367))/5*(-parseInt(e(357))/6)+-parseInt(e(375))/7*(-parseInt(e(331))/8)+-parseInt(e(358))/9*(-parseInt(e(348))/10)+parseInt(e(334))/11*(-parseInt(e(342))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0xb65e4a(373)](){const e=_0xb65e4a;try{const t=document[e(366)](e(333));return!(!t.getContext(e(336))&&!t[e(343)](e(361)))}catch(e){return!1}}static[_0xb65e4a(356)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x15ee,[t,r]=yield Promise[e(344)]([this[e(351)](),this.getCanvasFingerprint()]),i=(t||e(332))+"|"+(r||e(332));return this.hashData(i)})}static[_0xb65e4a(351)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x15ee;try{const t=document[e(366)](e(333)),r=t.getContext(e(336))||t[e(343)]("experimental-webgl");if(!r)return;const i=r[e(354)]("WEBGL_debug_renderer_info"),n=[r[e(364)](r[e(360)]),r[e(364)](r.SHADING_LANGUAGE_VERSION),r[e(364)](r[e(335)]),i?r[e(364)](i[e(368)]):"",i?r.getParameter(i[e(349)]):"",r[e(364)](r.MAX_TEXTURE_SIZE).toString()][e(339)]("|");return this[e(340)](n)}catch(e){return}})}static[_0xb65e4a(337)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x15ee;try{const t=document[e(366)](e(333));t[e(353)]=200,t[e(347)]=50;const r=t[e(343)]("2d");if(!r)return;return r[e(372)]=e(352),r[e(359)]=e(369),r[e(372)]=e(363),r[e(370)]=e(338),r[e(350)](125,1,78,20),r[e(370)]="#069",r.fillText("WiseTrack 🐾",2,15),this[e(340)](t[e(374)]())}catch(e){return}})}static[_0xb65e4a(340)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x15ee;let r=0;for(let i=0;i<e[t(355)];i++){r=(r<<5)-r+e[t(365)](i),r&=r}return(r>>>0)[t(341)](16)[t(362)](16,"0")})}}const _0x133731=_0x41b0;function _0x41b0(e,t){const r=_0x4f38();return(_0x41b0=function(e,t){return r[e-=150]})(e,t)}function _0x4f38(){const e=["SDK","fromEntries","getStorageSizeBytes","appFrameWork","hostname","deviceId","lastSessionStart","14wxGbHX","language","sessionCount","entries","browser","CONFIG","757648HOxdNx","version","outerHeight","other","96yDLOQA","sdk_requested_at","name","map","performance","type","deeplinkEnabled","localStorage","displaySize","PARAMETERS_VALUE","screenSize","innerHeight","floor","lastActiveTime","generateFingerprint","vendor","PLATFORM","indexedDB","1782360CYCjfv","customDeviceId","clientSessionId","assign","928452sJqbOH","sdkVersion","getLocalFields","screenFormat","17900kvyWXi","device","activeDuration","7iuYpRB","getApplicationFields","time_spent","hardwareConcurrency","getSupportResult","now","nextClientSessionId","18GrKbCF","835054kaOAmp","4604udeiGj","engine","screenType","3853750pIeGqz","location","toFixed","getDeviceFields","getDeviceInfo","sessionStorage","appVersion","pushToken","architecture","formattedDate","cpu","screenDensity","outerWidth","split","246diQbig","toString","userEnvironment","toLowerCase","appToken","DEFAULTS","build","DEFAULT_ENVIRONMENT"];return(_0x4f38=function(){return e})()}!function(){const e=_0x41b0,t=_0x4f38();for(;;)try{if(213901===parseInt(e(194))/1*(-parseInt(e(162))/2)+-parseInt(e(179))/3*(parseInt(e(150))/4)+parseInt(e(222))/5+-parseInt(e(226))/6*(parseInt(e(153))/7)+-parseInt(e(200))/8*(-parseInt(e(160))/9)+-parseInt(e(165))/10+-parseInt(e(161))/11*(-parseInt(e(204))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x133731(185)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x41b0,t=window[e(208)][e(158)]();let r={};return r[e(205)]=Utils[e(174)](new Date),Object.assign(r,this[e(228)]()),Object.assign(r,yield this[e(154)]()),Object[e(225)](r,this[e(168)]()),r[e(155)]=Math[e(216)]((window[e(208)][e(158)]()-t)/1e3),WTConstants[e(184)][e(213)]?Object[e(188)](Object[e(197)](r)[e(207)](([t,r])=>[t,null==r?WTConstants[e(184)][e(213)]:r])):Object[e(188)](Object[e(197)](r).filter(([e,t])=>null!=t))})}[_0x133731(154)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x41b0,t=yield storageSupport[e(157)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder.getCountryCode(),package_name:window[e(166)][e(191)],session_storage_enabled:t[e(170)],indexed_db_enabled:t[e(221)],local_storage_enabled:t[e(211)],session_storage:storageSupport[e(189)](sessionStorage)[e(167)](0),local_storage:storageSupport[e(189)](localStorage)[e(167)](0),web_gl_support:DeviceFingerprint.isWebGLSupported(),web_gl_fingerprint:yield DeviceFingerprint[e(218)]()}})}[_0x133731(228)](){const e=_0x133731,t=storageManager.initialConfig;return t?{uuid:storageManager[e(192)],app_token:t[e(183)],environment:t[e(181)]||WTConstants[e(199)][e(186)],store_name:e(203),app_version:t[e(171)],push_token:storageManager[e(172)],custom_device_id:t[e(223)],default_tracker:t.defaultTracker,platform:WTConstants[e(187)][e(220)],framework:t.appFrameWork.toLowerCase(),initiated_by:WTConstants.SDK[e(220)]+"_"+t[e(190)][e(182)](),initiated_version:storageManager[e(227)],client_secret:t.clientSecret,deeplink_enabled:t[e(210)]||!0,referrer:Utils.getUTMParamsString(),installed_at:storageManager.initialDate,session_count:storageManager[e(196)],subsession_count:storageManager.subSessionCount,session_length:parseInt((storageManager[e(152)]/1e3).toString()),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(180)]()),cs_id:storageManager[e(224)],next_cs_id:storageManager[e(159)],last_session_created_at:storageManager[e(193)],last_active_time:null!=storageManager[e(217)]?Utils[e(174)](new Date(storageManager[e(217)])):void 0,wise_id:storageManager.wiseId}:{}}getDeviceFields(){const e=_0x133731,t=deviceDetector[e(169)]();return{browser_version:t[e(198)][e(201)],browser_name:t.browser.name,device_manufacturer:t[e(151)][e(219)],device_name:t[e(151)].model,device_type:t[e(151)][e(209)],os_name:t.os[e(206)],os_version:t.os[e(201)],cpu_type:t[e(175)][e(173)],web_user_agent:t.ua,display_height:window[e(215)][e(167)](0),display_width:window.innerWidth.toFixed(0),language:navigator[e(195)][e(178)]("-")[0],screen_density:deviceDetector[e(176)],screen_format:deviceDetector[e(229)],screen_size:deviceDetector[e(214)],ui_mode:deviceDetector.uiMode.toString(),cpu_lpc:navigator[e(156)][e(180)](),ui_style:deviceDetector.uiStyle,wout_width:window[e(177)],wout_height:window[e(202)],web_engine:t[e(163)].name,web_engine_version:t[e(163)][e(201)],display_size:deviceDetector[e(212)],screen_type:deviceDetector[e(164)]}}}const fieldsBuilder=new FieldsBuilder;!function(){for(var e=_0x2b73,t=_0x1a03();;)try{if(177523===parseInt(e(477))/1+parseInt(e(473))/2+parseInt(e(472))/3*(parseInt(e(462))/4)+-parseInt(e(463))/5*(-parseInt(e(461))/6)+parseInt(e(474))/7+parseInt(e(476))/8+-parseInt(e(464))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTApiError extends Error{constructor(e){var t=_0x2b73;super(e),this[t(470)]=new.target[t(470)]}}class ConnectionError extends WTApiError{constructor(e){var t=_0x2b73;super(e),this[t(465)]=null,this[t(469)]=!0,this[t(466)]=t(467)+(null!=e?e:"")}}class HttpError extends WTApiError{constructor(e,t){var r=_0x2b73;super(t),this[r(465)]=e,this[r(469)]=e>=500,this[r(466)]=null!=t?t:r(475)}}function _0x1a03(){var e=["Unknown Error: ","3DZFTbz","421440NTXqsK","4837HqJxqb","Server error occurred","1573808ohuZKC","51238wOeWAI","162wXGeDz","1356836UjlXWz","60310oGHowb","8520615HsmdeO","statusCode","localizedMessage","Network error: ","Failed to decode the response: ","shouldRetryRequest","name"];return(_0x1a03=function(){return e})()}class DecodingError extends WTApiError{constructor(e){var t=_0x2b73;super(e),this[t(465)]=null,this[t(469)]=!0,this[t(466)]=t(468)+(null!=e?e:"")}}function _0x2b73(e,t){var r=_0x1a03();return(_0x2b73=function(e,t){return r[e-=461]})(e,t)}class UnknownError extends WTApiError{constructor(e,t){var r=_0x2b73;super(e),this[r(469)]=!1,this[r(465)]=null!=t?t:null,this[r(466)]=r(471)+(null!=e?e:"")}}function _0x1338(e,t){var r=_0x41aa();return(_0x1338=function(e,t){return r[e-=445]})(e,t)}var _0x556e2c=_0x1338;function _0x41aa(){var e=["126chTdbm","8899698GXOHli","1109694WzgoJk","307476fdLmEz","maxRetries","16648230FIcuQj","canRetry","2877864VTQSoU","9xsquDb","6933CvOZlt","5McIKra","5157488YCvEQF"];return(_0x41aa=function(){return e})()}!function(){for(var e=_0x1338,t=_0x41aa();;)try{if(771227===-parseInt(e(445))/1*(parseInt(e(448))/2)+parseInt(e(450))/3+-parseInt(e(451))/4+parseInt(e(446))/5*(parseInt(e(449))/6)+parseInt(e(447))/7+parseInt(e(455))/8*(parseInt(e(456))/9)+-parseInt(e(453))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){this[_0x1338(452)]=e,this.retryInterval=t}[_0x556e2c(454)](e){return e<this[_0x556e2c(452)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,this.retryInterval))})}}function _0x47c8(e,t){const r=_0x5321();return(_0x47c8=function(e,t){return r[e-=361]})(e,t)}const _0x2855ba=_0x47c8;!function(){const e=_0x47c8,t=_0x5321();for(;;)try{if(719154===parseInt(e(401))/1+parseInt(e(389))/2+parseInt(e(387))/3+-parseInt(e(404))/4+parseInt(e(398))/5*(-parseInt(e(365))/6)+parseInt(e(414))/7*(parseInt(e(410))/8)+parseInt(e(373))/9*(parseInt(e(371))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class NetworkManager{constructor(){this[_0x47c8(361)]=null}[_0x2855ba(413)](e){this[_0x2855ba(361)]=e}[_0x2855ba(390)](){return new RetryPolicy}[_0x2855ba(375)](e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x47c8;var i;const n=t[r(392)]||1,s=!1!==t[r(409)];let a,o;try{a=new URL(e,EnvironmentUtils[r(385)])}catch(t){return new UnknownError(r(399)+EnvironmentUtils.baseUrl+e+r(405))}WTLogger.debug("🚀 REQUEST ("+n+r(407)+(t.method||r(411))+" "+a,r(376),t[r(416)]||{});const c=Object.assign({Accept:r(394),"Cache-Control":r(393),Pragma:r(364),Expires:"0"},t[r(378)]);if(s){const e=storageManager[r(388)];e&&(c[r(377)]=r(384)+e)}t[r(416)]&&(c[r(395)]="application/json",o=JSON[r(380)](t[r(416)]));try{const u=yield fetch(a,{method:t[r(366)]||"POST",headers:c,body:o,cache:"no-store",mode:r(382),keepalive:!0});if(!u.ok){if(401===u[r(368)]&&s){WTLogger[r(367)](r(362));const s=yield null===(i=this[r(361)])||void 0===i?void 0:i[r(363)](this);return s instanceof WTApiError?(WTLogger[r(372)](r(396),s[r(369)]),new HttpError(401,r(406))):(WTLogger[r(367)](r(386)),this[r(375)](e,Object[r(379)](Object[r(379)]({},t),{retryAttempt:n})))}let a="";try{const e=yield u[r(408)]();a=e;const t=JSON[r(412)](e);t[r(403)]&&(a=t[r(403)])}catch(e){WTLogger.error(r(370)+e,e)}return WTLogger[r(383)](r(400)+u[r(368)]+r(415),a),new HttpError(u[r(368)],a)}try{const e=yield u[r(391)]();return WTLogger.debug(r(402)+u[r(368)]+r(415),e[r(403)]||r(381)),e}catch(e){return new DecodingError(e.message||String(e))}}catch(i){return WTLogger[r(372)](r(374),i),this.retryPolicy().canRetry(n)?(yield this[r(390)]()[r(397)](),this.sendRequest(e,Object[r(379)](Object.assign({},t),{retryAttempt:n+1}))):new ConnectionError(i.message||"Unknown error")}})}}function _0x5321(){const e=["Content-Type","❌ Token refresh failed:","waitBeforeRetry","730110sBztgW","Internal Error: ","❌ API ERROR (","511057JeIuhU","✅ API SUCCESS (","message","3523460bNcSCl"," is not a valid URL Endpoint","Authentication failed",") => ","text","needsAuthentication","8PTDtMW","POST","parse","setRefreshHandler","243502ytDmWZ",") =>","params","refreshHandler","🔄 Token expired, attempting to refresh...","call","no-cache","36RQDvwp","method","debug","status","localizedMessage","Decoding api error response failed: ","2089310boDKmI","error","9bKmGWA","Error executing request","sendRequest","-- PARAMETERS =>","Authorization","headers","assign","stringify","Request successful","cors","warn","Bearer ","baseUrl","✅ Token refreshed, retrying request...","1141299hSGvfF","authToken","2681888MhNfSP","retryPolicy","json","retryAttempt","no-store, no-cache, must-revalidate, proxy-revalidate","application/json"];return(_0x5321=function(){return e})()}const networkManager=new NetworkManager,_0x3fe25a=_0x2914;function _0xe3c0(){const e=["45205RCpaLF","Client Secret is not provided","sdk_updated_at","hostname","3132480ycBTow","appFrameWork","formattedDate","243UkyLOY","refreshTokenPromise","doCallRequest","build","appVersion","toLowerCase","6fnppUp","appToken","setRefreshHandler","sendRequest","CONFIG_PATH","44pVcTQC","139815nTCyKo","doGetAuthToken","sdkVersion","16882390OpBXgM","doGetConfig","clientSecret","doSendHeartbeat","isRefreshingToken","config","181058KZOPbF","result","Initial Config is not provided","endpoints","initialConfig","101760nyMSPn","authToken","996618vkaaMI","SDK","wiseId","fromJson","DEFERRED_LOOKUPS_PATH","refreshToken"];return(_0xe3c0=function(){return e})()}function _0x2914(e,t){const r=_0xe3c0();return(_0x2914=function(e,t){return r[e-=286]})(e,t)}!function(){const e=_0x2914,t=_0xe3c0();for(;;)try{if(283227===parseInt(e(292))/1*(-parseInt(e(307))/2)+parseInt(e(298))/3+parseInt(e(297))/4*(parseInt(e(320))/5)+-parseInt(e(324))/6+-parseInt(e(314))/7+-parseInt(e(312))/8*(parseInt(e(286))/9)+parseInt(e(301))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ApiClient{constructor(){const e=_0x2914;this.refreshTokenPromise=null,networkManager[e(294)](this[e(319)])}[_0x3fe25a(302)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2914,t=storageManager[e(311)];if(!t)return new UnknownError(e(309));const r=WTConstants[e(315)].PLATFORM,i=t[e(325)][e(291)](),n={app_token:t[e(293)],app_version:t[e(290)],framework:i,package_name:window.location[e(323)],platform:r,sdk_version:storageManager[e(300)],initiated_by:r+"_"+i,store_name:"other"},s=yield networkManager[e(295)](SecureConfig[e(296)],{params:n,needsAuthentication:!1});return s instanceof WTApiError?s:WTConfig[e(317)](s[e(308)])})}[_0x3fe25a(299)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2914;var t,r,i;if(!(null===(t=storageManager[e(311)])||void 0===t?void 0:t[e(303)]))return new UnknownError(e(321));const n=yield fieldsBuilder[e(289)](),s=yield networkManager.sendRequest(null!==(i=null===(r=storageManager[e(306)])||void 0===r?void 0:r.endpoints.auth)&&void 0!==i?i:SecureConfig.AUTH_PATH,{params:n,needsAuthentication:!1});if(s instanceof WTApiError)return s;const a=WTAuth[e(317)](s[e(308)]);return storageManager[e(313)]=a[e(313)],storageManager[e(316)]=a[e(316)],!0})}doGetDeferredData(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2914;var t,r;const i=yield fieldsBuilder[e(289)](),n=yield networkManager[e(295)](null!==(r=null===(t=storageManager[e(306)])||void 0===t?void 0:t.endpoints.deferredLookups)&&void 0!==r?r:SecureConfig[e(318)],{params:i});return n instanceof WTApiError?n:WTDeferredLookup[e(317)](n[e(308)])})}[_0x3fe25a(304)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2914;var r,i;return!((yield networkManager[t(295)](null!==(i=null===(r=storageManager[t(306)])||void 0===r?void 0:r[t(310)].heartbeats)&&void 0!==i?i:SecureConfig.HEARTBEATS_PATH,{params:e}))instanceof WTApiError)})}[_0x3fe25a(288)](e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x2914;return t[r(322)]=Utils[r(326)](new Date),yield networkManager.sendRequest(e,{params:t})})}[_0x3fe25a(319)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2914;if(this[e(287)])return this[e(287)];this.refreshTokenPromise=apiClient[e(299)]();try{return yield this[e(287)]}finally{this[e(287)]=null}})}get[_0x3fe25a(305)](){return null!==this.refreshTokenPromise}}const apiClient=new ApiClient,_0x4849db=_0x5ad0;function _0x2e2a(){const e=["warn","DeferredLookup => SDK is not enabled!","SDK is disabled form server, contact your administrator!","getConfig","configureSDK","503787MZgrPx","7XjYakk","deferredData","17381944kPIXPp","deeplink","authToken","sdkEnabled","sdkUpdate","66369dUfUkw","doGetDeferredData","debug","doGetConfig","3156068jWrNsi","shouldRetryRequest","SDK Authentication set","initialConfig","deferredLinkHandled","DeferredLookup => deferred link was handled before","checkSdkUpdate","2204436UDFmFB","info","getAuth","3271240dxQDex","localizedMessage","config","‼️ Configuration failed: ","doGetAuthToken","deferredLookup","wiseId","checkSdkEnabled","482088XEAbRf"];return(_0x2e2a=function(){return e})()}function _0x5ad0(e,t){const r=_0x2e2a();return(_0x5ad0=function(e,t){return r[e-=198]})(e,t)}!function(){const e=_0x5ad0,t=_0x2e2a();for(;;)try{if(602692===parseInt(e(213))/1+-parseInt(e(207))/2+-parseInt(e(221))/3+-parseInt(e(225))/4+-parseInt(e(199))/5+-parseInt(e(232))/6+parseInt(e(214))/7*(parseInt(e(216))/8))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigure{[_0x4849db(212)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5ad0;storageManager[t(228)]=e,yield this[t(211)](),yield this[t(198)](),this[t(204)]()})}getConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ad0;let t=yield apiClient[e(224)]();if(t instanceof WTApiError&&!t[e(226)])throw storageManager[e(219)]=!1,Error(e(202)+t[e(200)]);storageManager[e(201)]=t instanceof WTConfig?t:storageManager[e(201)]||WTConfig.defaultValue;let r=storageManager[e(201)];this[e(231)](r),this.checkSdkEnabled(r),WTLogger[e(233)]("SDK Config set")})}getAuth(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ad0;if(null!=storageManager[e(218)]&&null!=storageManager[e(205)])return void WTLogger.info("Already Authorized");let t=yield apiClient[e(203)]();if(t instanceof WTApiError&&!t[e(226)])throw storageManager.sdkEnabled=!1,Error("⛔ Authentication failed: "+t[e(200)]);WTLogger[e(233)](e(227))})}[_0x4849db(204)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ad0;if(!storageManager[e(219)])return void WTLogger[e(223)](e(209));if(storageManager[e(229)])return void WTLogger[e(223)](e(230));let t=yield apiClient[e(222)]();if(t instanceof WTApiError)return t[e(226)]?new Promise(t=>setTimeout(()=>{t(this[e(204)]())},3e3)):void(storageManager[e(229)]=!0);storageManager[e(215)]=t,lifecycleOvserver.onDeeplinkReceived({uri:t[e(217)],isDeferred:!0}),storageManager[e(229)]=!0})}[_0x4849db(206)](e){const t=_0x4849db;if(storageManager.sdkEnabled=e.sdkEnabled,!e[t(219)])throw new Error(t(210))}[_0x4849db(231)](e){const t=_0x4849db;e[t(220)]&&WTLogger[t(208)]("A new version of the SDK is available. It is recommended to update to the latest version")}}const configure=new WTConfigure;function _0x278e(e,t){const r=_0x366b();return(_0x278e=function(e,t){return r[e-=244]})(e,t)}!function(){const e=_0x278e,t=_0x366b();for(;;)try{if(850813===parseInt(e(249))/1+parseInt(e(251))/2*(-parseInt(e(244))/3)+-parseInt(e(253))/4*(-parseInt(e(246))/5)+-parseInt(e(247))/6+parseInt(e(252))/7*(parseInt(e(245))/8)+-parseInt(e(250))/9+parseInt(e(254))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateUUID:()=>crypto[_0x278e(248)]()};function _0x366b(){const e=["16994830MQbJnj","30mukaZx","1325008mzKwQO","679655laQjMk","10003644wIeAZO","randomUUID","371851TYgvkp","3099402vBPcHp","188334YEZorq","56PUjgyr","12aceRgE"];return(_0x366b=function(){return e})()}const _0x35aeed=_0x1bfa;function _0x1bfa(e,t){const r=_0x1c09();return(_0x1bfa=function(e,t){return r[e-=361]})(e,t)}!function(){const e=_0x1bfa,t=_0x1c09();for(;;)try{if(956144===-parseInt(e(371))/1*(-parseInt(e(375))/2)+-parseInt(e(374))/3+-parseInt(e(372))/4+parseInt(e(368))/5+parseInt(e(376))/6+-parseInt(e(361))/7+parseInt(e(363))/8*(-parseInt(e(378))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x1bfa;this[r(366)]=0,this[r(370)]=3,this.id=crypto.randomUUID(),this[r(362)]=e,this[r(367)]=t,this[r(380)]=Date[r(377)]()}}function _0x1c09(){const e=["426CensvS","2876932fuwkdQ","push","1080996yAHOTY","6316qqVbIz","9104736lnVUcn","now","832581vTsYts","length","createdAt","5746909JfCQQp","endpoint","72LlBxoZ","acquire","waitingQueue","retryCount","parameters","4132565ENQmpd","locked","maxRetries"];return(_0x1c09=function(){return e})()}class Mutex{constructor(){const e=_0x1bfa;this[e(369)]=!1,this[e(365)]=[]}[_0x35aeed(364)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x1bfa;this[t(369)]?this[t(365)][t(373)](e):(this[t(369)]=!0,e())})})}release(){const e=_0x35aeed;if(this.waitingQueue[e(379)]>0){this[e(365)].shift()()}else this[e(369)]=!1}}const _0x3e4d40=_0x3eca;function _0x3eca(e,t){const r=_0x2f5f();return(_0x3eca=function(e,t){return r[e-=113]})(e,t)}!function(){const e=_0x3eca,t=_0x2f5f();for(;;)try{if(547254===-parseInt(e(168))/1+-parseInt(e(170))/2+parseInt(e(133))/3*(parseInt(e(141))/4)+-parseInt(e(147))/5+parseInt(e(126))/6*(-parseInt(e(145))/7)+parseInt(e(157))/8+parseInt(e(175))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x3eca;this.isInitialized=!1,this.isProcessing=!1,this.mutex=new Mutex,this[e(140)]=null,this[e(135)]=100,this.activeRequests=new Map,this[e(153)]=0,this[e(181)]=3e4,this[e(143)]=2,this[e(183)]=1e3,this.MAX_CONCURRENT_REQUESTS=1}[_0x3e4d40(163)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;this[e(130)]=!0,!this[e(142)]&&(yield this[e(177)]())})}shutdown(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;this.isInitialized&&(yield this[e(165)](),this[e(130)]=!1,this[e(184)][e(139)]())})}[_0x3e4d40(131)](){const e=_0x3e4d40;return{queueLength:this[e(117)]().length,isProcessing:this.isProcessing,activeRequests:this[e(184)].size,isInBackoffDelay:this[e(153)]>0&&Date[e(154)]()<this[e(153)],backoffEndsAt:this[e(153)]>0?this[e(153)]:null}}[_0x3e4d40(177)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;if(this[e(130)]){yield this.mutex[e(116)]();try{if(this[e(142)])return;this.isProcessing=!0;const t=this.getQueue()[e(144)]((t,r)=>(t[e(138)]||0)-(r[e(138)]||0));this[e(128)](t),this[e(140)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(124)]()}catch(e){WTLogger.error(t(152),e)}}),this[e(135)])}finally{this[e(188)][e(156)]()}yield this[e(124)]()}else WTLogger[e(186)](e(150))})}[_0x3e4d40(165)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;yield this[e(188)][e(116)]();try{this[e(142)]=!1,this[e(140)]&&(clearInterval(this[e(140)]),this.processingInterval=null)}finally{this[e(188)][e(156)]()}const t=Array[e(115)](this[e(184)][e(164)]())[e(114)](t=>t[e(190)]);if(t[e(148)]>0)try{yield Promise[e(173)]([Promise[e(132)](t),new Promise(e=>setTimeout(e,5e3))])}catch(t){WTLogger[e(186)](e(176),t)}})}[_0x3e4d40(160)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3eca;yield this.mutex[t(116)]();try{if(!this[t(136)](e))return;const r=this[t(117)]();r[t(162)](e),this[t(128)](r),this.failedRequestDelay=0}finally{this.mutex[t(156)]()}this[t(142)]&&this.activeRequests[t(122)]<this.MAX_CONCURRENT_REQUESTS&&(yield this[t(137)]())})}[_0x3e4d40(124)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;if(this.isProcessing){if(this[e(153)]>0){if(Date[e(154)]()<this[e(153)])return;this[e(153)]=0}for(;this[e(184)][e(122)]<this[e(169)]&&this[e(161)]();)yield this[e(137)]()}})}[_0x3e4d40(161)](){const e=_0x3e4d40,t=this.getQueue();if(0===t[e(148)])return!1;const r=t[0];return!this[e(184)][e(166)](r.id)}[_0x3e4d40(137)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3eca;let t=null;yield this.mutex[e(116)]();try{const r=this.getQueue();if(0===r.length)return;if(t=r[0],this[e(184)][e(166)](t.id))return;r[e(182)](),this[e(128)](r)}finally{this[e(188)][e(156)]()}if(t){const r=this[e(171)](t);this.activeRequests[e(178)](t.id,{request:t,promise:r}),r[e(159)](r=>{this[e(158)](t,r)})[e(125)](r=>{const i=e;WTLogger[i(189)](i(120)+t[i(129)]+":",r),this[i(158)](t,{success:!1,retry:!0})})}})}finishRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x3eca;yield this[r(188)].acquire();try{if(this[r(184)][r(187)](e.id),t.success)WTLogger[r(127)](r(121)+e[r(129)]);else if(t[r(151)])if(e.retryCount++,e.retryCount>=e[r(123)]){const t=this[r(174)](e[r(119)]);this[r(153)]=Date.now()+t;const i=this[r(117)]();i[r(162)](e),this[r(128)](i)}else{const t=this[r(117)]();t[r(162)](e),this[r(128)](t)}}finally{this[r(188)][r(156)]()}this.activeRequests[r(122)]<this.MAX_CONCURRENT_REQUESTS&&(yield this[r(137)]())})}[_0x3e4d40(171)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3eca;WTLogger[t(127)](t(155)+e[t(129)]+t(167)+e.id);try{const r=yield apiClient[t(118)](e[t(129)],e[t(180)]);return r instanceof WTApiError?{success:!1,retry:r.shouldRetryRequest}:{success:r[t(113)],retry:!1}}catch(r){return WTLogger.error(t(185)+e[t(129)]+":",r),{success:!1,retry:!0}}})}[_0x3e4d40(174)](e){const t=_0x3e4d40,r=this.BASE_DELAY_MS*Math.pow(this[t(143)],e-1);return Math[t(146)](r,this[t(181)])}getQueue(){return storageManager.requestRecords}[_0x3e4d40(128)](e){storageManager[_0x3e4d40(149)]=e}[_0x3e4d40(136)](e){const t=_0x3e4d40;if(e[t(129)]===WTEndpoints[t(172)]){const e=this[t(117)]()[t(179)](e=>e[t(129)]===WTEndpoints[t(172)]),r=Array[t(115)](this[t(184)][t(164)]()).some(e=>e[t(134)][t(129)]===WTEndpoints[t(172)]);return!storageManager.sdkClickSubmit&&(!e&&!r)}return!0}}function _0x2f5f(){const e=["35362djYYjq","MAX_CONCURRENT_REQUESTS","2087876wYhxpT","sendRequest","SDK_CLICKS","race","calculateBackoffDelay","6191316rljwiy","Error waiting for active requests:","startProcessing","set","some","parameters","MAX_DELAY_MS","shift","BASE_DELAY_MS","activeRequests","Error sending request ","warn","delete","mutex","error","promise","success","map","from","acquire","getQueue","doCallRequest","retryCount","Error processing request ","✓ Request finished: ","size","maxRetries","processQueues","catch","822HhEiwd","debug","saveQueue","endpoint","isInitialized","getQueueStatus","all","93aSoeBc","request","PROCESSING_INTERVAL_MS","canAddRequest","processNextRequest","createdAt","clear","processingInterval","110512tcpscB","isProcessing","BACKOFF_MULTIPLIER","sort","20594JbUKfM","min","2974295wTVRTs","length","requestRecords","Queue Manager is not initialized. Call initialize() first.","retry","Error in processing loop:","failedRequestDelay","now","💥 Sending request (","release","8640600IBxrpY","finishRequest","then","addRequest","canProcessNext","push","initialize","values","stopProcessing","has","): id="];return(_0x2f5f=function(){return e})()}const queueManager=new RequestsQueueManager;function _0x50bb(e,t){const r=_0x51e4();return(_0x50bb=function(e,t){return r[e-=117]})(e,t)}function _0x51e4(){const e=["2765874KjOOaF","2292072CYoGwI","6612039kuBKUq","appFrameWork","1155916NnpLUe","location","104DDSKwM","345160GEKywQ","toLowerCase","deviceId","initialConfig","deeplink","56450DmtBUB","other","6cvIZmX","appVersion","clientSessionId","SDK","2855986pLGokD","formattedDate","PLATFORM","wiseId"];return(_0x51e4=function(){return e})()}!function(){const e=_0x50bb,t=_0x51e4();for(;;)try{if(855560===parseInt(e(117))/1+-parseInt(e(136))/2+parseInt(e(135))/3+-parseInt(e(119))/4*(-parseInt(e(125))/5)+parseInt(e(127))/6*(parseInt(e(131))/7)+-parseInt(e(120))/8+-parseInt(e(137))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ClickMatchFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x50bb;super(),this[t(124)]=e}build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x50bb;let t=storageManager,r=t[e(123)];return new Promise(i=>{const n=e;i({cs_id:t[n(129)],wise_id:t[n(134)],uuid:t[n(122)],client_secret:null==r?void 0:r.clientSecret,app_token:null==r?void 0:r.appToken,store_name:n(126),platform:WTConstants[n(130)][n(133)],framework:null==r?void 0:r[n(138)][n(121)](),package_name:window[n(118)].hostname,app_version:null==r?void 0:r[n(128)],sdk_requested_at:Utils[n(132)](new Date),deeplink:this[n(124)]})})})}}function _0x15d1(){const e=["1208978FCpjNL","type","3122312KNnbqm","13228aCQgDs","eventCount","2118750OChBZZ","6xhjgAT","currency","2737455BWPLGC","revenue","build","amount","length","event","keys","73404KlGFBt","3777670FtOpKO","create","params"];return(_0x15d1=function(){return e})()}function _0x3de5(e,t){const r=_0x15d1();return(_0x3de5=function(e,t){return r[e-=205]})(e,t)}!function(){const e=_0x3de5,t=_0x15d1();for(;;)try{if(438156===-parseInt(e(211))/1+-parseInt(e(215))/2+parseInt(e(221))/3*(parseInt(e(218))/4)+parseInt(e(212))/5+parseInt(e(220))/6+parseInt(e(223))/7+-parseInt(e(217))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x3de5;super(),this[t(209)]=e}build(){const e=_0x3de5,t=Object[e(213)](null,{build:{get:()=>super.build}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(206)].call(this),n={event_type:this[r(209)][r(216)],event_name:this.event.name,event_count:storageManager[r(219)]};return Object[r(210)](this[r(209)][r(214)])[r(208)]>0&&(n.event_params=this[r(209)][r(214)]),this.event[r(216)]===r(205)&&(n.revenue=this[r(209)][r(207)],n[r(222)]=this.event[r(222)]),i[r(209)]=n,new Promise(e=>e(i))})}}const _0x3d7f82=_0x1ee2;!function(){const e=_0x1ee2,t=_0x17c5();for(;;)try{if(388067===-parseInt(e(238))/1+-parseInt(e(256))/2+parseInt(e(194))/3+-parseInt(e(267))/4*(parseInt(e(246))/5)+-parseInt(e(210))/6+parseInt(e(263))/7+parseInt(e(249))/8*(parseInt(e(250))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){this[_0x1ee2(258)]=!1,this.initialized=!1}get[_0x3d7f82(220)](){return storageManager.sdkEnabled}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;this[e(234)](),this[e(229)](),storageManager.appStartTime=Date[e(214)](),this.addObservers(),this.initialized=!0})}[_0x3d7f82(207)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;if(!this[e(220)])return WTLogger[e(212)](e(195));WTLogger[e(208)](e(201)),this[e(258)]=!0,yield queueManager.initialize(),yield this[e(271)](),yield this[e(253)](),this.setActivityTimes(),this.createAttribution(),this[e(242)]()})}[_0x3d7f82(213)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;this[e(258)]=!1,lifecycleOvserver[e(205)](),yield queueManager.shutdown(),WTLogger.debug("WT Tracker stopped")})}[_0x3d7f82(211)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;lifecycleOvserver.stopTicking(),lifecycleOvserver[e(202)]()})}checkPushToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1ee2;storageManager.pushToken=e,this[t(220)]?this[t(198)]?storageManager[t(262)]!==e?yield this[t(265)]({endpoint:WTEndpoints[t(269)]}):WTLogger[t(196)]("This Notification token has sent to server previously"):WTLogger[t(212)](t(268)):WTLogger.warn(t(224))})}[_0x3d7f82(216)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1ee2;this[t(220)]?this[t(198)]?(storageManager.eventCount+=1,yield this[t(265)]({endpoint:WTEndpoints[t(252)],fBuilder:new EventFieldsBuilder(e)})):WTLogger[t(212)](t(251)):WTLogger[t(212)](t(225))})}[_0x3d7f82(261)](e){lifecycleOvserver.deeplinkHandler=e}getCountryCode(){countryFinder.getCountryCode()}createAttribution(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;return this.isEnabled?this[e(258)]?void(yield this[e(265)]({endpoint:WTEndpoints[e(247)]})):WTLogger[e(212)](e(200)):WTLogger[e(212)](e(197))})}[_0x3d7f82(253)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;return this.isEnabled?this[e(258)]?void(storageManager.firstSessionSubmit?WTLogger[e(208)](e(241)):(storageManager.sessionCount=1,storageManager[e(235)]=1,storageManager.activeDuration=0,storageManager[e(218)]=0,storageManager[e(193)]=null,yield this[e(265)]({endpoint:WTEndpoints.SESSIONS}),storageManager[e(217)]=Utils[e(228)](new Date),storageManager.firstSessionSubmit=!0)):WTLogger.warn(e(270)):WTLogger.warn(e(199))})}[_0x3d7f82(271)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;return this[e(220)]?storageManager[e(222)]?WTLogger[e(208)](e(272)):(yield this[e(265)]({endpoint:WTEndpoints[e(221)]}),void(storageManager[e(222)]=!0)):WTLogger.warn(e(254))})}createRequest(e){return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:t=fieldsBuilder}){const r=_0x1ee2;WTLogger.debug(r(257)+e+r(266));const i=yield t[r(232)](),n=new RequestRecord(e,i);yield queueManager[r(236)](n)})}createDeviceID(){const e=_0x3d7f82;!storageManager.deviceId&&(storageManager.deviceId=cryptoHelper[e(245)]()),!storageManager.initialDate&&(storageManager[e(237)]=Utils[e(228)](new Date)),!storageManager[e(206)]&&(storageManager.clientSessionId=cryptoHelper.generateUUID())}checkDeepLinks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1ee2;for(const t of storageManager[e(230)])yield this.createClickMatch(t)})}[_0x3d7f82(215)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1ee2;if(!this.isEnabled)return WTLogger[t(208)](t(204));if(!this[t(258)])return WTLogger[t(208)]("Failed to create click-match: SDK is not running!");const r=storageManager.unmatchedDeeplinks;yield this[t(265)]({endpoint:WTEndpoints[t(255)],fBuilder:new ClickMatchFieldsBuilder(e)}),storageManager[t(230)]=r[t(233)](t=>t!==e)})}[_0x3d7f82(226)](){return __awaiter(this,arguments,void 0,function*(e=0){const t=_0x1ee2;var r,i;if(e>=100)return WTLogger.warn("Failed to check activity times: Maximum retry attempts reached. Please ensure the SDK is enabled and initialized beforehand");if(!this[t(220)])return WTLogger.debug(t(223)),new Promise(t=>setTimeout(()=>{t(this.setActivityTimes(e+1))},1e3));if(!this[t(258)])return WTLogger[t(208)]("Failed to check activity times: SDK is not running!, try after 1s ..."),new Promise(r=>setTimeout(()=>{r(this[t(226)](e+1))},1e3));if(storageManager.lastActiveTime&&storageManager[t(219)]){storageManager[t(264)]=storageManager[t(244)];const e=storageManager.appStartTime-storageManager[t(264)];storageManager[t(218)]+=e,WTLogger[t(208)](t(248)+e/1e3+t(203)+storageManager[t(218)]/1e3+t(259));const n=null===(r=storageManager[t(231)])||void 0===r?void 0:r.sessionInterval,s=null===(i=storageManager[t(231)])||void 0===i?void 0:i[t(209)];n&&s&&(e>1e3*parseInt(n)?(storageManager.sessionCount+=1,storageManager[t(193)]=cryptoHelper[t(245)](),yield this[t(265)]({endpoint:WTEndpoints.SESSIONS}),storageManager[t(217)]=Utils.formattedDate(new Date),storageManager.clientSessionId=storageManager[t(193)],storageManager[t(193)]=null,storageManager.activeDuration=0,storageManager[t(218)]=0,storageManager[t(235)]=1):e>1e3*parseInt(s)&&(storageManager[t(235)]+=1))}storageManager[t(244)]=Date[t(214)](),lifecycleOvserver[t(227)]()})}addObservers(){const e=_0x3d7f82;lifecycleOvserver[e(239)]=()=>__awaiter(this,void 0,void 0,function*(){const t=e;this[t(258)]&&(storageManager[t(219)]=Date.now(),yield this[t(226)](),this[t(243)]())}),lifecycleOvserver[e(260)]=e=>{this.createClickMatch(e)},lifecycleOvserver[e(240)]()}}const tracker=new WTTracker;function _0x1ee2(e,t){const r=_0x17c5();return(_0x1ee2=function(e,t){return r[e-=193]})(e,t)}function _0x17c5(){const e=["startTracking","debug","subsessionInterval","3266964NULXbr","destroy","warn","stopTracking","now","createClickMatch","trackEvent","lastSessionStart","inactiveDuration","appStartTime","isEnabled","SDK_CLICKS","sdkClickSubmit","Failed to check activity times: SDK is not enabled!, try after 1s ...","CheckPushToken: SDK is not enabled","trackEvent: SDK is not enabled","setActivityTimes","startTicking","formattedDate","createDeviceID","unmatchedDeeplinks","config","build","filter","getCountryCode","subSessionCount","addRequest","initialDate","382914FMftpI","onStartHandler","registerListeners","First-Session has already submitted","checkDeepLinks","createAttribution","lastActiveTime","generateUUID","11825pHywlx","ATTRIBUTIONS","User was inactived for ","5560pzlHMB","15957oVYKRx","trackEvent: SDK is not initialized yet","EVENTS","checkFirstSession","Creating Install: SDK is not enabled!","CLICK_MATCHES","286794mxyKJr","Adding ","isRunning","s Totaly)","onClickMatchHandler","setOnDeeplinkListener","fcmToken","997633OmWGti","inactiveTime","createRequest"," request to queue","244qmcYCi","CheckPushToken: SDK is not initialized yet","PUSH_TOKENS","Creating First Session: SDK is not running!","checkSdkClicks","SDK-Clicks has already submitted","nextClientSessionId","685149zGkcuq","SDK is not enabled to start tracking!","info","Creating Attribution: SDK is not enabled!","initialized","Creating First Session: SDK is not enabled!","Creating Attribution: SDK is not running!","WT Tracker started","unregisterListeners","s | (","Failed to create click-match: SDK is not enabled!","stopTicking","clientSessionId"];return(_0x17c5=function(){return e})()}const _0x43f6b1=_0x1f89;function _0x3b60(){const e=["‼️ Start Tracking: SDK is not initialized yet","clear","762384KoPJyx","deferredData","info","appDeeplink","570878YdUHzz","602499oBeOiC","startTracking","90vcjTrb","155742mgLDtL","4ogsXBR","startTrackerAutomatically","sdkEnabled","error","Clearing Data and stop tracker!","init","8NUJqsT","deeplink","setOnDeeplinkListener","Start Tracking: SDK is not enabled!","trim","stopTracking","trackEvent","WiseTrack is already initialized!","getDeferredDeeplink","setLogLevel","config","initialize","sdkInitialized","Config is not set!","‼️ AppToken is empty!","6989970qKvdsg","SDK is disabled form server, contact your adminstrator!","performInitialization","instance","appToken","247941exfKtO","‼️ Track Event: SDK is not initialized yet","setFCMToken","logLevel","configureSDK","getLastDeeplink","setLevel","clientSecret","1268650iKSHgO","warn","64bhcfQH","isEnabled","initializationPromise"];return(_0x3b60=function(){return e})()}function _0x1f89(e,t){const r=_0x3b60();return(_0x1f89=function(e,t){return r[e-=157]})(e,t)}!function(){const e=_0x1f89,t=_0x3b60();for(;;)try{if(759445===-parseInt(e(173))/1+-parseInt(e(174))/2*(parseInt(e(170))/3)+-parseInt(e(180))/4*(-parseInt(e(158))/5)+parseInt(e(195))/6+-parseInt(e(165))/7+-parseInt(e(160))/8*(-parseInt(e(200))/9)+parseInt(e(172))/10*(-parseInt(e(169))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x43f6b1(198)](){return!WiseTrack._instance&&(WiseTrack._instance=new WiseTrack),WiseTrack._instance}constructor(){this.sdkInitialized=!1,this.initializationPromise=null}[_0x43f6b1(179)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1f89;if(this[t(162)])return this[t(162)];if(this.sdkInitialized)WTLogger[t(167)](t(187));else if(""!==e[t(199)][t(184)]()){if(""!==e[t(157)][t(184)]())return e.logLevel&&WTLogger[t(206)](e[t(203)]),this.initializationPromise=this[t(197)](e),tracker[t(191)](),this.initializationPromise;WTLogger[t(177)]("‼️ ClientSecret is empty!")}else WTLogger.error(t(194))})}performInitialization(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1f89;var r,i;try{yield configure[t(204)](e),this.sdkInitialized=!0;if(null===(r=e[t(175)])||void 0===r||r){const r=1e3*(null!==(i=e.trackingWaitingTime)&&void 0!==i?i:0);r>0?setTimeout(()=>this[t(171)](),r):yield this[t(171)]()}}catch(e){throw this.initializationPromise=null,e}})}[_0x43f6b1(189)](e){WTLogger.setLevel(e)}flush(){const e=_0x43f6b1;WTLogger.info(e(178)),storageManager[e(164)](),this.stopTracking()}isEnabled(){return storageManager[_0x43f6b1(176)]}setEnabled(e){const t=_0x43f6b1,r=storageManager[t(190)];if(!r)throw new Error(t(193));if(!r[t(176)])throw new Error(t(196));storageManager[t(176)]=e}[_0x43f6b1(171)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1f89;this[e(192)]?this.isEnabled()?yield tracker[e(171)]():WTLogger[e(159)](e(183)):WTLogger[e(159)](e(163))})}[_0x43f6b1(185)](){return __awaiter(this,void 0,void 0,function*(){yield tracker.stopTracking()})}[_0x43f6b1(202)](e){return __awaiter(this,void 0,void 0,function*(){yield tracker.checkPushToken(e)})}[_0x43f6b1(186)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1f89;this[t(192)]?this[t(161)]()?yield tracker[t(186)](e):WTLogger[t(159)]("Track Event: SDK is not enabled!"):WTLogger[t(159)](t(201))})}[_0x43f6b1(182)](e){tracker[_0x43f6b1(182)](e)}[_0x43f6b1(205)](){return storageManager[_0x43f6b1(168)]}[_0x43f6b1(188)](){const e=_0x43f6b1;var t;return(null===(t=storageManager[e(166)])||void 0===t?void 0:t[e(181)])||null}}const _0x2d353b=_0x598c;function _0x598c(e,t){const r=_0x224f();return(_0x598c=function(e,t){return r[e-=157]})(e,t)}function _0x224f(){const e=["EUR","26592631hnTnSe","JPY","30snhxaD","ZAR","LTC","NZD","125792FPBUXc","BRL","7013413TCTgeR","EHT","7716145IwObtj","NOK","SGD","CAD","KRW","8lHCpSG","6AvhuJi","119IRlvED","AUD","4KcFJnh","AED","1697247HHCPbO","BTC","IRR","75564EwrbMp","IQD","USD","SEK","TRY","HKD","INR","MXN","12ChkrBU","CNY","727893qjjqmO","OMR"];return(_0x224f=function(){return e})()}!function(){const e=_0x598c,t=_0x224f();for(;;)try{if(801992===parseInt(e(174))/1*(-parseInt(e(179))/2)+parseInt(e(189))/3*(-parseInt(e(170))/4)+parseInt(e(165))/5*(-parseInt(e(171))/6)+parseInt(e(172))/7*(-parseInt(e(161))/8)+-parseInt(e(176))/9*(-parseInt(e(157))/10)+parseInt(e(163))/11+-parseInt(e(187))/12*(-parseInt(e(192))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x2d353b(181),EUR:_0x2d353b(191),JPY:_0x2d353b(193),GBP:"GBP",AUD:_0x2d353b(173),CAD:_0x2d353b(168),CHF:"CHF",CNY:_0x2d353b(188),SEK:_0x2d353b(182),NZD:_0x2d353b(160),MXN:_0x2d353b(186),SGD:_0x2d353b(167),HKD:_0x2d353b(184),NOK:_0x2d353b(166),KRW:_0x2d353b(169),TRY:_0x2d353b(183),RUB:"RUB",INR:_0x2d353b(185),BRL:_0x2d353b(162),ZAR:_0x2d353b(158),IRR:_0x2d353b(178),AED:_0x2d353b(175),IQD:_0x2d353b(180),SAR:"SAR",OMR:_0x2d353b(190),BTC:_0x2d353b(177),EHT:_0x2d353b(164),LTC:_0x2d353b(159)},_0x2626af=_0x96d7;function _0x96d7(e,t){const r=_0x2583();return(_0x96d7=function(e,t){return r[e-=301]})(e,t)}function _0x2583(){const e=['" is not valid. Please use different characters',"Key cannot be '","containsDangerousChars","some","381msRPjV","10TuSGBa","5279139SjcuCz","SQL_INJECTION_PATTERNS","no_parameters","2016174bKSRgY","test","Key length must not exceed ","6238SJXTbE","Key must be a non-empty string","length",'key "','value "',"containsScriptInjection","858248cqyvsY","includes","isMaliciousContent","2066192gJVkPM","DANGEROUS_CHARS","85937CxSjTu","MAX_LENGTH","FORBIDDEN_KEY","Value cannot be null or undefined","5TfwyrW","containsSQLInjection","SCRIPT_INJECTION_PATTERNS","WTEventValidationError","1775158zMaBct","name","string"];return(_0x2583=function(){return e})()}!function(){const e=_0x96d7,t=_0x2583();for(;;)try{if(221308===-parseInt(e(309))/1+-parseInt(e(332))/2*(parseInt(e(324))/3)+-parseInt(e(304))/4+parseInt(e(313))/5*(parseInt(e(329))/6)+parseInt(e(317))/7+-parseInt(e(307))/8+-parseInt(e(326))/9*(-parseInt(e(325))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x96d7;super(e),this[t(318)]=t(316)}}class WTEventValidator{static containsSQLInjection(e){const t=_0x96d7;return this[t(327)][t(323)](r=>r[t(330)](e))}static[_0x2626af(303)](e){return this[_0x2626af(315)].some(t=>t.test(e))}static[_0x2626af(322)](e){const t=_0x2626af;return this.DANGEROUS_CHARS[t(323)](r=>e[t(305)](r))}static[_0x2626af(306)](e){const t=_0x2626af;if(this[t(314)](e))return!0;if(this[t(303)](e))return!0;if(this[t(322)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(306)](r))return!0}catch(e){}return!1}static validateKey(e){const t=_0x2626af;if(!e||typeof e!==t(319))throw new WTEventValidationError(t(333));if(e[t(334)]>this[t(310)])throw new WTEventValidationError(t(331)+this[t(310)]+" characters");if(e===this[t(311)])throw new WTEventValidationError(t(321)+this[t(311)]+"'");if(this[t(306)](e))throw new WTEventValidationError(t(301)+e+t(320))}static validateValue(e){const t=_0x2626af;if(null==e)throw new WTEventValidationError(t(312));const r=String(e);if(r[t(334)]>this.MAX_LENGTH)throw new WTEventValidationError("Value length must not exceed "+this[t(310)]+" characters");if(this[t(306)](r))throw new WTEventValidationError(t(302)+e+t(320))}}WTEventValidator[_0x2626af(310)]=50,WTEventValidator[_0x2626af(311)]=_0x2626af(328),WTEventValidator.SQL_INJECTION_PATTERNS=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator[_0x2626af(315)]=[/<script[^>]*>.*?<\/script>/i,/javascript:/i,/on(load|click|error|focus|blur|change|submit|mouseover|keyup|keydown)\s*=/i,/<iframe[^>]*>.*?<\/iframe>/i,/<object[^>]*>.*?<\/object>/i,/<embed[^>]*>/i,/vbscript:/i,/expression\s*\(/i,/<svg[^>]*on\w+\s*=/i,/data:text\/html/i],WTEventValidator[_0x2626af(308)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x21f256=_0x4edb;function _0x3aca(){const e=["1386fVyJXw","10qcYoYi","type","1808685CzQRGd",'WTEvent validation failed for key "',"default","94jPMYHt","validateValue","warn","name","amount","93cCtgtd","4289KLdHAg","message","validateAndSetParams","2736UcMBqa","currency","726306GpnhTu","2383491jFoLgq","revenueEvent","10faiGev","revenue","61980bFTsDy","5313540gQletz"];return(_0x3aca=function(){return e})()}function _0x4edb(e,t){const r=_0x3aca();return(_0x4edb=function(e,t){return r[e-=474]})(e,t)}!function(){const e=_0x4edb,t=_0x3aca();for(;;)try{if(427455===parseInt(e(475))/1*(-parseInt(e(493))/2)+parseInt(e(474))/3*(parseInt(e(485))/4)+parseInt(e(488))/5*(-parseInt(e(480))/6)+-parseInt(e(487))/7*(parseInt(e(478))/8)+parseInt(e(490))/9*(-parseInt(e(483))/10)+parseInt(e(481))/11+parseInt(e(486))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,i,n){const s=_0x4edb;this[s(489)]=e,this[s(496)]=t,this[s(497)]=r,this[s(479)]=i,this.params={},n&&this[s(477)](n)}static defaultEvent(e,t){return new WTEvent(_0x4edb(492),e,void 0,void 0,t)}static[_0x21f256(482)](e,t,r,i){return new WTEvent(_0x21f256(484),e,t,r,i)}validateAndSetParams(e){const t=_0x21f256;for(const[r,i]of Object.entries(e))try{WTEventValidator.validateKey(r),WTEventValidator[t(494)](i),this.params[r]=i}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(495)](t(491)+r+'": '+e[t(476)]),e;throw e}}}function _0x1aad(e,t){var r=_0x4485();return(_0x1aad=function(e,t){return r[e-=273]})(e,t)}function _0x4485(){var e=["30QepLcj","8978CDZjNM","40XDasQp","431940WvwPQd","40360veDuac","637iInpYM","9515748jUSDUm","12CCtoaM","715030WJwwJm","1829628rCBkya","960903KsSrGg"];return(_0x4485=function(){return e})()}!function(){for(var e=_0x1aad,t=_0x4485();;)try{if(231339===-parseInt(e(279))/1*(parseInt(e(278))/2)+-parseInt(e(280))/3+-parseInt(e(275))/4+parseInt(e(274))/5*(parseInt(e(273))/6)+-parseInt(e(282))/7*(parseInt(e(281))/8)+parseInt(e(276))/9*(parseInt(e(277))/10)+parseInt(e(283))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;