wisetrack 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -10
- package/dist/cdn/sdk.bundle.min.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +4 -2
- package/dist/constants/constants.d.ts +0 -20
- package/dist/constants/constants.js +0 -19
- package/dist/constants/constants.js.map +0 -1
- package/dist/constants/endpoints.d.ts +0 -11
- package/dist/constants/endpoints.js +0 -10
- package/dist/constants/endpoints.js.map +0 -1
- package/dist/constants/environments.d.ts +0 -25
- package/dist/constants/environments.js +0 -37
- package/dist/constants/environments.js.map +0 -1
- package/dist/core/caching/queue-data.d.ts +0 -25
- package/dist/core/caching/queue-data.js +0 -50
- package/dist/core/caching/queue-data.js.map +0 -1
- package/dist/core/caching/request-queue-manager.d.ts +0 -54
- package/dist/core/caching/request-queue-manager.js +0 -333
- package/dist/core/caching/request-queue-manager.js.map +0 -1
- package/dist/core/fields/event-fields-builder.d.ts +0 -8
- package/dist/core/fields/event-fields-builder.js +0 -29
- package/dist/core/fields/event-fields-builder.js.map +0 -1
- package/dist/core/fields/fields-builder.d.ts +0 -9
- package/dist/core/fields/fields-builder.js +0 -120
- package/dist/core/fields/fields-builder.js.map +0 -1
- package/dist/core/network/api-client.d.ts +0 -9
- package/dist/core/network/api-client.js +0 -88
- package/dist/core/network/api-client.js.map +0 -1
- package/dist/core/network/network-error.d.ts +0 -17
- package/dist/core/network/network-error.js +0 -35
- package/dist/core/network/network-error.js.map +0 -1
- package/dist/core/network/network-manager.d.ts +0 -22
- package/dist/core/network/network-manager.js +0 -72
- package/dist/core/network/network-manager.js.map +0 -1
- package/dist/core/network/retry-policy.d.ts +0 -8
- package/dist/core/network/retry-policy.js +0 -26
- package/dist/core/network/retry-policy.js.map +0 -1
- package/dist/core/storage/storage-manager.d.ts +0 -52
- package/dist/core/storage/storage-manager.js +0 -221
- package/dist/core/storage/storage-manager.js.map +0 -1
- package/dist/core/wisetrack.d.ts +0 -125
- package/dist/core/wisetrack.js +0 -277
- package/dist/core/wisetrack.js.map +0 -1
- package/dist/core/wt-tracker.d.ts +0 -25
- package/dist/core/wt-tracker.js +0 -239
- package/dist/core/wt-tracker.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/dist/types/config/initial-config.d.ts +0 -43
- package/dist/types/config/initial-config.js +0 -2
- package/dist/types/config/initial-config.js.map +0 -1
- package/dist/types/config/wt-app-settings.d.ts +0 -15
- package/dist/types/config/wt-app-settings.js +0 -25
- package/dist/types/config/wt-app-settings.js.map +0 -1
- package/dist/types/config/wt-config.d.ts +0 -18
- package/dist/types/config/wt-config.js +0 -28
- package/dist/types/config/wt-config.js.map +0 -1
- package/dist/types/event/revenue-currency.d.ts +0 -39
- package/dist/types/event/revenue-currency.js +0 -39
- package/dist/types/event/revenue-currency.js.map +0 -1
- package/dist/types/event/wt-event.d.ts +0 -94
- package/dist/types/event/wt-event.js +0 -93
- package/dist/types/event/wt-event.js.map +0 -1
- package/dist/utils/activity-ticker.d.ts +0 -12
- package/dist/utils/activity-ticker.js +0 -37
- package/dist/utils/activity-ticker.js.map +0 -1
- package/dist/utils/country-finder.d.ts +0 -9
- package/dist/utils/country-finder.js +0 -71
- package/dist/utils/country-finder.js.map +0 -1
- package/dist/utils/crypto-helper.d.ts +0 -4
- package/dist/utils/crypto-helper.js +0 -7
- package/dist/utils/crypto-helper.js.map +0 -1
- package/dist/utils/device-detector.d.ts +0 -41
- package/dist/utils/device-detector.js +0 -101
- package/dist/utils/device-detector.js.map +0 -1
- package/dist/utils/logger.d.ts +0 -36
- package/dist/utils/logger.js +0 -84
- package/dist/utils/logger.js.map +0 -1
- package/dist/utils/storage-support.d.ts +0 -16
- package/dist/utils/storage-support.js +0 -86
- package/dist/utils/storage-support.js.map +0 -1
- package/dist/utils/utils.d.ts +0 -5
- package/dist/utils/utils.js +0 -95
- package/dist/utils/utils.js.map +0 -1
- package/dist/utils/webgl-fingerprint.d.ts +0 -7
- package/dist/utils/webgl-fingerprint.js +0 -100
- package/dist/utils/webgl-fingerprint.js.map +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function o(e){try{c(i.next(e))}catch(e){s(e)}}function a(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((i=i.apply(e,t||[])).next())})}function _0x14b6(){const e=["2.0.0","web","1229425lwxzqw","6731285omubvn","2616jtayGq","37899NeccLd","https://config.wisetrack.io","2236682xJruES","21528970FbcPGD","1800000","17475HwluVB","997bfbb583c1245a426a53dc1899ec779ff354f9","432ApjaMx","502668InQBYk","77MrWKiy","debug"];return(_0x14b6=function(){return e})()}"function"==typeof SuppressedError&&SuppressedError;const _0x351a10=_0x2986;function _0x2986(e,t){const r=_0x14b6();return(_0x2986=function(e,t){return r[e-=314]})(e,t)}!function(){const e=_0x2986,t=_0x14b6();for(;;)try{if(744063===parseInt(e(324))/1+-parseInt(e(329))/2+parseInt(e(316))/3*(-parseInt(e(318))/4)+-parseInt(e(325))/5+parseInt(e(319))/6*(-parseInt(e(320))/7)+-parseInt(e(326))/8*(-parseInt(e(327))/9)+parseInt(e(314))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{HASH:_0x351a10(317),PLATFORM:_0x351a10(323),VERSION:_0x351a10(322)},CONFIG:{BASE_URL:_0x351a10(328),DEFAULT_ENVIRONMENT:_0x351a10(321)},DEFAULTS:{LOG_LEVEL:_0x351a10(321),SESSION_INTERVAL:_0x351a10(315),SUBSESSION_INTERVAL:"300000",PARAMETERS_VALUE:void 0}},_0x43638b=_0x4e47;function _0x3b7c(){const e=["STAGE","10311750tcWOly","89943IxzfwN","423933FEunmw","https://core.debug.wisetrackdev.ir","sdkEnvironment","718510rCKGWb","PRODUCTION","DEBUG","6QmzTlm","8807283IaeXlw","debug","CONFIG","DEFAULT_ENVIRONMENT","3528264BjviwK","production","193812RItLyo","Unknown environment: ","stage","304xbQMSj","36lhujQf","https://core.stage.wisetrackdev.ir"];return(_0x3b7c=function(){return e})()}function _0x4e47(e,t){const r=_0x3b7c();return(_0x4e47=function(e,t){return r[e-=116]})(e,t)}!function(){const e=_0x4e47,t=_0x3b7c();for(;;)try{if(751117===-parseInt(e(120))/1+-parseInt(e(135))/2*(-parseInt(e(129))/3)+-parseInt(e(118))/4+-parseInt(e(132))/5*(-parseInt(e(124))/6)+parseInt(e(128))/7*(parseInt(e(123))/8)+-parseInt(e(136))/9+parseInt(e(127))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),_0x43638b(119);const WTSDKEnvironment={DEBUG:_0x43638b(137),STAGE:_0x43638b(122),PRODUCTION:_0x43638b(119)},EnvironmentUtils={sdkEnvironment:WTConstants[_0x43638b(116)][_0x43638b(117)],needAppSettings(){const e=_0x43638b;return this[e(131)]!==WTSDKEnvironment[e(133)]},baseUrl(){const e=_0x43638b;switch(this[e(131)]){case WTSDKEnvironment[e(134)]:return e(130);case WTSDKEnvironment[e(126)]:return e(125);case WTSDKEnvironment[e(133)]:return"https://core.wisetrack.io";default:throw new Error(e(121)+this.sdkEnvironment)}}},_0x3f3b61=_0x31e1;!function(){const e=_0x31e1,t=_0x4f28();for(;;)try{if(988936===parseInt(e(341))/1+-parseInt(e(339))/2*(parseInt(e(348))/3)+-parseInt(e(346))/4+parseInt(e(345))/5*(-parseInt(e(350))/6)+parseInt(e(343))/7+parseInt(e(338))/8+-parseInt(e(347))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x3f3b61(349),SESSIONS:_0x3f3b61(340),SDK_CLICKS:_0x3f3b61(344),SDK_INFOS:_0x3f3b61(351),ATTRIBUTIONS:_0x3f3b61(342),APP_SETTINGS:"/api/v1/app_settings"};function _0x31e1(e,t){const r=_0x4f28();return(_0x31e1=function(e,t){return r[e-=338]})(e,t)}function _0x4f28(){const e=["6cerXcD","/api/v1/events","6jMGsru","/api/v1/sdk_infos","12953432LFoHNn","1592296BdnnDJ","/api/v1/sessions","1770256tAQata","/api/v1/attributions","9366049rSQmGo","/api/v1/sdk_clicks","8019985GmOrJc","346620cdjqqP","4100022IIDRZz"];return(_0x4f28=function(){return e})()}var _0x8d603a=_0x345e;function _0x4fe0(){var e=["1614OkFqAW","sdkInfos","4086DrPsjR","30QnMdiQ","fromJson","SDK_CLICKS","subsessionInterval","140JZHwJZ","attributions","239WhgYSJ","EVENTS","379955MitNhI","sdkClicks","events","DEFAULTS","26jtGIBT","session_interval","1848024IlRPWH","3446216PyTvWU","sessions","387706DTEvBX","SESSIONS","7xokBXC","SESSION_INTERVAL","fromConfig","ATTRIBUTIONS","960eodpcx","sdk_infos","sessionInterval","SUBSESSION_INTERVAL","3469308GAvodM"];return(_0x4fe0=function(){return e})()}function _0x345e(e,t){var r=_0x4fe0();return(_0x345e=function(e,t){return r[e-=151]})(e,t)}!function(){for(var e=_0x345e,t=_0x4fe0();;)try{if(428897===parseInt(e(174))/1*(parseInt(e(167))/2)+parseInt(e(165))/3*(-parseInt(e(160))/4)+parseInt(e(176))/5*(parseInt(e(168))/6)+parseInt(e(156))/7*(-parseInt(e(152))/8)+parseInt(e(151))/9+parseInt(e(172))/10*(parseInt(e(154))/11)+-parseInt(e(164))/12*(parseInt(e(180))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAppSettings{constructor(e,t,r,i,n,s=WTConstants.DEFAULTS[_0x8d603a(157)],o=WTConstants[_0x8d603a(179)][_0x8d603a(163)]){var a=_0x8d603a;this[a(178)]=e,this[a(153)]=t,this[a(177)]=r,this[a(166)]=i,this[a(173)]=n,this[a(162)]=s,this[a(171)]=o}static[_0x8d603a(158)](e){var t=_0x8d603a;return new WTAppSettings(e[t(178)],e[t(153)],e[t(177)],e.sdkInfos,e[t(173)],e[t(162)],e[t(171)])}static[_0x8d603a(169)](e){var t,r,i=_0x8d603a;return new WTAppSettings(e[i(178)],e.sessions,e.sdk_clicks,e[i(161)],e.attributions,null!==(t=e[i(181)])&&void 0!==t?t:WTConstants[i(179)][i(157)],null!==(r=e.subsession_interval)&&void 0!==r?r:WTConstants.DEFAULTS.SUBSESSION_INTERVAL)}static get defaultValue(){var e=_0x8d603a;return new WTAppSettings(WTEndpoints[e(175)],WTEndpoints[e(155)],WTEndpoints[e(170)],WTEndpoints.SDK_INFOS,WTEndpoints[e(159)],WTConstants[e(179)][e(157)],WTConstants.DEFAULTS.SUBSESSION_INTERVAL)}}function _0x2fbb(e,t){var r=_0x1369();return(_0x2fbb=function(e,t){return r[e-=412]})(e,t)}var _0x26e84c=_0x2fbb;function _0x1369(){var e=["sdk_infos","10542rZIZtr","EVENTS","11PqYZFD","subsessionInterval","force_update","2495Qmxjnv","sdkClicks","4003560wMLIDF","1604106SMALkS","sdk_clicks","fromJson","970047KLxSLJ","SESSION_INTERVAL","forceUpdate","defaultValue","4DANKDd","attributions","17618710TahGcN","APP_SETTINGS","sdk_update","SDK_CLICKS","8ijURLj","5607322bTQmZL","sdkEnabled","appSettings","DEFAULTS","76149372NlNqyf","session_interval","2SAfwiE","sdk_enabled","baseUrl","SESSIONS","sessions","base_url","SUBSESSION_INTERVAL","app_settings"];return(_0x1369=function(){return e})()}!function(){for(var e=_0x2fbb,t=_0x1369();;)try{if(956532===parseInt(e(425))/1*(-parseInt(e(442))/2)+parseInt(e(422))/3*(-parseInt(e(429))/4)+-parseInt(e(419))/5*(parseInt(e(414))/6)+parseInt(e(436))/7*(-parseInt(e(435))/8)+-parseInt(e(421))/9+parseInt(e(431))/10*(-parseInt(e(416))/11)+parseInt(e(440))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,i,n,s,o,a=!0,c=!1,u=!1,d=WTConstants[_0x26e84c(439)].SESSION_INTERVAL,p=WTConstants[_0x26e84c(439)][_0x26e84c(448)]){var l=_0x26e84c;this[l(444)]=e,this.events=t,this.sessions=r,this[l(420)]=i,this.sdkInfos=n,this[l(430)]=s,this[l(438)]=o,this[l(437)]=a,this[l(427)]=c,this.sdkUpdate=u,this.sessionInterval=d,this[l(417)]=p}static[_0x26e84c(424)](e){var t,r,i,n,s,o=_0x26e84c;return new WTConfig(e[o(447)],e.events,e[o(446)],e[o(423)],e[o(413)],e[o(430)],e[o(412)],null===(t=e[o(443)])||void 0===t||t,null!==(r=e[o(418)])&&void 0!==r&&r,null!==(i=e[o(433)])&&void 0!==i&&i,null!==(n=e[o(441)])&&void 0!==n?n:WTConstants[o(439)][o(426)],null!==(s=e.subsession_interval)&&void 0!==s?s:WTConstants[o(439)][o(448)])}static get[_0x26e84c(428)](){var e=_0x26e84c;return new WTConfig(EnvironmentUtils[e(444)](),WTEndpoints[e(415)],WTEndpoints[e(445)],WTEndpoints[e(434)],WTEndpoints.SDK_INFOS,WTEndpoints.ATTRIBUTIONS,WTEndpoints[e(432)])}}const _0x52b81d=_0x1742;function _0x1742(e,t){const r=_0x2500();return(_0x1742=function(e,t){return r[e-=124]})(e,t)}!function(){const e=_0x1742,t=_0x2500();for(;;)try{if(203459===-parseInt(e(148))/1+parseInt(e(137))/2*(-parseInt(e(146))/3)+parseInt(e(138))/4+-parseInt(e(143))/5+parseInt(e(132))/6+-parseInt(e(140))/7+parseInt(e(130))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}class ConsoleLogEngine extends WTLogEngine{[_0x52b81d(127)](e,t,...r){const i=_0x52b81d;switch(e){case i(135):console[i(135)](t,...r);break;case i(144):console.info(t,...r);break;case"warn":console[i(136)](t,...r);break;case i(129):console.error(t,...r);break;default:console[i(127)](t,...r)}}}const WTLogLevel={DEBUG:_0x52b81d(135),INFO:_0x52b81d(144),WARN:_0x52b81d(136),ERROR:_0x52b81d(129),NONE:_0x52b81d(134)};function _0x2500(){const e=["setLevel","157452jGUHaN","prefix","level","LOG_LEVEL","log","push","error","1234176mNBMwE","indexOf","2199906VNBncV","shouldLog","none","debug","warn","2whXiJt","1571216PmJpsu","setPrefix","1299557fQLjAt","addOutputEngine","toUpperCase","1556820WYnpJA","info","outputEngines","167403MrWGBY"];return(_0x2500=function(){return e})()}class WTLogger{static[_0x52b81d(147)](e){this[_0x52b81d(125)]=e}static[_0x52b81d(139)](e){this[_0x52b81d(124)]=e}static[_0x52b81d(141)](e){const t=_0x52b81d;this.outputEngines[t(128)](e)}static[_0x52b81d(133)](e){const t=_0x52b81d,r=[t(135),t(144),"warn",t(129)],i=r[t(131)](this[t(125)]);return r[t(131)](e)>=i}static[_0x52b81d(127)](e,...t){const r=_0x52b81d;if(!this[r(133)](e))return;const i="["+this[r(124)]+"-"+e[r(142)]()+"]";for(const n of this[r(145)])n[r(127)](e,i,...t)}static[_0x52b81d(135)](...e){const t=_0x52b81d;this.log(t(135),...e)}static info(...e){this.log("info",...e)}static[_0x52b81d(136)](...e){this[_0x52b81d(127)]("warn",...e)}static error(...e){const t=_0x52b81d;this[t(127)](t(129),...e)}}WTLogger[_0x52b81d(125)]=WTConstants.DEFAULTS[_0x52b81d(126)],WTLogger.prefix="WT",WTLogger.outputEngines=[new ConsoleLogEngine];var _0x1e107b=_0x15dc;function _0x1c3b(){var e=["7591243CpOSDJ","firstSessionSubmit","WT.Configs","pushToken","fcmToken","WT.RequestQueue","pendingRequestRecords","3jxMozy","FIRST_SESSION_SUBMIT","sdkClickSubmit","true","WT.PendingRequestQueue","5CirfLU","48rXelSA","inactiveTime","4nFpkVW","optionalNumber","1010CMdOtD","getItem","WT.InactiveTime","toString","setJson","Error in encoding object for key '","SDK_ENABLED","7NBQjFy","error","optionalBool","2123202ZXnKOO","': ","WT.InactiveDuration","eventCount","WT.InitialDate","71793yKMJqT","activeTime","EVENT_COUNT","WT.SessionCount","WT.SessionLenght","appSettings","WT.DeviceId","sessionCount","CONFIG","1315576WaPzmk","DEVICE_ID","8310152rRyFjV","initialDate","INACTIVE_DURATION","WT.FcmToken","setItem","WT.InitialConfigs","initialConfig","sdkEnabled","9175088sRfBoh","clear","WT.ActiveTime","activeDuration","WT.SdkClickSubmit","PUSH_TOKEN","PENDING_REQUEST_QUEUE","subSessionCount","stringify","WT.AppSettings","FCM_TOKEN","547211iDBnEY","WT.FirstSessionSubmit","ACTIVE_TIME","getJson","WT.SdkEnabled","deviceId","inactiveDuration","INACTIVE_TIME","WT.EventCount","APP_SETTINGS","REQUEST_QUEUE","false","removeItem","SESSION_LENGTH","SUBSESSION_COUNT"];return(_0x1c3b=function(){return e})()}function _0x15dc(e,t){var r=_0x1c3b();return(_0x15dc=function(e,t){return r[e-=221]})(e,t)}!function(){for(var e=_0x15dc,t=_0x1c3b();;)try{if(599322===-parseInt(e(257))/1*(parseInt(e(287))/2)+-parseInt(e(279))/3*(parseInt(e(236))/4)+-parseInt(e(284))/5*(-parseInt(e(222))/6)+-parseInt(e(296))/7*(parseInt(e(238))/8)+parseInt(e(227))/9*(-parseInt(e(289))/10)+parseInt(e(272))/11+-parseInt(e(285))/12*(-parseInt(e(246))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x1e107b(233),INITIAL_DATE:_0x1e107b(226),INITIAL_CONFIG:_0x1e107b(243),CONFIG:_0x1e107b(274),APP_SETTINGS:_0x1e107b(255),SDK_CLICK_SUBMIT:_0x1e107b(250),FIRST_SESSION_SUBMIT:_0x1e107b(258),SDK_ENABLED:_0x1e107b(261),FCM_TOKEN:_0x1e107b(241),PUSH_TOKEN:"WT.PushToken",EVENT_COUNT:_0x1e107b(265),SESSION_COUNT:_0x1e107b(230),SESSION_LENGTH:_0x1e107b(231),SUBSESSION_COUNT:"WT.SubSessionCount",ACTIVE_TIME:_0x1e107b(248),INACTIVE_TIME:_0x1e107b(291),INACTIVE_DURATION:_0x1e107b(224),REQUEST_QUEUE:_0x1e107b(277),PENDING_REQUEST_QUEUE:_0x1e107b(283)};class StorageManager{[_0x1e107b(247)](){localStorage[_0x1e107b(247)]()}[_0x1e107b(293)](e,t){var r=_0x1e107b;if(t)try{const i=JSON[r(254)](t);localStorage[r(242)](e,i)}catch(t){WTLogger[r(297)](r(294)+e+"'",t)}else localStorage.removeItem(e)}getJson(e){var t=_0x1e107b;const r=localStorage[t(290)](e);if(!r)return null;try{return JSON.parse(r)}catch(r){return WTLogger.error("Error in JSON decoding for key '"+e+t(223)+r,r),null}}[_0x1e107b(288)](e){const t=localStorage[_0x1e107b(290)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x1e107b(221)](e){var t=_0x1e107b;const r=localStorage[t(290)](e);return null===r?null:r===t(282)||r!==t(268)&&null}get[_0x1e107b(262)](){var e=_0x1e107b;return localStorage[e(290)](WTStorageKeys[e(237)])}set[_0x1e107b(262)](e){var t=_0x1e107b;e?localStorage[t(242)](WTStorageKeys.DEVICE_ID,e):localStorage[t(269)](WTStorageKeys[t(237)])}get[_0x1e107b(239)](){return this[_0x1e107b(260)](WTStorageKeys.INITIAL_DATE)}set[_0x1e107b(239)](e){this.setJson(WTStorageKeys.INITIAL_DATE,e)}get[_0x1e107b(244)](){return this[_0x1e107b(260)](WTStorageKeys.INITIAL_CONFIG)}set initialConfig(e){this[_0x1e107b(293)](WTStorageKeys.INITIAL_CONFIG,e)}get config(){var e=_0x1e107b;return this[e(260)](WTStorageKeys[e(235)])}set config(e){var t=_0x1e107b;this[t(293)](WTStorageKeys[t(235)],e)}get[_0x1e107b(232)](){var e=_0x1e107b;return this[e(260)](WTStorageKeys[e(266)])}set[_0x1e107b(232)](e){this[_0x1e107b(293)](WTStorageKeys.APP_SETTINGS,e)}get[_0x1e107b(245)](){var e,t=_0x1e107b;return null!==(e=this[t(221)](WTStorageKeys[t(295)]))&&void 0!==e&&e}set[_0x1e107b(245)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys[t(295)],e[t(292)]())}get[_0x1e107b(281)](){var e;return null!==(e=this.optionalBool(WTStorageKeys.SDK_CLICK_SUBMIT))&&void 0!==e&&e}set[_0x1e107b(281)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys.SDK_CLICK_SUBMIT,e[t(292)]())}get firstSessionSubmit(){var e,t=_0x1e107b;return null!==(e=this[t(221)](WTStorageKeys[t(280)]))&&void 0!==e&&e}set[_0x1e107b(273)](e){var t=_0x1e107b;localStorage.setItem(WTStorageKeys.FIRST_SESSION_SUBMIT,e[t(292)]())}get fcmToken(){return localStorage[_0x1e107b(290)](WTStorageKeys.FCM_TOKEN)}set[_0x1e107b(276)](e){var t=_0x1e107b;e?localStorage[t(242)](WTStorageKeys[t(256)],e):localStorage[t(269)](WTStorageKeys[t(256)])}get[_0x1e107b(275)](){var e=_0x1e107b;return localStorage[e(290)](WTStorageKeys[e(251)])}set[_0x1e107b(275)](e){var t=_0x1e107b;e?localStorage[t(242)](WTStorageKeys[t(251)],e):localStorage[t(269)](WTStorageKeys[t(251)])}get[_0x1e107b(234)](){var e;return null!==(e=this[_0x1e107b(288)](WTStorageKeys.SESSION_COUNT))&&void 0!==e?e:1}set[_0x1e107b(234)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys.SESSION_COUNT,e[t(292)]())}get[_0x1e107b(253)](){var e,t=_0x1e107b;return null!==(e=this.optionalNumber(WTStorageKeys[t(271)]))&&void 0!==e?e:1}set[_0x1e107b(253)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys[t(271)],e[t(292)]())}get activeDuration(){var e,t=_0x1e107b;return null!==(e=this[t(288)](WTStorageKeys[t(270)]))&&void 0!==e?e:0}set[_0x1e107b(249)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys[t(270)],e.toString())}get[_0x1e107b(263)](){var e,t=_0x1e107b;return null!==(e=this[t(288)](WTStorageKeys[t(240)]))&&void 0!==e?e:0}set[_0x1e107b(263)](e){var t=_0x1e107b;localStorage[t(242)](WTStorageKeys[t(240)],e[t(292)]())}get[_0x1e107b(286)](){var e=_0x1e107b;return this[e(288)](WTStorageKeys[e(259)])}set inactiveTime(e){var t=_0x1e107b;null!==e?localStorage[t(242)](WTStorageKeys[t(259)],e.toString()):localStorage[t(269)](WTStorageKeys[t(259)])}get[_0x1e107b(228)](){var e=_0x1e107b;return this[e(288)](WTStorageKeys[e(264)])}set[_0x1e107b(228)](e){var t=_0x1e107b;null!==e?localStorage.setItem(WTStorageKeys.INACTIVE_TIME,e.toString()):localStorage[t(269)](WTStorageKeys[t(264)])}get requestRecords(){var e,t=_0x1e107b;return null!==(e=this[t(260)](WTStorageKeys[t(267)]))&&void 0!==e?e:[]}set requestRecords(e){var t=_0x1e107b;this[t(293)](WTStorageKeys[t(267)],e)}get[_0x1e107b(278)](){var e,t=_0x1e107b;return null!==(e=this[t(260)](WTStorageKeys[t(252)]))&&void 0!==e?e:[]}set[_0x1e107b(278)](e){var t=_0x1e107b;this[t(293)](WTStorageKeys[t(252)],e)}get eventCount(){var e,t=_0x1e107b;return null!==(e=this[t(288)](WTStorageKeys[t(229)]))&&void 0!==e?e:0}set[_0x1e107b(225)](e){var t=_0x1e107b;localStorage.setItem(WTStorageKeys[t(229)],e[t(292)]())}}const storageManager=new StorageManager;function _0x5b1a(e,t){var r=_0x48b9();return(_0x5b1a=function(e,t){return r[e-=488]})(e,t)}var ApiError;function _0x48b9(){var e=["2217606aHBpWV","statusCode","411020jSqFax","Invalid URL: ","23743Cjfpti","14vmqAPI","NetworkFailure","7548152VAxKHx","261VRSYng","2687130kYJctn","NetworkError: ","307104MNXjcZ","21KJsRDQ","NetworkError","InvalidUrl","message","name","DecodingError","2472102AuFIZl"];return(_0x48b9=function(){return e})()}!function(){for(var e=_0x5b1a,t=_0x48b9();;)try{if(787075===parseInt(e(505))/1*(parseInt(e(506))/2)+-parseInt(e(501))/3+-parseInt(e(493))/4+parseInt(e(491))/5+parseInt(e(500))/6*(-parseInt(e(494))/7)+parseInt(e(489))/8+parseInt(e(490))/9*(parseInt(e(503))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x5b1a;class r extends Error{constructor(e){var t=_0x5b1a;super(t(504)+e),this[t(498)]=t(496)}}e[t(496)]=r;class i extends Error{constructor(e,r){var i=t;super("ServerError "+e+": "+r),this[i(502)]=e,this[i(497)]=r,this[i(498)]="ServerError"}}e.ServerError=i;class n extends Error{constructor(e){var r=t;super(r(492)+e),this[r(498)]=r(488)}}e[t(495)]=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this[r(498)]="DecodingError"}}e[t(499)]=s}(ApiError||(ApiError={}));var _0xf4a5f=_0x4f9c;function _0x4f9c(e,t){var r=_0x5363();return(_0x4f9c=function(e,t){return r[e-=446]})(e,t)}function _0x5363(){var e=["803652UohxDK","477780ITnarH","1426nWSjCF","427ATTzDX","retryInterval","1876546nSKTHl","maxRetries","1930465cdcpSm","6rsehvv","2274064wfogJg","canRetry","872766hnyhpb"];return(_0x5363=function(){return e})()}!function(){for(var e=_0x4f9c,t=_0x5363();;)try{if(217217===parseInt(e(448))/1*(parseInt(e(447))/2)+-parseInt(e(446))/3+-parseInt(e(457))/4+-parseInt(e(452))/5*(-parseInt(e(453))/6)+parseInt(e(450))/7+-parseInt(e(454))/8+-parseInt(e(456))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x4f9c;this[r(451)]=e,this[r(449)]=t}[_0xf4a5f(455)](e){return e<this[_0xf4a5f(451)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x4f9c;return new Promise(t=>setTimeout(t,this[e(449)]))})}}function _0x10b5(e,t){const r=_0x3a68();return(_0x10b5=function(e,t){return r[e-=353]})(e,t)}function _0x3a68(){const e=["Error executing request","996880dZHqOr","NetworkError","ServerError","canRetry","167426NLbLbp","🚀 REQUEST (","message","debug","status","append","6HpzHmH","2874436UHUoBA","10782224pTDvMY","stringify","-- PARAMETERS =>","5613629AHxbtq","headers","738552yoAGbD","1349040PJRprZ",") =>","formData","method","DecodingError","params","Content-Type","application/json","text","❌ API ERROR (","retryPolicy","sendRequest","warn"];return(_0x3a68=function(){return e})()}!function(){const e=_0x10b5,t=_0x3a68();for(;;)try{if(403408===-parseInt(e(367))/1*(-parseInt(e(361))/2)+-parseInt(e(374))/3+parseInt(e(368))/4+parseInt(e(357))/5+-parseInt(e(375))/6+parseInt(e(372))/7+-parseInt(e(369))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x10b5,i=t.retryAttempt||1;let n;WTLogger[r(364)](r(362)+i+") => "+t[r(378)]+" "+e),WTLogger[r(364)](r(371),t[r(380)]||t[r(377)]||{});const s=Object.assign({Accept:r(382)},t[r(373)]);if(t.formData){const e=new FormData;for(const i in t.formData)e[r(366)](i,t[r(377)][i]);n=e}else t[r(380)]&&(s[r(381)]=r(382),n=JSON[r(370)](t.params));try{const i=yield fetch(e,{method:t.method,headers:s,body:n});if(!i.ok){let e=yield i.json(),t=e.message||(yield i[r(383)]());throw WTLogger[r(355)](r(384)+i.status+") =>",t),new ApiError.ServerError(i[r(365)],e[r(363)]||"Server error")}try{const e=yield i.json();return WTLogger.debug("✅ API SUCCESS ("+i[r(365)]+r(376),e[r(363)]||"Request successful"),e}catch(e){throw new ApiError.DecodingError(e[r(363)]||String(e))}}catch(n){if(n instanceof ApiError[r(359)]||n instanceof ApiError[r(379)])throw n;if(WTLogger.error(r(356),n),this[r(353)]()[r(360)](i))return yield this[r(353)]().waitBeforeRetry(),this[r(354)](e,Object.assign(Object.assign({},t),{retryAttempt:i+1}));throw new(ApiError[r(358)])(n[r(363)]||"Unknown error")}})}};function _0x268a(){const e=["1057304cDJDRh","hostname","12mWiENQ","HASH","SDK","6626984LYENCo","1062774pdZxZD","config","506188yRTaAS","toISOString","baseUrl","appSettings","BASE_URL","sendRequest","SDK Config is not set","appToken","PLATFORM","2565xPWFbR","34051391gSXQQR","result","21oGVkvd","Initial Config is not set","other","location","694308yToqQl","sdkEnvironment","15WNHdcH","appVersion","appFrameWork","initialConfig","fromJson","PRODUCTION","POST","51170jSMhMq"];return(_0x268a=function(){return e})()}function _0x14ed(e,t){const r=_0x268a();return(_0x14ed=function(e,t){return r[e-=290]})(e,t)}!function(){const e=_0x14ed,t=_0x268a();for(;;)try{if(891339===parseInt(e(300))/1+parseInt(e(302))/2*(parseInt(e(290))/3)+-parseInt(e(308))/4*(-parseInt(e(292))/5)+-parseInt(e(306))/6*(-parseInt(e(320))/7)+-parseInt(e(305))/8+-parseInt(e(317))/9*(-parseInt(e(299))/10)+-parseInt(e(318))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14ed,t=storageManager.initialConfig;if(!t)throw e(321);const r={app_token:t.appToken,app_version:t[e(293)],framework:t.appFrameWork,env:EnvironmentUtils[e(291)],sdk_hash:WTConstants[e(304)][e(303)],package_name:window[e(323)][e(301)],platform:WTConstants[e(304)].PLATFORM,store_name:e(322)},i=yield networkManager.sendRequest(WTConstants.CONFIG[e(312)],{method:e(298),formData:r});return WTConfig[e(296)](i.result)})},doGetAppSettings(){return __awaiter(this,void 0,void 0,function*(){const e=_0x14ed,t=storageManager[e(295)],r=storageManager[e(307)];if(!t)throw e(321);if(!r)throw e(314);if(!r[e(311)])throw"AppSettings Url is not set";const i={app_token:t[e(315)],app_version:t[e(293)],framework:t[e(294)],env:EnvironmentUtils.sdkEnvironment,sdk_hash:WTConstants[e(304)][e(303)],package_name:window[e(323)].hostname,platform:WTConstants.SDK[e(316)],store_name:"other"},n=yield networkManager[e(313)](r[e(310)]+r[e(311)],{method:"POST",formData:i});return WTAppSettings[e(296)](n[e(319)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x14ed,i=storageManager[r(295)],n=storageManager.config;if(!i)throw r(321);if(!n)throw r(314);t.updated_at=(new Date)[r(309)]();return(yield networkManager[r(313)](n[r(310)]+e,{method:"POST",params:{needs_response_details:EnvironmentUtils[r(291)]!=WTSDKEnvironment[r(297)],parameters:t}})).success})}};function _0x44c5(e,t){const r=_0xf030();return(_0x44c5=function(e,t){return r[e-=448]})(e,t)}const _0x413470=_0x44c5;function _0xf030(){const e=["tickerJob","32270VJMyFJ","521460APKpwt","2OzRxRR","3110JTPBYp","activeDuration","hasFocus","111742CXCFDH","stop","start","ActivityTicker: active duration= ","resume","23065XjjbjP","tickerDelay","inactiveDuration","isPaused","pause","log","hidden","4545gecbFb","617796LYqOdq","244DuRrVe","344kWholC","9592671PGoBhc"];return(_0xf030=function(){return e})()}!function(){const e=_0x44c5,t=_0xf030();for(;;)try{if(144909===parseInt(e(469))/1*(-parseInt(e(449))/2)+-parseInt(e(462))/3+-parseInt(e(463))/4*(parseInt(e(454))/5)+-parseInt(e(468))/6+parseInt(e(467))/7*(-parseInt(e(464))/8)+-parseInt(e(461))/9*(-parseInt(e(470))/10)+parseInt(e(465))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x44c5;this[e(455)]=1e3,this[e(457)]=!1}[_0x413470(451)](){const e=_0x413470;this[e(466)]&&clearInterval(this[e(466)]),this[e(466)]=setInterval(()=>{const t=e;this[t(457)]||document[t(460)]||document[t(448)]()&&(console[t(459)](t(452)+storageManager[t(471)]/1e3+"s, inactive duration= "+storageManager[t(456)]/1e3+"s"),storageManager.activeTime=Date.now(),storageManager[t(471)]+=this[t(455)])},this[e(455)])}[_0x413470(450)](){const e=_0x413470;clearInterval(this[e(466)]),this[e(466)]=void 0}[_0x413470(458)](){this[_0x413470(457)]=!0}[_0x413470(453)](){this[_0x413470(457)]=!1}}const activityTicker=new ActivityTicker,_0x512df9=_0x3159;function _0x3159(e,t){const r=_0x39bc();return(_0x3159=function(e,t){return r[e-=349]})(e,t)}function _0x39bc(){const e=["country","58416gIQrpZ","finally","country.is failed","520704slTnTM","https://api.country.is","107290aobREM","182LrApjD","ipwho.is failed","country_code","tryAllEndpoints","2sZGOnN","signal","_country","json","fetchWithTimeout","342HhKwtr","https://ipwho.is/","abort","432276yhGfYY","5aNTwLB","963042OKSjwv","55iROhpE","301368dAPWbQ","11450MXWtHm"];return(_0x39bc=function(){return e})()}!function(){const e=_0x3159,t=_0x39bc();for(;;)try{if(130764===-parseInt(e(356))/1*(parseInt(e(351))/2)+-parseInt(e(349))/3+-parseInt(e(368))/4+-parseInt(e(365))/5*(-parseInt(e(366))/6)+-parseInt(e(352))/7*(-parseInt(e(371))/8)+parseInt(e(361))/9*(-parseInt(e(369))/10)+-parseInt(e(367))/11*(-parseInt(e(364))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x3159(358)]=null}getCountryCode(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3159;return!this[e(358)]&&(this._country=yield this[e(355)]()),this[e(358)]})}[_0x512df9(355)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3159,t=yield this[e(360)](e(350));if(!t.ok)throw new Error(e(373));return(yield t.json())[e(370)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3159,t=yield this.fetchWithTimeout("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(373));return(yield t[e(359)]()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3159,t=yield this.fetchWithTimeout(e(362));if(!t.ok)throw new Error(e(353));return(yield t[e(359)]())[e(354)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}fetchWithTimeout(e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x3159,i=new AbortController,n=setTimeout(()=>i[r(363)](),t);return fetch(e,{signal:i[r(357)]})[r(372)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x3aca(e,t){const r=_0x565d();return(_0x3aca=function(e,t){return r[e-=303]})(e,t)}!function(){const e=_0x3aca,t=_0x565d();for(;;)try{if(925033===parseInt(e(304))/1*(-parseInt(e(309))/2)+parseInt(e(311))/3*(-parseInt(e(313))/4)+-parseInt(e(312))/5*(parseInt(e(306))/6)+-parseInt(e(307))/7*(parseInt(e(305))/8)+-parseInt(e(314))/9+-parseInt(e(308))/10*(-parseInt(e(303))/11)+parseInt(e(310))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x3aca(315)]()};function _0x565d(){const e=["3553448swLoUy","5270319BANxAr","randomUUID","1784057ScPRpQ","9449cygUCC","8ROEirR","78crIJXq","4018987OIxuPi","70SKxZyo","342zGQDLA","53041608ePBtlg","3QCqNSg","371745rtYvlU"];return(_0x565d=function(){return e})()}const _0x571952=_0x4791;function _0x4791(e,t){const r=_0x5ded();return(_0x4791=function(e,t){return r[e-=357]})(e,t)}function _0x5ded(){const e=["274998BMPNpw","maxRetries","203494kiJYVG","1371378dxwcVT","release","now","1753371BxrcDU","12779757KsYPEP","acquire","length","144921DvTDpu","1112825ccqyTi","locked","parameters","8nRwQZh","248myuElc","push","retryCount","createdAt","waitingQueue","endpoint"];return(_0x5ded=function(){return e})()}!function(){const e=_0x4791,t=_0x5ded();for(;;)try{if(344295===-parseInt(e(372))/1+parseInt(e(370))/2+-parseInt(e(376))/3+parseInt(e(363))/4*(parseInt(e(360))/5)+-parseInt(e(373))/6+-parseInt(e(359))/7*(parseInt(e(364))/8)+parseInt(e(377))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x4791;this[r(366)]=0,this[r(371)]=3,this.id=crypto.randomUUID(),this[r(369)]=e,this[r(362)]=t,this[r(367)]=Date[r(375)]()}}class Mutex{constructor(){this[_0x4791(361)]=!1,this.waitingQueue=[]}[_0x571952(357)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x4791;this[t(361)]?this[t(368)][t(365)](e):(this[t(361)]=!0,e())})})}[_0x571952(374)](){const e=_0x571952;if(this[e(368)][e(358)]>0){this[e(368)].shift()()}else this[e(361)]=!1}}const _0x3d176a=_0x21c4;function _0x21c4(e,t){const r=_0x34c8();return(_0x21c4=function(e,t){return r[e-=178]})(e,t)}function _0x34c8(){const e=["release","requestRecords","getPendingQueue","log","SESSIONS","mutex","processingInterval","debug","startProcessing","saveMainQueue","isInitialized","⏰ Backoff delay ended, resuming queue processing","push_token","processQueues","Error in processing loop:","Applying backoff delay of ","push","2943110qHjszI","2493834DOeXcj","addPendingRequest","1062678cMmEKq","parameters","8199585iFcKby","4CwSnnb","SDK_INFOS","shutdown"," processed successfully","7129152Uazbew","inactiveDuration","retryCount","✅ Request ","16CGyPFE","postRequestCheck","getBackoffConfig","addRequest","BASE_DELAY_MS","Queue Manager is not initialized. Call initialize() first.","pendingRequestRecords","⏳ Request ","firstSessionSubmit","warn","PROCESSING_INTERVAL_MS","🔄 Backoff delay manually reset","min"," failed with error after ","getQueueStatus","BACKOFF_MULTIPLIER","pow"," failed","maxRetries","MAX_DELAY_MS","acquire","❌ Request ","⚠️ Request ","processPendingQueue","sdkClickSubmit","getMainQueue","activeDuration","savePendingQueue","failedRequestDelay","doCallRequest","41613902OWTUrJ","stopProcessing"," pending requests to main queue","getMainRequestsSentFlag"," attempts. ","📦 Moved "," failed. Retry ","sendRequest","error","processMainQueue","now","6aRrRIP","isCurrentlyProcessing"," failed after ","): id=","isProcessing","fcmToken","💥 Sending request (","Error sending request ","505378jmBYIo","initialize","length","10dvAfht","endpoint"];return(_0x34c8=function(){return e})()}!function(){const e=_0x21c4,t=_0x34c8();for(;;)try{if(636753===-parseInt(e(249))/1+-parseInt(e(189))/2*(parseInt(e(241))/3)+-parseInt(e(192))/4*(parseInt(e(186))/5)+-parseInt(e(196))/6+-parseInt(e(187))/7*(parseInt(e(200))/8)+-parseInt(e(191))/9*(-parseInt(e(252))/10)+parseInt(e(230))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x21c4;this[e(179)]=!1,this[e(245)]=!1,this[e(242)]=!1,this.mutex=new Mutex,this.processingInterval=null,this[e(210)]=100,this[e(228)]=0,this[e(219)]=3e4,this[e(215)]=2,this.BASE_DELAY_MS=1e3}[_0x3d176a(250)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4;this[e(179)]=!0,!this[e(245)]&&(yield this[e(262)]())})}[_0x3d176a(194)](){return __awaiter(this,void 0,void 0,function*(){this.isInitialized&&(yield this.stopProcessing(),this.isInitialized=!1)})}[_0x3d176a(262)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4;if(this.isInitialized){yield this[e(259)].acquire();try{if(this[e(245)])return;this.isProcessing=!0,this[e(260)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(182)]()}catch(e){WTLogger[t(238)](t(183),e)}}),this[e(210)])}finally{this[e(259)][e(254)]()}yield this.processQueues()}else WTLogger[e(209)](e(205))})}[_0x3d176a(231)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4;yield this.mutex.acquire();try{this[e(245)]=!1,this.processingInterval&&(clearInterval(this.processingInterval),this.processingInterval=null)}finally{this[e(259)].release()}})}[_0x3d176a(203)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x21c4;yield this[t(259)][t(220)]();try{const r=this[t(225)]();if(r[t(185)](e),this[t(178)](r),this[t(228)]=0,!this.isProcessing)return this[t(259)].release(),void(yield this[t(262)]())}finally{this[t(245)]&&this[t(259)][t(254)]()}})}[_0x3d176a(188)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x21c4;yield this[t(259)][t(220)]();try{if(this[t(233)]()){const r=this.getMainQueue();r[t(185)](e),this.saveMainQueue(r)}else{const r=this[t(256)]();r.push(e),this[t(227)](r)}if(this[t(228)]=0,!this[t(245)])return this.mutex.release(),void(yield this[t(262)]())}finally{this[t(245)]&&this[t(259)][t(254)]()}})}[_0x3d176a(182)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4;if(this.isProcessing&&!this[e(242)]){if(this[e(228)]>0){if(Date[e(240)]()<this.failedRequestDelay)return;this[e(228)]=0,WTLogger[e(261)](e(180))}this[e(242)]=!0,yield this.mutex.acquire();try{yield this[e(239)](),yield this[e(223)]()}finally{this[e(259)][e(254)](),this[e(242)]=!1}}})}[_0x3d176a(239)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4,t=this[e(225)]();if(0===t[e(251)])return;const r=t[0];try{if(yield this.sendRequest(r))t.shift(),this[e(178)](t),this[e(201)](r),WTLogger[e(261)](e(199)+r.id+e(195));else{if(t[0][e(198)]++,t[0][e(198)]>=t[0][e(218)]){const i=this.calculateBackoffDelay(t[0].retryCount);this.failedRequestDelay=Date[e(240)]()+i,WTLogger.warn("⏳ Request "+r.id+e(243)+r[e(218)]+" attempts. "+(e(184)+i)+"ms")}else WTLogger[e(209)](e(222)+r.id+e(236)+t[0].retryCount+"/"+t[0][e(218)]);this.saveMainQueue(t)}}catch(i){if(WTLogger[e(238)](e(248)+r[e(253)]+":",i),t[0].retryCount++,t[0].retryCount>=t[0][e(218)]){const i=this.calculateBackoffDelay(t[0][e(198)]);this[e(228)]=Date.now()+i,WTLogger[e(209)](e(207)+r.id+e(213)+t[0].maxRetries+e(234)+(e(184)+i+"ms"))}this[e(178)](t)}})}calculateBackoffDelay(e){const t=_0x3d176a,r=this[t(204)]*Math[t(216)](this[t(215)],e-1);return Math[t(212)](r,this[t(219)])}[_0x3d176a(223)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x21c4;if(!this[e(233)]())return;const t=this[e(256)]();if(0===t[e(251)])return;const r=this[e(225)]();r[e(185)](...t),this[e(178)](r),this[e(227)]([]),console[e(257)](e(235)+t[e(251)]+e(232))})}[_0x3d176a(237)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x21c4;WTLogger[r(261)](r(247)+e[r(253)]+r(244)+e.id);let i=!1;try{i=yield apiClient[r(229)](e[r(253)],e[r(190)])}catch(t){WTLogger[r(238)](r(221)+e[r(253)]+r(217),t)}return i})}[_0x3d176a(225)](){return storageManager[_0x3d176a(255)]}[_0x3d176a(178)](e){storageManager[_0x3d176a(255)]=e}[_0x3d176a(256)](){return storageManager[_0x3d176a(206)]}[_0x3d176a(227)](e){storageManager[_0x3d176a(206)]=e}getMainRequestsSentFlag(){return storageManager[_0x3d176a(224)]}[_0x3d176a(201)](e){const t=_0x3d176a;switch(e[t(253)]){case WTEndpoints.SDK_CLICKS:storageManager[t(224)]=!0;break;case WTEndpoints[t(258)]:storageManager[t(208)]?(storageManager[t(226)]=0,storageManager[t(197)]=0,storageManager.subSessionCount=1):storageManager[t(208)]=!0;break;case WTEndpoints[t(193)]:storageManager[t(246)]=e[t(190)][t(181)]}}[_0x3d176a(214)](){const e=_0x3d176a;return{mainQueueLength:this[e(225)]()[e(251)],pendingQueueLength:this[e(256)]()[e(251)],isProcessing:this.isProcessing,mainRequestsSent:this[e(233)](),isInBackoffDelay:this.failedRequestDelay>0&&Date[e(240)]()<this[e(228)],backoffEndsAt:this[e(228)]>0?this.failedRequestDelay:null}}resetBackoffDelay(){const e=_0x3d176a;this[e(228)]=0,WTLogger.debug(e(211))}[_0x3d176a(202)](){const e=_0x3d176a;return{baseDelayMs:this.BASE_DELAY_MS,multiplier:this[e(215)],maxDelayMs:this[e(219)]}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var i=new r;return e(i),i}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,i){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var p=e.platform;if(p){var l=e.platformVersion;"Windows"==p&&(l=parseInt(majorize(l),10)>=13?"11":"10"),this.set(NAME,p).set(VERSION,l)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var h=this.data,E=function(t){return h[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},setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if("object"==typeof e?(isExtensions(e,!0)?("object"==typeof t&&(r=t),t=e):(r=e,t=void 0),e=void 0):"string"!=typeof e||isExtensions(t,!0)||(r=t,t=void 0),r&&"function"==typeof r.append){var i={};r.forEach(function(e,t){i[t]=e}),r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var n="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),o=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var o in e)r[o]=i[o]&&i[o].length%2==0?i[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,n,o,s).set("ua",n).set("browser",this.getBrowser()).set("cpu",this.getCPU()).set("device",this.getDevice()).set("engine",this.getEngine()).set("os",this.getOS()).get()}:function(){return new UAItem(e,n,o[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",a("browser")],["getCPU",a("cpu")],["getDevice",a("device")],["getEngine",a("engine")],["getOS",a("os")],["getResult",a("result")],["getUA",function(){return n}],["setUA",function(e){return isString(e)&&(n=e.length>500?trim(e,500):e),this}]]).setUA(n),this}UAParser.VERSION="2.0.4",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x4c34e2=_0x30c3;function _0x30c3(e,t){const r=_0x1b8d();return(_0x30c3=function(e,t){return r[e-=448]})(e,t)}function _0x1b8d(){const e=["android auto","224mmgFtN","toFixed","toLowerCase","4616956CEGidP","device","desktop","getDeviceInfo","googletv","touch","pow","small","maxTouchPoints","nintendo","1739348vFlwxx","displaySize","watch","matches","136835dvBSzn","screenDensity","low","hbbtv","console","innerWidth","devicePixelRatio","engine","cpu","long","uiMode","height","365582eappNu","sqrt","browser","1JlVpWb","includes","pointer","smarttv","embedded","matchMedia","medium","carplay","screenSize","3NnTmbn","60hziwBT","783DHSWtq","11EiEBfa","2190lDkaej","tablet","mobile","1660694KdLyBt","uiStyle","innerHeight","model","xlarge","playstation","24612ynzBFQ"];return(_0x1b8d=function(){return e})()}!function(){const e=_0x30c3,t=_0x1b8d();for(;;)try{if(752074===-parseInt(e(472))/1*(-parseInt(e(488))/2)+parseInt(e(481))/3*(-parseInt(e(499))/4)+parseInt(e(457))/5*(-parseInt(e(482))/6)+-parseInt(e(469))/7*(-parseInt(e(496))/8)+parseInt(e(483))/9*(parseInt(e(485))/10)+-parseInt(e(484))/11*(-parseInt(e(494))/12)+-parseInt(e(453))/13)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x4c34e2(502)](){const e=_0x4c34e2,t=(new UAParser).getResult();return{browser:t[e(471)],os:t.os,device:t[e(500)],engine:t[e(464)],cpu:t[e(465)],ua:t.ua}}get[_0x4c34e2(458)](){const e=_0x4c34e2;return window[e(463)]>=3?"high":window[e(463)]>=2?e(478):e(459)}get screenFormat(){const e=_0x4c34e2;return window[e(490)]>window[e(462)]?e(466):"normal"}get[_0x4c34e2(480)](){const e=_0x4c34e2,t=window[e(462)];return t<480?e(450):t<768?"normal":t<1440?"large":e(492)}get[_0x4c34e2(467)](){const e=_0x4c34e2;var t,r,i;const n=this[e(502)](),s=(null===(t=n[e(500)])||void 0===t?void 0:t.type)||"",o=(null===(i=null===(r=n[e(500)])||void 0===r?void 0:r[e(491)])||void 0===i?void 0:i[e(498)]())||"",a=n.ua.toLowerCase();return"wearable"===s||o.includes(e(455))?6:s===e(475)||a[e(473)]("smart-tv")||a[e(473)](e(460))||a.includes("netcast")||a[e(473)](e(503))||a.includes("appletv")?4:s===e(461)||a[e(473)](e(493))||a.includes("xbox")||a.includes(e(452))?5:a[e(473)]("car")||a.includes(e(495))||a[e(473)](e(479))?3:a.includes("oculus")||a.includes("vive")||a[e(473)]("vr")||s===e(476)?7:s===e(487)||s===e(486)?1:""===s||s===e(501)?2:0}get[_0x4c34e2(489)](){const e=_0x4c34e2;return window[e(477)]&&window.matchMedia("(prefers-color-scheme: dark)")[e(456)]?"1":"0"}get[_0x4c34e2(454)](){const e=_0x4c34e2,t=window[e(463)]||1,r=screen.width*t/160,i=screen[e(468)]*t/160;return Math[e(470)](Math[e(449)](r,2)+Math[e(449)](i,2))[e(497)](2)}get screenType(){const e=_0x4c34e2;return"ontouchstart"in window||navigator[e(451)]>0?e(448):e(474)}}const deviceDetector=new DeviceDetector,_0x4c2511=_0x2c00;function _0x2c00(e,t){const r=_0x436b();return(_0x2c00=function(e,t){return r[e-=386]})(e,t)}!function(){const e=_0x2c00,t=_0x436b();for(;;)try{if(430008===-parseInt(e(396))/1*(-parseInt(e(388))/2)+-parseInt(e(399))/3+-parseInt(e(405))/4+parseInt(e(400))/5*(parseInt(e(387))/6)+parseInt(e(397))/7+-parseInt(e(386))/8*(-parseInt(e(410))/9)+-parseInt(e(390))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x2c00(406)]=null}[_0x4c2511(398)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2c00;if(this.supportResults)return this[e(406)];const t=this[e(409)](),r=this.isSessionStorageSupported(),i=yield this[e(391)]();return this[e(406)]={localStorage:t,sessionStorage:r,indexedDB:i},this[e(406)]})}[_0x4c2511(402)](e){const t=_0x4c2511;let r=0;for(let i=0;i<e[t(392)];i++){const n=e[t(407)](i);if(!n)continue;const s=e.getItem(n);null!=s&&(r+=2*n.length,r+=2*s.length)}return r}isLocalStorageSupported(){const e=_0x4c2511;try{const t=e(393);return localStorage[e(403)](t,"1"),localStorage.removeItem(t),!0}catch(e){return!1}}[_0x4c2511(394)](){const e=_0x4c2511;try{const t=e(393);return sessionStorage[e(403)](t,"1"),sessionStorage[e(408)](t),!0}catch(e){return!1}}[_0x4c2511(391)](){return"indexedDB"in window?new Promise(e=>{const t=_0x2c00;try{const r=indexedDB.open("__test__check__");r.onerror=()=>e(!1),r[t(401)]=()=>{const i=t;r.result[i(395)](),indexedDB[i(389)](i(404)),e(!0)}}catch(t){e(!1)}}):Promise.resolve(!1)}}function _0x436b(){const e=["__test__","isSessionStorageSupported","close","28YpJOBv","2013445ePVSDA","getSupportResult","673740inhABW","15BQvrLp","onsuccess","getStorageSizeBytes","setItem","__test__check__","2801824PZutVB","supportResults","key","removeItem","isLocalStorageSupported","255312RqCziD","240btmday","1644378ZorBGS","27134LqzTJq","deleteDatabase","9856960HPvwOJ","isIndexedDBSupported","length"];return(_0x436b=function(){return e})()}const storageSupport=new StorageSupport;function _0x19ad(e,t){const r=_0x1533();return(_0x19ad=function(e,t){return r[e-=239]})(e,t)}const _0x521cc0=_0x19ad;function _0x1533(){const e=["/js/app.js","530KjzMJM","keys","Next.js","React","utm_source","innerHTML","Vue.js","organic","Backbone.js","WordPress","detectWebFramework","from","272063DHLSzI","/_next/","[ng-version]","Svelte","utm_medium","other","map","8jdBXjd","drupal-settings-json","mix-manifest.json","jQuery","svelte","documentElement","getUTMParamsString",'meta[name="generator"][content*="Drupal"]',"referrer","Laravel","textContent","Meteor.js","cdn.shopify.com","Zepto.js","385VBlEtS","includes","utm_","Nuxt.js","91839plHQNO",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","Vue","__reactContainer","Squarespace","wp-includes","_reactRootContainer","Backbone","21jOxHIs","344735EZBiOD","[data-v-app], [data-v-]","hostname","6103737NVwkCC","1037410hRMshr","344956ircjPI","Wix","querySelector","16878rahTJc","scripts","Ghost CMS","Meteor","src","__VUE__","startsWith","some","[data-reactroot], [data-reactid]","Shopify","location","wix.com","entries"];return(_0x1533=function(){return e})()}!function(){const e=_0x19ad,t=_0x1533();for(;;)try{if(370081===-parseInt(e(241))/1+parseInt(e(254))/2+-parseInt(e(249))/3*(parseInt(e(255))/4)+parseInt(e(250))/5+-parseInt(e(258))/6*(parseInt(e(305))/7)+-parseInt(e(291))/8*(parseInt(e(253))/9)+parseInt(e(272))/10*(parseInt(e(284))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x521cc0(297)](){const e=_0x521cc0,t=new URLSearchParams(window[e(268)].search),r={};for(const[i,n]of t[e(270)]())i.startsWith(e(239))&&n&&(r[i]=n);if(!r[e(276)]){const t=document[e(299)];r[e(276)]=t?new URL(t)[e(252)]:e(289)}return!r[e(288)]&&(r[e(288)]=e(279)),Object[e(270)](r)[e(290)](([e,t])=>e+"="+encodeURIComponent(t)).join("&")}}function _0x4947(e,t){const r=_0x5af3();return(_0x4947=function(e,t){return r[e-=321]})(e,t)}Utils[_0x521cc0(282)]=()=>{const e=_0x521cc0;return document[e(257)]("script[id=__NEXT_DATA__]")||[...document[e(259)]][e(265)](t=>t[e(262)].includes(e(285)))?e(274):window[e(275)]||document[e(257)](e(266))||Array[e(283)](document.querySelectorAll("*"))[e(265)](t=>void 0!==t[e(247)]||Object[e(273)](t).some(t=>t[e(264)](e(244))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(275):[...document[e(259)]][e(265)](e=>e.src.includes("/_nuxt/"))?e(240):window[e(263)]||window[e(243)]||document[e(257)](e(251))?e(278):document[e(257)]("[id=___gatsby]")?"Gatsby.js":window||document[e(257)](e(242))||document[e(257)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document.querySelector(e(286))?"Angular":[...document.scripts][e(265)](t=>{const r=e;var i;return t.src.includes(r(295))||(null===(i=t[r(301)])||void 0===i?void 0:i.includes(r(295)))})?e(287):document[e(257)]("[x-data], [x-init], [x-bind]")?"Alpine.js":window[e(294)]?e(294):window[e(248)]?e(280):window[e(261)]?e(302):window.Zepto?e(304):document.querySelector('meta[name="generator"][content*="WordPress"]')||[...document[e(259)]].some(t=>t[e(262)].includes("wp-content")||t[e(262)][e(306)](e(246)))?e(281):[...document[e(259)]].some(t=>t[e(262)].includes(e(271))||t[e(262)][e(306)](e(293)))?e(300):document[e(257)](e(298))||document.documentElement[e(277)].includes(e(292))?"Drupal":document[e(296)].innerHTML.includes(e(303))?e(267):[...document[e(259)]][e(265)](t=>t.src[e(306)]("static.squarespace.com"))?e(245):[...document.scripts].some(t=>t[e(262)][e(306)](e(269)))?e(256):document[e(257)]('meta[name="generator"][content*="Ghost"]')?e(260):void 0};const _0x218207=_0x4947;function _0x5af3(){const e=["11EsJvzT","hashData","getWebGLFingerprint","digest","toString","MAX_TEXTURE_SIZE","VERSION","stringify","6453IyjORP","vendor","2060pFGzEr","WEBGL_debug_renderer_info","22918yVilQV","string","UNMASKED_VENDOR_WEBGL","2032284rDLXVs","309882mvBdAr","RENDERER","143585WsYjaE","encode","padStart","height","MAX_RENDERBUFFER_SIZE","14px 'Arial'","#f60","VENDOR","fillRect","toDataURL","SHA-256","58892edxJxD","top","experimental-webgl","getContext","92631GGPWiy","getCanvasFingerprint","textBaseline","SHADING_LANGUAGE_VERSION","join","12ClkyMx","fillText","width","webgl","getExtension","getParameter","createElement","from","25AaTHig","renderer","WiseTrack WebGL Fingerprint!","#069","canvas","UNMASKED_RENDERER_WEBGL","136vJyaXv"];return(_0x5af3=function(){return e})()}!function(){const e=_0x4947,t=_0x5af3();for(;;)try{if(163079===parseInt(e(336))/1+parseInt(e(330))/2*(parseInt(e(356))/3)+-parseInt(e(347))/4+parseInt(e(364))/5*(-parseInt(e(334))/6)+-parseInt(e(351))/7*(-parseInt(e(370))/8)+-parseInt(e(326))/9*(parseInt(e(328))/10)+parseInt(e(371))/11*(parseInt(e(333))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static isWebGLSupported(){const e=_0x4947;try{const t=document[e(362)]("canvas");return!(!t.getContext(e(359))&&!t[e(350)](e(349)))}catch(e){return!1}}static[_0x218207(373)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4947,t=document[e(362)](e(368)),r=t[e(350)](e(359))||t.getContext(e(349));if(!r)return;const i={version:r[e(361)](r[e(324)]),shadingLangVersion:r[e(361)](r[e(354)]),maxTextureSize:r[e(361)](r[e(323)]),maxRenderBufferSize:r[e(361)](r[e(340)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(360)](e(329));i[e(327)]=t?r.getParameter(t[e(332)]):r.getParameter(r[e(343)])}catch(t){i[e(327)]=r[e(361)](r.VENDOR)}try{const t=r[e(360)]("WEBGL_debug_renderer_info");i[e(365)]=t?r[e(361)](t[e(369)]):r.getParameter(r.RENDERER)}catch(t){i[e(365)]=r.getParameter(r[e(335)])}return yield this[e(372)](JSON.stringify(i))})}static[_0x218207(352)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4947,t=document.createElement(e(368));t[e(358)]=200,t[e(339)]=50;const r=t[e(350)]("2d");if(r)return r[e(353)]=e(348),r.font=e(341),r.fillStyle=e(342),r[e(344)](0,0,200,50),r.fillStyle=e(367),r[e(357)](e(366),2,2),yield this[e(372)](t[e(345)]())})}static hashData(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4947,r=typeof e===t(331)?e:JSON[t(325)](e),i=(new TextEncoder)[t(337)](r),n=yield crypto.subtle[t(321)](t(346),i);return Array[t(363)](new Uint8Array(n)).map(e=>e[t(322)](16)[t(338)](2,"0"))[t(355)]("")})}}const _0x42a7a0=_0x39b4;!function(){const e=_0x39b4,t=_0x5ad6();for(;;)try{if(308978===-parseInt(e(180))/1*(-parseInt(e(161))/2)+-parseInt(e(189))/3*(-parseInt(e(147))/4)+-parseInt(e(184))/5+-parseInt(e(185))/6*(-parseInt(e(152))/7)+-parseInt(e(148))/8*(parseInt(e(171))/9)+-parseInt(e(162))/10+parseInt(e(155))/11*(parseInt(e(139))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x42a7a0(160)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x39b4,t=window[e(164)][e(157)]();let r={};return r.created_at=(new Date)[e(134)](),Object[e(131)](r,this.getLocalFields()),Object[e(131)](r,yield this[e(156)]()),Object.assign(r,this[e(198)]()),r[e(158)]=(window[e(164)][e(157)]()-t)[e(172)](1),WTConstants[e(193)][e(196)]&&(r=Object[e(167)](Object[e(133)](r)[e(150)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(196)]:r]))),r=Object[e(167)](Object[e(133)](r).filter(([e,t])=>null!=t)),r})}[_0x42a7a0(156)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x39b4,t=yield storageSupport[e(187)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(176)](),package_name:window[e(153)][e(143)],session_storage_enabled:t[e(142)],indexed_db_enabled:t[e(145)],local_storage_enabled:t[e(163)],session_storage:storageSupport[e(192)](sessionStorage)[e(172)](0),local_storage:storageSupport[e(192)](localStorage)[e(172)](0),web_gl_support:DeviceFingerprint[e(151)](),web_gl_fingerprint:yield DeviceFingerprint[e(138)](),web_gl_canvas_fingerprint:yield DeviceFingerprint.getCanvasFingerprint()}})}[_0x42a7a0(166)](){const e=_0x42a7a0,t=storageManager.initialConfig;return t?{uuid:storageManager[e(168)],app_token:t[e(141)],environment:t[e(149)],store_name:e(175),app_version:t[e(170)],push_token:storageManager.pushToken,custom_device_id:t.customDeviceId,default_tracker:t[e(199)],platform:WTConstants[e(165)][e(137)],framework:t.appFrameWork[e(136)](),initiated_by:WTConstants[e(165)][e(137)]+"_"+t[e(182)][e(136)](),initiated_version:WTConstants[e(165)][e(195)],referrer:Utils[e(191)](),installed_at:storageManager.initialDate,session_count:storageManager.sessionCount[e(159)](),session_length:parseInt((storageManager[e(190)]/1e3)[e(159)]()).toString(),subsession_count:parseInt((storageManager[e(183)]/1e3)[e(159)]())[e(159)](),last_interval:parseInt((storageManager[e(188)]/1e3)[e(159)]())[e(159)]()}:{}}[_0x42a7a0(198)](){const e=_0x42a7a0,t=deviceDetector[e(177)]();return{browser_version:t[e(144)][e(146)],device_manufacturer:t[e(132)].vendor,device_name:t[e(132)].model,device_type:t[e(132)][e(154)],os_name:t.os[e(169)],os_version:t.os[e(146)],cpu_type:t.cpu.architecture,web_user_agent:t.ua,display_height:window[e(173)][e(172)](0),display_width:window.innerWidth[e(172)](0),language:navigator[e(194)][e(181)]("-")[0],screen_density:deviceDetector.screenDensity,screen_format:deviceDetector.screenFormat,screen_size:deviceDetector.screenSize,ui_mode:deviceDetector[e(140)][e(159)](),cpu_lpc:navigator[e(178)][e(159)](),ui_style:deviceDetector[e(135)],wout_width:window[e(186)][e(159)](),wout_height:window.outerHeight[e(159)](),web_engine:t[e(179)][e(169)],web_engine_version:t[e(179)].version,display_size:deviceDetector[e(174)],screen_type:deviceDetector[e(197)]}}}function _0x39b4(e,t){const r=_0x5ad6();return(_0x39b4=function(e,t){return r[e-=131]})(e,t)}const fieldsBuilder=new FieldsBuilder;function _0x5ad6(){const e=["build","2IXTrWm","3918780zRhOZB","localStorage","performance","SDK","getLocalFields","fromEntries","deviceId","name","appVersion","18585kVkuVX","toFixed","innerHeight","displaySize","other","getCountryCode","getDeviceInfo","hardwareConcurrency","engine","147884Kjjbuq","split","appFrameWork","subSessionCount","1193175nItbVL","174fBjTkG","outerWidth","getSupportResult","inactiveDuration","3TnfTAT","activeDuration","getUTMParamsString","getStorageSizeBytes","DEFAULTS","language","VERSION","PARAMETERS_VALUE","screenType","getDeviceFields","defaultTracker","assign","device","entries","toISOString","uiStyle","toLowerCase","PLATFORM","getWebGLFingerprint","11168532bVuRbj","uiMode","appToken","sessionStorage","hostname","browser","indexedDB","version","689732eNNJry","2384lqSJJR","userEnvironment","map","isWebGLSupported","73339Qopufs","location","type","11jNffae","getApplicationFields","now","time_spent","toString"];return(_0x5ad6=function(){return e})()}const _0x2a7f39=_0x4684;function _0x4684(e,t){const r=_0x150b();return(_0x4684=function(e,t){return r[e-=457]})(e,t)}function _0x150b(){const e=["438CTDJaQ","create","25067670nZBpnK","1010558fdLhWR","3gDnfIC","61398EahJXB","14575YUSoyw","3255228UNduoO","build","event","call","21XDJESn","2118280eziTlK","589476tQSTEe","assign"];return(_0x150b=function(){return e})()}!function(){const e=_0x4684,t=_0x150b();for(;;)try{if(594791===-parseInt(e(464))/1+-parseInt(e(469))/2*(-parseInt(e(470))/3)+-parseInt(e(458))/4+parseInt(e(457))/5*(-parseInt(e(466))/6)+-parseInt(e(462))/7*(parseInt(e(463))/8)+-parseInt(e(471))/9+parseInt(e(468))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){super(),this.event=e}[_0x2a7f39(459)](){const e=_0x2a7f39,t=Object[e(467)](null,{build:{get:()=>super[e(459)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(459)][r(461)](this);return new Promise(e=>{const t=r;e(Object[t(465)](Object.assign({},i),this[t(460)].toJSON()))})})}}const _0x157ade=_0x4c2d;function _0x4c2d(e,t){const r=_0x4dba();return(_0x4c2d=function(e,t){return r[e-=220]})(e,t)}function _0x4dba(){const e=["2QksPsw","sdkEnabled","beforeunload","inactiveTime","Creating Install: SDK-Clicks has already submitted","27JNeCkA","12wPQcCt","27721OShyJb","SDK is not enabled to start tracking!","toISOString","now","setActivityTimes","build","sdkClickSubmit","SESSIONS","stringify","focus","17166ylhMWM","ATTRIBUTIONS","User was inactived for ","initialDate","SDK_CLICKS","generateDeviceUUID","log","286376jZRCNp","hasFocus"," request to main queue","warn","blur","getQueueStatus","Creating Attribution: SDK is not enabled!","main","createRequest","WT Tracker started","deviceId","2802778GVIuEv","addEventListener","838390gEtWdQ","249027JqAewQ","debug","shutdown","trackEvent: SDK is not enabled","subsessionInterval","visibilitychange","visible","pending","Creating Session: SDK is not enabled!","308CFMPmo","CheckPushToken: SDK is not enabled","isVisibleFocused","Creating Session: First-Session has already submitted","s | (","initialize","appSettings","checkSdkClicks","This Notification token has sent to server previously","pushToken","Creating First Session: SDK is not enabled!","info","s Totaly)","visibilityState","WT Tracker stopped","getCountryCode","createDeviceID","isEnabled","274035acVTGU","firstSessionSubmit","stop","initialized","addPendingRequest","eventCount","activeTime","trackEvent","addObservers","checkFirstSession","start","fcmToken","inactiveDuration","isRunning","Add ","createAttribution"];return(_0x4dba=function(){return e})()}!function(){const e=_0x4c2d,t=_0x4dba();for(;;)try{if(100435===parseInt(e(283))/1+parseInt(e(276))/2*(-parseInt(e(233))/3)+parseInt(e(282))/4*(-parseInt(e(260))/5)+-parseInt(e(293))/6*(parseInt(e(242))/7)+parseInt(e(300))/8*(parseInt(e(281))/9)+parseInt(e(232))/10+parseInt(e(230))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x4c2d;this[e(273)]=!1,this[e(263)]=!1}get[_0x157ade(259)](){return storageManager[_0x157ade(277)]}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this[e(257)](),yield this.setActivityTimes(),this.createDeviceID(),this[e(268)](),this.initialized=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this.isEnabled?(WTLogger[e(234)](e(228)),yield queueManager[e(247)](),yield this[e(249)](),yield this[e(269)](),yield this[e(275)](),this[e(273)]=!0):WTLogger[e(222)](e(284))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this[e(273)]=!1,activityTicker[e(262)](),yield queueManager[e(235)](),WTLogger[e(234)](e(256))})}checkPushToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4c2d;storageManager[t(251)]=e,this[t(259)]?storageManager[t(271)]!==e?yield this[t(227)]({endpoint:WTEndpoints.SDK_INFOS,queueType:t(240)}):WTLogger[t(253)](t(250)):WTLogger[t(222)](t(243))})}[_0x157ade(267)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4c2d;this[t(259)]?this[t(263)]?(storageManager[t(265)]+=1,yield this.createRequest({endpoint:WTEndpoints.EVENTS,fBuilder:new EventFieldsBuilder(e),queueType:t(240)})):WTLogger[t(222)]("trackEvent: SDK is not initialized yet"):WTLogger.warn(t(236))})}getCountryCode(){countryFinder[_0x157ade(257)]()}[_0x157ade(275)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this[e(259)]?yield this[e(227)]({endpoint:WTEndpoints[e(294)],queueType:"pending"}):WTLogger[e(222)](e(225))})}[_0x157ade(269)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this.isEnabled?storageManager[e(261)]?WTLogger[e(234)](e(245)):yield this[e(227)]({endpoint:WTEndpoints[e(290)],queueType:storageManager[e(289)]?"main":e(240)}):WTLogger[e(222)](e(252))})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;this[e(259)]?storageManager[e(289)]?WTLogger.debug(e(280)):yield this[e(227)]({endpoint:WTEndpoints[e(297)]}):WTLogger[e(222)]("Creating Install: SDK is not enabled!")})}createRequest(e){const t=_0x157ade;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(226)}){const n=t,s=yield r[n(288)](),o=new RequestRecord(e,s);i===n(240)?(WTLogger[n(253)]("Add "+e+" request to pending queue"),yield queueManager[n(264)](o)):(WTLogger[n(253)](n(274)+e+n(221)),yield queueManager.addRequest(o));const a=queueManager[n(224)]();console[n(299)](JSON[n(291)](a))})}[_0x157ade(258)](){const e=_0x157ade;!storageManager[e(229)]&&(storageManager.deviceId=cryptoHelper[e(298)]()),!storageManager[e(296)]&&(storageManager[e(296)]=(new Date)[e(285)]())}[_0x157ade(287)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;if(storageManager[e(266)]){storageManager[e(279)]=storageManager[e(266)];const t=Date[e(286)]()-storageManager.inactiveTime;storageManager[e(272)]+=t,console[e(299)](e(295)+t/1e3+e(246)+storageManager.inactiveDuration/1e3+e(254)),yield this.checkSessionIntervals()}storageManager[e(266)]=Date[e(286)](),activityTicker[e(270)]()})}checkSessionIntervals(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4c2d;var t,r;const i=storageManager[e(279)],n=null===(t=storageManager.appSettings)||void 0===t?void 0:t.sessionInterval,s=null===(r=storageManager[e(248)])||void 0===r?void 0:r[e(237)];if(!this[e(259)])return void WTLogger[e(222)](e(241));if(!i||!n||!s)return;const o=Date[e(286)]()-i;o>parseInt(n)?(storageManager.sessionCount+=1,yield this[e(227)]({endpoint:WTEndpoints[e(290)],queueType:storageManager[e(289)]?"main":e(240)})):o>parseInt(s)&&(storageManager.subSessionCount+=1)})}[_0x157ade(244)](){const e=_0x157ade;return document[e(255)]===e(239)&&document[e(220)]()}[_0x157ade(268)](){const e=_0x157ade;window[e(231)](e(278),()=>{activityTicker[e(262)]()}),document[e(231)](e(238),()=>{const t=e;this[t(244)]()?(this.createAttribution(),this[t(287)]()):activityTicker[t(262)]()}),window[e(231)](e(292),()=>{const t=e;this[t(244)]()&&(this.createAttribution(),this[t(287)]())}),window[e(231)](e(223),()=>{activityTicker[e(262)]()})}}const tracker=new WTTracker,_0x59dd55=_0x23cb;function _0x398c(){const e=["fromConfig","flush","updateAppSettings","NetworkError","43144sFGGpi","init","1116mEvOij","_instance","initialConfig","config","385360SCfaXZ","32836COCnxn","warn","Need to get app-settings for ","startTracking","checkPushToken","The version you are currently using has expired and is no longer supported. Please update to the latest version to continue using the SDK","startTrackerAutomatically","isEnabled","needAppSettings"," environment","‼️ Start Tracking: SDK is not initialized yet","checkSdkUpdate","4919321TtiqsK","3678PsUowx","Config is not set!","sdkInitialized","doGetConfig","sdkEnvironment","Track Event: SDK is not enabled!","1523385dfYJfo","setLevel","stopTracking","appSettings","‼️ App Settings NOT set!, check errors.","error","1LWIMyS","‼️ SDK Config NOT set!, check errors.","info","‼️ Set Fcm Token: SDK is not initialized yet","‼️ Track Event: SDK is not initialized yet","sdkUpdate","setEnabled","checkSdkEnabled","forceUpdate","Clearing Data and stop tracker!","trackingWaitingTime","6475MYRADK","doGetAppSettings","25sffGeN","sdkEnabled","Start Tracking: SDK is not enabled!","2750040JCzZoZ","debug","setFCMToken","trackEvent","initialize","defaultValue"];return(_0x398c=function(){return e})()}function _0x23cb(e,t){const r=_0x398c();return(_0x23cb=function(e,t){return r[e-=106]})(e,t)}!function(){const e=_0x23cb,t=_0x398c();for(;;)try{if(352569===parseInt(e(127))/1*(-parseInt(e(160))/2)+parseInt(e(121))/3+-parseInt(e(159))/4*(-parseInt(e(140))/5)+parseInt(e(115))/6*(-parseInt(e(138))/7)+-parseInt(e(153))/8*(-parseInt(e(155))/9)+-parseInt(e(143))/10+-parseInt(e(114))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0x23cb;return!WiseTrack[e(156)]&&(WiseTrack[e(156)]=new WiseTrack),WiseTrack[e(156)]}constructor(){this[_0x23cb(117)]=!1}[_0x59dd55(154)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x23cb;var r,i;const n=yield this.getConfig(e);this[t(134)](n),this[t(113)](n),this[t(133)](!0),yield this.updateAppSettings(n),this[t(117)]=!0,yield tracker[t(147)]();(null===(r=e[t(108)])||void 0===r||r)&&setTimeout(()=>this[t(163)](),1e3*(null!==(i=e[t(137)])&&void 0!==i?i:0))})}setLogLevel(e){WTLogger[_0x59dd55(122)](e)}[_0x59dd55(150)](){const e=_0x59dd55;WTLogger[e(129)](e(136)),storageManager.clear(),this[e(123)]()}[_0x59dd55(109)](){return storageManager[_0x59dd55(141)]}[_0x59dd55(133)](e){const t=_0x59dd55,r=storageManager[t(158)];if(!r)throw new Error(t(116));if(!r[t(141)])throw new Error("SDK is disabled form server, contact your adminstrator!");if(r[t(135)])throw new Error(t(107));storageManager[t(141)]=e}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x23cb;this.sdkInitialized?this[e(109)]()?yield tracker[e(163)]():WTLogger.warn(e(142)):WTLogger[e(161)](e(112))})}[_0x59dd55(123)](){return __awaiter(this,void 0,void 0,function*(){yield tracker.stopTracking()})}[_0x59dd55(145)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x23cb;this[t(117)]?this[t(109)]()?yield tracker[t(106)](e):WTLogger.warn("Set Fcm Token: SDK is not enabled!"):WTLogger[t(161)](t(130))})}[_0x59dd55(146)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x23cb;this[t(117)]?this[t(109)]()?yield tracker.trackEvent(e):WTLogger[t(161)](t(120)):WTLogger[t(161)](t(131))})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x23cb;let r;storageManager[t(157)]=e;try{r=yield apiClient[t(118)]()}catch(e){if(!(e instanceof ApiError[t(152)]))throw WTLogger[t(129)](t(128)),e;r=storageManager.config||WTConfig[t(148)]}return storageManager.config=r,WTLogger[t(129)]("SDK Config set"),r})}[_0x59dd55(151)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x23cb;let r;if(EnvironmentUtils[t(110)]()){WTLogger[t(144)](t(162)+EnvironmentUtils[t(119)]+t(111));try{r=yield apiClient[t(139)]()}catch(e){if(!(e instanceof ApiError[t(152)]))throw WTLogger[t(129)](t(125)),e;r=WTAppSettings[t(148)]}}else r=WTAppSettings[t(149)](e);return storageManager[t(124)]=r,WTLogger[t(129)]("App Settings set"),r})}[_0x59dd55(134)](e){const t=_0x59dd55;if(!e[t(141)]){const e="SDK is disabled form server, contact your adminstrator!";throw WTLogger[t(126)](e),new Error(e)}}[_0x59dd55(113)](e){const t=_0x59dd55;if(e[t(135)]){const e=t(107);throw WTLogger[t(126)](e),new Error(e)}e[t(132)]&&WTLogger[t(161)]("A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.")}}function _0x2dc9(e,t){var r=_0x2635();return(_0x2dc9=function(e,t){return r[e-=462]})(e,t)}function _0x2635(){var e=["191900MQkvko","revenue","Default","default","amount","22167qrVAns","475236kqNSob","2774710dkUiPc","Revenue","35UZBzGA","24KGGqGx","params","914994CSyAib","20nQvkSZ","type","176016RBlsdg","currency","toJSON","360185DdVwPJ","name","addParam"];return(_0x2635=function(){return e})()}function _0x29d7(e,t){var r=_0x2d6f();return(_0x29d7=function(e,t){return r[e-=260]})(e,t)}function _0x2d6f(){var e=["256860DPbYGV","647128NrfySs","4eNaGyD","4185NwwDCi","133bIgyzV","806kfWTSz","9154089XOGijo","2368535MduFHt","19215COBJgL","2571630jykmwA"];return(_0x2d6f=function(){return e})()}!function(){for(var e=_0x2dc9,t=_0x2635();;)try{if(224307===parseInt(e(476))/1+parseInt(e(464))/2+-parseInt(e(463))/3+parseInt(e(471))/4*(-parseInt(e(479))/5)+-parseInt(e(473))/6*(parseInt(e(467))/7)+parseInt(e(468))/8*(-parseInt(e(470))/9)+parseInt(e(465))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x2dc9;class r{constructor(e){var t=_0x2dc9;this[t(472)]=t(482),this[t(477)]=e}[t(478)](e,r){var i,n=t;let s=null!==(i=this.params)&&void 0!==i?i:{};s[e]=r,this[n(469)]=s}toJSON(){var e=t;return{event_type:this[e(472)],event_name:this[e(477)],partner_params:this[e(469)]}}}e[t(481)]=r;class i extends r{constructor(e,r,i){var n=t;super(e),this[n(472)]=n(480),this[n(462)]=r,this[n(474)]=i}[t(475)](){var e=t;return{event_type:this[e(472)],event_name:this.name,revenue:this.amount,currency:this[e(474)],partner_params:this.params}}}e[t(466)]=i}(exports.WTEvent||(exports.WTEvent={})),function(){for(var e=_0x29d7,t=_0x2d6f();;)try{if(927474===parseInt(e(263))/1+-parseInt(e(260))/2*(-parseInt(e(268))/3)+parseInt(e(267))/4*(-parseInt(e(262))/5)+parseInt(e(265))/6+parseInt(e(269))/7*(parseInt(e(266))/8)+-parseInt(e(261))/9+parseInt(e(264))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTLogEngine=WTLogEngine,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WiseTrack=WiseTrack;
|
|
1
|
+
"use strict";function __awaiter(e,t,r,i){return new(r||(r=Promise))(function(n,s){function o(e){try{c(i.next(e))}catch(e){s(e)}}function a(e){try{c(i.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((i=i.apply(e,t||[])).next())})}function _0x2cfa(e,t){const r=_0x5226();return(_0x2cfa=function(e,t){return r[e-=261]})(e,t)}"function"==typeof SuppressedError&&SuppressedError;const _0x699923=_0x2cfa;function _0x5226(){const e=["1812558Qtsyyk","3700768GEirgl","311340lFkIPF","2.0.0","web","425239JPOOYz","467104Pifklo","debug","https://config.wisetrack.io","997bfbb583c1245a426a53dc1899ec779ff354f9","300000","2ouFyCj","1800000","1526924fFCwFM","3102996gzBrJC"];return(_0x5226=function(){return e})()}!function(){const e=_0x2cfa,t=_0x5226();for(;;)try{if(489497===-parseInt(e(274))/1+-parseInt(e(265))/2*(-parseInt(e(269))/3)+parseInt(e(270))/4+parseInt(e(271))/5+-parseInt(e(268))/6+-parseInt(e(267))/7+parseInt(e(275))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{HASH:_0x699923(263),PLATFORM:_0x699923(273),VERSION:_0x699923(272)},CONFIG:{BASE_URL:_0x699923(262),DEFAULT_ENVIRONMENT:_0x699923(261)},DEFAULTS:{LOG_LEVEL:_0x699923(261),SESSION_INTERVAL:_0x699923(266),SUBSESSION_INTERVAL:_0x699923(264),PARAMETERS_VALUE:void 0}},_0x38df31=_0xa49f;function _0x3c00(){const e=["PRODUCTION","https://core.wisetrack.io","1579131wnrcba","production","2295660YicWKA","DEBUG","4sLtguw","86612WBHWgS","20GSvigL","STAGE","https://core.stage.wisetrackdev.ir","Unknown environment: ","1897880nbvFiX","202908xniPRo","165JlirCU","1852bmMOzj","7fdzznh","sdkEnvironment","2427knmSYu","2071305gDbhDD","stage","debug"];return(_0x3c00=function(){return e})()}function _0xa49f(e,t){const r=_0x3c00();return(_0xa49f=function(e,t){return r[e-=230]})(e,t)}!function(){const e=_0xa49f,t=_0x3c00();for(;;)try{if(261010===-parseInt(e(242))/1*(-parseInt(e(241))/2)+-parseInt(e(231))/3*(parseInt(e(250))/4)+parseInt(e(232))/5+parseInt(e(239))/6+-parseInt(e(251))/7*(parseInt(e(247))/8)+-parseInt(e(237))/9*(parseInt(e(243))/10)+-parseInt(e(249))/11*(-parseInt(e(248))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),_0x38df31(238);const WTSDKEnvironment={DEBUG:_0x38df31(234),STAGE:_0x38df31(233),PRODUCTION:_0x38df31(238)},EnvironmentUtils={sdkEnvironment:WTConstants.CONFIG.DEFAULT_ENVIRONMENT,needAppSettings(){const e=_0x38df31;return this[e(230)]!==WTSDKEnvironment[e(235)]},baseUrl(){const e=_0x38df31;switch(this[e(230)]){case WTSDKEnvironment[e(240)]:return"https://core.debug.wisetrackdev.ir";case WTSDKEnvironment[e(244)]:return e(245);case WTSDKEnvironment[e(235)]:return e(236);default:throw new Error(e(246)+this[e(230)])}}};function _0x1018(e,t){const r=_0x45b0();return(_0x1018=function(e,t){return r[e-=143]})(e,t)}const _0x3eefd8=_0x1018;!function(){const e=_0x1018,t=_0x45b0();for(;;)try{if(341334===parseInt(e(150))/1+parseInt(e(156))/2+-parseInt(e(149))/3+parseInt(e(148))/4*(parseInt(e(151))/5)+parseInt(e(153))/6*(-parseInt(e(155))/7)+-parseInt(e(143))/8*(parseInt(e(147))/9)+parseInt(e(158))/10*(parseInt(e(157))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x3eefd8(144),SESSIONS:_0x3eefd8(154),SDK_CLICKS:_0x3eefd8(152),SDK_INFOS:_0x3eefd8(146),ATTRIBUTIONS:_0x3eefd8(145),APP_SETTINGS:"/api/v1/app_settings"};function _0x45b0(){const e=["/api/v1/sessions","189VrbqzA","23232puYzue","11iGyvaI","11367310BwtCss","1979880FoocEe","/api/v1/events","/api/v1/attributions","/api/v1/sdk_infos","9josLZk","4BoKiNz","1974459ZwxsuM","599586JTSjqw","333435EUgxYF","/api/v1/sdk_clicks","126144Qjzuzt"];return(_0x45b0=function(){return e})()}function _0x1871(){var e=["856030GywijA","fromJson","DEFAULTS","16nTtlCT","fromConfig","5170968icXvMU","attributions","sdkClicks","sdk_infos","38UCZGpi","16479gNdEDA","sessions","sessionInterval","1984wlJzqO","58974VWEANy","defaultValue","subsessionInterval","431617CQGJNf","sdk_clicks","6023682QeizYb","SESSION_INTERVAL","SUBSESSION_INTERVAL","1158260YqYKks","session_interval","sdkInfos","SESSIONS","subsession_interval","events"];return(_0x1871=function(){return e})()}function _0x1fc1(e,t){var r=_0x1871();return(_0x1fc1=function(e,t){return r[e-=236]})(e,t)}var _0x32f384=_0x1fc1;!function(){for(var e=_0x1fc1,t=_0x1871();;)try{if(488672===-parseInt(e(243))/1+parseInt(e(263))/2*(-parseInt(e(240))/3)+parseInt(e(257))/4*(parseInt(e(248))/5)+-parseInt(e(259))/6+parseInt(e(245))/7+-parseInt(e(239))/8*(-parseInt(e(236))/9)+-parseInt(e(254))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAppSettings{constructor(e,t,r,i,n,s=WTConstants.DEFAULTS.SESSION_INTERVAL,o=WTConstants[_0x32f384(256)].SUBSESSION_INTERVAL){var a=_0x32f384;this[a(253)]=e,this[a(237)]=t,this[a(261)]=r,this[a(250)]=i,this.attributions=n,this[a(238)]=s,this[a(242)]=o}static[_0x32f384(258)](e){var t=_0x32f384;return new WTAppSettings(e[t(253)],e[t(237)],e.sdkClicks,e[t(250)],e[t(260)],e[t(238)],e[t(242)])}static[_0x32f384(255)](e){var t,r,i=_0x32f384;return new WTAppSettings(e.events,e[i(237)],e[i(244)],e[i(262)],e[i(260)],null!==(t=e[i(249)])&&void 0!==t?t:WTConstants[i(256)][i(246)],null!==(r=e[i(252)])&&void 0!==r?r:WTConstants[i(256)][i(247)])}static get[_0x32f384(241)](){var e=_0x32f384;return new WTAppSettings(WTEndpoints.EVENTS,WTEndpoints[e(251)],WTEndpoints.SDK_CLICKS,WTEndpoints.SDK_INFOS,WTEndpoints.ATTRIBUTIONS,WTConstants[e(256)][e(246)],WTConstants[e(256)][e(247)])}}var _0x38a2dc=_0x5bcb;function _0x5bcb(e,t){var r=_0x226b();return(_0x5bcb=function(e,t){return r[e-=171]})(e,t)}function _0x226b(){var e=["sdk_clicks","fromJson","sessions","14407KTeMHD","sdkUpdate","force_update","DEFAULTS","base_url","72821awPBER","SDK_INFOS","events","18ayFDRs","subsession_interval","sdkEnabled","22ZcKdzW","defaultValue","SESSION_INTERVAL","attributions","ATTRIBUTIONS","224956xPDYLF","230lTyzat","627UsjKgV","sdkClicks","108279hmErIW","sdkInfos","1358940sAsRPq","sessionInterval","app_settings","SUBSESSION_INTERVAL","SDK_CLICKS","SESSIONS","APP_SETTINGS","1803272ssNGWZ","subsessionInterval","3gIxDYZ","50148HUcTuZ"];return(_0x226b=function(){return e})()}!function(){for(var e=_0x5bcb,t=_0x226b();;)try{if(141316===parseInt(e(182))/1*(parseInt(e(193))/2)+-parseInt(e(177))/3*(parseInt(e(198))/4)+parseInt(e(204))/5+parseInt(e(190))/6*(parseInt(e(187))/7)+-parseInt(e(175))/8+-parseInt(e(202))/9*(parseInt(e(199))/10)+parseInt(e(200))/11*(parseInt(e(178))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,i,n,s,o,a=!0,c=!1,u=!1,d=WTConstants[_0x38a2dc(185)][_0x38a2dc(195)],p=WTConstants[_0x38a2dc(185)].SUBSESSION_INTERVAL){var l=_0x38a2dc;this.baseUrl=e,this[l(189)]=t,this.sessions=r,this[l(201)]=i,this[l(203)]=n,this[l(196)]=s,this.appSettings=o,this[l(192)]=a,this.forceUpdate=c,this[l(183)]=u,this[l(205)]=d,this[l(176)]=p}static[_0x38a2dc(180)](e){var t,r,i,n,s,o=_0x38a2dc;return new WTConfig(e[o(186)],e[o(189)],e[o(181)],e[o(179)],e.sdk_infos,e.attributions,e[o(206)],null===(t=e.sdk_enabled)||void 0===t||t,null!==(r=e[o(184)])&&void 0!==r&&r,null!==(i=e.sdk_update)&&void 0!==i&&i,null!==(n=e.session_interval)&&void 0!==n?n:WTConstants[o(185)].SESSION_INTERVAL,null!==(s=e[o(191)])&&void 0!==s?s:WTConstants[o(185)][o(171)])}static get[_0x38a2dc(194)](){var e=_0x38a2dc;return new WTConfig(EnvironmentUtils.baseUrl(),WTEndpoints.EVENTS,WTEndpoints[e(173)],WTEndpoints[e(172)],WTEndpoints[e(188)],WTEndpoints[e(197)],WTEndpoints[e(174)])}}const _0x3d5ef7=_0x24d5;function _0x24d5(e,t){const r=_0x2e8d();return(_0x24d5=function(e,t){return r[e-=154]})(e,t)}!function(){const e=_0x24d5,t=_0x2e8d();for(;;)try{if(485082===-parseInt(e(163))/1+parseInt(e(155))/2*(-parseInt(e(158))/3)+parseInt(e(166))/4+-parseInt(e(176))/5*(parseInt(e(157))/6)+-parseInt(e(174))/7+parseInt(e(162))/8+parseInt(e(167))/9*(parseInt(e(159))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}class ConsoleLogEngine extends WTLogEngine{[_0x3d5ef7(161)](e,t,...r){const i=_0x3d5ef7;switch(e){case i(170):console.debug(t,...r);break;case i(164):console[i(164)](t,...r);break;case i(172):console[i(172)](t,...r);break;case i(154):console[i(154)](t,...r);break;default:console[i(161)](t,...r)}}}const WTLogLevel={DEBUG:_0x3d5ef7(170),INFO:_0x3d5ef7(164),WARN:_0x3d5ef7(172),ERROR:_0x3d5ef7(154),NONE:_0x3d5ef7(168)};function _0x2e8d(){const e=["871167lKdKaz","info","prefix","3706832XlHGXF","6021NhtNtI","none","setLevel","debug","shouldLog","warn","level","2177161FdJnWc","setPrefix","410AIEfyL","error","652514HwWYBz","outputEngines","13434vFMGcu","6JvALEo","23070rfYSuJ","push","log","266344pwREpa"];return(_0x2e8d=function(){return e})()}class WTLogger{static[_0x3d5ef7(169)](e){this[_0x3d5ef7(173)]=e}static[_0x3d5ef7(175)](e){this[_0x3d5ef7(165)]=e}static addOutputEngine(e){const t=_0x3d5ef7;this.outputEngines[t(160)](e)}static[_0x3d5ef7(171)](e){const t=_0x3d5ef7,r=[t(170),t(164),t(172),"error"],i=r.indexOf(this[t(173)]);return r.indexOf(e)>=i}static[_0x3d5ef7(161)](e,...t){const r=_0x3d5ef7;if(!this.shouldLog(e))return;const i="["+this[r(165)]+"-"+e.toUpperCase()+"]";for(const n of this[r(156)])n[r(161)](e,i,...t)}static[_0x3d5ef7(170)](...e){this[_0x3d5ef7(161)]("debug",...e)}static[_0x3d5ef7(164)](...e){const t=_0x3d5ef7;this.log(t(164),...e)}static[_0x3d5ef7(172)](...e){const t=_0x3d5ef7;this[t(161)](t(172),...e)}static[_0x3d5ef7(154)](...e){this[_0x3d5ef7(161)]("error",...e)}}function _0x45a7(e,t){var r=_0x18cd();return(_0x45a7=function(e,t){return r[e-=270]})(e,t)}WTLogger[_0x3d5ef7(173)]=WTConstants.DEFAULTS.LOG_LEVEL,WTLogger[_0x3d5ef7(165)]="WT",WTLogger[_0x3d5ef7(156)]=[new ConsoleLogEngine];var _0x4e8153=_0x45a7;!function(){for(var e=_0x45a7,t=_0x18cd();;)try{if(765645===-parseInt(e(312))/1+-parseInt(e(277))/2*(parseInt(e(288))/3)+-parseInt(e(332))/4+parseInt(e(338))/5+-parseInt(e(270))/6*(-parseInt(e(305))/7)+parseInt(e(280))/8+-parseInt(e(334))/9*(parseInt(e(290))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:"WT.DeviceId",INITIAL_DATE:"WT.InitialDate",INITIAL_CONFIG:"WT.InitialConfigs",CONFIG:"WT.Configs",APP_SETTINGS:_0x4e8153(296),SDK_CLICK_SUBMIT:_0x4e8153(315),FIRST_SESSION_SUBMIT:"WT.FirstSessionSubmit",SDK_ENABLED:"WT.SdkEnabled",FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:_0x4e8153(306),EVENT_COUNT:_0x4e8153(336),SESSION_COUNT:"WT.SessionCount",SESSION_LENGTH:_0x4e8153(313),SUBSESSION_COUNT:_0x4e8153(282),ACTIVE_TIME:_0x4e8153(314),INACTIVE_TIME:_0x4e8153(310),INACTIVE_DURATION:_0x4e8153(309),REQUEST_QUEUE:_0x4e8153(271),PENDING_REQUEST_QUEUE:_0x4e8153(335)};class StorageManager{[_0x4e8153(298)](){localStorage[_0x4e8153(298)]()}[_0x4e8153(301)](e,t){var r=_0x4e8153;if(t)try{const i=JSON.stringify(t);localStorage[r(295)](e,i)}catch(t){WTLogger[r(307)](r(340)+e+"'",t)}else localStorage.removeItem(e)}[_0x4e8153(286)](e){var t=_0x4e8153;const r=localStorage[t(337)](e);if(!r)return null;try{return JSON.parse(r)}catch(r){return WTLogger.error(t(304)+e+t(331)+r,r),null}}[_0x4e8153(272)](e){const t=localStorage[_0x4e8153(337)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}optionalBool(e){var t=_0x4e8153;const r=localStorage[t(337)](e);return null===r?null:r===t(327)||r!==t(281)&&null}get deviceId(){var e=_0x4e8153;return localStorage[e(337)](WTStorageKeys[e(299)])}set deviceId(e){var t=_0x4e8153;e?localStorage[t(295)](WTStorageKeys[t(299)],e):localStorage[t(319)](WTStorageKeys[t(299)])}get[_0x4e8153(289)](){var e=_0x4e8153;return this[e(286)](WTStorageKeys[e(285)])}set[_0x4e8153(289)](e){this[_0x4e8153(301)](WTStorageKeys.INITIAL_DATE,e)}get[_0x4e8153(311)](){return this[_0x4e8153(286)](WTStorageKeys.INITIAL_CONFIG)}set initialConfig(e){var t=_0x4e8153;this[t(301)](WTStorageKeys[t(325)],e)}get[_0x4e8153(291)](){return this[_0x4e8153(286)](WTStorageKeys.CONFIG)}set[_0x4e8153(291)](e){this[_0x4e8153(301)](WTStorageKeys.CONFIG,e)}get appSettings(){var e=_0x4e8153;return this[e(286)](WTStorageKeys[e(333)])}set[_0x4e8153(300)](e){var t=_0x4e8153;this[t(301)](WTStorageKeys[t(333)],e)}get[_0x4e8153(293)](){var e,t=_0x4e8153;return null!==(e=this[t(287)](WTStorageKeys[t(318)]))&&void 0!==e&&e}set[_0x4e8153(293)](e){var t=_0x4e8153;localStorage[t(295)](WTStorageKeys[t(318)],e.toString())}get sdkClickSubmit(){var e,t=_0x4e8153;return null!==(e=this[t(287)](WTStorageKeys[t(316)]))&&void 0!==e&&e}set[_0x4e8153(283)](e){var t=_0x4e8153;localStorage.setItem(WTStorageKeys.SDK_CLICK_SUBMIT,e[t(320)]())}get[_0x4e8153(284)](){var e,t=_0x4e8153;return null!==(e=this.optionalBool(WTStorageKeys[t(273)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x4e8153;localStorage.setItem(WTStorageKeys.FIRST_SESSION_SUBMIT,e[t(320)]())}get[_0x4e8153(317)](){var e=_0x4e8153;return localStorage.getItem(WTStorageKeys[e(330)])}set fcmToken(e){var t=_0x4e8153;e?localStorage[t(295)](WTStorageKeys[t(330)],e):localStorage[t(319)](WTStorageKeys[t(330)])}get[_0x4e8153(339)](){return localStorage[_0x4e8153(337)](WTStorageKeys.PUSH_TOKEN)}set[_0x4e8153(339)](e){var t=_0x4e8153;e?localStorage[t(295)](WTStorageKeys[t(328)],e):localStorage.removeItem(WTStorageKeys[t(328)])}get[_0x4e8153(324)](){var e,t=_0x4e8153;return null!==(e=this.optionalNumber(WTStorageKeys[t(323)]))&&void 0!==e?e:1}set[_0x4e8153(324)](e){var t=_0x4e8153;localStorage.setItem(WTStorageKeys[t(323)],e.toString())}get[_0x4e8153(274)](){var e,t=_0x4e8153;return null!==(e=this[t(272)](WTStorageKeys[t(303)]))&&void 0!==e?e:1}set[_0x4e8153(274)](e){var t=_0x4e8153;localStorage.setItem(WTStorageKeys[t(303)],e.toString())}get[_0x4e8153(297)](){var e,t=_0x4e8153;return null!==(e=this[t(272)](WTStorageKeys[t(326)]))&&void 0!==e?e:0}set[_0x4e8153(297)](e){localStorage[_0x4e8153(295)](WTStorageKeys.SESSION_LENGTH,e.toString())}get inactiveDuration(){var e;return null!==(e=this[_0x4e8153(272)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set[_0x4e8153(329)](e){var t=_0x4e8153;localStorage[t(295)](WTStorageKeys[t(294)],e.toString())}get inactiveTime(){return this[_0x4e8153(272)](WTStorageKeys.ACTIVE_TIME)}set[_0x4e8153(292)](e){var t=_0x4e8153;null!==e?localStorage[t(295)](WTStorageKeys[t(279)],e[t(320)]()):localStorage[t(319)](WTStorageKeys[t(279)])}get activeTime(){return this[_0x4e8153(272)](WTStorageKeys.INACTIVE_TIME)}set[_0x4e8153(322)](e){var t=_0x4e8153;null!==e?localStorage.setItem(WTStorageKeys[t(276)],e.toString()):localStorage[t(319)](WTStorageKeys.INACTIVE_TIME)}get[_0x4e8153(275)](){var e,t=_0x4e8153;return null!==(e=this[t(286)](WTStorageKeys[t(321)]))&&void 0!==e?e:[]}set requestRecords(e){var t=_0x4e8153;this[t(301)](WTStorageKeys[t(321)],e)}get[_0x4e8153(302)](){var e;return null!==(e=this[_0x4e8153(286)](WTStorageKeys.PENDING_REQUEST_QUEUE))&&void 0!==e?e:[]}set[_0x4e8153(302)](e){var t=_0x4e8153;this[t(301)](WTStorageKeys[t(278)],e)}get[_0x4e8153(308)](){var e;return null!==(e=this[_0x4e8153(272)](WTStorageKeys.EVENT_COUNT))&&void 0!==e?e:0}set[_0x4e8153(308)](e){var t=_0x4e8153;localStorage.setItem(WTStorageKeys.EVENT_COUNT,e[t(320)]())}}function _0x18cd(){var e=["getJson","optionalBool","3225TtLbJO","initialDate","8767670ZrcRpU","config","inactiveTime","sdkEnabled","INACTIVE_DURATION","setItem","WT.AppSettings","activeDuration","clear","DEVICE_ID","appSettings","setJson","pendingRequestRecords","SUBSESSION_COUNT","Error in JSON decoding for key '","168MLyxfv","WT.PushToken","error","eventCount","WT.InactiveDuration","WT.InactiveTime","initialConfig","392977rxJgwV","WT.SessionLenght","WT.ActiveTime","WT.SdkClickSubmit","SDK_CLICK_SUBMIT","fcmToken","SDK_ENABLED","removeItem","toString","REQUEST_QUEUE","activeTime","SESSION_COUNT","sessionCount","INITIAL_CONFIG","SESSION_LENGTH","true","PUSH_TOKEN","inactiveDuration","FCM_TOKEN","': ","997164sWlRfc","APP_SETTINGS","18fsrCZG","WT.PendingRequestQueue","WT.EventCount","getItem","7317540oUiIbE","pushToken","Error in encoding object for key '","154164TuIBts","WT.RequestQueue","optionalNumber","FIRST_SESSION_SUBMIT","subSessionCount","requestRecords","INACTIVE_TIME","296vpjNnO","PENDING_REQUEST_QUEUE","ACTIVE_TIME","9923064yhpyhZ","false","WT.SubSessionCount","sdkClickSubmit","firstSessionSubmit","INITIAL_DATE"];return(_0x18cd=function(){return e})()}const storageManager=new StorageManager;function _0xc25a(){var e=["368400MLUMqz","601408FLexdt","ServerError","DecodingError","359757nhcpHy","880197AgMaua","766968UGdkKi","name","InvalidUrl","Invalid URL: ","statusCode","2684460PwOWvS","16QjLfHO","ServerError ","NetworkError: ","4234496OKrdHi"];return(_0xc25a=function(){return e})()}function _0xddff(e,t){var r=_0xc25a();return(_0xddff=function(e,t){return r[e-=272]})(e,t)}var ApiError;function _0x40de(e,t){var r=_0x31d5();return(_0x40de=function(e,t){return r[e-=127]})(e,t)}!function(){for(var e=_0xddff,t=_0xc25a();;)try{if(331698===parseInt(e(273))/1+-parseInt(e(275))/2+parseInt(e(274))/3+-parseInt(e(281))/4*(-parseInt(e(285))/5)+parseInt(e(280))/6+-parseInt(e(284))/7+-parseInt(e(286))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0xddff;class r extends Error{constructor(e){var t=_0xddff;super(t(278)+e),this[t(276)]=t(277)}}e[t(277)]=r;class i extends Error{constructor(e,r){var i=t;super(i(282)+e+": "+r),this[i(279)]=e,this.message=r,this[i(276)]=i(287)}}e[t(287)]=i;class n extends Error{constructor(e){var r=t;super(r(283)+e),this[r(276)]="NetworkFailure"}}e.NetworkError=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this[r(276)]=r(272)}}e[t(272)]=s}(ApiError||(ApiError={}));var _0x3acced=_0x40de;!function(){for(var e=_0x40de,t=_0x31d5();;)try{if(470556===-parseInt(e(138))/1+parseInt(e(139))/2*(-parseInt(e(131))/3)+-parseInt(e(137))/4+-parseInt(e(134))/5*(parseInt(e(128))/6)+-parseInt(e(127))/7+-parseInt(e(135))/8*(-parseInt(e(130))/9)+parseInt(e(129))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x40de;this[r(136)]=e,this[r(132)]=t}[_0x3acced(133)](e){return e<this.maxRetries}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){var e=_0x40de;return new Promise(t=>setTimeout(t,this[e(132)]))})}}function _0x31d5(){var e=["maxRetries","3626096YqngRw","326028NMOlDA","185978kHZsBD","184751VIlmdU","15846tJjZJM","24447940nINLKn","53982wxZJNb","21IctrgB","retryInterval","canRetry","190hCwqcb","48iAyFRD"];return(_0x31d5=function(){return e})()}function _0x5717(){const e=["✅ API SUCCESS (","debug","sendRequest","❌ API ERROR (",") =>","2039084bebQOH","76bPIQYT","headers","11dXzPRQ","stringify","2728tEpNrJ","ServerError","append","Error executing request","status","warn","canRetry","json","745344rVjtlR","17661vTVkpj","554390PWGuPz","-- PARAMETERS =>","Server error","84627636sOkrqC","message","Unknown error","params","5KGigth","196179IVIBMk","retryAttempt","assign","method","application/json","Request successful","DecodingError","198HrGAuG","formData","7415574PQSxKn","retryPolicy"];return(_0x5717=function(){return e})()}function _0x2fb2(e,t){const r=_0x5717();return(_0x2fb2=function(e,t){return r[e-=369]})(e,t)}!function(){const e=_0x2fb2,t=_0x5717();for(;;)try{if(729020===-parseInt(e(371))/1+-parseInt(e(397))/2+-parseInt(e(381))/3*(parseInt(e(398))/4)+-parseInt(e(380))/5*(parseInt(e(390))/6)+parseInt(e(372))/7*(-parseInt(e(402))/8)+parseInt(e(388))/9*(-parseInt(e(373))/10)+-parseInt(e(400))/11*(-parseInt(e(376))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x2fb2,i=t[r(382)]||1;let n;WTLogger[r(393)]("🚀 REQUEST ("+i+") => "+t[r(384)]+" "+e),WTLogger[r(393)](r(374),t[r(379)]||t[r(389)]||{});const s=Object[r(383)]({Accept:"application/json"},t[r(399)]);if(t[r(389)]){const e=new FormData;for(const i in t[r(389)])e[r(404)](i,t[r(389)][i]);n=e}else t[r(379)]&&(s["Content-Type"]=r(385),n=JSON[r(401)](t[r(379)]));try{const i=yield fetch(e,{method:t[r(384)],headers:s,body:n});if(!i.ok){let e=yield i.json(),t=e[r(377)]||(yield i.text());throw WTLogger[r(407)](r(395)+i[r(406)]+") =>",t),new(ApiError[r(403)])(i[r(406)],e[r(377)]||r(375))}try{const e=yield i[r(370)]();return WTLogger[r(393)](r(392)+i[r(406)]+r(396),e[r(377)]||r(386)),e}catch(e){throw new(ApiError[r(387)])(e[r(377)]||String(e))}}catch(n){if(n instanceof ApiError[r(403)]||n instanceof ApiError[r(387)])throw n;if(WTLogger.error(r(405),n),this[r(391)]()[r(369)](i))return yield this[r(391)]().waitBeforeRetry(),this[r(394)](e,Object[r(383)](Object[r(383)]({},t),{retryAttempt:i+1}));throw new ApiError.NetworkError(n.message||r(378))}})}};function _0x429b(){const e=["appSettings","PLATFORM","fromJson","34093332WWxPbd","SDK","112eqsUZm","updated_at","227kGQxKt","AppSettings Url is not set","sendRequest","11842776kXQHxQ","14414Szmylr","appToken","10GMxnVZ","12aUSotu","1788dUwvXl","appFrameWork","569616YBDQrk","Initial Config is not set","config","sdkEnvironment","POST","location","CONFIG","hostname","HASH","result","success","initialConfig","3711054lopBfG","14831641EFbUYb","5IYYzIa","other","appVersion","6027ZSHUPO","baseUrl","SDK Config is not set"];return(_0x429b=function(){return e})()}function _0x187e(e,t){const r=_0x429b();return(_0x187e=function(e,t){return r[e-=319]})(e,t)}!function(){const e=_0x187e,t=_0x429b();for(;;)try{if(995006===-parseInt(e(349))/1*(parseInt(e(353))/2)+parseInt(e(339))/3*(-parseInt(e(320))/4)+-parseInt(e(336))/5*(parseInt(e(334))/6)+parseInt(e(347))/7*(-parseInt(e(322))/8)+-parseInt(e(352))/9*(-parseInt(e(355))/10)+-parseInt(e(335))/11*(-parseInt(e(319))/12)+parseInt(e(345))/13)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x187e,t=storageManager[e(333)];if(!t)throw e(323);const r={app_token:t[e(354)],app_version:t[e(338)],framework:t[e(321)],env:EnvironmentUtils[e(325)],sdk_hash:WTConstants[e(346)][e(330)],package_name:window[e(327)][e(329)],platform:WTConstants[e(346)].PLATFORM,store_name:e(337)},i=yield networkManager[e(351)](WTConstants[e(328)].BASE_URL,{method:e(326),formData:r});return WTConfig[e(344)](i[e(331)])})},doGetAppSettings(){return __awaiter(this,void 0,void 0,function*(){const e=_0x187e,t=storageManager[e(333)],r=storageManager.config;if(!t)throw"Initial Config is not set";if(!r)throw e(341);if(!r[e(342)])throw e(350);const i={app_token:t.appToken,app_version:t.appVersion,framework:t[e(321)],env:EnvironmentUtils.sdkEnvironment,sdk_hash:WTConstants.SDK[e(330)],package_name:window[e(327)][e(329)],platform:WTConstants[e(346)][e(343)],store_name:"other"},n=yield networkManager[e(351)](r[e(340)]+r[e(342)],{method:e(326),formData:i});return WTAppSettings[e(344)](n.result)})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x187e,i=storageManager[r(333)],n=storageManager[r(324)];if(!i)throw"Initial Config is not set";if(!n)throw r(341);t[r(348)]=(new Date).toISOString();return(yield networkManager[r(351)](n[r(340)]+e,{method:r(326),params:{needs_response_details:EnvironmentUtils.sdkEnvironment!=WTSDKEnvironment.PRODUCTION,parameters:t}}))[r(332)]})}};function _0x67db(e,t){const r=_0x3829();return(_0x67db=function(e,t){return r[e-=445]})(e,t)}const _0x1ea4fe=_0x67db;function _0x3829(){const e=["inactiveDuration","4OvCWrL","s, inactive duration= ","tickerDelay","now","1396260HtETKr","isPaused","resume","70930fQvnMO","600465zjgcTb","hasFocus","ActivityTicker: active duration= ","1776530oTtdPt","log","activeTime","287755TQPNeE","10888jQooNb","activeDuration","hidden","start","217069UavQsz","1071kiODFq","tickerJob"];return(_0x3829=function(){return e})()}!function(){const e=_0x67db,t=_0x3829();for(;;)try{if(141169===parseInt(e(454))/1+-parseInt(e(465))/2+parseInt(e(466))/3*(parseInt(e(458))/4)+-parseInt(e(449))/5+parseInt(e(462))/6+-parseInt(e(446))/7+parseInt(e(450))/8*(-parseInt(e(455))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x67db;this[e(460)]=1e3,this[e(463)]=!1}[_0x1ea4fe(453)](){const e=_0x1ea4fe;this[e(456)]&&clearInterval(this[e(456)]),this[e(456)]=setInterval(()=>{const t=e;this[t(463)]||document[t(452)]||document[t(467)]()&&(console[t(447)](t(445)+storageManager[t(451)]/1e3+t(459)+storageManager[t(457)]/1e3+"s"),storageManager[t(448)]=Date[t(461)](),storageManager[t(451)]+=this[t(460)])},this[e(460)])}stop(){const e=_0x1ea4fe;clearInterval(this[e(456)]),this[e(456)]=void 0}pause(){this[_0x1ea4fe(463)]=!0}[_0x1ea4fe(464)](){this.isPaused=!1}}const activityTicker=new ActivityTicker,_0x59b9f7=_0x276e;function _0x13d6(){const e=["_country","finally","10507273zwFlio","3FvGkeq","country","253500zjRLgD","877gtMstC","country.is failed","signal","11NmCxzj","country_code","9334560iisCRO","https://api.country.is","abort","8DZbpOO","3864342FFBGAQ","4150372qtAslu","fetchWithTimeout","json","getCountryCode","1627835arEKcG","tryAllEndpoints","574iBFkzS","342ebMJhJ"];return(_0x13d6=function(){return e})()}!function(){const e=_0x276e,t=_0x13d6();for(;;)try{if(848215===parseInt(e(118))/1*(parseInt(e(110))/2)+parseInt(e(115))/3*(-parseInt(e(128))/4)+-parseInt(e(132))/5+parseInt(e(127))/6+-parseInt(e(114))/7*(-parseInt(e(126))/8)+parseInt(e(111))/9*(-parseInt(e(117))/10)+parseInt(e(121))/11*(parseInt(e(123))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this[_0x276e(112)]=null}[_0x59b9f7(131)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x276e;return!this[e(112)]&&(this[e(112)]=yield this[e(133)]()),this[e(112)]})}tryAllEndpoints(){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x276e,t=yield this[e(129)](e(124));if(!t.ok)throw new Error(e(119));return(yield t[e(130)]())[e(116)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x276e,t=yield this[e(129)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error("country.is failed");return(yield t[e(130)]()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x276e,t=yield this.fetchWithTimeout("https://ipwho.is/");if(!t.ok)throw new Error("ipwho.is failed");return(yield t.json())[e(122)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x59b9f7(129)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x276e,i=new AbortController,n=setTimeout(()=>i[r(125)](),t);return fetch(e,{signal:i[r(120)]})[r(113)](()=>clearTimeout(n))})}}function _0x276e(e,t){const r=_0x13d6();return(_0x276e=function(e,t){return r[e-=110]})(e,t)}const countryFinder=new CountryFinder;function _0x27f0(e,t){const r=_0x2529();return(_0x27f0=function(e,t){return r[e-=118]})(e,t)}function _0x2529(){const e=["7HpZoLt","4RrPjXp","39315asvbAH","673955rhYiCp","randomUUID","6259536CjYeZb","8328378zmChzI","9358370pnVddn","412nCuiQP","3115368XysxDF","6250285YaLNxH"];return(_0x2529=function(){return e})()}!function(){const e=_0x27f0,t=_0x2529();for(;;)try{if(771300===parseInt(e(124))/1*(parseInt(e(122))/2)+-parseInt(e(123))/3*(-parseInt(e(118))/4)+-parseInt(e(120))/5+-parseInt(e(127))/6*(-parseInt(e(121))/7)+-parseInt(e(126))/8+-parseInt(e(119))/9+-parseInt(e(128))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x27f0(125)]()};function _0xdb3d(){const e=["1828890lOmpSv","retryCount","24Yxrnhp","waitingQueue","now","endpoint","31470eSjuKg","length","shift","locked","randomUUID","30035gqhned","182YYtmFY","506tufIho","createdAt","1839OvtLup","acquire","push","368aYmrDV","1633968LfehlO","release","4692rfsLqP","24209rXFgLG"];return(_0xdb3d=function(){return e})()}const _0x202501=_0x222d;function _0x222d(e,t){const r=_0xdb3d();return(_0x222d=function(e,t){return r[e-=353]})(e,t)}!function(){const e=_0x222d,t=_0xdb3d();for(;;)try{if(111517===parseInt(e(364))/1+parseInt(e(360))/2*(-parseInt(e(357))/3)+-parseInt(e(367))/4*(-parseInt(e(353))/5)+-parseInt(e(363))/6*(-parseInt(e(354))/7)+-parseInt(e(361))/8+parseInt(e(365))/9+-parseInt(e(371))/10*(-parseInt(e(355))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x222d;this[r(366)]=0,this.maxRetries=3,this.id=crypto[r(375)](),this[r(370)]=e,this.parameters=t,this[r(356)]=Date[r(369)]()}}class Mutex{constructor(){const e=_0x222d;this[e(374)]=!1,this[e(368)]=[]}[_0x202501(358)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x222d;this[t(374)]?this.waitingQueue[t(359)](e):(this[t(374)]=!0,e())})})}[_0x202501(362)](){const e=_0x202501;if(this[e(368)][e(372)]>0){this[e(368)][e(373)]()()}else this[e(374)]=!1}}const _0x10cd66=_0x2adc;function _0x2adc(e,t){const r=_0x32f5();return(_0x2adc=function(e,t){return r[e-=225]})(e,t)}function _0x32f5(){const e=["❌ Request ","5HRddCE","PROCESSING_INTERVAL_MS","isCurrentlyProcessing","calculateBackoffDelay","shift","195496GBnmYY","SDK_INFOS","processMainQueue","push_token","⏳ Request ","startProcessing","209812ahlelE","Queue Manager is not initialized. Call initialize() first."," attempts. ","postRequestCheck","addRequest","📦 Moved ","error"," pending requests to main queue","now","mutex"," failed with error after ","resetBackoffDelay","subSessionCount","2430kbnNxe","addPendingRequest","firstSessionSubmit"," failed","sendRequest","1465749VWeDcX","warn","pow","log","MAX_DELAY_MS","endpoint"," processed successfully","retryCount"," failed after ","fcmToken","length","shutdown","isInitialized","parameters","release","BASE_DELAY_MS","sdkClickSubmit","processPendingQueue","112dRVDdJ","inactiveDuration","BACKOFF_MULTIPLIER","push","⏰ Backoff delay ended, resuming queue processing","maxRetries"," failed. Retry ","failedRequestDelay","acquire","saveMainQueue","1118748QDMnrg","pendingRequestRecords","6CqlXGz","debug","requestRecords","SDK_CLICKS","Applying backoff delay of ","Error in processing loop:","154DhoxgT","✅ Request ","151890kCbPFv","isProcessing","savePendingQueue","49154OfMELj","processingInterval","💥 Sending request (","getMainQueue","getMainRequestsSentFlag","doCallRequest","processQueues","): id=","getPendingQueue","SESSIONS"];return(_0x32f5=function(){return e})()}!function(){const e=_0x2adc,t=_0x32f5();for(;;)try{if(168261===parseInt(e(305))/1+parseInt(e(299))/2*(parseInt(e(272))/3)+-parseInt(e(270))/4*(parseInt(e(294))/5)+-parseInt(e(280))/6+parseInt(e(283))/7*(-parseInt(e(260))/8)+parseInt(e(242))/9+-parseInt(e(237))/10*(-parseInt(e(278))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x2adc;this.isInitialized=!1,this[e(281)]=!1,this.isCurrentlyProcessing=!1,this[e(233)]=new Mutex,this[e(284)]=null,this[e(295)]=100,this[e(267)]=0,this[e(246)]=3e4,this[e(262)]=2,this[e(257)]=1e3}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;this[e(254)]=!0,!this[e(281)]&&(yield this[e(304)]())})}[_0x10cd66(253)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;this[e(254)]&&(yield this.stopProcessing(),this[e(254)]=!1)})}[_0x10cd66(304)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;if(this.isInitialized){yield this[e(233)].acquire();try{if(this.isProcessing)return;this[e(281)]=!0,this[e(284)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(289)]()}catch(e){WTLogger[t(230)](t(277),e)}}),this[e(295)])}finally{this[e(233)][e(256)]()}yield this[e(289)]()}else WTLogger[e(243)](e(225))})}stopProcessing(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;yield this[e(233)][e(268)]();try{this[e(281)]=!1,this[e(284)]&&(clearInterval(this[e(284)]),this.processingInterval=null)}finally{this.mutex[e(256)]()}})}[_0x10cd66(228)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2adc;yield this[t(233)][t(268)]();try{const r=this[t(286)]();if(r.push(e),this[t(269)](r),this[t(267)]=0,!this[t(281)])return this.mutex[t(256)](),void(yield this[t(304)]())}finally{this.isProcessing&&this[t(233)].release()}})}[_0x10cd66(238)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2adc;yield this[t(233)][t(268)]();try{if(this[t(287)]()){const r=this[t(286)]();r[t(263)](e),this.saveMainQueue(r)}else{const r=this[t(291)]();r.push(e),this[t(282)](r)}if(this[t(267)]=0,!this[t(281)])return this[t(233)][t(256)](),void(yield this[t(304)]())}finally{this.isProcessing&&this[t(233)][t(256)]()}})}[_0x10cd66(289)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;if(this[e(281)]&&!this[e(296)]){if(this[e(267)]>0){if(Date.now()<this[e(267)])return;this[e(267)]=0,WTLogger[e(273)](e(264))}this[e(296)]=!0,yield this.mutex[e(268)]();try{yield this[e(301)](),yield this.processPendingQueue()}finally{this.mutex.release(),this.isCurrentlyProcessing=!1}}})}[_0x10cd66(301)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc,t=this[e(286)]();if(0===t[e(252)])return;const r=t[0];try{if(yield this[e(241)](r))t[e(298)](),this[e(269)](t),this[e(227)](r),WTLogger[e(273)](e(279)+r.id+e(248));else{if(t[0].retryCount++,t[0].retryCount>=t[0][e(265)]){const i=this[e(297)](t[0][e(249)]);this[e(267)]=Date[e(232)]()+i,WTLogger[e(243)](e(303)+r.id+e(250)+r[e(265)]+" attempts. "+(e(276)+i)+"ms")}else WTLogger[e(243)]("⚠️ Request "+r.id+e(266)+t[0][e(249)]+"/"+t[0].maxRetries);this.saveMainQueue(t)}}catch(i){if(WTLogger.error("Error sending request "+r[e(247)]+":",i),t[0][e(249)]++,t[0][e(249)]>=t[0][e(265)]){const i=this[e(297)](t[0][e(249)]);this[e(267)]=Date[e(232)]()+i,WTLogger.warn(e(303)+r.id+e(234)+t[0][e(265)]+e(226)+"Applying backoff delay of "+i+"ms")}this.saveMainQueue(t)}})}[_0x10cd66(297)](e){const t=_0x10cd66,r=this[t(257)]*Math[t(244)](this[t(262)],e-1);return Math.min(r,this.MAX_DELAY_MS)}[_0x10cd66(259)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2adc;if(!this.getMainRequestsSentFlag())return;const t=this[e(291)]();if(0===t.length)return;const r=this[e(286)]();r[e(263)](...t),this[e(269)](r),this.savePendingQueue([]),console[e(245)](e(229)+t[e(252)]+e(231))})}sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x2adc;WTLogger[r(273)](r(285)+e[r(247)]+r(290)+e.id);let i=!1;try{i=yield apiClient[r(288)](e[r(247)],e[r(255)])}catch(t){WTLogger.error(r(293)+e[r(247)]+r(240),t)}return i})}getMainQueue(){return storageManager[_0x10cd66(274)]}saveMainQueue(e){storageManager.requestRecords=e}[_0x10cd66(291)](){return storageManager[_0x10cd66(271)]}[_0x10cd66(282)](e){storageManager[_0x10cd66(271)]=e}[_0x10cd66(287)](){return storageManager.sdkClickSubmit}[_0x10cd66(227)](e){const t=_0x10cd66;switch(e[t(247)]){case WTEndpoints[t(275)]:storageManager[t(258)]=!0;break;case WTEndpoints[t(292)]:storageManager.firstSessionSubmit?(storageManager.activeDuration=0,storageManager[t(261)]=0,storageManager[t(236)]=1):storageManager[t(239)]=!0;break;case WTEndpoints[t(300)]:storageManager[t(251)]=e.parameters[t(302)]}}getQueueStatus(){const e=_0x10cd66;return{mainQueueLength:this[e(286)]()[e(252)],pendingQueueLength:this.getPendingQueue()[e(252)],isProcessing:this[e(281)],mainRequestsSent:this[e(287)](),isInBackoffDelay:this[e(267)]>0&&Date.now()<this[e(267)],backoffEndsAt:this[e(267)]>0?this[e(267)]:null}}[_0x10cd66(235)](){this[_0x10cd66(267)]=0,WTLogger.debug("🔄 Backoff delay manually reset")}getBackoffConfig(){const e=_0x10cd66;return{baseDelayMs:this[e(257)],multiplier:this.BACKOFF_MULTIPLIER,maxDelayMs:this[e(246)]}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var i=new r;return e(i),i}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,i){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var p=e.platform;if(p){var l=e.platformVersion;"Windows"==p&&(l=parseInt(majorize(l),10)>=13?"11":"10"),this.set(NAME,p).set(VERSION,l)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,h=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",h("browser")).set("cpu",h("cpu")).set("device",h("device")).set("engine",h("engine")).set("os",h("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if("object"==typeof e?(isExtensions(e,!0)?("object"==typeof t&&(r=t),t=e):(r=e,t=void 0),e=void 0):"string"!=typeof e||isExtensions(t,!0)||(r=t,t=void 0),r&&"function"==typeof r.append){var i={};r.forEach(function(e,t){i[t]=e}),r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var n="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),o=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var o in e)r[o]=i[o]&&i[o].length%2==0?i[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,n,o,s).set("ua",n).set("browser",this.getBrowser()).set("cpu",this.getCPU()).set("device",this.getDevice()).set("engine",this.getEngine()).set("os",this.getOS()).get()}:function(){return new UAItem(e,n,o[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",a("browser")],["getCPU",a("cpu")],["getDevice",a("device")],["getEngine",a("engine")],["getOS",a("os")],["getResult",a("result")],["getUA",function(){return n}],["setUA",function(e){return isString(e)&&(n=e.length>500?trim(e,500):e),this}]]).setUA(n),this}UAParser.VERSION="2.0.4",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x527c68=_0x16e3;function _0x16e3(e,t){const r=_0xa9bc();return(_0x16e3=function(e,t){return r[e-=394]})(e,t)}!function(){const e=_0x16e3,t=_0xa9bc();for(;;)try{if(475079===parseInt(e(403))/1*(parseInt(e(427))/2)+-parseInt(e(428))/3*(-parseInt(e(424))/4)+parseInt(e(396))/5*(-parseInt(e(398))/6)+-parseInt(e(416))/7+parseInt(e(442))/8*(parseInt(e(417))/9)+-parseInt(e(441))/10*(-parseInt(e(421))/11)+-parseInt(e(436))/12*(parseInt(e(438))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{getDeviceInfo(){const e=_0x16e3,t=(new UAParser)[e(414)]();return{browser:t.browser,os:t.os,device:t.device,engine:t[e(430)],cpu:t[e(447)],ua:t.ua}}get[_0x527c68(419)](){const e=_0x527c68;return window[e(406)]>=3?e(405):window.devicePixelRatio>=2?e(439):e(449)}get screenFormat(){const e=_0x527c68;return window[e(401)]>window[e(425)]?e(411):e(431)}get[_0x527c68(404)](){const e=_0x527c68,t=window[e(425)];return t<480?e(408):t<768?e(431):t<1440?"large":"xlarge"}get[_0x527c68(450)](){const e=_0x527c68;var t,r,i;const n=this[e(400)](),s=(null===(t=n[e(397)])||void 0===t?void 0:t[e(423)])||"",o=(null===(i=null===(r=n[e(397)])||void 0===r?void 0:r[e(445)])||void 0===i?void 0:i.toLowerCase())||"",a=n.ua[e(418)]();return"wearable"===s||o[e(446)]("watch")?6:s===e(415)||a[e(446)](e(433))||a.includes(e(453))||a[e(446)](e(443))||a[e(446)](e(399))||a[e(446)]("appletv")?4:s===e(429)||a.includes("playstation")||a[e(446)](e(435))||a[e(446)]("nintendo")?5:a[e(446)](e(394))||a.includes(e(444))||a[e(446)](e(407))?3:a[e(446)]("oculus")||a[e(446)](e(413))||a.includes("vr")||"embedded"===s?7:s===e(448)||"tablet"===s?1:""===s||s===e(422)?2:0}get[_0x527c68(440)](){const e=_0x527c68;return window[e(437)]&&window[e(437)](e(409))[e(410)]?"1":"0"}get[_0x527c68(420)](){const e=_0x527c68,t=window.devicePixelRatio||1,r=screen[e(452)]*t/160,i=screen[e(451)]*t/160;return Math[e(395)](Math.pow(r,2)+Math[e(402)](i,2)).toFixed(2)}get[_0x527c68(432)](){const e=_0x527c68;return e(426)in window||navigator[e(412)]>0?e(434):"pointer"}}const deviceDetector=new DeviceDetector;function _0xa9bc(){const e=["2352361vrdtfU","desktop","type","4ZMwWuy","innerWidth","ontouchstart","792654dUxcOY","249621GDCBmL","console","engine","normal","screenType","smart-tv","touch","xbox","12HPbgAD","matchMedia","6392373XsEyak","medium","uiStyle","40VqKjwb","8qGthqj","netcast","android auto","model","includes","cpu","mobile","low","uiMode","height","width","hbbtv","car","sqrt","5xTsxfx","device","3975954RJubfL","googletv","getDeviceInfo","innerHeight","pow","2ASziyg","screenSize","high","devicePixelRatio","carplay","small","(prefers-color-scheme: dark)","matches","long","maxTouchPoints","vive","getResult","smarttv","5144433rsjMHf","5698017KYNxCO","toLowerCase","screenDensity","displaySize"];return(_0xa9bc=function(){return e})()}const _0x167a50=_0x3051;function _0x42a8(){const e=["getSupportResult","6fENWBS","setItem","supportResults","__test__","deleteDatabase","resolve","getStorageSizeBytes","getItem","isLocalStorageSupported","key","1022LkUkJW","107175WrVhVz","12bLhSNl","2119488uhSGqG","46888mVluGb","indexedDB","isIndexedDBSupported","18hIYsbi","isSessionStorageSupported","936290oJqQpA","onerror","open","23048674DyiuZL","1981RmlcXG","length","result","7474385PplZPV","9993hfqEIy"];return(_0x42a8=function(){return e})()}!function(){const e=_0x3051,t=_0x42a8();for(;;)try{if(879374===-parseInt(e(286))/1+parseInt(e(285))/2*(parseInt(e(302))/3)+parseInt(e(288))/4+parseInt(e(301))/5*(-parseInt(e(304))/6)+parseInt(e(298))/7*(-parseInt(e(289))/8)+parseInt(e(292))/9*(-parseInt(e(294))/10)+-parseInt(e(297))/11*(-parseInt(e(287))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x3051(306)]=null}[_0x167a50(303)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3051;if(this[e(306)])return this.supportResults;const t=this[e(312)](),r=this.isSessionStorageSupported(),i=yield this[e(291)]();return this.supportResults={localStorage:t,sessionStorage:r,indexedDB:i},this[e(306)]})}[_0x167a50(310)](e){const t=_0x167a50;let r=0;for(let i=0;i<e[t(299)];i++){const n=e[t(284)](i);if(!n)continue;const s=e[t(311)](n);null!=s&&(r+=2*n[t(299)],r+=2*s[t(299)])}return r}isLocalStorageSupported(){const e=_0x167a50;try{const t=e(307);return localStorage[e(305)](t,"1"),localStorage.removeItem(t),!0}catch(e){return!1}}[_0x167a50(293)](){const e=_0x167a50;try{const t=e(307);return sessionStorage[e(305)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}[_0x167a50(291)](){const e=_0x167a50;return e(290)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(296)]("__test__check__");e[r(295)]=()=>t(!1),e.onsuccess=()=>{const i=r;e[i(300)].close(),indexedDB[i(308)]("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise[e(309)](!1)}}function _0x3051(e,t){const r=_0x42a8();return(_0x3051=function(e,t){return r[e-=284]})(e,t)}const storageSupport=new StorageSupport,_0x3bead5=_0x56a2;function _0x56a2(e,t){const r=_0x132c();return(_0x56a2=function(e,t){return r[e-=134]})(e,t)}!function(){const e=_0x56a2,t=_0x132c();for(;;)try{if(869670===-parseInt(e(148))/1+-parseInt(e(159))/2+parseInt(e(189))/3*(parseInt(e(140))/4)+parseInt(e(156))/5+parseInt(e(171))/6+parseInt(e(145))/7*(-parseInt(e(157))/8)+parseInt(e(154))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x56a2,t=new URLSearchParams(window[e(161)].search),r={};for(const[i,n]of t.entries())i[e(142)](e(193))&&n&&(r[i]=n);if(!r[e(175)]){const t=document[e(181)];r.utm_source=t?new URL(t)[e(143)]:e(168)}return!r[e(177)]&&(r[e(177)]=e(151)),Object.entries(r)[e(178)](([e,t])=>e+"="+encodeURIComponent(t))[e(152)]("&")}}function _0x132c(){const e=["Gatsby.js","/_next/","Drupal",'meta[name="generator"][content*="Drupal"]',"[id=___gatsby]","__VUE__","other","mix-manifest.json","static.squarespace.com","4795002rLpmfQ","from","Next.js","Meteor","utm_source",'script[src*="angular.js"], script[src*="angular.min.js"]',"utm_medium","map","cdn.shopify.com","detectWebFramework","referrer","querySelector","Zepto","Vue","drupal-settings-json","includes","scripts","svelte","6yygSBh",'meta[name="generator"][content*="Ghost"]',"/_nuxt/","src","utm_","Backbone.js","Ghost CMS",'meta[name="generator"][content*="WordPress"]',"wp-content","querySelectorAll","[ng-version]","React","innerHTML","[data-reactroot], [data-reactid]","82244wclPTG","some","startsWith","hostname","wp-includes","7217vExhOt","Backbone","[data-v-app], [data-v-]","1704277MgHWAl","Svelte","__reactContainer","organic","join","jQuery","16916328loIyPA","script[id=__NEXT_DATA__]","3665650PzMXmp","328sfnSAq","documentElement","1673586ckELNa","Laravel","location"];return(_0x132c=function(){return e})()}Utils[_0x3bead5(180)]=()=>{const e=_0x3bead5;return document.querySelector(e(155))||[...document.scripts][e(141)](t=>t.src[e(186)](e(163)))?e(173):window[e(137)]||document[e(182)](e(139))||Array[e(172)](document[e(135)]("*"))[e(141)](t=>void 0!==t._reactRootContainer||Object.keys(t)[e(141)](t=>t.startsWith(e(150))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(137):[...document.scripts][e(141)](t=>t[e(192)][e(186)](e(191)))?"Nuxt.js":window[e(167)]||window[e(184)]||document[e(182)](e(147))?"Vue.js":document.querySelector(e(166))?e(162):window||document.querySelector(".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]")||document[e(182)](e(176))||window.ng||document[e(182)](e(136))?"Angular":[...document[e(187)]][e(141)](t=>{const r=e;var i;return t[r(192)].includes(r(188))||(null===(i=t.textContent)||void 0===i?void 0:i.includes(r(188)))})?e(149):document[e(182)]("[x-data], [x-init], [x-bind]")?"Alpine.js":window[e(153)]?e(153):window[e(146)]?e(194):window[e(174)]?"Meteor.js":window[e(183)]?"Zepto.js":document[e(182)](e(196))||[...document[e(187)]][e(141)](t=>t.src.includes(e(134))||t[e(192)][e(186)](e(144)))?"WordPress":[...document[e(187)]][e(141)](t=>t[e(192)][e(186)]("/js/app.js")||t[e(192)].includes(e(169)))?e(160):document.querySelector(e(165))||document[e(158)][e(138)][e(186)](e(185))?e(164):document.documentElement[e(138)][e(186)](e(179))?"Shopify":[...document[e(187)]][e(141)](t=>t[e(192)][e(186)](e(170)))?"Squarespace":[...document[e(187)]][e(141)](t=>t[e(192)][e(186)]("wix.com"))?"Wix":document[e(182)](e(190))?e(195):void 0};const _0x4d8bcc=_0x3d66;function _0x3d66(e,t){const r=_0x28d9();return(_0x3d66=function(e,t){return r[e-=164]})(e,t)}function _0x28d9(){const e=["experimental-webgl","UNMASKED_RENDERER_WEBGL","map","height","VENDOR","92693aSQZBA","779611jrbfRj","SHA-256","digest","30hDLrKG","getCanvasFingerprint","14px 'Arial'","689652twLUbe","webgl","19081300ttmizh","from","getContext","hashData","toString","canvas","1775405HTuLkj","getExtension","font","stringify","getParameter","9sYuTDD","getWebGLFingerprint","renderer","top","fillStyle","#069","toDataURL","createElement","WEBGL_debug_renderer_info","join","vendor","131548EIJVJj","#f60","VERSION","40BbkPWa","MAX_RENDERBUFFER_SIZE","RENDERER","subtle","padStart","MAX_TEXTURE_SIZE","string","51428ZEjSio","WiseTrack WebGL Fingerprint!"];return(_0x28d9=function(){return e})()}!function(){const e=_0x3d66,t=_0x28d9();for(;;)try{if(347836===-parseInt(e(191))/1+parseInt(e(174))/2*(-parseInt(e(195))/3)+-parseInt(e(184))/4+-parseInt(e(206))/5+parseInt(e(198))/6+-parseInt(e(192))/7*(parseInt(e(177))/8)+parseInt(e(211))/9*(parseInt(e(200))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static isWebGLSupported(){const e=_0x3d66;try{const t=document[e(170)](e(205));return!(!t.getContext(e(199))&&!t.getContext(e(186)))}catch(e){return!1}}static[_0x4d8bcc(164)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3d66,t=document[e(170)](e(205)),r=t[e(202)]("webgl")||t[e(202)](e(186));if(!r)return;const i={version:r[e(210)](r[e(176)]),shadingLangVersion:r[e(210)](r.SHADING_LANGUAGE_VERSION),maxTextureSize:r[e(210)](r[e(182)]),maxRenderBufferSize:r.getParameter(r[e(178)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(207)](e(171));i[e(173)]=t?r[e(210)](t.UNMASKED_VENDOR_WEBGL):r.getParameter(r[e(190)])}catch(t){i[e(173)]=r.getParameter(r[e(190)])}try{const t=r[e(207)](e(171));i[e(165)]=t?r[e(210)](t[e(187)]):r[e(210)](r[e(179)])}catch(t){i[e(165)]=r.getParameter(r[e(179)])}return yield this[e(203)](JSON.stringify(i))})}static[_0x4d8bcc(196)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3d66,t=document[e(170)]("canvas");t.width=200,t[e(189)]=50;const r=t[e(202)]("2d");if(r)return r.textBaseline=e(166),r[e(208)]=e(197),r[e(167)]=e(175),r.fillRect(0,0,200,50),r[e(167)]=e(168),r.fillText(e(185),2,2),yield this.hashData(t[e(169)]())})}static[_0x4d8bcc(203)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x3d66,r=typeof e===t(183)?e:JSON[t(209)](e),i=(new TextEncoder).encode(r),n=yield crypto[t(180)][t(194)](t(193),i);return Array[t(201)](new Uint8Array(n))[t(188)](e=>e[t(204)](16)[t(181)](2,"0"))[t(172)]("")})}}function _0x41a3(){const e=["hardwareConcurrency","inactiveDuration","model","getDeviceFields","SDK","activeDuration","innerWidth","224zCXSff","13588173kAxWrt","DEFAULTS","appFrameWork","PLATFORM","pushToken","58445NcEsWk","type","cpu","2878344hUoiZK","outerWidth","other","getSupportResult","getLocalFields","getStorageSizeBytes","sessionStorage","sessionCount","name","10jSHOFP","getUTMParamsString","version","getDeviceInfo","location","fromEntries","66688jgcPRE","1348320phyAZb","toFixed","getApplicationFields","screenType","defaultTracker","screenDensity","10JxkkJS","map","1655ZatZQk","time_spent","filter","hostname","getWebGLFingerprint","now","created_at","PARAMETERS_VALUE","screenFormat","device","engine","language","entries","performance","assign","toLowerCase","customDeviceId","indexedDB","271588iNZPtV","toString","getCountryCode","uiMode","localStorage","deviceId","initialConfig","appVersion","displaySize","toISOString","uiStyle"];return(_0x41a3=function(){return e})()}const _0x357807=_0x3517;function _0x3517(e,t){const r=_0x41a3();return(_0x3517=function(e,t){return r[e-=138]})(e,t)}!function(){const e=_0x3517,t=_0x41a3();for(;;)try{if(265948===parseInt(e(191))/1*(parseInt(e(176))/2)+-parseInt(e(183))/3+-parseInt(e(140))/4+parseInt(e(164))/5+-parseInt(e(167))/6+parseInt(e(158))/7*(-parseInt(e(182))/8)+-parseInt(e(159))/9*(-parseInt(e(189))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{build(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3517,t=window.performance[e(196)]();let r={};return r[e(197)]=(new Date)[e(149)](),Object[e(205)](r,this.getLocalFields()),Object[e(205)](r,yield this[e(185)]()),Object[e(205)](r,this[e(154)]()),r[e(192)]=(window[e(204)][e(196)]()-t)[e(184)](1),WTConstants[e(160)].PARAMETERS_VALUE&&(r=Object[e(181)](Object[e(203)](r)[e(190)](([t,r])=>[t,null==r?WTConstants[e(160)].PARAMETERS_VALUE:r]))),!WTConstants[e(160)][e(198)]&&(r=Object.fromEntries(Object[e(203)](r)[e(193)](([e,t])=>null!=t))),r})}[_0x357807(185)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x3517,t=yield storageSupport[e(170)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(142)](),package_name:window[e(180)][e(194)],session_storage_enabled:t[e(173)],indexed_db_enabled:t[e(139)],local_storage_enabled:t[e(144)],session_storage:storageSupport[e(172)](sessionStorage)[e(184)](0),local_storage:storageSupport[e(172)](localStorage)[e(184)](0),web_gl_support:DeviceFingerprint.isWebGLSupported(),web_gl_fingerprint:yield DeviceFingerprint[e(195)](),web_gl_canvas_fingerprint:yield DeviceFingerprint.getCanvasFingerprint()}})}[_0x357807(171)](){const e=_0x357807,t=storageManager[e(146)];return t?{uuid:storageManager[e(145)],app_token:t.appToken,environment:t.userEnvironment,store_name:e(169),app_version:t[e(147)],push_token:storageManager[e(163)],custom_device_id:t[e(138)],default_tracker:t[e(187)],platform:WTConstants[e(155)][e(162)],framework:t[e(161)].toLowerCase(),initiated_by:WTConstants.SDK[e(162)]+"_"+t[e(161)][e(206)](),initiated_version:WTConstants[e(155)].VERSION,referrer:Utils[e(177)](),installed_at:storageManager.initialDate,session_count:storageManager[e(174)][e(141)](),session_length:parseInt((storageManager[e(156)]/1e3)[e(141)]())[e(141)](),subsession_count:parseInt((storageManager.subSessionCount/1e3).toString())[e(141)](),last_interval:parseInt((storageManager[e(152)]/1e3)[e(141)]())[e(141)]()}:{}}[_0x357807(154)](){const e=_0x357807,t=deviceDetector[e(179)]();return{browser_version:t.browser[e(178)],device_manufacturer:t[e(200)].vendor,device_name:t.device[e(153)],device_type:t[e(200)][e(165)],os_name:t.os.name,os_version:t.os[e(178)],cpu_type:t[e(166)].architecture,web_user_agent:t.ua,display_height:window.innerHeight.toFixed(0),display_width:window[e(157)][e(184)](0),language:navigator[e(202)].split("-")[0],screen_density:deviceDetector[e(188)],screen_format:deviceDetector[e(199)],screen_size:deviceDetector.screenSize,ui_mode:deviceDetector[e(143)][e(141)](),cpu_lpc:navigator[e(151)][e(141)](),ui_style:deviceDetector[e(150)],wout_width:window[e(168)][e(141)](),wout_height:window.outerHeight[e(141)](),web_engine:t.engine[e(175)],web_engine_version:t[e(201)][e(178)],display_size:deviceDetector[e(148)],screen_type:deviceDetector[e(186)]}}}const fieldsBuilder=new FieldsBuilder;function _0x20e2(e,t){const r=_0x4178();return(_0x20e2=function(e,t){return r[e-=157]})(e,t)}const _0x23ce57=_0x20e2;function _0x4178(){const e=["event","call","assign","toJSON","2213838EmVJkf","200655beTfeT","1155462izMvQP","7998248SwCovu","3616067GoDEAd","1542116gJUbPT","build","3LUfKJY","2061710mWAqyB"];return(_0x4178=function(){return e})()}!function(){const e=_0x20e2,t=_0x4178();for(;;)try{if(428868===parseInt(e(158))/1+parseInt(e(159))/2+parseInt(e(164))/3*(parseInt(e(162))/4)+parseInt(e(165))/5+parseInt(e(157))/6+-parseInt(e(161))/7+-parseInt(e(160))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x20e2;super(),this[t(166)]=e}[_0x23ce57(163)](){const e=_0x23ce57,t=Object.create(null,{build:{get:()=>super[e(163)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t.build[r(167)](this);return new Promise(e=>{const t=r;e(Object[t(168)](Object[t(168)]({},i),this[t(166)][t(169)]()))})})}}const _0x32e7f1=_0x17d7;function _0x17d7(e,t){const r=_0x3d4f();return(_0x17d7=function(e,t){return r[e-=132]})(e,t)}function _0x3d4f(){const e=["start","addPendingRequest","SDK_CLICKS","createRequest","26170anWrsh","blur","checkPushToken","trackEvent: SDK is not initialized yet","addEventListener","subSessionCount","16119jWBxHX","sessionInterval","toISOString","14643189tYrvyn","71XeIjAC","isEnabled"," request to main queue","628IrdXxh","eventCount","shutdown","initialDate","main","addObservers","SDK_INFOS","sdkEnabled","4055576VjMOOe","Add ","checkSessionIntervals","CheckPushToken: SDK is not enabled","createDeviceID","firstSessionSubmit","initialized","deviceId","fcmToken","info","warn","ATTRIBUTIONS","isRunning","log","checkFirstSession","s Totaly)","getCountryCode","pending","inactiveTime","createAttribution","trackEvent","pushToken","subsessionInterval","7KsqnkL","checkSdkClicks","70012620mcpZHB","s | (","3425380ERZYxj","hasFocus","Creating Install: SDK-Clicks has already submitted","Creating Session: SDK is not enabled!","sessionCount","WT Tracker stopped","inactiveDuration","beforeunload","setActivityTimes","addRequest","appSettings","12OPZEPh","focus","9xrmtCg","WT Tracker started","15907830meIyGp"," request to pending queue","initialize","debug","SESSIONS","sdkClickSubmit","now","Creating Attribution: SDK is not enabled!","visibilityState","build","visibilitychange","Creating Session: First-Session has already submitted","stop","isVisibleFocused"];return(_0x3d4f=function(){return e})()}!function(){const e=_0x17d7,t=_0x3d4f();for(;;)try{if(949830===parseInt(e(133))/1*(-parseInt(e(204))/2)+-parseInt(e(210))/3*(-parseInt(e(136))/4)+parseInt(e(171))/5*(-parseInt(e(182))/6)+-parseInt(e(167))/7*(parseInt(e(144))/8)+parseInt(e(184))/9*(-parseInt(e(186))/10)+-parseInt(e(132))/11+parseInt(e(169))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x17d7;this[e(156)]=!1,this[e(150)]=!1}get[_0x32e7f1(134)](){return storageManager[_0x32e7f1(143)]}[_0x32e7f1(188)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(160)](),yield this[e(179)](),this[e(148)](),this[e(141)](),this[e(150)]=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(134)]?(WTLogger[e(189)](e(185)),yield queueManager[e(188)](),yield this[e(168)](),yield this[e(158)](),yield this.createAttribution(),this[e(156)]=!0):WTLogger.warn("SDK is not enabled to start tracking!")})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(156)]=!1,activityTicker.stop(),yield queueManager[e(138)](),WTLogger.debug(e(176))})}[_0x32e7f1(206)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x17d7;storageManager[t(165)]=e,this[t(134)]?storageManager[t(152)]!==e?yield this.createRequest({endpoint:WTEndpoints[t(142)],queueType:"pending"}):WTLogger[t(153)]("This Notification token has sent to server previously"):WTLogger[t(154)](t(147))})}[_0x32e7f1(164)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x17d7;this[t(134)]?this[t(150)]?(storageManager[t(137)]+=1,yield this[t(203)]({endpoint:WTEndpoints.EVENTS,fBuilder:new EventFieldsBuilder(e),queueType:t(161)})):WTLogger[t(154)](t(207)):WTLogger.warn("trackEvent: SDK is not enabled")})}[_0x32e7f1(160)](){countryFinder.getCountryCode()}[_0x32e7f1(163)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(134)]?yield this[e(203)]({endpoint:WTEndpoints[e(155)],queueType:e(161)}):WTLogger[e(154)](e(193))})}[_0x32e7f1(158)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(134)]?storageManager[e(149)]?WTLogger[e(189)](e(197)):yield this[e(203)]({endpoint:WTEndpoints.SESSIONS,queueType:storageManager[e(191)]?e(140):"pending"}):WTLogger[e(154)]("Creating First Session: SDK is not enabled!")})}[_0x32e7f1(168)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;this[e(134)]?storageManager.sdkClickSubmit?WTLogger[e(189)](e(173)):yield this[e(203)]({endpoint:WTEndpoints[e(202)]}):WTLogger.warn("Creating Install: SDK is not enabled!")})}[_0x32e7f1(203)](e){const t=_0x32e7f1;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(140)}){const n=t,s=yield r[n(195)](),o=new RequestRecord(e,s);i===n(161)?(WTLogger.info(n(145)+e+n(187)),yield queueManager[n(201)](o)):(WTLogger[n(153)](n(145)+e+n(135)),yield queueManager[n(180)](o));const a=queueManager.getQueueStatus();console[n(157)](JSON.stringify(a))})}createDeviceID(){const e=_0x32e7f1;!storageManager[e(151)]&&(storageManager[e(151)]=cryptoHelper.generateDeviceUUID()),!storageManager[e(139)]&&(storageManager[e(139)]=(new Date)[e(212)]())}[_0x32e7f1(179)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;if(storageManager.activeTime){storageManager[e(162)]=storageManager.activeTime;const t=Date[e(192)]()-storageManager[e(162)];storageManager[e(177)]+=t,console[e(157)]("User was inactived for "+t/1e3+e(170)+storageManager[e(177)]/1e3+e(159)),yield this.checkSessionIntervals()}storageManager.activeTime=Date.now(),activityTicker[e(200)]()})}[_0x32e7f1(146)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x17d7;var t,r;const i=storageManager[e(162)],n=null===(t=storageManager[e(181)])||void 0===t?void 0:t[e(211)],s=null===(r=storageManager[e(181)])||void 0===r?void 0:r[e(166)];if(!this[e(134)])return void WTLogger[e(154)](e(174));if(!i||!n||!s)return;const o=Date.now()-i;o>parseInt(n)?(storageManager[e(175)]+=1,yield this[e(203)]({endpoint:WTEndpoints[e(190)],queueType:storageManager.sdkClickSubmit?e(140):"pending"})):o>parseInt(s)&&(storageManager[e(209)]+=1)})}[_0x32e7f1(199)](){const e=_0x32e7f1;return"visible"===document[e(194)]&&document[e(172)]()}[_0x32e7f1(141)](){const e=_0x32e7f1;window.addEventListener(e(178),()=>{activityTicker[e(198)]()}),document[e(208)](e(196),()=>{const t=e;this[t(199)]()?(this.createAttribution(),this[t(179)]()):activityTicker[t(198)]()}),window.addEventListener(e(183),()=>{const t=e;this[t(199)]()&&(this[t(163)](),this.setActivityTimes())}),window[e(208)](e(205),()=>{activityTicker.stop()})}}const tracker=new WTTracker,_0x39cf67=_0x1d4f;function _0x1d4f(e,t){const r=_0x1ea6();return(_0x1d4f=function(e,t){return r[e-=339]})(e,t)}function _0x1ea6(){const e=["sdkInitialized","sdkUpdate","SDK Config set","Need to get app-settings for ","stopTracking","getConfig","Set Fcm Token: SDK is not enabled!","NetworkError","trackEvent","clear","error","needAppSettings","setFCMToken","4160328LqtXEx","debug","SDK is disabled form server, contact your adminstrator!","‼️ Start Tracking: SDK is not initialized yet","checkSdkUpdate","defaultValue","755WejXTD","flush","_instance","isEnabled","trackingWaitingTime","fromConfig","forceUpdate","updateAppSettings","sdkEnvironment","config","37850582dKHUgD","appSettings","2101887BPVbYc","55356PItqbD","initialConfig","1670541Hpmehu","156zNOMXa","startTracking","instance","20kDELqg","‼️ SDK Config NOT set!, check errors.","The version you are currently using has expired and is no longer supported. Please update to the latest version to continue using the SDK","Config is not set!","setEnabled","App Settings set","checkPushToken","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","info","20znEwDP","checkSdkEnabled"," environment","2676mvxaNo","startTrackerAutomatically","253519ioSciF","warn","doGetAppSettings","sdkEnabled","‼️ Track Event: SDK is not initialized yet","Clearing Data and stop tracker!"];return(_0x1ea6=function(){return e})()}!function(){const e=_0x1d4f,t=_0x1ea6();for(;;)try{if(502805===-parseInt(e(393))/1*(parseInt(e(350))/2)+-parseInt(e(395))/3+parseInt(e(353))/4*(parseInt(e(380))/5)+-parseInt(e(396))/6*(parseInt(e(355))/7)+-parseInt(e(374))/8+parseInt(e(392))/9*(-parseInt(e(341))/10)+parseInt(e(390))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x39cf67(340)](){const e=_0x39cf67;return!WiseTrack[e(382)]&&(WiseTrack[e(382)]=new WiseTrack),WiseTrack[e(382)]}constructor(){this[_0x39cf67(361)]=!1}init(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1d4f;var r,i;const n=yield this[t(366)](e);this[t(351)](n),this[t(378)](n),this[t(345)](!0),yield this[t(387)](n),this.sdkInitialized=!0,yield tracker.initialize();(null===(r=e[t(354)])||void 0===r||r)&&setTimeout(()=>this[t(339)](),1e3*(null!==(i=e[t(384)])&&void 0!==i?i:0))})}setLogLevel(e){WTLogger.setLevel(e)}[_0x39cf67(381)](){const e=_0x39cf67;WTLogger.info(e(360)),storageManager[e(370)](),this[e(365)]()}[_0x39cf67(383)](){return storageManager[_0x39cf67(358)]}[_0x39cf67(345)](e){const t=_0x39cf67,r=storageManager.config;if(!r)throw new Error(t(344));if(!r[t(358)])throw new Error(t(376));if(r[t(386)])throw new Error(t(343));storageManager.sdkEnabled=e}[_0x39cf67(339)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x1d4f;this.sdkInitialized?this[e(383)]()?yield tracker[e(339)]():WTLogger.warn("Start Tracking: SDK is not enabled!"):WTLogger[e(356)](e(377))})}[_0x39cf67(365)](){return __awaiter(this,void 0,void 0,function*(){yield tracker.stopTracking()})}[_0x39cf67(373)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1d4f;this[t(361)]?this[t(383)]()?yield tracker[t(347)](e):WTLogger.warn(t(367)):WTLogger[t(356)]("‼️ Set Fcm Token: SDK is not initialized yet")})}[_0x39cf67(369)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1d4f;this[t(361)]?this[t(383)]()?yield tracker[t(369)](e):WTLogger.warn("Track Event: SDK is not enabled!"):WTLogger[t(356)](t(359))})}[_0x39cf67(366)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1d4f;let r;storageManager[t(394)]=e;try{r=yield apiClient.doGetConfig()}catch(e){if(!(e instanceof ApiError[t(368)]))throw WTLogger[t(349)](t(342)),e;r=storageManager[t(389)]||WTConfig[t(379)]}return storageManager.config=r,WTLogger[t(349)](t(363)),r})}updateAppSettings(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1d4f;let r;if(EnvironmentUtils[t(372)]()){WTLogger[t(375)](t(364)+EnvironmentUtils[t(388)]+t(352));try{r=yield apiClient[t(357)]()}catch(e){if(!(e instanceof ApiError[t(368)]))throw WTLogger[t(349)]("‼️ App Settings NOT set!, check errors."),e;r=WTAppSettings[t(379)]}}else r=WTAppSettings[t(385)](e);return storageManager[t(391)]=r,WTLogger.info(t(346)),r})}checkSdkEnabled(e){const t=_0x39cf67;if(!e[t(358)]){const e=t(376);throw WTLogger[t(371)](e),new Error(e)}}checkSdkUpdate(e){const t=_0x39cf67;if(e[t(386)]){const e=t(343);throw WTLogger[t(371)](e),new Error(e)}e[t(362)]&&WTLogger.warn(t(348))}}function _0x34ba(e,t){var r=_0x24b3();return(_0x34ba=function(e,t){return r[e-=274]})(e,t)}function _0x24b3(){var e=["18162kLNhFG","name","238007CyAYNL","144cjrEhV","13564620RLNvXR","778712NvLTBE","toJSON","34CpKhSy","amount","revenue","params","currency","5vrGzDI","79476rYBROr","42mFsAhx","2923398MVUruT","1464KaWoHW","type","default","8469447SuPhOY"];return(_0x24b3=function(){return e})()}function _0x4172(){var e=["3153688ZZcThF","301168pSxwDj","1503935LVTKoL","4LzXShh","30PsihFn","135915oLkwCG","66COCYlE","20RRVlCN","2456729qxyiro","71352CQKQbC","2290221XrYytk"];return(_0x4172=function(){return e})()}function _0x1a20(e,t){var r=_0x4172();return(_0x1a20=function(e,t){return r[e-=439]})(e,t)}!function(){for(var e=_0x34ba,t=_0x24b3();;)try{if(966272===-parseInt(e(286))/1*(parseInt(e(279))/2)+-parseInt(e(293))/3*(-parseInt(e(292))/4)+parseInt(e(291))/5*(-parseInt(e(274))/6)+parseInt(e(278))/7+-parseInt(e(284))/8*(-parseInt(e(282))/9)+parseInt(e(283))/10+-parseInt(e(281))/11*(parseInt(e(275))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x34ba;class r{constructor(e){var t=_0x34ba;this[t(276)]=t(277),this.name=e}addParam(e,t){var r,i=_0x34ba;let n=null!==(r=this[i(289)])&&void 0!==r?r:{};n[e]=t,this[i(289)]=n}[t(285)](){var e=t;return{event_type:this[e(276)],event_name:this[e(280)],partner_params:this[e(289)]}}}e.Default=r;e.Revenue=class extends r{constructor(e,r,i){var n=t;super(e),this[n(276)]=n(288),this[n(287)]=r,this.currency=i}toJSON(){var e=t;return{event_type:this[e(276)],event_name:this.name,revenue:this[e(287)],currency:this[e(290)],partner_params:this[e(289)]}}}}(exports.WTEvent||(exports.WTEvent={})),function(){for(var e=_0x1a20,t=_0x4172();;)try{if(345990===-parseInt(e(441))/1+-parseInt(e(439))/2*(-parseInt(e(448))/3)+-parseInt(e(446))/4*(-parseInt(e(445))/5)+parseInt(e(449))/6*(parseInt(e(444))/7)+-parseInt(e(443))/8+parseInt(e(442))/9+-parseInt(e(447))/10*(parseInt(e(440))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTLogEngine=WTLogEngine,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WiseTrack=WiseTrack;
|