wisetrack 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const _0x266c5a=_0x1f63;function _0x1f63(e,t){const r=_0x11ec();return(_0x1f63=function(e,t){return r[e-=409]})(e,t)}function _0x11ec(){const e=["4948440gwBfdi","2.0.7","920NvDezY","5925DMXDRA","3016ggaakA","1595dkKfcE","67026YldCJU","3CuNMHn","2365354EXJCZI","10449BfMcJj","info","1800","127812OURjOk","854KPorOh","640985RaPOez","300"];return(_0x11ec=function(){return e})()}!function(){const e=_0x1f63,t=_0x11ec();for(;;)try{if(892320===-parseInt(e(413))/1+-parseInt(e(423))/2*(-parseInt(e(422))/3)+parseInt(e(419))/4*(parseInt(e(418))/5)+-parseInt(e(421))/6*(-parseInt(e(412))/7)+parseInt(e(417))/8*(parseInt(e(424))/9)+-parseInt(e(415))/10+-parseInt(e(420))/11*(parseInt(e(411))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:"web",VERSION:_0x266c5a(416)},CONFIG:{DEFAULT_ENVIRONMENT:"production"},DEFAULTS:{LOG_LEVEL:_0x266c5a(409),SESSION_INTERVAL:_0x266c5a(410),SUBSESSION_INTERVAL:_0x266c5a(414),PARAMETERS_VALUE:void 0}},_0xaac5dc=_0x179e;!function(){const e=_0x179e,t=_0x4e99();for(;;)try{if(431587===parseInt(e(426))/1*(parseInt(e(439))/2)+-parseInt(e(432))/3+parseInt(e(421))/4*(-parseInt(e(424))/5)+parseInt(e(417))/6*(-parseInt(e(436))/7)+-parseInt(e(422))/8*(parseInt(e(433))/9)+-parseInt(e(415))/10+parseInt(e(430))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();function _0x179e(e,t){const r=_0x4e99();return(_0x179e=function(e,t){return r[e-=415]})(e,t)}const WTLogLevel={DEBUG:_0xaac5dc(416),INFO:_0xaac5dc(440),WARN:"warn",ERROR:"error",NONE:"none"};function _0x4e99(){const e=["error","224lxgNwB","4285784eCgqed","log","1935NbkDGB","warn","14BCzwYP","setLevel","prefix","shouldLog","12687961idcOgb","toUpperCase","372618CDQbCV","9iUWiXo","level","outputEngines","2684822WsaVGc","indexOf","setPrefix","51694MIxMwf","info","DEFAULTS","185750fOzonO","debug","6xIUelF","push","addOutputEngine"];return(_0x4e99=function(){return e})()}class WTLogger{static[_0xaac5dc(427)](e){this[_0xaac5dc(434)]=e}static[_0xaac5dc(438)](e){this[_0xaac5dc(428)]=e}static[_0xaac5dc(419)](e){const t=_0xaac5dc;this[t(435)][t(418)](e)}static[_0xaac5dc(429)](e){const t=_0xaac5dc,r=[t(416),t(440),t(425),t(420)],n=r[t(437)](this[t(434)]);return r[t(437)](e)>=n}static[_0xaac5dc(423)](e,...t){const r=_0xaac5dc;if(!this[r(429)](e))return;const n="["+this[r(428)]+"-"+e[r(431)]()+"]";for(const i of this[r(435)])i(e,n,t)}static[_0xaac5dc(416)](...e){const t=_0xaac5dc;this[t(423)](t(416),...e)}static[_0xaac5dc(440)](...e){const t=_0xaac5dc;this[t(423)](t(440),...e)}static[_0xaac5dc(425)](...e){const t=_0xaac5dc;this[t(423)](t(425),...e)}static error(...e){this.log("error",...e)}}function _0x347f(){var e=["ACTIVE_TIME","false","DEVICE_ID","activeDuration","PENDING_REQUEST_QUEUE","getJson","440150BYDgbg","pushToken","setItem","optionalBool","REQUEST_QUEUE","SDK_ENVIRONMENT","initialDate","1884933CGxXHa","SESSION_LENGTH","true","sdkEnvironment","SDK_CLICK_SUBMIT","FCM_TOKEN","config","WT.RequestQueue","sdkClickSubmit","WT.InitialConfigs","optionalNumber","WT.SubSessionCount","setJson","WT.FirstSessionSubmit","FIRST_SESSION_SUBMIT","EVENT_COUNT","getItem","WT.SdkEnabled","WT.SdkClickSubmit","SDK_ENABLED","WT.SessionLenght","PUSH_TOKEN","867062pHJeWv","toString","WT.Configs","SESSION_COUNT","INITIAL_CONFIG","inactiveTime","Error in encoding object for key '","sdkEnabled","WT.SdkEnvironment","': ","INACTIVE_TIME","WT.ActiveTime","initialConfig","fcmToken","subSessionCount","6158728cgIhpe","activeTime","1UrkVTy","3095451tmUuPl","WT.DeviceId","pendingRequestRecords","sessionCount","Error in JSON decoding for key '","INITIAL_DATE","error","removeItem","WT.InitialDate","SUBSESSION_COUNT","INACTIVE_DURATION","2661114NACcDF","CONFIG","eventCount","deviceId","WT.InactiveTime","32SJhgfk","inactiveDuration","parse","firstSessionSubmit","WT.InactiveDuration","788724jSXyos","requestRecords","clear"];return(_0x347f=function(){return e})()}WTLogger[_0xaac5dc(434)]=WTConstants[_0xaac5dc(441)].LOG_LEVEL,WTLogger[_0xaac5dc(428)]="WT",WTLogger[_0xaac5dc(435)]=[(e,t,r)=>{const n=_0x179e;switch(e){case"debug":console[n(416)](t,...r);break;case n(440):console[n(440)](t,...r);break;case n(425):console[n(425)](t,...r);break;case n(420):console[n(420)](t,...r);break;default:console[n(423)](t,...r)}}];var _0x5a1d6c=_0x1038;function _0x1038(e,t){var r=_0x347f();return(_0x1038=function(e,t){return r[e-=343]})(e,t)}!function(){for(var e=_0x1038,t=_0x347f();;)try{if(778916===parseInt(e(410))/1*(parseInt(e(355))/2)+parseInt(e(371))/3+parseInt(e(408))/4+-parseInt(e(364))/5+-parseInt(e(345))/6+parseInt(e(393))/7+parseInt(e(350))/8*(-parseInt(e(411))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x5a1d6c(412),INITIAL_DATE:_0x5a1d6c(419),INITIAL_CONFIG:_0x5a1d6c(380),SDK_ENVIRONMENT:_0x5a1d6c(401),CONFIG:_0x5a1d6c(395),SDK_CLICK_SUBMIT:_0x5a1d6c(389),FIRST_SESSION_SUBMIT:_0x5a1d6c(384),SDK_ENABLED:_0x5a1d6c(388),FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:"WT.EventCount",SESSION_COUNT:"WT.SessionCount",SESSION_LENGTH:_0x5a1d6c(391),SUBSESSION_COUNT:_0x5a1d6c(382),ACTIVE_TIME:_0x5a1d6c(404),INACTIVE_TIME:_0x5a1d6c(349),INACTIVE_DURATION:_0x5a1d6c(354),REQUEST_QUEUE:_0x5a1d6c(378),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{clear(){localStorage[_0x5a1d6c(357)]()}[_0x5a1d6c(383)](e,t){var r=_0x5a1d6c;if(t)try{const n=JSON.stringify(t);localStorage[r(366)](e,n)}catch(t){WTLogger.error(r(399)+e+"'",t)}else localStorage[r(418)](e)}getJson(e){var t=_0x5a1d6c;const r=localStorage[t(387)](e);if(!r)return null;try{return JSON[t(352)](r)}catch(r){return WTLogger[t(417)](t(415)+e+t(402)+r,r),null}}[_0x5a1d6c(381)](e){const t=localStorage[_0x5a1d6c(387)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x5a1d6c(367)](e){var t=_0x5a1d6c;const r=localStorage.getItem(e);return null===r?null:r===t(373)||r!==t(359)&&null}get[_0x5a1d6c(348)](){var e=_0x5a1d6c;return localStorage.getItem(WTStorageKeys[e(360)])}set[_0x5a1d6c(348)](e){var t=_0x5a1d6c;e?localStorage.setItem(WTStorageKeys[t(360)],e):localStorage[t(418)](WTStorageKeys[t(360)])}get[_0x5a1d6c(370)](){var e=_0x5a1d6c;return this[e(363)](WTStorageKeys[e(416)])}set[_0x5a1d6c(370)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(416)],e)}get[_0x5a1d6c(405)](){var e=_0x5a1d6c;return this[e(363)](WTStorageKeys[e(397)])}set[_0x5a1d6c(405)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(397)],e)}get[_0x5a1d6c(377)](){var e=_0x5a1d6c;return this.getJson(WTStorageKeys[e(346)])}set[_0x5a1d6c(377)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(346)],e)}get[_0x5a1d6c(400)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(390)]))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(390)],e[t(394)]())}get[_0x5a1d6c(379)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(375)]))&&void 0!==e&&e}set sdkClickSubmit(e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(375)],e[t(394)]())}get[_0x5a1d6c(353)](){var e,t=_0x5a1d6c;return null!==(e=this[t(367)](WTStorageKeys[t(385)]))&&void 0!==e&&e}set[_0x5a1d6c(353)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(385)],e[t(394)]())}get[_0x5a1d6c(406)](){var e=_0x5a1d6c;return localStorage[e(387)](WTStorageKeys[e(376)])}set fcmToken(e){var t=_0x5a1d6c;e?localStorage.setItem(WTStorageKeys[t(376)],e):localStorage.removeItem(WTStorageKeys.FCM_TOKEN)}get[_0x5a1d6c(365)](){var e=_0x5a1d6c;return localStorage.getItem(WTStorageKeys[e(392)])}set[_0x5a1d6c(365)](e){var t=_0x5a1d6c;e?localStorage[t(366)](WTStorageKeys[t(392)],e):localStorage.removeItem(WTStorageKeys[t(392)])}get[_0x5a1d6c(414)](){var e,t=_0x5a1d6c;return null!==(e=this.optionalNumber(WTStorageKeys[t(396)]))&&void 0!==e?e:1}set[_0x5a1d6c(414)](e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(396)],e[t(394)]())}get[_0x5a1d6c(407)](){var e,t=_0x5a1d6c;return null!==(e=this[t(381)](WTStorageKeys[t(343)]))&&void 0!==e?e:1}set[_0x5a1d6c(407)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(343)],e[t(394)]())}get[_0x5a1d6c(361)](){var e,t=_0x5a1d6c;return null!==(e=this.optionalNumber(WTStorageKeys[t(372)]))&&void 0!==e?e:0}set[_0x5a1d6c(361)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(372)],e[t(394)]())}get[_0x5a1d6c(351)](){var e;return null!==(e=this[_0x5a1d6c(381)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x5a1d6c;localStorage.setItem(WTStorageKeys[t(344)],e[t(394)]())}get inactiveTime(){var e=_0x5a1d6c;return this.optionalNumber(WTStorageKeys[e(358)])}set[_0x5a1d6c(398)](e){var t=_0x5a1d6c;null!==e?localStorage[t(366)](WTStorageKeys[t(358)],e[t(394)]()):localStorage[t(418)](WTStorageKeys[t(358)])}get[_0x5a1d6c(409)](){return this[_0x5a1d6c(381)](WTStorageKeys.INACTIVE_TIME)}set[_0x5a1d6c(409)](e){var t=_0x5a1d6c;null!==e?localStorage.setItem(WTStorageKeys[t(403)],e[t(394)]()):localStorage.removeItem(WTStorageKeys[t(403)])}get requestRecords(){var e,t=_0x5a1d6c;return null!==(e=this[t(363)](WTStorageKeys[t(368)]))&&void 0!==e?e:[]}set[_0x5a1d6c(356)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(368)],e)}get[_0x5a1d6c(413)](){var e,t=_0x5a1d6c;return null!==(e=this.getJson(WTStorageKeys[t(362)]))&&void 0!==e?e:[]}set[_0x5a1d6c(413)](e){var t=_0x5a1d6c;this[t(383)](WTStorageKeys[t(362)],e)}get[_0x5a1d6c(347)](){var e,t=_0x5a1d6c;return null!==(e=this[t(381)](WTStorageKeys[t(386)]))&&void 0!==e?e:0}set[_0x5a1d6c(347)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(386)],e[t(394)]())}get[_0x5a1d6c(374)](){var e=_0x5a1d6c;return localStorage[e(387)](WTStorageKeys[e(369)])}set[_0x5a1d6c(374)](e){var t=_0x5a1d6c;localStorage[t(366)](WTStorageKeys[t(369)],e)}}const storageManager=new StorageManager,_0x217d92=_0x5c6f;!function(){const e=_0x5c6f,t=_0x3c8f();for(;;)try{if(904464===-parseInt(e(162))/1*(-parseInt(e(164))/2)+parseInt(e(174))/3+parseInt(e(176))/4+-parseInt(e(177))/5*(-parseInt(e(169))/6)+parseInt(e(168))/7+-parseInt(e(155))/8*(parseInt(e(159))/9)+parseInt(e(160))/10*(-parseInt(e(167))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x217d92(161)](e){const t=_0x217d92;try{const r=atob(e);let n="";for(let e=0;e<r[t(172)];e++){const i=90^r[t(173)](e);n+=String[t(157)](i)}return n}catch(e){return console.error(t(170),e),""}}static get[_0x217d92(165)](){const e=_0x217d92;return this[e(161)](e(156))}static get[_0x217d92(171)](){const e=_0x217d92;return this[e(161)](e(158))}static get[_0x217d92(166)](){const e=_0x217d92;return this[e(161)](e(178))}static get[_0x217d92(175)](){const e=_0x217d92;return this[e(161)](e(163))}}function _0x5c6f(e,t){const r=_0x3c8f();return(_0x5c6f=function(e,t){return r[e-=155]})(e,t)}function _0x3c8f(){const e=["253181ILajdF","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","2yaIvZV","CONFIG_PATH","STAGE_BASE_URL","10478809ygSoMl","5134759xKpfZP","89022JzzQQl","Decode error:","DEBUG_BASE_URL","length","charCodeAt","2158899qhnURe","PRODUCTION_BASE_URL","884276cFJkYm","480zvmnof","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","24DGWtEL","dTsqM3U9Py53OTU0PDM9","fromCharCode","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","1626210bQhsgl","20YQRQyE","decode"];return(_0x3c8f=function(){return e})()}const _0x41fc43=_0x174b;function _0x4e05(){const e=["stage","23432aqnBNJ","5838wjVeOl","883218qOuGbp","STAGE_BASE_URL","sandbox","PRODUCTION_BASE_URL","8960jycmcm","177154gbsolp","Unknown environment: ","DEFAULT_ENVIRONMENT","77CzwRPx","52pvqdjK","24FTvWkF","sdkEnvironment","885SatXnu","64236knEGJC","CONFIG","DEBUG_BASE_URL","debug","2061rcOorg","DEBUG","1JdGeQI","production","385akxozE","104607CGknvw"];return(_0x4e05=function(){return e})()}function _0x174b(e,t){const r=_0x4e05();return(_0x174b=function(e,t){return r[e-=376]})(e,t)}!function(){const e=_0x174b,t=_0x4e05();for(;;)try{if(111144===parseInt(e(399))/1*(-parseInt(e(385))/2)+-parseInt(e(376))/3*(parseInt(e(390))/4)+parseInt(e(392))/5*(-parseInt(e(379))/6)+-parseInt(e(401))/7*(-parseInt(e(378))/8)+-parseInt(e(397))/9*(-parseInt(e(384))/10)+-parseInt(e(388))/11*(parseInt(e(393))/12)+parseInt(e(389))/13*(parseInt(e(380))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x41fc43(382),PRODUCTION:_0x41fc43(400)},WTSDKEnvironment={DEBUG:_0x41fc43(396),STAGE:_0x41fc43(377),PRODUCTION:_0x41fc43(400)},EnvironmentUtils={get sdkEnvironment(){const e=_0x41fc43;var t;return null!==(t=storageManager[e(391)])&&void 0!==t?t:WTConstants[e(394)][e(387)]},get needResponseDetails(){return this[_0x41fc43(391)]!==WTSDKEnvironment.PRODUCTION},get baseUrl(){const e=_0x41fc43;switch(this[e(391)]){case WTSDKEnvironment[e(398)]:return SecureConfig[e(395)];case WTSDKEnvironment.STAGE:return SecureConfig[e(381)];case WTSDKEnvironment.PRODUCTION:return SecureConfig[e(383)];default:throw new Error(e(386)+this.sdkEnvironment)}}};function _0x49f1(){var e=["7011Tzysrd","10nSzCcu","1812228ENcgDt","1070IrhnCk","995378dYoJyr","1037076vmFOLk","818406dfRADR","1MVrtkh","10493lpQKRw","2575215NWZlGj","2984XJISOI","sdkEnvironment"];return(_0x49f1=function(){return e})()}var _0x81fed4=_0x2530;function _0x2530(e,t){var r=_0x49f1();return(_0x2530=function(e,t){return r[e-=340]})(e,t)}!function(){for(var e=_0x2530,t=_0x49f1();;)try{if(513005===-parseInt(e(348))/1*(parseInt(e(345))/2)+parseInt(e(350))/3+-parseInt(e(346))/4*(parseInt(e(342))/5)+-parseInt(e(347))/6+parseInt(e(349))/7*(parseInt(e(351))/8)+-parseInt(e(341))/9*(-parseInt(e(344))/10)+parseInt(e(343))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x81fed4(340)](e){var t=_0x81fed4;try{storageManager[t(340)]=e}catch(e){}}}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{c(n.next(e))}catch(e){s(e)}}function o(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,o)}c((n=n.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const _0xb85ded=_0x3266;function _0x3266(e,t){const r=_0x82fd();return(_0x3266=function(e,t){return r[e-=355]})(e,t)}!function(){const e=_0x3266,t=_0x82fd();for(;;)try{if(314171===-parseInt(e(356))/1+parseInt(e(358))/2*(-parseInt(e(367))/3)+parseInt(e(357))/4*(-parseInt(e(365))/5)+-parseInt(e(361))/6+parseInt(e(362))/7+parseInt(e(364))/8*(parseInt(e(366))/9)+parseInt(e(363))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0xb85ded(360),SESSIONS:_0xb85ded(368),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:_0xb85ded(359),ATTRIBUTIONS:_0xb85ded(355),APP_SETTINGS:"/api/v1/app_settings"};function _0x82fd(){const e=["/api/v1/sessions","/api/v1/attributions","45111jRJsXS","448204ZRAkWg","117758prVvxY","/api/v1/sdk_infos","/api/v1/events","39852XRNqAX","2081835PkqhFf","1442700cpnJNt","11848OcPHOQ","20cqYyAt","2979xvNEzZ","6viFbLB"];return(_0x82fd=function(){return e})()}var ApiError,_0x129a4f=_0x1007;function _0x1007(e,t){var r=_0x597a();return(_0x1007=function(e,t){return r[e-=244]})(e,t)}function _0x597a(){var e=["179184eKxCUK","SESSION_INTERVAL","session_interval","5278332xTvpdP","subsessionInterval","7192863CCZzVJ","757060JYapBz","events","SUBSESSION_INTERVAL","222CvRNuD","attributions","715883uYJXYZ","sdk_infos","fromJson","ATTRIBUTIONS","2912690APbSnv","SDK_CLICKS","sdkUpdate","sdkClicks","subsession_interval","DEFAULTS","37556LfsAqn","defaultValue","8MkurMT","SESSIONS","EVENTS","sdk_update"];return(_0x597a=function(){return e})()}!function(){for(var e=_0x1007,t=_0x597a();;)try{if(631610===-parseInt(e(257))/1+parseInt(e(251))/2+-parseInt(e(260))/3*(-parseInt(e(245))/4)+parseInt(e(266))/5+-parseInt(e(254))/6+-parseInt(e(262))/7*(-parseInt(e(247))/8)+parseInt(e(256))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,n,i,s=!0,a=!1,o=WTConstants.DEFAULTS[_0x129a4f(252)],c=WTConstants[_0x129a4f(244)][_0x129a4f(259)]){var u=_0x129a4f;this[u(258)]=e,this.sessions=t,this[u(269)]=r,this.sdkInfos=n,this[u(261)]=i,this.sdkEnabled=s,this[u(268)]=a,this.sessionInterval=o,this[u(255)]=c}static[_0x129a4f(264)](e){var t,r,n,i,s=_0x129a4f;return new WTConfig(e[s(258)],e.sessions,e.sdk_clicks,e[s(263)],e[s(261)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(250)])&&void 0!==r&&r,null!==(n=e[s(253)])&&void 0!==n?n:WTConstants[s(244)][s(252)],null!==(i=e[s(270)])&&void 0!==i?i:WTConstants[s(244)].SUBSESSION_INTERVAL)}static get[_0x129a4f(246)](){var e=_0x129a4f;return new WTConfig(WTEndpoints[e(249)],WTEndpoints[e(248)],WTEndpoints[e(267)],WTEndpoints.SDK_INFOS,WTEndpoints[e(265)],!0,!1,WTConstants[e(244)][e(252)],WTConstants.DEFAULTS[e(259)])}}function _0x29db(){var e=["6798744OrkCqY","DecodingError","NetworkError","name","92ivYszI","1451665pCTeTh","36661140SgjUmj","InvalidUrl","Invalid URL: ","9lOPqAi","8600zJvRuJ","ServerError","407828APwmea","6062dEvfEg","message","NetworkError: ","ServerError ","60865ldaYMu","12637944nLhQxf","DecodingError: ","statusCode"];return(_0x29db=function(){return e})()}function _0x5d6b(e,t){var r=_0x29db();return(_0x5d6b=function(e,t){return r[e-=321]})(e,t)}!function(){for(var e=_0x5d6b,t=_0x29db();;)try{if(757768===parseInt(e(321))/1+parseInt(e(328))/2*(-parseInt(e(325))/3)+-parseInt(e(341))/4*(parseInt(e(333))/5)+-parseInt(e(337))/6+-parseInt(e(329))/7*(parseInt(e(326))/8)+-parseInt(e(334))/9+parseInt(e(322))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x5d6b;class r extends Error{constructor(e){var t=_0x5d6b;super(t(324)+e),this[t(340)]=t(323)}}e[t(323)]=r;class n extends Error{constructor(e,r){var n=t;super(n(332)+e+": "+r),this[n(336)]=e,this[n(330)]=r,this[n(340)]=n(327)}}e.ServerError=n;class i extends Error{constructor(e){super(t(331)+e),this.name="NetworkFailure"}}e[t(339)]=i;class s extends Error{constructor(e){var r=t;super(r(335)+e),this.name=r(338)}}e[t(338)]=s}(ApiError||(ApiError={}));var _0x104d82=_0x5a6e;function _0x5a6e(e,t){var r=_0x3b92();return(_0x5a6e=function(e,t){return r[e-=100]})(e,t)}function _0x3b92(){var e=["maxRetries","368DZrDoh","26755GSmLjs","1451166fomnoR","5674330ggtMEy","279158ibXcKm","waitBeforeRetry","419076fJXQmP","2892411HqFaqc","331720omlewg","8oTrFgE","14xiqlCD","retryInterval","canRetry"];return(_0x3b92=function(){return e})()}!function(){for(var e=_0x5a6e,t=_0x3b92();;)try{if(299805===parseInt(e(102))/1+parseInt(e(107))/2*(-parseInt(e(104))/3)+parseInt(e(112))/4*(parseInt(e(113))/5)+-parseInt(e(100))/6+-parseInt(e(108))/7*(-parseInt(e(106))/8)+-parseInt(e(105))/9+parseInt(e(101))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x5a6e;this[r(111)]=e,this[r(109)]=t}[_0x104d82(110)](e){return e<this[_0x104d82(111)]}[_0x104d82(103)](){return __awaiter(this,void 0,void 0,function*(){var e=_0x5a6e;return new Promise(t=>setTimeout(t,this[e(109)]))})}}function _0x4c19(){const e=["-- PARAMETERS =>","8YlZQEb","message","application/json","retryAttempt","method","NetworkError","48udRpmb","assign","debug","463103inLfrV","retryPolicy","14zVrhZM",") =>","params","Unknown error","4850541UstZrm","Server error","waitBeforeRetry","DecodingError","9249196Dqedty","8UpqwPg","error","Content-Type","1524070dAodFF",") => ","text","InvalidUrl","headers","2624nxpgcw","Request successful","9690lAWgoq","❌ API ERROR (","warn","ServerError","3962766ujMwtp","610398gdZpFV","json","🚀 REQUEST (","status","✅ API SUCCESS ("];return(_0x4c19=function(){return e})()}function _0x16bf(e,t){const r=_0x4c19();return(_0x16bf=function(e,t){return r[e-=199]})(e,t)}!function(){const e=_0x16bf,t=_0x4c19();for(;;)try{if(973448===parseInt(e(216))/1*(-parseInt(e(227))/2)+parseInt(e(201))/3+parseInt(e(235))/4*(parseInt(e(237))/5)+-parseInt(e(200))/6*(parseInt(e(218))/7)+parseInt(e(207))/8*(-parseInt(e(222))/9)+-parseInt(e(230))/10+-parseInt(e(226))/11*(-parseInt(e(213))/12))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=_0x16bf,n=t[r(210)]||1;let i,s;try{i=new URL(e,EnvironmentUtils.baseUrl)}catch(t){throw console.error("Invalid URL:",t),new(ApiError[r(233)])(""+EnvironmentUtils.baseUrl+e)}WTLogger[r(215)](r(203)+n+r(231)+t[r(211)]+" "+e),WTLogger[r(215)](r(206),t[r(220)]||{});const a=Object.assign({Accept:r(209)},t[r(234)]);t[r(220)]&&(a[r(229)]=r(209),s=JSON.stringify(t[r(220)]));try{const e=yield fetch(i,{method:t[r(211)],headers:a,body:s});if(!e.ok){let t=yield e[r(202)](),n=t.message||(yield e[r(232)]());throw WTLogger[r(239)](r(238)+e[r(204)]+r(219),n),new(ApiError[r(199)])(e.status,t[r(208)]||r(223))}try{const t=yield e[r(202)]();return WTLogger[r(215)](r(205)+e[r(204)]+r(219),t[r(208)]||r(236)),t}catch(e){throw new(ApiError[r(225)])(e[r(208)]||String(e))}}catch(i){if(i instanceof ApiError[r(199)]||i instanceof ApiError[r(225)])throw i;if(WTLogger[r(228)]("Error executing request",i),this[r(217)]().canRetry(n))return yield this[r(217)]()[r(224)](),this.sendRequest(e,Object[r(214)](Object[r(214)]({},t),{retryAttempt:n+1}));throw new(ApiError[r(212)])(i[r(208)]||r(221))}})}};function _0x5f2e(){const e=["appFrameWork","740135qjBYyW","VERSION","SDK","sendRequest","toISOString","Initial Config is not set","fromJson","915936aFpgPw","initialConfig","sdk_updated_at","POST","53917rqLyDo","1533258VJkHtC","location","success","hostname","261636pVOJTe","appToken","CONFIG_PATH","needResponseDetails","588345euEFee","515388GnVuEN","PLATFORM"];return(_0x5f2e=function(){return e})()}function _0x5c38(e,t){const r=_0x5f2e();return(_0x5c38=function(e,t){return r[e-=233]})(e,t)}!function(){const e=_0x5c38,t=_0x5f2e();for(;;)try{if(128553===parseInt(e(251))/1+-parseInt(e(256))/2+-parseInt(e(236))/3+parseInt(e(237))/4+parseInt(e(240))/5+parseInt(e(252))/6+-parseInt(e(247))/7)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5c38,t=storageManager[e(248)];if(!t)throw e(245);const r={parameters:{app_token:t[e(233)],app_version:t.appVersion,framework:t[e(239)],package_name:window[e(253)][e(255)],platform:WTConstants[e(242)].PLATFORM,sdk_version:WTConstants[e(242)][e(241)],initiated_by:WTConstants[e(242)][e(238)]+"_"+t[e(239)],store_name:"other"}},n=yield networkManager.sendRequest(SecureConfig[e(234)],{method:e(250),params:r});return WTConfig[e(246)](n.result)})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x5c38;t[r(249)]=(new Date)[r(244)]();return(yield networkManager[r(243)](e,{method:r(250),params:{needs_response_details:EnvironmentUtils[r(235)],parameters:t}}))[r(254)]})}},_0x49f44c=_0x4af5;function _0x4af5(e,t){const r=_0x4cd2();return(_0x4af5=function(e,t){return r[e-=470]})(e,t)}!function(){const e=_0x4af5,t=_0x4cd2();for(;;)try{if(621692===parseInt(e(481))/1+parseInt(e(485))/2*(parseInt(e(474))/3)+-parseInt(e(492))/4*(-parseInt(e(486))/5)+parseInt(e(477))/6+parseInt(e(470))/7*(-parseInt(e(475))/8)+-parseInt(e(491))/9+-parseInt(e(472))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x4af5;this.tickerDelay=1e3,this[e(490)]=!1}[_0x49f44c(480)](){const e=_0x49f44c;this.tickerJob&&clearInterval(this[e(484)]),this.tickerJob=setInterval(()=>{const t=e;this[t(490)]||document[t(479)]||document[t(482)]()&&(console[t(483)](t(476)+storageManager[t(487)]/1e3+t(488)+storageManager[t(471)]/1e3+"s"),storageManager.activeTime=Date[t(489)](),storageManager[t(487)]+=this[t(473)])},this.tickerDelay)}[_0x49f44c(478)](){const e=_0x49f44c;clearInterval(this[e(484)]),this[e(484)]=void 0}pause(){this[_0x49f44c(490)]=!0}resume(){this.isPaused=!1}}function _0x4cd2(){const e=["6307422InsrTI","stop","hidden","start","1086297ryyzCT","hasFocus","log","tickerJob","1641526WxWwnK","955IjdkJa","activeDuration","s, inactive duration= ","now","isPaused","7530417WVAtOr","22780jpBZyE","136003laSFeH","inactiveDuration","25682080qwgaEl","tickerDelay","3lzuJoL","8bXlcyH","ActivityTicker: active duration= "];return(_0x4cd2=function(){return e})()}const activityTicker=new ActivityTicker,_0x3631ae=_0x2585;!function(){const e=_0x2585,t=_0x1ae0();for(;;)try{if(316109===-parseInt(e(227))/1+parseInt(e(224))/2+-parseInt(e(221))/3*(-parseInt(e(213))/4)+parseInt(e(226))/5+-parseInt(e(215))/6*(-parseInt(e(210))/7)+-parseInt(e(225))/8+parseInt(e(212))/9*(parseInt(e(223))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x2585(218)]=null}[_0x3631ae(214)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2585;return!this._country&&(this[e(218)]=yield this[e(219)]()),this[e(218)]})}[_0x3631ae(219)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this.fetchWithTimeout(e(216));if(!t.ok)throw new Error(e(211));return(yield t[e(217)]())[e(228)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this[e(229)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(211));return(yield t[e(217)]()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2585,t=yield this[e(229)]("https://ipwho.is/");if(!t.ok)throw new Error("ipwho.is failed");return(yield t[e(217)]())[e(222)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x3631ae(229)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x2585,n=new AbortController,i=setTimeout(()=>n.abort(),t);return fetch(e,{signal:n.signal})[r(220)](()=>clearTimeout(i))})}}function _0x2585(e,t){const r=_0x1ae0();return(_0x2585=function(e,t){return r[e-=210]})(e,t)}function _0x1ae0(){const e=["https://api.country.is","json","_country","tryAllEndpoints","finally","2409witZLG","country_code","10DsWMEb","41234OevDFU","2882720DBIXvY","1059950njwbLn","335435rFmRHa","country","fetchWithTimeout","1393uttXPJ","country.is failed","3081987cuwViy","244tdjonu","getCountryCode","11694JZWaUI"];return(_0x1ae0=function(){return e})()}const countryFinder=new CountryFinder;!function(){const e=_0xdc1b,t=_0x3f62();for(;;)try{if(892656===parseInt(e(479))/1*(parseInt(e(474))/2)+-parseInt(e(484))/3+-parseInt(e(481))/4*(-parseInt(e(483))/5)+-parseInt(e(476))/6*(parseInt(e(482))/7)+-parseInt(e(485))/8+parseInt(e(478))/9*(parseInt(e(477))/10)+-parseInt(e(480))/11*(-parseInt(e(475))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()};function _0xdc1b(e,t){const r=_0x3f62();return(_0xdc1b=function(e,t){return r[e-=474]})(e,t)}function _0x3f62(){const e=["2985GDKzAy","1613352hEWOUU","6362744ywVZEk","13214ejohuM","15828XLuXZE","762kIqcYc","14961140EhLQEv","9PkQYqH","1xNoFYX","7513xtqVsd","7528WjLhHF","71729sZYwwA"];return(_0x3f62=function(){return e})()}const _0x3155ea=_0xb673;function _0xb673(e,t){const r=_0x28c2();return(_0xb673=function(e,t){return r[e-=156]})(e,t)}!function(){const e=_0xb673,t=_0x28c2();for(;;)try{if(513160===parseInt(e(158))/1+-parseInt(e(168))/2+parseInt(e(160))/3*(parseInt(e(167))/4)+parseInt(e(156))/5*(-parseInt(e(165))/6)+-parseInt(e(174))/7*(parseInt(e(161))/8)+parseInt(e(159))/9+parseInt(e(164))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0xb673;this[r(173)]=0,this[r(170)]=3,this.id=crypto.randomUUID(),this[r(162)]=e,this[r(166)]=t,this.createdAt=Date[r(169)]()}}class Mutex{constructor(){const e=_0xb673;this.locked=!1,this[e(172)]=[]}[_0x3155ea(175)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0xb673;this[t(163)]?this[t(172)][t(176)](e):(this[t(163)]=!0,e())})})}[_0x3155ea(171)](){const e=_0x3155ea;if(this.waitingQueue[e(157)]>0){this[e(172)].shift()()}else this[e(163)]=!1}}function _0x28c2(){const e=["56DoISaq","endpoint","locked","1696250ntHGlh","1217274Ptadlu","parameters","2035500EihGEA","249512bvQyqd","now","maxRetries","release","waitingQueue","retryCount","922859Nhkbto","acquire","push","10egbbZV","length","590453YqTHsx","6278220YzpNyo","3pqJAIm"];return(_0x28c2=function(){return e})()}const _0x41f4f3=_0xa91d;function _0xa91d(e,t){const r=_0x5cec();return(_0xa91d=function(e,t){return r[e-=405]})(e,t)}function _0x5cec(){const e=["⏰ Backoff delay ended, resuming queue processing","saveMainQueue","retryCount","pow","12pSMHLr","getQueueStatus","firstSessionSubmit","22508860Nqhzpt","464020VphKer","isInitialized","BASE_DELAY_MS","Error in processing loop:","Applying backoff delay of ","Error sending request ","BACKOFF_MULTIPLIER","min","now","6146562exmNco","acquire"," processed successfully","postRequestCheck","processQueues","SESSIONS","processMainQueue","push_token","calculateBackoffDelay","getPendingQueue","getMainRequestsSentFlag","2807CwCeDk","push","): id=","7568750kWwfsd"," failed with error after ","processingInterval","MAX_DELAY_MS","maxRetries","endpoint","571185JdDImW"," attempts. ","debug","addPendingRequest","mutex","getMainQueue","addRequest","1APlxEk","Queue Manager is not initialized. Call initialize() first.","startProcessing","error","pendingRequestRecords","shutdown"," failed","failedRequestDelay","stopProcessing","SDK_INFOS","SDK_CLICKS","savePendingQueue","requestRecords"," failed. Retry ","warn","sdkClickSubmit","✅ Request ","length","362126QXKGWk","PROCESSING_INTERVAL_MS","isProcessing","sendRequest","subSessionCount","parameters","isCurrentlyProcessing","5Helnct","💥 Sending request (","6544fZyXhL","resetBackoffDelay","initialize","processPendingQueue"," failed after ","release"];return(_0x5cec=function(){return e})()}!function(){const e=_0xa91d,t=_0x5cec();for(;;)try{if(518558===parseInt(e(422))/1*(parseInt(e(440))/2)+-parseInt(e(459))/3*(-parseInt(e(463))/4)+-parseInt(e(447))/5*(parseInt(e(472))/6)+parseInt(e(406))/7*(-parseInt(e(449))/8)+-parseInt(e(415))/9+-parseInt(e(409))/10+parseInt(e(462))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0xa91d;this[e(464)]=!1,this.isProcessing=!1,this[e(446)]=!1,this[e(419)]=new Mutex,this[e(411)]=null,this[e(441)]=100,this.failedRequestDelay=0,this.MAX_DELAY_MS=3e4,this[e(469)]=2,this.BASE_DELAY_MS=1e3}[_0x41f4f3(451)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;this.isInitialized=!0,!this[e(442)]&&(yield this.startProcessing())})}[_0x41f4f3(427)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;this[e(464)]&&(yield this[e(430)](),this[e(464)]=!1)})}[_0x41f4f3(424)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(this.isInitialized){yield this[e(419)][e(473)]();try{if(this.isProcessing)return;this[e(442)]=!0,this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(476)]()}catch(e){WTLogger[t(425)](t(466),e)}}),this[e(441)])}finally{this[e(419)].release()}yield this[e(476)]()}else WTLogger[e(436)](e(423))})}[_0x41f4f3(430)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;yield this.mutex[e(473)]();try{this[e(442)]=!1,this[e(411)]&&(clearInterval(this[e(411)]),this.processingInterval=null)}finally{this[e(419)][e(454)]()}})}[_0x41f4f3(421)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xa91d;yield this[t(419)].acquire();try{const r=this[t(420)]();if(r[t(407)](e),this[t(456)](r),this.failedRequestDelay=0,!this[t(442)])return this[t(419)][t(454)](),void(yield this[t(424)]())}finally{this[t(442)]&&this[t(419)].release()}})}[_0x41f4f3(418)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xa91d;yield this[t(419)].acquire();try{if(this[t(405)]()){const r=this[t(420)]();r[t(407)](e),this[t(456)](r)}else{const r=this.getPendingQueue();r[t(407)](e),this[t(433)](r)}if(this[t(429)]=0,!this[t(442)])return this[t(419)][t(454)](),void(yield this[t(424)]())}finally{this[t(442)]&&this[t(419)][t(454)]()}})}[_0x41f4f3(476)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(this[e(442)]&&!this[e(446)]){if(this[e(429)]>0){if(Date[e(471)]()<this[e(429)])return;this[e(429)]=0,WTLogger.debug(e(455))}this.isCurrentlyProcessing=!0,yield this[e(419)][e(473)]();try{yield this[e(478)](),yield this.processPendingQueue()}finally{this[e(419)].release(),this[e(446)]=!1}}})}[_0x41f4f3(478)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d,t=this[e(420)]();if(0===t[e(439)])return;const r=t[0];try{if(yield this.sendRequest(r))t.shift(),this.saveMainQueue(t),this[e(475)](r),WTLogger[e(417)](e(438)+r.id+e(474));else{if(t[0][e(457)]++,t[0].retryCount>=t[0].maxRetries){const n=this.calculateBackoffDelay(t[0].retryCount);this.failedRequestDelay=Date.now()+n,WTLogger[e(436)]("⏳ Request "+r.id+e(453)+r[e(413)]+" attempts. "+(e(467)+n)+"ms")}else WTLogger[e(436)]("⚠️ Request "+r.id+e(435)+t[0].retryCount+"/"+t[0][e(413)]);this[e(456)](t)}}catch(n){if(WTLogger[e(425)](e(468)+r[e(414)]+":",n),t[0][e(457)]++,t[0][e(457)]>=t[0][e(413)]){const n=this[e(480)](t[0][e(457)]);this[e(429)]=Date[e(471)]()+n,WTLogger.warn("⏳ Request "+r.id+e(410)+t[0][e(413)]+e(416)+(e(467)+n)+"ms")}this.saveMainQueue(t)}})}[_0x41f4f3(480)](e){const t=_0x41f4f3,r=this.BASE_DELAY_MS*Math[t(458)](this[t(469)],e-1);return Math[t(470)](r,this.MAX_DELAY_MS)}[_0x41f4f3(452)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xa91d;if(!this[e(405)]())return;const t=this[e(481)]();if(0===t[e(439)])return;const r=this[e(420)]();r[e(407)](...t),this[e(456)](r),this[e(433)]([])})}[_0x41f4f3(443)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0xa91d;WTLogger[r(417)](r(448)+e[r(414)]+r(408)+e.id);let n=!1;try{n=yield apiClient.doCallRequest(e[r(414)],e[r(445)])}catch(t){WTLogger[r(425)]("❌ Request "+e.endpoint+r(428),t)}return n})}[_0x41f4f3(420)](){return storageManager[_0x41f4f3(434)]}[_0x41f4f3(456)](e){storageManager[_0x41f4f3(434)]=e}getPendingQueue(){return storageManager[_0x41f4f3(426)]}[_0x41f4f3(433)](e){storageManager[_0x41f4f3(426)]=e}getMainRequestsSentFlag(){return storageManager[_0x41f4f3(437)]}[_0x41f4f3(475)](e){const t=_0x41f4f3;switch(e[t(414)]){case WTEndpoints[t(432)]:storageManager.sdkClickSubmit=!0;break;case WTEndpoints[t(477)]:storageManager[t(461)]?(storageManager.activeDuration=0,storageManager.inactiveDuration=0,storageManager[t(444)]=1):storageManager[t(461)]=!0;break;case WTEndpoints[t(431)]:storageManager.fcmToken=e[t(445)][t(479)]}}[_0x41f4f3(460)](){const e=_0x41f4f3;return{mainQueueLength:this[e(420)]()[e(439)],pendingQueueLength:this[e(481)]().length,isProcessing:this.isProcessing,mainRequestsSent:this[e(405)](),isInBackoffDelay:this[e(429)]>0&&Date[e(471)]()<this[e(429)],backoffEndsAt:this[e(429)]>0?this[e(429)]:null}}[_0x41f4f3(450)](){const e=_0x41f4f3;this.failedRequestDelay=0,WTLogger[e(417)]("🔄 Backoff delay manually reset")}getBackoffConfig(){const e=_0x41f4f3;return{baseDelayMs:this[e(465)],multiplier:this[e(469)],maxDelayMs:this[e(412)]}}}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(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=trim(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=trim(r[n]);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,n,i,s,a,o,c=0;c<t.length&&!a;){var u=t[c],d=t[c+1];for(r=n=0;r<u.length&&!a&&u[r];)if(a=u[r++].exec(e))for(i=0;i<d.length;i++)o=a[++n],"object"==typeof(s=d[i])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||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("object"==typeof t[r]&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(has(t[r][n],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],n=defaultProps.isIgnore[t]||0,i=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(n,r)&&lowerize(i?strip(i,this[r]):this[r])==lowerize(i?strip(i,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},a.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||(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};var n=new r;return e(n),n}),new a};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,n){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,n=e.fullVersionList||e.brands;if(n)for(var i in n){var s=n[i].brand||n[i],a=n[i].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,a).set("major",majorize(a)),r=s),"engine"==this.itemType&&"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 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",n],["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 n={};r.forEach(function(e,t){n[t]=e}),r=n}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var i="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),a=t?function(e,t){var r={},n=t;if(!isExtensions(t))for(var i in n={},t)for(var s in t[i])n[s]=t[i][s].concat(n[s]?n[s]:[]);for(var a in e)r[a]=n[a]&&n[a].length%2==0?n[a].concat(e[a]):e[a];return r}(defaultRegexes,t):defaultRegexes,o=function(e){return"result"==e?function(){return new UAItem(e,i,a,s).set("ua",i).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,i,a[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",o("browser")],["getCPU",o("cpu")],["getDevice",o("device")],["getEngine",o("engine")],["getOS",o("os")],["getResult",o("result")],["getUA",function(){return i}],["setUA",function(e){return isString(e)&&(i=e.length>500?trim(e,500):e),this}]]).setUA(i),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 _0x36df19=_0x4df9;!function(){const e=_0x4df9,t=_0x311e();for(;;)try{if(280551===parseInt(e(293))/1+parseInt(e(262))/2*(parseInt(e(271))/3)+parseInt(e(267))/4*(parseInt(e(250))/5)+parseInt(e(255))/6*(parseInt(e(289))/7)+-parseInt(e(292))/8*(-parseInt(e(259))/9)+parseInt(e(245))/10*(parseInt(e(290))/11)+-parseInt(e(266))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x4df9,t=(new UAParser)[e(280)]();return{browser:t.browser,os:t.os,device:t[e(268)],engine:t[e(246)],cpu:t[e(291)],ua:t.ua}}get[_0x36df19(248)](){const e=_0x36df19;return window[e(286)]>=3?"high":window.devicePixelRatio>=2?"medium":e(253)}get[_0x36df19(284)](){const e=_0x36df19;return window[e(258)]>window[e(269)]?"long":e(252)}get[_0x36df19(283)](){const e=_0x36df19,t=window[e(269)];return e(t<480?274:t<768?252:t<1440?288:278)}get[_0x36df19(256)](){const e=_0x36df19;var t,r,n;const i=this[e(263)](),s=(null===(t=i[e(268)])||void 0===t?void 0:t[e(298)])||"",a=(null===(n=null===(r=i[e(268)])||void 0===r?void 0:r.model)||void 0===n?void 0:n[e(302)]())||"",o=i.ua.toLowerCase();return"wearable"===s||a.includes(e(301))?6:s===e(299)||o[e(247)](e(294))||o[e(247)](e(275))||o.includes(e(276))||o[e(247)](e(260))||o[e(247)](e(265))?4:s===e(282)||o.includes(e(295))||o.includes(e(273))||o.includes("nintendo")?5:o[e(247)]("car")||o[e(247)](e(264))||o[e(247)]("carplay")?3:o[e(247)](e(270))||o[e(247)](e(272))||o[e(247)]("vr")||s===e(251)?7:s===e(281)||"tablet"===s?1:""===s||"desktop"===s?2:0}get uiStyle(){const e=_0x36df19;return window[e(300)]&&window[e(300)]("(prefers-color-scheme: dark)")[e(296)]?"1":"0"}get[_0x36df19(261)](){const e=_0x36df19,t=window[e(286)]||1,r=screen[e(277)]*t/160,n=screen[e(279)]*t/160;return Math[e(297)](Math[e(257)](r,2)+Math[e(257)](n,2)).toFixed(2)}get[_0x36df19(287)](){const e=_0x36df19;return e(285)in window||navigator[e(254)]>0?"touch":e(249)}}function _0x4df9(e,t){const r=_0x311e();return(_0x4df9=function(e,t){return r[e-=245]})(e,t)}const deviceDetector=new DeviceDetector;function _0x311e(){const e=["275DlRpSk","cpu","58000ZVWjos","67514BFmszw","smart-tv","playstation","matches","sqrt","type","smarttv","matchMedia","watch","toLowerCase","212350wZMLSa","engine","includes","screenDensity","pointer","95xGbKqw","embedded","normal","low","maxTouchPoints","350130wnaXNW","uiMode","pow","innerHeight","333Dohouv","googletv","displaySize","219246paXlGP","getDeviceInfo","android auto","appletv","18725916vDQUJw","74476HtGcZb","device","innerWidth","oculus","9Vlfoto","vive","xbox","small","hbbtv","netcast","width","xlarge","height","getResult","mobile","console","screenSize","screenFormat","ontouchstart","devicePixelRatio","screenType","large","35zySLCG"];return(_0x311e=function(){return e})()}const _0x6f07d4=_0x1d79;function _0x1d79(e,t){const r=_0x38ec();return(_0x1d79=function(e,t){return r[e-=362]})(e,t)}!function(){const e=_0x1d79,t=_0x38ec();for(;;)try{if(446973===parseInt(e(389))/1+parseInt(e(366))/2+parseInt(e(365))/3+-parseInt(e(385))/4+parseInt(e(377))/5+parseInt(e(368))/6*(-parseInt(e(374))/7)+parseInt(e(386))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x1d79(378)]=null}[_0x6f07d4(381)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1d79;if(this[e(378)])return this[e(378)];const t=this.isLocalStorageSupported(),r=this[e(380)](),n=yield this.isIndexedDBSupported();return this[e(378)]={localStorage:t,sessionStorage:r,indexedDB:n},this[e(378)]})}[_0x6f07d4(369)](e){const t=_0x6f07d4;let r=0;for(let n=0;n<e.length;n++){const i=e[t(375)](n);if(!i)continue;const s=e[t(367)](i);null!=s&&(r+=2*i[t(362)],r+=2*s[t(362)])}return r}[_0x6f07d4(382)](){const e=_0x6f07d4;try{const t=e(373);return localStorage.setItem(t,"1"),localStorage[e(383)](t),!0}catch(e){return!1}}isSessionStorageSupported(){const e=_0x6f07d4;try{const t=e(373);return sessionStorage[e(364)](t,"1"),sessionStorage[e(383)](t),!0}catch(e){return!1}}[_0x6f07d4(372)](){const e=_0x6f07d4;return e(371)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(379)](r(363));e[r(387)]=()=>t(!1),e[r(384)]=()=>{const n=r;e[n(388)][n(376)](),indexedDB[n(370)](n(363)),t(!0)}}catch(e){t(!1)}}):Promise.resolve(!1)}}function _0x38ec(){const e=["isIndexedDBSupported","__test__","777343FjEiLE","key","close","2963890ipwqkz","supportResults","open","isSessionStorageSupported","getSupportResult","isLocalStorageSupported","removeItem","onsuccess","2463824oDkHWF","1256712iVKlis","onerror","result","400895FMbcwu","length","__test__check__","setItem","1401858gGjbBI","252wXKWFS","getItem","30ussAcy","getStorageSizeBytes","deleteDatabase","indexedDB"];return(_0x38ec=function(){return e})()}const storageSupport=new StorageSupport,_0x25d73a=_0x55e7;function _0x55e7(e,t){const r=_0x3f5e();return(_0x55e7=function(e,t){return r[e-=273]})(e,t)}!function(){const e=_0x55e7,t=_0x3f5e();for(;;)try{if(827729===parseInt(e(341))/1*(parseInt(e(312))/2)+-parseInt(e(336))/3*(-parseInt(e(291))/4)+-parseInt(e(328))/5+parseInt(e(285))/6*(-parseInt(e(343))/7)+-parseInt(e(279))/8+parseInt(e(310))/9*(parseInt(e(299))/10)+-parseInt(e(289))/11*(parseInt(e(278))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x25d73a(301)](){const e=_0x25d73a,t=new URLSearchParams(window.location.search),r={};for(const[n,i]of t[e(290)]())n[e(303)](e(323))&&i&&(r[n]=i);if(!r[e(311)]){const t=document[e(346)];r[e(311)]=t?new URL(t)[e(319)]:e(298)}return!r[e(325)]&&(r[e(325)]=e(295)),Object.entries(r)[e(338)](([e,t])=>e+"="+encodeURIComponent(t)).join("&")}}function _0x3f5e(){const e=["Squarespace","[id=___gatsby]","other","2712990YOXxnK","querySelectorAll","getUTMParamsString","Next.js","startsWith","some","static.squarespace.com","jQuery","Wix","[data-reactroot], [data-reactid]","/_next/","54IQNuCM","utm_source","239572pVWNCP","[data-v-app], [data-v-]","__REACT_DEVTOOLS_GLOBAL_HOOK__","[x-data], [x-init], [x-bind]","scripts","Gatsby.js","_reactRootContainer","hostname","script[id=__NEXT_DATA__]",'script[src*="angular.js"], script[src*="angular.min.js"]',"Ghost CMS","utm_","Nuxt.js","utm_medium","svelte","Backbone.js","2152995ZiEoKw","includes","Laravel","innerHTML","drupal-settings-json","__reactContainer","/js/app.js",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","9237LnoKpm","textContent","map","Vue.js","wp-content","4iMwvVH","React","4344662okbYDF","Svelte","wix.com","referrer","cdn.shopify.com","Zepto","from","Alpine.js","wp-includes","2792964yaOxex","6942488OiJDjr","Meteor",'meta[name="generator"][content*="Drupal"]',"documentElement","Shopify",'meta[name="generator"][content*="WordPress"]',"6tAvGda","querySelector","Zepto.js","Meteor.js","22MCMTep","entries","1436NEgsJw","Angular","src","detectWebFramework","organic"];return(_0x3f5e=function(){return e})()}function _0x2bc7(){const e=["string","isWebGLSupported","1141310AZXbMy","5317650tfmTeO","getSupportedExtensions","experimental-webgl","digest","fillText","MAX_TEXTURE_SIZE","180utDuXd","VERSION","toDataURL","68QQPyZe","from","227096GEBavt","getParameter","getContext","1743964lNwwVR","vendor","getCanvasFingerprint","stringify","width","top","padStart","WEBGL_debug_renderer_info","14px 'Arial'","106809nIAhLB","getWebGLFingerprint","10969MpbMuY","font","createElement","MAX_RENDERBUFFER_SIZE","webgl","SHADING_LANGUAGE_VERSION","RENDERER","encode","WiseTrack WebGL Fingerprint!","fillRect","hashData","VENDOR","fillStyle","UNMASKED_VENDOR_WEBGL","subtle","getExtension","toString","3270495fZRlwS","#f60","renderer","6144cHiRCf"];return(_0x2bc7=function(){return e})()}function _0x407a(e,t){const r=_0x2bc7();return(_0x407a=function(e,t){return r[e-=421]})(e,t)}Utils[_0x25d73a(294)]=()=>{const e=_0x25d73a;return document[e(286)](e(320))||[...document[e(316)]][e(304)](t=>t[e(293)].includes(e(309)))?e(302):window[e(342)]||document[e(286)](e(308))||Array[e(275)](document[e(300)]("*"))[e(304)](t=>void 0!==t[e(318)]||Object.keys(t)[e(304)](t=>t[e(303)](e(333))))||window[e(314)]?e(342):[...document.scripts][e(304)](e=>e.src.includes("/_nuxt/"))?e(324):window.__VUE__||window.Vue||document[e(286)](e(313))?e(339):document[e(286)](e(297))?e(317):window||document[e(286)](e(335))||document.querySelector(e(321))||window.ng||document[e(286)]("[ng-version]")?e(292):[...document[e(316)]][e(304)](t=>{const r=e;var n;return t[r(293)][r(329)](r(326))||(null===(n=t[r(337)])||void 0===n?void 0:n[r(329)](r(326)))})?e(344):document[e(286)](e(315))?e(276):window[e(306)]?e(306):window.Backbone?e(327):window[e(280)]?e(288):window[e(274)]?e(287):document.querySelector(e(284))||[...document.scripts][e(304)](t=>t[e(293)].includes(e(340))||t[e(293)][e(329)](e(277)))?"WordPress":[...document[e(316)]].some(t=>t[e(293)][e(329)](e(334))||t[e(293)][e(329)]("mix-manifest.json"))?e(330):document[e(286)](e(281))||document[e(282)].innerHTML[e(329)](e(332))?"Drupal":document[e(282)][e(331)][e(329)](e(273))?e(283):[...document[e(316)]][e(304)](t=>t[e(293)][e(329)](e(305)))?e(296):[...document[e(316)]].some(t=>t.src[e(329)](e(345)))?e(307):document[e(286)]('meta[name="generator"][content*="Ghost"]')?e(322):void 0};const _0xb661b6=_0x407a;!function(){const e=_0x407a,t=_0x2bc7();for(;;)try{if(695565===parseInt(e(466))/1+-parseInt(e(469))/2+-parseInt(e(429))/3*(parseInt(e(464))/4)+-parseInt(e(448))/5+-parseInt(e(455))/6+parseInt(e(431))/7*(parseInt(e(451))/8)+parseInt(e(461))/9*(parseInt(e(454))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0xb661b6(453)](){const e=_0xb661b6;try{const t=document[e(433)]("canvas");return!(!t[e(468)](e(435))&&!t[e(468)](e(457)))}catch(e){return!1}}static[_0xb661b6(430)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x407a,t=document[e(433)]("canvas"),r=t.getContext(e(435))||t.getContext(e(457));if(!r)return;const n={version:r[e(467)](r[e(462)]),shadingLangVersion:r[e(467)](r[e(436)]),maxTextureSize:r[e(467)](r[e(460)]),maxRenderBufferSize:r.getParameter(r[e(434)]),supportedExtensions:r[e(456)]()};try{const t=r[e(446)](e(427));n[e(421)]=t?r[e(467)](t[e(444)]):r[e(467)](r[e(442)])}catch(t){n[e(421)]=r[e(467)](r[e(442)])}try{const t=r.getExtension(e(427));n[e(450)]=t?r.getParameter(t.UNMASKED_RENDERER_WEBGL):r.getParameter(r[e(437)])}catch(t){n[e(450)]=r[e(467)](r.RENDERER)}return yield this.hashData(JSON[e(423)](n))})}static[_0xb661b6(422)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x407a,t=document[e(433)]("canvas");t[e(424)]=200,t.height=50;const r=t.getContext("2d");if(r)return r.textBaseline=e(425),r[e(432)]=e(428),r.fillStyle=e(449),r[e(440)](0,0,200,50),r[e(443)]="#069",r[e(459)](e(439),2,2),yield this[e(441)](t[e(463)]())})}static[_0xb661b6(441)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x407a,r=typeof e===t(452)?e:JSON[t(423)](e),n=(new TextEncoder)[t(438)](r),i=yield crypto[t(445)][t(458)]("SHA-256",n);return Array[t(465)](new Uint8Array(i)).map(e=>e[t(447)](16)[t(426)](2,"0")).join("")})}}const _0x21593=_0x56d6;function _0xc44f(){const e=["other","screenDensity","name","isWebGLSupported","toString","PLATFORM","1238456BMXVoI","appFrameWork","deviceId","initialDate","getCountryCode","architecture","3464398YkvKae","getStorageSizeBytes","SDK","device","hardwareConcurrency","onLine","time_spent","3hwVmbh","innerWidth","language","screenFormat","469208GQmSYv","getDeviceInfo","uiMode","split","hostname","defaultTracker","entries","appVersion","toISOString","inactiveDuration","now","getApplicationFields","filter","getUTMParamsString","PARAMETERS_VALUE","vendor","toFixed","version","2079548WuUSyr","screenSize","8386272YVQLex","userEnvironment","getLocalFields","DEFAULTS","88445TPIohc","type","getSupportResult","120VJkqsA","getCanvasFingerprint","VERSION","displaySize","getDeviceFields","1179602oSOYQO","fromEntries","browser","assign","subSessionCount","appToken","activeDuration","localStorage","performance","getWebGLFingerprint","customDeviceId","engine"];return(_0xc44f=function(){return e})()}function _0x56d6(e,t){const r=_0xc44f();return(_0x56d6=function(e,t){return r[e-=380]})(e,t)}!function(){const e=_0x56d6,t=_0xc44f();for(;;)try{if(305001===parseInt(e(407))/1+-parseInt(e(439))/2+parseInt(e(403))/3*(-parseInt(e(425))/4)+-parseInt(e(431))/5*(-parseInt(e(434))/6)+-parseInt(e(396))/7+parseInt(e(390))/8+parseInt(e(427))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x56d6,t=window[e(380)][e(417)]();let r={};return r.sdk_requested_at=(new Date)[e(415)](),Object[e(442)](r,this[e(429)]()),Object[e(442)](r,yield this[e(418)]()),Object.assign(r,this[e(438)]()),r[e(402)]=(window.performance[e(417)]()-t).toFixed(1),WTConstants.DEFAULTS[e(421)]&&(r=Object[e(440)](Object[e(413)](r).map(([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(421)]:r]))),!WTConstants[e(430)][e(421)]&&(r=Object.fromEntries(Object[e(413)](r)[e(419)](([e,t])=>null!=t))),r})}[_0x21593(418)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x56d6,t=yield storageSupport[e(433)]();return{connectivity_type:navigator[e(401)]?"1":"-1",country:yield countryFinder[e(394)](),package_name:window.location[e(411)],session_storage_enabled:t.sessionStorage,indexed_db_enabled:t.indexedDB,local_storage_enabled:t[e(446)],session_storage:storageSupport.getStorageSizeBytes(sessionStorage)[e(423)](0),local_storage:storageSupport[e(397)](localStorage)[e(423)](0),web_gl_support:DeviceFingerprint[e(387)](),web_gl_fingerprint:yield DeviceFingerprint[e(381)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(435)]()}})}[_0x21593(429)](){const e=_0x21593,t=storageManager.initialConfig;return t?{uuid:storageManager[e(392)],app_token:t[e(444)],environment:t[e(428)],store_name:e(384),app_version:t[e(414)],push_token:storageManager.pushToken,custom_device_id:t[e(382)],default_tracker:t[e(412)],platform:WTConstants[e(398)][e(389)],framework:t[e(391)].toLowerCase(),initiated_by:WTConstants[e(398)][e(389)]+"_"+t[e(391)].toLowerCase(),initiated_version:WTConstants[e(398)][e(436)],referrer:Utils[e(420)](),installed_at:storageManager[e(393)],session_count:storageManager.sessionCount.toString(),subsession_count:storageManager[e(443)][e(388)](),session_length:parseInt((storageManager[e(445)]/1e3).toString())[e(388)](),last_interval:parseInt((storageManager[e(416)]/1e3)[e(388)]())[e(388)]()}:{}}[_0x21593(438)](){const e=_0x21593,t=deviceDetector[e(408)]();return{browser_version:t[e(441)][e(424)],device_manufacturer:t[e(399)][e(422)],device_name:t.device.model,device_type:t[e(399)][e(432)],os_name:t.os[e(386)],os_version:t.os[e(424)],cpu_type:t.cpu[e(395)],web_user_agent:t.ua,display_height:window.innerHeight[e(423)](0),display_width:window[e(404)].toFixed(0),language:navigator[e(405)][e(410)]("-")[0],screen_density:deviceDetector[e(385)],screen_format:deviceDetector[e(406)],screen_size:deviceDetector[e(426)],ui_mode:deviceDetector[e(409)][e(388)](),cpu_lpc:navigator[e(400)].toString(),ui_style:deviceDetector.uiStyle,wout_width:window.outerWidth.toString(),wout_height:window.outerHeight[e(388)](),web_engine:t[e(383)][e(386)],web_engine_version:t[e(383)][e(424)],display_size:deviceDetector[e(437)],screen_type:deviceDetector.screenType}}}const fieldsBuilder=new FieldsBuilder;function _0x18bf(e,t){const r=_0x11e3();return(_0x18bf=function(e,t){return r[e-=124]})(e,t)}function _0x11e3(){const e=["64652ujpZFD","4423068nChUiV","event","keys","639800PyQEkP","4218590JcGGaR","name","assign","build","type","177VJleqP","186mqJKGC","currency","1043278mYVPXc","3444556vXAwTr","45398zxqDEs","call","params"];return(_0x11e3=function(){return e})()}!function(){const e=_0x18bf,t=_0x11e3();for(;;)try{if(711101===parseInt(e(137))/1+-parseInt(e(139))/2*(parseInt(e(134))/3)+parseInt(e(138))/4+parseInt(e(129))/5+parseInt(e(135))/6*(-parseInt(e(124))/7)+parseInt(e(128))/8+-parseInt(e(125))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){super(),this.event=e}build(){const e=_0x18bf,t=Object.create(null,{build:{get:()=>super[e(132)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(132)][r(140)](this),i={event_type:this[r(126)][r(133)],event_name:this[r(126)][r(130)]};return Object[r(127)](this.event.params).length>0&&(i.partner_params=this[r(126)][r(141)]),"revenue"===this[r(126)][r(133)]&&(i.revenue=this[r(126)].amount,i[r(136)]=this.event[r(136)]),new Promise(e=>{const t=r;e(Object.assign(Object[t(131)]({},n),i))})})}}const _0x40dc50=_0x1aa8;function _0x3275(){const e=[" request to pending queue","activeTime","warn","setActivityTimes","SESSIONS","build","53346lOQhyH","now","checkPushToken","687365HOyBvO","createDeviceID","initialDate","isRunning","blur","main","This Notification token has sent to server previously","258qiCPGv","stop","Creating Install: SDK is not enabled!","stringify","checkSessionIntervals","inactiveDuration","1443980dgOuYC","isEnabled"," request to main queue","initialized","SDK_INFOS","Add ","SDK is not enabled to start tracking!","subSessionCount","sessionCount","hasFocus","Creating First Session: SDK is not enabled!","s | (","deviceId","8647812skzvLG","visible","sdkEnabled","isVisibleFocused","fcmToken","info","3026710QlFPsO","createRequest","focus","Creating Session: First-Session has already submitted","getCountryCode","config","toISOString","firstSessionSubmit","sessionInterval","addPendingRequest","EVENTS","4453944FjgTmN","Creating Session: SDK is not enabled!","pushToken","Creating Attribution: SDK is not enabled!","checkSdkClicks","debug","checkFirstSession","trackEvent: SDK is not enabled","generateDeviceUUID","sdkClickSubmit","trackEvent: SDK is not initialized yet","trackEvent","addObservers","beforeunload","s Totaly)","CheckPushToken: SDK is not enabled","shutdown","inactiveTime","6akGniN","addEventListener","initialize","start","getQueueStatus","pending","addRequest","createAttribution","5477ajiuUb","280QgrcIw"];return(_0x3275=function(){return e})()}function _0x1aa8(e,t){const r=_0x3275();return(_0x1aa8=function(e,t){return r[e-=230]})(e,t)}!function(){const e=_0x1aa8,t=_0x3275();for(;;)try{if(927368===-parseInt(e(256))/1*(-parseInt(e(274))/2)+parseInt(e(248))/3*(parseInt(e(280))/4)+-parseInt(e(257))/5*(parseInt(e(264))/6)+parseInt(e(267))/7+parseInt(e(230))/8+-parseInt(e(293))/9+parseInt(e(299))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x1aa8;this[e(270)]=!1,this[e(283)]=!1}get[_0x40dc50(281)](){return storageManager[_0x40dc50(295)]}[_0x40dc50(250)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.getCountryCode(),yield this[e(261)](),this.createDeviceID(),this[e(242)](),this[e(283)]=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(281)]?(WTLogger[e(235)]("WT Tracker started"),yield queueManager[e(250)](),yield this[e(234)](),yield this[e(236)](),yield this[e(255)](),this.isRunning=!0):WTLogger[e(260)](e(286))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(270)]=!1,activityTicker.stop(),yield queueManager[e(246)](),WTLogger[e(235)]("WT Tracker stopped")})}[_0x40dc50(266)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1aa8;storageManager[t(232)]=e,this[t(281)]?storageManager[t(297)]!==e?yield this[t(300)]({endpoint:WTEndpoints[t(284)],queueType:"pending"}):WTLogger[t(298)](t(273)):WTLogger.warn(t(245))})}[_0x40dc50(241)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1aa8;this[t(281)]?this.initialized?(storageManager.eventCount+=1,yield this[t(300)]({endpoint:WTEndpoints[t(309)],fBuilder:new EventFieldsBuilder(e),queueType:"pending"})):WTLogger[t(260)](t(240)):WTLogger[t(260)](t(237))})}[_0x40dc50(303)](){countryFinder[_0x40dc50(303)]()}createAttribution(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.isEnabled?yield this[e(300)]({endpoint:WTEndpoints.ATTRIBUTIONS,queueType:e(253)}):WTLogger[e(260)](e(233))})}[_0x40dc50(236)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this.isEnabled?storageManager[e(306)]?WTLogger[e(235)](e(302)):yield this[e(300)]({endpoint:WTEndpoints[e(262)],queueType:storageManager[e(239)]?"main":"pending"}):WTLogger[e(260)](e(290))})}[_0x40dc50(234)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;this[e(281)]?storageManager[e(239)]?WTLogger[e(235)]("Creating Install: SDK-Clicks has already submitted"):yield this[e(300)]({endpoint:WTEndpoints.SDK_CLICKS}):WTLogger[e(260)](e(276))})}[_0x40dc50(300)](e){const t=_0x40dc50;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:n=t(272)}){const i=t,s=yield r[i(263)](),a=new RequestRecord(e,s);n===i(253)?(WTLogger[i(235)](i(285)+e+i(258)),yield queueManager[i(308)](a)):(WTLogger.debug(i(285)+e+i(282)),yield queueManager[i(254)](a));const o=queueManager[i(252)]();WTLogger[i(235)](JSON[i(277)](o))})}[_0x40dc50(268)](){const e=_0x40dc50;!storageManager[e(292)]&&(storageManager[e(292)]=cryptoHelper[e(238)]()),!storageManager[e(269)]&&(storageManager.initialDate=(new Date)[e(305)]())}[_0x40dc50(261)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;if(storageManager[e(259)]){storageManager[e(247)]=storageManager.activeTime;const t=Date[e(265)]()-storageManager[e(247)];storageManager.inactiveDuration+=t,WTLogger.debug("User was inactived for "+t/1e3+e(291)+storageManager[e(279)]/1e3+e(244)),yield this[e(278)]()}storageManager[e(259)]=Date[e(265)](),activityTicker[e(251)]()})}checkSessionIntervals(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1aa8;var t,r;const n=storageManager[e(247)],i=null===(t=storageManager[e(304)])||void 0===t?void 0:t[e(307)],s=null===(r=storageManager[e(304)])||void 0===r?void 0:r.subsessionInterval;if(!this.isEnabled)return void WTLogger[e(260)](e(231));if(!n||!i||!s)return;const a=Date.now()-n;a>1e3*parseInt(i)?(storageManager[e(288)]+=1,yield this[e(300)]({endpoint:WTEndpoints[e(262)],queueType:storageManager[e(239)]?e(272):e(253)})):a>1e3*parseInt(s)&&(storageManager[e(287)]+=1)})}[_0x40dc50(296)](){const e=_0x40dc50;return document.visibilityState===e(294)&&document[e(289)]()}[_0x40dc50(242)](){const e=_0x40dc50;window[e(249)](e(243),()=>{activityTicker[e(275)]()}),document[e(249)]("visibilitychange",()=>{const t=e;this[t(296)]()?(this[t(255)](),this[t(261)]()):activityTicker.stop()}),window[e(249)](e(301),()=>{const t=e;this[t(296)]()&&(this.createAttribution(),this[t(261)]())}),window[e(249)](e(271),()=>{activityTicker[e(275)]()})}}const tracker=new WTTracker,_0x4c6a8c=_0x31c5;function _0x31c5(e,t){const r=_0x2387();return(_0x31c5=function(e,t){return r[e-=470]})(e,t)}!function(){const e=_0x31c5,t=_0x2387();for(;;)try{if(890307===-parseInt(e(470))/1+parseInt(e(478))/2*(-parseInt(e(514))/3)+-parseInt(e(503))/4*(-parseInt(e(507))/5)+parseInt(e(491))/6+parseInt(e(494))/7+parseInt(e(479))/8*(-parseInt(e(482))/9)+parseInt(e(484))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0x31c5;return!WiseTrack[e(480)]&&(WiseTrack._instance=new WiseTrack),WiseTrack[e(480)]}constructor(){this[_0x31c5(485)]=!1}[_0x4c6a8c(508)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;var r,n;e.logLevel&&WTLogger[t(481)](e.logLevel);const i=yield this[t(511)](e);this[t(516)](i),this.checkSdkUpdate(i),this.setEnabled(!0),this[t(485)]=!0,yield tracker[t(471)]();(null===(r=e[t(506)])||void 0===r||r)&&setTimeout(()=>this[t(500)](),1e3*(null!==(n=e[t(510)])&&void 0!==n?n:0))})}[_0x4c6a8c(476)](e){WTLogger[_0x4c6a8c(481)](e)}flush(){const e=_0x4c6a8c;WTLogger[e(496)](e(498)),storageManager[e(499)](),this[e(515)]()}[_0x4c6a8c(495)](){return storageManager[_0x4c6a8c(474)]}[_0x4c6a8c(512)](e){const t=_0x4c6a8c,r=storageManager[t(483)];if(!r)throw new Error(t(489));if(!r.sdkEnabled)throw new Error(t(475));storageManager[t(474)]=e}[_0x4c6a8c(500)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x31c5;this[e(485)]?this[e(495)]()?yield tracker[e(500)]():WTLogger.warn(e(492)):WTLogger[e(504)](e(488))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x31c5;yield tracker[e(515)]()})}[_0x4c6a8c(477)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;this[t(485)]?this[t(495)]()?yield tracker[t(509)](e):WTLogger[t(504)](t(472)):WTLogger[t(504)](t(513))})}[_0x4c6a8c(505)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;this[t(485)]?this[t(495)]()?yield tracker[t(505)](e):WTLogger.warn(t(493)):WTLogger[t(504)](t(487))})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x31c5;let r;storageManager.initialConfig=e;try{r=yield apiClient[t(497)]()}catch(e){if(!(e instanceof ApiError.NetworkError))throw WTLogger[t(496)](t(486)),e;r=storageManager[t(483)]||WTConfig[t(490)]}return storageManager[t(483)]=r,WTLogger[t(496)]("SDK Config set"),r})}[_0x4c6a8c(516)](e){const t=_0x4c6a8c;if(!e[t(474)]){const e=t(475);throw WTLogger[t(473)](e),new Error(e)}}checkSdkUpdate(e){const t=_0x4c6a8c;e[t(501)]&&WTLogger[t(504)](t(502))}}function _0x2387(){const e=["isEnabled","info","doGetConfig","Clearing Data and stop tracker!","clear","startTracking","sdkUpdate","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","8dxJhTO","warn","trackEvent","startTrackerAutomatically","4415195zjWAtV","init","checkPushToken","trackingWaitingTime","getConfig","setEnabled","‼️ Set Fcm Token: SDK is not initialized yet","3aCSwxx","stopTracking","checkSdkEnabled","1015178EqkSQv","initialize","Set Fcm Token: SDK is not enabled!","error","sdkEnabled","SDK is disabled form server, contact your adminstrator!","setLogLevel","setFCMToken","1915618vZpKoX","3928PJXfMp","_instance","setLevel","13005iKODYU","config","4258770JbcPEo","sdkInitialized","‼️ SDK Config NOT set!, check errors.","‼️ Track Event: SDK is not initialized yet","‼️ Start Tracking: SDK is not initialized yet","Config is not set!","defaultValue","6963870TeHWCW","Start Tracking: SDK is not enabled!","Track Event: SDK is not enabled!","1541323onXiRA"];return(_0x2387=function(){return e})()}function _0x2009(){const e=["USD","AUD","CNY","ZAR","292wIvckQ","AED","JPY","HKD","KRW","7155412EmzxCF","57423gVYpCF","3140948jymiaS","5143936dOwddx","20PmCgCs","IRR","IQD","SEK","RUB","MXN","1wHlFRX","OMR","5gBhLUC","NOK","GBP","LTC","EHT","232AtojAK","TRY","EUR","8813112pjcGVS","533322edriWB","SGD","7040958QiRdNP","CHF"];return(_0x2009=function(){return e})()}function _0x2b96(e,t){const r=_0x2009();return(_0x2b96=function(e,t){return r[e-=318]})(e,t)}const _0x547359=_0x2b96;!function(){const e=_0x2b96,t=_0x2009();for(;;)try{if(886460===parseInt(e(323))/1*(parseInt(e(349))/2)+parseInt(e(348))/3*(-parseInt(e(342))/4)+parseInt(e(325))/5*(-parseInt(e(336))/6)+parseInt(e(350))/7+parseInt(e(330))/8*(parseInt(e(334))/9)+parseInt(e(351))/10*(-parseInt(e(347))/11)+parseInt(e(333))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x547359(338),EUR:_0x547359(332),JPY:_0x547359(344),GBP:_0x547359(327),AUD:_0x547359(339),CAD:"CAD",CHF:_0x547359(337),CNY:_0x547359(340),SEK:_0x547359(320),NZD:"NZD",MXN:_0x547359(322),SGD:_0x547359(335),HKD:_0x547359(345),NOK:_0x547359(326),KRW:_0x547359(346),TRY:_0x547359(331),RUB:_0x547359(321),INR:"INR",BRL:"BRL",ZAR:_0x547359(341),IRR:_0x547359(318),AED:_0x547359(343),IQD:_0x547359(319),SAR:"SAR",OMR:_0x547359(324),BTC:"BTC",EHT:_0x547359(329),LTC:_0x547359(328)},_0x1894e2=_0x34cd;function _0x34cd(e,t){const r=_0x5e81();return(_0x34cd=function(e,t){return r[e-=302]})(e,t)}!function(){const e=_0x34cd,t=_0x5e81();for(;;)try{if(256228===-parseInt(e(312))/1+parseInt(e(309))/2*(parseInt(e(308))/3)+parseInt(e(325))/4*(-parseInt(e(326))/5)+parseInt(e(334))/6*(-parseInt(e(306))/7)+-parseInt(e(307))/8+parseInt(e(331))/9+parseInt(e(305))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x34cd;super(e),this[t(313)]=t(327)}}function _0x5e81(){const e=["WTEventValidationError","Value cannot be null or undefined",'" is not valid. Please use different characters',"length","440613QqATsW","some","Value length must not exceed ","936114kEbgxa"," characters","includes","Key cannot be '",'key "',"validateValue","no_parameters","DANGEROUS_CHARS","9053550OqwlSx","7QJCUff","2654520qDlnoi","1524099tMULtR","2ADaHKs","containsDangerousChars",'value "',"230084kkGzlc","name","Key length must not exceed ","containsSQLInjection","test","FORBIDDEN_KEY","containsScriptInjection","Key must be a non-empty string","MAX_LENGTH","isMaliciousContent","validateKey","SQL_INJECTION_PATTERNS","SCRIPT_INJECTION_PATTERNS","12aROrHR","813665iTMPAv"];return(_0x5e81=function(){return e})()}class WTEventValidator{static[_0x1894e2(315)](e){const t=_0x1894e2;return this[t(323)][t(332)](t=>t.test(e))}static containsScriptInjection(e){const t=_0x1894e2;return this.SCRIPT_INJECTION_PATTERNS[t(332)](r=>r[t(316)](e))}static[_0x1894e2(310)](e){const t=_0x1894e2;return this[t(304)][t(332)](r=>e[t(336)](r))}static[_0x1894e2(321)](e){const t=_0x1894e2;if(this.containsSQLInjection(e))return!0;if(this[t(318)](e))return!0;if(this[t(310)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(321)](r))return!0}catch(e){}return!1}static[_0x1894e2(322)](e){const t=_0x1894e2;if(!e||"string"!=typeof e)throw new WTEventValidationError(t(319));if(e[t(330)]>this.MAX_LENGTH)throw new WTEventValidationError(t(314)+this[t(320)]+t(335));if(e===this[t(317)])throw new WTEventValidationError(t(337)+this.FORBIDDEN_KEY+"'");if(this[t(321)](e))throw new WTEventValidationError(t(338)+e+'" is not valid. Please use different characters')}static[_0x1894e2(302)](e){const t=_0x1894e2;if(null==e)throw new WTEventValidationError(t(328));const r=String(e);if(r[t(330)]>this[t(320)])throw new WTEventValidationError(t(333)+this.MAX_LENGTH+" characters");if(this[t(321)](r))throw new WTEventValidationError(t(311)+e+t(329))}}function _0x3c8b(e,t){const r=_0x371b();return(_0x3c8b=function(e,t){return r[e-=454]})(e,t)}function _0x371b(){const e=["22949600uJzoKT","652436rOQMey","message","681850WfBCuj","32FTeNIT","revenueEvent","264775AEHLyh","7426307RGyjYq","defaultEvent","amount","entries","1297911bGPQwC","type","validateValue","warn","6KfnPXD","default","params","revenue","5199669FbSkpY","currency","validateKey","name","16wabjMY"];return(_0x371b=function(){return e})()}WTEventValidator[_0x1894e2(320)]=50,WTEventValidator.FORBIDDEN_KEY=_0x1894e2(303),WTEventValidator[_0x1894e2(323)]=[/(\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[_0x1894e2(324)]=[/<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[_0x1894e2(304)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x5bbbe1=_0x3c8b;!function(){const e=_0x3c8b,t=_0x371b();for(;;)try{if(579222===-parseInt(e(461))/1+parseInt(e(459))/2+parseInt(e(469))/3+-parseInt(e(462))/4*(-parseInt(e(464))/5)+parseInt(e(473))/6*(-parseInt(e(465))/7)+-parseInt(e(457))/8*(parseInt(e(477))/9)+parseInt(e(458))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x3c8b;this[s(470)]=e,this[s(456)]=t,this[s(467)]=r,this[s(454)]=n,this.params={},i&&this.validateAndSetParams(i)}static[_0x5bbbe1(466)](e,t){return new WTEvent(_0x5bbbe1(474),e,void 0,void 0,t)}static[_0x5bbbe1(463)](e,t,r,n){return new WTEvent(_0x5bbbe1(476),e,t,r,n)}validateAndSetParams(e){const t=_0x5bbbe1;for(const[r,n]of Object[t(468)](e))try{WTEventValidator[t(455)](r),WTEventValidator[t(471)](n),this[t(475)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(472)]('WTEvent validation failed for key "'+r+'": '+e[t(460)]),e;throw e}}}function _0x1dee(e,t){var r=_0x35d4();return(_0x1dee=function(e,t){return r[e-=188]})(e,t)}function _0x35d4(){var e=["159655mePSHa","912222IlsvAm","2330456kOsNCr","4155kuulVv","1375911hWMSEC","16OUWYCl","2729594GCgblE","1DUxZnQ","2000xhqoaB","20296100axHtdI"];return(_0x35d4=function(){return e})()}!function(){for(var e=_0x1dee,t=_0x35d4();;)try{if(614919===parseInt(e(189))/1*(-parseInt(e(194))/2)+parseInt(e(195))/3*(-parseInt(e(190))/4)+-parseInt(e(192))/5+-parseInt(e(193))/6+parseInt(e(188))/7*(parseInt(e(197))/8)+-parseInt(e(196))/9+parseInt(e(191))/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";function _0x3e89(){const e=["300","18FFAnYa","1909766NiOVNJ","1800","24zXyMGw","web","173310RoLUom","1491304RfFGVk","375458tCbTkY","1214610wNgpeR","production","256193HAnfID","16677198WJGnIh","2.0.8"];return(_0x3e89=function(){return e})()}function _0xf0cc(e,t){const r=_0x3e89();return(_0xf0cc=function(e,t){return r[e-=388]})(e,t)}const _0x20ca0d=_0xf0cc;!function(){const e=_0xf0cc,t=_0x3e89();for(;;)try{if(526884===parseInt(e(393))/1+parseInt(e(401))/2+parseInt(e(391))/3+parseInt(e(392))/4+parseInt(e(394))/5*(parseInt(e(400))/6)+parseInt(e(396))/7*(-parseInt(e(389))/8)+-parseInt(e(397))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x20ca0d(390),VERSION:_0x20ca0d(398)},CONFIG:{DEFAULT_ENVIRONMENT:_0x20ca0d(395)},DEFAULTS:{LOG_LEVEL:"info",SESSION_INTERVAL:_0x20ca0d(388),SUBSESSION_INTERVAL:_0x20ca0d(399),PARAMETERS_VALUE:void 0}};function _0x5af0(e,t){const r=_0xf79f();return(_0x5af0=function(e,t){return r[e-=490]})(e,t)}const _0x35b196=_0x5af0;function _0xf79f(){const e=["259760TeLSob","shouldLog","5HJcDlI","addOutputEngine","log","42IwIFSl","debug","info","7467120ejtqEO","2989910muZcSJ","6umaJBi","toUpperCase","281687BtJVwQ","prefix","DEFAULTS","58884GwoDOS","77SoqzmJ","setPrefix","outputEngines","level","indexOf","3335736haOKbP","warn","error","LOG_LEVEL","483408nUuZkt","setLevel"];return(_0xf79f=function(){return e})()}!function(){const e=_0x5af0,t=_0xf79f();for(;;)try{if(513257===parseInt(e(512))/1+-parseInt(e(515))/2*(-parseInt(e(505))/3)+parseInt(e(494))/4*(parseInt(e(502))/5)+parseInt(e(510))/6*(-parseInt(e(509))/7)+parseInt(e(498))/8+-parseInt(e(508))/9+parseInt(e(500))/10*(parseInt(e(516))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogger{static[_0x35b196(499)](e){this[_0x35b196(492)]=e}static[_0x35b196(490)](e){this[_0x35b196(513)]=e}static[_0x35b196(503)](e){this[_0x35b196(491)].push(e)}static shouldLog(e){const t=_0x35b196,r=[t(506),t(507),"warn","error"],n=r.indexOf(this[t(492)]);return r[t(493)](e)>=n}static[_0x35b196(504)](e,...t){const r=_0x35b196;if(!this[r(501)](e))return;const n="["+this.prefix+"-"+e[r(511)]()+"]";for(const i of this[r(491)])i(e,n,t)}static[_0x35b196(506)](...e){const t=_0x35b196;this[t(504)](t(506),...e)}static[_0x35b196(507)](...e){const t=_0x35b196;this[t(504)](t(507),...e)}static[_0x35b196(495)](...e){const t=_0x35b196;this[t(504)](t(495),...e)}static error(...e){const t=_0x35b196;this[t(504)](t(496),...e)}}function _0x556b(e,t){var r=_0x5994();return(_0x556b=function(e,t){return r[e-=428]})(e,t)}WTLogger.level=WTConstants[_0x35b196(514)][_0x35b196(497)],WTLogger.prefix="WT",WTLogger.outputEngines=[(e,t,r)=>{const n=_0x5af0;switch(e){case"debug":console[n(506)](t,...r);break;case"info":console[n(507)](t,...r);break;case"warn":console.warn(t,...r);break;case n(496):console[n(496)](t,...r);break;default:console[n(504)](t,...r)}}];var _0x505c2f=_0x556b;!function(){for(var e=_0x556b,t=_0x5994();;)try{if(941020===-parseInt(e(432))/1+parseInt(e(489))/2*(-parseInt(e(459))/3)+-parseInt(e(493))/4*(-parseInt(e(503))/5)+parseInt(e(494))/6+parseInt(e(490))/7*(-parseInt(e(498))/8)+parseInt(e(483))/9*(-parseInt(e(441))/10)+parseInt(e(473))/11*(parseInt(e(502))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x505c2f(492),INITIAL_DATE:_0x505c2f(456),INITIAL_CONFIG:_0x505c2f(433),SDK_ENVIRONMENT:_0x505c2f(472),SDK_VERSION:_0x505c2f(505),CONFIG:_0x505c2f(501),SDK_CLICK_SUBMIT:_0x505c2f(447),FIRST_SESSION_SUBMIT:_0x505c2f(466),SDK_ENABLED:_0x505c2f(488),FCM_TOKEN:_0x505c2f(485),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:_0x505c2f(453),SESSION_COUNT:_0x505c2f(504),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:"WT.SubSessionCount",ACTIVE_TIME:_0x505c2f(452),INACTIVE_TIME:_0x505c2f(439),INACTIVE_DURATION:_0x505c2f(495),REQUEST_QUEUE:_0x505c2f(500),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{[_0x505c2f(454)](){localStorage.clear()}[_0x505c2f(437)](e,t){var r=_0x505c2f;if(t)try{const n=JSON[r(444)](t);localStorage[r(496)](e,n)}catch(t){WTLogger[r(491)](r(455)+e+"'",t)}else localStorage[r(469)](e)}[_0x505c2f(448)](e){var t=_0x505c2f;const r=localStorage[t(430)](e);if(!r)return null;try{return JSON[t(511)](r)}catch(r){return WTLogger[t(491)](t(474)+e+t(467)+r,r),null}}[_0x505c2f(478)](e){const t=localStorage[_0x505c2f(430)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}optionalBool(e){var t=_0x505c2f;const r=localStorage[t(430)](e);return null===r?null:r===t(451)||r!==t(487)&&null}get[_0x505c2f(507)](){var e=_0x505c2f;return localStorage[e(430)](WTStorageKeys[e(471)])}set[_0x505c2f(507)](e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys[t(471)],e):localStorage.removeItem(WTStorageKeys[t(471)])}get[_0x505c2f(463)](){var e=_0x505c2f;return this[e(448)](WTStorageKeys[e(506)])}set initialDate(e){this[_0x505c2f(437)](WTStorageKeys.INITIAL_DATE,e)}get[_0x505c2f(481)](){var e=_0x505c2f;return this[e(448)](WTStorageKeys[e(445)])}set[_0x505c2f(481)](e){this.setJson(WTStorageKeys.INITIAL_CONFIG,e)}get[_0x505c2f(512)](){return this[_0x505c2f(448)](WTStorageKeys.CONFIG)}set[_0x505c2f(512)](e){var t=_0x505c2f;this[t(437)](WTStorageKeys[t(443)],e)}get sdkEnabled(){var e;return null!==(e=this[_0x505c2f(457)](WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set[_0x505c2f(431)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(450)],e[t(458)]())}get[_0x505c2f(497)](){var e,t=_0x505c2f;return null!==(e=this[t(457)](WTStorageKeys[t(486)]))&&void 0!==e&&e}set[_0x505c2f(497)](e){var t=_0x505c2f;localStorage.setItem(WTStorageKeys[t(486)],e.toString())}get firstSessionSubmit(){var e,t=_0x505c2f;return null!==(e=this.optionalBool(WTStorageKeys[t(462)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(462)],e.toString())}get fcmToken(){var e=_0x505c2f;return localStorage.getItem(WTStorageKeys[e(509)])}set[_0x505c2f(434)](e){var t=_0x505c2f;e?localStorage[t(496)](WTStorageKeys.FCM_TOKEN,e):localStorage[t(469)](WTStorageKeys[t(509)])}get[_0x505c2f(476)](){var e=_0x505c2f;return localStorage.getItem(WTStorageKeys[e(464)])}set pushToken(e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys[t(464)],e):localStorage[t(469)](WTStorageKeys[t(464)])}get[_0x505c2f(480)](){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(436)]))&&void 0!==e?e:1}set[_0x505c2f(480)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys.SESSION_COUNT,e[t(458)]())}get[_0x505c2f(442)](){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(499)]))&&void 0!==e?e:1}set[_0x505c2f(442)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(499)],e.toString())}get activeDuration(){var e,t=_0x505c2f;return null!==(e=this[t(478)](WTStorageKeys[t(429)]))&&void 0!==e?e:0}set activeDuration(e){var t=_0x505c2f;localStorage.setItem(WTStorageKeys[t(429)],e[t(458)]())}get[_0x505c2f(475)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set[_0x505c2f(475)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(468)],e[t(458)]())}get inactiveTime(){var e=_0x505c2f;return this[e(478)](WTStorageKeys[e(446)])}set[_0x505c2f(449)](e){null!==e?localStorage.setItem(WTStorageKeys.ACTIVE_TIME,e.toString()):localStorage.removeItem(WTStorageKeys.ACTIVE_TIME)}get[_0x505c2f(470)](){return this[_0x505c2f(478)](WTStorageKeys.INACTIVE_TIME)}set[_0x505c2f(470)](e){var t=_0x505c2f;null!==e?localStorage[t(496)](WTStorageKeys[t(479)],e[t(458)]()):localStorage[t(469)](WTStorageKeys[t(479)])}get[_0x505c2f(510)](){var e,t=_0x505c2f;return null!==(e=this[t(448)](WTStorageKeys[t(477)]))&&void 0!==e?e:[]}set requestRecords(e){var t=_0x505c2f;this[t(437)](WTStorageKeys[t(477)],e)}get[_0x505c2f(440)](){var e,t=_0x505c2f;return null!==(e=this[t(448)](WTStorageKeys[t(461)]))&&void 0!==e?e:[]}set[_0x505c2f(440)](e){var t=_0x505c2f;this.setJson(WTStorageKeys[t(461)],e)}get[_0x505c2f(438)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.EVENT_COUNT))&&void 0!==e?e:0}set[_0x505c2f(438)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(435)],e[t(458)]())}get[_0x505c2f(484)](){return localStorage.getItem(WTStorageKeys.SDK_ENVIRONMENT)}set[_0x505c2f(484)](e){var t=_0x505c2f;localStorage[t(496)](WTStorageKeys[t(428)],e)}get[_0x505c2f(482)](){var e,t=_0x505c2f;return null!==(e=localStorage[t(430)](WTStorageKeys[t(508)]))&&void 0!==e?e:WTConstants[t(465)][t(460)]}set sdkVersion(e){var t=_0x505c2f;e?localStorage.setItem(WTStorageKeys.SDK_VERSION,e):localStorage[t(469)](WTStorageKeys.SDK_VERSION)}}const storageManager=new StorageManager;function _0x5994(){var e=["10623085PioejE","Error in JSON decoding for key '","inactiveDuration","pushToken","REQUEST_QUEUE","optionalNumber","INACTIVE_TIME","sessionCount","initialConfig","sdkVersion","9GsYJtV","sdkEnvironment","WT.FcmToken","SDK_CLICK_SUBMIT","false","WT.SdkEnabled","2608fsfqeU","38255Gayecr","error","WT.DeviceId","246748GACNAM","6008292MMjKRt","WT.InactiveDuration","setItem","sdkClickSubmit","1704SHkMSU","SUBSESSION_COUNT","WT.RequestQueue","WT.Configs","24VaQSOX","70SVAuuT","WT.SessionCount","WT.SdkVersion","INITIAL_DATE","deviceId","SDK_VERSION","FCM_TOKEN","requestRecords","parse","config","SDK_ENVIRONMENT","SESSION_LENGTH","getItem","sdkEnabled","892928PlbRAv","WT.InitialConfigs","fcmToken","EVENT_COUNT","SESSION_COUNT","setJson","eventCount","WT.InactiveTime","pendingRequestRecords","2847010IPaljh","subSessionCount","CONFIG","stringify","INITIAL_CONFIG","ACTIVE_TIME","WT.SdkClickSubmit","getJson","inactiveTime","SDK_ENABLED","true","WT.ActiveTime","WT.EventCount","clear","Error in encoding object for key '","WT.InitialDate","optionalBool","toString","1182XFJFve","VERSION","PENDING_REQUEST_QUEUE","FIRST_SESSION_SUBMIT","initialDate","PUSH_TOKEN","SDK","WT.FirstSessionSubmit","': ","INACTIVE_DURATION","removeItem","activeTime","DEVICE_ID","WT.SdkEnvironment"];return(_0x5994=function(){return e})()}function _0x2832(e,t){const r=_0x3d74();return(_0x2832=function(e,t){return r[e-=115]})(e,t)}const _0x47ca7c=_0x2832;!function(){const e=_0x2832,t=_0x3d74();for(;;)try{if(854545===parseInt(e(129))/1*(parseInt(e(115))/2)+-parseInt(e(137))/3+-parseInt(e(116))/4*(parseInt(e(128))/5)+-parseInt(e(131))/6+parseInt(e(134))/7+-parseInt(e(132))/8*(parseInt(e(123))/9)+parseInt(e(122))/10*(parseInt(e(135))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static decode(e){const t=_0x2832;try{const r=atob(e);let n="";for(let e=0;e<r[t(120)];e++){const i=90^r[t(126)](e);n+=String[t(117)](i)}return n}catch(e){return console[t(136)](t(119),e),""}}static get[_0x47ca7c(130)](){const e=_0x47ca7c;return this[e(124)](e(121))}static get[_0x47ca7c(133)](){const e=_0x47ca7c;return this[e(124)](e(127))}static get STAGE_BASE_URL(){const e=_0x47ca7c;return this[e(124)](e(125))}static get[_0x47ca7c(118)](){const e=_0x47ca7c;return this[e(124)](e(138))}}function _0x3d74(){const e=["Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","42095yPjHxC","1QsBIEG","CONFIG_PATH","8816694YWskCc","8sqovwf","DEBUG_BASE_URL","1895607szqDdF","49290824mUyehh","error","1553349pNoPDy","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","65566rneijU","368rgdgXZ","fromCharCode","PRODUCTION_BASE_URL","Decode error:","length","dTsqM3U9Py53OTU0PDM9","10XXMVDs","10514187xnKwwB","decode","Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==","charCodeAt"];return(_0x3d74=function(){return e})()}const _0x45f005=_0x1301;function _0x19f3(){const e=["3304688WalrVY","CONFIG","STAGE","DEBUG","790990CRIoYP","production","sandbox","367265wltxeS","STAGE_BASE_URL","112odfcjC","6164208ySnPSJ","10911uTrZIy","63VwKRSv","Unknown environment: ","stage","PRODUCTION_BASE_URL","502fyXyEQ","sdkEnvironment","PRODUCTION","5865132jjOATg","137780mfmkLz"];return(_0x19f3=function(){return e})()}function _0x1301(e,t){const r=_0x19f3();return(_0x1301=function(e,t){return r[e-=199]})(e,t)}!function(){const e=_0x1301,t=_0x19f3();for(;;)try{if(539903===-parseInt(e(211))/1+parseInt(e(199))/2*(parseInt(e(215))/3)+-parseInt(e(213))/4*(-parseInt(e(203))/5)+parseInt(e(214))/6+-parseInt(e(202))/7+-parseInt(e(204))/8+parseInt(e(216))/9*(-parseInt(e(208))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x45f005(210),PRODUCTION:_0x45f005(209)},WTSDKEnvironment={DEBUG:"debug",STAGE:_0x45f005(218),PRODUCTION:_0x45f005(209)},EnvironmentUtils={get sdkEnvironment(){const e=_0x45f005;var t;return null!==(t=storageManager.sdkEnvironment)&&void 0!==t?t:WTConstants[e(205)].DEFAULT_ENVIRONMENT},get needResponseDetails(){const e=_0x45f005;return this[e(200)]!==WTSDKEnvironment[e(201)]},get baseUrl(){const e=_0x45f005;switch(this[e(200)]){case WTSDKEnvironment[e(207)]:return SecureConfig.DEBUG_BASE_URL;case WTSDKEnvironment[e(206)]:return SecureConfig[e(212)];case WTSDKEnvironment.PRODUCTION:return SecureConfig[e(219)];default:throw new Error(e(217)+this.sdkEnvironment)}}};function _0x4ae9(e,t){var r=_0x4492();return(_0x4ae9=function(e,t){return r[e-=444]})(e,t)}function _0x4492(){var e=["sdkEnvironment","3996500wAyQiz","5837224kAxGTR","57696QEblSE","6764484QRCrSZ","2109384FPyuqu","1519982qRPJXK","sdkVersion","16850016HtsGoN","7UAIGPr","2ONHnTB"];return(_0x4492=function(){return e})()}var _0x35d562=_0x4ae9;!function(){for(var e=_0x4ae9,t=_0x4492();;)try{if(860599===-parseInt(e(444))/1*(parseInt(e(451))/2)+-parseInt(e(450))/3+parseInt(e(448))/4+parseInt(e(446))/5+parseInt(e(449))/6*(parseInt(e(454))/7)+-parseInt(e(447))/8+parseInt(e(453))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static sdkEnvironment(e){var t=_0x4ae9;try{storageManager[t(445)]=e}catch(e){}}static[_0x35d562(452)](e){var t=_0x35d562;try{storageManager[t(452)]=e}catch(e){}}}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(i,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((n=n.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const _0x4df27e=_0xce39;function _0xce39(e,t){const r=_0x5618();return(_0xce39=function(e,t){return r[e-=184]})(e,t)}function _0x5618(){const e=["202774YZBusM","/api/v1/sessions","4541008uLtUiE","1212MYqHUl","/api/v1/app_settings","3336444RqWdVe","855130osZVoG","1125989LeehnG","36fnzTnm","8841emSMSb","/api/v1/attributions","18fNUjgr","2470530THeHaR","62gJHFRo","/api/v1/events","14dJHrXF"];return(_0x5618=function(){return e})()}!function(){const e=_0xce39,t=_0x5618();for(;;)try{if(878741===parseInt(e(184))/1+-parseInt(e(190))/2*(-parseInt(e(186))/3)+parseInt(e(198))/4+-parseInt(e(189))/5*(-parseInt(e(188))/6)+-parseInt(e(192))/7*(parseInt(e(195))/8)+-parseInt(e(185))/9*(-parseInt(e(199))/10)+parseInt(e(193))/11*(-parseInt(e(196))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x4df27e(191),SESSIONS:_0x4df27e(194),SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:"/api/v1/sdk_infos",ATTRIBUTIONS:_0x4df27e(187),APP_SETTINGS:_0x4df27e(197)};var ApiError,_0x2d00b4=_0x401b;function _0x401b(e,t){var r=_0x3cde();return(_0x401b=function(e,t){return r[e-=301]})(e,t)}!function(){for(var e=_0x401b,t=_0x3cde();;)try{if(507196===-parseInt(e(316))/1+parseInt(e(331))/2*(parseInt(e(330))/3)+parseInt(e(310))/4*(-parseInt(e(311))/5)+parseInt(e(305))/6+parseInt(e(323))/7+-parseInt(e(308))/8*(parseInt(e(325))/9)+-parseInt(e(315))/10*(-parseInt(e(317))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,n,i,s=!0,o=!1,a=WTConstants[_0x2d00b4(312)][_0x2d00b4(314)],c=WTConstants[_0x2d00b4(312)].SUBSESSION_INTERVAL){var u=_0x2d00b4;this[u(328)]=e,this[u(318)]=t,this[u(306)]=r,this[u(326)]=n,this.attributions=i,this[u(324)]=s,this[u(320)]=o,this[u(304)]=a,this[u(309)]=c}static[_0x2d00b4(313)](e){var t,r,n,i,s=_0x2d00b4;return new WTConfig(e.events,e[s(318)],e.sdk_clicks,e[s(301)],e.attributions,null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[s(321)])&&void 0!==r&&r,null!==(n=e[s(302)])&&void 0!==n?n:WTConstants[s(312)].SESSION_INTERVAL,null!==(i=e[s(322)])&&void 0!==i?i:WTConstants[s(312)][s(329)])}static get[_0x2d00b4(303)](){var e=_0x2d00b4;return new WTConfig(WTEndpoints[e(307)],WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints[e(327)],WTEndpoints[e(319)],!0,!1,WTConstants[e(312)][e(314)],WTConstants[e(312)][e(329)])}}function _0x3cde(){var e=["40JqLJus","272961orqAsS","1540671oWXwWo","sessions","ATTRIBUTIONS","sdkUpdate","sdk_update","subsession_interval","4094391dYrmYS","sdkEnabled","18hIORsq","sdkInfos","SDK_INFOS","events","SUBSESSION_INTERVAL","3vcQhHf","518376zgPuJT","sdk_infos","session_interval","defaultValue","sessionInterval","2233698YxUIsd","sdkClicks","EVENTS","2905688hlgniu","subsessionInterval","1080196puCJoF","5heovHe","DEFAULTS","fromJson","SESSION_INTERVAL"];return(_0x3cde=function(){return e})()}function _0x4937(e,t){var r=_0x3ef8();return(_0x4937=function(e,t){return r[e-=477]})(e,t)}function _0x3ef8(){var e=["ServerError ","2151235ddCNaH","565259omyTqz","18zrePZO","Invalid URL: ","message","2509701AteDac","NetworkFailure","5069816FwNLea","DecodingError","InvalidUrl","NetworkError: ","3027608GrDslt","ServerError","16jxlyrJ","7505680gftqeA","name","statusCode","DecodingError: ","4012668CCPvAH"];return(_0x3ef8=function(){return e})()}function _0x4810(){var e=["maxRetries","1016695dSwHTP","231CHfdPO","3764664zTOcGw","267614ISSlna","1537630rmFkdC","21245SGBgPp","167961LZlqLx","retryInterval","30DdywVZ","38oErasD","9628164DfWDGF","3704rhPzpr"];return(_0x4810=function(){return e})()}function _0x2c65(e,t){var r=_0x4810();return(_0x2c65=function(e,t){return r[e-=454]})(e,t)}!function(){for(var e=_0x4937,t=_0x3ef8();;)try{if(953619===parseInt(e(486))/1+-parseInt(e(496))/2+-parseInt(e(490))/3+parseInt(e(492))/4+parseInt(e(485))/5*(parseInt(e(487))/6)+parseInt(e(479))/7+-parseInt(e(478))/8*(parseInt(e(483))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x4937;class r extends Error{constructor(e){var t=_0x4937;super(t(488)+e),this[t(480)]=t(494)}}e[t(494)]=r;class n extends Error{constructor(e,r){var n=t;super(n(484)+e+": "+r),this[n(481)]=e,this[n(489)]=r,this[n(480)]=n(477)}}e[t(477)]=n;class i extends Error{constructor(e){var r=t;super(r(495)+e),this[r(480)]=r(491)}}e.NetworkError=i;class s extends Error{constructor(e){var r=t;super(r(482)+e),this[r(480)]="DecodingError"}}e[t(493)]=s}(ApiError||(ApiError={})),function(){for(var e=_0x2c65,t=_0x4810();;)try{if(810432===parseInt(e(463))/1+parseInt(e(456))/2*(-parseInt(e(466))/3)+-parseInt(e(462))/4+-parseInt(e(460))/5*(parseInt(e(455))/6)+parseInt(e(465))/7*(parseInt(e(458))/8)+-parseInt(e(457))/9+-parseInt(e(464))/10*(-parseInt(e(461))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x2c65;this[r(459)]=e,this[r(454)]=t}canRetry(e){return e<this[_0x2c65(459)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x2c65;return new Promise(t=>setTimeout(t,this[e(454)]))})}}function _0x3534(){const e=["Server error","Error executing request","baseUrl","Unknown error","headers","822720Rbhwlk","Content-Type","-- PARAMETERS =>","✅ API SUCCESS (","1515sCgdNu","5622krTrOD","Invalid URL:","🚀 REQUEST (","1714704DIlpAl",") =>","sendRequest","warn","374838DehUEx","stringify","status","❌ API ERROR (","3148112WsKqvC","error","InvalidUrl","assign","ServerError","debug","waitBeforeRetry","986706TUaJJR","params","retryAttempt",") => ","json","application/json","text","message","392UzrcFF","Request successful","DecodingError","134372sJnJbz"];return(_0x3534=function(){return e})()}function _0x286e(e,t){const r=_0x3534();return(_0x286e=function(e,t){return r[e-=205]})(e,t)}!function(){const e=_0x286e,t=_0x3534();for(;;)try{if(610854===parseInt(e(209))/1+-parseInt(e(221))/2+-parseInt(e(217))/3+-parseInt(e(225))/4+parseInt(e(213))/5*(parseInt(e(214))/6)+parseInt(e(243))/7*(parseInt(e(240))/8)+parseInt(e(232))/9)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=_0x286e,n=t[r(234)]||1;let i,s;try{i=new URL(e,EnvironmentUtils[r(206)])}catch(t){throw console[r(226)](r(215),t),new(ApiError[r(227)])(""+EnvironmentUtils[r(206)]+e)}WTLogger.debug(r(216)+n+r(235)+t.method+" "+e),WTLogger[r(230)](r(211),t[r(233)]||{});const o=Object[r(228)]({Accept:r(237)},t[r(208)]);t.params&&(o[r(210)]=r(237),s=JSON[r(222)](t.params));try{const e=yield fetch(i,{method:t.method,headers:o,body:s});if(!e.ok){let t=yield e[r(236)](),n=t[r(239)]||(yield e[r(238)]());throw WTLogger[r(220)](r(224)+e[r(223)]+r(218),n),new ApiError.ServerError(e.status,t[r(239)]||r(244))}try{const t=yield e[r(236)]();return WTLogger.debug(r(212)+e.status+r(218),t.message||r(241)),t}catch(e){throw new(ApiError[r(242)])(e.message||String(e))}}catch(i){if(i instanceof ApiError[r(229)]||i instanceof ApiError.DecodingError)throw i;if(WTLogger[r(226)](r(205),i),this.retryPolicy().canRetry(n))return yield this.retryPolicy()[r(231)](),this[r(219)](e,Object[r(228)](Object[r(228)]({},t),{retryAttempt:n+1}));throw new ApiError.NetworkError(i[r(239)]||r(207))}})}};function _0x7866(e,t){const r=_0xd49d();return(_0x7866=function(e,t){return r[e-=203]})(e,t)}function _0xd49d(){const e=["10495387AKcvUa","1356618PqJSyw","sendRequest","appVersion","8GBVmFu","appToken","4604wVdBqk","6374480QTIRAh","570394sdMuJt","initialConfig","appFrameWork","POST","PLATFORM","hostname","other","20554299hswiBw","success","1524uEYcmM","2845410wZOjFa","Initial Config is not set","toISOString","fromJson","sdk_updated_at","CONFIG_PATH","sdkVersion"];return(_0xd49d=function(){return e})()}!function(){const e=_0x7866,t=_0xd49d();for(;;)try{if(873762===-parseInt(e(213))/1+-parseInt(e(223))/2+parseInt(e(222))/3*(parseInt(e(211))/4)+-parseInt(e(212))/5+-parseInt(e(206))/6+parseInt(e(205))/7+-parseInt(e(209))/8*(-parseInt(e(220))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x7866,t=storageManager[e(214)];if(!t)throw e(224);const r={parameters:{app_token:t[e(210)],app_version:t[e(208)],framework:t[e(215)],package_name:window.location[e(218)],platform:WTConstants.SDK[e(217)],sdk_version:storageManager[e(204)],initiated_by:WTConstants.SDK[e(217)]+"_"+t[e(215)],store_name:e(219)}},n=yield networkManager[e(207)](SecureConfig[e(203)],{method:e(216),params:r});return WTConfig[e(226)](n.result)})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x7866;t[r(227)]=(new Date)[r(225)]();return(yield networkManager[r(207)](e,{method:r(216),params:{needs_response_details:EnvironmentUtils.needResponseDetails,parameters:t}}))[r(221)]})}},_0x257c81=_0x364b;function _0x321a(){const e=["s, inactive duration= ","3wAturH","422986dgUBxJ","523266jAsbJV","stop","864540UXSZBO","inactiveDuration","start","hidden","tickerJob","activeDuration","hasFocus","ActivityTicker: active duration= ","isPaused","tickerDelay","198872CptFUA","1344006ouGcEp","126283hSIClK","now","7MOXVZh","1178600bqzdLV"];return(_0x321a=function(){return e})()}function _0x364b(e,t){const r=_0x321a();return(_0x364b=function(e,t){return r[e-=403]})(e,t)}!function(){const e=_0x364b,t=_0x321a();for(;;)try{if(147325===parseInt(e(421))/1+parseInt(e(406))/2*(parseInt(e(405))/3)+-parseInt(e(409))/4+-parseInt(e(403))/5+parseInt(e(407))/6+-parseInt(e(423))/7*(-parseInt(e(419))/8)+parseInt(e(420))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x364b;this.tickerDelay=1e3,this[e(417)]=!1}[_0x257c81(411)](){const e=_0x257c81;this.tickerJob&&clearInterval(this[e(413)]),this[e(413)]=setInterval(()=>{const t=e;this.isPaused||document[t(412)]||document[t(415)]()&&(console.log(t(416)+storageManager[t(414)]/1e3+t(404)+storageManager[t(410)]/1e3+"s"),storageManager.activeTime=Date[t(422)](),storageManager[t(414)]+=this[t(418)])},this[e(418)])}[_0x257c81(408)](){const e=_0x257c81;clearInterval(this.tickerJob),this[e(413)]=void 0}pause(){this[_0x257c81(417)]=!0}resume(){this[_0x257c81(417)]=!1}}const activityTicker=new ActivityTicker,_0x3cfd33=_0x5348;function _0x5348(e,t){const r=_0x7b30();return(_0x5348=function(e,t){return r[e-=131]})(e,t)}function _0x7b30(){const e=["405558zRykHt","countryCode","country_code","6948752JZgxdy","153YVUROy","https://api.country.is","9KNoBAq","fetchWithTimeout","country.is failed","finally","signal","7749450DHIMFc","265xCmfWT","json","abort","63XQjeBs","_country","10480272UlAhku","10976rBFzKz","getCountryCode","country","tryAllEndpoints","1397166nrGVJw","15558JZvpvk","https://free.freeipapi.com/api/json"];return(_0x7b30=function(){return e})()}!function(){const e=_0x5348,t=_0x7b30();for(;;)try{if(619131===parseInt(e(136))/1*(parseInt(e(155))/2)+-parseInt(e(154))/3+-parseInt(e(150))/4*(-parseInt(e(144))/5)+-parseInt(e(132))/6*(-parseInt(e(147))/7)+parseInt(e(135))/8+parseInt(e(138))/9*(-parseInt(e(143))/10)+-parseInt(e(149))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x5348(148)]=null}[_0x3cfd33(151)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5348;return!this._country&&(this[e(148)]=yield this[e(153)]()),this._country})}[_0x3cfd33(153)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)](e(137));if(!t.ok)throw new Error(e(140));return(yield t[e(145)]())[e(152)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)](e(131));if(!t.ok)throw new Error(e(140));return(yield t[e(145)]())[e(133)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5348,t=yield this[e(139)]("https://ipwho.is/");if(!t.ok)throw new Error("ipwho.is failed");return(yield t[e(145)]())[e(134)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x3cfd33(139)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x5348,n=new AbortController,i=setTimeout(()=>n[r(146)](),t);return fetch(e,{signal:n[r(142)]})[r(141)](()=>clearTimeout(i))})}}const countryFinder=new CountryFinder;function _0xc7f6(){const e=["6371233dvbbTw","1464925ytTupG","2TWzBvv","212058Vjvgtw","166376ZZDnXC","477204wnudnE","36184iVMgmm","50EgQuSh","375yvYKvi","126Hlluzx","1964buOXoG"];return(_0xc7f6=function(){return e})()}function _0x408a(e,t){const r=_0xc7f6();return(_0x408a=function(e,t){return r[e-=153]})(e,t)}!function(){const e=_0x408a,t=_0xc7f6();for(;;)try{if(224355===-parseInt(e(159))/1*(parseInt(e(161))/2)+parseInt(e(154))/3*(parseInt(e(156))/4)+-parseInt(e(158))/5+parseInt(e(162))/6+parseInt(e(155))/7*(parseInt(e(163))/8)+parseInt(e(160))/9*(-parseInt(e(153))/10)+parseInt(e(157))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()};function _0x59c9(e,t){const r=_0x2387();return(_0x59c9=function(e,t){return r[e-=449]})(e,t)}const _0x58574a=_0x59c9;function _0x2387(){const e=["16zNxGgS","locked","2019428LkHbDW","49602960jroNFj","release","368604GVDmnS","createdAt","acquire","push","10557309AHLKbt","endpoint","randomUUID","4084569lLcSBO","now","parameters","5050413QkMBQJ","shift","waitingQueue","283748YeKpkU","5LcKOKV","3BmZJfq"];return(_0x2387=function(){return e})()}!function(){const e=_0x59c9,t=_0x2387();for(;;)try{if(950471===-parseInt(e(455))/1*(-parseInt(e(453))/2)+-parseInt(e(468))/3+parseInt(e(458))/4*(-parseInt(e(454))/5)+parseInt(e(461))/6+-parseInt(e(465))/7+parseInt(e(456))/8*(-parseInt(e(450))/9)+parseInt(e(459))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x59c9;this.retryCount=0,this.maxRetries=3,this.id=crypto[r(467)](),this[r(466)]=e,this[r(449)]=t,this[r(462)]=Date[r(469)]()}}class Mutex{constructor(){const e=_0x59c9;this[e(457)]=!1,this[e(452)]=[]}[_0x58574a(463)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x59c9;this[t(457)]?this[t(452)][t(464)](e):(this.locked=!0,e())})})}[_0x58574a(460)](){const e=_0x58574a;if(this[e(452)].length>0){this[e(452)][e(451)]()()}else this[e(457)]=!1}}const _0x4efbfa=_0x14f9;function _0x14f9(e,t){const r=_0x49ee();return(_0x14f9=function(e,t){return r[e-=308]})(e,t)}function _0x49ee(){const e=["firstSessionSubmit","postRequestCheck","6RFGGys","processPendingQueue","getQueueStatus","length","343690clHabh","pow","mutex","Error sending request ","⏳ Request ","getPendingQueue","fcmToken","resetBackoffDelay","stopProcessing","5305867GqXeLp","sdkClickSubmit","failedRequestDelay","acquire","Applying backoff delay of ","isInitialized","shift","release"," failed. Retry ","isProcessing","startProcessing","maxRetries","): id=","SDK_CLICKS","BASE_DELAY_MS","2226405xiDLjO","sendRequest","Error in processing loop:","inactiveDuration","BACKOFF_MULTIPLIER","5267421aUrYkc","endpoint","addRequest"," failed after ","isCurrentlyProcessing","PROCESSING_INTERVAL_MS","977692mgWfnK","SDK_INFOS","⏰ Backoff delay ended, resuming queue processing","warn","processingInterval","MAX_DELAY_MS","8936576FTuYfg","processMainQueue","error","❌ Request ","getMainQueue","min","6zbbWDH","saveMainQueue","pendingRequestRecords","subSessionCount","retryCount","processQueues"," attempts. ","addPendingRequest","getBackoffConfig","doCallRequest","shutdown","🔄 Backoff delay manually reset","calculateBackoffDelay","initialize","parameters","SESSIONS","push_token","savePendingQueue","743068PaTpZL","now","getMainRequestsSentFlag","debug","requestRecords","push"];return(_0x49ee=function(){return e})()}!function(){const e=_0x14f9,t=_0x49ee();for(;;)try{if(662646===parseInt(e(317))/1+parseInt(e(359))/2*(parseInt(e(355))/3)+parseInt(e(347))/4+parseInt(e(383))/5+parseInt(e(329))/6*(-parseInt(e(368))/7)+-parseInt(e(323))/8+parseInt(e(311))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x14f9;this[e(373)]=!1,this[e(377)]=!1,this[e(315)]=!1,this[e(361)]=new Mutex,this[e(321)]=null,this[e(316)]=100,this[e(370)]=0,this[e(322)]=3e4,this[e(310)]=2,this[e(382)]=1e3}[_0x4efbfa(342)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;this.isInitialized=!0,!this[e(377)]&&(yield this[e(378)]())})}[_0x4efbfa(339)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;this.isInitialized&&(yield this[e(367)](),this.isInitialized=!1)})}startProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(this[e(373)]){yield this.mutex[e(371)]();try{if(this[e(377)])return;this.isProcessing=!0,this[e(321)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this.processQueues()}catch(e){WTLogger.error(t(308),e)}}),this[e(316)])}finally{this[e(361)][e(375)]()}yield this.processQueues()}else WTLogger.warn("Queue Manager is not initialized. Call initialize() first.")})}[_0x4efbfa(367)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;yield this[e(361)][e(371)]();try{this.isProcessing=!1,this[e(321)]&&(clearInterval(this.processingInterval),this[e(321)]=null)}finally{this[e(361)][e(375)]()}})}[_0x4efbfa(313)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x14f9;yield this.mutex[t(371)]();try{const r=this[t(327)]();if(r[t(352)](e),this.saveMainQueue(r),this.failedRequestDelay=0,!this[t(377)])return this[t(361)][t(375)](),void(yield this[t(378)]())}finally{this[t(377)]&&this.mutex[t(375)]()}})}[_0x4efbfa(336)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x14f9;yield this[t(361)][t(371)]();try{if(this.getMainRequestsSentFlag()){const r=this.getMainQueue();r.push(e),this[t(330)](r)}else{const r=this[t(364)]();r[t(352)](e),this[t(346)](r)}if(this[t(370)]=0,!this[t(377)])return this[t(361)].release(),void(yield this.startProcessing())}finally{this[t(377)]&&this.mutex[t(375)]()}})}[_0x4efbfa(334)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(this[e(377)]&&!this[e(315)]){if(this[e(370)]>0){if(Date.now()<this.failedRequestDelay)return;this.failedRequestDelay=0,WTLogger[e(350)](e(319))}this.isCurrentlyProcessing=!0,yield this[e(361)].acquire();try{yield this[e(324)](),yield this.processPendingQueue()}finally{this[e(361)][e(375)](),this[e(315)]=!1}}})}processMainQueue(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9,t=this[e(327)]();if(0===t[e(358)])return;const r=t[0];try{if(yield this[e(384)](r))t[e(374)](),this[e(330)](t),this[e(354)](r),WTLogger.debug("✅ Request "+r.id+" processed successfully");else{if(t[0][e(333)]++,t[0][e(333)]>=t[0][e(379)]){const n=this[e(341)](t[0][e(333)]);this[e(370)]=Date[e(348)]()+n,WTLogger[e(320)](e(363)+r.id+e(314)+r.maxRetries+e(335)+(e(372)+n+"ms"))}else WTLogger[e(320)]("⚠️ Request "+r.id+e(376)+t[0][e(333)]+"/"+t[0][e(379)]);this[e(330)](t)}}catch(n){if(WTLogger[e(325)](e(362)+r[e(312)]+":",n),t[0][e(333)]++,t[0][e(333)]>=t[0][e(379)]){const n=this[e(341)](t[0][e(333)]);this.failedRequestDelay=Date.now()+n,WTLogger[e(320)]("⏳ Request "+r.id+" failed with error after "+t[0][e(379)]+" attempts. "+(e(372)+n)+"ms")}this[e(330)](t)}})}calculateBackoffDelay(e){const t=_0x4efbfa,r=this.BASE_DELAY_MS*Math[t(360)](this[t(310)],e-1);return Math[t(328)](r,this[t(322)])}[_0x4efbfa(356)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x14f9;if(!this[e(349)]())return;const t=this[e(364)]();if(0===t[e(358)])return;const r=this[e(327)]();r[e(352)](...t),this[e(330)](r),this[e(346)]([])})}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x14f9;WTLogger.debug("💥 Sending request ("+e[r(312)]+r(380)+e.id);let n=!1;try{n=yield apiClient[r(338)](e[r(312)],e[r(343)])}catch(t){WTLogger[r(325)](r(326)+e[r(312)]+" failed",t)}return n})}[_0x4efbfa(327)](){return storageManager[_0x4efbfa(351)]}saveMainQueue(e){storageManager.requestRecords=e}getPendingQueue(){return storageManager[_0x4efbfa(331)]}[_0x4efbfa(346)](e){storageManager[_0x4efbfa(331)]=e}[_0x4efbfa(349)](){return storageManager[_0x4efbfa(369)]}postRequestCheck(e){const t=_0x4efbfa;switch(e[t(312)]){case WTEndpoints[t(381)]:storageManager[t(369)]=!0;break;case WTEndpoints[t(344)]:storageManager[t(353)]?(storageManager.activeDuration=0,storageManager[t(309)]=0,storageManager[t(332)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(318)]:storageManager[t(365)]=e[t(343)][t(345)]}}[_0x4efbfa(357)](){const e=_0x4efbfa;return{mainQueueLength:this.getMainQueue().length,pendingQueueLength:this[e(364)]()[e(358)],isProcessing:this[e(377)],mainRequestsSent:this[e(349)](),isInBackoffDelay:this[e(370)]>0&&Date.now()<this[e(370)],backoffEndsAt:this[e(370)]>0?this[e(370)]:null}}[_0x4efbfa(366)](){const e=_0x4efbfa;this[e(370)]=0,WTLogger[e(350)](e(340))}[_0x4efbfa(337)](){const e=_0x4efbfa;return{baseDelayMs:this.BASE_DELAY_MS,multiplier:this.BACKOFF_MULTIPLIER,maxDelayMs:this[e(322)]}}}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(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=trim(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=trim(r[n]);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,n,i,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=n=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(i=0;i<d.length;i++)a=o[++n],"object"==typeof(s=d[i])&&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 n=0;n<t[r].length;n++)if(has(t[r][n],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],n=defaultProps.isIgnore[t]||0,i=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(n,r)&&lowerize(i?strip(i,this[r]):this[r])==lowerize(i?strip(i,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 n=new r;return e(n),n}),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,n){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,n=e.fullVersionList||e.brands;if(n)for(var i in n){var s=n[i].brand||n[i],o=n[i].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,f=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",f("browser")).set("cpu",f("cpu")).set("device",f("device")).set("engine",f("engine")).set("os",f("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",n],["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 n={};r.forEach(function(e,t){n[t]=e}),r=n}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var i="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={},n=t;if(!isExtensions(t))for(var i in n={},t)for(var s in t[i])n[s]=t[i][s].concat(n[s]?n[s]:[]);for(var o in e)r[o]=n[o]&&n[o].length%2==0?n[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,i,o,s).set("ua",i).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,i,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 i}],["setUA",function(e){return isString(e)&&(i=e.length>500?trim(e,500):e),this}]]).setUA(i),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 _0x2ee834=_0x5425;function _0x5425(e,t){const r=_0x464d();return(_0x5425=function(e,t){return r[e-=327]})(e,t)}!function(){const e=_0x5425,t=_0x464d();for(;;)try{if(978609===-parseInt(e(366))/1+parseInt(e(367))/2+parseInt(e(335))/3+-parseInt(e(331))/4*(-parseInt(e(354))/5)+-parseInt(e(350))/6*(parseInt(e(375))/7)+-parseInt(e(334))/8+-parseInt(e(328))/9*(-parseInt(e(340))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x2ee834(353)](){const e=_0x2ee834,t=(new UAParser).getResult();return{browser:t[e(360)],os:t.os,device:t.device,engine:t[e(359)],cpu:t[e(349)],ua:t.ua}}get[_0x2ee834(347)](){const e=_0x2ee834;return window[e(352)]>=3?"high":window[e(352)]>=2?e(377):"low"}get[_0x2ee834(372)](){const e=_0x2ee834;return window.innerHeight>window[e(342)]?e(374):e(368)}get[_0x2ee834(327)](){const e=_0x2ee834,t=window[e(342)];return t<480?e(330):t<768?e(368):t<1440?"large":"xlarge"}get uiMode(){const e=_0x2ee834;var t,r,n;const i=this[e(353)](),s=(null===(t=i[e(364)])||void 0===t?void 0:t[e(338)])||"",o=(null===(n=null===(r=i.device)||void 0===r?void 0:r[e(351)])||void 0===n?void 0:n[e(378)]())||"",a=i.ua[e(378)]();return"wearable"===s||o[e(363)](e(370))?6:"smarttv"===s||a.includes(e(332))||a[e(363)](e(362))||a.includes("netcast")||a[e(363)]("googletv")||a[e(363)](e(371))?4:s===e(348)||a[e(363)]("playstation")||a[e(363)](e(344))||a[e(363)]("nintendo")?5:a[e(363)](e(337))||a[e(363)](e(333))||a[e(363)](e(343))?3:a[e(363)](e(361))||a[e(363)](e(356))||a.includes("vr")||s===e(373)?7:s===e(358)||"tablet"===s?1:""===s||s===e(345)?2:0}get uiStyle(){const e=_0x2ee834;return window[e(357)]&&window[e(357)](e(376)).matches?"1":"0"}get[_0x2ee834(341)](){const e=_0x2ee834,t=window[e(352)]||1,r=screen.width*t/160,n=screen.height*t/160;return Math.sqrt(Math.pow(r,2)+Math[e(369)](n,2))[e(365)](2)}get[_0x2ee834(346)](){const e=_0x2ee834;return e(336)in window||navigator[e(339)]>0?e(355):e(329)}}const deviceDetector=new DeviceDetector;function _0x464d(){const e=["1722080lMuYgG","normal","pow","watch","appletv","screenFormat","embedded","long","23723iaAVIz","(prefers-color-scheme: dark)","medium","toLowerCase","screenSize","17915418winzvo","pointer","small","12MJPKUm","smart-tv","android auto","13259584zYuluc","2886120qrYWwh","ontouchstart","car","type","maxTouchPoints","10EWlbbS","displaySize","innerWidth","carplay","xbox","desktop","screenType","screenDensity","console","cpu","738yWCiFs","model","devicePixelRatio","getDeviceInfo","1643905MwJSlw","touch","vive","matchMedia","mobile","engine","browser","oculus","hbbtv","includes","device","toFixed","1747121Ibjthy"];return(_0x464d=function(){return e})()}function _0x22e6(e,t){const r=_0x5b08();return(_0x22e6=function(e,t){return r[e-=182]})(e,t)}const _0x4315a8=_0x22e6;!function(){const e=_0x22e6,t=_0x5b08();for(;;)try{if(849972===-parseInt(e(194))/1*(-parseInt(e(185))/2)+-parseInt(e(200))/3*(parseInt(e(199))/4)+-parseInt(e(190))/5*(-parseInt(e(208))/6)+-parseInt(e(205))/7+parseInt(e(207))/8*(parseInt(e(187))/9)+-parseInt(e(202))/10+parseInt(e(186))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x22e6(184)]=null}[_0x4315a8(197)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x22e6;if(this[e(184)])return this.supportResults;const t=this[e(195)](),r=this.isSessionStorageSupported(),n=yield this[e(201)]();return this[e(184)]={localStorage:t,sessionStorage:r,indexedDB:n},this.supportResults})}getStorageSizeBytes(e){const t=_0x4315a8;let r=0;for(let n=0;n<e[t(196)];n++){const i=e.key(n);if(!i)continue;const s=e[t(189)](i);null!=s&&(r+=2*i[t(196)],r+=2*s[t(196)])}return r}[_0x4315a8(195)](){const e=_0x4315a8;try{const t=e(209);return localStorage[e(198)](t,"1"),localStorage[e(191)](t),!0}catch(e){return!1}}[_0x4315a8(182)](){const e=_0x4315a8;try{const t=e(209);return sessionStorage.setItem(t,"1"),sessionStorage[e(191)](t),!0}catch(e){return!1}}[_0x4315a8(201)](){const e=_0x4315a8;return"indexedDB"in window?new Promise(t=>{const r=e;try{const e=indexedDB.open(r(192));e[r(204)]=()=>t(!1),e[r(183)]=()=>{const n=r;e[n(203)][n(206)](),indexedDB[n(188)](n(192)),t(!0)}}catch(e){t(!1)}}):Promise[e(193)](!1)}}function _0x5b08(){const e=["__test__","isSessionStorageSupported","onsuccess","supportResults","30saAzix","34259995hTjRez","11162781yJiCtc","deleteDatabase","getItem","120845ARKZLQ","removeItem","__test__check__","resolve","66504JqXVUa","isLocalStorageSupported","length","getSupportResult","setItem","2972600nsZczX","6CVUHWK","isIndexedDBSupported","14902510BxaEPF","result","onerror","11696335WmxTYf","close","8RnzMBC","36peYZOo"];return(_0x5b08=function(){return e})()}const storageSupport=new StorageSupport;function _0x15c0(e,t){const r=_0x25cc();return(_0x15c0=function(e,t){return r[e-=482]})(e,t)}const _0x5210f4=_0x15c0;function _0x25cc(){const e=["Wix","/_next/","__VUE__","/_nuxt/","jQuery","hostname","Zepto.js","7154072DfsigI","detectWebFramework","wp-includes","join","Zepto","Alpine.js","search","[x-data], [x-init], [x-bind]","22hRTdxd","referrer","Backbone","scripts","[data-v-app], [data-v-]","includes","996925ELvSMl","svelte","wp-content","Angular","__REACT_DEVTOOLS_GLOBAL_HOOK__","entries","Backbone.js","495xhWdtu","cdn.shopify.com","Vue.js","WordPress","/js/app.js","some","React","wix.com","Gatsby.js","Drupal","documentElement","startsWith",'meta[name="generator"][content*="Ghost"]',"Ghost CMS","1343718CWcXYa","7325857YrZFQi","290101YEqwEi","_reactRootContainer",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","utm_medium","utm_","textContent","static.squarespace.com","Squarespace","150QzquWm","Nuxt.js","10aRqIuv","Svelte","keys",'meta[name="generator"][content*="WordPress"]',"src","7013UvjHHZ","15348VWzxnV","__reactContainer","querySelectorAll","querySelector","map","Laravel","location"];return(_0x25cc=function(){return e})()}!function(){const e=_0x15c0,t=_0x25cc();for(;;)try{if(658302===-parseInt(e(527))/1*(-parseInt(e(483))/2)+-parseInt(e(496))/3*(parseInt(e(528))/4)+-parseInt(e(489))/5+-parseInt(e(520))/6*(-parseInt(e(512))/7)+parseInt(e(542))/8+parseInt(e(510))/9+parseInt(e(522))/10*(-parseInt(e(511))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x15c0,t=new URLSearchParams(window[e(534)][e(548)]),r={};for(const[n,i]of t[e(494)]())n.startsWith(e(516))&&i&&(r[n]=i);if(!r.utm_source){const t=document[e(484)];r.utm_source=t?new URL(t)[e(540)]:"other"}return!r[e(515)]&&(r[e(515)]="organic"),Object.entries(r)[e(532)](([e,t])=>e+"="+encodeURIComponent(t))[e(545)]("&")}}function _0x3429(e,t){const r=_0x55d9();return(_0x3429=function(e,t){return r[e-=476]})(e,t)}Utils[_0x5210f4(543)]=()=>{const e=_0x5210f4;return document.querySelector("script[id=__NEXT_DATA__]")||[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(536)))?"Next.js":window.React||document[e(531)]("[data-reactroot], [data-reactid]")||Array.from(document[e(530)]("*"))[e(501)](t=>void 0!==t[e(513)]||Object[e(524)](t)[e(501)](t=>t[e(507)](e(529))))||window[e(493)]?e(502):[...document.scripts][e(501)](t=>t[e(526)].includes(e(538)))?e(521):window[e(537)]||window.Vue||document.querySelector(e(487))?e(498):document[e(531)]("[id=___gatsby]")?e(504):window||document[e(531)](e(514))||document[e(531)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document.querySelector("[ng-version]")?e(492):[...document[e(486)]][e(501)](t=>{const r=e;var n;return t[r(526)][r(488)](r(490))||(null===(n=t[r(517)])||void 0===n?void 0:n[r(488)](r(490)))})?e(523):document.querySelector(e(482))?e(547):window[e(539)]?e(539):window[e(485)]?e(495):window.Meteor?"Meteor.js":window[e(546)]?e(541):document[e(531)](e(525))||[...document[e(486)]].some(t=>t[e(526)][e(488)](e(491))||t[e(526)][e(488)](e(544)))?e(499):[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(500))||t[e(526)][e(488)]("mix-manifest.json"))?e(533):document[e(531)]('meta[name="generator"][content*="Drupal"]')||document[e(506)].innerHTML[e(488)]("drupal-settings-json")?e(505):document[e(506)].innerHTML[e(488)](e(497))?"Shopify":[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(518)))?e(519):[...document[e(486)]][e(501)](t=>t[e(526)][e(488)](e(503)))?e(535):document[e(531)](e(508))?e(509):void 0};const _0x540299=_0x3429;function _0x55d9(){const e=["getWebGLFingerprint","textBaseline","join","vendor","canvas","2mhnyDA","SHADING_LANGUAGE_VERSION","5465748NUtZkQ","subtle","from","#069","fillRect","createElement","renderer","UNMASKED_RENDERER_WEBGL","experimental-webgl","RENDERER","top","MAX_RENDERBUFFER_SIZE","281255CCQIGg","getParameter","VENDOR","toDataURL","getExtension","1281542eKHuLj","webgl","23541948pnQtBj","42LZTbVT","SHA-256","33yVuOjy","18960qXlkrv","padStart","stringify","UNMASKED_VENDOR_WEBGL","digest","3432048VTZzRa","hashData","20QWNtCd","fillText","1478907pUKuaF","encode","MAX_TEXTURE_SIZE","getContext","fillStyle","getCanvasFingerprint","font","WEBGL_debug_renderer_info","WiseTrack WebGL Fingerprint!","#f60","2569OeFdza"];return(_0x55d9=function(){return e})()}!function(){const e=_0x3429,t=_0x55d9();for(;;)try{if(989116===-parseInt(e(497))/1+parseInt(e(478))/2*(-parseInt(e(480))/3)+-parseInt(e(508))/4+-parseInt(e(492))/5*(parseInt(e(500))/6)+-parseInt(e(522))/7*(parseInt(e(503))/8)+-parseInt(e(512))/9*(-parseInt(e(510))/10)+-parseInt(e(502))/11*(-parseInt(e(499))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static isWebGLSupported(){const e=_0x3429;try{const t=document[e(485)](e(477));return!(!t[e(515)](e(498))&&!t.getContext("experimental-webgl"))}catch(e){return!1}}static[_0x540299(523)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3429,t=document[e(485)](e(477)),r=t[e(515)](e(498))||t[e(515)](e(488));if(!r)return;const n={version:r.getParameter(r.VERSION),shadingLangVersion:r[e(493)](r[e(479)]),maxTextureSize:r[e(493)](r[e(514)]),maxRenderBufferSize:r[e(493)](r[e(491)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(496)](e(519));n[e(476)]=t?r[e(493)](t[e(506)]):r[e(493)](r[e(494)])}catch(t){n.vendor=r.getParameter(r[e(494)])}try{const t=r[e(496)](e(519));n[e(486)]=t?r[e(493)](t[e(487)]):r[e(493)](r[e(489)])}catch(t){n[e(486)]=r.getParameter(r[e(489)])}return yield this.hashData(JSON[e(505)](n))})}static[_0x540299(517)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3429,t=document.createElement(e(477));t.width=200,t.height=50;const r=t.getContext("2d");if(r)return r[e(524)]=e(490),r[e(518)]="14px 'Arial'",r[e(516)]=e(521),r[e(484)](0,0,200,50),r.fillStyle=e(483),r[e(511)](e(520),2,2),yield this[e(509)](t[e(495)]())})}static[_0x540299(509)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3429,r="string"==typeof e?e:JSON.stringify(e),n=(new TextEncoder)[t(513)](r),i=yield crypto[t(481)][t(507)](t(501),n);return Array[t(482)](new Uint8Array(i)).map(e=>e.toString(16)[t(504)](2,"0"))[t(525)]("")})}}function _0x1212(){const e=["name","560162gdzCwW","isWebGLSupported","uiStyle","time_spent","vendor","indexedDB","screenType","split","performance","appVersion","1WgSfqk","userEnvironment","now","type","initialConfig","getUTMParamsString","3174056XlMUZV","sdkVersion","entries","sessionStorage","getCountryCode","toISOString","DEFAULTS","outerHeight","screenFormat","getApplicationFields","22249970jxlIlm","engine","browser","deviceId","customDeviceId","assign","PARAMETERS_VALUE","9NeZFss","model","getSupportResult","toString","getWebGLFingerprint","location","sdk_requested_at","toLowerCase","outerWidth","screenSize","inactiveDuration","hardwareConcurrency","2455090kolyQC","PLATFORM","1311525kDdFBe","subSessionCount","getDeviceFields","architecture","version","49ZRPRie","859374OAemni","getLocalFields","SDK","1225316GybiWu","getCanvasFingerprint","getStorageSizeBytes","pushToken","displaySize","appFrameWork","toFixed","innerWidth","getDeviceInfo"];return(_0x1212=function(){return e})()}const _0x2cfa64=_0x24a5;!function(){const e=_0x24a5,t=_0x1212();for(;;)try{if(688966===-parseInt(e(197))/1*(-parseInt(e(187))/2)+parseInt(e(168))/3+parseInt(e(177))/4+parseInt(e(166))/5+-parseInt(e(174))/6*(-parseInt(e(173))/7)+-parseInt(e(203))/8*(-parseInt(e(154))/9)+-parseInt(e(213))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x24a5,t=window.performance[e(199)]();let r={};return r[e(160)]=(new Date)[e(208)](),Object.assign(r,this[e(175)]()),Object[e(152)](r,yield this[e(212)]()),Object[e(152)](r,this.getDeviceFields()),r[e(190)]=(window[e(195)][e(199)]()-t)[e(183)](1),WTConstants[e(209)][e(153)]&&(r=Object.fromEntries(Object[e(205)](r).map(([t,r])=>[t,null==r?WTConstants[e(209)][e(153)]:r]))),!WTConstants[e(209)].PARAMETERS_VALUE&&(r=Object.fromEntries(Object[e(205)](r).filter(([e,t])=>null!=t))),r})}[_0x2cfa64(212)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x24a5,t=yield storageSupport[e(156)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(207)](),package_name:window[e(159)].hostname,session_storage_enabled:t[e(206)],indexed_db_enabled:t[e(192)],local_storage_enabled:t.localStorage,session_storage:storageSupport[e(179)](sessionStorage)[e(183)](0),local_storage:storageSupport[e(179)](localStorage)[e(183)](0),web_gl_support:DeviceFingerprint[e(188)](),web_gl_fingerprint:yield DeviceFingerprint[e(158)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(178)]()}})}[_0x2cfa64(175)](){const e=_0x2cfa64,t=storageManager[e(201)];return t?{uuid:storageManager[e(150)],app_token:t.appToken,environment:t[e(198)],store_name:"other",app_version:t[e(196)],push_token:storageManager[e(180)],custom_device_id:t[e(151)],default_tracker:t.defaultTracker,platform:WTConstants[e(176)][e(167)],framework:t[e(182)][e(161)](),initiated_by:WTConstants.SDK[e(167)]+"_"+t[e(182)][e(161)](),initiated_version:storageManager[e(204)],referrer:Utils[e(202)](),installed_at:storageManager.initialDate,session_count:storageManager.sessionCount[e(157)](),subsession_count:storageManager[e(169)][e(157)](),session_length:parseInt((storageManager.activeDuration/1e3)[e(157)]()).toString(),last_interval:parseInt((storageManager[e(164)]/1e3)[e(157)]())[e(157)]()}:{}}[_0x2cfa64(170)](){const e=_0x2cfa64,t=deviceDetector[e(185)]();return{browser_version:t[e(215)][e(172)],device_manufacturer:t.device[e(191)],device_name:t.device[e(155)],device_type:t.device[e(200)],os_name:t.os.name,os_version:t.os[e(172)],cpu_type:t.cpu[e(171)],web_user_agent:t.ua,display_height:window.innerHeight[e(183)](0),display_width:window[e(184)].toFixed(0),language:navigator.language[e(194)]("-")[0],screen_density:deviceDetector.screenDensity,screen_format:deviceDetector[e(211)],screen_size:deviceDetector[e(163)],ui_mode:deviceDetector.uiMode[e(157)](),cpu_lpc:navigator[e(165)][e(157)](),ui_style:deviceDetector[e(189)],wout_width:window[e(162)][e(157)](),wout_height:window[e(210)][e(157)](),web_engine:t[e(214)][e(186)],web_engine_version:t.engine[e(172)],display_size:deviceDetector[e(181)],screen_type:deviceDetector[e(193)]}}}function _0x24a5(e,t){const r=_0x1212();return(_0x24a5=function(e,t){return r[e-=150]})(e,t)}const fieldsBuilder=new FieldsBuilder;function _0x1974(e,t){const r=_0x4290();return(_0x1974=function(e,t){return r[e-=393]})(e,t)}!function(){const e=_0x1974,t=_0x4290();for(;;)try{if(552444===parseInt(e(404))/1*(-parseInt(e(406))/2)+-parseInt(e(403))/3+-parseInt(e(410))/4*(-parseInt(e(402))/5)+parseInt(e(409))/6*(-parseInt(e(400))/7)+-parseInt(e(399))/8+-parseInt(e(401))/9+-parseInt(e(407))/10*(-parseInt(e(405))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x1974;super(),this[t(394)]=e}build(){const e=_0x1974,t=Object[e(411)](null,{build:{get:()=>super[e(412)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(412)].call(this),i={event_type:this[r(394)][r(396)],event_name:this[r(394)].name};return Object[r(395)](this[r(394)].params)[r(413)]>0&&(i[r(393)]=this[r(394)].params),this.event[r(396)]===r(397)&&(i[r(397)]=this.event.amount,i.currency=this[r(394)][r(398)]),new Promise(e=>{const t=r;e(Object.assign(Object[t(408)]({},n),i))})})}}function _0x4290(){const e=["event","keys","type","revenue","currency","5668664CjdWKq","1401589otcbQN","6166719YaWFdp","10bWCxOc","1515849NknSJq","21230azBtOI","37125902imeRzf","28oteWDV","10gAhdwH","assign","30YdJIkh","749548JxsUDi","create","build","length","partner_params"];return(_0x4290=function(){return e})()}const _0x3b1a21=_0x5a15;function _0x5a15(e,t){const r=_0x5038();return(_0x5a15=function(e,t){return r[e-=365]})(e,t)}function _0x5038(){const e=["debug","config","SDK_CLICKS","initialized","434820AgyvuO"," request to pending queue","subSessionCount","1963336mIxHzY","stop","SDK_INFOS","activeTime","visibilitychange","addRequest","EVENTS","fcmToken","firstSessionSubmit","createDeviceID","getCountryCode","getQueueStatus","ATTRIBUTIONS","pushToken"," request to main queue","now","Creating First Session: SDK is not enabled!","deviceId","9hmsZKw","initialDate","checkPushToken","checkFirstSession","Creating Install: SDK is not enabled!","checkSessionIntervals","isRunning","toISOString","initialize","SDK is not enabled to start tracking!","addEventListener","This Notification token has sent to server previously","isVisibleFocused","725535xuxmPM","addPendingRequest","createRequest","createAttribution","Creating Session: First-Session has already submitted","focus","setActivityTimes","startTracking","inactiveTime","sdkEnabled","4863694rLQJQL","Creating Session: SDK is not enabled!","stopTracking","94504owEKDX","18EGnjWa","shutdown","generateDeviceUUID","10DfiROb","242417SnDbsP","eventCount","sdkClickSubmit","s Totaly)","2036420EzQklU","User was inactived for ","WT Tracker started","hasFocus","start","Add ","addObservers","pending","subsessionInterval","checkSdkClicks","SESSIONS","trackEvent","warn","isEnabled","inactiveDuration","sessionInterval","visible","1AjnYYA","main","build"];return(_0x5038=function(){return e})()}!function(){const e=_0x5a15,t=_0x5038();for(;;)try{if(126471===-parseInt(e(380))/1*(-parseInt(e(434))/2)+parseInt(e(421))/3+parseInt(e(387))/4*(parseInt(e(438))/5)+parseInt(e(435))/6*(parseInt(e(439))/7)+-parseInt(e(390))/8*(parseInt(e(408))/9)+parseInt(e(443))/10+-parseInt(e(431))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x5a15;this[e(414)]=!1,this[e(386)]=!1}get isEnabled(){return storageManager[_0x5a15(430)]}[_0x3b1a21(416)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(400)](),yield this[e(427)](),this[e(399)](),this.addObservers(),this[e(386)]=!0})}[_0x3b1a21(428)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?(WTLogger[e(383)](e(365)),yield queueManager.initialize(),yield this[e(372)](),yield this[e(411)](),yield this[e(424)](),this.isRunning=!0):WTLogger.warn(e(417))})}[_0x3b1a21(433)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this.isRunning=!1,activityTicker[e(391)](),yield queueManager[e(436)](),WTLogger[e(383)]("WT Tracker stopped")})}[_0x3b1a21(410)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5a15;storageManager[t(403)]=e,this[t(376)]?storageManager[t(397)]!==e?yield this[t(423)]({endpoint:WTEndpoints[t(392)],queueType:t(370)}):WTLogger.info(t(419)):WTLogger.warn("CheckPushToken: SDK is not enabled")})}[_0x3b1a21(374)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5a15;this[t(376)]?this[t(386)]?(storageManager[t(440)]+=1,yield this[t(423)]({endpoint:WTEndpoints[t(396)],fBuilder:new EventFieldsBuilder(e),queueType:t(370)})):WTLogger.warn("trackEvent: SDK is not initialized yet"):WTLogger[t(375)]("trackEvent: SDK is not enabled")})}getCountryCode(){countryFinder.getCountryCode()}[_0x3b1a21(424)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?yield this[e(423)]({endpoint:WTEndpoints[e(402)],queueType:e(370)}):WTLogger.warn("Creating Attribution: SDK is not enabled!")})}[_0x3b1a21(411)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this[e(376)]?storageManager[e(398)]?WTLogger.debug(e(425)):yield this[e(423)]({endpoint:WTEndpoints[e(373)],queueType:storageManager[e(441)]?"main":e(370)}):WTLogger[e(375)](e(406))})}[_0x3b1a21(372)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;this.isEnabled?storageManager[e(441)]?WTLogger[e(383)]("Creating Install: SDK-Clicks has already submitted"):yield this[e(423)]({endpoint:WTEndpoints[e(385)]}):WTLogger[e(375)](e(412))})}[_0x3b1a21(423)](e){const t=_0x3b1a21;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:n=t(381)}){const i=t,s=yield r[i(382)](),o=new RequestRecord(e,s);"pending"===n?(WTLogger.debug(i(368)+e+i(388)),yield queueManager[i(422)](o)):(WTLogger[i(383)](i(368)+e+i(404)),yield queueManager[i(395)](o));const a=queueManager[i(401)]();WTLogger[i(383)](JSON.stringify(a))})}[_0x3b1a21(399)](){const e=_0x3b1a21;!storageManager[e(407)]&&(storageManager[e(407)]=cryptoHelper[e(437)]()),!storageManager[e(409)]&&(storageManager[e(409)]=(new Date)[e(415)]())}[_0x3b1a21(427)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;if(storageManager[e(393)]){storageManager[e(429)]=storageManager[e(393)];const t=Date[e(405)]()-storageManager[e(429)];storageManager[e(377)]+=t,WTLogger[e(383)](e(444)+t/1e3+"s | ("+storageManager[e(377)]/1e3+e(442)),yield this[e(413)]()}storageManager[e(393)]=Date.now(),activityTicker[e(367)]()})}[_0x3b1a21(413)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5a15;var t,r;const n=storageManager[e(429)],i=null===(t=storageManager[e(384)])||void 0===t?void 0:t[e(378)],s=null===(r=storageManager.config)||void 0===r?void 0:r[e(371)];if(!this[e(376)])return void WTLogger.warn(e(432));if(!n||!i||!s)return;const o=Date.now()-n;o>1e3*parseInt(i)?(storageManager.sessionCount+=1,yield this[e(423)]({endpoint:WTEndpoints.SESSIONS,queueType:storageManager[e(441)]?"main":e(370)})):o>1e3*parseInt(s)&&(storageManager[e(389)]+=1)})}[_0x3b1a21(420)](){const e=_0x3b1a21;return document.visibilityState===e(379)&&document[e(366)]()}[_0x3b1a21(369)](){const e=_0x3b1a21;window.addEventListener("beforeunload",()=>{activityTicker[_0x5a15(391)]()}),document[e(418)](e(394),()=>{const t=e;this[t(420)]()?(this[t(424)](),this[t(427)]()):activityTicker[t(391)]()}),window[e(418)](e(426),()=>{const t=e;this[t(420)]()&&(this.createAttribution(),this[t(427)]())}),window[e(418)]("blur",()=>{activityTicker[e(391)]()})}}const tracker=new WTTracker,_0x4952d9=_0x2b7a;function _0x2b7a(e,t){const r=_0x5621();return(_0x2b7a=function(e,t){return r[e-=498]})(e,t)}function _0x5621(){const e=["SDK is disabled form server, contact your adminstrator!","‼️ Start Tracking: SDK is not initialized yet","‼️ SDK Config NOT set!, check errors.","Track Event: SDK is not enabled!","doGetConfig","checkSdkUpdate","4784499mNTLXj","3qbmCSr","trackEvent","init","385zctUgP","isEnabled","45438PUgJkl","defaultValue","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","getConfig","info","config","28TIHhhZ","‼️ Set Fcm Token: SDK is not initialized yet","startTrackerAutomatically","logLevel","503504DGLlLZ","setLogLevel","_instance","856870GplXkH","initialConfig","Config is not set!","2944238ivUbHj","Set Fcm Token: SDK is not enabled!","1769504zwJxxS","sdkInitialized","stopTracking","562688PNgSen","NetworkError","error","Clearing Data and stop tracker!","startTracking","clear","setLevel","SDK Config set","10mTvdxF","sdkEnabled","warn","initialize"];return(_0x5621=function(){return e})()}!function(){const e=_0x2b7a,t=_0x5621();for(;;)try{if(405131===-parseInt(e(523))/1+-parseInt(e(526))/2*(-parseInt(e(508))/3)+parseInt(e(531))/4+parseInt(e(511))/5*(parseInt(e(513))/6)+-parseInt(e(519))/7*(parseInt(e(534))/8)+-parseInt(e(507))/9*(parseInt(e(542))/10)+parseInt(e(529))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0x2b7a;return!WiseTrack[e(525)]&&(WiseTrack[e(525)]=new WiseTrack),WiseTrack[e(525)]}constructor(){this[_0x2b7a(532)]=!1}[_0x4952d9(510)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;var r,n;e.logLevel&&WTLogger[t(540)](e[t(522)]);const i=yield this[t(516)](e);this.checkSdkEnabled(i),this.checkSdkUpdate(i),this.setEnabled(!0),this[t(532)]=!0,yield tracker[t(500)]();(null===(r=e[t(521)])||void 0===r||r)&&setTimeout(()=>this[t(538)](),1e3*(null!==(n=e.trackingWaitingTime)&&void 0!==n?n:0))})}[_0x4952d9(524)](e){WTLogger[_0x4952d9(540)](e)}flush(){const e=_0x4952d9;WTLogger[e(517)](e(537)),storageManager[e(539)](),this[e(533)]()}isEnabled(){return storageManager.sdkEnabled}setEnabled(e){const t=_0x4952d9,r=storageManager[t(518)];if(!r)throw new Error(t(528));if(!r[t(498)])throw new Error(t(501));storageManager.sdkEnabled=e}[_0x4952d9(538)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2b7a;this[e(532)]?this.isEnabled()?yield tracker[e(538)]():WTLogger[e(499)]("Start Tracking: SDK is not enabled!"):WTLogger[e(499)](e(502))})}[_0x4952d9(533)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2b7a;yield tracker[e(533)]()})}setFCMToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;this.sdkInitialized?this[t(512)]()?yield tracker.checkPushToken(e):WTLogger.warn(t(530)):WTLogger[t(499)](t(520))})}[_0x4952d9(509)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;this[t(532)]?this[t(512)]()?yield tracker[t(509)](e):WTLogger[t(499)](t(504)):WTLogger.warn("‼️ Track Event: SDK is not initialized yet")})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2b7a;let r;storageManager[t(527)]=e;try{r=yield apiClient[t(505)]()}catch(e){if(!(e instanceof ApiError[t(535)]))throw WTLogger.info(t(503)),e;r=storageManager[t(518)]||WTConfig[t(514)]}return storageManager.config=r,WTLogger[t(517)](t(541)),r})}checkSdkEnabled(e){const t=_0x4952d9;if(!e.sdkEnabled){const e="SDK is disabled form server, contact your adminstrator!";throw WTLogger[t(536)](e),new Error(e)}}[_0x4952d9(506)](e){const t=_0x4952d9;e.sdkUpdate&&WTLogger[t(499)](t(515))}}function _0x1c0c(e,t){const r=_0x3134();return(_0x1c0c=function(e,t){return r[e-=145]})(e,t)}const _0x3d810e=_0x1c0c;function _0x3134(){const e=["12714vadPDL","SAR","AUD","HKD","IQD","KRW","EUR","4190568SeWEXM","73ofwHSA","BTC","SGD","AED","3032298rnniVR","40TicPcF","CAD","NOK","IRR","USD","BRL","2094148YpYwIk","9ZJlHXj","GBP","RUB","EHT","2918980xZpeDb","NZD","SEK","2594210wJFCXx","CNY","MXN","TRY","36654sLnPCB"];return(_0x3134=function(){return e})()}!function(){const e=_0x1c0c,t=_0x3134();for(;;)try{if(300096===-parseInt(e(160))/1*(parseInt(e(152))/2)+parseInt(e(151))/3*(parseInt(e(165))/4)+parseInt(e(176))/5+-parseInt(e(164))/6+parseInt(e(171))/7+-parseInt(e(159))/8*(-parseInt(e(172))/9)+-parseInt(e(147))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x3d810e(169),EUR:_0x3d810e(158),JPY:"JPY",GBP:_0x3d810e(173),AUD:_0x3d810e(154),CAD:_0x3d810e(166),CHF:"CHF",CNY:_0x3d810e(148),SEK:_0x3d810e(146),NZD:_0x3d810e(145),MXN:_0x3d810e(149),SGD:_0x3d810e(162),HKD:_0x3d810e(155),NOK:_0x3d810e(167),KRW:_0x3d810e(157),TRY:_0x3d810e(150),RUB:_0x3d810e(174),INR:"INR",BRL:_0x3d810e(170),ZAR:"ZAR",IRR:_0x3d810e(168),AED:_0x3d810e(163),IQD:_0x3d810e(156),SAR:_0x3d810e(153),OMR:"OMR",BTC:_0x3d810e(161),EHT:_0x3d810e(175),LTC:"LTC"};function _0x1a18(e,t){const r=_0x5209();return(_0x1a18=function(e,t){return r[e-=113]})(e,t)}const _0x5de1e4=_0x1a18;!function(){const e=_0x1a18,t=_0x5209();for(;;)try{if(975074===parseInt(e(115))/1+parseInt(e(130))/2*(-parseInt(e(147))/3)+-parseInt(e(149))/4*(-parseInt(e(123))/5)+-parseInt(e(132))/6+-parseInt(e(131))/7+-parseInt(e(148))/8*(-parseInt(e(119))/9)+-parseInt(e(127))/10*(parseInt(e(133))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x1a18;super(e),this[t(143)]=t(129)}}class WTEventValidator{static[_0x5de1e4(113)](e){const t=_0x5de1e4;return this[t(120)][t(125)](t=>t.test(e))}static[_0x5de1e4(134)](e){const t=_0x5de1e4;return this[t(137)][t(125)](r=>r[t(139)](e))}static[_0x5de1e4(146)](e){const t=_0x5de1e4;return this[t(116)][t(125)](r=>e[t(142)](r))}static[_0x5de1e4(135)](e){const t=_0x5de1e4;if(this.containsSQLInjection(e))return!0;if(this[t(134)](e))return!0;if(this[t(146)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(135)](r))return!0}catch(e){}return!1}static[_0x5de1e4(150)](e){const t=_0x5de1e4;if(!e||typeof e!==t(114))throw new WTEventValidationError(t(128));if(e[t(121)]>this[t(145)])throw new WTEventValidationError(t(118)+this.MAX_LENGTH+t(124));if(e===this.FORBIDDEN_KEY)throw new WTEventValidationError(t(140)+this[t(117)]+"'");if(this[t(135)](e))throw new WTEventValidationError(t(144)+e+'" is not valid. Please use different characters')}static[_0x5de1e4(136)](e){const t=_0x5de1e4;if(null==e)throw new WTEventValidationError(t(126));const r=String(e);if(r[t(121)]>this.MAX_LENGTH)throw new WTEventValidationError(t(122)+this[t(145)]+t(124));if(this[t(135)](r))throw new WTEventValidationError(t(141)+e+t(138))}}function _0x5209(){const e=["MAX_LENGTH","containsDangerousChars","3773331prxuse","80rwDfvE","107176nLsEst","validateKey","containsSQLInjection","string","953976PRQjvP","DANGEROUS_CHARS","FORBIDDEN_KEY","Key length must not exceed ","1168335YKFakE","SQL_INJECTION_PATTERNS","length","Value length must not exceed ","190muKjux"," characters","some","Value cannot be null or undefined","73270pgsJfq","Key must be a non-empty string","WTEventValidationError","2tbcpPF","449372XZXtcp","4124988EiofvM","429Uyeawx","containsScriptInjection","isMaliciousContent","validateValue","SCRIPT_INJECTION_PATTERNS",'" is not valid. Please use different characters',"test","Key cannot be '",'value "',"includes","name",'key "'];return(_0x5209=function(){return e})()}function _0x22d8(){const e=["revenueEvent","5766335TdLNAi","default","27ADCxFJ","params","707KaghTu",'": ',"message","107656pPoUmH","validateAndSetParams","warn","2601012VgqMon","3153940BRYRmp","validateValue","type","amount","defaultEvent","8154370LuENhr","8533104IvgPjJ","validateKey","currency","name",'WTEvent validation failed for key "',"505881JQeJlL","revenue","3YhjPDx"];return(_0x22d8=function(){return e})()}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x5de1e4(117)]="no_parameters",WTEventValidator[_0x5de1e4(120)]=[/(\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.SCRIPT_INJECTION_PATTERNS=[/<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 _0x24e689=_0x5d46;function _0x5d46(e,t){const r=_0x22d8();return(_0x5d46=function(e,t){return r[e-=475]})(e,t)}!function(){const e=_0x5d46,t=_0x22d8();for(;;)try{if(812097===parseInt(e(475))/1+-parseInt(e(489))/2+parseInt(e(477))/3*(parseInt(e(490))/4)+parseInt(e(479))/5+-parseInt(e(496))/6+parseInt(e(483))/7*(-parseInt(e(486))/8)+-parseInt(e(481))/9*(-parseInt(e(495))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x5d46;this[s(492)]=e,this[s(499)]=t,this[s(493)]=r,this[s(498)]=n,this[s(482)]={},i&&this.validateAndSetParams(i)}static[_0x24e689(494)](e,t){return new WTEvent(_0x24e689(480),e,void 0,void 0,t)}static[_0x24e689(478)](e,t,r,n){return new WTEvent(_0x24e689(476),e,t,r,n)}[_0x24e689(487)](e){const t=_0x24e689;for(const[r,n]of Object.entries(e))try{WTEventValidator[t(497)](r),WTEventValidator[t(491)](n),this[t(482)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(488)](t(500)+r+t(484)+e[t(485)]),e;throw e}}}function _0x2370(e,t){var r=_0x19dd();return(_0x2370=function(e,t){return r[e-=134]})(e,t)}function _0x19dd(){var e=["12139655glXcyQ","4875990XuFzPp","1152565BqbDyu","2044rwfXks","43328GlJKXX","2CwDOJx","451303cIPNod","96150OjIVWM","6SJRPaO","2189152NzZWwo","1557wqPPBL"];return(_0x19dd=function(){return e})()}!function(){for(var e=_0x2370,t=_0x19dd();;)try{if(842430===parseInt(e(139))/1*(-parseInt(e(138))/2)+-parseInt(e(134))/3+parseInt(e(142))/4+-parseInt(e(135))/5*(-parseInt(e(141))/6)+parseInt(e(136))/7*(parseInt(e(137))/8)+parseInt(e(143))/9*(parseInt(e(140))/10)+-parseInt(e(144))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error",NONE:"none"},exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
@@ -4,7 +4,7 @@ import { WTSDKEnvironment } from "./environments";
4
4
  export declare const WTConstants: {
5
5
  readonly SDK: {
6
6
  readonly PLATFORM: "web";
7
- readonly VERSION: "2.0.7";
7
+ readonly VERSION: "2.0.8";
8
8
  };
9
9
  readonly CONFIG: {
10
10
  readonly DEFAULT_ENVIRONMENT: WTSDKEnvironment;
@@ -1,4 +1,5 @@
1
1
  /** @internal */
2
2
  export declare class ResourceWrapper {
3
3
  static sdkEnvironment(env: string): void;
4
+ static sdkVersion(version: string): void;
4
5
  }
@@ -46,6 +46,8 @@ declare class StorageManager {
46
46
  set eventCount(value: number);
47
47
  get sdkEnvironment(): WTSDKEnvironment | null;
48
48
  set sdkEnvironment(value: string);
49
+ get sdkVersion(): string;
50
+ set sdkVersion(value: string);
49
51
  }
50
52
  /** @internal */
51
53
  export declare const storageManager: StorageManager;