wisetrack 2.1.2 → 2.1.3

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";function _0x4b08(e,t){const r=_0x18e6();return(_0x4b08=function(e,t){return r[e-=358]})(e,t)}const _0x4bbe32=_0x4b08;!function(){const e=_0x4b08,t=_0x18e6();for(;;)try{if(602483===-parseInt(e(362))/1+-parseInt(e(368))/2+-parseInt(e(369))/3+parseInt(e(364))/4*(-parseInt(e(365))/5)+parseInt(e(363))/6*(parseInt(e(361))/7)+parseInt(e(360))/8+parseInt(e(366))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x4bbe32(358),VERSION:"2.1.2"},CONFIG:{DEFAULT_ENVIRONMENT:"production"},DEFAULTS:{LOG_LEVEL:"info",SESSION_INTERVAL:_0x4bbe32(371),SUBSESSION_INTERVAL:_0x4bbe32(367),HEARTBEAT_INTERVAL:_0x4bbe32(370),PARAMETERS_VALUE:void 0},WT_DEEPLINK_PARAM:_0x4bbe32(359)};function _0x18e6(){const e=["1935784vZVTzA","5GuVKnM","15654483uswyIQ","300","2305518vNfVrv","381885SxIjTx","21600","1800","web","wt_click_id","4593912QIWttX","7zYCpBB","1065527iWcRsK","6710304AuBaAD"];return(_0x18e6=function(){return e})()}const _0x5e0864=_0x44ba;function _0x44ba(e,t){const r=_0x394c();return(_0x44ba=function(e,t){return r[e-=133]})(e,t)}function _0x394c(){const e=["warn","108136hTitYK","2979308tQEJZD","88870kArZCx","1093111jwdHEk","error","246OwPxKJ","log","LOG_LEVEL","6xFCflC","14121YxoIux","setLevel","DEFAULTS","777KmBAXe","level","debug","setPrefix","2qioGZk","none","prefix","shouldLog","indexOf","4570jfLxsT","push","info","5162883qxhDlp","26128632MigWYb","outputEngines"];return(_0x394c=function(){return e})()}!function(){const e=_0x44ba,t=_0x394c();for(;;)try{if(820112===-parseInt(e(145))/1*(-parseInt(e(158))/2)+-parseInt(e(150))/3*(-parseInt(e(143))/4)+-parseInt(e(144))/5*(-parseInt(e(147))/6)+parseInt(e(154))/7*(-parseInt(e(142))/8)+parseInt(e(151))/9*(parseInt(e(135))/10)+parseInt(e(138))/11+-parseInt(e(139))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:"debug",INFO:_0x5e0864(137),WARN:"warn",ERROR:_0x5e0864(146),NONE:_0x5e0864(159)};class WTLogger{static[_0x5e0864(152)](e){this.level=e}static[_0x5e0864(157)](e){this[_0x5e0864(160)]=e}static addOutputEngine(e){const t=_0x5e0864;this.outputEngines[t(136)](e)}static shouldLog(e){const t=_0x5e0864,r=[t(156),t(137),t(141),t(146)],i=r[t(134)](this[t(155)]);return r[t(134)](e)>=i}static log(e,...t){const r=_0x5e0864;if(!this[r(133)](e))return;const i="["+this[r(160)]+"-"+e.toUpperCase()+"]";for(const n of this[r(140)])n(e,i,t)}static[_0x5e0864(156)](...e){const t=_0x5e0864;this.log(t(156),...e)}static[_0x5e0864(137)](...e){const t=_0x5e0864;this.log(t(137),...e)}static[_0x5e0864(141)](...e){const t=_0x5e0864;this[t(148)](t(141),...e)}static[_0x5e0864(146)](...e){const t=_0x5e0864;this.log(t(146),...e)}}WTLogger[_0x5e0864(155)]=WTConstants[_0x5e0864(153)][_0x5e0864(149)],WTLogger.prefix="WT",WTLogger[_0x5e0864(140)]=[(e,t,r)=>{const i=_0x44ba;switch(e){case i(156):console[i(156)](t,...r);break;case i(137):console[i(137)](t,...r);break;case i(141):console.warn(t,...r);break;case i(146):console.error(t,...r);break;default:console[i(148)](t,...r)}}];var _0x28f245=_0x3619;function _0x3619(e,t){var r=_0x904a();return(_0x3619=function(e,t){return r[e-=452]})(e,t)}!function(){for(var e=_0x3619,t=_0x904a();;)try{if(359646===-parseInt(e(496))/1*(parseInt(e(527))/2)+-parseInt(e(489))/3+-parseInt(e(492))/4*(-parseInt(e(479))/5)+parseInt(e(556))/6+-parseInt(e(541))/7*(parseInt(e(555))/8)+parseInt(e(453))/9*(parseInt(e(486))/10)+-parseInt(e(526))/11*(-parseInt(e(497))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x28f245(534),INITIAL_DATE:_0x28f245(509),INITIAL_CONFIG:_0x28f245(452),SDK_ENVIRONMENT:_0x28f245(511),SDK_VERSION:_0x28f245(480),CONFIG:_0x28f245(550),SDK_CLICK_SUBMIT:_0x28f245(464),FIRST_SESSION_SUBMIT:"WT.FirstSessionSubmit",SDK_ENABLED:_0x28f245(455),FCM_TOKEN:_0x28f245(543),PUSH_TOKEN:_0x28f245(503),EVENT_COUNT:"WT.EventCount",SESSION_COUNT:_0x28f245(507),SUBSESSION_COUNT:_0x28f245(490),APP_START_TIME:"WT.AppStartTime",LAST_ACTIVE_TIME:_0x28f245(554),ACTIVE_DURATION:_0x28f245(469),INACTIVE_TIME:_0x28f245(524),INACTIVE_DURATION:_0x28f245(505),REQUEST_QUEUE:_0x28f245(500),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue",WISETRACK_ID:"WT.WTId",CLIENT_SESSION_ID:_0x28f245(549),NEXT_CLIENT_SESSION_ID:"WT.NextCSId",LAST_SESSION_START:_0x28f245(495),AUTH_TOKEN:_0x28f245(548),DEFERRED_DATA:"WT.DeferredData",APP_DEEPLINK:_0x28f245(551),DEFERRED_LINK_HANDLED:"WT.IsDeferredLinkHandled",UNMATCHED_DEEPLINKS:"WT.UnmatchedDeepLinks"};function _0x904a(){var e=["clear","WT.AuthToken","WT.CSId","WT.Configs","WT.AppDeeplink","true","deferredData","WT.LastActiveTime","23248CxvnTU","101022GJZfjB","deferredLinkHandled","nextClientSessionId","WT.InitialConfigs","9459KmCXrk","PUSH_TOKEN","WT.SdkEnabled","SDK_ENVIRONMENT","appStartTime","sessionCount","pushToken","ACTIVE_DURATION","toString","LAST_SESSION_START","requestRecords","WT.SdkClickSubmit","subSessionCount","CLIENT_SESSION_ID","SUBSESSION_COUNT","CONFIG","WT.ActiveDuration","PENDING_REQUEST_QUEUE","INACTIVE_TIME","false","initialConfig","lastSessionStart","SDK_VERSION","APP_START_TIME","DEFERRED_DATA","': ","15JQsuoK","WT.SdkVersion","SDK_ENABLED","authToken","FIRST_SESSION_SUBMIT","setJson","FCM_TOKEN","850VcgLmV","sdkClickSubmit","DEFERRED_LINK_HANDLED","875664mOKLWG","WT.SubSessionCount","sdkVersion","323228yCLfqj","error","UNMATCHED_DEEPLINKS","WT.LastSessionStart","196079UhCzlr","5174940MUAkay","sdkEnvironment","INITIAL_DATE","WT.RequestQueue","DEVICE_ID","clientSessionId","WT.PushToken","deviceId","WT.InactiveDuration","wiseId","WT.SessionCount","firstSessionSubmit","WT.InitialDate","config","WT.SdkEnvironment","activeDuration","removeItem","VERSION","inactiveTime","SESSION_COUNT","NEXT_CLIENT_SESSION_ID","WISETRACK_ID","pendingRequestRecords","SDK","INITIAL_CONFIG","getJson","getItem","WT.InactiveTime","fcmToken","33eYoXfs","4iSmZwZ","stringify","REQUEST_QUEUE","LAST_ACTIVE_TIME","setItem","appDeeplink","sdkEnabled","WT.DeviceId","Error in JSON decoding for key '","inactiveDuration","optionalNumber","APP_DEEPLINK","eventCount","EVENT_COUNT","1442DfSYAV","INACTIVE_DURATION","WT.FcmToken","AUTH_TOKEN","lastActiveTime","optionalBool"];return(_0x904a=function(){return e})()}class StorageManager{[_0x28f245(547)](){localStorage[_0x28f245(547)]()}setJson(e,t){var r=_0x28f245;if(t)try{const i=JSON[r(528)](t);localStorage.setItem(e,i)}catch(t){WTLogger[r(493)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(513)](e)}[_0x28f245(522)](e){var t=_0x28f245;const r=localStorage[t(523)](e);if(!r)return null;try{return JSON.parse(r)}catch(r){return WTLogger.error(t(535)+e+t(478)+r,r),null}}[_0x28f245(537)](e){const t=localStorage[_0x28f245(523)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x28f245(546)](e){var t=_0x28f245;const r=localStorage.getItem(e);return null===r?null:r===t(552)||r!==t(472)&&null}get[_0x28f245(504)](){var e=_0x28f245;return localStorage.getItem(WTStorageKeys[e(501)])}set deviceId(e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(501)],e):localStorage.removeItem(WTStorageKeys[t(501)])}get initialDate(){var e=_0x28f245;return this[e(522)](WTStorageKeys[e(499)])}set initialDate(e){var t=_0x28f245;this[t(484)](WTStorageKeys[t(499)],e)}get[_0x28f245(473)](){return this[_0x28f245(522)](WTStorageKeys.INITIAL_CONFIG)}set[_0x28f245(473)](e){var t=_0x28f245;this[t(484)](WTStorageKeys[t(521)],e)}get[_0x28f245(510)](){var e=_0x28f245;return this.getJson(WTStorageKeys[e(468)])}set config(e){var t=_0x28f245;this[t(484)](WTStorageKeys[t(468)],e)}get[_0x28f245(533)](){var e;return null!==(e=this[_0x28f245(546)](WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set[_0x28f245(533)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys[t(481)],e[t(461)]())}get[_0x28f245(487)](){var e;return null!==(e=this[_0x28f245(546)](WTStorageKeys.SDK_CLICK_SUBMIT))&&void 0!==e&&e}set[_0x28f245(487)](e){var t=_0x28f245;localStorage.setItem(WTStorageKeys.SDK_CLICK_SUBMIT,e[t(461)]())}get firstSessionSubmit(){var e;return null!==(e=this[_0x28f245(546)](WTStorageKeys.FIRST_SESSION_SUBMIT))&&void 0!==e&&e}set[_0x28f245(508)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys[t(483)],e.toString())}get[_0x28f245(525)](){return localStorage.getItem(WTStorageKeys.FCM_TOKEN)}set fcmToken(e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(485)],e):localStorage[t(513)](WTStorageKeys[t(485)])}get[_0x28f245(459)](){return localStorage[_0x28f245(523)](WTStorageKeys.PUSH_TOKEN)}set[_0x28f245(459)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(454)],e):localStorage.removeItem(WTStorageKeys.PUSH_TOKEN)}get sessionCount(){var e,t=_0x28f245;return null!==(e=this[t(537)](WTStorageKeys[t(516)]))&&void 0!==e?e:1}set[_0x28f245(458)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys.SESSION_COUNT,e[t(461)]())}get[_0x28f245(465)](){var e,t=_0x28f245;return null!==(e=this[t(537)](WTStorageKeys[t(467)]))&&void 0!==e?e:1}set[_0x28f245(465)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys[t(467)],e[t(461)]())}get[_0x28f245(512)](){var e,t=_0x28f245;return null!==(e=this.optionalNumber(WTStorageKeys[t(460)]))&&void 0!==e?e:0}set[_0x28f245(512)](e){localStorage.setItem(WTStorageKeys.ACTIVE_DURATION,e.toString())}get[_0x28f245(536)](){var e,t=_0x28f245;return null!==(e=this[t(537)](WTStorageKeys[t(542)]))&&void 0!==e?e:0}set inactiveDuration(e){localStorage[_0x28f245(531)](WTStorageKeys.INACTIVE_DURATION,e.toString())}get inactiveTime(){return this[_0x28f245(537)](WTStorageKeys.INACTIVE_TIME)}set[_0x28f245(515)](e){var t=_0x28f245;null!==e?localStorage[t(531)](WTStorageKeys[t(471)],e.toString()):localStorage[t(513)](WTStorageKeys.INACTIVE_TIME)}get[_0x28f245(545)](){var e=_0x28f245;return this[e(537)](WTStorageKeys[e(530)])}set[_0x28f245(545)](e){var t=_0x28f245;null!==e?localStorage[t(531)](WTStorageKeys[t(530)],e[t(461)]()):localStorage[t(513)](WTStorageKeys.LAST_ACTIVE_TIME)}get requestRecords(){var e,t=_0x28f245;return null!==(e=this[t(522)](WTStorageKeys[t(529)]))&&void 0!==e?e:[]}set[_0x28f245(463)](e){var t=_0x28f245;this.setJson(WTStorageKeys[t(529)],e)}get pendingRequestRecords(){var e,t=_0x28f245;return null!==(e=this[t(522)](WTStorageKeys[t(470)]))&&void 0!==e?e:[]}set[_0x28f245(519)](e){this.setJson(WTStorageKeys.PENDING_REQUEST_QUEUE,e)}get eventCount(){var e,t=_0x28f245;return null!==(e=this.optionalNumber(WTStorageKeys[t(540)]))&&void 0!==e?e:0}set[_0x28f245(539)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys[t(540)],e[t(461)]())}get sdkEnvironment(){var e=_0x28f245;return localStorage[e(523)](WTStorageKeys[e(456)])}set[_0x28f245(498)](e){var t=_0x28f245;localStorage[t(531)](WTStorageKeys[t(456)],e)}get[_0x28f245(491)](){var e,t=_0x28f245;return null!==(e=localStorage.getItem(WTStorageKeys[t(475)]))&&void 0!==e?e:WTConstants[t(520)][t(514)]}set[_0x28f245(491)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(475)],e):localStorage.removeItem(WTStorageKeys[t(475)])}get[_0x28f245(502)](){var e=_0x28f245;return localStorage[e(523)](WTStorageKeys[e(466)])}set[_0x28f245(502)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(466)],e):localStorage[t(513)](WTStorageKeys[t(466)])}get[_0x28f245(457)](){return this[_0x28f245(537)](WTStorageKeys.APP_START_TIME)}set[_0x28f245(457)](e){var t=_0x28f245;null!==e?localStorage[t(531)](WTStorageKeys[t(476)],e[t(461)]()):localStorage[t(513)](WTStorageKeys.APP_START_TIME)}get[_0x28f245(557)](){var e,t=_0x28f245;return null!==(e=this[t(546)](WTStorageKeys[t(488)]))&&void 0!==e&&e}set deferredLinkHandled(e){var t=_0x28f245;localStorage.setItem(WTStorageKeys.DEFERRED_LINK_HANDLED,e[t(461)]())}get unmatchedDeeplinks(){var e,t=_0x28f245;return null!==(e=this.getJson(WTStorageKeys[t(494)]))&&void 0!==e?e:[]}set unmatchedDeeplinks(e){var t=_0x28f245;this[t(484)](WTStorageKeys[t(494)],e)}get[_0x28f245(553)](){var e=_0x28f245;return this.getJson(WTStorageKeys[e(477)])}set[_0x28f245(553)](e){this[_0x28f245(484)](WTStorageKeys.DEFERRED_DATA,e)}get appDeeplink(){var e=_0x28f245;return localStorage[e(523)](WTStorageKeys[e(538)])}set[_0x28f245(532)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(538)],e):localStorage.removeItem(WTStorageKeys[t(538)])}get[_0x28f245(506)](){var e=_0x28f245;return localStorage[e(523)](WTStorageKeys[e(518)])}set[_0x28f245(506)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(518)],e):localStorage.removeItem(WTStorageKeys[t(518)])}get nextClientSessionId(){return localStorage[_0x28f245(523)](WTStorageKeys.NEXT_CLIENT_SESSION_ID)}set[_0x28f245(558)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(517)],e):localStorage[t(513)](WTStorageKeys[t(517)])}get lastSessionStart(){var e=_0x28f245;return localStorage[e(523)](WTStorageKeys[e(462)])}set[_0x28f245(474)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(462)],e):localStorage[t(513)](WTStorageKeys.LAST_SESSION_START)}get authToken(){return localStorage[_0x28f245(523)](WTStorageKeys.AUTH_TOKEN)}set[_0x28f245(482)](e){var t=_0x28f245;e?localStorage[t(531)](WTStorageKeys[t(544)],e):localStorage[t(513)](WTStorageKeys[t(544)])}}const storageManager=new StorageManager,_0x132866=_0x515a;function _0x515a(e,t){const r=_0x3b79();return(_0x515a=function(e,t){return r[e-=291]})(e,t)}!function(){const e=_0x515a,t=_0x3b79();for(;;)try{if(385257===parseInt(e(317))/1+-parseInt(e(329))/2+-parseInt(e(298))/3+parseInt(e(316))/4+parseInt(e(300))/5*(-parseInt(e(328))/6)+parseInt(e(306))/7*(-parseInt(e(292))/8)+-parseInt(e(314))/9*(-parseInt(e(313))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x132866(307)](e){const t=_0x132866;try{const r=atob(e);let i="";for(let e=0;e<r[t(325)];e++){const n=90^r[t(295)](e);i+=String[t(294)](n)}return i}catch(e){return console[t(320)](t(318),e),""}}static get[_0x132866(311)](){return this.decode("dTsqM3Usa3U5NTQ8Mz0=")}static get[_0x132866(326)](){return this[_0x132866(307)]("Mi4uKmB1dTY1OTs2MjUpLmBiamJq")}static get DEBUG_BASE_URL(){const e=_0x132866;return this[e(307)](e(324))}static get STAGE_BASE_URL(){const e=_0x132866;return this.decode(e(301))}static get[_0x132866(319)](){const e=_0x132866;return this[e(307)](e(322))}static get[_0x132866(296)](){return this[_0x132866(307)]("LTMpPy4oOzkxBTI/OyguOD87LgU0NS4zPDM5Oy4zNTQ=")}static get[_0x132866(308)](){const e=_0x132866;return this[e(307)](e(297))}static get[_0x132866(303)](){const e=_0x132866;return this[e(307)](e(304))}static get[_0x132866(323)](){const e=_0x132866;return this[e(307)](e(293))}static get[_0x132866(310)](){const e=_0x132866;return this[e(307)](e(305))}static get[_0x132866(315)](){return this[_0x132866(307)]("dTsqM3Usa3U7Li4oMzgvLjM1NCk=")}static get[_0x132866(302)](){const e=_0x132866;return this[e(307)](e(291))}static get[_0x132866(309)](){const e=_0x132866;return this[e(307)](e(327))}static get[_0x132866(321)](){return this[_0x132866(307)]("dTsqM3Usa3U7Ly4y")}static get[_0x132866(312)](){const e=_0x132866;return this[e(307)](e(299))}}function _0x3b79(){const e=["PRODUCTION_BASE_URL","error","AUTH_PATH","Mi4uKilgdXUpPjF0LTMpPy4oOzkxdDM1","SDK_CLICKS_PATH","Mi4uKilgdXU+Pyx0KT4xdC0uPj8sdDMo","length","LOCAL_BASE_URL","dTsqM3Usa3U+Pzw/KCg/PgU2NTUxLyop","2110494yMxORc","6370kgxVzY","dTsqM3Usa3U5NjM5MQU3Oy45Mj8p","831352nEBBRO","dTsqM3Usa3UpPjEFOTYzOTEp","fromCharCode","charCodeAt","NOTIFICATION_KEY","dTsqM3Usa3U/LD80Lik=","351864HXlCRz","dTsqM3Usa3UyPzsoLjg/Oy4p","5TnYmZR","Mi4uKilgdXUpLjs9P3QpPjF0LS4+Pyx0Myg=","CLICK_MATCHES_PATH","SESSIONS_PATH","dTsqM3Usa3UpPykpMzU0KQ==","dTsqM3Usa3UqLykyBS41MT80KQ==","42WRGjJY","decode","EVENTS_PATH","DEFERRED_LOOKUPS_PATH","PUSH_TOKENS_PATH","CONFIG_PATH","HEARTBEATS_PATH","590OCaKNj","40617BEdVgX","ATTRIBUTIONS_PATH","2301416TrlqYA","639372eNCvce","Decode error:"];return(_0x3b79=function(){return e})()}const _0xe4895=_0x9a39;function _0x5581(){const e=["sandbox","Unknown environment: ","DEFAULT_ENVIRONMENT","1846580TlafnA","LOCAL","local","2821036UGoSPo","3838080klDgxD","debug","sdkEnvironment","1208046eOlroi","production","6031456vEajaM","LOCAL_BASE_URL","10692724AqIDxj","3ckzwgv","stage","PRODUCTION_BASE_URL","PRODUCTION","DEBUG","DEBUG_BASE_URL","9426590avgoyP"];return(_0x5581=function(){return e})()}function _0x9a39(e,t){const r=_0x5581();return(_0x9a39=function(e,t){return r[e-=352]})(e,t)}!function(){const e=_0x9a39,t=_0x5581();for(;;)try{if(992435===-parseInt(e(370))/1+parseInt(e(373))/2+parseInt(e(360))/3*(parseInt(e(357))/4)+-parseInt(e(366))/5+-parseInt(e(355))/6+parseInt(e(359))/7+parseInt(e(352))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0xe4895(367),PRODUCTION:_0xe4895(356)},WTSDKEnvironment={LOCAL:_0xe4895(372),DEBUG:_0xe4895(353),STAGE:_0xe4895(361),PRODUCTION:_0xe4895(356)},EnvironmentUtils={get sdkEnvironment(){const e=_0xe4895;var t;return null!==(t=storageManager.sdkEnvironment)&&void 0!==t?t:WTConstants.CONFIG[e(369)]},get baseUrl(){const e=_0xe4895;switch(this.sdkEnvironment){case WTSDKEnvironment[e(371)]:return SecureConfig[e(358)];case WTSDKEnvironment[e(364)]:return SecureConfig[e(365)];case WTSDKEnvironment.STAGE:return SecureConfig.STAGE_BASE_URL;case WTSDKEnvironment[e(363)]:return SecureConfig[e(362)];default:throw new Error(e(368)+this[e(354)])}}};function _0x4aa4(e,t){var r=_0x4314();return(_0x4aa4=function(e,t){return r[e-=243]})(e,t)}var _0x8c890d=_0x4aa4;function _0x4314(){var e=["88968zAJtQL","1LUyCUW","24EClAqJ","136101UCUghx","3112482KjusqO","sdkVersion","820265bkgPRn","1286128WoFGFR","1069407HcQqlD","1274940WfesbT"];return(_0x4314=function(){return e})()}!function(){for(var e=_0x4aa4,t=_0x4314();;)try{if(335116===parseInt(e(250))/1*(-parseInt(e(246))/2)+parseInt(e(247))/3+parseInt(e(249))/4+parseInt(e(245))/5+parseInt(e(243))/6+parseInt(e(252))/7*(parseInt(e(251))/8)+-parseInt(e(248))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static sdkEnvironment(e){try{storageManager.sdkEnvironment=e}catch(e){}}static[_0x8c890d(244)](e){var t=_0x8c890d;try{storageManager[t(244)]=e}catch(e){}}}function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function a(e){try{c(i.next(e))}catch(e){s(e)}}function o(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,o)}c((i=i.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const _0x33d99f=_0x3de4;!function(){const e=_0x3de4,t=_0x5064();for(;;)try{if(319238===-parseInt(e(447))/1+parseInt(e(455))/2*(-parseInt(e(452))/3)+parseInt(e(456))/4*(parseInt(e(446))/5)+parseInt(e(460))/6*(-parseInt(e(451))/7)+parseInt(e(448))/8+-parseInt(e(459))/9+parseInt(e(445))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:SecureConfig[_0x33d99f(457)],SESSIONS:SecureConfig[_0x33d99f(453)],SDK_CLICKS:SecureConfig[_0x33d99f(449)],PUSH_TOKENS:SecureConfig.PUSH_TOKENS_PATH,ATTRIBUTIONS:SecureConfig.ATTRIBUTIONS_PATH,CLICK_MATCHES:SecureConfig[_0x33d99f(454)],DEFERRED_LOOKUPS:SecureConfig[_0x33d99f(458)],HEARTBEATS:SecureConfig[_0x33d99f(450)],AUTH:SecureConfig.AUTH_PATH};function _0x3de4(e,t){const r=_0x5064();return(_0x3de4=function(e,t){return r[e-=445]})(e,t)}function _0x5064(){const e=["CLICK_MATCHES_PATH","2578edjEWH","652uUCTQq","EVENTS_PATH","DEFERRED_LOOKUPS_PATH","3216771cpVHZB","48xHuNzk","10102050JBBFNm","16390OaXNUF","584239ktlkHL","3860192axcZua","SDK_CLICKS_PATH","HEARTBEATS_PATH","116592JhdAih","1473kYEyju","SESSIONS_PATH"];return(_0x5064=function(){return e})()}var _0x499600=_0x5472;function _0x5472(e,t){var r=_0xc2ed();return(_0x5472=function(e,t){return r[e-=320]})(e,t)}function _0xc2ed(){var e=["6143285Nburrc","1804284HGYhlh","3412390ifpmpI","events","15990066FELueU","defaultValue","push_tokens","12prVPbS","PUSH_TOKENS","12391911KrTcpS","AUTH","pushTokens","sdkClicks","8JMiuDI","sessions","deferredLookups","ATTRIBUTIONS","26InQWCQ","clickMatches","2269GjpJSP","click_matches","auth","deferred_lookups","HEARTBEATS","heartbeats","CLICK_MATCHES","sdk_clicks","11557074xtnska","attributions","EVENTS","fromJson","DEFERRED_LOOKUPS"];return(_0xc2ed=function(){return e})()}!function(){for(var e=_0x5472,t=_0xc2ed();;)try{if(986217===parseInt(e(342))/1*(-parseInt(e(340))/2)+-parseInt(e(324))/3*(parseInt(e(330))/4)+parseInt(e(323))/5+parseInt(e(350))/6+-parseInt(e(332))/7*(parseInt(e(336))/8)+parseInt(e(327))/9+-parseInt(e(325))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigEndpoints{constructor(e,t,r,i,n,s,a,o,c){var u=_0x5472;this[u(326)]=e,this[u(337)]=t,this[u(335)]=r,this[u(334)]=i,this[u(351)]=n,this[u(341)]=s,this[u(338)]=a,this.heartbeats=o,this.auth=c}static[_0x499600(321)](e){var t=_0x499600;return new this(e[t(326)],e[t(337)],e[t(349)],e[t(329)],e.attributions,e[t(343)],e[t(345)],e[t(347)],e[t(344)])}static get[_0x499600(328)](){var e=_0x499600;return new this(WTEndpoints[e(320)],WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints[e(331)],WTEndpoints[e(339)],WTEndpoints[e(348)],WTEndpoints[e(322)],WTEndpoints[e(346)],WTEndpoints[e(333)])}}var _0xb964a=_0x2ae2;function _0x174a(){var e=["245BCVNxn","fromJson","session_interval","SESSION_INTERVAL","32017821OOcFBd","sessionInterval","sdkUpdate","486odhVMq","endpoints","5636XrdIpM","subsession_interval","defaultValue","2374113VVangN","DEFAULTS","sdk_update","2905IhhryK","sdk_enabled","98632zluwGo","1572cVgLwS","1834pIiQmy","HEARTBEAT_INTERVAL","16197930BSqpgV","272346mJyDCZ","SUBSESSION_INTERVAL","sdkEnabled"];return(_0x174a=function(){return e})()}function _0x2ae2(e,t){var r=_0x174a();return(_0x2ae2=function(e,t){return r[e-=286]})(e,t)}!function(){for(var e=_0x2ae2,t=_0x174a();;)try{if(837687===-parseInt(e(288))/1*(-parseInt(e(287))/2)+parseInt(e(306))/3+-parseInt(e(303))/4*(-parseInt(e(309))/5)+parseInt(e(291))/6*(-parseInt(e(294))/7)+-parseInt(e(286))/8*(-parseInt(e(301))/9)+parseInt(e(290))/10+-parseInt(e(298))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t=!0,r=!1,i=WTConstants[_0xb964a(307)][_0xb964a(297)],n=WTConstants[_0xb964a(307)][_0xb964a(292)],s=WTConstants[_0xb964a(307)][_0xb964a(289)]){var a=_0xb964a;this.endpoints=e,this[a(293)]=t,this[a(300)]=r,this[a(299)]=i,this.subsessionInterval=n,this.heartbeatInterval=s}static[_0xb964a(295)](e){var t,r,i,n,s,a=_0xb964a;return new this(e[a(302)],null===(t=e[a(310)])||void 0===t||t,null!==(r=e[a(308)])&&void 0!==r&&r,null!==(i=e[a(296)])&&void 0!==i?i:WTConstants[a(307)][a(297)],null!==(n=e[a(304)])&&void 0!==n?n:WTConstants.DEFAULTS.SUBSESSION_INTERVAL,null!==(s=e.heartbeat_interval)&&void 0!==s?s:WTConstants.DEFAULTS[a(289)])}static get defaultValue(){var e=_0xb964a;return new this(WTConfigEndpoints[e(305)],!0,!1,WTConstants.DEFAULTS[e(297)],WTConstants[e(307)].SUBSESSION_INTERVAL,WTConstants[e(307)][e(289)])}}var _0x115db8=_0x1844;function _0x1844(e,t){var r=_0x42d9();return(_0x1844=function(e,t){return r[e-=332]})(e,t)}function _0x42d9(){var e=["blur","log","pushState","1195wQmboK","deeplinkHandler","5809732WQgNCW","tickerDelay","uri","hashchangeHandler","pauseTicking","removeUrlChangeListener","popstate","replaceState","stopTicking","appDeeplink","activeDuration","visibilityListener","isPaused","focus","unregisterListeners","pagehide","isVisibleFocused","isDeferred","setupUrlChangeListener","removeEventListener","href","originalPushState","hidden","apply","onClickMatchHandler","WT_DEEPLINK_PARAM","visibilitychange","get","70wvRIxo","registerListeners","26022fgyByb","DeepLink Received => ","990915RvwFvf","call","9315081uqZyae","940184nymyLT","checkForDeepLink","s, inactive duration= ","tickerJob","hasFocus","pageHideListener","searchParams","1355384fmkDrX","130760utFbtY","addEventListener","unmatchedDeeplinks","originalReplaceState","ActivityTicker: active duration= ","onDeeplinkReceived","now","lastActiveTime","initialConfig","bind","onStartHandler","popstateHandler"];return(_0x42d9=function(){return e})()}!function(){for(var e=_0x1844,t=_0x42d9();;)try{if(772738===-parseInt(e(345))/1+parseInt(e(344))/2+-parseInt(e(334))/3+parseInt(e(362))/4+-parseInt(e(360))/5*(parseInt(e(332))/6)+parseInt(e(390))/7*(parseInt(e(337))/8)+-parseInt(e(336))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class LifecycleOvserver{constructor(){var e=_0x1844;this.tickerDelay=1e3,this.isPaused=!1,this[e(355)]=null,this[e(361)]=null,this[e(386)]=null,this[e(373)]=null,this[e(342)]=null,this[e(383)]=null,this[e(348)]=null,this[e(356)]=null,this[e(365)]=null}[_0x115db8(391)](){var e=_0x115db8;this.visibilityListener=()=>__awaiter(this,void 0,void 0,function*(){var e,t=_0x1844;this.isVisibleFocused()?(yield null===(e=this[t(355)])||void 0===e?void 0:e[t(335)](this),this[t(374)]=!1):this.pauseTicking()}),this[e(342)]=()=>{this[e(366)]()},window.addEventListener(e(377),this[e(342)]),window[e(346)]("blur",this.pageHideListener),document[e(346)](e(388),this[e(373)]),window[e(346)](e(375),this.visibilityListener),this.setupUrlChangeListener(),this[e(338)]()}[_0x115db8(380)](){var e=_0x115db8;this.originalPushState=history.pushState.bind(history),this[e(348)]=history.replaceState[e(354)](history),history[e(359)]=(...t)=>{var r=e;this.originalPushState[r(385)](history,t),this[r(338)]()},history[e(369)]=(...t)=>{var r=e;this[r(348)][r(385)](history,t),this.checkForDeepLink()},this[e(356)]=()=>this[e(338)](),this[e(365)]=()=>this[e(338)](),window[e(346)](e(368),this[e(356)]),window[e(346)]("hashchange",this.hashchangeHandler)}[_0x115db8(367)](){var e=_0x115db8;this[e(383)]&&(history[e(359)]=this.originalPushState),this[e(348)]&&(history.replaceState=this[e(348)]),this[e(356)]&&window.removeEventListener(e(368),this[e(356)]),this.hashchangeHandler&&window[e(381)]("hashchange",this[e(365)]),this[e(383)]=null,this.originalReplaceState=null,this[e(356)]=null,this[e(365)]=null}[_0x115db8(376)](){var e=_0x115db8;this.pageHideListener&&(window[e(381)](e(377),this.pageHideListener),window[e(381)](e(357),this[e(342)])),this[e(373)]&&(document.removeEventListener("visibilitychange",this.visibilityListener),window[e(381)](e(375),this[e(373)])),this[e(367)]()}checkForDeepLink(){var e,t=_0x115db8;const r=window.location[t(382)];if(new URL(r)[t(343)][t(389)](WTConstants[t(387)])){storageManager[t(371)]=r;var i=storageManager.unmatchedDeeplinks;i.push(r),storageManager[t(347)]=i,null===(e=this[t(386)])||void 0===e||e[t(335)](this,r),this[t(350)]({uri:r,isDeferred:!1})}}onDeeplinkReceived(e){var t,r,i=_0x115db8;WTLogger.debug(i(333)+e[i(364)]+" (isDeferred: "+e[i(379)]+")"),!1!==(null===(t=storageManager[i(353)])||void 0===t?void 0:t.deeplinkEnabled)&&(null===(r=this[i(361)])||void 0===r||r[i(335)](this,e[i(364)],e[i(379)]))}[_0x115db8(378)](){return"visible"===document.visibilityState&&document.hasFocus()}startTicking(){var e=_0x115db8;this[e(340)]&&clearInterval(this[e(340)]),this[e(340)]=setInterval(()=>{var t=e;this[t(374)]||document[t(384)]||document[t(341)]()&&(console[t(358)](t(349)+storageManager[t(372)]/1e3+t(339)+storageManager.inactiveDuration/1e3+"s"),storageManager[t(352)]=Date[t(351)](),storageManager[t(372)]+=this[t(363)])},this.tickerDelay)}[_0x115db8(370)](){var e=_0x115db8;clearInterval(this[e(340)]),this[e(340)]=void 0}[_0x115db8(366)](){this[_0x115db8(374)]=!0}resumeTicking(){this[_0x115db8(374)]=!1}}const lifecycleOvserver=new LifecycleOvserver;function _0x167c(e,t){var r=_0x4901();return(_0x167c=function(e,t){return r[e-=312]})(e,t)}!function(){for(var e=_0x167c,t=_0x4901();;)try{if(756339===-parseInt(e(315))/1+-parseInt(e(324))/2+parseInt(e(326))/3*(parseInt(e(322))/4)+-parseInt(e(317))/5*(-parseInt(e(316))/6)+parseInt(e(312))/7*(parseInt(e(318))/8)+-parseInt(e(325))/9*(-parseInt(e(313))/10)+parseInt(e(314))/11*(parseInt(e(320))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAuth{constructor(e,t){var r=_0x167c;this[r(323)]=e,this[r(319)]=t}static fromJson(e){return new this(e[_0x167c(321)],e.wise_id)}}function _0x4901(){var e=["32370AYBdYO","33omYQPw","823704RJKGvp","324GBjPOY","47835qkqaZd","8NiLsKI","wiseId","3986988XUyDzX","auth_token","108JjwcSD","authToken","677150uaRpuo","54ScapFa","1194UIrhQU","2625595PiyiyU"];return(_0x4901=function(){return e})()}var _0x29f4d1=_0x5ea6;function _0x1dc0(){var e=["4854480YlCOys","6754026yFgsot","deeplink","65475YVhKms","3052185XuoNnn","7510288oDddeN","850451PeetYi","fromJson","1573957tgLqUf","2EAHvxU"];return(_0x1dc0=function(){return e})()}function _0x5ea6(e,t){var r=_0x1dc0();return(_0x5ea6=function(e,t){return r[e-=297]})(e,t)}!function(){for(var e=_0x5ea6,t=_0x1dc0();;)try{if(953821===parseInt(e(303))/1*(parseInt(e(306))/2)+-parseInt(e(301))/3+parseInt(e(302))/4+-parseInt(e(300))/5+-parseInt(e(298))/6+-parseInt(e(305))/7+parseInt(e(297))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTDeferredLookup{constructor(e){this[_0x5ea6(299)]=e}static[_0x29f4d1(304)](e){return new this(e[_0x29f4d1(299)])}}const _0x1397be=_0x5ed7;!function(){const e=_0x5ed7,t=_0x2cf9();for(;;)try{if(523161===-parseInt(e(331))/1*(-parseInt(e(307))/2)+parseInt(e(345))/3*(parseInt(e(313))/4)+parseInt(e(286))/5*(parseInt(e(319))/6)+-parseInt(e(295))/7+parseInt(e(361))/8*(parseInt(e(316))/9)+parseInt(e(303))/10+-parseInt(e(336))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x1397be(320)](){const e=_0x1397be,t=new URLSearchParams(window[e(350)][e(335)]),r={};for(const[i,n]of t.entries())i[e(310)](e(321))&&n&&(r[i]=n);if(!r[e(324)]){const t=document[e(358)];r[e(324)]=t?new URL(t)[e(349)]:"other"}return!r.utm_medium&&(r[e(297)]="organic"),Object.entries(r)[e(337)](([e,t])=>e+"="+encodeURIComponent(t))[e(291)]("&")}static[_0x1397be(362)](e){const t=_0x1397be,r=e[t(294)](),i=String(e.getMonth()+1)[t(309)](2,"0"),n=String(e[t(333)]()).padStart(2,"0"),s=String(e[t(302)]())[t(309)](2,"0"),a=String(e.getMinutes()).padStart(2,"0"),o=String(e[t(332)]())[t(309)](2,"0"),c=-e[t(292)]();return r+"-"+i+"-"+n+"T"+s+":"+a+":"+o+(""+(c>=0?"+":"-")+String(Math[t(355)](Math[t(288)](c)/60))[t(309)](2,"0")+String(Math[t(288)](c)%60)[t(309)](2,"0"))}}function _0x5ed7(e,t){const r=_0x2cf9();return(_0x5ed7=function(e,t){return r[e-=286]})(e,t)}function _0x2cf9(){const e=["referrer","Angular","[ng-version]","904uXqkZG","formattedDate","Vue.js","innerHTML","WordPress","5bnRvgC","static.squarespace.com","abs",'meta[name="generator"][content*="WordPress"]',"Next.js","join","getTimezoneOffset","[id=___gatsby]","getFullYear","6027672pWaESI","Svelte","utm_medium","detectWebFramework","__reactContainer","cdn.shopify.com","/js/app.js","getHours","4228050upIxst","wp-content","mix-manifest.json","/_nuxt/","46766XeulXK","React","padStart","startsWith","[data-reactroot], [data-reactid]","querySelectorAll","41732UdWzCK","script[id=__NEXT_DATA__]","drupal-settings-json","61713nIuiCL","includes","documentElement","315690uOpznk","getUTMParamsString","utm_","from",'meta[name="generator"][content*="Ghost"]',"utm_source","Meteor.js","Shopify","Nuxt.js","Vue","some","[x-data], [x-init], [x-bind]","11dCqjDH","getSeconds","getDate","Backbone","search","3306358hopmcD","map","Zepto","src","scripts","Laravel",'meta[name="generator"][content*="Drupal"]',"jQuery","Drupal","51QNtvnL","Wix","keys","/_next/","hostname","location","Gatsby.js","querySelector","svelte","__REACT_DEVTOOLS_GLOBAL_HOOK__","floor","Ghost CMS","Meteor"];return(_0x2cf9=function(){return e})()}function _0x5f22(e,t){const r=_0x4481();return(_0x5f22=function(e,t){return r[e-=358]})(e,t)}Utils[_0x1397be(298)]=()=>{const e=_0x1397be;return document[e(352)](e(314))||Array.from(document.scripts).some(t=>t.src[e(317)](e(348)))?e(290):window.React||document[e(352)](e(311))||Array[e(322)](document[e(312)]("*"))[e(329)](t=>void 0!==t._reactRootContainer||Object[e(347)](t)[e(329)](t=>t[e(310)](e(299))))||window[e(354)]?e(308):Array.from(document[e(340)])[e(329)](t=>t[e(339)][e(317)](e(306)))?e(327):window.__VUE__||window[e(328)]||document[e(352)]("[data-v-app], [data-v-]")?e(363):document.querySelector(e(293))?e(351):window||document[e(352)](".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||document[e(352)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(352)](e(360))?e(359):Array.from(document[e(340)])[e(329)](t=>{const r=e;var i;return t[r(339)][r(317)](r(353))||(null===(i=t.textContent)||void 0===i?void 0:i[r(317)](r(353)))})?e(296):document[e(352)](e(330))?"Alpine.js":window[e(343)]?e(343):window[e(334)]?"Backbone.js":window[e(357)]?e(325):window[e(338)]?"Zepto.js":document[e(352)](e(289))||Array[e(322)](document[e(340)])[e(329)](t=>t.src[e(317)](e(304))||t[e(339)][e(317)]("wp-includes"))?e(365):Array[e(322)](document.scripts)[e(329)](t=>t[e(339)][e(317)](e(301))||t[e(339)][e(317)](e(305)))?e(341):document[e(352)](e(342))||document.documentElement.innerHTML[e(317)](e(315))?e(344):document[e(318)][e(364)][e(317)](e(300))?e(326):Array[e(322)](document.scripts)[e(329)](t=>t.src[e(317)](e(287)))?"Squarespace":Array[e(322)](document[e(340)])[e(329)](t=>t[e(339)][e(317)]("wix.com"))?e(346):document[e(352)](e(323))?e(356):void 0};const _0x2d1275=_0x5f22;!function(){const e=_0x5f22,t=_0x4481();for(;;)try{if(335832===parseInt(e(371))/1*(-parseInt(e(362))/2)+parseInt(e(369))/3+parseInt(e(372))/4+-parseInt(e(379))/5*(-parseInt(e(381))/6)+parseInt(e(359))/7+parseInt(e(361))/8*(parseInt(e(378))/9)+parseInt(e(374))/10*(-parseInt(e(384))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x5f22(370)]=null,this._failedCount=0}[_0x2d1275(375)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5f22;return this[e(385)]>=2?null:(!this[e(370)]&&(this[e(370)]=yield this[e(380)]()),this[e(370)])})}[_0x2d1275(380)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5f22,t=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5f22,t=yield this[e(358)](e(363),2e3);if(!t.ok)throw new Error(e(382));return(yield t[e(365)]()).country||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5f22,t=yield this[e(358)](e(364),2e3);if(!t.ok)throw new Error(e(360));return(yield t[e(365)]())[e(377)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x5f22,t=yield this.fetchWithTimeout("https://ipwho.is/",2e3);if(!t.ok)throw new Error("ipwho.is failed");return(yield t.json())[e(376)]||null})].map(t=>t()[e(366)](()=>null)),r=yield Promise[e(368)](t);return!r&&this[e(385)]++,r||null})}[_0x2d1275(358)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x5f22,i=new AbortController,n=setTimeout(()=>i[r(383)](),t);try{return yield fetch(e,{signal:i[r(373)],headers:{"User-Agent":r(367)}})}finally{clearTimeout(n)}})}}function _0x4481(){const e=["signal","166340jabuJo","getCountryCode","country_code","countryCode","215568TIFGcm","2536705gDjXPZ","tryAllEndpoints","6WnFTFf","country.is failed","abort","1133ibEmoT","_failedCount","fetchWithTimeout","4166757QKdcKI","freeipapi failed","168RpKfRw","562414PKJpKT","https://api.country.is","https://free.freeipapi.com/api/json","json","catch","Mozilla/5.0","race","1398495QDIhVw","_country","1ntaKaT","1034368JwslBp"];return(_0x4481=function(){return e})()}const countryFinder=new CountryFinder;var props,TYPEOF_FUNCTION="function",TYPEOF_OBJECT="object",TYPEOF_STRING="string",TYPEOF_UNDEFINED="undefined",BROWSER="browser",CPU="cpu",DEVICE="device",ENGINE="engine",OS="os",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH="sec-ch-ua",CH_FULL_VER_LIST=CH+"-full-version-list",CH_ARCH=CH+"-arch",CH_BITNESS=CH+"-bitness",CH_FORM_FACTORS=CH+"-form-factors",CH_MOBILE=CH+"-"+MOBILE,CH_MODEL=CH+"-"+MODEL,CH_PLATFORM=CH+"-platform",CH_PLATFORM_VER=CH_PLATFORM+"-version",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion",ARCHITECTURE,"formFactors","bitness"],NAVIGATOR=typeof window!==TYPEOF_UNDEFINED&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if(typeof e===TYPEOF_OBJECT&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return typeof e===TYPEOF_STRING},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e)if(e.hasOwnProperty(t)){var r=e[t];typeof r==TYPEOF_OBJECT&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){return e=strip(/^\s\s*/,String(e)),typeof t===TYPEOF_UNDEFINED?e:e.substring(0,t)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,a,o,c=0;c<t.length&&!a;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!a&&u[r];)if(a=u[r++].exec(e))for(n=0;n<d.length;n++)o=a[++i],typeof(s=d[n])===TYPEOF_OBJECT&&s.length>0?2===s.length?typeof s[1]==TYPEOF_FUNCTION?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==TYPEOF_FUNCTION||s[1].exec&&s[1].test?3==s.length?this[s[0]]=o?o.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=o?s[3].call(this,o.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=o?s[3].apply(this,[o.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=o?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=o?s[1].call(this,o,s[2]):void 0):this[s]=o||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if(typeof t[r]===TYPEOF_OBJECT&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/norton\/([\w\.]+)/i],[VERSION,[NAME,"Norton Private Browser"]],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/ mms\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Neon"]],[/ opt\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[NAME],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[NAME,/(.+)/,"Zalo"],VERSION,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/ome-(lighthouse)$/i],[NAME,[TYPE,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ARCHITECTURE,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ARCHITECTURE,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ARCHITECTURE,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ARCHITECTURE,"arm"]],[/ sun4\w[;\)]/i],[[ARCHITECTURE,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[ARCHITECTURE,/ower/,"",lowerize]],[/mc680.0/i],[[ARCHITECTURE,"68k"]],[/winnt.+\[axp/i],[[ARCHITECTURE,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[VENDOR,strMapper,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],MODEL,[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) ([\w ]+) os\d/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[MODEL,[TYPE,SMARTTV]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[VERSION,[NAME,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[VERSION,[NAME,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[BROWSER,[NAME,VERSION,"major",TYPE]],[CPU,[ARCHITECTURE]],[DEVICE,[TYPE,MODEL,VENDOR]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),setProps.call(props.isIgnore,[[BROWSER,[VERSION,"major"]],[ENGINE,[VERSION]],[OS,[VERSION]]]),setProps.call(props.isIgnoreRgx,[[BROWSER,/ ?browser$/i],[OS,/ ?os$/i]]),setProps.call(props.toString,[[BROWSER,[NAME,VERSION]],[CPU,[ARCHITECTURE]],[DEVICE,[VENDOR,MODEL]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function a(){setProps.call(this,r)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(a.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,e!=TYPEOF_UNDEFINED)break}else if(e==TYPEOF_UNDEFINED&&t){t=!t;break}return t},a.prototype.toString=function(){var e="";for(var t in s)typeof this[s[t]]!==TYPEOF_UNDEFINED&&(e+=(e?" ":"")+this[s[t]]);return e||TYPEOF_UNDEFINED}),a.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:a.prototype.is,toString:a.prototype.toString,withClientHints:a.prototype.withClientHints,withFeatureCheck:a.prototype.withFeatureCheck};var i=new r;return e(i),i},new a};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e[CH])],["fullVersionList",itemListToArray(e[CH_FULL_VER_LIST])],[MOBILE,/\?1/.test(e[CH_MOBILE])],[MODEL,stripQuotes(e[CH_MODEL])],["platform",stripQuotes(e[CH_PLATFORM])],["platformVersion",stripQuotes(e[CH_PLATFORM_VER])],[ARCHITECTURE,stripQuotes(e[CH_ARCH])],["formFactors",itemListToArray(e[CH_FORM_FACTORS])],["bitness",stripQuotes(e[CH_BITNESS])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==TYPEOF_UNDEFINED&&(this[r]=e[r])}function UAItem(e,t,r,i){return setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if(typeof e===TYPEOF_OBJECT?(isExtensions(e,!0)?(typeof t===TYPEOF_OBJECT&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e!==TYPEOF_STRING||isExtensions(t,!0)||(r=t,t=void 0),r)if(typeof r.append===TYPEOF_FUNCTION){var i={};r.forEach(function(e,t){i[String(t).toLowerCase()]=e}),r=i}else{var n={};for(var s in r)r.hasOwnProperty(s)&&(n[String(s).toLowerCase()]=r[s]);r=n}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var a=typeof e===TYPEOF_STRING?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",o=new UACHData(r,!0),c=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var a in e)r[a]=i[a]&&i[a].length%2==0?i[a].concat(e[a]):e[a];return r}(defaultRegexes,t):defaultRegexes,u=function(e){return"result"==e?function(){return new UAItem(e,a,c,o).set("ua",a).set(BROWSER,this.getBrowser()).set(CPU,this.getCPU()).set(DEVICE,this.getDevice()).set(ENGINE,this.getEngine()).set(OS,this.getOS()).get()}:function(){return new UAItem(e,a,c[e],o).parseUA().get()}};return setProps.call(this,[["getBrowser",u(BROWSER)],["getCPU",u(CPU)],["getDevice",u(DEVICE)],["getEngine",u(ENGINE)],["getOS",u(OS)],["getResult",u("result")],["getUA",function(){return a}],["setUA",function(e){return isString(e)&&(a=trim(e,500)),this}]]).setUA(a),this}UAItem.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},UAItem.prototype.set=function(e,t){return this.data[e]=t,this},UAItem.prototype.setCH=function(e){return this.uaCH=e,this},UAItem.prototype.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case BROWSER:NAVIGATOR.brave&&typeof NAVIGATOR.brave.isBrave==TYPEOF_FUNCTION&&this.set(NAME,"Brave");break;case DEVICE:!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&typeof NAVIGATOR.standalone!==TYPEOF_UNDEFINED&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case OS:!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(BROWSER,t(BROWSER)).set(CPU,t(CPU)).set(DEVICE,t(DEVICE)).set(ENGINE,t(ENGINE)).set(OS,t(OS))}return this},UAItem.prototype.parseUA=function(){switch("result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),this.itemType){case BROWSER:this.set("major",majorize(this.get(VERSION)));break;case OS:if("iOS"==this.get(NAME)&&"18.6"==this.get(VERSION)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(VERSION,e[1])}}return this},UAItem.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case BROWSER:case ENGINE:var r,i=e.fullVersionList||e.brands;if(i)for(var n=0;n<i.length;n++){var s=i[n].brand||i[n],a=i[n].version;this.itemType==BROWSER&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,a).set("major",majorize(a)),r=s),this.itemType==ENGINE&&"Chromium"==s&&this.set(VERSION,a)}break;case CPU:var o=e[ARCHITECTURE];o&&(o&&"64"==e.bitness&&(o+="64"),rgxMapper.call(this.data,o+";",t));break;case DEVICE:if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case OS:var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var _=this.data,E=function(t){return _[t].getItem().setCH(e).parseCH().get()};this.set(BROWSER,E(BROWSER)).set(CPU,E(CPU)).set(DEVICE,E(DEVICE)).set(ENGINE,E(ENGINE)).set(OS,E(OS))}return this},UAParser.VERSION="2.0.9",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize([ARCHITECTURE]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x1e8474=_0x5566;function _0x5566(e,t){const r=_0x40e2();return(_0x5566=function(e,t){return r[e-=465]})(e,t)}function _0x40e2(){const e=["283376UhExKn","console","424251dTuSnx","tablet","5247NPsFZi","appletv","innerHeight","getResult","height","7CrSAKI","sqrt","wearable","android auto","high","displaySize","xbox","cpu","medium","31818NGrRxi","3RghNus","desktop","includes","carplay","pow","vive","3250MpEHvo","294832OjABut","hbbtv","playstation","watch","screenSize","device","normal","nintendo","2746864GkUqCS","getDeviceInfo","innerWidth","type","340QHIfkc","mobile","maxTouchPoints","toFixed","smarttv","oculus","devicePixelRatio","googletv","width","uiMode","browser","screenDensity","netcast","matches","car","large","smart-tv","matchMedia","12019590kGlKnE"];return(_0x40e2=function(){return e})()}!function(){const e=_0x5566,t=_0x40e2();for(;;)try{if(245780===parseInt(e(466))/1*(-parseInt(e(504))/2)+-parseInt(e(506))/3+-parseInt(e(473))/4+parseInt(e(485))/5*(-parseInt(e(465))/6)+parseInt(e(513))/7*(parseInt(e(481))/8)+parseInt(e(508))/9*(-parseInt(e(472))/10)+parseInt(e(503))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x5566,t=(new UAParser)[e(511)]();return{browser:t[e(495)],os:t.os,device:t[e(478)],engine:t.engine,cpu:t[e(520)],ua:t.ua}}get[_0x1e8474(496)](){const e=_0x1e8474;return window[e(491)]>=3?e(517):window.devicePixelRatio>=2?e(521):"low"}get screenFormat(){const e=_0x1e8474;return window[e(510)]>window[e(483)]?"long":"normal"}get[_0x1e8474(477)](){const e=_0x1e8474,t=window[e(483)];return t<480?"small":t<768?e(479):t<1440?e(500):"xlarge"}get[_0x1e8474(494)](){const e=_0x1e8474;var t,r,i;const n=this[e(482)](),s=(null===(t=n.device)||void 0===t?void 0:t[e(484)])||"",a=(null===(i=null===(r=n.device)||void 0===r?void 0:r.model)||void 0===i?void 0:i.toLowerCase())||"",o=n.ua.toLowerCase();return s===e(515)||a[e(468)](e(476))?6:s===e(489)||o.includes(e(501))||o[e(468)](e(474))||o[e(468)](e(497))||o[e(468)](e(492))||o.includes(e(509))?4:s===e(505)||o.includes(e(475))||o.includes(e(519))||o[e(468)](e(480))?5:o[e(468)](e(499))||o.includes(e(516))||o[e(468)](e(469))?3:o[e(468)](e(490))||o.includes(e(471))||o.includes("vr")||"embedded"===s?7:s===e(486)||s===e(507)?1:""===s||s===e(467)?2:0}get uiStyle(){const e=_0x1e8474;return window[e(502)]&&window[e(502)]("(prefers-color-scheme: dark)")[e(498)]?"1":"0"}get[_0x1e8474(518)](){const e=_0x1e8474,t=window[e(491)]||1,r=screen[e(493)]*t/160,i=screen[e(512)]*t/160;return Math[e(514)](Math[e(470)](r,2)+Math[e(470)](i,2))[e(488)](2)}get screenType(){return"ontouchstart"in window||navigator[_0x1e8474(487)]>0?"touch":"pointer"}}const deviceDetector=new DeviceDetector,_0x36d02b=_0x4118;function _0x3582(){const e=["close","8wNdDZB","isLocalStorageSupported","setItem","removeItem","indexedDB","1244874mdfHvz","deleteDatabase","__test__","length","20cNTXiC","288468RFWNXe","isSessionStorageSupported","onsuccess","5454900EmHoQO","1flpPdl","open","getItem","1842165bSZZBe","5110362JulexB","129806LFuLxk","isIndexedDBSupported","key","supportResults","13527195KjcZqJ","getStorageSizeBytes","onerror","7bppVIB","__test__check__","resolve"];return(_0x3582=function(){return e})()}function _0x4118(e,t){const r=_0x3582();return(_0x4118=function(e,t){return r[e-=195]})(e,t)}!function(){const e=_0x4118,t=_0x3582();for(;;)try{if(351726===-parseInt(e(224))/1*(parseInt(e(199))/2)+parseInt(e(197))/3+-parseInt(e(220))/4*(parseInt(e(219))/5)+-parseInt(e(215))/6*(-parseInt(e(206))/7)+-parseInt(e(210))/8*(-parseInt(e(198))/9)+parseInt(e(223))/10+-parseInt(e(203))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x4118(202)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4118;if(this[e(202)])return this.supportResults;const t=this[e(211)](),r=this[e(221)](),i=yield this[e(200)]();return this[e(202)]={localStorage:t,sessionStorage:r,indexedDB:i},this[e(202)]})}[_0x36d02b(204)](e){const t=_0x36d02b;let r=0;for(let i=0;i<e[t(218)];i++){const n=e[t(201)](i);if(!n)continue;const s=e[t(196)](n);null!=s&&(r+=2*n[t(218)],r+=2*s[t(218)])}return r}[_0x36d02b(211)](){const e=_0x36d02b;try{const t=e(217);return localStorage.setItem(t,"1"),localStorage[e(213)](t),!0}catch(e){return!1}}[_0x36d02b(221)](){const e=_0x36d02b;try{const t=e(217);return sessionStorage[e(212)](t,"1"),sessionStorage[e(213)](t),!0}catch(e){return!1}}[_0x36d02b(200)](){const e=_0x36d02b;return e(214)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(195)](r(207));e[r(205)]=()=>t(!1),e[r(222)]=()=>{const i=r;e.result[i(209)](),indexedDB[i(216)]("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise[e(208)](!1)}}const storageSupport=new StorageSupport,_0x2d4fa1=_0x2dc2;function _0x2dc2(e,t){const r=_0x9b2c();return(_0x2dc2=function(e,t){return r[e-=125]})(e,t)}!function(){const e=_0x2dc2,t=_0x9b2c();for(;;)try{if(377466===-parseInt(e(139))/1*(-parseInt(e(152))/2)+-parseInt(e(166))/3*(parseInt(e(150))/4)+-parseInt(e(154))/5+parseInt(e(129))/6*(parseInt(e(151))/7)+-parseInt(e(147))/8+-parseInt(e(165))/9+parseInt(e(167))/10*(parseInt(e(140))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x2d4fa1(145)](){const e=_0x2d4fa1;try{const t=document[e(134)]("canvas");return!(!t[e(168)](e(156))&&!t[e(168)](e(142)))}catch(e){return!1}}static[_0x2d4fa1(127)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc2,[t,r]=yield Promise.all([this.getWebGLFingerprint(),this.getCanvasFingerprint()]),i=(t||e(155))+"|"+(r||e(155));return this[e(143)](i)})}static[_0x2d4fa1(144)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc2;try{const t=document.createElement(e(130)),r=t.getContext("webgl")||t[e(168)](e(142));if(!r)return;const i=r[e(135)]("WEBGL_debug_renderer_info"),n=[r[e(131)](r.VERSION),r[e(131)](r[e(132)]),r[e(131)](r[e(164)]),i?r[e(131)](i.UNMASKED_VENDOR_WEBGL):"",i?r[e(131)](i[e(161)]):"",r.getParameter(r.MAX_TEXTURE_SIZE)[e(153)]()][e(159)]("|");return this[e(143)](n)}catch(e){return}})}static[_0x2d4fa1(163)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc2;try{const t=document.createElement(e(130));t[e(137)]=200,t[e(149)]=50;const r=t[e(168)]("2d");if(!r)return;return r[e(162)]=e(148),r[e(157)]=e(133),r[e(162)]=e(136),r[e(126)]=e(125),r[e(158)](125,1,78,20),r[e(126)]="#069",r[e(138)](e(141),2,15),this[e(143)](t[e(128)]())}catch(e){return}})}static[_0x2d4fa1(143)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2dc2;let r=0;for(let i=0;i<e[t(160)];i++){r=(r<<5)-r+e[t(146)](i),r&=r}return(r>>>0)[t(153)](16).padStart(16,"0")})}}function _0x9b2c(){const e=["toDataURL","643506fOSVFf","canvas","getParameter","SHADING_LANGUAGE_VERSION","14px Arial","createElement","getExtension","top","width","fillText","64137aVQAAb","4169MfCFSF","WiseTrack 🐾","experimental-webgl","hashData","getWebGLFingerprint","isWebGLSupported","charCodeAt","2909688aopiVS","alphabetic","height","1394036NdvROX","14axEUxB","12KWgzKM","toString","2311820klxRKq","null","webgl","font","fillRect","join","length","UNMASKED_RENDERER_WEBGL","textBaseline","getCanvasFingerprint","VENDOR","3374199xpWBms","3Uudioo","35030XNbEMA","getContext","#f60","fillStyle","generateFingerprint"];return(_0x9b2c=function(){return e})()}const _0xe321=_0x4227;function _0x2a6f(){const e=["browser","2416zzmvXI","uiStyle","cpu","PARAMETERS_VALUE","assign","lastActiveTime","version","getStorageSizeBytes","screenSize","split","31574ZVRvgB","toFixed","169Mkszqh","onLine","defaultTracker","engine","localStorage","clientSessionId","language","architecture","appToken","getSupportResult","PLATFORM","55yloWyd","getUTMParamsString","1757Scbhti","userEnvironment","sdk_requested_at","5274UrYMBa","initialDate","build","initialConfig","187044YITqbC","getCountryCode","getApplicationFields","fromEntries","screenDensity","41760zxCDww","filter","lastSessionStart","screenFormat","hardwareConcurrency","wiseId","2630wmYQMX","getDeviceFields","2958msPSZv","SDK","toString","hostname","device","map","screenType","formattedDate","displaySize","sessionCount","sdkVersion","other","sessionStorage","customDeviceId","innerHeight","722595VMNSQV","entries","DEFAULTS","name","performance","outerWidth","getDeviceInfo","uiMode","nextClientSessionId","deeplinkEnabled","getLocalFields","6567DFaziO","isWebGLSupported","now","toLowerCase","innerWidth","generateFingerprint","17fqKswh","model","subSessionCount"];return(_0x2a6f=function(){return e})()}function _0x4227(e,t){const r=_0x2a6f();return(_0x4227=function(e,t){return r[e-=232]})(e,t)}!function(){const e=_0x4227,t=_0x2a6f();for(;;)try{if(146253===-parseInt(e(264))/1*(parseInt(e(278))/2)+parseInt(e(247))/3+-parseInt(e(305))/4*(-parseInt(e(291))/5)+-parseInt(e(232))/6*(parseInt(e(293))/7)+-parseInt(e(268))/8*(parseInt(e(296))/9)+parseInt(e(311))/10*(parseInt(e(258))/11)+parseInt(e(300))/12*(parseInt(e(280))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0xe321(298)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4227,t=window.performance.now();let r={};return r[e(295)]=Utils[e(239)](new Date),Object[e(272)](r,this[e(257)]()),Object[e(272)](r,yield this[e(302)]()),Object[e(272)](r,this[e(312)]()),r.time_spent=Math.floor((window[e(251)][e(260)]()-t)/1e3),WTConstants[e(249)][e(271)]?Object[e(303)](Object[e(248)](r)[e(237)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(271)]:r])):Object.fromEntries(Object[e(248)](r)[e(306)](([e,t])=>null!=t))})}getApplicationFields(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4227,t=yield storageSupport[e(289)]();return{connectivity_type:navigator[e(281)]?"1":"-1",country:yield countryFinder[e(301)](),package_name:window.location[e(235)],session_storage_enabled:t[e(244)],indexed_db_enabled:t.indexedDB,local_storage_enabled:t[e(284)],session_storage:storageSupport[e(275)](sessionStorage).toFixed(0),local_storage:storageSupport.getStorageSizeBytes(localStorage)[e(279)](0),web_gl_support:DeviceFingerprint[e(259)](),web_gl_fingerprint:yield DeviceFingerprint[e(263)]()}})}[_0xe321(257)](){const e=_0xe321,t=storageManager[e(299)];return t?{uuid:storageManager.deviceId,app_token:t[e(288)],environment:t[e(294)]||WTConstants.CONFIG.DEFAULT_ENVIRONMENT,store_name:e(243),app_version:t.appVersion,push_token:storageManager.pushToken,custom_device_id:t[e(245)],default_tracker:t[e(282)],platform:WTConstants.SDK[e(290)],framework:t.appFrameWork[e(261)](),initiated_by:WTConstants[e(233)].PLATFORM+"_"+t.appFrameWork[e(261)](),initiated_version:storageManager[e(242)],client_secret:t.clientSecret,deeplink_enabled:t[e(256)]||!0,referrer:Utils[e(292)](),installed_at:storageManager[e(297)],session_count:storageManager[e(241)],subsession_count:storageManager[e(266)],session_length:parseInt((storageManager.activeDuration/1e3)[e(234)]()),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(234)]()),cs_id:storageManager[e(285)],next_cs_id:storageManager[e(255)],last_session_created_at:storageManager[e(307)],last_active_time:null!=storageManager[e(273)]?Utils[e(239)](new Date(storageManager[e(273)])):void 0,wise_id:storageManager[e(310)]}:{}}[_0xe321(312)](){const e=_0xe321,t=deviceDetector[e(253)]();return{browser_version:t.browser.version,browser_name:t[e(267)].name,device_manufacturer:t[e(236)].vendor,device_name:t.device[e(265)],device_type:t[e(236)].type,os_name:t.os[e(250)],os_version:t.os.version,cpu_type:t[e(270)][e(287)],web_user_agent:t.ua,display_height:window[e(246)].toFixed(0),display_width:window[e(262)].toFixed(0),language:navigator[e(286)][e(277)]("-")[0],screen_density:deviceDetector[e(304)],screen_format:deviceDetector[e(308)],screen_size:deviceDetector[e(276)],ui_mode:deviceDetector[e(254)].toString(),cpu_lpc:navigator[e(309)].toString(),ui_style:deviceDetector[e(269)],wout_width:window[e(252)],wout_height:window.outerHeight,web_engine:t.engine.name,web_engine_version:t[e(283)][e(274)],display_size:deviceDetector[e(240)],screen_type:deviceDetector[e(238)]}}}const fieldsBuilder=new FieldsBuilder;!function(){for(var e=_0x4c2a,t=_0x31b3();;)try{if(981920===parseInt(e(347))/1+-parseInt(e(357))/2+-parseInt(e(352))/3*(parseInt(e(349))/4)+parseInt(e(359))/5*(parseInt(e(360))/6)+-parseInt(e(358))/7+parseInt(e(355))/8*(parseInt(e(356))/9)+parseInt(e(346))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTApiError extends Error{constructor(e){super(e),this.name=new.target.name}}function _0x31b3(){var e=["5ZDCmpl","4249146oKLfbG","Unknown Error: ","8765030xzhsBs","534141izhbtv","localizedMessage","6672vlrEjo","statusCode","Failed to decode the response: ","2214aiIwNJ","shouldRetryRequest","Network error: ","1561928iJRHrc","18AGNUbW","236662xdXXZC","1246574wQzMwt"];return(_0x31b3=function(){return e})()}function _0x4c2a(e,t){var r=_0x31b3();return(_0x4c2a=function(e,t){return r[e-=346]})(e,t)}class ConnectionError extends WTApiError{constructor(e){var t=_0x4c2a;super(e),this[t(350)]=null,this[t(353)]=!0,this.localizedMessage=t(354)+(null!=e?e:"")}}class HttpError extends WTApiError{constructor(e,t){var r=_0x4c2a;super(t),this[r(350)]=e,this[r(353)]=e>=500,this[r(348)]=null!=t?t:"Server error occurred"}}class DecodingError extends WTApiError{constructor(e){var t=_0x4c2a;super(e),this[t(350)]=null,this[t(353)]=!0,this[t(348)]=t(351)+(null!=e?e:"")}}class UnknownError extends WTApiError{constructor(e,t){var r=_0x4c2a;super(e),this[r(353)]=!1,this[r(350)]=null!=t?t:null,this[r(348)]=r(361)+(null!=e?e:"")}}var _0x1ccb5e=_0x3163;function _0x3163(e,t){var r=_0x2ddc();return(_0x3163=function(e,t){return r[e-=241]})(e,t)}!function(){for(var e=_0x3163,t=_0x2ddc();;)try{if(307359===parseInt(e(244))/1+-parseInt(e(249))/2*(parseInt(e(247))/3)+parseInt(e(245))/4+-parseInt(e(250))/5+parseInt(e(251))/6+parseInt(e(241))/7*(parseInt(e(246))/8)+-parseInt(e(252))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x3163;this.maxRetries=e,this[r(242)]=t}[_0x1ccb5e(253)](e){return e<this[_0x1ccb5e(248)]}[_0x1ccb5e(243)](){return __awaiter(this,void 0,void 0,function*(){var e=_0x3163;return new Promise(t=>setTimeout(t,this[e(242)]))})}}function _0x2ddc(){var e=["retryInterval","waitBeforeRetry","173079EeDKKq","688004vhdfHr","136BuZpjy","317004JnYIys","maxRetries","4dOaGFN","1770390rspeOD","3184830xJrYKo","5244849ksJQQz","canRetry","238679hOLMeY"];return(_0x2ddc=function(){return e})()}const _0x2ca538=_0x24d1;function _0x24d1(e,t){const r=_0x321c();return(_0x24d1=function(e,t){return r[e-=491]})(e,t)}function _0x321c(){const e=["method","3078184yzOZOa","Error executing request","20vtsGro","waitBeforeRetry","canRetry","text","json","params","18831990vpJyyq","error","baseUrl","call","no-store, no-cache, must-revalidate, proxy-revalidate","Request successful","debug","authToken","❌ API ERROR (","✅ Token refreshed, retrying request...","Decoding api error response failed: ","refreshHandler","🚀 REQUEST ("," is not a valid URL Endpoint","no-cache","POST","962695PdiIpw","no-store","3967332sQMKfz","status","7WKFKrY","✅ API SUCCESS (","retryAttempt","Content-Type","needsAuthentication",") =>","retryPolicy","assign","application/json","message","stringify","16178rFhOiq","380925YUaDWQ","2972880vPQGjw","41PWiUAd","sendRequest","Bearer "];return(_0x321c=function(){return e})()}!function(){const e=_0x24d1,t=_0x321c();for(;;)try{if(518409===parseInt(e(502))/1*(parseInt(e(499))/2)+-parseInt(e(500))/3+parseInt(e(508))/4*(-parseInt(e(530))/5)+parseInt(e(532))/6*(-parseInt(e(534))/7)+parseInt(e(506))/8+-parseInt(e(501))/9+parseInt(e(514))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class NetworkManager{constructor(){this[_0x24d1(525)]=null}setRefreshHandler(e){this[_0x24d1(525)]=e}[_0x2ca538(494)](){return new RetryPolicy}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x24d1;var i;const n=t[r(536)]||1,s=!1!==t[r(492)];let a,o;try{a=new URL(e,EnvironmentUtils[r(516)])}catch(t){return new UnknownError("Internal Error: "+EnvironmentUtils.baseUrl+e+r(527))}WTLogger[r(520)](r(526)+n+") => "+(t[r(505)]||r(529))+" "+a,"-- PARAMETERS =>",t[r(513)]||{});const c=Object[r(495)]({Accept:r(496),"Cache-Control":r(518),Pragma:r(528),Expires:"0"},t.headers);if(s){const e=storageManager[r(521)];e&&(c.Authorization=r(504)+e)}t.params&&(c[r(491)]=r(496),o=JSON[r(498)](t[r(513)]));try{const u=yield fetch(a,{method:t.method||r(529),headers:c,body:o,cache:r(531),mode:"cors",keepalive:!0});if(!u.ok){if(401===u.status&&s){WTLogger[r(520)]("🔄 Token expired, attempting to refresh...");const s=yield null===(i=this[r(525)])||void 0===i?void 0:i[r(517)](this);return s instanceof WTApiError?(WTLogger[r(515)]("❌ Token refresh failed:",s.localizedMessage),new HttpError(401,"Authentication failed")):(WTLogger.debug(r(523)),this[r(503)](e,Object.assign(Object[r(495)]({},t),{retryAttempt:n})))}let a="";try{const e=yield u[r(511)]();a=e;const t=JSON.parse(e);t.message&&(a=t[r(497)])}catch(e){WTLogger[r(515)](r(524)+e,e)}return WTLogger.warn(r(522)+u[r(533)]+r(493),a),new HttpError(u[r(533)],a)}try{const e=yield u[r(512)]();return WTLogger[r(520)](r(535)+u[r(533)]+r(493),e.message||r(519)),e}catch(e){return new DecodingError(e.message||String(e))}}catch(i){return WTLogger[r(515)](r(507),i),this.retryPolicy()[r(510)](n)?(yield this[r(494)]()[r(509)](),this.sendRequest(e,Object[r(495)](Object.assign({},t),{retryAttempt:n+1}))):new ConnectionError(i[r(497)]||"Unknown error")}})}}const networkManager=new NetworkManager,_0x54562e=_0x214e;function _0x5cf4(){const e=["result","320710eiuySs","8FxkdtZ","other","endpoints","fromJson","setRefreshHandler","sdk_updated_at","Initial Config is not provided","hostname","18UUMKZc","wiseId","doGetAuthToken","appToken","deferredLookups","isRefreshingToken","sdkVersion","doGetConfig","location","formattedDate","refreshTokenPromise","refreshToken","HEARTBEATS_PATH","865832RMwVaY","14iGjsac","692391lUQpPk","sendRequest","3874510XNHfpN","authToken","appFrameWork","CONFIG_PATH","AUTH_PATH","SDK","42564cbTYRm","build","config","DEFERRED_LOOKUPS_PATH","heartbeats","415OHkgHg","1549170jHDTBt","doSendHeartbeat","auth","7967531KoOJrI","clientSecret","doGetDeferredData","Client Secret is not provided","doCallRequest","appVersion"];return(_0x5cf4=function(){return e})()}function _0x214e(e,t){const r=_0x5cf4();return(_0x214e=function(e,t){return r[e-=445]})(e,t)}!function(){const e=_0x214e,t=_0x5cf4();for(;;)try{if(488195===parseInt(e(479))/1+-parseInt(e(480))/2*(parseInt(e(455))/3)+-parseInt(e(463))/4*(parseInt(e(468))/5)+parseInt(e(469))/6+parseInt(e(454))/7*(parseInt(e(453))/8)+parseInt(e(488))/9*(parseInt(e(457))/10)+parseInt(e(472))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ApiClient{constructor(){const e=_0x214e;this[e(450)]=null,networkManager[e(484)](this[e(451)])}[_0x54562e(447)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x214e,t=storageManager.initialConfig;if(!t)return new UnknownError(e(486));const r=WTConstants[e(462)].PLATFORM,i=t[e(459)].toLowerCase(),n={app_token:t[e(491)],app_version:t[e(477)],framework:i,package_name:window[e(448)][e(487)],platform:r,sdk_version:storageManager[e(446)],initiated_by:r+"_"+i,store_name:e(481)},s=yield networkManager.sendRequest(SecureConfig[e(460)],{params:n,needsAuthentication:!1});return s instanceof WTApiError?s:WTConfig[e(483)](s[e(478)])})}[_0x54562e(490)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x214e;var t,r,i;if(!(null===(t=storageManager.initialConfig)||void 0===t?void 0:t[e(473)]))return new UnknownError(e(475));const n=yield fieldsBuilder[e(464)](),s=yield networkManager[e(456)](null!==(i=null===(r=storageManager[e(465)])||void 0===r?void 0:r[e(482)][e(471)])&&void 0!==i?i:SecureConfig[e(461)],{params:n,needsAuthentication:!1});if(s instanceof WTApiError)return s;const a=WTAuth[e(483)](s[e(478)]);return storageManager[e(458)]=a[e(458)],storageManager[e(489)]=a[e(489)],!0})}[_0x54562e(474)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x214e;var t,r;const i=yield fieldsBuilder.build(),n=yield networkManager[e(456)](null!==(r=null===(t=storageManager.config)||void 0===t?void 0:t.endpoints[e(492)])&&void 0!==r?r:SecureConfig[e(466)],{params:i});return n instanceof WTApiError?n:WTDeferredLookup[e(483)](n[e(478)])})}[_0x54562e(470)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x214e;var r,i;return!((yield networkManager[t(456)](null!==(i=null===(r=storageManager[t(465)])||void 0===r?void 0:r[t(482)][t(467)])&&void 0!==i?i:SecureConfig[t(452)],{params:e}))instanceof WTApiError)})}[_0x54562e(476)](e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x214e;return t[r(485)]=Utils[r(449)](new Date),yield networkManager.sendRequest(e,{params:t})})}[_0x54562e(451)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x214e;if(this[e(450)])return this[e(450)];this[e(450)]=apiClient.doGetAuthToken();try{return yield this[e(450)]}finally{this[e(450)]=null}})}get[_0x54562e(445)](){return null!==this[_0x54562e(450)]}}const apiClient=new ApiClient,_0x90363e=_0x52ed;function _0x22c4(){const e=["34502bnoVwM","999588pkORFo","getAuth","checkSdkEnabled","sdkUpdate","955RXGqWM","‼️ Configuration failed: ","doGetConfig","sdkEnabled","301ynQfQi","DeferredLookup => deferred link was handled before","initialConfig","config","1774792JBodvf","info","DeferredLookup => SDK is not enabled!","checkSdkUpdate","deferredLookup","7412238AjTRpt","⛔ Authentication failed: ","deferredLinkHandled","SDK Config set","SDK Authentication set","warn","authToken","localizedMessage","Already Authorized","configureSDK","shouldRetryRequest","580590NEFdhU","debug","doGetDeferredData","904kbrdrp","42036MCWvlI","deferredData","getConfig"];return(_0x22c4=function(){return e})()}function _0x52ed(e,t){const r=_0x22c4();return(_0x52ed=function(e,t){return r[e-=117]})(e,t)}!function(){const e=_0x52ed,t=_0x22c4();for(;;)try{if(248910===parseInt(e(128))/1+parseInt(e(121))/2+-parseInt(e(129))/3+-parseInt(e(124))/4*(parseInt(e(133))/5)+-parseInt(e(125))/6*(parseInt(e(137))/7)+-parseInt(e(141))/8+parseInt(e(146))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigure{[_0x90363e(119)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x52ed;storageManager[t(139)]=e,yield this[t(127)](),yield this[t(130)](),this[t(145)]()})}[_0x90363e(127)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x52ed;let t=yield apiClient[e(135)]();if(t instanceof WTApiError&&!t.shouldRetryRequest)throw storageManager[e(136)]=!1,Error(e(134)+t[e(117)]);storageManager[e(140)]=t instanceof WTConfig?t:storageManager[e(140)]||WTConfig.defaultValue;let r=storageManager[e(140)];this[e(144)](r),this.checkSdkEnabled(r),WTLogger[e(142)](e(149))})}getAuth(){return __awaiter(this,void 0,void 0,function*(){const e=_0x52ed;if(null!=storageManager[e(152)]&&null!=storageManager.wiseId)return void WTLogger[e(142)](e(118));let t=yield apiClient.doGetAuthToken();if(t instanceof WTApiError&&!t[e(120)])throw storageManager[e(136)]=!1,Error(e(147)+t.localizedMessage);WTLogger.info(e(150))})}[_0x90363e(145)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x52ed;if(!storageManager[e(136)])return void WTLogger[e(122)](e(143));if(storageManager.deferredLinkHandled)return void WTLogger[e(122)](e(138));let t=yield apiClient[e(123)]();if(t instanceof WTApiError)return t[e(120)]?new Promise(t=>setTimeout(()=>{t(this[e(145)]())},3e3)):void(storageManager.deferredLinkHandled=!0);storageManager[e(126)]=t,lifecycleOvserver.onDeeplinkReceived({uri:t.deeplink,isDeferred:!0}),storageManager[e(148)]=!0})}[_0x90363e(131)](e){const t=_0x90363e;if(storageManager[t(136)]=e[t(136)],!e[t(136)])throw new Error("SDK is disabled form server, contact your administrator!")}[_0x90363e(144)](e){const t=_0x90363e;e[t(132)]&&WTLogger[t(151)]("A new version of the SDK is available. It is recommended to update to the latest version")}}const configure=new WTConfigure;!function(){const e=_0x4eb5,t=_0x1123();for(;;)try{if(914737===-parseInt(e(256))/1+-parseInt(e(262))/2*(parseInt(e(264))/3)+-parseInt(e(257))/4+parseInt(e(258))/5*(-parseInt(e(259))/6)+-parseInt(e(260))/7+-parseInt(e(255))/8+parseInt(e(261))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateUUID:()=>crypto[_0x4eb5(263)]()};function _0x4eb5(e,t){const r=_0x1123();return(_0x4eb5=function(e,t){return r[e-=255]})(e,t)}function _0x1123(){const e=["3MWBwpr","5053384FWWDNd","917184gstDsp","3883936GvNnri","500ZUYbah","83442mtQcCO","301630ahqrwV","55957257qLrOFY","2698210rmwIvD","randomUUID"];return(_0x1123=function(){return e})()}const _0x441c57=_0x1e2a;function _0x3a04(){const e=["546064lUZmTa","277503NIfcJn","8242680YEBEUT","release","111105CpiACi","randomUUID","locked","length","push","132HkMqmX","createdAt","109602qVgkiV","acquire","36092898IiTAEW","waitingQueue","5098192TIJpdD","endpoint","parameters","7zemAWa"];return(_0x3a04=function(){return e})()}function _0x1e2a(e,t){const r=_0x3a04();return(_0x1e2a=function(e,t){return r[e-=352]})(e,t)}!function(){const e=_0x1e2a,t=_0x3a04();for(;;)try{if(708213===-parseInt(e(368))/1+-parseInt(e(360))/2+parseInt(e(369))/3+-parseInt(e(364))/4+parseInt(e(353))/5*(-parseInt(e(358))/6)+parseInt(e(367))/7*(-parseInt(e(370))/8)+parseInt(e(362))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x1e2a;this.retryCount=0,this.maxRetries=3,this.id=crypto[r(354)](),this[r(365)]=e,this[r(366)]=t,this[r(359)]=Date.now()}}class Mutex{constructor(){const e=_0x1e2a;this.locked=!1,this[e(363)]=[]}[_0x441c57(361)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x1e2a;this[t(355)]?this[t(363)][t(357)](e):(this.locked=!0,e())})})}[_0x441c57(352)](){const e=_0x441c57;if(this[e(363)][e(356)]>0){this.waitingQueue.shift()()}else this[e(355)]=!1}}const _0x1049e3=_0x183f;function _0x1c0e(){const e=["Error in processing loop:","BASE_DELAY_MS","error","length","isInitialized","getQueue","finishRequest","endpoint","5023413btWwKV","Queue Manager is not initialized. Call initialize() first.","sendRequest","SDK_CLICKS","values","failedRequestDelay","retry","34353936CRNBVL","has","retryCount","startProcessing","stopProcessing","💥 Sending request (","success","all","acquire","Error sending request ","544864SZtztV","74owCnnq","canAddRequest","then","saveQueue","processingInterval","requestRecords","): id=","canProcessNext","shouldRetryRequest","doCallRequest","mutex","266OXhvjp","373242DUFQTw","Error waiting for active requests:","MAX_CONCURRENT_REQUESTS","isProcessing","getQueueStatus","BACKOFF_MULTIPLIER","MAX_DELAY_MS","pow","processNextRequest","calculateBackoffDelay","set","sdkClickSubmit","warn","clear","processQueues","catch","createdAt","Error processing request ","14562xNrsEz","some","PROCESSING_INTERVAL_MS","promise","activeRequests","3810975NgaGGH","min","delete","shift","maxRetries","sort","push","308944kzBrsx","initialize","size","addRequest","release","race","debug","now"];return(_0x1c0e=function(){return e})()}function _0x183f(e,t){const r=_0x1c0e();return(_0x183f=function(e,t){return r[e-=155]})(e,t)}!function(){const e=_0x183f,t=_0x1c0e();for(;;)try{if(972559===parseInt(e(192))/1*(-parseInt(e(162))/2)+-parseInt(e(220))/3+parseInt(e(161))/4+parseInt(e(197))/5+-parseInt(e(174))/6+-parseInt(e(173))/7*(parseInt(e(204))/8)+parseInt(e(227))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x183f;this[e(216)]=!1,this[e(177)]=!1,this[e(172)]=new Mutex,this[e(166)]=null,this.PROCESSING_INTERVAL_MS=100,this[e(196)]=new Map,this[e(225)]=0,this[e(180)]=3e4,this[e(179)]=2,this[e(213)]=1e3,this[e(176)]=1}[_0x1049e3(205)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;this[e(216)]=!0,!this[e(177)]&&(yield this[e(230)]())})}shutdown(){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;this.isInitialized&&(yield this[e(155)](),this.isInitialized=!1,this[e(196)][e(187)]())})}[_0x1049e3(178)](){const e=_0x1049e3;return{queueLength:this[e(217)]().length,isProcessing:this[e(177)],activeRequests:this[e(196)][e(206)],isInBackoffDelay:this.failedRequestDelay>0&&Date[e(211)]()<this[e(225)],backoffEndsAt:this[e(225)]>0?this[e(225)]:null}}[_0x1049e3(230)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;if(this[e(216)]){yield this[e(172)][e(159)]();try{if(this.isProcessing)return;this.isProcessing=!0;const t=this[e(217)]()[e(202)]((t,r)=>(t[e(190)]||0)-(r[e(190)]||0));this[e(165)](t),this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this.processQueues()}catch(e){WTLogger[t(214)](t(212),e)}}),this[e(194)])}finally{this.mutex[e(208)]()}yield this[e(188)]()}else WTLogger[e(186)](e(221))})}[_0x1049e3(155)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;yield this[e(172)].acquire();try{this.isProcessing=!1,this[e(166)]&&(clearInterval(this.processingInterval),this[e(166)]=null)}finally{this[e(172)][e(208)]()}const t=Array.from(this[e(196)][e(224)]()).map(t=>t[e(195)]);if(t[e(215)]>0)try{yield Promise[e(209)]([Promise[e(158)](t),new Promise(e=>setTimeout(e,5e3))])}catch(t){WTLogger[e(186)](e(175),t)}})}[_0x1049e3(207)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x183f;yield this[t(172)][t(159)]();try{if(!this[t(163)](e))return;const r=this[t(217)]();r.push(e),this[t(165)](r),this[t(225)]=0}finally{this.mutex[t(208)]()}this[t(177)]&&this[t(196)][t(206)]<this.MAX_CONCURRENT_REQUESTS&&(yield this[t(182)]())})}processQueues(){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;if(this[e(177)]){if(this[e(225)]>0){if(Date[e(211)]()<this[e(225)])return;this.failedRequestDelay=0}for(;this[e(196)][e(206)]<this.MAX_CONCURRENT_REQUESTS&&this[e(169)]();)yield this[e(182)]()}})}[_0x1049e3(169)](){const e=_0x1049e3,t=this.getQueue();if(0===t[e(215)])return!1;const r=t[0];return!this[e(196)][e(228)](r.id)}processNextRequest(){return __awaiter(this,void 0,void 0,function*(){const e=_0x183f;let t=null;yield this.mutex[e(159)]();try{const r=this[e(217)]();if(0===r[e(215)])return;if(t=r[0],this[e(196)][e(228)](t.id))return;r[e(200)](),this[e(165)](r)}finally{this.mutex[e(208)]()}if(t){const r=this[e(222)](t);this[e(196)][e(184)](t.id,{request:t,promise:r}),r[e(164)](r=>{this[e(218)](t,r)})[e(189)](r=>{const i=e;WTLogger.error(i(191)+t.endpoint+":",r),this[i(218)](t,{success:!1,retry:!0})})}})}[_0x1049e3(218)](e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x183f;yield this[r(172)][r(159)]();try{if(this[r(196)][r(199)](e.id),t[r(157)])WTLogger[r(210)]("✓ Request finished: "+e[r(219)]);else if(t[r(226)])if(e[r(229)]++,e.retryCount>=e[r(201)]){const t=this[r(183)](e[r(229)]);this[r(225)]=Date.now()+t;const i=this[r(217)]();i[r(203)](e),this.saveQueue(i)}else{const t=this[r(217)]();t[r(203)](e),this[r(165)](t)}}finally{this.mutex.release()}this[r(196)].size<this[r(176)]&&(yield this[r(182)]())})}[_0x1049e3(222)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x183f;WTLogger.debug(t(156)+e[t(219)]+t(168)+e.id);try{const r=yield apiClient[t(171)](e[t(219)],e.parameters);return r instanceof WTApiError?{success:!1,retry:r[t(170)]}:{success:r.success,retry:!1}}catch(r){return WTLogger[t(214)](t(160)+e[t(219)]+":",r),{success:!1,retry:!0}}})}calculateBackoffDelay(e){const t=_0x1049e3,r=this[t(213)]*Math[t(181)](this.BACKOFF_MULTIPLIER,e-1);return Math[t(198)](r,this.MAX_DELAY_MS)}getQueue(){return storageManager[_0x1049e3(167)]}[_0x1049e3(165)](e){storageManager.requestRecords=e}[_0x1049e3(163)](e){const t=_0x1049e3;if(e.endpoint===WTEndpoints[t(223)]){const e=this[t(217)]()[t(193)](e=>e[t(219)]===WTEndpoints[t(223)]),r=Array.from(this.activeRequests.values())[t(193)](e=>e.request[t(219)]===WTEndpoints[t(223)]);return!storageManager[t(185)]&&(!e&&!r)}return!0}}const queueManager=new RequestsQueueManager;function _0x3b26(e,t){const r=_0x4206();return(_0x3b26=function(e,t){return r[e-=314]})(e,t)}const _0x3cf1f2=_0x3b26;function _0x4206(){const e=["9dbXLkj","location","6139NJKzLC","deviceId","appFrameWork","577368mfCYfC","4555iUyzeO","initialConfig","957627anyEZP","clientSessionId","wiseId","11IwkJMb","8UWcibG","3219648guksZF","clientSecret","5682SHucSR","2jzyuBa","build","PLATFORM","209690FDRNaW","formattedDate","appVersion","7316088zYvXTJ","deeplink","hostname"];return(_0x4206=function(){return e})()}!function(){const e=_0x3b26,t=_0x4206();for(;;)try{if(587664===parseInt(e(333))/1+parseInt(e(319))/2*(-parseInt(e(336))/3)+parseInt(e(315))/4*(-parseInt(e(334))/5)+-parseInt(e(318))/6*(parseInt(e(330))/7)+parseInt(e(325))/8+-parseInt(e(328))/9*(parseInt(e(322))/10)+-parseInt(e(314))/11*(-parseInt(e(316))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ClickMatchFieldsBuilder extends FieldsBuilder{constructor(e){super(),this.deeplink=e}[_0x3cf1f2(320)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3b26;let t=storageManager,r=t[e(335)];return new Promise(i=>{const n=e;i({cs_id:t[n(337)],wise_id:t[n(338)],uuid:t[n(331)],client_secret:null==r?void 0:r[n(317)],app_token:null==r?void 0:r.appToken,store_name:"other",platform:WTConstants.SDK[n(321)],framework:null==r?void 0:r[n(332)].toLowerCase(),package_name:window[n(329)][n(327)],app_version:null==r?void 0:r[n(324)],sdk_requested_at:Utils[n(323)](new Date),deeplink:this[n(326)]})})})}}const _0xcc2df4=_0x5361;function _0x5361(e,t){const r=_0x33c7();return(_0x5361=function(e,t){return r[e-=261]})(e,t)}!function(){const e=_0x5361,t=_0x33c7();for(;;)try{if(984910===parseInt(e(262))/1*(-parseInt(e(273))/2)+-parseInt(e(282))/3*(-parseInt(e(266))/4)+-parseInt(e(261))/5+parseInt(e(277))/6*(parseInt(e(263))/7)+-parseInt(e(274))/8*(-parseInt(e(270))/9)+parseInt(e(280))/10*(-parseInt(e(279))/11)+-parseInt(e(264))/12*(-parseInt(e(265))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x5361;super(),this[t(272)]=e}[_0xcc2df4(268)](){const e=_0xcc2df4,t=Object[e(283)](null,{build:{get:()=>super[e(268)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(268)].call(this),n={event_type:this[r(272)][r(276)],event_name:this[r(272)].name,event_count:storageManager[r(269)]};return Object.keys(this.event[r(267)])[r(275)]>0&&(n[r(281)]=this[r(272)][r(267)]),this[r(272)][r(276)]===r(278)&&(n[r(278)]=this[r(272)][r(271)],n.currency=this.event.currency),i.event=n,new Promise(e=>e(i))})}}function _0x33c7(){const e=["104zNwhEx","16GuMJXt","params","build","eventCount","4318695ilKpdy","amount","event","14qKAtwu","8FWfyFq","length","type","12WSvxXT","revenue","209KVFWre","694270TvxHoo","event_params","796851iaVGAw","create","2243955oVjNGA","206109uWdiCN","4259101AFHnyg","2154552KSDnmU"];return(_0x33c7=function(){return e})()}const _0x3b2ed5=_0x4c5c;function _0x4c5c(e,t){const r=_0x1ade();return(_0x4c5c=function(e,t){return r[e-=324]})(e,t)}function _0x1ade(){const e=["createAttribution","startTicking","s Totaly)","2294500ZzoWwC","onStartHandler","s | (","generateUUID","Failed to check activity times: SDK is not enabled!, try after 1s ...","clientSessionId","Failed to check activity times: SDK is not running!, try after 1s ...","shutdown","2764488KFxjPt","createRequest","inactiveTime","isRunning","initialized","isEnabled","createClickMatch","10263xKHgSi","lastSessionStart","unmatchedDeeplinks","472416YlCatt","activeDuration","onClickMatchHandler","sdkEnabled","appStartTime","startTracking","addRequest","addObservers","CheckPushToken: SDK is not initialized yet","trackEvent","info","sessionCount"," request to queue","registerListeners","Creating Install: SDK is not enabled!","formattedDate","sdkClickSubmit","User was inactived for ","WT Tracker stopped","checkSdkClicks","checkDeepLinks","initialDate","initialize","debug","First-Session has already submitted","pushToken","SDK_CLICKS","fcmToken","CheckPushToken: SDK is not enabled","inactiveDuration","stopTracking","Adding ","2CdRMOY","Failed to check activity times: Maximum retry attempts reached. Please ensure the SDK is enabled and initialized beforehand","1922520jysqRd","Creating Attribution: SDK is not enabled!","ATTRIBUTIONS","272213TlOgBR","checkFirstSession","Failed to create click-match: SDK is not running!","1976gbsfNK","stopTicking","checkPushToken","deeplinkHandler","destroy","warn","createDeviceID","setActivityTimes","config","nextClientSessionId","now","getCountryCode","SDK is not enabled to start tracking!","14049cchlLL","SESSIONS","lastActiveTime","build","Failed to create click-match: SDK is not enabled!"];return(_0x1ade=function(){return e})()}!function(){const e=_0x4c5c,t=_0x1ade();for(;;)try{if(282829===-parseInt(e(336))/1*(-parseInt(e(331))/2)+-parseInt(e(375))/3+parseInt(e(333))/4+-parseInt(e(360))/5+-parseInt(e(368))/6+parseInt(e(378))/7+-parseInt(e(339))/8*(-parseInt(e(352))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x4c5c;this[e(371)]=!1,this[e(372)]=!1}get[_0x3b2ed5(373)](){return storageManager[_0x3b2ed5(381)]}[_0x3b2ed5(400)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;this[e(350)](),this[e(345)](),storageManager[e(382)]=Date[e(349)](),this[e(385)](),this[e(372)]=!0})}[_0x3b2ed5(383)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;if(!this[e(373)])return WTLogger.warn(e(351));WTLogger.debug("WT Tracker started"),this[e(371)]=!0,yield queueManager[e(400)](),yield this[e(397)](),yield this[e(337)](),this[e(346)](),this[e(357)](),this[e(398)]()})}[_0x3b2ed5(329)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;this[e(371)]=!1,lifecycleOvserver[e(340)](),yield queueManager[e(367)](),WTLogger[e(401)](e(396))})}[_0x3b2ed5(343)](){return __awaiter(this,void 0,void 0,function*(){lifecycleOvserver.stopTicking(),lifecycleOvserver.unregisterListeners()})}[_0x3b2ed5(341)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4c5c;storageManager[t(324)]=e,this.isEnabled?this.initialized?storageManager[t(326)]!==e?yield this[t(369)]({endpoint:WTEndpoints.PUSH_TOKENS}):WTLogger[t(388)]("This Notification token has sent to server previously"):WTLogger[t(344)](t(386)):WTLogger[t(344)](t(327))})}[_0x3b2ed5(387)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4c5c;this[t(373)]?this[t(372)]?(storageManager.eventCount+=1,yield this[t(369)]({endpoint:WTEndpoints.EVENTS,fBuilder:new EventFieldsBuilder(e)})):WTLogger[t(344)]("trackEvent: SDK is not initialized yet"):WTLogger.warn("trackEvent: SDK is not enabled")})}setOnDeeplinkListener(e){lifecycleOvserver[_0x3b2ed5(342)]=e}getCountryCode(){countryFinder[_0x3b2ed5(350)]()}[_0x3b2ed5(357)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;return this[e(373)]?this[e(371)]?void(yield this[e(369)]({endpoint:WTEndpoints[e(335)]})):WTLogger.warn("Creating Attribution: SDK is not running!"):WTLogger[e(344)](e(334))})}[_0x3b2ed5(337)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;return this[e(373)]?this[e(371)]?void(storageManager.firstSessionSubmit?WTLogger[e(401)](e(402)):(storageManager.sessionCount=1,storageManager.subSessionCount=1,storageManager.activeDuration=0,storageManager[e(328)]=0,storageManager[e(348)]=null,yield this[e(369)]({endpoint:WTEndpoints.SESSIONS}),storageManager[e(376)]=Utils.formattedDate(new Date),storageManager.firstSessionSubmit=!0)):WTLogger.warn("Creating First Session: SDK is not running!"):WTLogger[e(344)]("Creating First Session: SDK is not enabled!")})}[_0x3b2ed5(397)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;return this[e(373)]?storageManager[e(394)]?WTLogger[e(401)]("SDK-Clicks has already submitted"):(yield this.createRequest({endpoint:WTEndpoints[e(325)]}),void(storageManager[e(394)]=!0)):WTLogger[e(344)](e(392))})}[_0x3b2ed5(369)](e){return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:t=fieldsBuilder}){const r=_0x4c5c;WTLogger.debug(r(330)+e+r(390));const i=yield t[r(355)](),n=new RequestRecord(e,i);yield queueManager[r(384)](n)})}createDeviceID(){const e=_0x3b2ed5;!storageManager.deviceId&&(storageManager.deviceId=cryptoHelper[e(363)]()),!storageManager[e(399)]&&(storageManager[e(399)]=Utils[e(393)](new Date)),!storageManager.clientSessionId&&(storageManager[e(365)]=cryptoHelper[e(363)]())}[_0x3b2ed5(398)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c5c;for(const t of storageManager.unmatchedDeeplinks)yield this[e(374)](t)})}[_0x3b2ed5(374)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4c5c;if(!this[t(373)])return WTLogger[t(401)](t(356));if(!this.isRunning)return WTLogger[t(401)](t(338));const r=storageManager[t(377)];yield this[t(369)]({endpoint:WTEndpoints.CLICK_MATCHES,fBuilder:new ClickMatchFieldsBuilder(e)}),storageManager.unmatchedDeeplinks=r.filter(t=>t!==e)})}setActivityTimes(){return __awaiter(this,arguments,void 0,function*(e=0){const t=_0x4c5c;var r,i;if(e>=100)return WTLogger.warn(t(332));if(!this[t(373)])return WTLogger[t(401)](t(364)),new Promise(r=>setTimeout(()=>{r(this[t(346)](e+1))},1e3));if(!this[t(371)])return WTLogger[t(401)](t(366)),new Promise(r=>setTimeout(()=>{r(this[t(346)](e+1))},1e3));if(storageManager.lastActiveTime&&storageManager.appStartTime){storageManager[t(370)]=storageManager[t(354)];const e=storageManager[t(382)]-storageManager[t(370)];storageManager.inactiveDuration+=e,WTLogger[t(401)](t(395)+e/1e3+t(362)+storageManager.inactiveDuration/1e3+t(359));const n=null===(r=storageManager[t(347)])||void 0===r?void 0:r.sessionInterval,s=null===(i=storageManager.config)||void 0===i?void 0:i.subsessionInterval;n&&s&&(e>1e3*parseInt(n)?(storageManager[t(389)]+=1,storageManager[t(348)]=cryptoHelper[t(363)](),yield this.createRequest({endpoint:WTEndpoints[t(353)]}),storageManager.lastSessionStart=Utils.formattedDate(new Date),storageManager[t(365)]=storageManager[t(348)],storageManager[t(348)]=null,storageManager[t(379)]=0,storageManager[t(328)]=0,storageManager.subSessionCount=1):e>1e3*parseInt(s)&&(storageManager.subSessionCount+=1))}storageManager[t(354)]=Date[t(349)](),lifecycleOvserver[t(358)]()})}[_0x3b2ed5(385)](){const e=_0x3b2ed5;lifecycleOvserver[e(361)]=()=>__awaiter(this,void 0,void 0,function*(){const t=e;this[t(371)]&&(storageManager[t(382)]=Date.now(),yield this[t(346)](),this[t(357)]())}),lifecycleOvserver[e(380)]=t=>{this[e(374)](t)},lifecycleOvserver[e(391)]()}}const tracker=new WTTracker,_0x59b862=_0x76a2;function _0x76a2(e,t){const r=_0x1d33();return(_0x76a2=function(e,t){return r[e-=441]})(e,t)}function _0x1d33(){const e=["Clearing Data and stop tracker!","‼️ Start Tracking: SDK is not initialized yet","setOnDeeplinkListener","9672136ZEuMQQ","Track Event: SDK is not enabled!","9KBknjf","warn","isEnabled","info","Config is not set!","error","SDK is disabled form server, contact your adminstrator!","instance","setLogLevel","setEnabled","configureSDK","startTracking","147952fyyBzD","sdkEnabled","clientSecret","flush","deeplink","logLevel","Start Tracking: SDK is not enabled!","clear","21CBOqia","3888941lufXMo","trackEvent","5221080JXTRvi","trim","148042zoEFHc","initializationPromise","sdkInitialized","getDeferredDeeplink","865362egtEsO","8344728AmYaLG","deferredData","trackingWaitingTime","stopTracking","initialize","setLevel","performInitialization","setFCMToken","appDeeplink","‼️ AppToken is empty!","_instance"];return(_0x1d33=function(){return e})()}!function(){const e=_0x76a2,t=_0x1d33();for(;;)try{if(750073===parseInt(e(458))/1+-parseInt(e(454))/2*(-parseInt(e(449))/3)+parseInt(e(441))/4+-parseInt(e(452))/5+-parseInt(e(459))/6+parseInt(e(450))/7+-parseInt(e(473))/8*(-parseInt(e(475))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x59b862(482)](){const e=_0x59b862;return!WiseTrack[e(469)]&&(WiseTrack[e(469)]=new WiseTrack),WiseTrack[e(469)]}constructor(){const e=_0x59b862;this[e(456)]=!1,this[e(455)]=null}init(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x76a2;if(this.initializationPromise)return this[t(455)];if(this[t(456)])WTLogger.info("WiseTrack is already initialized!");else if(""!==e.appToken[t(453)]()){if(""!==e[t(443)][t(453)]())return e.logLevel&&WTLogger[t(464)](e[t(446)]),this[t(455)]=this[t(465)](e),tracker[t(463)](),this[t(455)];WTLogger[t(480)]("‼️ ClientSecret is empty!")}else WTLogger[t(480)](t(468))})}[_0x59b862(465)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x76a2;var r,i;try{yield configure[t(485)](e),this[t(456)]=!0;if(null===(r=e.startTrackerAutomatically)||void 0===r||r){const r=1e3*(null!==(i=e[t(461)])&&void 0!==i?i:0);r>0?setTimeout(()=>this.startTracking(),r):yield this.startTracking()}}catch(e){throw this[t(455)]=null,e}})}[_0x59b862(483)](e){WTLogger[_0x59b862(464)](e)}[_0x59b862(444)](){const e=_0x59b862;WTLogger[e(478)](e(470)),storageManager[e(448)](),this.stopTracking()}[_0x59b862(477)](){return storageManager[_0x59b862(442)]}[_0x59b862(484)](e){const t=_0x59b862,r=storageManager.config;if(!r)throw new Error(t(479));if(!r.sdkEnabled)throw new Error(t(481));storageManager[t(442)]=e}[_0x59b862(486)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x76a2;this[e(456)]?this[e(477)]()?yield tracker.startTracking():WTLogger[e(476)](e(447)):WTLogger[e(476)](e(471))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x76a2;yield tracker[e(462)]()})}[_0x59b862(466)](e){return __awaiter(this,void 0,void 0,function*(){yield tracker.checkPushToken(e)})}[_0x59b862(451)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x76a2;this.sdkInitialized?this[t(477)]()?yield tracker[t(451)](e):WTLogger.warn(t(474)):WTLogger[t(476)]("‼️ Track Event: SDK is not initialized yet")})}[_0x59b862(472)](e){tracker[_0x59b862(472)](e)}getLastDeeplink(){return storageManager[_0x59b862(467)]}[_0x59b862(457)](){const e=_0x59b862;var t;return(null===(t=storageManager[e(460)])||void 0===t?void 0:t[e(445)])||null}}const _0x27b8eb=_0x4bff;function _0x32f4(){const e=["1917874QliUQw","AUD","RUB","CNY","45vehADf","887681gElcvn","TRY","2405085QUbWWL","EHT","SGD","20NQTVQg","EUR","ZAR","60kPtuUD","169060goUGHH","CAD","32306692BRzMGz","INR","KRW","HKD","GBP","NZD","SEK","10BArsaW","672329OUwJXm","1490024aLavkd","IQD","IRR","BTC","CHF"];return(_0x32f4=function(){return e})()}function _0x4bff(e,t){const r=_0x32f4();return(_0x4bff=function(e,t){return r[e-=297]})(e,t)}!function(){const e=_0x4bff,t=_0x32f4();for(;;)try{if(486924===-parseInt(e(318))/1+-parseInt(e(313))/2+-parseInt(e(320))/3+parseInt(e(297))/4*(parseInt(e(323))/5)+-parseInt(e(326))/6*(-parseInt(e(307))/7)+parseInt(e(308))/8*(-parseInt(e(317))/9)+-parseInt(e(306))/10*(-parseInt(e(299))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:"USD",EUR:_0x27b8eb(324),JPY:"JPY",GBP:_0x27b8eb(303),AUD:_0x27b8eb(314),CAD:_0x27b8eb(298),CHF:_0x27b8eb(312),CNY:_0x27b8eb(316),SEK:_0x27b8eb(305),NZD:_0x27b8eb(304),MXN:"MXN",SGD:_0x27b8eb(322),HKD:_0x27b8eb(302),NOK:"NOK",KRW:_0x27b8eb(301),TRY:_0x27b8eb(319),RUB:_0x27b8eb(315),INR:_0x27b8eb(300),BRL:"BRL",ZAR:_0x27b8eb(325),IRR:_0x27b8eb(310),AED:"AED",IQD:_0x27b8eb(309),SAR:"SAR",OMR:"OMR",BTC:_0x27b8eb(311),EHT:_0x27b8eb(321),LTC:"LTC"};function _0x5b49(e,t){const r=_0x57b3();return(_0x5b49=function(e,t){return r[e-=490]})(e,t)}const _0x1a9b18=_0x5b49;function _0x57b3(){const e=["SCRIPT_INJECTION_PATTERNS","Key length must not exceed ","5099034adIJBq","10ynvAVV",'" is not valid. Please use different characters','value "',"10pSICLV"," characters","test","261477iwvdnb","5213010PLkWbx","79251cblooe","no_parameters",'key "',"7cWmjMY","DANGEROUS_CHARS","containsDangerousChars","includes","MAX_LENGTH","validateKey","name","some","SQL_INJECTION_PATTERNS","366772rLJeNy","3327456xCWclI","Key must be a non-empty string","isMaliciousContent","2680616gDURRi","containsSQLInjection","length","validateValue","176NADjdE","Value cannot be null or undefined","FORBIDDEN_KEY","string","WTEventValidationError"];return(_0x57b3=function(){return e})()}!function(){const e=_0x5b49,t=_0x57b3();for(;;)try{if(996246===-parseInt(e(494))/1+parseInt(e(495))/2+parseInt(e(518))/3*(-parseInt(e(502))/4)+parseInt(e(513))/5*(parseInt(e(509))/6)+parseInt(e(521))/7*(-parseInt(e(498))/8)+parseInt(e(516))/9*(-parseInt(e(510))/10)+-parseInt(e(517))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x5b49;super(e),this[t(491)]=t(506)}}class WTEventValidator{static[_0x1a9b18(499)](e){const t=_0x1a9b18;return this[t(493)][t(492)](r=>r[t(515)](e))}static containsScriptInjection(e){const t=_0x1a9b18;return this.SCRIPT_INJECTION_PATTERNS[t(492)](r=>r[t(515)](e))}static[_0x1a9b18(523)](e){const t=_0x1a9b18;return this[t(522)][t(492)](r=>e[t(524)](r))}static isMaliciousContent(e){const t=_0x1a9b18;if(this[t(499)](e))return!0;if(this.containsScriptInjection(e))return!0;if(this[t(523)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(497)](r))return!0}catch(e){}return!1}static[_0x1a9b18(490)](e){const t=_0x1a9b18;if(!e||typeof e!==t(505))throw new WTEventValidationError(t(496));if(e[t(500)]>this[t(525)])throw new WTEventValidationError(t(508)+this[t(525)]+" characters");if(e===this[t(504)])throw new WTEventValidationError("Key cannot be '"+this.FORBIDDEN_KEY+"'");if(this[t(497)](e))throw new WTEventValidationError(t(520)+e+t(511))}static[_0x1a9b18(501)](e){const t=_0x1a9b18;if(null==e)throw new WTEventValidationError(t(503));const r=String(e);if(r[t(500)]>this[t(525)])throw new WTEventValidationError("Value length must not exceed "+this.MAX_LENGTH+t(514));if(this[t(497)](r))throw new WTEventValidationError(t(512)+e+t(511))}}WTEventValidator.MAX_LENGTH=50,WTEventValidator[_0x1a9b18(504)]=_0x1a9b18(519),WTEventValidator.SQL_INJECTION_PATTERNS=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator[_0x1a9b18(507)]=[/<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[_0x1a9b18(522)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x15282c=_0x2c5a;function _0x2c5a(e,t){const r=_0x4ffd();return(_0x2c5a=function(e,t){return r[e-=317]})(e,t)}function _0x4ffd(){const e=["entries","1212rPiwPR","params","21918132sOqFjj","694xTvCIj","1405FuCItg",'WTEvent validation failed for key "',"warn","type","4291609fywHvR",'": ',"message","6564lRGKdW","validateKey","defaultEvent","name","revenueEvent","3330990ipPXWr","currency","1448364ZORqfM","4527000XYZNXc","validateAndSetParams","revenue"];return(_0x4ffd=function(){return e})()}!function(){const e=_0x2c5a,t=_0x4ffd();for(;;)try{if(468498===parseInt(e(322))/1*(-parseInt(e(319))/2)+-parseInt(e(337))/3+parseInt(e(330))/4*(-parseInt(e(323))/5)+-parseInt(e(335))/6+-parseInt(e(327))/7+parseInt(e(338))/8+parseInt(e(321))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,i,n){const s=_0x2c5a;this[s(326)]=e,this[s(333)]=t,this.amount=r,this[s(336)]=i,this[s(320)]={},n&&this[s(339)](n)}static[_0x15282c(332)](e,t){return new WTEvent("default",e,void 0,void 0,t)}static[_0x15282c(334)](e,t,r,i){return new WTEvent(_0x15282c(317),e,t,r,i)}[_0x15282c(339)](e){const t=_0x15282c;for(const[r,i]of Object[t(318)](e))try{WTEventValidator[t(331)](r),WTEventValidator.validateValue(i),this[t(320)][r]=i}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(325)](t(324)+r+t(328)+e[t(329)]),e;throw e}}}function _0x1400(){var e=["129eaqmEg","17728MuKdrg","5wSvqwu","2107208tLLvBS","52611yYEnPH","720212dzWMbB","10818720ezlLBU","1492050AnWXdx","1027362sckZaD"];return(_0x1400=function(){return e})()}function _0x5756(e,t){var r=_0x1400();return(_0x5756=function(e,t){return r[e-=477]})(e,t)}!function(){for(var e=_0x5756,t=_0x1400();;)try{if(572510===parseInt(e(479))/1+parseInt(e(485))/2*(-parseInt(e(484))/3)+-parseInt(e(480))/4*(parseInt(e(477))/5)+-parseInt(e(483))/6+-parseInt(e(482))/7+parseInt(e(478))/8+parseInt(e(481))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
1
+ "use strict";const _0x433a63=_0x1040;function _0x56c0(){const e=["1800","3INtHma","1151760mLYerA","wt_click_id","1772542baElGr","300","973606lzykDj","20uTyYUA","21TrsTGj","13434490eQcITW","production","info","9654228IXpAsX","14425uwEHiW","21600","7757600wVuvAq"];return(_0x56c0=function(){return e})()}function _0x1040(e,t){const r=_0x56c0();return(_0x1040=function(e,t){return r[e-=275]})(e,t)}!function(){const e=_0x1040,t=_0x56c0();for(;;)try{if(599479===parseInt(e(281))/1+-parseInt(e(279))/2*(-parseInt(e(276))/3)+-parseInt(e(282))/4*(-parseInt(e(288))/5)+-parseInt(e(277))/6*(parseInt(e(283))/7)+-parseInt(e(290))/8+-parseInt(e(287))/9+parseInt(e(284))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:"web",VERSION:"2.1.3"},CONFIG:{DEFAULT_ENVIRONMENT:_0x433a63(285)},DEFAULTS:{LOG_LEVEL:_0x433a63(286),SESSION_INTERVAL:_0x433a63(275),SUBSESSION_INTERVAL:_0x433a63(280),HEARTBEAT_INTERVAL:_0x433a63(289),PARAMETERS_VALUE:void 0},WT_DEEPLINK_PARAM:_0x433a63(278)},_0x47f891=_0x1868;function _0x1868(e,t){const r=_0x432e();return(_0x1868=function(e,t){return r[e-=216]})(e,t)}function _0x432e(){const e=["2599642pdGVQY","addOutputEngine","4vkfWLH","24246898idnwTk","level","7LimJSB","10712238zABgXI","LOG_LEVEL","toUpperCase","log","outputEngines","1438820LXRiDV","warn","indexOf","setPrefix","none","prefix","debug","22MIBuSR","error","info","DEFAULTS","1PIIPVE","2986575wPpAzO","push","5JymgOy","24EJGgUg","shouldLog","2335248Pctukq","setLevel","11766411qanNhA"];return(_0x432e=function(){return e})()}!function(){const e=_0x1868,t=_0x432e();for(;;)try{if(912914===parseInt(e(243))/1*(-parseInt(e(221))/2)+-parseInt(e(244))/3*(-parseInt(e(223))/4)+parseInt(e(246))/5*(-parseInt(e(227))/6)+-parseInt(e(226))/7*(-parseInt(e(218))/8)+-parseInt(e(220))/9+-parseInt(e(232))/10*(-parseInt(e(239))/11)+-parseInt(e(216))/12*(-parseInt(e(224))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTLogLevel={DEBUG:_0x47f891(238),INFO:"info",WARN:_0x47f891(233),ERROR:"error",NONE:_0x47f891(236)};class WTLogger{static[_0x47f891(219)](e){this[_0x47f891(225)]=e}static[_0x47f891(235)](e){this.prefix=e}static[_0x47f891(222)](e){const t=_0x47f891;this[t(231)][t(245)](e)}static shouldLog(e){const t=_0x47f891,r=[t(238),t(241),t(233),t(240)],n=r[t(234)](this[t(225)]);return r[t(234)](e)>=n}static log(e,...t){const r=_0x47f891;if(!this[r(217)](e))return;const n="["+this[r(237)]+"-"+e[r(229)]()+"]";for(const i of this[r(231)])i(e,n,t)}static[_0x47f891(238)](...e){const t=_0x47f891;this[t(230)](t(238),...e)}static[_0x47f891(241)](...e){const t=_0x47f891;this.log(t(241),...e)}static[_0x47f891(233)](...e){const t=_0x47f891;this[t(230)](t(233),...e)}static error(...e){const t=_0x47f891;this[t(230)](t(240),...e)}}function _0x1888(){var e=["config","initialDate","SDK_ENABLED","16HsqVlT","WT.ActiveDuration","WT.AuthToken","deferredData","WT.WTId","true","parse","initialConfig","1124073GYrywZ","removeItem","INACTIVE_TIME","WT.DeviceId","unmatchedDeeplinks","DEFERRED_LINK_HANDLED","requestRecords","SDK_CLICK_SUBMIT","optionalBool","toString","pendingRequestRecords","UNMATCHED_DEEPLINKS","lastSessionStart","appDeeplink","WT.InactiveTime","lastActiveTime","WT.InitialConfigs","LAST_SESSION_START","WT.SdkClickSubmit","2myJJsF","INACTIVE_DURATION","INITIAL_DATE","WT.UnmatchedDeepLinks","optionalNumber","343075omTdbf","WT.PushToken","WT.InitialDate","PUSH_TOKEN","INITIAL_CONFIG","VERSION","sdkEnabled","error","activeDuration","Error in encoding object for key '","WT.FirstSessionSubmit","WT.LastSessionStart","Error in JSON decoding for key '","WT.IsDeferredLinkHandled","FIRST_SESSION_SUBMIT","CONFIG","sdkEnvironment","inactiveTime","setItem","WT.EventCount","PENDING_REQUEST_QUEUE","WT.NextCSId","99pbPPEV","WT.Configs","REQUEST_QUEUE","WT.AppDeeplink","': ","pushToken","3077552gHpXBh","8918Cjgzai","WT.SubSessionCount","APP_DEEPLINK","WT.SdkVersion","setJson","stringify","WISETRACK_ID","APP_START_TIME","AUTH_TOKEN","WT.InactiveDuration","authToken","FCM_TOKEN","subSessionCount","WT.FcmToken","DEVICE_ID","sdkClickSubmit","DEFERRED_DATA","clientSessionId","SDK_ENVIRONMENT","getItem","6811150DHSBiT","NEXT_CLIENT_SESSION_ID","CLIENT_SESSION_ID","deviceId","1038XuVvgA","WT.DeferredData","getJson","WT.RequestQueue","WT.SdkEnvironment","LAST_ACTIVE_TIME","sessionCount","SUBSESSION_COUNT","SDK_VERSION","WT.AppStartTime","deferredLinkHandled","fcmToken","sdkVersion","ACTIVE_DURATION","appStartTime","firstSessionSubmit","clear","3737733bzgPQK","nextClientSessionId","2609180ZoXbRa"];return(_0x1888=function(){return e})()}function _0x5aa2(e,t){var r=_0x1888();return(_0x5aa2=function(e,t){return r[e-=337]})(e,t)}WTLogger[_0x47f891(225)]=WTConstants[_0x47f891(242)][_0x47f891(228)],WTLogger[_0x47f891(237)]="WT",WTLogger.outputEngines=[(e,t,r)=>{const n=_0x1868;switch(e){case n(238):console.debug(t,...r);break;case n(241):console[n(241)](t,...r);break;case n(233):console.warn(t,...r);break;case n(240):console[n(240)](t,...r);break;default:console[n(230)](t,...r)}}];var _0x17fbc9=_0x5aa2;!function(){for(var e=_0x5aa2,t=_0x1888();;)try{if(902146===parseInt(e(357))/1+parseInt(e(352))/2*(parseInt(e(427))/3)+parseInt(e(385))/4+parseInt(e(406))/5+parseInt(e(410))/6*(-parseInt(e(386))/7)+parseInt(e(433))/8*(-parseInt(e(441))/9)+-parseInt(e(429))/10*(parseInt(e(379))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x17fbc9(444),INITIAL_DATE:_0x17fbc9(359),INITIAL_CONFIG:_0x17fbc9(349),SDK_ENVIRONMENT:_0x17fbc9(414),SDK_VERSION:_0x17fbc9(389),CONFIG:_0x17fbc9(380),SDK_CLICK_SUBMIT:_0x17fbc9(351),FIRST_SESSION_SUBMIT:_0x17fbc9(367),SDK_ENABLED:"WT.SdkEnabled",FCM_TOKEN:_0x17fbc9(399),PUSH_TOKEN:_0x17fbc9(358),EVENT_COUNT:_0x17fbc9(376),SESSION_COUNT:"WT.SessionCount",SUBSESSION_COUNT:_0x17fbc9(387),APP_START_TIME:_0x17fbc9(419),LAST_ACTIVE_TIME:"WT.LastActiveTime",ACTIVE_DURATION:_0x17fbc9(434),INACTIVE_TIME:_0x17fbc9(347),INACTIVE_DURATION:_0x17fbc9(395),REQUEST_QUEUE:_0x17fbc9(413),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue",WISETRACK_ID:_0x17fbc9(437),CLIENT_SESSION_ID:"WT.CSId",NEXT_CLIENT_SESSION_ID:_0x17fbc9(378),LAST_SESSION_START:_0x17fbc9(368),AUTH_TOKEN:_0x17fbc9(435),DEFERRED_DATA:_0x17fbc9(411),APP_DEEPLINK:_0x17fbc9(382),DEFERRED_LINK_HANDLED:_0x17fbc9(370),UNMATCHED_DEEPLINKS:_0x17fbc9(355)};class StorageManager{[_0x17fbc9(426)](){localStorage.clear()}[_0x17fbc9(390)](e,t){var r=_0x17fbc9;if(t)try{const n=JSON[r(391)](t);localStorage[r(375)](e,n)}catch(t){WTLogger[r(364)](r(366)+e+"'",t)}else localStorage.removeItem(e)}[_0x17fbc9(412)](e){var t=_0x17fbc9;const r=localStorage[t(405)](e);if(!r)return null;try{return JSON[t(439)](r)}catch(r){return WTLogger[t(364)](t(369)+e+t(383)+r,r),null}}[_0x17fbc9(356)](e){const t=localStorage[_0x17fbc9(405)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x17fbc9(341)](e){var t=_0x17fbc9;const r=localStorage[t(405)](e);return null===r?null:r===t(438)||"false"!==r&&null}get[_0x17fbc9(409)](){return localStorage.getItem(WTStorageKeys.DEVICE_ID)}set[_0x17fbc9(409)](e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys.DEVICE_ID,e):localStorage.removeItem(WTStorageKeys[t(400)])}get[_0x17fbc9(431)](){var e=_0x17fbc9;return this[e(412)](WTStorageKeys[e(354)])}set[_0x17fbc9(431)](e){var t=_0x17fbc9;this[t(390)](WTStorageKeys[t(354)],e)}get[_0x17fbc9(440)](){var e=_0x17fbc9;return this[e(412)](WTStorageKeys[e(361)])}set[_0x17fbc9(440)](e){var t=_0x17fbc9;this[t(390)](WTStorageKeys[t(361)],e)}get[_0x17fbc9(430)](){var e=_0x17fbc9;return this.getJson(WTStorageKeys[e(372)])}set[_0x17fbc9(430)](e){this.setJson(WTStorageKeys.CONFIG,e)}get[_0x17fbc9(363)](){var e,t=_0x17fbc9;return null!==(e=this[t(341)](WTStorageKeys[t(432)]))&&void 0!==e&&e}set[_0x17fbc9(363)](e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(432)],e[t(342)]())}get[_0x17fbc9(401)](){var e,t=_0x17fbc9;return null!==(e=this.optionalBool(WTStorageKeys[t(340)]))&&void 0!==e&&e}set[_0x17fbc9(401)](e){var t=_0x17fbc9;localStorage.setItem(WTStorageKeys[t(340)],e[t(342)]())}get[_0x17fbc9(425)](){var e;return null!==(e=this[_0x17fbc9(341)](WTStorageKeys.FIRST_SESSION_SUBMIT))&&void 0!==e&&e}set[_0x17fbc9(425)](e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(371)],e[t(342)]())}get[_0x17fbc9(421)](){return localStorage[_0x17fbc9(405)](WTStorageKeys.FCM_TOKEN)}set fcmToken(e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys.FCM_TOKEN,e):localStorage[t(442)](WTStorageKeys[t(397)])}get[_0x17fbc9(384)](){var e=_0x17fbc9;return localStorage[e(405)](WTStorageKeys[e(360)])}set[_0x17fbc9(384)](e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys.PUSH_TOKEN,e):localStorage.removeItem(WTStorageKeys[t(360)])}get sessionCount(){var e;return null!==(e=this[_0x17fbc9(356)](WTStorageKeys.SESSION_COUNT))&&void 0!==e?e:1}set[_0x17fbc9(416)](e){var t=_0x17fbc9;localStorage.setItem(WTStorageKeys.SESSION_COUNT,e[t(342)]())}get subSessionCount(){var e,t=_0x17fbc9;return null!==(e=this[t(356)](WTStorageKeys[t(417)]))&&void 0!==e?e:1}set[_0x17fbc9(398)](e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(417)],e.toString())}get[_0x17fbc9(365)](){var e,t=_0x17fbc9;return null!==(e=this[t(356)](WTStorageKeys[t(423)]))&&void 0!==e?e:0}set activeDuration(e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(423)],e[t(342)]())}get inactiveDuration(){var e,t=_0x17fbc9;return null!==(e=this.optionalNumber(WTStorageKeys[t(353)]))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(353)],e.toString())}get[_0x17fbc9(374)](){var e=_0x17fbc9;return this[e(356)](WTStorageKeys[e(443)])}set[_0x17fbc9(374)](e){var t=_0x17fbc9;null!==e?localStorage[t(375)](WTStorageKeys[t(443)],e[t(342)]()):localStorage[t(442)](WTStorageKeys[t(443)])}get[_0x17fbc9(348)](){var e=_0x17fbc9;return this.optionalNumber(WTStorageKeys[e(415)])}set[_0x17fbc9(348)](e){var t=_0x17fbc9;null!==e?localStorage[t(375)](WTStorageKeys.LAST_ACTIVE_TIME,e.toString()):localStorage[t(442)](WTStorageKeys[t(415)])}get[_0x17fbc9(339)](){var e,t=_0x17fbc9;return null!==(e=this[t(412)](WTStorageKeys[t(381)]))&&void 0!==e?e:[]}set[_0x17fbc9(339)](e){this[_0x17fbc9(390)](WTStorageKeys.REQUEST_QUEUE,e)}get[_0x17fbc9(343)](){var e,t=_0x17fbc9;return null!==(e=this[t(412)](WTStorageKeys[t(377)]))&&void 0!==e?e:[]}set[_0x17fbc9(343)](e){var t=_0x17fbc9;this[t(390)](WTStorageKeys[t(377)],e)}get eventCount(){var e;return null!==(e=this[_0x17fbc9(356)](WTStorageKeys.EVENT_COUNT))&&void 0!==e?e:0}set eventCount(e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys.EVENT_COUNT,e[t(342)]())}get[_0x17fbc9(373)](){return localStorage.getItem(WTStorageKeys.SDK_ENVIRONMENT)}set sdkEnvironment(e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys[t(404)],e)}get[_0x17fbc9(422)](){var e,t=_0x17fbc9;return null!==(e=localStorage[t(405)](WTStorageKeys[t(418)]))&&void 0!==e?e:WTConstants.SDK[t(362)]}set[_0x17fbc9(422)](e){var t=_0x17fbc9;e?localStorage.setItem(WTStorageKeys.SDK_VERSION,e):localStorage[t(442)](WTStorageKeys.SDK_VERSION)}get[_0x17fbc9(403)](){return localStorage[_0x17fbc9(405)](WTStorageKeys.CLIENT_SESSION_ID)}set clientSessionId(e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys[t(408)],e):localStorage[t(442)](WTStorageKeys[t(408)])}get[_0x17fbc9(424)](){var e=_0x17fbc9;return this[e(356)](WTStorageKeys[e(393)])}set[_0x17fbc9(424)](e){var t=_0x17fbc9;null!==e?localStorage.setItem(WTStorageKeys.APP_START_TIME,e[t(342)]()):localStorage[t(442)](WTStorageKeys[t(393)])}get[_0x17fbc9(420)](){var e,t=_0x17fbc9;return null!==(e=this[t(341)](WTStorageKeys[t(338)]))&&void 0!==e&&e}set[_0x17fbc9(420)](e){var t=_0x17fbc9;localStorage[t(375)](WTStorageKeys.DEFERRED_LINK_HANDLED,e[t(342)]())}get[_0x17fbc9(337)](){var e,t=_0x17fbc9;return null!==(e=this[t(412)](WTStorageKeys[t(344)]))&&void 0!==e?e:[]}set[_0x17fbc9(337)](e){var t=_0x17fbc9;this[t(390)](WTStorageKeys[t(344)],e)}get[_0x17fbc9(436)](){var e=_0x17fbc9;return this.getJson(WTStorageKeys[e(402)])}set[_0x17fbc9(436)](e){var t=_0x17fbc9;this.setJson(WTStorageKeys[t(402)],e)}get[_0x17fbc9(346)](){return localStorage[_0x17fbc9(405)](WTStorageKeys.APP_DEEPLINK)}set[_0x17fbc9(346)](e){var t=_0x17fbc9;e?localStorage.setItem(WTStorageKeys[t(388)],e):localStorage[t(442)](WTStorageKeys[t(388)])}get wiseId(){var e=_0x17fbc9;return localStorage.getItem(WTStorageKeys[e(392)])}set wiseId(e){var t=_0x17fbc9;e?localStorage.setItem(WTStorageKeys[t(392)],e):localStorage[t(442)](WTStorageKeys[t(392)])}get[_0x17fbc9(428)](){var e=_0x17fbc9;return localStorage[e(405)](WTStorageKeys[e(407)])}set[_0x17fbc9(428)](e){var t=_0x17fbc9;e?localStorage.setItem(WTStorageKeys[t(407)],e):localStorage[t(442)](WTStorageKeys[t(407)])}get[_0x17fbc9(345)](){return localStorage[_0x17fbc9(405)](WTStorageKeys.LAST_SESSION_START)}set[_0x17fbc9(345)](e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys[t(350)],e):localStorage.removeItem(WTStorageKeys[t(350)])}get[_0x17fbc9(396)](){var e=_0x17fbc9;return localStorage[e(405)](WTStorageKeys[e(394)])}set[_0x17fbc9(396)](e){var t=_0x17fbc9;e?localStorage[t(375)](WTStorageKeys[t(394)],e):localStorage[t(442)](WTStorageKeys[t(394)])}}const storageManager=new StorageManager,_0xda56c6=_0x23da;!function(){const e=_0x23da,t=_0x45fe();for(;;)try{if(658284===parseInt(e(480))/1+parseInt(e(476))/2+-parseInt(e(458))/3*(parseInt(e(473))/4)+-parseInt(e(448))/5*(parseInt(e(453))/6)+-parseInt(e(482))/7*(-parseInt(e(461))/8)+-parseInt(e(469))/9*(parseInt(e(456))/10)+parseInt(e(451))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0xda56c6(460)](e){const t=_0xda56c6;try{const r=atob(e);let n="";for(let e=0;e<r[t(483)];e++){const i=90^r[t(464)](e);n+=String[t(447)](i)}return n}catch(e){return console[t(463)](t(454),e),""}}static get[_0xda56c6(459)](){const e=_0xda56c6;return this.decode(e(471))}static get[_0xda56c6(485)](){const e=_0xda56c6;return this[e(460)](e(449))}static get[_0xda56c6(478)](){return this[_0xda56c6(460)]("Mi4uKmB1dT4/LHc0Py10KT4xdC0uPj8sdDMo")}static get[_0xda56c6(477)](){const e=_0xda56c6;return this[e(460)](e(452))}static get[_0xda56c6(457)](){const e=_0xda56c6;return this[e(460)](e(465))}static get NOTIFICATION_KEY(){const e=_0xda56c6;return this.decode(e(446))}static get[_0xda56c6(481)](){const e=_0xda56c6;return this[e(460)](e(466))}static get SESSIONS_PATH(){return this[_0xda56c6(460)]("dTsqM3Usa3UpPykpMzU0KQ==")}static get[_0xda56c6(474)](){const e=_0xda56c6;return this[e(460)](e(455))}static get[_0xda56c6(450)](){const e=_0xda56c6;return this[e(460)](e(468))}static get[_0xda56c6(462)](){const e=_0xda56c6;return this.decode(e(484))}static get[_0xda56c6(472)](){const e=_0xda56c6;return this[e(460)](e(470))}static get DEFERRED_LOOKUPS_PATH(){return this[_0xda56c6(460)]("dTsqM3Usa3U+Pzw/KCg/PgU2NTUxLyop")}static get[_0xda56c6(479)](){const e=_0xda56c6;return this[e(460)](e(467))}static get[_0xda56c6(475)](){return this.decode("dTsqM3Usa3UyPzsoLjg/Oy4p")}}function _0x23da(e,t){const r=_0x45fe();return(_0x23da=function(e,t){return r[e-=446]})(e,t)}function _0x45fe(){const e=["4314nukhWQ","Decode error:","dTsqM3Usa3UpPjEFOTYzOTEp","370fIbure","PRODUCTION_BASE_URL","2019LKSTPq","CONFIG_PATH","decode","1351592bgEmAx","ATTRIBUTIONS_PATH","error","charCodeAt","Mi4uKilgdXUpPjF0LTMpPy4oOzkxdDM1","dTsqM3Usa3U/LD80Lik=","dTsqM3Usa3U7Ly4y","dTsqM3Usa3UqLykyBS41MT80KQ==","267831gSzxrR","dTsqM3Usa3U5NjM5MQU3Oy45Mj8p","dTsqM3Usa3U5NTQ8Mz0=","CLICK_MATCHES_PATH","908bFZaLg","SDK_CLICKS_PATH","HEARTBEATS_PATH","2382300tLdiRr","STAGE_BASE_URL","DEBUG_BASE_URL","AUTH_PATH","213908buTKUD","EVENTS_PATH","35SULLRB","length","dTsqM3Usa3U7Li4oMzgvLjM1NCk=","LOCAL_BASE_URL","LTMpPy4oOzkxBTI/OyguOD87LgU0NS4zPDM5Oy4zNTQ=","fromCharCode","5315cdvYAE","Mi4uKmB1dWtjaHRrbGJ0a2pqdGhubGBiamJq","PUSH_TOKENS_PATH","4692952DWXfVz","Mi4uKilgdXUpLjs9P3QpPjF0LS4+Pyx0Myg="];return(_0x45fe=function(){return e})()}const _0x17dcf7=_0x788c;function _0x19ca(){const e=["production","STAGE_BASE_URL","DEBUG_BASE_URL","DEBUG","168708hrFyID","29734IKrCiI","STAGE","671hsVwAb","debug","PRODUCTION","10SyjUXd","sdkEnvironment","13540QJMMRo","280371rzlCxV","CONFIG","stage","1KATzYQ","282836sunBCg","2687310VwhDey","sandbox","LOCAL","PRODUCTION_BASE_URL","126416HPwLOO","175IipzAa","261VxEBwL"];return(_0x19ca=function(){return e})()}function _0x788c(e,t){const r=_0x19ca();return(_0x788c=function(e,t){return r[e-=379]})(e,t)}!function(){const e=_0x788c,t=_0x19ca();for(;;)try{if(225140===-parseInt(e(388))/1*(-parseInt(e(402))/2)+parseInt(e(385))/3+-parseInt(e(389))/4*(-parseInt(e(382))/5)+-parseInt(e(390))/6+parseInt(e(395))/7*(-parseInt(e(394))/8)+parseInt(e(396))/9*(-parseInt(e(384))/10)+parseInt(e(379))/11*(parseInt(e(401))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x17dcf7(391),PRODUCTION:_0x17dcf7(397)},WTSDKEnvironment={LOCAL:"local",DEBUG:_0x17dcf7(380),STAGE:_0x17dcf7(387),PRODUCTION:"production"},EnvironmentUtils={get sdkEnvironment(){const e=_0x17dcf7;var t;return null!==(t=storageManager.sdkEnvironment)&&void 0!==t?t:WTConstants[e(386)].DEFAULT_ENVIRONMENT},get baseUrl(){const e=_0x17dcf7;switch(this[e(383)]){case WTSDKEnvironment[e(392)]:return SecureConfig.LOCAL_BASE_URL;case WTSDKEnvironment[e(400)]:return SecureConfig[e(399)];case WTSDKEnvironment[e(403)]:return SecureConfig[e(398)];case WTSDKEnvironment[e(381)]:return SecureConfig[e(393)];default:throw new Error("Unknown environment: "+this.sdkEnvironment)}}};function _0x413c(e,t){var r=_0x2081();return(_0x413c=function(e,t){return r[e-=344]})(e,t)}var _0x1e3f08=_0x413c;function _0x2081(){var e=["2622513UFdrYT","25455070AyWRsw","4LvBBSj","8705718dacgeJ","sdkVersion","5842205smhxot","761894MYiwgk","3151084CoUqgB","9dfasaq","12316008wmEyXz","sdkEnvironment","1yqMPrB"];return(_0x2081=function(){return e})()}!function(){for(var e=_0x413c,t=_0x2081();;)try{if(873085===-parseInt(e(355))/1*(parseInt(e(351))/2)+parseInt(e(344))/3+-parseInt(e(346))/4*(parseInt(e(349))/5)+-parseInt(e(347))/6+parseInt(e(350))/7+parseInt(e(353))/8*(parseInt(e(352))/9)+parseInt(e(345))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ResourceWrapper{static[_0x1e3f08(354)](e){try{storageManager.sdkEnvironment=e}catch(e){}}static[_0x1e3f08(348)](e){var t=_0x1e3f08;try{storageManager[t(348)]=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 _0x4e2471=_0x36de;function _0x36de(e,t){const r=_0x2778();return(_0x36de=function(e,t){return r[e-=150]})(e,t)}function _0x2778(){const e=["4736skxtgp","AUTH_PATH","90fYYTLK","40TqcoHK","93474zslAXO","CLICK_MATCHES_PATH","ATTRIBUTIONS_PATH","371wgIJbU","5560824TXFulb","PUSH_TOKENS_PATH","HEARTBEATS_PATH","11eSUffr","660140jwAnJZ","20406sahTav","87194fuLEOK","3mintlX","1234510qQiofN"];return(_0x2778=function(){return e})()}!function(){const e=_0x36de,t=_0x2778();for(;;)try{if(159039===parseInt(e(166))/1*(-parseInt(e(165))/2)+-parseInt(e(155))/3*(-parseInt(e(154))/4)+parseInt(e(163))/5+parseInt(e(164))/6*(parseInt(e(158))/7)+parseInt(e(151))/8*(parseInt(e(153))/9)+-parseInt(e(150))/10*(-parseInt(e(162))/11)+-parseInt(e(159))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:SecureConfig.EVENTS_PATH,SESSIONS:SecureConfig.SESSIONS_PATH,SDK_CLICKS:SecureConfig.SDK_CLICKS_PATH,PUSH_TOKENS:SecureConfig[_0x4e2471(160)],ATTRIBUTIONS:SecureConfig[_0x4e2471(157)],CLICK_MATCHES:SecureConfig[_0x4e2471(156)],DEFERRED_LOOKUPS:SecureConfig.DEFERRED_LOOKUPS_PATH,HEARTBEATS:SecureConfig[_0x4e2471(161)],AUTH:SecureConfig[_0x4e2471(152)]};var _0x3855b4=_0x99d5;function _0x99d5(e,t){var r=_0x1d7b();return(_0x99d5=function(e,t){return r[e-=152]})(e,t)}!function(){for(var e=_0x99d5,t=_0x1d7b();;)try{if(245849===-parseInt(e(165))/1+-parseInt(e(166))/2*(parseInt(e(154))/3)+-parseInt(e(171))/4+parseInt(e(172))/5*(-parseInt(e(152))/6)+-parseInt(e(160))/7*(parseInt(e(161))/8)+-parseInt(e(173))/9+parseInt(e(167))/10*(parseInt(e(163))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigEndpoints{constructor(e,t,r,n,i,s,a,o,c){var u=_0x99d5;this.events=e,this[u(168)]=t,this[u(156)]=r,this.pushTokens=n,this[u(176)]=i,this[u(175)]=s,this[u(178)]=a,this[u(158)]=o,this.auth=c}static[_0x3855b4(157)](e){var t=_0x3855b4;return new this(e[t(177)],e[t(168)],e[t(162)],e[t(159)],e[t(176)],e[t(170)],e.deferred_lookups,e[t(158)],e[t(153)])}static get defaultValue(){var e=_0x3855b4;return new this(WTEndpoints[e(155)],WTEndpoints.SESSIONS,WTEndpoints[e(174)],WTEndpoints[e(179)],WTEndpoints[e(180)],WTEndpoints.CLICK_MATCHES,WTEndpoints[e(169)],WTEndpoints.HEARTBEATS,WTEndpoints[e(164)])}}function _0x1d7b(){var e=["click_matches","1264808oVqNRY","5hjEXPs","1212363lGGUjo","SDK_CLICKS","clickMatches","attributions","events","deferredLookups","PUSH_TOKENS","ATTRIBUTIONS","255258rCAzzr","auth","21uMKrCd","EVENTS","sdkClicks","fromJson","heartbeats","push_tokens","7DyZKgB","2155128CMiSLD","sdk_clicks","308eNDWjd","AUTH","375005BYkRDM","135898RxrXHl","664050GWXDTg","sessions","DEFERRED_LOOKUPS"];return(_0x1d7b=function(){return e})()}var _0x463c20=_0x3340;function _0x275b(){var e=["551177nEGoTe","1870197gISkTV","4VSvLRg","DEFAULTS","6SxPWCi","defaultValue","heartbeatInterval","SUBSESSION_INTERVAL","sdkEnabled","1447737LuVRDC","70YEBPrK","subsession_interval","5uAgBSh","sdk_update","253214juQdyF","fromJson","endpoints","heartbeat_interval","SESSION_INTERVAL","7695HinWcv","sessionInterval","1946904jUEkGf","sdkUpdate","1212056bkntBt","HEARTBEAT_INTERVAL","session_interval"];return(_0x275b=function(){return e})()}function _0x3340(e,t){var r=_0x275b();return(_0x3340=function(e,t){return r[e-=237]})(e,t)}!function(){for(var e=_0x3340,t=_0x275b();;)try{if(258933===-parseInt(e(258))/1*(-parseInt(e(244))/2)+-parseInt(e(239))/3+parseInt(e(253))/4*(parseInt(e(242))/5)+-parseInt(e(260))/6*(parseInt(e(257))/7)+parseInt(e(251))/8+-parseInt(e(249))/9*(-parseInt(e(240))/10)+-parseInt(e(256))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t=!0,r=!1,n=WTConstants[_0x463c20(259)][_0x463c20(248)],i=WTConstants[_0x463c20(259)][_0x463c20(237)],s=WTConstants[_0x463c20(259)][_0x463c20(254)]){var a=_0x463c20;this.endpoints=e,this[a(238)]=t,this[a(252)]=r,this[a(250)]=n,this.subsessionInterval=i,this[a(262)]=s}static[_0x463c20(245)](e){var t,r,n,i,s,a=_0x463c20;return new this(e[a(246)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[a(243)])&&void 0!==r&&r,null!==(n=e[a(255)])&&void 0!==n?n:WTConstants[a(259)].SESSION_INTERVAL,null!==(i=e[a(241)])&&void 0!==i?i:WTConstants[a(259)][a(237)],null!==(s=e[a(247)])&&void 0!==s?s:WTConstants[a(259)][a(254)])}static get[_0x463c20(261)](){var e=_0x463c20;return new this(WTConfigEndpoints[e(261)],!0,!1,WTConstants[e(259)][e(248)],WTConstants[e(259)].SUBSESSION_INTERVAL,WTConstants[e(259)][e(254)])}}var _0x1d751e=_0x1c48;function _0x2c34(){var e=["1315276ffyguH","16HCoacx","onStartHandler","apply","debug","DeepLink Received => ","WT_DEEPLINK_PARAM","checkForDeepLink","blur","isDeferred","visible","hasFocus","ActivityTicker: active duration= ","popstate","focus","visibilitychange","hashchange","activeDuration","pauseTicking","3812922oZdxJf","hashchangeHandler","visibilityListener","bind","appDeeplink"," (isDeferred: ","10CiGADP","log","stopTicking","removeEventListener","pushState","deeplinkHandler","push","68hGfwDM","href","1362354QyBunq","addEventListener","startTicking","pageHideListener","replaceState","searchParams","hidden","onClickMatchHandler","123256UycThK","tickerDelay","tickerJob","removeUrlChangeListener","originalReplaceState","3217137HOjpuy","isPaused","uri","registerListeners","12ZFmOhF","call","16129ZCZdly","pagehide","97485MIYHMv","originalPushState","unregisterListeners","visibilityState","isVisibleFocused","initialConfig","setupUrlChangeListener","now","popstateHandler","unmatchedDeeplinks","lastActiveTime"];return(_0x2c34=function(){return e})()}!function(){for(var e=_0x1c48,t=_0x2c34();;)try{if(296816===parseInt(e(382))/1*(-parseInt(e(427))/2)+parseInt(e(429))/3+-parseInt(e(395))/4+-parseInt(e(384))/5*(-parseInt(e(380))/6)+-parseInt(e(371))/7*(parseInt(e(396))/8)+parseInt(e(414))/9*(parseInt(e(420))/10)+parseInt(e(376))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class LifecycleOvserver{constructor(){var e=_0x1c48;this[e(372)]=1e3,this[e(377)]=!1,this[e(397)]=null,this.deeplinkHandler=null,this[e(370)]=null,this[e(416)]=null,this[e(432)]=null,this[e(385)]=null,this[e(375)]=null,this[e(392)]=null,this.hashchangeHandler=null}[_0x1d751e(379)](){var e=_0x1d751e;this[e(416)]=()=>__awaiter(this,void 0,void 0,function*(){var t,r=e;this[r(388)]()?(yield null===(t=this[r(397)])||void 0===t?void 0:t[r(381)](this),this.isPaused=!1):this[r(413)]()}),this.pageHideListener=()=>{this.pauseTicking()},window.addEventListener(e(383),this.pageHideListener),window[e(430)]("blur",this[e(432)]),document.addEventListener(e(410),this[e(416)]),window[e(430)](e(409),this[e(416)]),this.setupUrlChangeListener(),this[e(402)]()}[_0x1d751e(390)](){var e=_0x1d751e;this.originalPushState=history[e(424)].bind(history),this[e(375)]=history[e(433)][e(417)](history),history[e(424)]=(...t)=>{var r=e;this.originalPushState[r(398)](history,t),this[r(402)]()},history[e(433)]=(...t)=>{this[e(375)].apply(history,t),this.checkForDeepLink()},this[e(392)]=()=>this[e(402)](),this[e(415)]=()=>this[e(402)](),window[e(430)]("popstate",this[e(392)]),window.addEventListener(e(411),this.hashchangeHandler)}[_0x1d751e(374)](){var e=_0x1d751e;this[e(385)]&&(history[e(424)]=this[e(385)]),this[e(375)]&&(history[e(433)]=this[e(375)]),this[e(392)]&&window[e(423)](e(408),this[e(392)]),this[e(415)]&&window[e(423)](e(411),this[e(415)]),this.originalPushState=null,this[e(375)]=null,this[e(392)]=null,this[e(415)]=null}[_0x1d751e(386)](){var e=_0x1d751e;this[e(432)]&&(window.removeEventListener(e(383),this[e(432)]),window[e(423)](e(403),this[e(432)])),this.visibilityListener&&(document.removeEventListener(e(410),this[e(416)]),window[e(423)](e(409),this.visibilityListener)),this.removeUrlChangeListener()}[_0x1d751e(402)](){var e,t=_0x1d751e;const r=window.location[t(428)];if(new URL(r)[t(434)].get(WTConstants[t(401)])){storageManager[t(418)]=r;var n=storageManager.unmatchedDeeplinks;n[t(426)](r),storageManager[t(393)]=n,null===(e=this[t(370)])||void 0===e||e[t(381)](this,r),this.onDeeplinkReceived({uri:r,isDeferred:!1})}}onDeeplinkReceived(e){var t,r,n=_0x1d751e;WTLogger[n(399)](n(400)+e.uri+n(419)+e[n(404)]+")"),!1!==(null===(t=storageManager[n(389)])||void 0===t?void 0:t.deeplinkEnabled)&&(null===(r=this[n(425)])||void 0===r||r.call(this,e[n(378)],e[n(404)]))}[_0x1d751e(388)](){var e=_0x1d751e;return document[e(387)]===e(405)&&document[e(406)]()}[_0x1d751e(431)](){var e=_0x1d751e;this.tickerJob&&clearInterval(this.tickerJob),this[e(373)]=setInterval(()=>{var t=e;this.isPaused||document[t(369)]||document.hasFocus()&&(console[t(421)](t(407)+storageManager[t(412)]/1e3+"s, inactive duration= "+storageManager.inactiveDuration/1e3+"s"),storageManager[t(394)]=Date[t(391)](),storageManager[t(412)]+=this[t(372)])},this.tickerDelay)}[_0x1d751e(422)](){var e=_0x1d751e;clearInterval(this.tickerJob),this[e(373)]=void 0}[_0x1d751e(413)](){this[_0x1d751e(377)]=!0}resumeTicking(){this.isPaused=!1}}function _0x1c48(e,t){var r=_0x2c34();return(_0x1c48=function(e,t){return r[e-=369]})(e,t)}const lifecycleOvserver=new LifecycleOvserver;var _0x5bc420=_0x377d;function _0x377d(e,t){var r=_0x7d35();return(_0x377d=function(e,t){return r[e-=173]})(e,t)}function _0x7d35(){var e=["547057ztRrQF","45572VxMpKd","2343950fSqIES","auth_token","1188240ASrYLt","105jgqaja","6jrecuh","2tFNFts","82833BtSmWG","26024QHRgcv","authToken","fromJson","13539405VzyALe","423QOshIm"];return(_0x7d35=function(){return e})()}!function(){for(var e=_0x377d,t=_0x7d35();;)try{if(202484===parseInt(e(174))/1*(-parseInt(e(173))/2)+parseInt(e(185))/3*(-parseInt(e(181))/4)+-parseInt(e(184))/5+parseInt(e(186))/6*(parseInt(e(180))/7)+-parseInt(e(175))/8*(parseInt(e(179))/9)+-parseInt(e(182))/10+parseInt(e(178))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAuth{constructor(e,t){this[_0x377d(176)]=e,this.wiseId=t}static[_0x5bc420(177)](e){return new this(e[_0x5bc420(183)],e.wise_id)}}function _0x568f(e,t){var r=_0x3fa3();return(_0x568f=function(e,t){return r[e-=470]})(e,t)}function _0x3fa3(){var e=["1508208IOSBOy","2201996HJJKnX","deeplink","20VKVxJf","9430JUVROu","511242GZnCrs","3XqyFxP","7nzPpmP","8545856OroQkI","571101cjgkCx","879946BOjDrq","747xTOEnn"];return(_0x3fa3=function(){return e})()}!function(){for(var e=_0x568f,t=_0x3fa3();;)try{if(291302===parseInt(e(479))/1+parseInt(e(480))/2*(parseInt(e(476))/3)+-parseInt(e(471))/4+parseInt(e(473))/5*(parseInt(e(475))/6)+parseInt(e(477))/7*(parseInt(e(470))/8)+parseInt(e(481))/9*(parseInt(e(474))/10)+-parseInt(e(478))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTDeferredLookup{constructor(e){this[_0x568f(472)]=e}static fromJson(e){return new this(e[_0x568f(472)])}}const _0x992baa=_0x4ddd;function _0x376c(){const e=["Meteor","40234rJzwXA","map","__REACT_DEVTOOLS_GLOBAL_HOOK__","some","querySelectorAll","hostname","24hzzdPT","startsWith","documentElement","3487816gujiKQ","getMinutes","[data-reactroot], [data-reactid]","_reactRootContainer",'meta[name="generator"][content*="Drupal"]',"getDate","wp-content","includes","2043414cPsYbO","/_next/","abs","location","entries","915696iiFamu","Zepto.js","join","Gatsby.js","React","[x-data], [x-init], [x-bind]","formattedDate","wix.com","search","referrer","keys","Svelte","Meteor.js","detectWebFramework","Drupal","Ghost CMS","/js/app.js","utm_medium","Vue","getHours","Next.js","Wix","scripts","jQuery","Laravel","2642542wkKkJq","Angular","[data-v-app], [data-v-]","script[id=__NEXT_DATA__]","utm_",'meta[name="generator"][content*="WordPress"]',"getMonth","Vue.js","utm_source","Alpine.js","other","Zepto","drupal-settings-json","from","WordPress","cdn.shopify.com","Backbone.js",'meta[name="generator"][content*="Ghost"]',"Shopify","padStart","Squarespace","src","getSeconds","3562330aXAUfa","__reactContainer","__VUE__","querySelector","wp-includes","getFullYear","Backbone","2573553UJgomK","textContent"];return(_0x376c=function(){return e})()}!function(){const e=_0x4ddd,t=_0x376c();for(;;)try{if(588776===parseInt(e(269))/1*(parseInt(e(263))/2)+parseInt(e(260))/3+-parseInt(e(272))/4+-parseInt(e(253))/5+parseInt(e(280))/6+parseInt(e(310))/7+parseInt(e(285))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x4ddd,t=new URLSearchParams(window[e(283)][e(293)]),r={};for(const[n,i]of t[e(284)]())n[e(270)](e(314))&&i&&(r[n]=i);if(!r[e(238)]){const t=document[e(294)];r[e(238)]=t?new URL(t)[e(268)]:e(240)}return!r[e(302)]&&(r.utm_medium="organic"),Object[e(284)](r)[e(264)](([e,t])=>e+"="+encodeURIComponent(t))[e(287)]("&")}static[_0x992baa(291)](e){const t=_0x992baa,r=e[t(258)](),n=String(e[t(236)]()+1)[t(249)](2,"0"),i=String(e[t(277)]()).padStart(2,"0"),s=String(e[t(304)]()).padStart(2,"0"),a=String(e[t(273)]())[t(249)](2,"0"),o=String(e[t(252)]())[t(249)](2,"0"),c=-e.getTimezoneOffset();return r+"-"+n+"-"+i+"T"+s+":"+a+":"+o+(""+(c>=0?"+":"-")+String(Math.floor(Math[t(282)](c)/60))[t(249)](2,"0")+String(Math.abs(c)%60)[t(249)](2,"0"))}}function _0x4ddd(e,t){const r=_0x376c();return(_0x4ddd=function(e,t){return r[e-=236]})(e,t)}Utils[_0x992baa(298)]=()=>{const e=_0x992baa;return document[e(256)](e(313))||Array[e(243)](document[e(307)])[e(266)](t=>t[e(251)][e(279)](e(281)))?e(305):window[e(289)]||document[e(256)](e(274))||Array[e(243)](document[e(267)]("*"))[e(266)](t=>void 0!==t[e(275)]||Object[e(295)](t)[e(266)](t=>t[e(270)](e(254))))||window[e(265)]?e(289):Array[e(243)](document.scripts)[e(266)](t=>t[e(251)][e(279)]("/_nuxt/"))?"Nuxt.js":window[e(255)]||window[e(303)]||document[e(256)](e(312))?e(237):document.querySelector("[id=___gatsby]")?e(288):window||document.querySelector(".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||document[e(256)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(256)]("[ng-version]")?e(311):Array[e(243)](document[e(307)]).some(t=>{const r=e;var n;return t[r(251)][r(279)]("svelte")||(null===(n=t[r(261)])||void 0===n?void 0:n.includes("svelte"))})?e(296):document[e(256)](e(290))?e(239):window[e(308)]?e(308):window[e(259)]?e(246):window[e(262)]?e(297):window[e(241)]?e(286):document[e(256)](e(315))||Array[e(243)](document.scripts)[e(266)](t=>t[e(251)].includes(e(278))||t.src[e(279)](e(257)))?e(244):Array[e(243)](document[e(307)])[e(266)](t=>t[e(251)].includes(e(301))||t.src[e(279)]("mix-manifest.json"))?e(309):document[e(256)](e(276))||document[e(271)].innerHTML[e(279)](e(242))?e(299):document[e(271)].innerHTML.includes(e(245))?e(248):Array[e(243)](document[e(307)]).some(t=>t[e(251)][e(279)]("static.squarespace.com"))?e(250):Array[e(243)](document[e(307)]).some(t=>t.src.includes(e(292)))?e(306):document.querySelector(e(247))?e(300):void 0};const _0x59dc51=_0x3f28;function _0x5339(){const e=["https://ipwho.is/","country_code","https://free.freeipapi.com/api/json","Mozilla/5.0","19439453ecRwNq","country","json","5MYXGTV","18424CjmxSG","freeipapi failed","tryAllEndpoints","305118MozLTJ","8176158oFMvlJ","10715QPazbp","9022600kSNBpt","race","12RKWdfa","20tnfeOM","countryCode","signal","300216mVJQuO","20dtJwaD","7kthRuM","getCountryCode","_country","catch","_failedCount","1287nDykKp","ipwho.is failed","12ENBczs","map","abort","fetchWithTimeout"];return(_0x5339=function(){return e})()}function _0x3f28(e,t){const r=_0x5339();return(_0x3f28=function(e,t){return r[e-=351]})(e,t)}!function(){const e=_0x3f28,t=_0x5339();for(;;)try{if(932573===-parseInt(e(379))/1*(-parseInt(e(383))/2)+parseInt(e(362))/3*(parseInt(e(353))/4)+-parseInt(e(373))/5*(-parseInt(e(378))/6)+-parseInt(e(355))/7*(-parseInt(e(380))/8)+-parseInt(e(377))/9*(parseInt(e(354))/10)+parseInt(e(370))/11*(-parseInt(e(382))/12)+parseInt(e(360))/13*(-parseInt(e(374))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x3f28(357)]=null,this._failedCount=0}[_0x59dc51(356)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3f28;return this[e(359)]>=2?null:(!this[e(357)]&&(this._country=yield this.tryAllEndpoints()),this._country)})}[_0x59dc51(376)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3f28,t=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f28,t=yield this[e(365)]("https://api.country.is",2e3);if(!t.ok)throw new Error("country.is failed");return(yield t[e(372)]())[e(371)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f28,t=yield this[e(365)](e(368),2e3);if(!t.ok)throw new Error(e(375));return(yield t[e(372)]())[e(351)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f28,t=yield this[e(365)](e(366),2e3);if(!t.ok)throw new Error(e(361));return(yield t[e(372)]())[e(367)]||null})][e(363)](t=>t()[e(358)](()=>null)),r=yield Promise[e(381)](t);return!r&&this._failedCount++,r||null})}[_0x59dc51(365)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x3f28,n=new AbortController,i=setTimeout(()=>n[r(364)](),t);try{return yield fetch(e,{signal:n[r(352)],headers:{"User-Agent":r(369)}})}finally{clearTimeout(i)}})}}const countryFinder=new CountryFinder;var props,TYPEOF_FUNCTION="function",TYPEOF_OBJECT="object",TYPEOF_STRING="string",TYPEOF_UNDEFINED="undefined",BROWSER="browser",CPU="cpu",DEVICE="device",ENGINE="engine",OS="os",NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",ARCHITECTURE="architecture",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH="sec-ch-ua",CH_FULL_VER_LIST=CH+"-full-version-list",CH_ARCH=CH+"-arch",CH_BITNESS=CH+"-bitness",CH_FORM_FACTORS=CH+"-form-factors",CH_MOBILE=CH+"-"+MOBILE,CH_MODEL=CH+"-"+MODEL,CH_PLATFORM=CH+"-platform",CH_PLATFORM_VER=CH_PLATFORM+"-version",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion",ARCHITECTURE,"formFactors","bitness"],NAVIGATOR=typeof window!==TYPEOF_UNDEFINED&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if(typeof e===TYPEOF_OBJECT&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return typeof e===TYPEOF_STRING},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),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)if(e.hasOwnProperty(t)){var r=e[t];typeof r==TYPEOF_OBJECT&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){return e=strip(/^\s\s*/,String(e)),typeof t===TYPEOF_UNDEFINED?e:e.substring(0,t)},rgxMapper=function(e,t){if(e&&t)for(var r,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],typeof(s=d[i])===TYPEOF_OBJECT&&s.length>0?2===s.length?typeof s[1]==TYPEOF_FUNCTION?this[s[0]]=s[1].call(this,o):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]!==TYPEOF_FUNCTION||s[1].exec&&s[1].test?3==s.length?this[s[0]]=o?o.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=o?s[3].call(this,o.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=o?s[3].apply(this,[o.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=o?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=o?s[1].call(this,o,s[2]):void 0):this[s]=o||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if(typeof t[r]===TYPEOF_OBJECT&&t[r].length>0){for(var 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,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/norton\/([\w\.]+)/i],[VERSION,[NAME,"Norton Private Browser"]],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/ mms\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Neon"]],[/ opt\/([\w\.]+)$/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[NAME],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[NAME,/(.+)/,"Zalo"],VERSION,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/ome-(lighthouse)$/i],[NAME,[TYPE,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ARCHITECTURE,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ARCHITECTURE,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ARCHITECTURE,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ARCHITECTURE,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ARCHITECTURE,"arm"]],[/ sun4\w[;\)]/i],[[ARCHITECTURE,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[ARCHITECTURE,/ower/,"",lowerize]],[/mc680.0/i],[[ARCHITECTURE,"68k"]],[/winnt.+\[axp/i],[[ARCHITECTURE,"alpha"]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[VENDOR,strMapper,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],MODEL,[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) ([\w ]+) os\d/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[MODEL,[TYPE,SMARTTV]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[VERSION,[NAME,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[VERSION,[NAME,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[[BROWSER,[NAME,VERSION,"major",TYPE]],[CPU,[ARCHITECTURE]],[DEVICE,[TYPE,MODEL,VENDOR]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),setProps.call(props.isIgnore,[[BROWSER,[VERSION,"major"]],[ENGINE,[VERSION]],[OS,[VERSION]]]),setProps.call(props.isIgnoreRgx,[[BROWSER,/ ?browser$/i],[OS,/ ?os$/i]]),setProps.call(props.toString,[[BROWSER,[NAME,VERSION]],[CPU,[ARCHITECTURE]],[DEVICE,[VENDOR,MODEL]],[ENGINE,[NAME,VERSION]],[OS,[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],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,e!=TYPEOF_UNDEFINED)break}else if(e==TYPEOF_UNDEFINED&&t){t=!t;break}return t},a.prototype.toString=function(){var e="";for(var t in s)typeof this[s[t]]!==TYPEOF_UNDEFINED&&(e+=(e?" ":"")+this[s[t]]);return e||TYPEOF_UNDEFINED}),a.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:a.prototype.is,toString:a.prototype.toString,withClientHints:a.prototype.withClientHints,withFeatureCheck:a.prototype.withFeatureCheck};var 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[CH])],["fullVersionList",itemListToArray(e[CH_FULL_VER_LIST])],[MOBILE,/\?1/.test(e[CH_MOBILE])],[MODEL,stripQuotes(e[CH_MODEL])],["platform",stripQuotes(e[CH_PLATFORM])],["platformVersion",stripQuotes(e[CH_PLATFORM_VER])],[ARCHITECTURE,stripQuotes(e[CH_ARCH])],["formFactors",itemListToArray(e[CH_FORM_FACTORS])],["bitness",stripQuotes(e[CH_BITNESS])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==TYPEOF_UNDEFINED&&(this[r]=e[r])}function UAItem(e,t,r,n){return setProps.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if(typeof e===TYPEOF_OBJECT?(isExtensions(e,!0)?(typeof t===TYPEOF_OBJECT&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e!==TYPEOF_STRING||isExtensions(t,!0)||(r=t,t=void 0),r)if(typeof r.append===TYPEOF_FUNCTION){var n={};r.forEach(function(e,t){n[String(t).toLowerCase()]=e}),r=n}else{var i={};for(var s in r)r.hasOwnProperty(s)&&(i[String(s).toLowerCase()]=r[s]);r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var a=typeof e===TYPEOF_STRING?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",o=new UACHData(r,!0),c=t?function(e,t){var r={},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,u=function(e){return"result"==e?function(){return new UAItem(e,a,c,o).set("ua",a).set(BROWSER,this.getBrowser()).set(CPU,this.getCPU()).set(DEVICE,this.getDevice()).set(ENGINE,this.getEngine()).set(OS,this.getOS()).get()}:function(){return new UAItem(e,a,c[e],o).parseUA().get()}};return setProps.call(this,[["getBrowser",u(BROWSER)],["getCPU",u(CPU)],["getDevice",u(DEVICE)],["getEngine",u(ENGINE)],["getOS",u(OS)],["getResult",u("result")],["getUA",function(){return a}],["setUA",function(e){return isString(e)&&(a=trim(e,500)),this}]]).setUA(a),this}function _0xd850(){const e=["matches","70355BEtVWf","toFixed","googletv","innerWidth","22651dMokiN","222832tDFyyZ","smarttv","appletv","long","uiStyle","medium","136BDZNKD","sqrt","watch","engine","getDeviceInfo","ontouchstart","desktop","car","high","matchMedia","36435UanOcQ","smart-tv","pow","browser","model","low","screenDensity","includes","tablet","displaySize","type","toLowerCase","4132740HZQZXL","playstation","48jAdlhr","innerHeight","36BLnvgb","embedded","large","width","devicePixelRatio","cpu","4501HMTySU","1572741xcbxhy","getResult","nintendo","console","device","normal"];return(_0xd850=function(){return e})()}UAItem.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},UAItem.prototype.set=function(e,t){return this.data[e]=t,this},UAItem.prototype.setCH=function(e){return this.uaCH=e,this},UAItem.prototype.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case BROWSER:NAVIGATOR.brave&&typeof NAVIGATOR.brave.isBrave==TYPEOF_FUNCTION&&this.set(NAME,"Brave");break;case DEVICE:!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&typeof NAVIGATOR.standalone!==TYPEOF_UNDEFINED&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case OS:!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(BROWSER,t(BROWSER)).set(CPU,t(CPU)).set(DEVICE,t(DEVICE)).set(ENGINE,t(ENGINE)).set(OS,t(OS))}return this},UAItem.prototype.parseUA=function(){switch("result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),this.itemType){case BROWSER:this.set("major",majorize(this.get(VERSION)));break;case OS:if("iOS"==this.get(NAME)&&"18.6"==this.get(VERSION)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(VERSION,e[1])}}return this},UAItem.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case BROWSER:case ENGINE:var r,n=e.fullVersionList||e.brands;if(n)for(var i=0;i<n.length;i++){var s=n[i].brand||n[i],a=n[i].version;this.itemType==BROWSER&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,a).set("major",majorize(a)),r=s),this.itemType==ENGINE&&"Chromium"==s&&this.set(VERSION,a)}break;case CPU:var o=e[ARCHITECTURE];o&&(o&&"64"==e.bitness&&(o+="64"),rgxMapper.call(this.data,o+";",t));break;case DEVICE:if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case OS:var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,_=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set(BROWSER,_(BROWSER)).set(CPU,_(CPU)).set(DEVICE,_(DEVICE)).set(ENGINE,_(ENGINE)).set(OS,_(OS))}return this},UAParser.VERSION="2.0.9",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize([ARCHITECTURE]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x15e8e1=_0x1481;function _0x1481(e,t){const r=_0xd850();return(_0x1481=function(e,t){return r[e-=437]})(e,t)}!function(){const e=_0x1481,t=_0xd850();for(;;)try{if(112126===-parseInt(e(465))/1+-parseInt(e(466))/2+-parseInt(e(482))/3*(-parseInt(e(447))/4)+-parseInt(e(461))/5*(parseInt(e(445))/6)+-parseInt(e(453))/7*(-parseInt(e(472))/8)+-parseInt(e(454))/9+parseInt(e(443))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x1481,t=(new UAParser)[e(455)]();return{browser:t[e(485)],os:t.os,device:t[e(458)],engine:t[e(475)],cpu:t[e(452)],ua:t.ua}}get[_0x15e8e1(437)](){const e=_0x15e8e1;return window[e(451)]>=3?e(480):window[e(451)]>=2?e(471):e(487)}get screenFormat(){const e=_0x15e8e1;return window[e(446)]>window[e(464)]?e(469):e(459)}get screenSize(){const e=_0x15e8e1,t=window[e(464)];return t<480?"small":t<768?"normal":t<1440?e(449):"xlarge"}get uiMode(){const e=_0x15e8e1;var t,r,n;const i=this[e(476)](),s=(null===(t=i[e(458)])||void 0===t?void 0:t[e(441)])||"",a=(null===(n=null===(r=i[e(458)])||void 0===r?void 0:r[e(486)])||void 0===n?void 0:n.toLowerCase())||"",o=i.ua[e(442)]();return"wearable"===s||a[e(438)](e(474))?6:s===e(467)||o[e(438)](e(483))||o.includes("hbbtv")||o.includes("netcast")||o.includes(e(463))||o.includes(e(468))?4:s===e(457)||o.includes(e(444))||o[e(438)]("xbox")||o.includes(e(456))?5:o.includes(e(479))||o[e(438)]("android auto")||o[e(438)]("carplay")?3:o[e(438)]("oculus")||o.includes("vive")||o[e(438)]("vr")||s===e(448)?7:"mobile"===s||s===e(439)?1:""===s||s===e(478)?2:0}get[_0x15e8e1(470)](){const e=_0x15e8e1;return window[e(481)]&&window.matchMedia("(prefers-color-scheme: dark)")[e(460)]?"1":"0"}get[_0x15e8e1(440)](){const e=_0x15e8e1,t=window[e(451)]||1,r=screen[e(450)]*t/160,n=screen.height*t/160;return Math[e(473)](Math[e(484)](r,2)+Math.pow(n,2))[e(462)](2)}get screenType(){return _0x15e8e1(477)in window||navigator.maxTouchPoints>0?"touch":"pointer"}}const deviceDetector=new DeviceDetector;function _0x5ceb(e,t){const r=_0x480d();return(_0x5ceb=function(e,t){return r[e-=278]})(e,t)}function _0x480d(){const e=["1063590ewpOJH","setItem","close","__test__check__","resolve","result","key","length","40724QVYcrz","4535WaCAFC","7enJzxm","removeItem","onerror","352624aoxLOr","5035448MPXSih","supportResults","getSupportResult","isIndexedDBSupported","440xWqndT","isLocalStorageSupported","__test__","deleteDatabase","isSessionStorageSupported","open","42291MYyzbF","772PYyBgW","111045QmZnfu","7LSHlco","getItem"];return(_0x480d=function(){return e})()}const _0x2cb179=_0x5ceb;!function(){const e=_0x5ceb,t=_0x480d();for(;;)try{if(122323===-parseInt(e(300))/1*(-parseInt(e(298))/2)+parseInt(e(287))/3+parseInt(e(286))/4*(-parseInt(e(299))/5)+-parseInt(e(290))/6+parseInt(e(288))/7*(parseInt(e(303))/8)+parseInt(e(285))/9*(-parseInt(e(279))/10)+parseInt(e(304))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this.supportResults=null}[_0x2cb179(306)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5ceb;if(this[e(305)])return this.supportResults;const t=this[e(280)](),r=this[e(283)](),n=yield this[e(278)]();return this[e(305)]={localStorage:t,sessionStorage:r,indexedDB:n},this.supportResults})}getStorageSizeBytes(e){const t=_0x2cb179;let r=0;for(let n=0;n<e.length;n++){const i=e[t(296)](n);if(!i)continue;const s=e[t(289)](i);null!=s&&(r+=2*i[t(297)],r+=2*s.length)}return r}[_0x2cb179(280)](){const e=_0x2cb179;try{const t=e(281);return localStorage[e(291)](t,"1"),localStorage[e(301)](t),!0}catch(e){return!1}}[_0x2cb179(283)](){const e=_0x2cb179;try{const t=e(281);return sessionStorage[e(291)](t,"1"),sessionStorage[e(301)](t),!0}catch(e){return!1}}isIndexedDBSupported(){const e=_0x2cb179;return"indexedDB"in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(284)]("__test__check__");e[r(302)]=()=>t(!1),e.onsuccess=()=>{const n=r;e[n(295)][n(292)](),indexedDB[n(282)](n(293)),t(!0)}}catch(e){t(!1)}}):Promise[e(294)](!1)}}const storageSupport=new StorageSupport,_0x29ef0e=_0x3328;function _0x3328(e,t){const r=_0x512a();return(_0x3328=function(e,t){return r[e-=134]})(e,t)}function _0x512a(){const e=["2972260lIJqUg","WEBGL_debug_renderer_info","createElement","generateFingerprint","4235gkhhpZ","MAX_TEXTURE_SIZE","charCodeAt","getCanvasFingerprint","font","1198113rEMNRL","fillRect","getContext","width","null","2349800dhcYOZ","#f60","fillText","VERSION","UNMASKED_VENDOR_WEBGL","getWebGLFingerprint","getParameter","canvas","toString","72iRukQD","fillStyle","toDataURL","top","77mCucEr","height","9kGpKLF","padStart","SHADING_LANGUAGE_VERSION","2238jPLHrR","11171TlXuIo","hashData","3006688tpoXde","webgl","getExtension","isWebGLSupported","UNMASKED_RENDERER_WEBGL","5957440FOMWmw","14px Arial","experimental-webgl","textBaseline","alphabetic","VENDOR"];return(_0x512a=function(){return e})()}!function(){const e=_0x3328,t=_0x512a();for(;;)try{if(478328===parseInt(e(142))/1*(-parseInt(e(178))/2)+-parseInt(e(164))/3+-parseInt(e(144))/4+parseInt(e(169))/5+-parseInt(e(141))/6*(-parseInt(e(159))/7)+-parseInt(e(149))/8*(parseInt(e(138))/9)+parseInt(e(155))/10*(parseInt(e(136))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x29ef0e(147)](){const e=_0x29ef0e;try{const t=document[e(157)](e(176));return!(!t[e(166)](e(145))&&!t.getContext(e(151)))}catch(e){return!1}}static[_0x29ef0e(158)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3328,[t,r]=yield Promise.all([this[e(174)](),this[e(162)]()]),n=(t||e(168))+"|"+(r||e(168));return this[e(143)](n)})}static getWebGLFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3328;try{const t=document[e(157)]("canvas"),r=t.getContext(e(145))||t[e(166)](e(151));if(!r)return;const n=r[e(146)](e(156)),i=[r[e(175)](r[e(172)]),r[e(175)](r[e(140)]),r[e(175)](r[e(154)]),n?r[e(175)](n[e(173)]):"",n?r.getParameter(n[e(148)]):"",r[e(175)](r[e(160)])[e(177)]()].join("|");return this.hashData(i)}catch(e){return}})}static getCanvasFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3328;try{const t=document[e(157)](e(176));t[e(167)]=200,t[e(137)]=50;const r=t[e(166)]("2d");if(!r)return;return r[e(152)]=e(153),r[e(163)]=e(150),r.textBaseline=e(135),r[e(179)]=e(170),r[e(165)](125,1,78,20),r[e(179)]="#069",r[e(171)]("WiseTrack 🐾",2,15),this.hashData(t[e(134)]())}catch(e){return}})}static[_0x29ef0e(143)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3328;let r=0;for(let n=0;n<e.length;n++){r=(r<<5)-r+e[t(161)](n),r&=r}return(r>>>0).toString(16)[t(139)](16,"0")})}}function _0x2d9d(e,t){const r=_0x1603();return(_0x2d9d=function(e,t){return r[e-=296]})(e,t)}const _0x2d1acb=_0x2d9d;function _0x1603(){const e=["DEFAULTS","11954426QPmexb","SDK","architecture","getDeviceFields","fromEntries","appVersion","userEnvironment","browser","outerHeight","deeplinkEnabled","other","time_spent","formattedDate","getUTMParamsString","location","performance","getDeviceInfo","PLATFORM","lastSessionStart","toLowerCase","localStorage","outerWidth","wiseId","appFrameWork","sessionCount","nextClientSessionId","customDeviceId","9DWZXcn","uiStyle","build","cpu","toFixed","filter","engine","assign","getCountryCode","onLine","getLocalFields","lastActiveTime","entries","initialDate","indexedDB","version","21QlMRIe","736zeWvQK","name","screenType","subSessionCount","550890luBNqr","clientSecret","defaultTracker","inactiveDuration","toString","2127570lbfDXf","sdk_requested_at","sdkVersion","device","isWebGLSupported","type","getApplicationFields","43jeXHrK","model","screenDensity","innerWidth","screenFormat","now","language","displaySize","69826VSpPCT","DEFAULT_ENVIRONMENT","3875316OPvEnr","CONFIG","7852552fevTwx","floor","appToken","sessionStorage","getStorageSizeBytes","map","24685lBUJFI"];return(_0x1603=function(){return e})()}!function(){const e=_0x2d9d,t=_0x1603();for(;;)try{if(870946===-parseInt(e(297))/1*(-parseInt(e(305))/2)+parseInt(e(307))/3+parseInt(e(361))/4*(-parseInt(e(315))/5)+parseInt(e(370))/6*(-parseInt(e(360))/7)+-parseInt(e(309))/8+-parseInt(e(344))/9*(parseInt(e(365))/10)+parseInt(e(317))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x2d1acb(346)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2d9d,t=window[e(332)][e(302)]();let r={};return r[e(371)]=Utils.formattedDate(new Date),Object[e(351)](r,this[e(354)]()),Object[e(351)](r,yield this[e(296)]()),Object[e(351)](r,this[e(320)]()),r[e(328)]=Math[e(310)]((window[e(332)][e(302)]()-t)/1e3),WTConstants[e(316)].PARAMETERS_VALUE?Object[e(321)](Object[e(356)](r)[e(314)](([t,r])=>[t,null==r?WTConstants[e(316)].PARAMETERS_VALUE:r])):Object[e(321)](Object[e(356)](r)[e(349)](([e,t])=>null!=t))})}[_0x2d1acb(296)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2d9d,t=yield storageSupport.getSupportResult();return{connectivity_type:navigator[e(353)]?"1":"-1",country:yield countryFinder[e(352)](),package_name:window[e(331)].hostname,session_storage_enabled:t[e(312)],indexed_db_enabled:t[e(358)],local_storage_enabled:t[e(337)],session_storage:storageSupport[e(313)](sessionStorage)[e(348)](0),local_storage:storageSupport.getStorageSizeBytes(localStorage)[e(348)](0),web_gl_support:DeviceFingerprint[e(374)](),web_gl_fingerprint:yield DeviceFingerprint.generateFingerprint()}})}[_0x2d1acb(354)](){const e=_0x2d1acb,t=storageManager.initialConfig;return t?{uuid:storageManager.deviceId,app_token:t[e(311)],environment:t[e(323)]||WTConstants[e(308)][e(306)],store_name:e(327),app_version:t[e(322)],push_token:storageManager.pushToken,custom_device_id:t[e(343)],default_tracker:t[e(367)],platform:WTConstants[e(318)][e(334)],framework:t.appFrameWork[e(336)](),initiated_by:WTConstants[e(318)][e(334)]+"_"+t[e(340)][e(336)](),initiated_version:storageManager[e(372)],client_secret:t[e(366)],deeplink_enabled:t[e(326)]||!0,referrer:Utils[e(330)](),installed_at:storageManager[e(357)],session_count:storageManager[e(341)],last_session_count:storageManager.sessionCount-1,subsession_count:storageManager[e(364)],session_length:parseInt((storageManager.activeDuration/1e3)[e(369)]()),last_interval:parseInt((storageManager[e(368)]/1e3)[e(369)]()),cs_id:storageManager.clientSessionId,next_cs_id:storageManager[e(342)],last_session_created_at:storageManager[e(335)],last_active_time:null!=storageManager[e(355)]?Utils[e(329)](new Date(storageManager[e(355)])):void 0,wise_id:storageManager[e(339)]}:{}}getDeviceFields(){const e=_0x2d1acb,t=deviceDetector[e(333)]();return{browser_version:t[e(324)][e(359)],browser_name:t[e(324)][e(362)],device_manufacturer:t[e(373)].vendor,device_name:t[e(373)][e(298)],device_type:t.device[e(375)],os_name:t.os[e(362)],os_version:t.os[e(359)],cpu_type:t[e(347)][e(319)],web_user_agent:t.ua,display_height:window.innerHeight[e(348)](0),display_width:window[e(300)][e(348)](0),language:navigator[e(303)].split("-")[0],screen_density:deviceDetector[e(299)],screen_format:deviceDetector[e(301)],screen_size:deviceDetector.screenSize,ui_mode:deviceDetector.uiMode[e(369)](),cpu_lpc:navigator.hardwareConcurrency[e(369)](),ui_style:deviceDetector[e(345)],wout_width:window[e(338)],wout_height:window[e(325)],web_engine:t[e(350)][e(362)],web_engine_version:t[e(350)][e(359)],display_size:deviceDetector[e(304)],screen_type:deviceDetector[e(363)]}}}const fieldsBuilder=new FieldsBuilder;function _0x54a8(){var e=["Failed to decode the response: ","4108615EEMCSk","2202hIQHdA","localizedMessage","443052AEFKcH","Network error: ","name","1409229TOBSLW","shouldRetryRequest","statusCode","8610196lGNski","2vsLSiS","Unknown Error: ","143tDGFRv","Server error occurred","1843068TwYoUh","360jeWwvN","10kKoDQl","8CBojzg","449176dsfuvv"];return(_0x54a8=function(){return e})()}!function(){for(var e=_0x7513,t=_0x54a8();;)try{if(690565===-parseInt(e(121))/1*(-parseInt(e(113))/2)+-parseInt(e(124))/3*(-parseInt(e(118))/4)+-parseInt(e(123))/5+parseInt(e(126))/6+-parseInt(e(112))/7*(parseInt(e(120))/8)+parseInt(e(129))/9*(parseInt(e(119))/10)+-parseInt(e(115))/11*(-parseInt(e(117))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTApiError extends Error{constructor(e){var t=_0x7513;super(e),this[t(128)]=new.target.name}}class ConnectionError extends WTApiError{constructor(e){var t=_0x7513;super(e),this[t(111)]=null,this[t(110)]=!0,this[t(125)]=t(127)+(null!=e?e:"")}}class HttpError extends WTApiError{constructor(e,t){var r=_0x7513;super(t),this.statusCode=e,this[r(110)]=e>=500,this[r(125)]=null!=t?t:r(116)}}function _0x7513(e,t){var r=_0x54a8();return(_0x7513=function(e,t){return r[e-=110]})(e,t)}class DecodingError extends WTApiError{constructor(e){var t=_0x7513;super(e),this[t(111)]=null,this[t(110)]=!0,this[t(125)]=t(122)+(null!=e?e:"")}}class UnknownError extends WTApiError{constructor(e,t){var r=_0x7513;super(e),this[r(110)]=!1,this[r(111)]=null!=t?t:null,this[r(125)]=r(114)+(null!=e?e:"")}}var _0x1643a1=_0x4001;function _0x4001(e,t){var r=_0x1d7f();return(_0x4001=function(e,t){return r[e-=432]})(e,t)}function _0x1d7f(){var e=["8aAbEss","maxRetries","960043rcxbUf","1134119ezKIra","53566320WqDuog","canRetry","4220631aBMuKa","60sbbTHn","2DUusEU","7370476zeqFRx","4033295pXaZfn","11846358ODIMlg","retryInterval"];return(_0x1d7f=function(){return e})()}!function(){for(var e=_0x4001,t=_0x1d7f();;)try{if(982680===parseInt(e(444))/1*(parseInt(e(437))/2)+parseInt(e(435))/3+parseInt(e(438))/4+-parseInt(e(439))/5+parseInt(e(436))/6*(parseInt(e(432))/7)+parseInt(e(442))/8*(parseInt(e(440))/9)+-parseInt(e(433))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x4001;this[r(443)]=e,this[r(441)]=t}[_0x1643a1(434)](e){return e<this[_0x1643a1(443)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x4001;return new Promise(t=>setTimeout(t,this[e(441)]))})}}const _0x5e474b=_0x30c8;function _0x30c8(e,t){const r=_0x1bdf();return(_0x30c8=function(e,t){return r[e-=107]})(e,t)}function _0x1bdf(){const e=["no-store, no-cache, must-revalidate, proxy-revalidate","debug","108nZcvAD","3606340GbOvqT","27xGlOHD","Authorization","978729xFqxJl","Bearer ","no-cache","localizedMessage","30461486xFfChF","refreshHandler","Request successful","-- PARAMETERS =>","text","112tGWHnZ","1067984qtBzKA","Unknown error","message","POST","Content-Type","Internal Error: ","setRefreshHandler","headers","27944LzuVmy","🚀 REQUEST (","canRetry","✅ API SUCCESS (","json","cors","Error executing request","sendRequest","warn","555VbJHWu","retryPolicy","method","assign","baseUrl"," is not a valid URL Endpoint","12066EAACek",") =>","application/json","error",") => ","12462PoqVIl","status","authToken","params","Authentication failed","❌ API ERROR ("];return(_0x1bdf=function(){return e})()}!function(){const e=_0x30c8,t=_0x1bdf();for(;;)try{if(588470===parseInt(e(156))/1*(-parseInt(e(114))/2)+-parseInt(e(118))/3+-parseInt(e(128))/4+parseInt(e(145))/5*(parseInt(e(151))/6)+parseInt(e(136))/7*(-parseInt(e(127))/8)+parseInt(e(116))/9*(-parseInt(e(115))/10)+parseInt(e(122))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class NetworkManager{constructor(){this[_0x30c8(123)]=null}[_0x5e474b(134)](e){this[_0x5e474b(123)]=e}[_0x5e474b(146)](){return new RetryPolicy}[_0x5e474b(143)](e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x30c8;var n;const i=t.retryAttempt||1,s=!1!==t.needsAuthentication;let a,o;try{a=new URL(e,EnvironmentUtils[r(149)])}catch(t){return new UnknownError(r(133)+EnvironmentUtils[r(149)]+e+r(150))}WTLogger[r(113)](r(137)+i+r(155)+(t[r(147)]||r(131))+" "+a,r(125),t.params||{});const c=Object.assign({Accept:r(153),"Cache-Control":r(112),Pragma:r(120),Expires:"0"},t[r(135)]);if(s){const e=storageManager[r(108)];e&&(c[r(117)]=r(119)+e)}t[r(109)]&&(c[r(132)]=r(153),o=JSON.stringify(t[r(109)]));try{const u=yield fetch(a,{method:t[r(147)]||"POST",headers:c,body:o,cache:"no-store",mode:r(141),keepalive:!0});if(!u.ok){if(401===u[r(107)]&&s){WTLogger[r(113)]("🔄 Token expired, attempting to refresh...");const s=yield null===(n=this[r(123)])||void 0===n?void 0:n.call(this);return s instanceof WTApiError?(WTLogger[r(154)]("❌ Token refresh failed:",s[r(121)]),new HttpError(401,r(110))):(WTLogger.debug("✅ Token refreshed, retrying request..."),this[r(143)](e,Object[r(148)](Object[r(148)]({},t),{retryAttempt:i})))}let a="";try{const e=yield u[r(126)]();a=e;const t=JSON.parse(e);t[r(130)]&&(a=t[r(130)])}catch(e){WTLogger.error("Decoding api error response failed: "+e,e)}return WTLogger[r(144)](r(111)+u.status+r(152),a),new HttpError(u.status,a)}try{const e=yield u[r(140)]();return WTLogger[r(113)](r(139)+u.status+r(152),e[r(130)]||r(124)),e}catch(e){return new DecodingError(e[r(130)]||String(e))}}catch(n){return WTLogger[r(154)](r(142),n),this[r(146)]()[r(138)](i)?(yield this[r(146)]().waitBeforeRetry(),this[r(143)](e,Object[r(148)](Object[r(148)]({},t),{retryAttempt:i+1}))):new ConnectionError(n.message||r(129))}})}}const networkManager=new NetworkManager,_0x5b90c6=_0x4377;function _0x4377(e,t){const r=_0x3f62();return(_0x4377=function(e,t){return r[e-=450]})(e,t)}function _0x3f62(){const e=["endpoints","1111836Aurccq","3144106nkxuLf","authToken","SDK","auth","doCallRequest","2839570CCENkV","doGetDeferredData","15vLOJgu","refreshTokenPromise","352094hccfdk","deferredLookups","result","AUTH_PATH","728044WgyZPh","initialConfig","4vdspCl","Client Secret is not provided","doGetAuthToken","8SxkzjS","2851400UaAhtJ","sendRequest","appFrameWork","PLATFORM","appVersion","config","setRefreshHandler","hostname","doGetConfig","sdkVersion","fromJson","location","wiseId","11309751bHTnqz","doSendHeartbeat","refreshToken","other","clientSecret","isRefreshingToken","11XPqisX","build","DEFERRED_LOOKUPS_PATH"];return(_0x3f62=function(){return e})()}!function(){const e=_0x4377,t=_0x3f62();for(;;)try{if(912331===-parseInt(e(457))/1*(parseInt(e(463))/2)+-parseInt(e(455))/3*(-parseInt(e(461))/4)+-parseInt(e(467))/5+parseInt(e(490))/6+-parseInt(e(491))/7+parseInt(e(466))/8*(parseInt(e(480))/9)+parseInt(e(453))/10*(parseInt(e(486))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ApiClient{constructor(){const e=_0x4377;this.refreshTokenPromise=null,networkManager[e(473)](this[e(482)])}[_0x5b90c6(475)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4377,t=storageManager[e(462)];if(!t)return new UnknownError("Initial Config is not provided");const r=WTConstants[e(450)][e(470)],n=t[e(469)].toLowerCase(),i={app_token:t.appToken,app_version:t[e(471)],framework:n,package_name:window[e(478)][e(474)],platform:r,sdk_version:storageManager[e(476)],initiated_by:r+"_"+n,store_name:e(483)},s=yield networkManager[e(468)](SecureConfig.CONFIG_PATH,{params:i,needsAuthentication:!1});return s instanceof WTApiError?s:WTConfig[e(477)](s[e(459)])})}[_0x5b90c6(465)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4377;var t,r,n;if(!(null===(t=storageManager.initialConfig)||void 0===t?void 0:t[e(484)]))return new UnknownError(e(464));const i=yield fieldsBuilder[e(487)](),s=yield networkManager.sendRequest(null!==(n=null===(r=storageManager[e(472)])||void 0===r?void 0:r.endpoints[e(451)])&&void 0!==n?n:SecureConfig[e(460)],{params:i,needsAuthentication:!1});if(s instanceof WTApiError)return s;const a=WTAuth[e(477)](s.result);return storageManager[e(492)]=a[e(492)],storageManager[e(479)]=a[e(479)],!0})}[_0x5b90c6(454)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4377;var t,r;const n=yield fieldsBuilder[e(487)](),i=yield networkManager[e(468)](null!==(r=null===(t=storageManager[e(472)])||void 0===t?void 0:t[e(489)][e(458)])&&void 0!==r?r:SecureConfig[e(488)],{params:n});return i instanceof WTApiError?i:WTDeferredLookup.fromJson(i.result)})}[_0x5b90c6(481)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4377;var r,n;return!((yield networkManager.sendRequest(null!==(n=null===(r=storageManager[t(472)])||void 0===r?void 0:r[t(489)].heartbeats)&&void 0!==n?n:SecureConfig.HEARTBEATS_PATH,{params:e}))instanceof WTApiError)})}[_0x5b90c6(452)](e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x4377;return t.sdk_updated_at=Utils.formattedDate(new Date),yield networkManager[r(468)](e,{params:t})})}[_0x5b90c6(482)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4377;if(this[e(456)])return this[e(456)];this.refreshTokenPromise=apiClient.doGetAuthToken();try{return yield this[e(456)]}finally{this[e(456)]=null}})}get[_0x5b90c6(485)](){return null!==this[_0x5b90c6(456)]}}const apiClient=new ApiClient,_0x2132be=_0x267d;function _0x2d2b(){const e=["getConfig","doGetAuthToken","warn","deferredData","debug","checkSdkEnabled","A new version of the SDK is available. It is recommended to update to the latest version","452641aJQqEY","initialConfig","12nANkcU","deeplink","doGetDeferredData","onDeeplinkReceived","deferredLookup","36jpFgAT","info","⛔ Authentication failed: ","‼️ Configuration failed: ","config","845193UxaoXo","shouldRetryRequest","SDK Authentication set","sdkUpdate","16036140NDNOHC","checkSdkUpdate","localizedMessage","2AFLHUe","configureSDK","3408830xsymKm","getAuth","sdkEnabled","deferredLinkHandled","DeferredLookup => SDK is not enabled!","635705lPUAzl","3382228djrlZK","1383208MpnGWN"];return(_0x2d2b=function(){return e})()}function _0x267d(e,t){const r=_0x2d2b();return(_0x267d=function(e,t){return r[e-=340]})(e,t)}!function(){const e=_0x267d,t=_0x2d2b();for(;;)try{if(431449===parseInt(e(370))/1+-parseInt(e(363))/2*(-parseInt(e(356))/3)+-parseInt(e(371))/4+-parseInt(e(365))/5+-parseInt(e(346))/6*(-parseInt(e(344))/7)+-parseInt(e(372))/8*(parseInt(e(351))/9)+parseInt(e(360))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfigure{[_0x2132be(364)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x267d;storageManager[t(345)]=e,yield this[t(373)](),yield this[t(366)](),this.deferredLookup()})}[_0x2132be(373)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x267d;let t=yield apiClient.doGetConfig();if(t instanceof WTApiError&&!t.shouldRetryRequest)throw storageManager.sdkEnabled=!1,Error(e(354)+t[e(362)]);storageManager[e(355)]=t instanceof WTConfig?t:storageManager[e(355)]||WTConfig.defaultValue;let r=storageManager[e(355)];this[e(361)](r),this[e(342)](r),WTLogger[e(352)]("SDK Config set")})}[_0x2132be(366)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x267d;if(null!=storageManager.authToken&&null!=storageManager.wiseId)return void WTLogger.info("Already Authorized");let t=yield apiClient[e(374)]();if(t instanceof WTApiError&&!t[e(357)])throw storageManager.sdkEnabled=!1,Error(e(353)+t[e(362)]);WTLogger.info(e(358))})}[_0x2132be(350)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x267d;if(!storageManager[e(367)])return void WTLogger[e(341)](e(369));if(storageManager[e(368)])return void WTLogger[e(341)]("DeferredLookup => deferred link was handled before");let t=yield apiClient[e(348)]();if(t instanceof WTApiError)return t.shouldRetryRequest?new Promise(t=>setTimeout(()=>{t(this[e(350)]())},3e3)):void(storageManager[e(368)]=!0);storageManager[e(340)]=t,lifecycleOvserver[e(349)]({uri:t[e(347)],isDeferred:!0}),storageManager[e(368)]=!0})}[_0x2132be(342)](e){const t=_0x2132be;if(storageManager[t(367)]=e[t(367)],!e[t(367)])throw new Error("SDK is disabled form server, contact your administrator!")}[_0x2132be(361)](e){const t=_0x2132be;e[t(359)]&&WTLogger[t(375)](t(343))}}const configure=new WTConfigure;function _0x35f1(e,t){const r=_0x1ecf();return(_0x35f1=function(e,t){return r[e-=280]})(e,t)}function _0x1ecf(){const e=["3197535vHbvCS","7EvryVu","randomUUID","7693520kTpqDi","6720RujTzn","3604956xIDkSg","38901rwhIuM","1737mNCoji","1948QGnusq","87779SBVLyo","656btRiGq","6SovjGX"];return(_0x1ecf=function(){return e})()}!function(){const e=_0x35f1,t=_0x1ecf();for(;;)try{if(391913===-parseInt(e(286))/1+-parseInt(e(288))/2*(-parseInt(e(283))/3)+-parseInt(e(285))/4*(parseInt(e(281))/5)+parseInt(e(282))/6*(parseInt(e(290))/7)+-parseInt(e(287))/8*(-parseInt(e(284))/9)+parseInt(e(280))/10+-parseInt(e(289))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateUUID:()=>crypto[_0x35f1(291)]()},_0x471685=_0x10a8;function _0x10a8(e,t){const r=_0x129f();return(_0x10a8=function(e,t){return r[e-=181]})(e,t)}!function(){const e=_0x10a8,t=_0x129f();for(;;)try{if(351528===parseInt(e(197))/1*(-parseInt(e(185))/2)+parseInt(e(182))/3*(parseInt(e(186))/4)+-parseInt(e(192))/5*(-parseInt(e(204))/6)+parseInt(e(184))/7+parseInt(e(203))/8+parseInt(e(189))/9*(-parseInt(e(202))/10)+-parseInt(e(201))/11*(parseInt(e(187))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x10a8;this[r(188)]=0,this[r(193)]=3,this.id=crypto[r(198)](),this[r(191)]=e,this[r(200)]=t,this[r(194)]=Date.now()}}class Mutex{constructor(){this[_0x10a8(181)]=!1,this.waitingQueue=[]}acquire(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x10a8;this[t(181)]?this[t(196)][t(190)](e):(this[t(181)]=!0,e())})})}[_0x471685(183)](){const e=_0x471685;if(this[e(196)][e(195)]>0){this[e(196)][e(199)]()()}else this.locked=!1}}function _0x129f(){const e=["869720ZRaMIc","228WldhfB","retryCount","38826JCGkGW","push","endpoint","130ZblXVW","maxRetries","createdAt","length","waitingQueue","19707YsMmWG","randomUUID","shift","parameters","1001dytYIy","1390fUkVrq","1042656xFHPiA","109788ACQTJd","locked","3dSJnjC","release","2009343QbfIev","16vLXuWD"];return(_0x129f=function(){return e})()}function _0xc2ee(e,t){const r=_0x2150();return(_0xc2ee=function(e,t){return r[e-=473]})(e,t)}const _0x1f8953=_0xc2ee;function _0x2150(){const e=["7JABpLR","acquire","warn","map","sdkClickSubmit","2OdlnbP","11mmzVez","8206570anbbJO","shift","createdAt","1412792zEMcxE","calculateBackoffDelay","clear","debug","processNextRequest","processQueues","retryCount","push","canAddRequest","endpoint","race","586410OElvra","isProcessing","1212ViPMAj","SDK_CLICKS","release","BASE_DELAY_MS","initialize","retry","Queue Manager is not initialized. Call initialize() first.","maxRetries","from","catch","stopProcessing","set","size","sort","all","startProcessing","2394297UzsSMP","promise","Error in processing loop:","requestRecords","canProcessNext","✓ Request finished: ","1212186KKDhDa","): id=","length","MAX_CONCURRENT_REQUESTS","doCallRequest","min","success","request","mutex","error","saveQueue","234714YoEFQT","Error waiting for active requests:","Error sending request ","activeRequests","shutdown","BACKOFF_MULTIPLIER","failedRequestDelay","values","has","getQueue","isInitialized","processingInterval","delete","shouldRetryRequest","then","MAX_DELAY_MS","2643dwhfpk","sendRequest","PROCESSING_INTERVAL_MS","now","pow"];return(_0x2150=function(){return e})()}!function(){const e=_0xc2ee,t=_0x2150();for(;;)try{if(144817===parseInt(e(534))/1*(-parseInt(e(483))/2)+parseInt(e(473))/3*(-parseInt(e(501))/4)+parseInt(e(499))/5+-parseInt(e(523))/6+parseInt(e(478))/7*(parseInt(e(488))/8)+-parseInt(e(517))/9+-parseInt(e(485))/10*(-parseInt(e(484))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0xc2ee;this[e(544)]=!1,this[e(500)]=!1,this[e(531)]=new Mutex,this.processingInterval=null,this.PROCESSING_INTERVAL_MS=100,this[e(537)]=new Map,this[e(540)]=0,this[e(549)]=3e4,this[e(539)]=2,this[e(504)]=1e3,this[e(526)]=1}[_0x1f8953(505)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;this.isInitialized=!0,!this[e(500)]&&(yield this[e(516)]())})}[_0x1f8953(538)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;this[e(544)]&&(yield this[e(511)](),this[e(544)]=!1,this[e(537)][e(490)]())})}getQueueStatus(){const e=_0x1f8953;return{queueLength:this.getQueue().length,isProcessing:this.isProcessing,activeRequests:this.activeRequests.size,isInBackoffDelay:this[e(540)]>0&&Date.now()<this[e(540)],backoffEndsAt:this[e(540)]>0?this.failedRequestDelay:null}}[_0x1f8953(516)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;if(this[e(544)]){yield this[e(531)][e(479)]();try{if(this[e(500)])return;this.isProcessing=!0;const t=this.getQueue()[e(514)]((t,r)=>(t[e(487)]||0)-(r.createdAt||0));this[e(533)](t),this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(493)]()}catch(e){WTLogger.error(t(519),e)}}),this[e(475)])}finally{this[e(531)][e(503)]()}yield this[e(493)]()}else WTLogger.warn(e(507))})}stopProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;yield this.mutex.acquire();try{this.isProcessing=!1,this[e(545)]&&(clearInterval(this[e(545)]),this[e(545)]=null)}finally{this.mutex[e(503)]()}const t=Array.from(this.activeRequests[e(541)]())[e(481)](t=>t[e(518)]);if(t[e(525)]>0)try{yield Promise[e(498)]([Promise[e(515)](t),new Promise(e=>setTimeout(e,5e3))])}catch(t){WTLogger[e(480)](e(535),t)}})}addRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0xc2ee;yield this.mutex[t(479)]();try{if(!this[t(496)](e))return;const r=this[t(543)]();r.push(e),this[t(533)](r),this.failedRequestDelay=0}finally{this.mutex[t(503)]()}this[t(500)]&&this[t(537)][t(513)]<this[t(526)]&&(yield this[t(492)]())})}[_0x1f8953(493)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;if(this.isProcessing){if(this[e(540)]>0){if(Date[e(476)]()<this[e(540)])return;this[e(540)]=0}for(;this.activeRequests[e(513)]<this[e(526)]&&this.canProcessNext();)yield this.processNextRequest()}})}[_0x1f8953(521)](){const e=_0x1f8953,t=this[e(543)]();if(0===t[e(525)])return!1;const r=t[0];return!this.activeRequests.has(r.id)}[_0x1f8953(492)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xc2ee;let t=null;yield this[e(531)].acquire();try{const r=this[e(543)]();if(0===r[e(525)])return;if(t=r[0],this[e(537)][e(542)](t.id))return;r[e(486)](),this[e(533)](r)}finally{this[e(531)][e(503)]()}if(t){const r=this[e(474)](t);this[e(537)][e(512)](t.id,{request:t,promise:r}),r[e(548)](e=>{this.finishRequest(t,e)})[e(510)](r=>{const n=e;WTLogger[n(532)]("Error processing request "+t[n(497)]+":",r),this.finishRequest(t,{success:!1,retry:!0})})}})}finishRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0xc2ee;yield this[r(531)].acquire();try{if(this[r(537)][r(546)](e.id),t.success)WTLogger.debug(r(522)+e[r(497)]);else if(t[r(506)])if(e.retryCount++,e[r(494)]>=e[r(508)]){const t=this[r(489)](e[r(494)]);this.failedRequestDelay=Date[r(476)]()+t;const n=this[r(543)]();n[r(495)](e),this.saveQueue(n)}else{const t=this[r(543)]();t[r(495)](e),this[r(533)](t)}}finally{this.mutex[r(503)]()}this[r(537)][r(513)]<this[r(526)]&&(yield this[r(492)]())})}[_0x1f8953(474)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xc2ee;WTLogger[t(491)]("💥 Sending request ("+e[t(497)]+t(524)+e.id);try{const r=yield apiClient[t(527)](e.endpoint,e.parameters);return r instanceof WTApiError?{success:!1,retry:r[t(547)]}:{success:r[t(529)],retry:!1}}catch(r){return WTLogger[t(532)](t(536)+e[t(497)]+":",r),{success:!1,retry:!0}}})}calculateBackoffDelay(e){const t=_0x1f8953,r=this[t(504)]*Math[t(477)](this[t(539)],e-1);return Math[t(528)](r,this[t(549)])}getQueue(){return storageManager[_0x1f8953(520)]}[_0x1f8953(533)](e){storageManager[_0x1f8953(520)]=e}[_0x1f8953(496)](e){const t=_0x1f8953;if(e.endpoint===WTEndpoints[t(502)]){const e=this.getQueue().some(e=>e[t(497)]===WTEndpoints.SDK_CLICKS),r=Array[t(509)](this[t(537)][t(541)]()).some(e=>e[t(530)][t(497)]===WTEndpoints[t(502)]);return!storageManager[t(482)]&&(!e&&!r)}return!0}}const queueManager=new RequestsQueueManager,_0x18a39d=_0x4752;function _0x6eb2(){const e=["18857135zRiKlg","1411752bGdFSu","deeplink","1656535hIzmSq","10ftNEhQ","SDK","8JoukgZ","1626814PMWhPB","1430556XYhEVs","5831796ZRRAJs","clientSecret","appVersion","wiseId","hostname","52xnDysO","152ltUfia","appToken","deviceId","initialConfig","build","clientSessionId","PLATFORM","8YgJYwY","other","515664pvuwHf","12DwhEDE"];return(_0x6eb2=function(){return e})()}function _0x4752(e,t){const r=_0x6eb2();return(_0x4752=function(e,t){return r[e-=334]})(e,t)}!function(){const e=_0x4752,t=_0x6eb2();for(;;)try{if(990395===parseInt(e(357))/1+parseInt(e(355))/2*(-parseInt(e(350))/3)+parseInt(e(345))/4*(-parseInt(e(352))/5)+-parseInt(e(348))/6*(parseInt(e(356))/7)+-parseInt(e(338))/8*(parseInt(e(347))/9)+-parseInt(e(353))/10*(-parseInt(e(349))/11)+parseInt(e(358))/12*(parseInt(e(337))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ClickMatchFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x4752;super(),this[t(351)]=e}[_0x18a39d(342)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4752;let t=storageManager,r=t[e(341)];return new Promise(n=>{const i=e;n({cs_id:t[i(343)],wise_id:t[i(335)],uuid:t[i(340)],client_secret:null==r?void 0:r[i(359)],app_token:null==r?void 0:r[i(339)],store_name:i(346),platform:WTConstants[i(354)][i(344)],framework:null==r?void 0:r.appFrameWork.toLowerCase(),package_name:window.location[i(336)],app_version:null==r?void 0:r[i(334)],sdk_requested_at:Utils.formattedDate(new Date),deeplink:this[i(351)]})})})}}function _0x1984(e,t){const r=_0xd897();return(_0x1984=function(e,t){return r[e-=105]})(e,t)}function _0xd897(){const e=["type","3130630oTIHcs","20UcRMqx","103205zPsLkH","77fQQnbL","20787GAojtC","params","3038296nOTzvx","1638pQfUTe","eventCount","revenue","2124ZdoiKL","amount","currency","25382LtyBEp","length","build","9nXvzUr","event","415940xIbsWT","3kUcgTC","event_params","call","886612urXhFb","name","create"];return(_0xd897=function(){return e})()}!function(){const e=_0x1984,t=_0xd897();for(;;)try{if(663507===parseInt(e(124))/1*(parseInt(e(123))/2)+parseInt(e(115))/3*(parseInt(e(118))/4)+-parseInt(e(122))/5+-parseInt(e(129))/6*(-parseInt(e(109))/7)+-parseInt(e(128))/8*(parseInt(e(112))/9)+-parseInt(e(114))/10*(parseInt(e(125))/11)+parseInt(e(106))/12*(-parseInt(e(126))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x1984;super(),this[t(113)]=e}build(){const e=_0x1984,t=Object[e(120)](null,{build:{get:()=>super.build}});return __awaiter(this,void 0,void 0,function*(){const r=e,n=yield t[r(111)][r(117)](this),i={event_type:this.event[r(121)],event_name:this[r(113)][r(119)],event_count:storageManager[r(130)]};return Object.keys(this[r(113)].params)[r(110)]>0&&(i[r(116)]=this[r(113)][r(127)]),this[r(113)].type===r(105)&&(i[r(105)]=this[r(113)][r(107)],i[r(108)]=this.event[r(108)]),n[r(113)]=i,new Promise(e=>e(n))})}}const _0x5d9a0b=_0x3e1e;function _0x3e1e(e,t){const r=_0x355f();return(_0x3e1e=function(e,t){return r[e-=442]})(e,t)}function _0x355f(){const e=["294000GdWitf","CheckPushToken: SDK is not enabled","20205pyrust","subsessionInterval","getCountryCode","sdkEnabled","4200nQoTWh","580274sFCoyO","lastSessionStart","Creating First Session: SDK is not running!","Failed to create click-match: SDK is not enabled!","appStartTime","SESSIONS","filter","activeDuration","startTracking","now","inactiveDuration","SDK is not enabled to start tracking!","setActivityTimes","47096JicvTa","config","User was inactived for ","WT Tracker stopped","sdkClickSubmit","build","stopTicking","generateUUID","sessionCount","204AZNoqO","createDeviceID","clientSessionId","5348DViERq","unmatchedDeeplinks","inactiveTime","stopTracking","Creating Attribution: SDK is not enabled!","initialized","startTicking","subSessionCount","warn","Failed to check activity times: Maximum retry attempts reached. Please ensure the SDK is enabled and initialized beforehand","addObservers","Failed to create click-match: SDK is not running!","CLICK_MATCHES","firstSessionSubmit","isEnabled","createAttribution","First-Session has already submitted","4357180kfvYkP","PUSH_TOKENS","1369511ruPVfW","1LQaQzX","checkPushToken","CheckPushToken: SDK is not initialized yet","EVENTS","checkDeepLinks","Failed to check activity times: SDK is not enabled!, try after 1s ...","trackEvent","shutdown","729kAZYXe","checkSdkClicks","Failed to check activity times: SDK is not running!, try after 1s ...","isRunning","onClickMatchHandler","createRequest","debug","setOnDeeplinkListener","trackEvent: SDK is not enabled","lastActiveTime","createClickMatch","s Totaly)","548vrkxbh"," request to queue","checkFirstSession","formattedDate","nextClientSessionId","ATTRIBUTIONS","pushToken","Creating Attribution: SDK is not running!","Adding ","deeplinkHandler","deviceId","fcmToken"];return(_0x355f=function(){return e})()}!function(){const e=_0x3e1e,t=_0x355f();for(;;)try{if(307672===-parseInt(e(472))/1*(-parseInt(e(511))/2)+-parseInt(e(504))/3+-parseInt(e(492))/4*(parseInt(e(506))/5)+parseInt(e(510))/6*(-parseInt(e(452))/7)+parseInt(e(524))/8*(-parseInt(e(480))/9)+-parseInt(e(469))/10+parseInt(e(471))/11*(parseInt(e(449))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x3e1e;this[e(483)]=!1,this[e(457)]=!1}get[_0x5d9a0b(466)](){return storageManager[_0x5d9a0b(509)]}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;this.getCountryCode(),this.createDeviceID(),storageManager[e(515)]=Date[e(520)](),this.addObservers(),this[e(457)]=!0})}[_0x5d9a0b(519)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;if(!this[e(466)])return WTLogger.warn(e(522));WTLogger[e(486)]("WT Tracker started"),this[e(483)]=!0,yield queueManager.initialize(),yield this[e(481)](),yield this[e(494)](),this[e(523)](),this[e(467)](),this[e(476)]()})}[_0x5d9a0b(455)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;this.isRunning=!1,lifecycleOvserver[e(446)](),yield queueManager[e(479)](),WTLogger.debug(e(443))})}destroy(){return __awaiter(this,void 0,void 0,function*(){lifecycleOvserver[_0x3e1e(446)](),lifecycleOvserver.unregisterListeners()})}[_0x5d9a0b(473)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3e1e;storageManager[t(498)]=e,this.isEnabled?this.initialized?storageManager[t(503)]!==e?yield this[t(485)]({endpoint:WTEndpoints[t(470)]}):WTLogger.info("This Notification token has sent to server previously"):WTLogger[t(460)](t(474)):WTLogger[t(460)](t(505))})}[_0x5d9a0b(478)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3e1e;this[t(466)]?this[t(457)]?(storageManager.eventCount+=1,yield this[t(485)]({endpoint:WTEndpoints[t(475)],fBuilder:new EventFieldsBuilder(e)})):WTLogger[t(460)]("trackEvent: SDK is not initialized yet"):WTLogger.warn(t(488))})}[_0x5d9a0b(487)](e){lifecycleOvserver[_0x5d9a0b(501)]=e}[_0x5d9a0b(508)](){countryFinder[_0x5d9a0b(508)]()}[_0x5d9a0b(467)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;return this[e(466)]?this[e(483)]?void(yield this[e(485)]({endpoint:WTEndpoints[e(497)]})):WTLogger[e(460)](e(499)):WTLogger.warn(e(456))})}[_0x5d9a0b(494)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;return this[e(466)]?this[e(483)]?void(storageManager.firstSessionSubmit?WTLogger.debug(e(468)):(storageManager[e(448)]=1,storageManager[e(459)]=1,storageManager[e(518)]=0,storageManager[e(521)]=0,storageManager[e(496)]=null,yield this[e(485)]({endpoint:WTEndpoints[e(516)]}),storageManager[e(512)]=Utils[e(495)](new Date),storageManager[e(465)]=!0)):WTLogger.warn(e(513)):WTLogger.warn("Creating First Session: SDK is not enabled!")})}[_0x5d9a0b(481)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;return this[e(466)]?storageManager[e(444)]?WTLogger.debug("SDK-Clicks has already submitted"):(yield this[e(485)]({endpoint:WTEndpoints.SDK_CLICKS}),void(storageManager[e(444)]=!0)):WTLogger[e(460)]("Creating Install: SDK is not enabled!")})}[_0x5d9a0b(485)](e){return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:t=fieldsBuilder}){const r=_0x3e1e;WTLogger.debug(r(500)+e+r(493));const n=yield t[r(445)](),i=new RequestRecord(e,n);yield queueManager.addRequest(i)})}[_0x5d9a0b(450)](){const e=_0x5d9a0b;!storageManager[e(502)]&&(storageManager.deviceId=cryptoHelper[e(447)]()),!storageManager.initialDate&&(storageManager.initialDate=Utils[e(495)](new Date)),!storageManager[e(451)]&&(storageManager[e(451)]=cryptoHelper[e(447)]())}[_0x5d9a0b(476)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;for(const t of storageManager[e(453)])yield this.createClickMatch(t)})}createClickMatch(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3e1e;if(!this.isEnabled)return WTLogger.debug(t(514));if(!this[t(483)])return WTLogger[t(486)](t(463));const r=storageManager[t(453)];yield this[t(485)]({endpoint:WTEndpoints[t(464)],fBuilder:new ClickMatchFieldsBuilder(e)}),storageManager[t(453)]=r[t(517)](t=>t!==e)})}[_0x5d9a0b(523)](){return __awaiter(this,arguments,void 0,function*(e=0){const t=_0x3e1e;var r,n;if(e>=100)return WTLogger[t(460)](t(461));if(!this.isEnabled)return WTLogger[t(486)](t(477)),new Promise(r=>setTimeout(()=>{r(this[t(523)](e+1))},1e3));if(!this[t(483)])return WTLogger.debug(t(482)),new Promise(r=>setTimeout(()=>{r(this[t(523)](e+1))},1e3));if(storageManager[t(489)]&&storageManager[t(515)]){storageManager.inactiveTime=storageManager[t(489)];const e=storageManager[t(515)]-storageManager[t(454)];storageManager[t(521)]+=e,WTLogger.debug(t(442)+e/1e3+"s | ("+storageManager[t(521)]/1e3+t(491));const i=null===(r=storageManager.config)||void 0===r?void 0:r.sessionInterval,s=null===(n=storageManager[t(525)])||void 0===n?void 0:n[t(507)];i&&s&&(e>1e3*parseInt(i)?(storageManager[t(448)]+=1,storageManager.nextClientSessionId=cryptoHelper.generateUUID(),yield this[t(485)]({endpoint:WTEndpoints.SESSIONS}),storageManager[t(512)]=Utils.formattedDate(new Date),storageManager[t(451)]=storageManager.nextClientSessionId,storageManager.nextClientSessionId=null,storageManager[t(518)]=0,storageManager[t(521)]=0,storageManager.subSessionCount=1):e>1e3*parseInt(s)&&(storageManager[t(459)]+=1))}storageManager[t(489)]=Date[t(520)](),lifecycleOvserver[t(458)]()})}[_0x5d9a0b(462)](){const e=_0x5d9a0b;lifecycleOvserver.onStartHandler=()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3e1e;this[e(483)]&&(storageManager.appStartTime=Date[e(520)](),yield this[e(523)](),this[e(467)]())}),lifecycleOvserver[e(484)]=t=>{this[e(490)](t)},lifecycleOvserver.registerListeners()}}const tracker=new WTTracker;function _0x361b(e,t){const r=_0x381b();return(_0x361b=function(e,t){return r[e-=118]})(e,t)}const _0x1cc8d7=_0x361b;function _0x381b(){const e=["840fsHkCZ","setLogLevel","getDeferredDeeplink","deeplink","187707jKRWVH","1998092scNDnb","appDeeplink","setEnabled","initialize","stopTracking","startTracking","1800324LayzTN","‼️ AppToken is empty!","WiseTrack is already initialized!","sdkEnabled","5Fxhpts","8371150AjUrtl","‼️ ClientSecret is empty!","clear","109251YKeBHO","Config is not set!","logLevel","setOnDeeplinkListener","‼️ Track Event: SDK is not initialized yet","instance","clientSecret","6lxCOWd","sdkInitialized","initializationPromise","168849QtsKIa","4097681tRUFIt","SDK is disabled form server, contact your adminstrator!","_instance","isEnabled","trim","appToken","Track Event: SDK is not enabled!","checkPushToken","trackEvent","error","warn","performInitialization","info","startTrackerAutomatically","deferredData"];return(_0x381b=function(){return e})()}!function(){const e=_0x361b,t=_0x381b();for(;;)try{if(654822===parseInt(e(126))/1+parseInt(e(153))/2+-parseInt(e(146))/3+parseInt(e(147))/4*(-parseInt(e(157))/5)+parseInt(e(123))/6*(parseInt(e(127))/7)+parseInt(e(142))/8*(-parseInt(e(161))/9)+parseInt(e(158))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x1cc8d7(121)](){const e=_0x1cc8d7;return!WiseTrack[e(129)]&&(WiseTrack._instance=new WiseTrack),WiseTrack[e(129)]}constructor(){this.sdkInitialized=!1,this.initializationPromise=null}init(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x361b;if(this[t(125)])return this.initializationPromise;if(this[t(124)])WTLogger.info(t(155));else if(""!==e[t(132)][t(131)]()){if(""!==e[t(122)][t(131)]())return e[t(118)]&&WTLogger.setLevel(e[t(118)]),this.initializationPromise=this[t(138)](e),tracker[t(150)](),this[t(125)];WTLogger[t(136)](t(159))}else WTLogger.error(t(154))})}[_0x1cc8d7(138)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x361b;var r,n;try{yield configure.configureSDK(e),this[t(124)]=!0;if(null===(r=e[t(140)])||void 0===r||r){const r=1e3*(null!==(n=e.trackingWaitingTime)&&void 0!==n?n:0);r>0?setTimeout(()=>this[t(152)](),r):yield this[t(152)]()}}catch(e){throw this.initializationPromise=null,e}})}[_0x1cc8d7(143)](e){WTLogger.setLevel(e)}flush(){const e=_0x1cc8d7;WTLogger[e(139)]("Clearing Data and stop tracker!"),storageManager[e(160)](),this[e(151)]()}[_0x1cc8d7(130)](){return storageManager[_0x1cc8d7(156)]}[_0x1cc8d7(149)](e){const t=_0x1cc8d7,r=storageManager.config;if(!r)throw new Error(t(162));if(!r[t(156)])throw new Error(t(128));storageManager[t(156)]=e}[_0x1cc8d7(152)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x361b;this[e(124)]?this.isEnabled()?yield tracker[e(152)]():WTLogger[e(137)]("Start Tracking: SDK is not enabled!"):WTLogger[e(137)]("‼️ Start Tracking: SDK is not initialized yet")})}[_0x1cc8d7(151)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x361b;yield tracker[e(151)]()})}setFCMToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x361b;yield tracker[t(134)](e)})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x361b;this[t(124)]?this.isEnabled()?yield tracker[t(135)](e):WTLogger[t(137)](t(133)):WTLogger[t(137)](t(120))})}[_0x1cc8d7(119)](e){tracker[_0x1cc8d7(119)](e)}getLastDeeplink(){return storageManager[_0x1cc8d7(148)]}[_0x1cc8d7(144)](){const e=_0x1cc8d7;var t;return(null===(t=storageManager[e(141)])||void 0===t?void 0:t[e(145)])||null}}const _0x588a62=_0x53c9;function _0x53c9(e,t){const r=_0xb2db();return(_0x53c9=function(e,t){return r[e-=372]})(e,t)}function _0xb2db(){const e=["INR","AED","412LgRvFG","CNY","40935NABhrP","BRL","1448505FKGKRQ","CAD","24VRpCEB","478230FswtfC","TRY","IQD","EUR","SEK","NZD","1095878ZHVBck","KRW","BTC","SAR","JPY","983829TPQXFt","EHT","NOK","2255760rEfMxU","HKD","1855674nyATeB","USD","AUD"];return(_0xb2db=function(){return e})()}!function(){const e=_0x53c9,t=_0xb2db();for(;;)try{if(551425===parseInt(e(397))/1+-parseInt(e(375))/2+parseInt(e(394))/3+-parseInt(e(390))/4*(parseInt(e(392))/5)+parseInt(e(385))/6+parseInt(e(380))/7*(parseInt(e(396))/8)+parseInt(e(383))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:_0x588a62(386),EUR:_0x588a62(372),JPY:_0x588a62(379),GBP:"GBP",AUD:_0x588a62(387),CAD:_0x588a62(395),CHF:"CHF",CNY:_0x588a62(391),SEK:_0x588a62(373),NZD:_0x588a62(374),MXN:"MXN",SGD:"SGD",HKD:_0x588a62(384),NOK:_0x588a62(382),KRW:_0x588a62(376),TRY:_0x588a62(398),RUB:"RUB",INR:_0x588a62(388),BRL:_0x588a62(393),ZAR:"ZAR",IRR:"IRR",AED:_0x588a62(389),IQD:_0x588a62(399),SAR:_0x588a62(378),OMR:"OMR",BTC:_0x588a62(377),EHT:_0x588a62(381),LTC:"LTC"},_0x3e0136=_0x3315;!function(){const e=_0x3315,t=_0x4e09();for(;;)try{if(101551===-parseInt(e(458))/1*(-parseInt(e(475))/2)+-parseInt(e(480))/3*(-parseInt(e(450))/4)+parseInt(e(457))/5*(parseInt(e(452))/6)+parseInt(e(470))/7+parseInt(e(447))/8*(-parseInt(e(479))/9)+parseInt(e(478))/10*(-parseInt(e(464))/11)+-parseInt(e(456))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x3315;super(e),this[t(462)]=t(465)}}class WTEventValidator{static[_0x3e0136(461)](e){const t=_0x3e0136;return this.SQL_INJECTION_PATTERNS[t(474)](r=>r[t(451)](e))}static[_0x3e0136(466)](e){const t=_0x3e0136;return this[t(476)][t(474)](r=>r[t(451)](e))}static[_0x3e0136(454)](e){const t=_0x3e0136;return this[t(460)][t(474)](r=>e[t(463)](r))}static[_0x3e0136(477)](e){const t=_0x3e0136;if(this[t(461)](e))return!0;if(this[t(466)](e))return!0;if(this[t(454)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(477)](r))return!0}catch(e){}return!1}static validateKey(e){const t=_0x3e0136;if(!e||typeof e!==t(455))throw new WTEventValidationError(t(471));if(e.length>this.MAX_LENGTH)throw new WTEventValidationError(t(472)+this[t(469)]+" characters");if(e===this[t(459)])throw new WTEventValidationError("Key cannot be '"+this[t(459)]+"'");if(this[t(477)](e))throw new WTEventValidationError(t(467)+e+'" is not valid. Please use different characters')}static validateValue(e){const t=_0x3e0136;if(null==e)throw new WTEventValidationError(t(448));const r=String(e);if(r.length>this[t(469)])throw new WTEventValidationError(t(468)+this[t(469)]+t(473));if(this[t(477)](r))throw new WTEventValidationError(t(453)+e+t(449))}}function _0x3315(e,t){const r=_0x4e09();return(_0x3315=function(e,t){return r[e-=447]})(e,t)}function _0x4e09(){const e=["containsDangerousChars","string","3746604FIQKYt","16365GFPwwh","49391eLrmgC","FORBIDDEN_KEY","DANGEROUS_CHARS","containsSQLInjection","name","includes","627PvPgbo","WTEventValidationError","containsScriptInjection",'key "',"Value length must not exceed ","MAX_LENGTH","1171492SEFkCY","Key must be a non-empty string","Key length must not exceed "," characters","some","6QUpWtl","SCRIPT_INJECTION_PATTERNS","isMaliciousContent","7250cSOdVS","35631MOifQy","131823huCYUr","SQL_INJECTION_PATTERNS","8Ajmwmm","Value cannot be null or undefined",'" is not valid. Please use different characters',"8gyhjok","test","102MItFsi",'value "'];return(_0x4e09=function(){return e})()}WTEventValidator[_0x3e0136(469)]=50,WTEventValidator.FORBIDDEN_KEY="no_parameters",WTEventValidator[_0x3e0136(481)]=[/(\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[_0x3e0136(460)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"];const _0x4421e9=_0x373e;function _0x373e(e,t){const r=_0xc8c1();return(_0x373e=function(e,t){return r[e-=245]})(e,t)}function _0xc8c1(){const e=["395510Vbyjyx","validateAndSetParams","830132KUwQAg","revenueEvent","1941919OjuUfK","validateValue","currency",'WTEvent validation failed for key "',"warn","name","validateKey","message","60lvSYXZ","44280PYiagt","params","3018696LtnLBZ","default","entries","1683402mGZjoJ",'": ',"233304ShzYIY","amount","revenue"];return(_0xc8c1=function(){return e})()}!function(){const e=_0x373e,t=_0xc8c1();for(;;)try{if(219481===parseInt(e(257))/1+parseInt(e(259))/2+-parseInt(e(254))/3+parseInt(e(247))/4*(-parseInt(e(246))/5)+-parseInt(e(252))/6+parseInt(e(261))/7+-parseInt(e(249))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEvent{constructor(e,t,r,n,i){const s=_0x373e;this.type=e,this[s(266)]=t,this[s(255)]=r,this[s(263)]=n,this[s(248)]={},i&&this[s(258)](i)}static defaultEvent(e,t){return new WTEvent(_0x373e(250),e,void 0,void 0,t)}static[_0x4421e9(260)](e,t,r,n){return new WTEvent(_0x4421e9(256),e,t,r,n)}[_0x4421e9(258)](e){const t=_0x4421e9;for(const[r,n]of Object[t(251)](e))try{WTEventValidator[t(267)](r),WTEventValidator[t(262)](n),this[t(248)][r]=n}catch(e){if(e instanceof WTEventValidationError)throw WTLogger[t(265)](t(264)+r+t(253)+e[t(245)]),e;throw e}}}function _0x236c(e,t){var r=_0x5732();return(_0x236c=function(e,t){return r[e-=285]})(e,t)}function _0x5732(){var e=["145944akYbiG","537936NLBIoK","7540KqHqfe","514DaRnyK","10UWjVQW","581ZKVcxi","70488raqKEv","798JtHOjP","419556FXcaXF","18792kHGJkE","5742mHNwhR"];return(_0x5732=function(){return e})()}!function(){for(var e=_0x236c,t=_0x5732();;)try{if(107745===-parseInt(e(291))/1+-parseInt(e(294))/2*(parseInt(e(287))/3)+-parseInt(e(292))/4+parseInt(e(295))/5*(-parseInt(e(288))/6)+parseInt(e(285))/7*(parseInt(e(289))/8)+parseInt(e(286))/9+-parseInt(e(293))/10*(-parseInt(e(290))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.ResourceWrapper=ResourceWrapper,exports.RevenueCurrency=RevenueCurrency,exports.WTEvent=WTEvent,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;