wisetrack 2.0.3 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";function __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"==typeof SuppressedError&&SuppressedError;const _0x55ee83=_0x4620;function _0x4620(e,t){const r=_0x37b8();return(_0x4620=function(e,t){return r[e-=302]})(e,t)}function _0x37b8(){const e=["12186pobeHZ","18824660keZsCP","27888qksDHN","10128aDjYMW","web","760294jzLBWA","833poKQnu","1008410HDplNj","300000","267DlzWaK","997bfbb583c1245a426a53dc1899ec779ff354f9","debug","873unYIUC","297297PGMYCb","https://config.wisetrack.io"];return(_0x37b8=function(){return e})()}!function(){const e=_0x4620,t=_0x37b8();for(;;)try{if(198161===-parseInt(e(309))/1+-parseInt(e(316))/2+parseInt(e(305))/3*(-parseInt(e(314))/4)+-parseInt(e(303))/5+parseInt(e(311))/6*(-parseInt(e(302))/7)+-parseInt(e(313))/8*(parseInt(e(308))/9)+parseInt(e(312))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{HASH:_0x55ee83(306),PLATFORM:_0x55ee83(315),VERSION:"2.0.3"},CONFIG:{BASE_URL:_0x55ee83(310),DEFAULT_ENVIRONMENT:_0x55ee83(307)},DEFAULTS:{LOG_LEVEL:_0x55ee83(307),SESSION_INTERVAL:"1800000",SUBSESSION_INTERVAL:_0x55ee83(304),PARAMETERS_VALUE:void 0}},_0x2e4beb=_0x2881;function _0x2881(e,t){const r=_0x5aa9();return(_0x2881=function(e,t){return r[e-=383]})(e,t)}!function(){const e=_0x2881,t=_0x5aa9();for(;;)try{if(567036===parseInt(e(398))/1+parseInt(e(401))/2*(-parseInt(e(396))/3)+parseInt(e(387))/4*(-parseInt(e(388))/5)+-parseInt(e(403))/6*(-parseInt(e(383))/7)+parseInt(e(386))/8+parseInt(e(405))/9*(-parseInt(e(397))/10)+-parseInt(e(394))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),_0x2e4beb(391);const WTSDKEnvironment={DEBUG:_0x2e4beb(400),STAGE:_0x2e4beb(392),PRODUCTION:_0x2e4beb(391)};function _0x5aa9(){const e=["PRODUCTION","37350iqWWQv","DEFAULT_ENVIRONMENT","764514YNmJQk","644vbEphk","sdkEnvironment","DEBUG","8632872DAjoqw","228nQKUTf","92925mdFkcH","https://core.wisetrack.io","CONFIG","production","stage","https://core.debug.wisetrackdev.ir","7001863PxTkfD","STAGE","3Yvjbft","10HLkJhK","772522CTlYAD","Unknown environment: ","debug","152942RgAtVE"];return(_0x5aa9=function(){return e})()}const EnvironmentUtils={sdkEnvironment:WTConstants[_0x2e4beb(390)][_0x2e4beb(404)],needAppSettings(){const e=_0x2e4beb;return this[e(384)]!==WTSDKEnvironment[e(402)]},baseUrl(){const e=_0x2e4beb;switch(this[e(384)]){case WTSDKEnvironment[e(385)]:return e(393);case WTSDKEnvironment[e(395)]:return"https://core.stage.wisetrackdev.ir";case WTSDKEnvironment.PRODUCTION:return e(389);default:throw new Error(e(399)+this[e(384)])}}};function _0x1b51(e,t){const r=_0x2338();return(_0x1b51=function(e,t){return r[e-=249]})(e,t)}const _0x1bc7c0=_0x1b51;function _0x2338(){const e=["/api/v1/sdk_infos","205JoLwbW","321dSrPML","/api/v1/events","/api/v1/app_settings","3430575doMicz","51846TVHRxO","/api/v1/attributions","4025224GhAKYW","8gKsyEp","12630780ufQeAh","151746xINzsu","788333zTbxJw","3048tRRpBg"];return(_0x2338=function(){return e})()}!function(){const e=_0x1b51,t=_0x2338();for(;;)try{if(392706===parseInt(e(250))/1*(-parseInt(e(252))/2)+-parseInt(e(257))/3*(-parseInt(e(254))/4)+parseInt(e(256))/5*(-parseInt(e(261))/6)+-parseInt(e(253))/7+parseInt(e(249))/8+-parseInt(e(260))/9+parseInt(e(251))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x1bc7c0(258),SESSIONS:"/api/v1/sessions",SDK_CLICKS:"/api/v1/sdk_clicks",SDK_INFOS:_0x1bc7c0(255),ATTRIBUTIONS:_0x1bc7c0(262),APP_SETTINGS:_0x1bc7c0(259)};var _0x8b9197=_0x5bac;function _0x1360(){var e=["ATTRIBUTIONS","SUBSESSION_INTERVAL","defaultValue","session_interval","2167388AGjsjj","sdk_clicks","4365srhjMA","sdkInfos","486enwAem","sdk_infos","sessionInterval","sdkClicks","fromConfig","subsession_interval","DEFAULTS","attributions","3775716oOSHSZ","fromJson","3552235DHbvic","SDK_INFOS","subsessionInterval","events","1080hgEjKO","757564XJvYbH","SESSION_INTERVAL","sessions","1063643QdPyBt","1588EZkPOo"];return(_0x1360=function(){return e})()}function _0x5bac(e,t){var r=_0x1360();return(_0x5bac=function(e,t){return r[e-=465]})(e,t)}!function(){for(var e=_0x5bac,t=_0x1360();;)try{if(480608===parseInt(e(478))/1+-parseInt(e(482))/2*(-parseInt(e(491))/3)+-parseInt(e(487))/4+-parseInt(e(473))/5+parseInt(e(471))/6+parseInt(e(481))/7+-parseInt(e(477))/8*(-parseInt(e(489))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTAppSettings{constructor(e,t,r,i,n,s=WTConstants[_0x8b9197(469)].SESSION_INTERVAL,o=WTConstants[_0x8b9197(469)][_0x8b9197(484)]){var a=_0x8b9197;this[a(476)]=e,this[a(480)]=t,this[a(466)]=r,this[a(490)]=i,this[a(470)]=n,this.sessionInterval=s,this[a(475)]=o}static[_0x8b9197(467)](e){var t=_0x8b9197;return new WTAppSettings(e[t(476)],e.sessions,e[t(466)],e[t(490)],e[t(470)],e[t(465)],e[t(475)])}static[_0x8b9197(472)](e){var t,r,i=_0x8b9197;return new WTAppSettings(e.events,e[i(480)],e[i(488)],e[i(492)],e[i(470)],null!==(t=e[i(486)])&&void 0!==t?t:WTConstants[i(469)].SESSION_INTERVAL,null!==(r=e[i(468)])&&void 0!==r?r:WTConstants[i(469)].SUBSESSION_INTERVAL)}static get[_0x8b9197(485)](){var e=_0x8b9197;return new WTAppSettings(WTEndpoints.EVENTS,WTEndpoints.SESSIONS,WTEndpoints.SDK_CLICKS,WTEndpoints[e(474)],WTEndpoints[e(483)],WTConstants[e(469)][e(479)],WTConstants[e(469)][e(484)])}}function _0x5ca7(){var e=["897540RhBgvf","forceUpdate","122336xYyKoW","28VzcfgC","sdk_infos","SDK_INFOS","3037440obVHcd","6235434GbGVSC","baseUrl","defaultValue","DEFAULTS","base_url","2116XGxZkX","ATTRIBUTIONS","subsession_interval","1206XnxAKB","attributions","sdk_update","sessions","events","session_interval","SESSIONS","SESSION_INTERVAL","sdkEnabled","appSettings","SUBSESSION_INTERVAL","sdkUpdate","1245192MPhRLO","EVENTS","SDK_CLICKS","872350COJIGf","sessionInterval","APP_SETTINGS","subsessionInterval","sdk_enabled","force_update","fromJson","sdk_clicks"];return(_0x5ca7=function(){return e})()}function _0x4346(e,t){var r=_0x5ca7();return(_0x4346=function(e,t){return r[e-=251]})(e,t)}var _0x682589=_0x4346;!function(){for(var e=_0x4346,t=_0x5ca7();;)try{if(530136===-parseInt(e(288))/1*(parseInt(e(259))/2)+-parseInt(e(274))/3+parseInt(e(285))/4+parseInt(e(277))/5+-parseInt(e(254))/6+-parseInt(e(253))/7+parseInt(e(287))/8*(parseInt(e(262))/9))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[_0x682589(257)][_0x682589(269)],p=WTConstants[_0x682589(257)][_0x682589(272)]){var l=_0x682589;this.baseUrl=e,this[l(266)]=t,this[l(265)]=r,this.sdkClicks=i,this.sdkInfos=n,this[l(263)]=s,this[l(271)]=o,this[l(270)]=a,this[l(286)]=c,this[l(273)]=u,this[l(278)]=d,this[l(280)]=p}static[_0x682589(283)](e){var t,r,i,n,s,o=_0x682589;return new WTConfig(e[o(258)],e.events,e[o(265)],e[o(284)],e[o(251)],e[o(263)],e.app_settings,null===(t=e[o(281)])||void 0===t||t,null!==(r=e[o(282)])&&void 0!==r&&r,null!==(i=e[o(264)])&&void 0!==i&&i,null!==(n=e[o(267)])&&void 0!==n?n:WTConstants[o(257)][o(269)],null!==(s=e[o(261)])&&void 0!==s?s:WTConstants[o(257)][o(272)])}static get[_0x682589(256)](){var e=_0x682589;return new WTConfig(EnvironmentUtils[e(255)](),WTEndpoints[e(275)],WTEndpoints[e(268)],WTEndpoints[e(276)],WTEndpoints[e(252)],WTEndpoints[e(260)],WTEndpoints[e(279)])}}const _0x20fa55=_0x3625;!function(){const e=_0x3625,t=_0x3d94();for(;;)try{if(590140===parseInt(e(156))/1+-parseInt(e(152))/2*(-parseInt(e(171))/3)+-parseInt(e(170))/4*(parseInt(e(176))/5)+parseInt(e(179))/6*(-parseInt(e(153))/7)+-parseInt(e(164))/8*(-parseInt(e(178))/9)+parseInt(e(163))/10*(-parseInt(e(169))/11)+parseInt(e(166))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}function _0x3625(e,t){const r=_0x3d94();return(_0x3625=function(e,t){return r[e-=152]})(e,t)}function _0x3d94(){const e=["warn","10IbrYTV","setPrefix","279pwDKBx","584250RFyXGj","1301990OSsqSZ","28CcdJBv","info","setLevel","982343OBYOFq","LOG_LEVEL","none","level","indexOf","debug","error","162100FPciIA","157520bpMsIk","addOutputEngine","3302112rqSNDF","outputEngines","log","616HAEHgQ","1263008OjIAJD","3yLgnYT","shouldLog","DEFAULTS","prefix"];return(_0x3d94=function(){return e})()}class ConsoleLogEngine extends WTLogEngine{[_0x20fa55(168)](e,t,...r){const i=_0x20fa55;switch(e){case i(161):console.debug(t,...r);break;case i(154):console[i(154)](t,...r);break;case i(175):console[i(175)](t,...r);break;case"error":console[i(162)](t,...r);break;default:console[i(168)](t,...r)}}}const WTLogLevel={DEBUG:_0x20fa55(161),INFO:_0x20fa55(154),WARN:_0x20fa55(175),ERROR:"error",NONE:_0x20fa55(158)};class WTLogger{static[_0x20fa55(155)](e){this[_0x20fa55(159)]=e}static[_0x20fa55(177)](e){this.prefix=e}static[_0x20fa55(165)](e){this[_0x20fa55(167)].push(e)}static shouldLog(e){const t=_0x20fa55,r=[t(161),t(154),t(175),t(162)],i=r.indexOf(this[t(159)]);return r[t(160)](e)>=i}static[_0x20fa55(168)](e,...t){const r=_0x20fa55;if(!this[r(172)](e))return;const i="["+this[r(174)]+"-"+e.toUpperCase()+"]";for(const n of this[r(167)])n.log(e,i,...t)}static[_0x20fa55(161)](...e){const t=_0x20fa55;this[t(168)](t(161),...e)}static[_0x20fa55(154)](...e){const t=_0x20fa55;this[t(168)](t(154),...e)}static[_0x20fa55(175)](...e){const t=_0x20fa55;this[t(168)](t(175),...e)}static[_0x20fa55(162)](...e){this.log("error",...e)}}function _0x6fb1(e,t){var r=_0x5ada();return(_0x6fb1=function(e,t){return r[e-=429]})(e,t)}WTLogger.level=WTConstants[_0x20fa55(173)][_0x20fa55(157)],WTLogger[_0x20fa55(174)]="WT",WTLogger[_0x20fa55(167)]=[new ConsoleLogEngine];var _0x50793d=_0x6fb1;!function(){for(var e=_0x6fb1,t=_0x5ada();;)try{if(217715===-parseInt(e(486))/1+-parseInt(e(476))/2+parseInt(e(461))/3*(-parseInt(e(452))/4)+-parseInt(e(468))/5*(parseInt(e(511))/6)+parseInt(e(499))/7+-parseInt(e(481))/8*(parseInt(e(501))/9)+-parseInt(e(505))/10*(-parseInt(e(480))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x50793d(438),INITIAL_DATE:_0x50793d(459),INITIAL_CONFIG:_0x50793d(436),CONFIG:_0x50793d(487),APP_SETTINGS:_0x50793d(463),SDK_CLICK_SUBMIT:_0x50793d(469),FIRST_SESSION_SUBMIT:_0x50793d(456),SDK_ENABLED:_0x50793d(473),FCM_TOKEN:"WT.FcmToken",PUSH_TOKEN:_0x50793d(453),EVENT_COUNT:_0x50793d(457),SESSION_COUNT:_0x50793d(443),SESSION_LENGTH:_0x50793d(450),SUBSESSION_COUNT:_0x50793d(493),ACTIVE_TIME:_0x50793d(500),INACTIVE_TIME:_0x50793d(503),INACTIVE_DURATION:_0x50793d(455),REQUEST_QUEUE:_0x50793d(439),PENDING_REQUEST_QUEUE:_0x50793d(444)};class StorageManager{clear(){localStorage[_0x50793d(432)]()}setJson(e,t){var r=_0x50793d;if(t)try{const i=JSON[r(502)](t);localStorage.setItem(e,i)}catch(t){WTLogger[r(472)](r(466)+e+"'",t)}else localStorage.removeItem(e)}[_0x50793d(464)](e){var t=_0x50793d;const r=localStorage.getItem(e);if(!r)return null;try{return JSON[t(434)](r)}catch(r){return WTLogger[t(472)](t(460)+e+t(510)+r,r),null}}optionalNumber(e){const t=localStorage[_0x50793d(494)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x50793d(465)](e){var t=_0x50793d;const r=localStorage[t(494)](e);return null===r?null:r===t(429)||r!==t(462)&&null}get[_0x50793d(441)](){var e=_0x50793d;return localStorage[e(494)](WTStorageKeys[e(449)])}set[_0x50793d(441)](e){var t=_0x50793d;e?localStorage[t(437)](WTStorageKeys.DEVICE_ID,e):localStorage[t(492)](WTStorageKeys.DEVICE_ID)}get[_0x50793d(504)](){var e=_0x50793d;return this[e(464)](WTStorageKeys[e(467)])}set initialDate(e){this[_0x50793d(431)](WTStorageKeys.INITIAL_DATE,e)}get[_0x50793d(483)](){var e=_0x50793d;return this.getJson(WTStorageKeys[e(482)])}set[_0x50793d(483)](e){var t=_0x50793d;this.setJson(WTStorageKeys[t(482)],e)}get[_0x50793d(445)](){var e=_0x50793d;return this[e(464)](WTStorageKeys[e(495)])}set[_0x50793d(445)](e){this.setJson(WTStorageKeys.CONFIG,e)}get[_0x50793d(475)](){var e=_0x50793d;return this[e(464)](WTStorageKeys[e(479)])}set[_0x50793d(475)](e){var t=_0x50793d;this[t(431)](WTStorageKeys[t(479)],e)}get[_0x50793d(471)](){var e;return null!==(e=this.optionalBool(WTStorageKeys.SDK_ENABLED))&&void 0!==e&&e}set[_0x50793d(471)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(454)],e[t(474)]())}get[_0x50793d(498)](){var e,t=_0x50793d;return null!==(e=this[t(465)](WTStorageKeys[t(497)]))&&void 0!==e&&e}set[_0x50793d(498)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(497)],e[t(474)]())}get[_0x50793d(508)](){var e;return null!==(e=this.optionalBool(WTStorageKeys.FIRST_SESSION_SUBMIT))&&void 0!==e&&e}set[_0x50793d(508)](e){var t=_0x50793d;localStorage.setItem(WTStorageKeys[t(447)],e[t(474)]())}get[_0x50793d(433)](){var e=_0x50793d;return localStorage[e(494)](WTStorageKeys[e(440)])}set[_0x50793d(433)](e){var t=_0x50793d;e?localStorage[t(437)](WTStorageKeys[t(440)],e):localStorage[t(492)](WTStorageKeys[t(440)])}get[_0x50793d(478)](){var e=_0x50793d;return localStorage[e(494)](WTStorageKeys[e(477)])}set[_0x50793d(478)](e){var t=_0x50793d;e?localStorage[t(437)](WTStorageKeys[t(477)],e):localStorage[t(492)](WTStorageKeys[t(477)])}get[_0x50793d(506)](){var e,t=_0x50793d;return null!==(e=this.optionalNumber(WTStorageKeys[t(489)]))&&void 0!==e?e:1}set[_0x50793d(506)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(489)],e[t(474)]())}get[_0x50793d(488)](){var e,t=_0x50793d;return null!==(e=this.optionalNumber(WTStorageKeys[t(496)]))&&void 0!==e?e:1}set[_0x50793d(488)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(496)],e[t(474)]())}get[_0x50793d(470)](){var e,t=_0x50793d;return null!==(e=this[t(512)](WTStorageKeys[t(509)]))&&void 0!==e?e:0}set[_0x50793d(470)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(509)],e.toString())}get[_0x50793d(430)](){var e;return null!==(e=this[_0x50793d(512)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set[_0x50793d(430)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(485)],e[t(474)]())}get[_0x50793d(507)](){var e=_0x50793d;return this[e(512)](WTStorageKeys[e(458)])}set inactiveTime(e){var t=_0x50793d;null!==e?localStorage[t(437)](WTStorageKeys[t(458)],e[t(474)]()):localStorage.removeItem(WTStorageKeys[t(458)])}get activeTime(){var e=_0x50793d;return this[e(512)](WTStorageKeys[e(442)])}set[_0x50793d(451)](e){var t=_0x50793d;null!==e?localStorage[t(437)](WTStorageKeys.INACTIVE_TIME,e.toString()):localStorage.removeItem(WTStorageKeys[t(442)])}get[_0x50793d(446)](){var e,t=_0x50793d;return null!==(e=this[t(464)](WTStorageKeys[t(484)]))&&void 0!==e?e:[]}set[_0x50793d(446)](e){this[_0x50793d(431)](WTStorageKeys.REQUEST_QUEUE,e)}get[_0x50793d(490)](){var e,t=_0x50793d;return null!==(e=this[t(464)](WTStorageKeys[t(448)]))&&void 0!==e?e:[]}set pendingRequestRecords(e){var t=_0x50793d;this[t(431)](WTStorageKeys[t(448)],e)}get eventCount(){var e;return null!==(e=this[_0x50793d(512)](WTStorageKeys.EVENT_COUNT))&&void 0!==e?e:0}set[_0x50793d(435)](e){var t=_0x50793d;localStorage[t(437)](WTStorageKeys[t(491)],e.toString())}}function _0x5ada(){var e=["SESSION_LENGTH","': ","58836XVQznF","optionalNumber","true","inactiveDuration","setJson","clear","fcmToken","parse","eventCount","WT.InitialConfigs","setItem","WT.DeviceId","WT.RequestQueue","FCM_TOKEN","deviceId","INACTIVE_TIME","WT.SessionCount","WT.PendingRequestQueue","config","requestRecords","FIRST_SESSION_SUBMIT","PENDING_REQUEST_QUEUE","DEVICE_ID","WT.SessionLenght","activeTime","4lUSQIW","WT.PushToken","SDK_ENABLED","WT.InactiveDuration","WT.FirstSessionSubmit","WT.EventCount","ACTIVE_TIME","WT.InitialDate","Error in JSON decoding for key '","269718tqYvrj","false","WT.AppSettings","getJson","optionalBool","Error in encoding object for key '","INITIAL_DATE","10zzWMeT","WT.SdkClickSubmit","activeDuration","sdkEnabled","error","WT.SdkEnabled","toString","appSettings","220518UfsWTz","PUSH_TOKEN","pushToken","APP_SETTINGS","143jQrEYO","344QZUvmu","INITIAL_CONFIG","initialConfig","REQUEST_QUEUE","INACTIVE_DURATION","380458hVeSDL","WT.Configs","subSessionCount","SESSION_COUNT","pendingRequestRecords","EVENT_COUNT","removeItem","WT.SubSessionCount","getItem","CONFIG","SUBSESSION_COUNT","SDK_CLICK_SUBMIT","sdkClickSubmit","2455656UgJpCz","WT.ActiveTime","32877ipQyam","stringify","WT.InactiveTime","initialDate","480170GDEZwY","sessionCount","inactiveTime","firstSessionSubmit"];return(_0x5ada=function(){return e})()}const storageManager=new StorageManager;function _0x3b05(e,t){var r=_0x3df2();return(_0x3b05=function(e,t){return r[e-=155]})(e,t)}function _0x3df2(){var e=["NetworkError: ","Invalid URL: ","message","NetworkError","name","1673624FPHUTm","80564jpRnAq","ServerError","InvalidUrl","84KDTsvr","1611454RDMioU","24606JoFLYQ","1583099sTgeem","16118388CGNxkn","statusCode","252559vGsYGi","DecodingError","745wsNWRD","ServerError ","DecodingError: "];return(_0x3df2=function(){return e})()}var ApiError;function _0x3d49(e,t){var r=_0x2c1b();return(_0x3d49=function(e,t){return r[e-=373]})(e,t)}function _0x2c1b(){var e=["4397520JZUCBo","4825074RHsjFf","1687236kpeiZk","219327vQwmfy","49tImMnu","maxRetries","6005816XalmPs","192310dyRaFC","965692elCmMT","waitBeforeRetry","4zKjVWT","3231xSleuN","retryInterval"];return(_0x2c1b=function(){return e})()}!function(){for(var e=_0x3b05,t=_0x3df2();;)try{if(425397===parseInt(e(173))/1+parseInt(e(168))/2+parseInt(e(167))/3*(parseInt(e(164))/4)+-parseInt(e(155))/5*(-parseInt(e(169))/6)+-parseInt(e(170))/7+parseInt(e(163))/8+-parseInt(e(171))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0x3b05;class r extends Error{constructor(e){super(_0x3b05(159)+e),this.name="InvalidUrl"}}e[t(166)]=r;class i extends Error{constructor(e,r){var i=t;super(i(156)+e+": "+r),this[i(172)]=e,this[i(160)]=r,this[i(162)]=i(165)}}e[t(165)]=i;class n extends Error{constructor(e){super(t(158)+e),this.name="NetworkFailure"}}e[t(161)]=n;class s extends Error{constructor(e){var r=t;super(r(157)+e),this[r(162)]="DecodingError"}}e[t(174)]=s}(ApiError||(ApiError={}));var _0x3e8d7f=_0x3d49;!function(){for(var e=_0x3d49,t=_0x2c1b();;)try{if(994725===-parseInt(e(382))/1+-parseInt(e(374))/2+-parseInt(e(380))/3*(parseInt(e(376))/4)+-parseInt(e(379))/5+-parseInt(e(381))/6*(parseInt(e(383))/7)+-parseInt(e(385))/8+-parseInt(e(377))/9*(-parseInt(e(373))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x3d49;this.maxRetries=e,this[r(378)]=t}canRetry(e){return e<this[_0x3d49(384)]}[_0x3e8d7f(375)](){return __awaiter(this,void 0,void 0,function*(){var e=_0x3d49;return new Promise(t=>setTimeout(t,this[e(378)]))})}}function _0x5a5e(e,t){const r=_0x97ff();return(_0x5a5e=function(e,t){return r[e-=109]})(e,t)}function _0x97ff(){const e=["waitBeforeRetry","746296DfXZtJ","status","retryPolicy","✅ API SUCCESS (","method","301768gzOwDY","stringify","638652ltDYNc","Request successful","Unknown error","3127194FpIkSl","headers","params","DecodingError","12270hInzif","warn","261895cMPLTE","-- PARAMETERS =>","canRetry","20EgNYfR","sendRequest","🚀 REQUEST (","7246921uipQCU",") => ","text","formData","Content-Type","application/json","retryAttempt","json","append","message","63fRXGzl","❌ API ERROR (","debug",") =>","Server error","assign","524ZgHBAA","18dqgztT"];return(_0x97ff=function(){return e})()}!function(){const e=_0x5a5e,t=_0x97ff();for(;;)try{if(383601===parseInt(e(138))/1+parseInt(e(145))/2+parseInt(e(111))/3*(-parseInt(e(135))/4)+parseInt(e(113))/5*(parseInt(e(136))/6)+-parseInt(e(129))/7*(parseInt(e(143))/8)+-parseInt(e(148))/9*(-parseInt(e(116))/10)+-parseInt(e(119))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0x5a5e,i=t[r(125)]||1;let n;WTLogger[r(131)](r(118)+i+r(120)+t.method+" "+e),WTLogger[r(131)](r(114),t[r(109)]||t.formData||{});const s=Object.assign({Accept:"application/json"},t[r(149)]);if(t[r(122)]){const e=new FormData;for(const i in t[r(122)])e[r(127)](i,t[r(122)][i]);n=e}else t[r(109)]&&(s[r(123)]=r(124),n=JSON[r(144)](t[r(109)]));try{const i=yield fetch(e,{method:t[r(142)],headers:s,body:n});if(!i.ok){let e=yield i[r(126)](),t=e[r(128)]||(yield i[r(121)]());throw WTLogger[r(112)](r(130)+i.status+") =>",t),new ApiError.ServerError(i.status,e[r(128)]||r(133))}try{const e=yield i[r(126)]();return WTLogger[r(131)](r(141)+i[r(139)]+r(132),e[r(128)]||r(146)),e}catch(e){throw new(ApiError[r(110)])(e[r(128)]||String(e))}}catch(n){if(n instanceof ApiError.ServerError||n instanceof ApiError[r(110)])throw n;if(WTLogger.error("Error executing request",n),this[r(140)]()[r(115)](i))return yield this[r(140)]()[r(137)](),this[r(117)](e,Object[r(134)](Object[r(134)]({},t),{retryAttempt:i+1}));throw new ApiError.NetworkError(n[r(128)]||r(147))}})}};function _0x1afa(){const e=["SDK","PRODUCTION","1070xBlWQk","28vznplo","POST","hostname","2706875rQUUoq","initialConfig","sdkEnvironment","18KPTYXy","1191568DtyngI","CONFIG","other","toISOString","AppSettings Url is not set","sendRequest","HASH","PLATFORM","10iGzTlu","baseUrl","218067BWMSGS","23567896xfGaDF","appFrameWork","location","BASE_URL","1469cJdZZx","appToken","Initial Config is not set","result","success","SDK Config is not set","631194AvfOlV","3073552NaWuIi","fromJson","appSettings","appVersion"];return(_0x1afa=function(){return e})()}function _0x45c1(e,t){const r=_0x1afa();return(_0x45c1=function(e,t){return r[e-=454]})(e,t)}!function(){const e=_0x45c1,t=_0x1afa();for(;;)try{if(490656===-parseInt(e(474))/1*(parseInt(e(487))/2)+-parseInt(e(469))/3*(-parseInt(e(488))/4)+-parseInt(e(455))/5+parseInt(e(480))/6+-parseInt(e(459))/7+parseInt(e(481))/8*(-parseInt(e(458))/9)+parseInt(e(467))/10*(parseInt(e(470))/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=_0x45c1,t=storageManager[e(456)];if(!t)throw e(476);const r={app_token:t[e(475)],app_version:t[e(484)],framework:t[e(471)],env:EnvironmentUtils[e(457)],sdk_hash:WTConstants[e(485)][e(465)],package_name:window.location[e(454)],platform:WTConstants.SDK[e(466)],store_name:e(461)},i=yield networkManager[e(464)](WTConstants[e(460)][e(473)],{method:"POST",formData:r});return WTConfig.fromJson(i[e(477)])})},doGetAppSettings(){return __awaiter(this,void 0,void 0,function*(){const e=_0x45c1,t=storageManager[e(456)],r=storageManager.config;if(!t)throw e(476);if(!r)throw e(479);if(!r[e(483)])throw e(463);const i={app_token:t.appToken,app_version:t[e(484)],framework:t[e(471)],env:EnvironmentUtils.sdkEnvironment,sdk_hash:WTConstants[e(485)][e(465)],package_name:window[e(472)][e(454)],platform:WTConstants[e(485)].PLATFORM,store_name:e(461)},n=yield networkManager[e(464)](r[e(468)]+r.appSettings,{method:e(489),formData:i});return WTAppSettings[e(482)](n[e(477)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x45c1,i=storageManager.initialConfig,n=storageManager.config;if(!i)throw r(476);if(!n)throw"SDK Config is not set";t.updated_at=(new Date)[r(462)]();return(yield networkManager[r(464)](n.baseUrl+e,{method:r(489),params:{needs_response_details:EnvironmentUtils[r(457)]!=WTSDKEnvironment[r(486)],parameters:t}}))[r(478)]})}},_0x571963=_0x7524;function _0x7524(e,t){const r=_0x25cf();return(_0x7524=function(e,t){return r[e-=297]})(e,t)}!function(){const e=_0x7524,t=_0x25cf();for(;;)try{if(652979===-parseInt(e(300))/1+-parseInt(e(320))/2*(-parseInt(e(306))/3)+-parseInt(e(305))/4*(-parseInt(e(311))/5)+parseInt(e(299))/6*(parseInt(e(307))/7)+parseInt(e(315))/8+-parseInt(e(308))/9+-parseInt(e(304))/10*(parseInt(e(297))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x7524;this.tickerDelay=1e3,this[e(309)]=!1}[_0x571963(316)](){const e=_0x571963;this[e(310)]&&clearInterval(this.tickerJob),this.tickerJob=setInterval(()=>{const t=e;this.isPaused||document[t(301)]||document[t(312)]()&&(console.log(t(303)+storageManager[t(317)]/1e3+t(298)+storageManager.inactiveDuration/1e3+"s"),storageManager[t(302)]=Date[t(318)](),storageManager[t(317)]+=this[t(314)])},this[e(314)])}[_0x571963(319)](){clearInterval(this.tickerJob),this.tickerJob=void 0}pause(){this[_0x571963(309)]=!0}[_0x571963(313)](){this[_0x571963(309)]=!1}}function _0x25cf(){const e=["hidden","activeTime","ActivityTicker: active duration= ","140pOsTGE","4AJPaGR","18fdeVkK","7raHigf","5287599nKnDFI","isPaused","tickerJob","2267010tehfth","hasFocus","resume","tickerDelay","5333760aAQPUn","start","activeDuration","now","stop","300224XQCtiF","925991MMjfNQ","s, inactive duration= ","6296622BvPQhg","651207DxkOCi"];return(_0x25cf=function(){return e})()}const activityTicker=new ActivityTicker,_0x31e4bd=_0x3f62;function _0x3a8e(){const e=["country_code","1460lmBCXH","_country","ipwho.is failed","859056CRDVbU","country","https://ipwho.is/","6845589jPQTOf","8396150uCbrYC","690nKRsxo","abort","8qPheeq","26hXahjW","signal","fetchWithTimeout","1186423WecEoS","country.is failed","40196arWNEc","1998927kWZZuS","tryAllEndpoints","json"];return(_0x3a8e=function(){return e})()}!function(){const e=_0x3f62,t=_0x3a8e();for(;;)try{if(387322===-parseInt(e(324))/1*(parseInt(e(319))/2)+-parseInt(e(325))/3+parseInt(e(329))/4*(-parseInt(e(316))/5)+-parseInt(e(332))/6+-parseInt(e(322))/7*(-parseInt(e(318))/8)+parseInt(e(314))/9+parseInt(e(315))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this._country=null}getCountryCode(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3f62;return!this[e(330)]&&(this[e(330)]=yield this[e(326)]()),this[e(330)]})}[_0x31e4bd(326)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f62,t=yield this.fetchWithTimeout("https://api.country.is");if(!t.ok)throw new Error(e(323));return(yield t[e(327)]())[e(312)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f62,t=yield this[e(321)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(323));return(yield t.json()).countryCode||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x3f62,t=yield this[e(321)](e(313));if(!t.ok)throw new Error(e(331));return(yield t[e(327)]())[e(328)]||null})];for(const t of e)try{const e=yield t();if(e)return e}catch(e){}return null})}[_0x31e4bd(321)](e){return __awaiter(this,arguments,void 0,function*(e,t=2e3){const r=_0x3f62,i=new AbortController,n=setTimeout(()=>i[r(317)](),t);return fetch(e,{signal:i[r(320)]}).finally(()=>clearTimeout(n))})}}function _0x3f62(e,t){const r=_0x3a8e();return(_0x3f62=function(e,t){return r[e-=312]})(e,t)}const countryFinder=new CountryFinder;function _0x7684(){const e=["31213YAPlyv","400uNyUkw","12qyicJB","403310nuvrqw","1250424lTyhZa","73658svtGRB","4224285ihNWKs","154hcCLWg","39JOHNyR","1290110TbIyFd","172061DrCPWn"];return(_0x7684=function(){return e})()}function _0x2189(e,t){const r=_0x7684();return(_0x2189=function(e,t){return r[e-=102]})(e,t)}!function(){const e=_0x2189,t=_0x7684();for(;;)try{if(311719===-parseInt(e(106))/1+parseInt(e(112))/2*(-parseInt(e(104))/3)+-parseInt(e(111))/4+-parseInt(e(110))/5*(-parseInt(e(109))/6)+parseInt(e(107))/7*(-parseInt(e(108))/8)+-parseInt(e(102))/9+-parseInt(e(105))/10*(-parseInt(e(103))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto.randomUUID()},_0x20dce0=_0x14ef;!function(){const e=_0x14ef,t=_0x4ef6();for(;;)try{if(865355===parseInt(e(455))/1+-parseInt(e(451))/2*(parseInt(e(452))/3)+parseInt(e(447))/4*(parseInt(e(444))/5)+-parseInt(e(443))/6*(parseInt(e(446))/7)+parseInt(e(461))/8*(-parseInt(e(459))/9)+-parseInt(e(438))/10*(-parseInt(e(454))/11)+parseInt(e(445))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x14ef;this.retryCount=0,this[r(442)]=3,this.id=crypto.randomUUID(),this[r(448)]=e,this[r(440)]=t,this[r(439)]=Date[r(456)]()}}function _0x14ef(e,t){const r=_0x4ef6();return(_0x14ef=function(e,t){return r[e-=438]})(e,t)}class Mutex{constructor(){const e=_0x14ef;this[e(450)]=!1,this[e(449)]=[]}[_0x20dce0(457)](){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x14ef;this[t(450)]?this[t(449)][t(441)](e):(this[t(450)]=!0,e())})})}[_0x20dce0(458)](){const e=_0x20dce0;if(this[e(449)][e(453)]>0){this.waitingQueue[e(460)]()()}else this.locked=!1}}function _0x4ef6(){const e=["release","18qHDgRy","shift","4120888naBqIW","11290bndyrQ","createdAt","parameters","push","maxRetries","48HfMcFF","1029595HyDljQ","11913336XblVuy","988253pPjqQN","28QOiLqP","endpoint","waitingQueue","locked","2OJXqwy","350409dvQZWi","length","3707iHKAYf","327128ytjRPK","now","acquire"];return(_0x4ef6=function(){return e})()}const _0x2c9c21=_0x2fa8;function _0x2fa8(e,t){const r=_0x5230();return(_0x2fa8=function(e,t){return r[e-=400]})(e,t)}function _0x5230(){const e=[" attempts. ","now","warn","processPendingQueue","Error in processing loop:","getMainQueue","💥 Sending request (","15974tEfneO","pendingRequestRecords","activeDuration","mutex"," failed. Retry ","BASE_DELAY_MS","isInitialized","requestRecords","push","PROCESSING_INTERVAL_MS","49DmLUsP","2632590RryEcD","getMainRequestsSentFlag","calculateBackoffDelay","push_token","MAX_DELAY_MS","debug","16WwOPHq","processQueues","error","🔄 Backoff delay manually reset","sdkClickSubmit","SESSIONS","Error sending request ","79877oZrbxO","195LKlfko","addPendingRequest","📦 Moved ","13550UqeOxe","⏳ Request ","firstSessionSubmit","Applying backoff delay of ","getPendingQueue","failedRequestDelay","SDK_INFOS","BACKOFF_MULTIPLIER","3788199hirBNJ","maxRetries","getBackoffConfig","resetBackoffDelay","pow","⏰ Backoff delay ended, resuming queue processing","processMainQueue","fcmToken","Queue Manager is not initialized. Call initialize() first.","stopProcessing","isProcessing","startProcessing","sendRequest","✅ Request ","acquire"," failed with error after ","16905072FRvfgK","inactiveDuration","initialize","retryCount","length","shift","release","processingInterval","subSessionCount","498oLjTsi","⚠️ Request ","52036kiBFzM","getQueueStatus","isCurrentlyProcessing","endpoint","10153QxycmW","savePendingQueue","min","postRequestCheck"," failed","saveMainQueue"];return(_0x5230=function(){return e})()}!function(){const e=_0x2fa8,t=_0x5230();for(;;)try{if(988468===-parseInt(e(454))/1*(parseInt(e(444))/2)+-parseInt(e(455))/3+-parseInt(e(427))/4*(parseInt(e(469))/5)+parseInt(e(425))/6*(parseInt(e(468))/7)+-parseInt(e(461))/8*(parseInt(e(400))/9)+parseInt(e(472))/10*(parseInt(e(431))/11)+parseInt(e(416))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x2fa8;this[e(450)]=!1,this[e(410)]=!1,this[e(429)]=!1,this[e(447)]=new Mutex,this[e(423)]=null,this[e(453)]=100,this[e(477)]=0,this.MAX_DELAY_MS=3e4,this[e(479)]=2,this[e(449)]=1e3}[_0x2c9c21(418)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;this[e(450)]=!0,!this[e(410)]&&(yield this[e(411)]())})}shutdown(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;this.isInitialized&&(yield this.stopProcessing(),this[e(450)]=!1)})}[_0x2c9c21(411)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;if(this[e(450)]){yield this[e(447)][e(414)]();try{if(this[e(410)])return;this.isProcessing=!0,this.processingInterval=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(462)]()}catch(e){WTLogger[t(463)](t(441),e)}}),this[e(453)])}finally{this[e(447)].release()}yield this[e(462)]()}else WTLogger[e(439)](e(408))})}[_0x2c9c21(409)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;yield this.mutex[e(414)]();try{this[e(410)]=!1,this[e(423)]&&(clearInterval(this[e(423)]),this.processingInterval=null)}finally{this.mutex[e(422)]()}})}addRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2fa8;yield this.mutex[t(414)]();try{const r=this[t(442)]();if(r[t(452)](e),this[t(436)](r),this[t(477)]=0,!this[t(410)])return this[t(447)].release(),void(yield this.startProcessing())}finally{this[t(410)]&&this[t(447)][t(422)]()}})}[_0x2c9c21(470)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2fa8;yield this[t(447)][t(414)]();try{if(this.getMainRequestsSentFlag()){const r=this[t(442)]();r[t(452)](e),this[t(436)](r)}else{const r=this.getPendingQueue();r[t(452)](e),this[t(432)](r)}if(this[t(477)]=0,!this[t(410)])return this[t(447)][t(422)](),void(yield this.startProcessing())}finally{this[t(410)]&&this[t(447)][t(422)]()}})}[_0x2c9c21(462)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;if(this[e(410)]&&!this[e(429)]){if(this[e(477)]>0){if(Date[e(438)]()<this.failedRequestDelay)return;this[e(477)]=0,WTLogger.debug(e(405))}this[e(429)]=!0,yield this.mutex.acquire();try{yield this[e(406)](),yield this[e(440)]()}finally{this[e(447)][e(422)](),this.isCurrentlyProcessing=!1}}})}[_0x2c9c21(406)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8,t=this[e(442)]();if(0===t[e(420)])return;const r=t[0];try{if(yield this[e(412)](r))t[e(421)](),this[e(436)](t),this[e(434)](r),WTLogger[e(460)](e(413)+r.id+" processed successfully");else{if(t[0][e(419)]++,t[0][e(419)]>=t[0][e(401)]){const i=this[e(457)](t[0][e(419)]);this[e(477)]=Date[e(438)]()+i,WTLogger.warn(e(473)+r.id+" failed after "+r[e(401)]+e(437)+(e(475)+i)+"ms")}else WTLogger[e(439)](e(426)+r.id+e(448)+t[0][e(419)]+"/"+t[0][e(401)]);this.saveMainQueue(t)}}catch(i){if(WTLogger.error(e(467)+r[e(430)]+":",i),t[0].retryCount++,t[0][e(419)]>=t[0][e(401)]){const i=this[e(457)](t[0][e(419)]);this.failedRequestDelay=Date.now()+i,WTLogger[e(439)](e(473)+r.id+e(415)+t[0][e(401)]+e(437)+(e(475)+i+"ms"))}this.saveMainQueue(t)}})}[_0x2c9c21(457)](e){const t=_0x2c9c21,r=this[t(449)]*Math[t(404)](this[t(479)],e-1);return Math[t(433)](r,this[t(459)])}[_0x2c9c21(440)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2fa8;if(!this[e(456)]())return;const t=this[e(476)]();if(0===t[e(420)])return;const r=this[e(442)]();r[e(452)](...t),this[e(436)](r),this.savePendingQueue([]),console.log(e(471)+t[e(420)]+" pending requests to main queue")})}[_0x2c9c21(412)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x2fa8;WTLogger[r(460)](r(443)+e[r(430)]+"): id="+e.id);let i=!1;try{i=yield apiClient.doCallRequest(e[r(430)],e.parameters)}catch(t){WTLogger.error("❌ Request "+e[r(430)]+r(435),t)}return i})}[_0x2c9c21(442)](){return storageManager.requestRecords}[_0x2c9c21(436)](e){storageManager[_0x2c9c21(451)]=e}[_0x2c9c21(476)](){return storageManager[_0x2c9c21(445)]}[_0x2c9c21(432)](e){storageManager[_0x2c9c21(445)]=e}[_0x2c9c21(456)](){return storageManager.sdkClickSubmit}[_0x2c9c21(434)](e){const t=_0x2c9c21;switch(e[t(430)]){case WTEndpoints.SDK_CLICKS:storageManager[t(465)]=!0;break;case WTEndpoints[t(466)]:storageManager[t(474)]?(storageManager[t(446)]=0,storageManager[t(417)]=0,storageManager[t(424)]=1):storageManager[t(474)]=!0;break;case WTEndpoints[t(478)]:storageManager[t(407)]=e.parameters[t(458)]}}[_0x2c9c21(428)](){const e=_0x2c9c21;return{mainQueueLength:this[e(442)]()[e(420)],pendingQueueLength:this[e(476)]().length,isProcessing:this[e(410)],mainRequestsSent:this[e(456)](),isInBackoffDelay:this.failedRequestDelay>0&&Date[e(438)]()<this.failedRequestDelay,backoffEndsAt:this.failedRequestDelay>0?this[e(477)]:null}}[_0x2c9c21(403)](){const e=_0x2c9c21;this[e(477)]=0,WTLogger[e(460)](e(464))}[_0x2c9c21(402)](){const e=_0x2c9c21;return{baseDelayMs:this[e(449)],multiplier:this[e(479)],maxDelayMs:this.MAX_DELAY_MS}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var i=new r;return e(i),i}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,i){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var 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 _0x12021f=_0x16ae;function _0x468a(){const e=["engine","includes","screenFormat","(prefers-color-scheme: dark)","innerHeight","normal","getDeviceInfo","browser","car","device","matchMedia","small","vive","tablet","pointer","toLowerCase","screenSize","screenType","maxTouchPoints","devicePixelRatio","hbbtv","uiMode","uiStyle","xlarge","android auto","displaySize","wearable","matches","86765QtGmuQ","playstation","high","69588gupYAJ","nintendo","width","console","2305536eBRwSd","44oeelrI","xbox","large","low","sqrt","34095eBVlYp","3588151OzjRke","medium","smarttv","pow","touch","googletv","mobile","embedded","200LrjLhB","toFixed","screenDensity","netcast","582IJePaq","7869nSEdKi","height","getResult","1719962TxgxXm","model","watch","innerWidth"];return(_0x468a=function(){return e})()}function _0x16ae(e,t){const r=_0x468a();return(_0x16ae=function(e,t){return r[e-=440]})(e,t)}!function(){const e=_0x16ae,t=_0x468a();for(;;)try{if(461961===-parseInt(e(464))/1+parseInt(e(494))/2+parseInt(e(491))/3*(-parseInt(e(472))/4)+-parseInt(e(477))/5*(parseInt(e(490))/6)+parseInt(e(478))/7+-parseInt(e(471))/8+-parseInt(e(467))/9*(-parseInt(e(486))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x12021f(442)](){const e=_0x12021f,t=(new UAParser)[e(493)]();return{browser:t[e(443)],os:t.os,device:t[e(445)],engine:t[e(498)],cpu:t.cpu,ua:t.ua}}get[_0x12021f(488)](){const e=_0x12021f;return window[e(455)]>=3?e(466):window[e(455)]>=2?e(479):e(475)}get[_0x12021f(500)](){const e=_0x12021f;return window[e(440)]>window[e(497)]?"long":e(441)}get[_0x12021f(452)](){const e=_0x12021f,t=window[e(497)];return t<480?e(447):t<768?"normal":e(t<1440?474:459)}get[_0x12021f(457)](){const e=_0x12021f;var t,r,i;const n=this[e(442)](),s=(null===(t=n.device)||void 0===t?void 0:t.type)||"",o=(null===(i=null===(r=n[e(445)])||void 0===r?void 0:r[e(495)])||void 0===i?void 0:i.toLowerCase())||"",a=n.ua[e(451)]();return s===e(462)||o[e(499)](e(496))?6:s===e(480)||a[e(499)]("smart-tv")||a.includes(e(456))||a.includes(e(489))||a[e(499)](e(483))||a[e(499)]("appletv")?4:s===e(470)||a[e(499)](e(465))||a[e(499)](e(473))||a[e(499)](e(468))?5:a.includes(e(444))||a[e(499)](e(460))||a.includes("carplay")?3:a[e(499)]("oculus")||a[e(499)](e(448))||a[e(499)]("vr")||s===e(485)?7:s===e(484)||s===e(449)?1:""===s||"desktop"===s?2:0}get[_0x12021f(458)](){const e=_0x12021f;return window[e(446)]&&window[e(446)](e(501))[e(463)]?"1":"0"}get[_0x12021f(461)](){const e=_0x12021f,t=window[e(455)]||1,r=screen[e(469)]*t/160,i=screen[e(492)]*t/160;return Math[e(476)](Math.pow(r,2)+Math[e(481)](i,2))[e(487)](2)}get[_0x12021f(453)](){const e=_0x12021f;return"ontouchstart"in window||navigator[e(454)]>0?e(482):e(450)}}const deviceDetector=new DeviceDetector;function _0x6517(e,t){const r=_0x4b0c();return(_0x6517=function(e,t){return r[e-=310]})(e,t)}const _0x5025ab=_0x6517;!function(){const e=_0x6517,t=_0x4b0c();for(;;)try{if(532047===-parseInt(e(332))/1*(-parseInt(e(324))/2)+-parseInt(e(314))/3+parseInt(e(312))/4+-parseInt(e(318))/5*(parseInt(e(331))/6)+-parseInt(e(316))/7*(parseInt(e(313))/8)+-parseInt(e(330))/9+-parseInt(e(320))/10*(-parseInt(e(323))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x6517(321)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x6517;if(this[e(321)])return this.supportResults;const t=this.isLocalStorageSupported(),r=this[e(325)](),i=yield this.isIndexedDBSupported();return this.supportResults={localStorage:t,sessionStorage:r,indexedDB:i},this[e(321)]})}getStorageSizeBytes(e){const t=_0x6517;let r=0;for(let i=0;i<e[t(319)];i++){const n=e.key(i);if(!n)continue;const s=e.getItem(n);null!=s&&(r+=2*n[t(319)],r+=2*s[t(319)])}return r}isLocalStorageSupported(){const e=_0x6517;try{const t="__test__";return localStorage[e(328)](t,"1"),localStorage[e(317)](t),!0}catch(e){return!1}}[_0x5025ab(325)](){try{const e="__test__";return sessionStorage.setItem(e,"1"),sessionStorage.removeItem(e),!0}catch(e){return!1}}[_0x5025ab(334)](){const e=_0x5025ab;return e(327)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(326)](r(315));e.onerror=()=>t(!1),e[r(329)]=()=>{const i=r;e[i(333)][i(310)](),indexedDB[i(322)]("__test__check__"),t(!0)}}catch(e){t(!1)}}):Promise[e(311)](!1)}}const storageSupport=new StorageSupport;function _0x4b0c(){const e=["497910zaJZWV","__test__check__","659183ClqnlC","removeItem","15vIDHBp","length","190XPuaPO","supportResults","deleteDatabase","708961OnAXTt","35614MjBeCp","isSessionStorageSupported","open","indexedDB","setItem","onsuccess","1468710ReeYKA","671874QCkYOj","1uPpPXG","result","isIndexedDBSupported","close","resolve","3962508AIYUXK","88eaaHrJ"];return(_0x4b0c=function(){return e})()}const _0x224f1a=_0x1ba9;function _0xbaa9(){const e=["other","Next.js","referrer","Meteor.js","1348848iDXRZq","1518574HwRjeT","location","utm_source","[x-data], [x-init], [x-bind]","Vue.js","script[id=__NEXT_DATA__]","[data-v-app], [data-v-]","join","keys","Squarespace","9DSKVnV","56485792hUYflA","includes","src","/js/app.js","/_next/","_reactRootContainer","[ng-version]","Ghost CMS","mix-manifest.json","Shopify","organic","Backbone","WordPress","Backbone.js","innerHTML","detectWebFramework","cdn.shopify.com","Vue","some","documentElement","scripts","jQuery","Wix","Gatsby.js","wp-content","static.squarespace.com","querySelectorAll","utm_medium","entries","React","Meteor","2761954SGsfuv","svelte","startsWith","wp-includes","753680XWyHWF","2312649aulXEs","__reactContainer","Nuxt.js","Alpine.js","utm_","Angular","map","7467925nSUeTc","[data-reactroot], [data-reactid]","wix.com",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]",'meta[name="generator"][content*="WordPress"]','meta[name="generator"][content*="Drupal"]',"Drupal","[id=___gatsby]","querySelector","Zepto","__VUE__","from","Zepto.js","28LXjLtZ"];return(_0xbaa9=function(){return e})()}function _0x1ba9(e,t){const r=_0xbaa9();return(_0x1ba9=function(e,t){return r[e-=233]})(e,t)}!function(){const e=_0x1ba9,t=_0xbaa9();for(;;)try{if(809053===-parseInt(e(260))/1+-parseInt(e(302))/2+-parseInt(e(234))/3+-parseInt(e(233))/4+-parseInt(e(241))/5+parseInt(e(259))/6*(-parseInt(e(254))/7)+parseInt(e(271))/8*(parseInt(e(270))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static getUTMParamsString(){const e=_0x1ba9,t=new URLSearchParams(window[e(261)].search),r={};for(const[i,n]of t[e(299)]())i[e(304)](e(238))&&n&&(r[i]=n);if(!r[e(262)]){const t=document[e(257)];r[e(262)]=t?new URL(t).hostname:e(255)}return!r[e(298)]&&(r[e(298)]=e(281)),Object[e(299)](r)[e(240)](([e,t])=>e+"="+encodeURIComponent(t))[e(267)]("&")}}function _0x58e2(){const e=["RENDERER","string","stringify","toString","getParameter","font","14nXqWVY","4716815OvlgcI","top","3252624LQlVUi","SHADING_LANGUAGE_VERSION","createElement","fillText","textBaseline","webgl","getExtension","from","33297ujUtLz","#f60","experimental-webgl","22210712wTADMI","WiseTrack WebGL Fingerprint!","5585156SzlDbY","hashData","#069","canvas","SHA-256","490857oalQBl","getCanvasFingerprint","join","fillStyle","8866088BFCoTr","vendor","map","fillRect","MAX_TEXTURE_SIZE","UNMASKED_RENDERER_WEBGL","getContext","VENDOR","14px 'Arial'","digest","renderer","WEBGL_debug_renderer_info","MAX_RENDERBUFFER_SIZE","UNMASKED_VENDOR_WEBGL","encode"];return(_0x58e2=function(){return e})()}function _0x16ac(e,t){const r=_0x58e2();return(_0x16ac=function(e,t){return r[e-=474]})(e,t)}Utils[_0x224f1a(286)]=()=>{const e=_0x224f1a;return document[e(249)](e(265))||[...document[e(291)]][e(289)](t=>t[e(273)][e(272)](e(275)))?e(256):window[e(300)]||document[e(249)](e(242))||Array[e(252)](document[e(297)]("*"))[e(289)](t=>void 0!==t[e(276)]||Object[e(268)](t)[e(289)](t=>t[e(304)](e(235))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(300):[...document.scripts].some(t=>t[e(273)].includes("/_nuxt/"))?e(236):window[e(251)]||window[e(288)]||document[e(249)](e(266))?e(264):document.querySelector(e(248))?e(294):window||document[e(249)](e(244))||document[e(249)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(249)](e(277))?e(239):[...document[e(291)]][e(289)](t=>{const r=e;var i;return t[r(273)].includes(r(303))||(null===(i=t.textContent)||void 0===i?void 0:i[r(272)](r(303)))})?"Svelte":document.querySelector(e(263))?e(237):window[e(292)]?e(292):window[e(282)]?e(284):window[e(301)]?e(258):window[e(250)]?e(253):document.querySelector(e(245))||[...document.scripts][e(289)](t=>t[e(273)][e(272)](e(295))||t[e(273)][e(272)](e(305)))?e(283):[...document[e(291)]][e(289)](t=>t[e(273)][e(272)](e(274))||t[e(273)][e(272)](e(279)))?"Laravel":document[e(249)](e(246))||document[e(290)][e(285)][e(272)]("drupal-settings-json")?e(247):document[e(290)][e(285)][e(272)](e(287))?e(280):[...document[e(291)]][e(289)](t=>t.src[e(272)](e(296)))?e(269):[...document[e(291)]][e(289)](t=>t[e(273)][e(272)](e(243)))?e(293):document[e(249)]('meta[name="generator"][content*="Ghost"]')?e(278):void 0};const _0x1dcd14=_0x16ac;!function(){const e=_0x16ac,t=_0x58e2();for(;;)try{if(700957===parseInt(e(475))/1+-parseInt(e(500))/2*(parseInt(e(511))/3)+parseInt(e(516))/4+parseInt(e(501))/5+-parseInt(e(503))/6+parseInt(e(479))/7+-parseInt(e(514))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static isWebGLSupported(){const e=_0x16ac;try{const t=document[e(505)](e(519));return!(!t[e(485)](e(508))&&!t[e(485)](e(513)))}catch(e){return!1}}static getWebGLFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x16ac,t=document.createElement(e(519)),r=t[e(485)](e(508))||t[e(485)](e(513));if(!r)return;const i={version:r.getParameter(r.VERSION),shadingLangVersion:r[e(498)](r[e(504)]),maxTextureSize:r[e(498)](r[e(483)]),maxRenderBufferSize:r[e(498)](r[e(491)]),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(509)](e(490));i[e(480)]=t?r.getParameter(t[e(492)]):r[e(498)](r[e(486)])}catch(t){i.vendor=r[e(498)](r[e(486)])}try{const t=r[e(509)](e(490));i[e(489)]=t?r[e(498)](t[e(484)]):r[e(498)](r[e(494)])}catch(t){i[e(489)]=r[e(498)](r[e(494)])}return yield this[e(517)](JSON.stringify(i))})}static[_0x1dcd14(476)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x16ac,t=document[e(505)](e(519));t.width=200,t.height=50;const r=t.getContext("2d");if(r)return r[e(507)]=e(502),r[e(499)]=e(487),r.fillStyle=e(512),r[e(482)](0,0,200,50),r[e(478)]=e(518),r[e(506)](e(515),2,2),yield this[e(517)](t.toDataURL())})}static[_0x1dcd14(517)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x16ac,r=typeof e===t(495)?e:JSON[t(496)](e),i=(new TextEncoder)[t(493)](r),n=yield crypto.subtle[t(488)](t(474),i);return Array[t(510)](new Uint8Array(n))[t(481)](e=>e[t(497)](16).padStart(2,"0"))[t(477)]("")})}}const _0x1d1c78=_0xbd06;function _0xbd06(e,t){const r=_0x5055();return(_0xbd06=function(e,t){return r[e-=399]})(e,t)}!function(){const e=_0xbd06,t=_0x5055();for(;;)try{if(746188===parseInt(e(430))/1+-parseInt(e(414))/2+parseInt(e(454))/3+-parseInt(e(434))/4+-parseInt(e(438))/5*(-parseInt(e(429))/6)+-parseInt(e(401))/7+parseInt(e(406))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x1d1c78(441)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xbd06,t=window.performance[e(443)]();let r={};return r.created_at=(new Date).toISOString(),Object[e(416)](r,this[e(462)]()),Object[e(416)](r,yield this[e(453)]()),Object[e(416)](r,this.getDeviceFields()),r[e(460)]=(window[e(445)][e(443)]()-t)[e(447)](1),WTConstants[e(449)][e(466)]&&(r=Object[e(448)](Object[e(463)](r).map(([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(466)]:r]))),r=Object[e(448)](Object.entries(r)[e(440)](([e,t])=>null!=t)),r})}[_0x1d1c78(453)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xbd06,t=yield storageSupport[e(435)]();return{connectivity_type:navigator[e(442)]?"1":"-1",country:yield countryFinder[e(465)](),package_name:window[e(459)][e(432)],session_storage_enabled:t.sessionStorage,indexed_db_enabled:t[e(417)],local_storage_enabled:t[e(426)],session_storage:storageSupport[e(425)](sessionStorage)[e(447)](0),local_storage:storageSupport[e(425)](localStorage)[e(447)](0),web_gl_support:DeviceFingerprint[e(431)](),web_gl_fingerprint:yield DeviceFingerprint[e(456)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(411)]()}})}[_0x1d1c78(462)](){const e=_0x1d1c78,t=storageManager[e(403)];return t?{uuid:storageManager[e(439)],app_token:t[e(408)],environment:t[e(415)],store_name:e(468),app_version:t.appVersion,push_token:storageManager[e(444)],custom_device_id:t[e(409)],default_tracker:t[e(418)],platform:WTConstants[e(427)].PLATFORM,framework:t.appFrameWork[e(399)](),initiated_by:WTConstants.SDK[e(428)]+"_"+t[e(400)][e(399)](),initiated_version:WTConstants[e(427)][e(404)],referrer:Utils[e(467)](),installed_at:storageManager.initialDate,session_count:storageManager[e(455)][e(433)](),session_length:parseInt((storageManager[e(450)]/1e3).toString())[e(433)](),subsession_count:parseInt((storageManager[e(452)]/1e3)[e(433)]()).toString(),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(433)]())[e(433)]()}:{}}[_0x1d1c78(419)](){const e=_0x1d1c78,t=deviceDetector[e(424)]();return{browser_version:t[e(446)].version,device_manufacturer:t[e(457)][e(436)],device_name:t[e(457)][e(423)],device_type:t[e(457)].type,os_name:t.os.name,os_version:t.os[e(458)],cpu_type:t.cpu[e(420)],web_user_agent:t.ua,display_height:window[e(405)][e(447)](0),display_width:window[e(413)][e(447)](0),language:navigator[e(437)][e(407)]("-")[0],screen_density:deviceDetector.screenDensity,screen_format:deviceDetector[e(422)],screen_size:deviceDetector[e(402)],ui_mode:deviceDetector[e(410)].toString(),cpu_lpc:navigator[e(421)][e(433)](),ui_style:deviceDetector.uiStyle,wout_width:window.outerWidth.toString(),wout_height:window[e(451)].toString(),web_engine:t[e(461)][e(464)],web_engine_version:t[e(461)][e(458)],display_size:deviceDetector.displaySize,screen_type:deviceDetector[e(412)]}}}const fieldsBuilder=new FieldsBuilder;function _0x5055(){const e=["now","pushToken","performance","browser","toFixed","fromEntries","DEFAULTS","activeDuration","outerHeight","subSessionCount","getApplicationFields","2411688pyPLXb","sessionCount","getWebGLFingerprint","device","version","location","time_spent","engine","getLocalFields","entries","name","getCountryCode","PARAMETERS_VALUE","getUTMParamsString","other","toLowerCase","appFrameWork","3482290cTbUav","screenSize","initialConfig","VERSION","innerHeight","6724464OFTkjn","split","appToken","customDeviceId","uiMode","getCanvasFingerprint","screenType","innerWidth","12898DThINH","userEnvironment","assign","indexedDB","defaultTracker","getDeviceFields","architecture","hardwareConcurrency","screenFormat","model","getDeviceInfo","getStorageSizeBytes","localStorage","SDK","PLATFORM","96blGUkh","340750jGHvNr","isWebGLSupported","hostname","toString","4640804YNuOiI","getSupportResult","vendor","language","132845cVkOzb","deviceId","filter","build","onLine"];return(_0x5055=function(){return e})()}const _0x5ccf69=_0xc5ae;function _0xc5ae(e,t){const r=_0x2b19();return(_0xc5ae=function(e,t){return r[e-=287]})(e,t)}function _0x2b19(){const e=["347936HkXdRC","45EbQNTy","126906CkzYzI","build","2570856IqaSkl","5133464bcUbXi","event","6734570qWnWpl","935460xjFZTj","call","toJSON","28vkoAcN","create","917251jXmdZr"];return(_0x2b19=function(){return e})()}!function(){const e=_0xc5ae,t=_0x2b19();for(;;)try{if(676636===-parseInt(e(298))/1+parseInt(e(299))/2+parseInt(e(293))/3+parseInt(e(290))/4+parseInt(e(292))/5+-parseInt(e(287))/6*(-parseInt(e(296))/7)+parseInt(e(289))/8*(-parseInt(e(300))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0xc5ae;super(),this[t(291)]=e}[_0x5ccf69(288)](){const e=_0x5ccf69,t=Object[e(297)](null,{build:{get:()=>super[e(288)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t.build[r(294)](this);return new Promise(e=>{const t=r;e(Object.assign(Object.assign({},i),this[t(291)][t(295)]()))})})}}function _0x5df9(e,t){const r=_0x5c57();return(_0x5df9=function(e,t){return r[e-=276]})(e,t)}const _0xb8266e=_0x5df9;function _0x5c57(){const e=["firstSessionSubmit","blur","WT Tracker stopped","s | ("," request to pending queue","8eiVXjQ","now","fcmToken","subsessionInterval","getCountryCode","shutdown","SESSIONS","isVisibleFocused","setActivityTimes","stop","initialDate","createAttribution","visibilitychange","Creating Session: First-Session has already submitted","debug","initialize","eventCount","sessionInterval","visible","visibilityState","55OJAHgI","Creating Install: SDK-Clicks has already submitted","addEventListener","createRequest","isRunning","isEnabled","warn","trackEvent: SDK is not initialized yet","Creating First Session: SDK is not enabled!","Creating Install: SDK is not enabled!","ATTRIBUTIONS","activeTime","38434GCnrtt","log","pushToken","addRequest"," request to main queue","2890GcKSKn","69VJLcue","s Totaly)","checkSessionIntervals","addPendingRequest","checkSdkClicks","Creating Session: SDK is not enabled!","sdkClickSubmit","sessionCount","EVENTS","getQueueStatus","sdkEnabled","initialized","pending","441336QZUSpl","main","stopTracking","63464krNhau","hasFocus","3594501TaRfcz","inactiveTime","Add ","info","1418406beOBBN","generateDeviceUUID","SDK_CLICKS","WT Tracker started","createDeviceID","3858burZPQ","addObservers","deviceId","appSettings","inactiveDuration","stringify","subSessionCount","SDK_INFOS","759291dxuWxd","toISOString","User was inactived for ","checkFirstSession"];return(_0x5c57=function(){return e})()}!function(){const e=_0x5df9,t=_0x5c57();for(;;)try{if(225352===parseInt(e(337))/1*(-parseInt(e(282))/2)+-parseInt(e(290))/3+parseInt(e(353))/4*(parseInt(e(319))/5)+-parseInt(e(277))/6+parseInt(e(350))/7+parseInt(e(299))/8*(-parseInt(e(355))/9)+-parseInt(e(336))/10*(-parseInt(e(331))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x5df9;this.isRunning=!1,this[e(348)]=!1}get[_0xb8266e(324)](){return storageManager[_0xb8266e(347)]}initialize(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this[e(303)](),yield this[e(307)](),this.createDeviceID(),this[e(283)](),this.initialized=!0})}startTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this[e(324)]?(WTLogger.debug(e(280)),yield queueManager[e(314)](),yield this[e(341)](),yield this.checkFirstSession(),yield this[e(310)](),this[e(323)]=!0):WTLogger[e(325)]("SDK is not enabled to start tracking!")})}[_0xb8266e(352)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this[e(323)]=!1,activityTicker[e(308)](),yield queueManager[e(304)](),WTLogger[e(313)](e(296))})}checkPushToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5df9;storageManager[t(333)]=e,this[t(324)]?storageManager[t(301)]!==e?yield this[t(322)]({endpoint:WTEndpoints[t(289)],queueType:"pending"}):WTLogger.info("This Notification token has sent to server previously"):WTLogger[t(325)]("CheckPushToken: SDK is not enabled")})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5df9;this[t(324)]?this[t(348)]?(storageManager[t(315)]+=1,yield this[t(322)]({endpoint:WTEndpoints[t(345)],fBuilder:new EventFieldsBuilder(e),queueType:t(349)})):WTLogger[t(325)](t(326)):WTLogger[t(325)]("trackEvent: SDK is not enabled")})}[_0xb8266e(303)](){countryFinder.getCountryCode()}[_0xb8266e(310)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this.isEnabled?yield this[e(322)]({endpoint:WTEndpoints[e(329)],queueType:e(349)}):WTLogger[e(325)]("Creating Attribution: SDK is not enabled!")})}[_0xb8266e(293)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this.isEnabled?storageManager[e(294)]?WTLogger[e(313)](e(312)):yield this[e(322)]({endpoint:WTEndpoints[e(305)],queueType:storageManager[e(343)]?"main":e(349)}):WTLogger.warn(e(327))})}[_0xb8266e(341)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;this[e(324)]?storageManager[e(343)]?WTLogger.debug(e(320)):yield this[e(322)]({endpoint:WTEndpoints[e(279)]}):WTLogger.warn(e(328))})}[_0xb8266e(322)](e){const t=_0xb8266e;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(351)}){const n=t,s=yield r.build(),o=new RequestRecord(e,s);i===n(349)?(WTLogger.info("Add "+e+n(298)),yield queueManager[n(340)](o)):(WTLogger[n(276)](n(357)+e+n(335)),yield queueManager[n(334)](o));const a=queueManager[n(346)]();console[n(332)](JSON[n(287)](a))})}[_0xb8266e(281)](){const e=_0xb8266e;!storageManager.deviceId&&(storageManager[e(284)]=cryptoHelper[e(278)]()),!storageManager.initialDate&&(storageManager[e(309)]=(new Date)[e(291)]())}[_0xb8266e(307)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;if(storageManager.activeTime){storageManager[e(356)]=storageManager[e(330)];const t=Date.now()-storageManager[e(356)];storageManager[e(286)]+=t,console[e(332)](e(292)+t/1e3+e(297)+storageManager[e(286)]/1e3+e(338)),yield this[e(339)]()}storageManager.activeTime=Date.now(),activityTicker.start()})}[_0xb8266e(339)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5df9;var t,r;const i=storageManager[e(356)],n=null===(t=storageManager.appSettings)||void 0===t?void 0:t[e(316)],s=null===(r=storageManager[e(285)])||void 0===r?void 0:r[e(302)];if(!this.isEnabled)return void WTLogger[e(325)](e(342));if(!i||!n||!s)return;const o=Date[e(300)]()-i;o>parseInt(n)?(storageManager[e(344)]+=1,yield this.createRequest({endpoint:WTEndpoints.SESSIONS,queueType:storageManager.sdkClickSubmit?e(351):e(349)})):o>parseInt(s)&&(storageManager[e(288)]+=1)})}[_0xb8266e(306)](){const e=_0xb8266e;return document[e(318)]===e(317)&&document[e(354)]()}[_0xb8266e(283)](){const e=_0xb8266e;window.addEventListener("beforeunload",()=>{activityTicker[_0x5df9(308)]()}),document[e(321)](e(311),()=>{const t=e;this.isVisibleFocused()?(this[t(310)](),this[t(307)]()):activityTicker.stop()}),window[e(321)]("focus",()=>{const t=e;this[t(306)]()&&(this[t(310)](),this[t(307)]())}),window[e(321)](e(295),()=>{activityTicker[e(308)]()})}}const tracker=new WTTracker,_0x4f8a06=_0xe1ba;function _0x59ec(){const e=["Track Event: SDK is not enabled!","startTracking","updateAppSettings","sdkInitialized","doGetConfig","Need to get app-settings for ","checkSdkEnabled","error","trackEvent","App Settings set","Clearing Data and stop tracker!","init","9209ovmLeS","info","44094lslswR","debug","_instance","7805292RnvPHf","trackingWaitingTime","isEnabled","config","9684ertAbh","sdkEnabled","5157710fRLvZo","initialize","warn","NetworkError","flush","appSettings","A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.","490bLSvYJ","checkPushToken","forceUpdate","setEnabled","‼️ Start Tracking: SDK is not initialized yet","defaultValue","The version you are currently using has expired and is no longer supported. Please update to the latest version to continue using the SDK","830263AhSCqz","SDK is disabled form server, contact your adminstrator!","checkSdkUpdate","SDK Config set"," environment","setFCMToken","‼️ Track Event: SDK is not initialized yet","sdkEnvironment","initialConfig","4641472eGZrdT","setLevel","44sxHEup","Start Tracking: SDK is not enabled!","setLogLevel","4iwLtMO","16cHSpID","stopTracking"];return(_0x59ec=function(){return e})()}function _0xe1ba(e,t){const r=_0x59ec();return(_0xe1ba=function(e,t){return r[e-=328]})(e,t)}!function(){const e=_0xe1ba,t=_0x59ec();for(;;)try{if(793334===parseInt(e(334))/1*(-parseInt(e(370))/2)+parseInt(e(336))/3+-parseInt(e(373))/4*(parseInt(e(345))/5)+parseInt(e(339))/6+-parseInt(e(359))/7*(-parseInt(e(374))/8)+parseInt(e(343))/9*(parseInt(e(352))/10)+parseInt(e(368))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get instance(){const e=_0xe1ba;return!WiseTrack[e(338)]&&(WiseTrack[e(338)]=new WiseTrack),WiseTrack[e(338)]}constructor(){this[_0xe1ba(379)]=!1}[_0x4f8a06(333)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xe1ba;var r,i;const n=yield this.getConfig(e);this[t(328)](n),this[t(361)](n),this[t(355)](!0),yield this[t(378)](n),this[t(379)]=!0,yield tracker[t(346)]();(null===(r=e.startTrackerAutomatically)||void 0===r||r)&&setTimeout(()=>this[t(377)](),1e3*(null!==(i=e[t(340)])&&void 0!==i?i:0))})}[_0x4f8a06(372)](e){WTLogger[_0x4f8a06(369)](e)}[_0x4f8a06(349)](){const e=_0x4f8a06;WTLogger[e(335)](e(332)),storageManager.clear(),this[e(375)]()}isEnabled(){return storageManager.sdkEnabled}[_0x4f8a06(355)](e){const t=_0x4f8a06,r=storageManager.config;if(!r)throw new Error("Config is not set!");if(!r.sdkEnabled)throw new Error(t(360));if(r.forceUpdate)throw new Error(t(358));storageManager[t(344)]=e}[_0x4f8a06(377)](){return __awaiter(this,void 0,void 0,function*(){const e=_0xe1ba;this[e(379)]?this[e(341)]()?yield tracker[e(377)]():WTLogger.warn(e(371)):WTLogger.warn(e(356))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0xe1ba;yield tracker[e(375)]()})}[_0x4f8a06(364)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xe1ba;this[t(379)]?this[t(341)]()?yield tracker[t(353)](e):WTLogger[t(347)]("Set Fcm Token: SDK is not enabled!"):WTLogger.warn("‼️ Set Fcm Token: SDK is not initialized yet")})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0xe1ba;this[t(379)]?this[t(341)]()?yield tracker[t(330)](e):WTLogger[t(347)](t(376)):WTLogger[t(347)](t(365))})}getConfig(e){return __awaiter(this,void 0,void 0,function*(){const t=_0xe1ba;let r;storageManager[t(367)]=e;try{r=yield apiClient[t(380)]()}catch(e){if(!(e instanceof ApiError[t(348)]))throw WTLogger[t(335)]("‼️ SDK Config NOT set!, check errors."),e;r=storageManager[t(342)]||WTConfig[t(357)]}return storageManager[t(342)]=r,WTLogger[t(335)](t(362)),r})}[_0x4f8a06(378)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0xe1ba;let r;if(EnvironmentUtils.needAppSettings()){WTLogger[t(337)](t(381)+EnvironmentUtils[t(366)]+t(363));try{r=yield apiClient.doGetAppSettings()}catch(e){if(!(e instanceof ApiError[t(348)]))throw WTLogger.info("‼️ App Settings NOT set!, check errors."),e;r=WTAppSettings[t(357)]}}else r=WTAppSettings.fromConfig(e);return storageManager[t(350)]=r,WTLogger[t(335)](t(331)),r})}[_0x4f8a06(328)](e){const t=_0x4f8a06;if(!e[t(344)]){const e=t(360);throw WTLogger[t(329)](e),new Error(e)}}[_0x4f8a06(361)](e){const t=_0x4f8a06;if(e[t(354)]){const e=t(358);throw WTLogger.error(e),new Error(e)}e.sdkUpdate&&WTLogger.warn(t(351))}}function _0x55cf(){var e=["1305572BNTkDI","params","currency","85428YiYRIn","49cfAjqe","754225LjeYSN","amount","Default","default","Revenue","72264NCZRrH","toJSON","type","3129TzcAHW","5919750qXrvBm","34754BxzzLD","name","addParam","446pgWqGt","revenue"];return(_0x55cf=function(){return e})()}function _0x5ba7(e,t){var r=_0x55cf();return(_0x5ba7=function(e,t){return r[e-=393]})(e,t)}function _0x26c9(){var e=["12fEgKSu","1036NnNLsm","284WqYzMc","56045TLLUcC","1260tkZesm","260511VIFrJc","184248BJDkTo","117650IsHgsX","430205wbsYjW","18kUIkNE","8328DnLCyW","204hnJlXU"];return(_0x26c9=function(){return e})()}function _0x5ede(e,t){var r=_0x26c9();return(_0x5ede=function(e,t){return r[e-=215]})(e,t)}!function(){for(var e=_0x5ba7,t=_0x55cf();;)try{if(165866===-parseInt(e(400))/1+parseInt(e(403))/2*(-parseInt(e(398))/3)+-parseInt(e(405))/4+parseInt(e(410))/5+parseInt(e(408))/6+parseInt(e(409))/7*(-parseInt(e(395))/8)+parseInt(e(399))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x5ba7;class r{constructor(e){var t=_0x5ba7;this[t(397)]=t(393),this[t(401)]=e}[t(402)](e,r){var i,n=t;let s=null!==(i=this.params)&&void 0!==i?i:{};s[e]=r,this[n(406)]=s}[t(396)](){var e=t;return{event_type:this.type,event_name:this[e(401)],partner_params:this[e(406)]}}}e[t(412)]=r;class i extends r{constructor(e,r,i){var n=t;super(e),this.type=n(404),this[n(411)]=r,this.currency=i}[t(396)](){var e=t;return{event_type:this[e(397)],event_name:this[e(401)],revenue:this[e(411)],currency:this[e(407)],partner_params:this.params}}}e[t(394)]=i}(exports.WTEvent||(exports.WTEvent={})),function(){for(var e=_0x5ede,t=_0x26c9();;)try{if(140100===-parseInt(e(226))/1*(-parseInt(e(215))/2)+parseInt(e(218))/3+-parseInt(e(219))/4+parseInt(e(221))/5*(-parseInt(e(225))/6)+parseInt(e(217))/7*(parseInt(e(223))/8)+parseInt(e(222))/9*(parseInt(e(220))/10)+parseInt(e(216))/11*(-parseInt(e(224))/12))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"==typeof SuppressedError&&SuppressedError;const _0x515ce3=_0x33fc;function _0x33fc(e,t){const r=_0x23a7();return(_0x33fc=function(e,t){return r[e-=312]})(e,t)}!function(){const e=_0x33fc,t=_0x23a7();for(;;)try{if(873254===-parseInt(e(312))/1+parseInt(e(318))/2+parseInt(e(321))/3*(-parseInt(e(316))/4)+parseInt(e(315))/5*(-parseInt(e(323))/6)+-parseInt(e(317))/7+parseInt(e(314))/8+parseInt(e(319))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTConstants={SDK:{PLATFORM:_0x515ce3(320),VERSION:_0x515ce3(324)},CONFIG:{BASE_URL:_0x515ce3(322),DEFAULT_ENVIRONMENT:"debug"},DEFAULTS:{LOG_LEVEL:"debug",SESSION_INTERVAL:_0x515ce3(313),SUBSESSION_INTERVAL:"300",PARAMETERS_VALUE:void 0}};function _0x23a7(){const e=["13876544XvhAPz","55WOxeNq","7556ktrYYn","10131933DMBicm","3432238JNIGab","8968158zDQGiY","web","1833vJvAkj","https://config.wisetrack.io","199518uBTObd","2.0.5","606514IzPSKq","1800"];return(_0x23a7=function(){return e})()}const _0x57697d=_0x376e;function _0x376e(e,t){const r=_0x1cc4();return(_0x376e=function(e,t){return r[e-=339]})(e,t)}!function(){const e=_0x376e,t=_0x1cc4();for(;;)try{if(651690===-parseInt(e(344))/1+parseInt(e(347))/2+-parseInt(e(349))/3+parseInt(e(343))/4+parseInt(e(345))/5+parseInt(e(348))/6*(parseInt(e(346))/7)+-parseInt(e(342))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTEndpoints={EVENTS:_0x57697d(339),SESSIONS:"/api/v1/sessions",SDK_CLICKS:_0x57697d(340),SDK_INFOS:_0x57697d(350),ATTRIBUTIONS:_0x57697d(341),APP_SETTINGS:"/api/v1/app_settings"};function _0x1cc4(){const e=["/api/v1/sdk_clicks","/api/v1/attributions","9019264pkHukY","2587940sfsAVE","532154yLAieX","2168170mhYuTu","28119eWWzik","2416272QdsFtt","1686kOuABP","3318840YaHmAx","/api/v1/sdk_infos","/api/v1/events"];return(_0x1cc4=function(){return e})()}var _0x24b73d=_0x18bc;function _0x3b80(){var e=["5292MjFGBV","sessions","sdk_enabled","SUBSESSION_INTERVAL","attributions","13vHLiSG","1497xNtiWC","1639sQyveX","112cMXwPh","session_interval","sdk_update","sdkInfos","SESSION_INTERVAL","DEFAULTS","5xAWOND","2694132TyiNZV","1RxWVCY","EVENTS","682325uLzIBK","subsessionInterval","14919075QDtLyS","subsession_interval","events","defaultValue","sdkUpdate","99910WcujZr","sdkEnabled","SDK_INFOS","sdkClicks","41804172QzMlfj","SESSIONS","ATTRIBUTIONS","476380wwwPpr"];return(_0x3b80=function(){return e})()}function _0x18bc(e,t){var r=_0x3b80();return(_0x18bc=function(e,t){return r[e-=385]})(e,t)}!function(){for(var e=_0x18bc,t=_0x3b80();;)try{if(940658===parseInt(e(410))/1*(-parseInt(e(393))/2)+parseInt(e(400))/3*(-parseInt(e(394))/4)+-parseInt(e(408))/5*(parseInt(e(409))/6)+parseInt(e(412))/7*(-parseInt(e(402))/8)+parseInt(e(414))/9+parseInt(e(386))/10*(-parseInt(e(401))/11)+parseInt(e(390))/12*(parseInt(e(399))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTConfig{constructor(e,t,r,i,n,s=!0,o=!1,a=WTConstants.DEFAULTS[_0x24b73d(406)],c=WTConstants[_0x24b73d(407)][_0x24b73d(397)]){var u=_0x24b73d;this[u(416)]=e,this[u(395)]=t,this[u(389)]=r,this[u(405)]=i,this[u(398)]=n,this[u(387)]=s,this[u(385)]=o,this.sessionInterval=a,this[u(413)]=c}static fromJson(e){var t,r,i,n,s=_0x24b73d;return new WTConfig(e.events,e[s(395)],e.sdk_clicks,e.sdk_infos,e[s(398)],null===(t=e[s(396)])||void 0===t||t,null!==(r=e[s(404)])&&void 0!==r&&r,null!==(i=e[s(403)])&&void 0!==i?i:WTConstants[s(407)][s(406)],null!==(n=e[s(415)])&&void 0!==n?n:WTConstants[s(407)][s(397)])}static get[_0x24b73d(417)](){var e=_0x24b73d;return new WTConfig(WTEndpoints[e(411)],WTEndpoints[e(391)],WTEndpoints.SDK_CLICKS,WTEndpoints[e(388)],WTEndpoints[e(392)],!0,!1,WTConstants[e(407)][e(406)],WTConstants[e(407)][e(397)])}}const _0x1fd236=_0x3150;function _0x211f(){const e=["setPrefix","info","prefix","log","toUpperCase","484710ZMoukL","debug","50rgFnQc","DEFAULTS","error","shouldLog","indexOf","warn","2367617YSVpGY","35hGNERp","4668390AyLUVl","6byNamc","outputEngines","push","setLevel","addOutputEngine","6586216TCXclQ","level","261436hkRHLA","629598bYUDup","1078968YMEuep"];return(_0x211f=function(){return e})()}!function(){const e=_0x3150,t=_0x211f();for(;;)try{if(580808===parseInt(e(186))/1+parseInt(e(185))/2+parseInt(e(166))/3+-parseInt(e(184))/4*(-parseInt(e(175))/5)+parseInt(e(177))/6*(parseInt(e(174))/7)+parseInt(e(182))/8+-parseInt(e(176))/9*(parseInt(e(168))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTLogEngine{}class ConsoleLogEngine extends WTLogEngine{[_0x1fd236(164)](e,t,...r){const i=_0x1fd236;switch(e){case i(167):console[i(167)](t,...r);break;case i(188):console[i(188)](t,...r);break;case i(173):console[i(173)](t,...r);break;case i(170):console.error(t,...r);break;default:console[i(164)](t,...r)}}}const WTLogLevel={DEBUG:"debug",INFO:_0x1fd236(188),WARN:_0x1fd236(173),ERROR:_0x1fd236(170),NONE:"none"};function _0x3150(e,t){const r=_0x211f();return(_0x3150=function(e,t){return r[e-=163]})(e,t)}class WTLogger{static[_0x1fd236(180)](e){this[_0x1fd236(183)]=e}static[_0x1fd236(187)](e){this[_0x1fd236(163)]=e}static[_0x1fd236(181)](e){const t=_0x1fd236;this.outputEngines[t(179)](e)}static[_0x1fd236(171)](e){const t=_0x1fd236,r=[t(167),t(188),"warn",t(170)],i=r.indexOf(this.level);return r[t(172)](e)>=i}static[_0x1fd236(164)](e,...t){const r=_0x1fd236;if(!this.shouldLog(e))return;const i="["+this[r(163)]+"-"+e[r(165)]()+"]";for(const n of this[r(178)])n.log(e,i,...t)}static[_0x1fd236(167)](...e){const t=_0x1fd236;this.log(t(167),...e)}static[_0x1fd236(188)](...e){const t=_0x1fd236;this.log(t(188),...e)}static[_0x1fd236(173)](...e){const t=_0x1fd236;this[t(164)](t(173),...e)}static[_0x1fd236(170)](...e){const t=_0x1fd236;this[t(164)](t(170),...e)}}WTLogger[_0x1fd236(183)]=WTConstants[_0x1fd236(169)].LOG_LEVEL,WTLogger[_0x1fd236(163)]="WT",WTLogger[_0x1fd236(178)]=[new ConsoleLogEngine];const _0x1e8d30=_0x2aa2;function _0x2aa2(e,t){const r=_0x5f42();return(_0x2aa2=function(e,t){return r[e-=147]})(e,t)}function _0x5f42(){const e=["error","Mi4uKilgdXU5NSg/dD4/OC89dC0zKT8uKDs5MT4/LHQzKA==","273647HuDbDG","5117628TQkNYt","fromCharCode","Decode error:","1569383gpNBXF","18dOaypK","6910XCegyi","decode","1171435dPBKjz","13368480EJOjbQ","3reKhKU","PRODUCTION_BASE_URL","2282679DPwFcq","DEBUG_BASE_URL","732EIQaNr","2fZiTQU","CONFIG_PATH","STAGE_BASE_URL","Mi4uKilgdXU5NSg/dC0zKT8uKDs5MXQzNQ==","dTsqM3U9Py53OTU0PDM9","20637IVozxm"];return(_0x5f42=function(){return e})()}!function(){const e=_0x2aa2,t=_0x5f42();for(;;)try{if(999044===-parseInt(e(154))/1*(-parseInt(e(165))/2)+parseInt(e(160))/3*(-parseInt(e(151))/4)+-parseInt(e(158))/5*(parseInt(e(155))/6)+-parseInt(e(162))/7+parseInt(e(159))/8+parseInt(e(147))/9*(parseInt(e(156))/10)+-parseInt(e(150))/11*(parseInt(e(164))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class SecureConfig{static[_0x1e8d30(157)](e){const t=_0x1e8d30;try{const r=atob(e);let i="";for(let e=0;e<r.length;e++){const n=90^r.charCodeAt(e);i+=String[t(152)](n)}return i}catch(e){return console[t(148)](t(153),e),""}}static get[_0x1e8d30(166)](){const e=_0x1e8d30;return this[e(157)](e(169))}static get[_0x1e8d30(163)](){const e=_0x1e8d30;return this.decode(e(149))}static get[_0x1e8d30(167)](){return this.decode("Mi4uKilgdXU5NSg/dCkuOz0/dC0zKT8uKDs5MT4/LHQzKA==")}static get[_0x1e8d30(161)](){const e=_0x1e8d30;return this[e(157)](e(168))}}const _0x44bb7f=_0x513f;function _0x513f(e,t){const r=_0x25d2();return(_0x513f=function(e,t){return r[e-=172]})(e,t)}!function(){const e=_0x513f,t=_0x25d2();for(;;)try{if(156758===-parseInt(e(197))/1*(-parseInt(e(182))/2)+parseInt(e(183))/3*(parseInt(e(189))/4)+parseInt(e(178))/5*(parseInt(e(173))/6)+parseInt(e(176))/7*(parseInt(e(192))/8)+-parseInt(e(184))/9*(-parseInt(e(188))/10)+parseInt(e(180))/11*(-parseInt(e(195))/12)+-parseInt(e(179))/13*(parseInt(e(175))/14))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTUserEnvironment={SANDBOX:_0x44bb7f(181),PRODUCTION:"production"};function _0x25d2(){const e=["Unknown environment: ","debug","10mgqhLM","176ZSExfo","PRODUCTION","PRODUCTION_BASE_URL","80IIHnbn","STAGE_BASE_URL","production","12OmvQnk","DEFAULT_ENVIRONMENT","178538WiSFLQ","DEBUG","12xZQUcK","STAGE","658VDyThR","19894TIBNUO","sdkEnvironment","520555VBOdOL","85787hRzKcZ","1144330uyMyMF","sandbox","2sgciDj","9441TFauen","155637kMNRUl","CONFIG"];return(_0x25d2=function(){return e})()}const WTSDKEnvironment={DEBUG:_0x44bb7f(187),STAGE:"stage",PRODUCTION:_0x44bb7f(194)},EnvironmentUtils={sdkEnvironment:WTConstants[_0x44bb7f(185)][_0x44bb7f(196)],get needResponseDetails(){const e=_0x44bb7f;return this[e(177)]!==WTSDKEnvironment[e(190)]},get baseUrl(){const e=_0x44bb7f;switch(this.sdkEnvironment){case WTSDKEnvironment[e(172)]:return SecureConfig.DEBUG_BASE_URL;case WTSDKEnvironment[e(174)]:return SecureConfig[e(193)];case WTSDKEnvironment[e(190)]:return SecureConfig[e(191)];default:throw new Error(e(186)+this[e(177)])}}};var _0x585a75=_0xa266;function _0x5c72(){var e=["stringify","error","WT.Configs","FCM_TOKEN","WT.EventCount","requestRecords","PUSH_TOKEN","getJson","SUBSESSION_COUNT","': ","WT.SdkClickSubmit","setJson","deviceId","SDK_ENABLED","WT.InactiveTime","WT.InitialDate","4bqXIxI","activeDuration","parse","30FxKeGe","11348535vgcAON","eventCount","toString","clear","inactiveTime","activeTime","initialDate","FIRST_SESSION_SUBMIT","INACTIVE_TIME","DEVICE_ID","WT.PushToken","WT.SessionCount","941454JCAuGF","inactiveDuration","config","INITIAL_DATE","pendingRequestRecords","optionalNumber","SESSION_COUNT","REQUEST_QUEUE","pushToken","WT.InitialConfigs","5188QUhzZw","ACTIVE_TIME","INACTIVE_DURATION","getItem","SDK_CLICK_SUBMIT","WT.RequestQueue","WT.FcmToken","56777cRMxbi","setItem","sdkClickSubmit","WT.ActiveTime","PENDING_REQUEST_QUEUE","INITIAL_CONFIG","removeItem","WT.SdkEnabled","EVENT_COUNT","subSessionCount","fcmToken","sessionCount","true","3530AgldyV","WT.DeviceId","8420016KYOlOK","384108kiipee","3978387dAoZWJ","CONFIG","664rixzfp","optionalBool","SESSION_LENGTH"];return(_0x5c72=function(){return e})()}function _0xa266(e,t){var r=_0x5c72();return(_0xa266=function(e,t){return r[e-=197]})(e,t)}!function(){for(var e=_0xa266,t=_0x5c72();;)try{if(763679===parseInt(e(257))/1+parseInt(e(208))/2*(-parseInt(e(224))/3)+-parseInt(e(234))/4*(parseInt(e(254))/5)+-parseInt(e(256))/6+parseInt(e(241))/7*(parseInt(e(260))/8)+-parseInt(e(258))/9+-parseInt(e(211))/10*(-parseInt(e(212))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const WTStorageKeys={DEVICE_ID:_0x585a75(255),INITIAL_DATE:_0x585a75(207),INITIAL_CONFIG:_0x585a75(233),CONFIG:_0x585a75(265),SDK_CLICK_SUBMIT:_0x585a75(202),FIRST_SESSION_SUBMIT:"WT.FirstSessionSubmit",SDK_ENABLED:_0x585a75(248),FCM_TOKEN:_0x585a75(240),PUSH_TOKEN:_0x585a75(222),EVENT_COUNT:_0x585a75(267),SESSION_COUNT:_0x585a75(223),SESSION_LENGTH:"WT.SessionLenght",SUBSESSION_COUNT:"WT.SubSessionCount",ACTIVE_TIME:_0x585a75(244),INACTIVE_TIME:_0x585a75(206),INACTIVE_DURATION:"WT.InactiveDuration",REQUEST_QUEUE:_0x585a75(239),PENDING_REQUEST_QUEUE:"WT.PendingRequestQueue"};class StorageManager{[_0x585a75(215)](){localStorage[_0x585a75(215)]()}[_0x585a75(203)](e,t){var r=_0x585a75;if(t)try{const i=JSON[r(263)](t);localStorage[r(242)](e,i)}catch(t){WTLogger[r(264)]("Error in encoding object for key '"+e+"'",t)}else localStorage[r(247)](e)}getJson(e){var t=_0x585a75;const r=localStorage[t(237)](e);if(!r)return null;try{return JSON[t(210)](r)}catch(r){return WTLogger[t(264)]("Error in JSON decoding for key '"+e+t(201)+r,r),null}}[_0x585a75(229)](e){const t=localStorage[_0x585a75(237)](e);if(null===t)return null;const r=Number(t);return isNaN(r)?null:r}[_0x585a75(261)](e){var t=_0x585a75;const r=localStorage[t(237)](e);return null===r?null:r===t(253)||"false"!==r&&null}get[_0x585a75(204)](){var e=_0x585a75;return localStorage[e(237)](WTStorageKeys[e(221)])}set[_0x585a75(204)](e){var t=_0x585a75;e?localStorage.setItem(WTStorageKeys.DEVICE_ID,e):localStorage[t(247)](WTStorageKeys[t(221)])}get[_0x585a75(218)](){var e=_0x585a75;return this[e(199)](WTStorageKeys[e(227)])}set[_0x585a75(218)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(227)],e)}get initialConfig(){var e=_0x585a75;return this.getJson(WTStorageKeys[e(246)])}set initialConfig(e){var t=_0x585a75;this.setJson(WTStorageKeys[t(246)],e)}get[_0x585a75(226)](){var e=_0x585a75;return this[e(199)](WTStorageKeys[e(259)])}set[_0x585a75(226)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(259)],e)}get sdkEnabled(){var e,t=_0x585a75;return null!==(e=this[t(261)](WTStorageKeys[t(205)]))&&void 0!==e&&e}set sdkEnabled(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(205)],e[t(214)]())}get[_0x585a75(243)](){var e;return null!==(e=this[_0x585a75(261)](WTStorageKeys.SDK_CLICK_SUBMIT))&&void 0!==e&&e}set sdkClickSubmit(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(238)],e[t(214)]())}get firstSessionSubmit(){var e,t=_0x585a75;return null!==(e=this[t(261)](WTStorageKeys[t(219)]))&&void 0!==e&&e}set firstSessionSubmit(e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(219)],e.toString())}get[_0x585a75(251)](){return localStorage[_0x585a75(237)](WTStorageKeys.FCM_TOKEN)}set[_0x585a75(251)](e){var t=_0x585a75;e?localStorage[t(242)](WTStorageKeys[t(266)],e):localStorage[t(247)](WTStorageKeys[t(266)])}get pushToken(){var e=_0x585a75;return localStorage.getItem(WTStorageKeys[e(198)])}set[_0x585a75(232)](e){var t=_0x585a75;e?localStorage[t(242)](WTStorageKeys[t(198)],e):localStorage[t(247)](WTStorageKeys[t(198)])}get[_0x585a75(252)](){var e;return null!==(e=this[_0x585a75(229)](WTStorageKeys.SESSION_COUNT))&&void 0!==e?e:1}set[_0x585a75(252)](e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(230)],e[t(214)]())}get[_0x585a75(250)](){var e;return null!==(e=this.optionalNumber(WTStorageKeys.SUBSESSION_COUNT))&&void 0!==e?e:1}set[_0x585a75(250)](e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(200)],e[t(214)]())}get[_0x585a75(209)](){var e,t=_0x585a75;return null!==(e=this[t(229)](WTStorageKeys[t(262)]))&&void 0!==e?e:0}set[_0x585a75(209)](e){var t=_0x585a75;localStorage.setItem(WTStorageKeys[t(262)],e[t(214)]())}get[_0x585a75(225)](){var e;return null!==(e=this[_0x585a75(229)](WTStorageKeys.INACTIVE_DURATION))&&void 0!==e?e:0}set inactiveDuration(e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(236)],e.toString())}get[_0x585a75(216)](){var e=_0x585a75;return this[e(229)](WTStorageKeys[e(235)])}set inactiveTime(e){var t=_0x585a75;null!==e?localStorage[t(242)](WTStorageKeys[t(235)],e[t(214)]()):localStorage[t(247)](WTStorageKeys[t(235)])}get activeTime(){var e=_0x585a75;return this[e(229)](WTStorageKeys[e(220)])}set[_0x585a75(217)](e){var t=_0x585a75;null!==e?localStorage.setItem(WTStorageKeys[t(220)],e[t(214)]()):localStorage.removeItem(WTStorageKeys[t(220)])}get[_0x585a75(197)](){var e,t=_0x585a75;return null!==(e=this[t(199)](WTStorageKeys[t(231)]))&&void 0!==e?e:[]}set[_0x585a75(197)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(231)],e)}get[_0x585a75(228)](){var e;return null!==(e=this[_0x585a75(199)](WTStorageKeys.PENDING_REQUEST_QUEUE))&&void 0!==e?e:[]}set[_0x585a75(228)](e){var t=_0x585a75;this[t(203)](WTStorageKeys[t(245)],e)}get[_0x585a75(213)](){var e,t=_0x585a75;return null!==(e=this[t(229)](WTStorageKeys[t(249)]))&&void 0!==e?e:0}set[_0x585a75(213)](e){var t=_0x585a75;localStorage[t(242)](WTStorageKeys[t(249)],e.toString())}}const storageManager=new StorageManager;var ApiError;function _0xf7eb(e,t){var r=_0x3cd4();return(_0xf7eb=function(e,t){return r[e-=275]})(e,t)}function _0x3cd4(){var e=["17847009pHmMDn","Invalid URL: ","NetworkError: ","2468324rzhRvh","271326dAJVYE","91igQqVv","ServerError ","4391056dbIEUA","InvalidUrl","516272vrnTkA","348351UeCfPN","message","ServerError","DecodingError","NetworkError","statusCode","2694519KwARKe","name","120oXlSnG"];return(_0x3cd4=function(){return e})()}!function(){for(var e=_0xf7eb,t=_0x3cd4();;)try{if(626513===-parseInt(e(292))/1+parseInt(e(285))/2+-parseInt(e(279))/3+-parseInt(e(289))/4+parseInt(e(281))/5*(-parseInt(e(286))/6)+-parseInt(e(287))/7*(-parseInt(e(291))/8)+parseInt(e(282))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),function(e){var t=_0xf7eb;class r extends Error{constructor(e){var t=_0xf7eb;super(t(283)+e),this[t(280)]=t(290)}}e[t(290)]=r;class i extends Error{constructor(e,r){var i=t;super(i(288)+e+": "+r),this[i(278)]=e,this[i(293)]=r,this[i(280)]=i(275)}}e[t(275)]=i;class n extends Error{constructor(e){var r=t;super(r(284)+e),this[r(280)]="NetworkFailure"}}e[t(277)]=n;class s extends Error{constructor(e){var r=t;super("DecodingError: "+e),this[r(280)]=r(276)}}e[t(276)]=s}(ApiError||(ApiError={}));var _0x2e4ce1=_0x5bb7;function _0x3338(){var e=["3gDzAFh","91385LiDmxW","17830NYNhmk","1665540DWgnbx","maxRetries","714568fyilLS","54grMOTg","canRetry","408849UYVfpK","retryInterval","18078742JGXlZL","70KFiVoS","1581576SuaGVc","3231IkAYAs"];return(_0x3338=function(){return e})()}function _0x5bb7(e,t){var r=_0x3338();return(_0x5bb7=function(e,t){return r[e-=157]})(e,t)}!function(){for(var e=_0x5bb7,t=_0x3338();;)try{if(708677===-parseInt(e(165))/1+-parseInt(e(160))/2+parseInt(e(157))/3*(parseInt(e(169))/4)+-parseInt(e(158))/5*(-parseInt(e(163))/6)+-parseInt(e(168))/7*(parseInt(e(162))/8)+parseInt(e(170))/9*(parseInt(e(159))/10)+parseInt(e(167))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RetryPolicy{constructor(e=3,t=2e3){var r=_0x5bb7;this[r(161)]=e,this[r(166)]=t}[_0x2e4ce1(164)](e){return e<this[_0x2e4ce1(161)]}waitBeforeRetry(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,this.retryInterval))})}}function _0xecbc(e,t){const r=_0x463b();return(_0xecbc=function(e,t){return r[e-=298]})(e,t)}function _0x463b(){const e=["Invalid URL:","sendRequest",") => ","5774648JjOCPH","baseUrl","DecodingError","108436MpNGdX","7zTYcNf","✅ API SUCCESS (","🚀 REQUEST (","message","108WaAqqO","Unknown error","debug","1616792gvgpaS","status","retryAttempt","48SVvAhR","Content-Type","ServerError","params","waitBeforeRetry","703220vnTnDa","Error executing request","❌ API ERROR (","application/json","17502hnWRYo","-- PARAMETERS =>","Request successful","668310ErGvNe","retryPolicy","method","252726ptcZet","assign","json","730yBUHyx",") =>","error","stringify"];return(_0x463b=function(){return e})()}!function(){const e=_0xecbc,t=_0x463b();for(;;)try{if(849054===parseInt(e(301))/1+-parseInt(e(304))/2+parseInt(e(328))/3*(-parseInt(e(317))/4)+parseInt(e(307))/5*(-parseInt(e(298))/6)+parseInt(e(318))/7*(-parseInt(e(325))/8)+-parseInt(e(322))/9*(-parseInt(e(333))/10)+parseInt(e(314))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const networkManager={retryPolicy:()=>new RetryPolicy,sendRequest(e){return __awaiter(this,arguments,void 0,function*(e,t={}){const r=_0xecbc,i=t[r(327)]||1;let n,s;try{n=new URL(e,EnvironmentUtils[r(315)])}catch(t){throw console.error(r(311),t),new ApiError.InvalidUrl(""+EnvironmentUtils[r(315)]+e)}WTLogger.debug(r(320)+i+r(313)+t.method+" "+e),WTLogger[r(324)](r(299),t[r(331)]||{});const o=Object[r(305)]({Accept:r(336)},t.headers);t[r(331)]&&(o[r(329)]="application/json",s=JSON[r(310)](t[r(331)]));try{const e=yield fetch(n,{method:t[r(303)],headers:o,body:s});if(!e.ok){let t=yield e[r(306)](),i=t[r(321)]||(yield e.text());throw WTLogger.warn(r(335)+e[r(326)]+") =>",i),new(ApiError[r(330)])(e[r(326)],t[r(321)]||"Server error")}try{const t=yield e[r(306)]();return WTLogger[r(324)](r(319)+e[r(326)]+r(308),t[r(321)]||r(300)),t}catch(e){throw new(ApiError[r(316)])(e[r(321)]||String(e))}}catch(n){if(n instanceof ApiError.ServerError||n instanceof ApiError[r(316)])throw n;if(WTLogger[r(309)](r(334),n),this.retryPolicy().canRetry(i))return yield this[r(302)]()[r(332)](),this[r(312)](e,Object[r(305)](Object.assign({},t),{retryAttempt:i+1}));throw new ApiError.NetworkError(n[r(321)]||r(323))}})}};function _0x273d(){const e=["location","success","17ADuijK","18911868fVoTvE","912yuGgyF","needResponseDetails","19714BkJZGM","appFrameWork","result","5390406ERjdzf","updated_at","sendRequest","PLATFORM","appToken","SDK","8239885wKybvu","4FRCjOz","138852XtUweK","CONFIG_PATH","7DMZCeR","toISOString","4739730GTrguX","fromJson","11TFfHGd","POST","appVersion","VERSION","1095360AqzIJl"];return(_0x273d=function(){return e})()}function _0x4b8b(e,t){const r=_0x273d();return(_0x4b8b=function(e,t){return r[e-=154]})(e,t)}!function(){const e=_0x4b8b,t=_0x273d();for(;;)try{if(957062===-parseInt(e(155))/1*(-parseInt(e(159))/2)+-parseInt(e(162))/3+parseInt(e(169))/4*(-parseInt(e(168))/5)+parseInt(e(174))/6*(parseInt(e(172))/7)+-parseInt(e(157))/8*(-parseInt(e(170))/9)+parseInt(e(180))/10+parseInt(e(176))/11*(parseInt(e(156))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const apiClient={doGetConfig(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4b8b,t=storageManager.initialConfig;if(!t)throw"Initial Config is not set";const r={parameters:{app_token:t[e(166)],app_version:t[e(178)],framework:t[e(160)],package_name:window[e(181)].hostname,platform:WTConstants.SDK[e(165)],sdk_version:WTConstants[e(167)][e(179)],initiated_by:WTConstants[e(167)].PLATFORM+"_"+t[e(160)],store_name:"other"}},i=yield networkManager[e(164)](SecureConfig[e(171)],{method:e(177),params:r});return WTConfig[e(175)](i[e(161)])})},doCallRequest(e,t){return __awaiter(this,void 0,void 0,function*(){const r=_0x4b8b;t[r(163)]=(new Date)[r(173)]();return(yield networkManager[r(164)](e,{method:r(177),params:{needs_response_details:EnvironmentUtils[r(158)],parameters:t}}))[r(154)]})}},_0x3fa18d=_0x58fb;function _0x58fb(e,t){const r=_0x3f3f();return(_0x58fb=function(e,t){return r[e-=180]})(e,t)}function _0x3f3f(){const e=["3028734aBVyJa","pause","30zkRDMo","tickerJob","inactiveDuration","start","671374qSUuvW","12LoKxtS","hasFocus","ActivityTicker: active duration= ","tickerDelay","stop","36DTwgXr","3887760sukqxy","activeDuration","420213yEQZxZ","3ylTHNp","4387285hNnLIU","isPaused","22898ymHXGc","hidden","903664TWKAMK","resume","log","activeTime","s, inactive duration= "];return(_0x3f3f=function(){return e})()}!function(){const e=_0x58fb,t=_0x3f3f();for(;;)try{if(538450===parseInt(e(182))/1*(parseInt(e(185))/2)+parseInt(e(181))/3*(-parseInt(e(199))/4)+parseInt(e(205))/5+parseInt(e(192))/6+-parseInt(e(183))/7+parseInt(e(187))/8*(parseInt(e(204))/9)+parseInt(e(194))/10*(-parseInt(e(198))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class ActivityTicker{constructor(){const e=_0x58fb;this[e(202)]=1e3,this[e(184)]=!1}[_0x3fa18d(197)](){const e=_0x3fa18d;this[e(195)]&&clearInterval(this.tickerJob),this.tickerJob=setInterval(()=>{const t=e;this.isPaused||document[t(186)]||document[t(200)]()&&(console[t(189)](t(201)+storageManager.activeDuration/1e3+t(191)+storageManager[t(196)]/1e3+"s"),storageManager[t(190)]=Date.now(),storageManager[t(180)]+=this.tickerDelay)},this.tickerDelay)}[_0x3fa18d(203)](){const e=_0x3fa18d;clearInterval(this[e(195)]),this[e(195)]=void 0}[_0x3fa18d(193)](){this[_0x3fa18d(184)]=!0}[_0x3fa18d(188)](){this[_0x3fa18d(184)]=!1}}const activityTicker=new ActivityTicker,_0x1361b3=_0x2bb7;function _0x2bb7(e,t){const r=_0x45d4();return(_0x2bb7=function(e,t){return r[e-=363]})(e,t)}!function(){const e=_0x2bb7,t=_0x45d4();for(;;)try{if(818903===-parseInt(e(371))/1*(parseInt(e(367))/2)+-parseInt(e(376))/3*(-parseInt(e(374))/4)+parseInt(e(363))/5+-parseInt(e(369))/6+parseInt(e(385))/7+-parseInt(e(386))/8+parseInt(e(381))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class CountryFinder{constructor(){this._country=null}[_0x1361b3(368)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2bb7;return!this[e(382)]&&(this[e(382)]=yield this.tryAllEndpoints()),this[e(382)]})}[_0x1361b3(366)](){return __awaiter(this,void 0,void 0,function*(){const e=[()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)](e(375));if(!t.ok)throw new Error(e(384));return(yield t[e(364)]())[e(380)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)]("https://free.freeipapi.com/api/json");if(!t.ok)throw new Error(e(384));return(yield t.json())[e(370)]||null}),()=>__awaiter(this,void 0,void 0,function*(){const e=_0x2bb7,t=yield this[e(379)](e(365));if(!t.ok)throw new Error(e(372));return(yield t[e(364)]())[e(378)]||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=_0x2bb7,i=new AbortController,n=setTimeout(()=>i[r(377)](),t);return fetch(e,{signal:i[r(383)]})[r(373)](()=>clearTimeout(n))})}}const countryFinder=new CountryFinder;function _0x45d4(){const e=["https://api.country.is","16977DQFOJj","abort","country_code","fetchWithTimeout","country","23359770TjAUsx","_country","signal","country.is failed","3094483KzMQsX","7266680pKbcPX","698280cDDEOB","json","https://ipwho.is/","tryAllEndpoints","3254246bLWsnG","getCountryCode","6203520NbIQRz","countryCode","1CEERht","ipwho.is failed","finally","856ERljcA"];return(_0x45d4=function(){return e})()}!function(){const e=_0x54b0,t=_0x5d2b();for(;;)try{if(806940===-parseInt(e(340))/1+-parseInt(e(345))/2+-parseInt(e(347))/3+parseInt(e(346))/4*(parseInt(e(348))/5)+-parseInt(e(344))/6+parseInt(e(343))/7+-parseInt(e(339))/8*(-parseInt(e(342))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const cryptoHelper={generateDeviceUUID:()=>crypto[_0x54b0(341)]()};function _0x54b0(e,t){const r=_0x5d2b();return(_0x54b0=function(e,t){return r[e-=339]})(e,t)}function _0x5d2b(){const e=["8457974CWhogT","9071742ibAVGO","313330njPLGr","176AtPptV","1767555VVYPjh","22555oazRwa","64DMwTJQ","46251JpGOuE","randomUUID","1917261JChjbF"];return(_0x5d2b=function(){return e})()}function _0x591a(e,t){const r=_0x52c5();return(_0x591a=function(e,t){return r[e-=168]})(e,t)}const _0x24d68d=_0x591a;function _0x52c5(){const e=["2912439HPAYdz","9941208LtvPFh","createdAt","length","shift","waitingQueue","release","locked","retryCount","9WsuZIr","parameters","endpoint","maxRetries","6APHTzL","439950RHfGlZ","6764611rGRMYU","5264970OVVuDY","34ATswqY","1122YzUXHU","randomUUID","61772xlibQh","2681244VuXrGK","now"];return(_0x52c5=function(){return e})()}!function(){const e=_0x591a,t=_0x52c5();for(;;)try{if(634472===parseInt(e(184))/1*(parseInt(e(187))/2)+-parseInt(e(190))/3+-parseInt(e(188))/4+-parseInt(e(183))/5+parseInt(e(180))/6*(-parseInt(e(182))/7)+-parseInt(e(168))/8*(parseInt(e(176))/9)+-parseInt(e(181))/10*(-parseInt(e(185))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestRecord{constructor(e,t){const r=_0x591a;this[r(175)]=0,this[r(179)]=3,this.id=crypto[r(186)](),this[r(178)]=e,this[r(177)]=t,this[r(169)]=Date[r(189)]()}}class Mutex{constructor(){this[_0x591a(174)]=!1,this.waitingQueue=[]}acquire(){return __awaiter(this,void 0,void 0,function*(){return new Promise(e=>{const t=_0x591a;this[t(174)]?this[t(172)].push(e):(this.locked=!0,e())})})}[_0x24d68d(173)](){const e=_0x24d68d;if(this[e(172)][e(170)]>0){this.waitingQueue[e(171)]()()}else this[e(174)]=!1}}const _0x5ac2db=_0x5668;function _0x5668(e,t){const r=_0x59d4();return(_0x5668=function(e,t){return r[e-=352]})(e,t)}function _0x59d4(){const e=["⚠️ Request ","activeDuration"," failed. Retry ","warn","error","acquire","calculateBackoffDelay","processPendingQueue","log","parameters","failedRequestDelay","min","pendingRequestRecords","Queue Manager is not initialized. Call initialize() first.","pow","getMainRequestsSentFlag","postRequestCheck","❌ Request ","SESSIONS","isCurrentlyProcessing","🔄 Backoff delay manually reset","debug","Applying backoff delay of ","firstSessionSubmit","savePendingQueue","maxRetries","MAX_DELAY_MS"," failed","getMainQueue","stopProcessing","isProcessing","saveMainQueue","883455iaNFDX","processQueues","16DYoxmS","doCallRequest","BASE_DELAY_MS","subSessionCount","isInitialized"," failed after ","sdkClickSubmit","getBackoffConfig","SDK_INFOS","✅ Request ","getPendingQueue","💥 Sending request (","6hUMRRA","inactiveDuration","20YkqwmF","⏳ Request ","3047JyKMVq","requestRecords","689376jxObHS","push"," failed with error after ","length","📦 Moved ","endpoint","): id=","startProcessing","retryCount","processMainQueue","shutdown","mutex","processingInterval","145308LiHHCU","initialize"," pending requests to main queue","2846619ySbfuv","now","BACKOFF_MULTIPLIER","addRequest","Error sending request ","sendRequest","6QYhaJm","2143384XsXvqX"," processed successfully","Error in processing loop:","3985030emCgqF","release"," attempts. ","2969379zDAHHY"];return(_0x59d4=function(){return e})()}!function(){const e=_0x5668,t=_0x59d4();for(;;)try{if(561546===-parseInt(e(371))/1+parseInt(e(391))/2*(-parseInt(e(385))/3)+-parseInt(e(414))/4+-parseInt(e(417))/5*(-parseInt(e(413))/6)+-parseInt(e(420))/7*(parseInt(e(373))/8)+-parseInt(e(407))/9*(parseInt(e(387))/10)+-parseInt(e(389))/11*(-parseInt(e(404))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class RequestsQueueManager{constructor(){const e=_0x5668;this[e(377)]=!1,this[e(369)]=!1,this[e(358)]=!1,this.mutex=new Mutex,this[e(403)]=null,this.PROCESSING_INTERVAL_MS=100,this[e(431)]=0,this.MAX_DELAY_MS=3e4,this[e(409)]=2,this.BASE_DELAY_MS=1e3}[_0x5ac2db(405)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;this[e(377)]=!0,!this.isProcessing&&(yield this[e(398)]())})}[_0x5ac2db(401)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;this[e(377)]&&(yield this.stopProcessing(),this[e(377)]=!1)})}[_0x5ac2db(398)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(this[e(377)]){yield this[e(402)].acquire();try{if(this.isProcessing)return;this[e(369)]=!0,this[e(403)]=setInterval(()=>__awaiter(this,void 0,void 0,function*(){const t=e;try{yield this[t(372)]()}catch(e){WTLogger[t(425)](t(416),e)}}),this.PROCESSING_INTERVAL_MS)}finally{this[e(402)][e(418)]()}yield this[e(372)]()}else WTLogger[e(424)](e(352))})}[_0x5ac2db(368)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;yield this.mutex[e(426)]();try{this[e(369)]=!1,this[e(403)]&&(clearInterval(this[e(403)]),this[e(403)]=null)}finally{this[e(402)][e(418)]()}})}[_0x5ac2db(410)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5668;yield this.mutex[t(426)]();try{const r=this.getMainQueue();if(r.push(e),this.saveMainQueue(r),this.failedRequestDelay=0,!this[t(369)])return this[t(402)][t(418)](),void(yield this[t(398)]())}finally{this[t(369)]&&this.mutex[t(418)]()}})}addPendingRequest(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x5668;yield this[t(402)][t(426)]();try{if(this[t(354)]()){const r=this[t(367)]();r.push(e),this[t(370)](r)}else{const r=this[t(383)]();r[t(392)](e),this[t(363)](r)}if(this[t(431)]=0,!this[t(369)])return this[t(402)][t(418)](),void(yield this.startProcessing())}finally{this.isProcessing&&this[t(402)][t(418)]()}})}[_0x5ac2db(372)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(this[e(369)]&&!this[e(358)]){if(this[e(431)]>0){if(Date[e(408)]()<this[e(431)])return;this.failedRequestDelay=0,WTLogger.debug("⏰ Backoff delay ended, resuming queue processing")}this.isCurrentlyProcessing=!0,yield this[e(402)][e(426)]();try{yield this[e(400)](),yield this[e(428)]()}finally{this[e(402)][e(418)](),this[e(358)]=!1}}})}[_0x5ac2db(400)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668,t=this[e(367)]();if(0===t.length)return;const r=t[0];try{if(yield this.sendRequest(r))t.shift(),this[e(370)](t),this[e(355)](r),WTLogger.debug(e(382)+r.id+e(415));else{if(t[0][e(399)]++,t[0][e(399)]>=t[0][e(364)]){const i=this.calculateBackoffDelay(t[0][e(399)]);this.failedRequestDelay=Date.now()+i,WTLogger.warn(e(388)+r.id+e(378)+r[e(364)]+e(419)+(e(361)+i+"ms"))}else WTLogger[e(424)](e(421)+r.id+e(423)+t[0][e(399)]+"/"+t[0][e(364)]);this[e(370)](t)}}catch(i){if(WTLogger[e(425)](e(411)+r[e(396)]+":",i),t[0].retryCount++,t[0][e(399)]>=t[0][e(364)]){const i=this[e(427)](t[0][e(399)]);this.failedRequestDelay=Date[e(408)]()+i,WTLogger[e(424)](e(388)+r.id+e(393)+t[0].maxRetries+e(419)+"Applying backoff delay of "+i+"ms")}this[e(370)](t)}})}[_0x5ac2db(427)](e){const t=_0x5ac2db,r=this[t(375)]*Math[t(353)](this[t(409)],e-1);return Math[t(432)](r,this[t(365)])}[_0x5ac2db(428)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5668;if(!this[e(354)]())return;const t=this.getPendingQueue();if(0===t[e(394)])return;const r=this.getMainQueue();r.push(...t),this.saveMainQueue(r),this[e(363)]([]),console[e(429)](e(395)+t.length+e(406))})}[_0x5ac2db(412)](e){return __awaiter(this,arguments,void 0,function*(e,t=1){const r=_0x5668;WTLogger[r(360)](r(384)+e[r(396)]+r(397)+e.id);let i=!1;try{i=yield apiClient[r(374)](e[r(396)],e[r(430)])}catch(t){WTLogger[r(425)](r(356)+e[r(396)]+r(366),t)}return i})}[_0x5ac2db(367)](){return storageManager[_0x5ac2db(390)]}[_0x5ac2db(370)](e){storageManager.requestRecords=e}[_0x5ac2db(383)](){return storageManager[_0x5ac2db(433)]}savePendingQueue(e){storageManager.pendingRequestRecords=e}[_0x5ac2db(354)](){return storageManager[_0x5ac2db(379)]}[_0x5ac2db(355)](e){const t=_0x5ac2db;switch(e[t(396)]){case WTEndpoints.SDK_CLICKS:storageManager[t(379)]=!0;break;case WTEndpoints[t(357)]:storageManager[t(362)]?(storageManager[t(422)]=0,storageManager[t(386)]=0,storageManager[t(376)]=1):storageManager.firstSessionSubmit=!0;break;case WTEndpoints[t(381)]:storageManager.fcmToken=e[t(430)].push_token}}getQueueStatus(){const e=_0x5ac2db;return{mainQueueLength:this[e(367)]()[e(394)],pendingQueueLength:this.getPendingQueue()[e(394)],isProcessing:this[e(369)],mainRequestsSent:this.getMainRequestsSentFlag(),isInBackoffDelay:this[e(431)]>0&&Date[e(408)]()<this[e(431)],backoffEndsAt:this[e(431)]>0?this[e(431)]:null}}resetBackoffDelay(){const e=_0x5ac2db;this[e(431)]=0,WTLogger[e(360)](e(359))}[_0x5ac2db(380)](){const e=_0x5ac2db;return{baseDelayMs:this[e(375)],multiplier:this[e(409)],maxDelayMs:this[e(365)]}}}const queueManager=new RequestsQueueManager;var props,NAME="name",TYPE="type",VENDOR="vendor",VERSION="version",MODEL="model",MOBILE="mobile",TABLET="tablet",SMARTTV="smarttv",CH_ALL_VALUES=["brands","fullVersionList",MOBILE,MODEL,"platform","platformVersion","architecture","formFactors","bitness"],NAVIGATOR="undefined"!=typeof window&&window.navigator?window.navigator:void 0,NAVIGATOR_UADATA=NAVIGATOR&&NAVIGATOR.userAgentData?NAVIGATOR.userAgentData:void 0,enumerize=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},has=function(e,t){if("object"==typeof e&&e.length>0){for(var r in e)if(lowerize(t)==lowerize(e[r]))return!0;return!1}return!!isString(e)&&lowerize(t)==lowerize(e)},isExtensions=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&isExtensions(e[r])},isString=function(e){return"string"==typeof e},itemListToArray=function(e){if(e){for(var t=[],r=strip(/\\?\"/g,e).split(","),i=0;i<r.length;i++)if(r[i].indexOf(";")>-1){var n=trim(r[i]).split(";v=");t[i]={brand:n[0],version:n[1]}}else t[i]=trim(r[i]);return t}},lowerize=function(e){return isString(e)?e.toLowerCase():e},majorize=function(e){return isString(e)?strip(/[^\d\.]/g,e).split(".")[0]:void 0},setProps=function(e){for(var t in e){var r=e[t];"object"==typeof r&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},strip=function(e,t){return isString(t)?t.replace(e,""):t},stripQuotes=function(e){return strip(/\\?\"/g,e)},trim=function(e,t){if(isString(e))return e=strip(/^\s\s*/,e),void 0===t?e:e.substring(0,500)},rgxMapper=function(e,t){if(e&&t)for(var r,i,n,s,o,a,c=0;c<t.length&&!o;){var u=t[c],d=t[c+1];for(r=i=0;r<u.length&&!o&&u[r];)if(o=u[r++].exec(e))for(n=0;n<d.length;n++)a=o[++i],"object"==typeof(s=d[n])&&s.length>0?2===s.length?"function"==typeof s[1]?this[s[0]]=s[1].call(this,a):this[s[0]]=s[1]:s.length>=3&&("function"!=typeof s[1]||s[1].exec&&s[1].test?3==s.length?this[s[0]]=a?a.replace(s[1],s[2]):void 0:4==s.length?this[s[0]]=a?s[3].call(this,a.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=a?s[3].apply(this,[a.replace(s[1],s[2])].concat(s.slice(4))):void 0):s.length>3?this[s[0]]=a?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=a?s[1].call(this,a,s[2]):void 0):this[s]=a||void 0;c+=2}},strMapper=function(e,t){for(var r in t)if("object"==typeof t[r]&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(has(t[r][i],e))return"?"===r?void 0:r}else if(has(t[r],e))return"?"===r?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},windowsVersionMap={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2",8.1:"6.3",10:["6.4","10.0"],NT:""},formFactorsMap={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},browserHintsMap={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},defaultRegexes={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[VERSION,[NAME,"Mobile Chrome"]],[/webview.+edge\/([\w\.]+)/i],[VERSION,[NAME,"Edge WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[VERSION,[NAME,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[NAME,VERSION],[/opios[\/ ]+([\w\.]+)/i],[VERSION,[NAME,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[VERSION,[NAME,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[VERSION,[NAME,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[VERSION,[NAME,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[NAME,VERSION],[/quark(?:pc)?\/([-\w\.]+)/i],[VERSION,[NAME,"Quark"]],[/\bddg\/([\w\.]+)/i],[VERSION,[NAME,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[VERSION,[NAME,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[VERSION,[NAME,"WeChat"]],[/konqueror\/([\w\.]+)/i],[VERSION,[NAME,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[VERSION,[NAME,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[VERSION,[NAME,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Secure Browser"],VERSION],[/\bfocus\/([\w\.]+)/i],[VERSION,[NAME,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[VERSION,[NAME,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[VERSION,[NAME,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[VERSION,[NAME,"Dolphin"]],[/coast\/([\w\.]+)/i],[VERSION,[NAME,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[VERSION,[NAME,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[VERSION,[NAME,"Mobile Firefox"]],[/\bqihoobrowser\/?([\w\.]*)/i],[VERSION,[NAME,"360"]],[/\b(qq)\/([\w\.]+)/i],[[NAME,/(.+)/,"$1Browser"],VERSION],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[NAME,/(.+)/,"$1 Browser"],VERSION],[/samsungbrowser\/([\w\.]+)/i],[VERSION,[NAME,"Samsung Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[VERSION,[NAME,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[NAME,"Sogou Mobile"],VERSION],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[NAME,VERSION],[/(lbbrowser|rekonq)/i],[NAME],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[VERSION,NAME],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[NAME,"Facebook"],VERSION,[TYPE,"inapp"]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[NAME,VERSION,[TYPE,"inapp"]],[/\bgsa\/([\w\.]+) .*safari\//i],[VERSION,[NAME,"GSA"],[TYPE,"inapp"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[VERSION,[NAME,"TikTok"],[TYPE,"inapp"]],[/\[(linkedin)app\]/i],[NAME,[TYPE,"inapp"]],[/(chromium)[\/ ]([-\w\.]+)/i],[NAME,VERSION],[/headlesschrome(?:\/([\w\.]+)| )/i],[VERSION,[NAME,"Chrome Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[VERSION,[NAME,"Edge WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[NAME,"Chrome WebView"],VERSION],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[VERSION,[NAME,"Android Browser"]],[/chrome\/([\w\.]+) mobile/i],[VERSION,[NAME,"Mobile Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[NAME,VERSION],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[VERSION,[NAME,"Mobile Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[NAME,"Mobile Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[VERSION,NAME],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[NAME,[VERSION,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[NAME,VERSION],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[NAME,"Mobile Firefox"],VERSION],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[NAME,"Netscape"],VERSION],[/(wolvic|librewolf)\/([\w\.]+)/i],[NAME,VERSION],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[VERSION,[NAME,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[NAME,[VERSION,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[NAME,[VERSION,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[["architecture","amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[["architecture","arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[["architecture",/ower/,"",lowerize]],[/ sun4\w[;\)]/i],[["architecture","sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[["architecture",lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,TABLET]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[MODEL,[VENDOR,"Samsung"],[TYPE,MOBILE]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[MODEL,[VENDOR,"Apple"],[TYPE,MOBILE]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[MODEL,[VENDOR,"Apple"],[TYPE,TABLET]],[/(macintosh);/i],[MODEL,[VENDOR,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,MOBILE]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[MODEL,[VENDOR,"Honor"],[TYPE,TABLET]],[/honor([-\w ]+)[;\)]/i],[MODEL,[VENDOR,"Honor"],[TYPE,MOBILE]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,TABLET]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[MODEL,[VENDOR,"Huawei"],[TYPE,MOBILE]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,TABLET]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[MODEL,/_/g," "],[VENDOR,"Xiaomi"],[TYPE,MOBILE]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,MOBILE]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[MODEL,[VENDOR,"OPPO"],[TYPE,MOBILE]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[MODEL,[VENDOR,strMapper,{OnePlus:["203","304","403","404","413","415"],"*":"OPPO"}],[TYPE,TABLET]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[MODEL,[VENDOR,"BLU"],[TYPE,MOBILE]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[MODEL,[VENDOR,"Vivo"],[TYPE,MOBILE]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[MODEL,[VENDOR,"Realme"],[TYPE,MOBILE]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,TABLET]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[MODEL,[VENDOR,"Lenovo"],[TYPE,MOBILE]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[MODEL,[VENDOR,"Motorola"],[TYPE,MOBILE]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[MODEL,[VENDOR,"Motorola"],[TYPE,TABLET]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[MODEL,[VENDOR,"LG"],[TYPE,TABLET]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[MODEL,[VENDOR,"LG"],[TYPE,MOBILE]],[/(nokia) (t[12][01])/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[MODEL,/_/g," "],[TYPE,MOBILE],[VENDOR,"Nokia"]],[/(pixel (c|tablet))\b/i],[MODEL,[VENDOR,"Google"],[TYPE,TABLET]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[MODEL,[VENDOR,"Google"],[TYPE,MOBILE]],[/(google) (pixelbook( go)?)/i],[VENDOR,MODEL],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[MODEL,[VENDOR,"Sony"],[TYPE,MOBILE]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[MODEL,"Xperia Tablet"],[VENDOR,"Sony"],[TYPE,TABLET]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[MODEL,[VENDOR,"Amazon"],[TYPE,TABLET]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[MODEL,/(.+)/g,"Fire Phone $1"],[VENDOR,"Amazon"],[TYPE,MOBILE]],[/(playbook);[-\w\),; ]+(rim)/i],[MODEL,VENDOR,[TYPE,TABLET]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[MODEL,[VENDOR,"BlackBerry"],[TYPE,MOBILE]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[MODEL,[VENDOR,"ASUS"],[TYPE,TABLET]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[MODEL,[VENDOR,"ASUS"],[TYPE,MOBILE]],[/(nexus 9)/i],[MODEL,[VENDOR,"HTC"],[TYPE,TABLET]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[VENDOR,[MODEL,/_/g," "],[TYPE,MOBILE]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,TABLET]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[MODEL,[VENDOR,"TCL"],[TYPE,MOBILE]],[/(itel) ((\w+))/i],[[VENDOR,lowerize],MODEL,[TYPE,strMapper,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[MODEL,[VENDOR,"Acer"],[TYPE,TABLET]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[MODEL,[VENDOR,"Meizu"],[TYPE,MOBILE]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[MODEL,[VENDOR,"Ulefone"],[TYPE,MOBILE]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Energizer"],[TYPE,MOBILE]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[MODEL,[VENDOR,"Cat"],[TYPE,MOBILE]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[MODEL,[VENDOR,"Smartfren"],[TYPE,MOBILE]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[MODEL,[VENDOR,"Nothing"],[TYPE,MOBILE]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,TABLET]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[MODEL,[VENDOR,"Archos"],[TYPE,MOBILE]],[/; (n159v)/i],[MODEL,[VENDOR,"HMD"],[TYPE,MOBILE]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[VENDOR,MODEL,[TYPE,TABLET]],[/(surface duo)/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,TABLET]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[MODEL,[VENDOR,"Fairphone"],[TYPE,MOBILE]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,TABLET]],[/(sprint) (\w+)/i],[VENDOR,MODEL,[TYPE,MOBILE]],[/(kin\.[onetw]{3})/i],[[MODEL,/\./g," "],[VENDOR,"Microsoft"],[TYPE,MOBILE]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,TABLET]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,MOBILE]],[/smart-tv.+(samsung)/i],[VENDOR,[TYPE,SMARTTV]],[/hbbtv.+maple;(\d+)/i],[[MODEL,/^/,"SmartTV"],[VENDOR,"Samsung"],[TYPE,SMARTTV]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[VENDOR,"LG"],[TYPE,SMARTTV]],[/(apple) ?tv/i],[VENDOR,[MODEL,"Apple TV"],[TYPE,SMARTTV]],[/crkey.*devicetype\/chromecast/i],[[MODEL,"Chromecast Third Generation"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey.*devicetype\/([^/]*)/i],[[MODEL,/^/,"Chromecast "],[VENDOR,"Google"],[TYPE,SMARTTV]],[/fuchsia.*crkey/i],[[MODEL,"Chromecast Nest Hub"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/crkey/i],[[MODEL,"Chromecast"],[VENDOR,"Google"],[TYPE,SMARTTV]],[/(portaltv)/i],[MODEL,[VENDOR,"Facebook"],[TYPE,SMARTTV]],[/droid.+aft(\w+)( bui|\))/i],[MODEL,[VENDOR,"Amazon"],[TYPE,SMARTTV]],[/(shield \w+ tv)/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,SMARTTV]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[MODEL,[VENDOR,"Sharp"],[TYPE,SMARTTV]],[/(bravia[\w ]+)( bui|\))/i],[MODEL,[VENDOR,"Sony"],[TYPE,SMARTTV]],[/(mi(tv|box)-?\w+) bui/i],[MODEL,[VENDOR,"Xiaomi"],[TYPE,SMARTTV]],[/Hbbtv.*(technisat) (.*);/i],[VENDOR,MODEL,[TYPE,SMARTTV]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[VENDOR,/.+\/(\w+)/,"$1",strMapper,{LG:"lge"}],[MODEL,trim],[TYPE,SMARTTV]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[MODEL,[TYPE,SMARTTV]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[TYPE,SMARTTV]],[/(playstation \w+)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[MODEL,[VENDOR,"Microsoft"],[TYPE,"console"]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[VENDOR,MODEL,[TYPE,"console"]],[/droid.+; (shield)( bui|\))/i],[MODEL,[VENDOR,"Nvidia"],[TYPE,"console"]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[MODEL,[VENDOR,"Samsung"],[TYPE,"wearable"]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[VENDOR,MODEL,[TYPE,"wearable"]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[MODEL,[VENDOR,"OPPO"],[TYPE,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[MODEL,[VENDOR,"Apple"],[TYPE,"wearable"]],[/(opwwe\d{3})/i],[MODEL,[VENDOR,"OnePlus"],[TYPE,"wearable"]],[/(moto 360)/i],[MODEL,[VENDOR,"Motorola"],[TYPE,"wearable"]],[/(smartwatch 3)/i],[MODEL,[VENDOR,"Sony"],[TYPE,"wearable"]],[/(g watch r)/i],[MODEL,[VENDOR,"LG"],[TYPE,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[MODEL,[VENDOR,"Zebra"],[TYPE,"wearable"]],[/droid.+; (glass) \d/i],[MODEL,[VENDOR,"Google"],[TYPE,"xr"]],[/(pico) (4|neo3(?: link|pro)?)/i],[VENDOR,MODEL,[TYPE,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[MODEL,[VENDOR,"Facebook"],[TYPE,"xr"]],[/mobile vr; rv.+firefox/i],[[TYPE,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[VENDOR,[TYPE,"embedded"]],[/(aeobc)\b/i],[MODEL,[VENDOR,"Amazon"],[TYPE,"embedded"]],[/(homepod).+mac os/i],[MODEL,[VENDOR,"Apple"],[TYPE,"embedded"]],[/windows iot/i],[[TYPE,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[MODEL,[TYPE,strMapper,{mobile:"Mobile",xr:"VR","*":TABLET}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[TYPE,TABLET]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[TYPE,MOBILE]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[MODEL,[VENDOR,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[VERSION,[NAME,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[NAME,VERSION],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[VERSION,[NAME,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[NAME,VERSION],[/ladybird\//i],[[NAME,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[VERSION,NAME]],os:[[/(windows nt) (6\.[23]); arm/i],[[NAME,/N/,"R"],[VERSION,strMapper,windowsVersionMap]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[NAME,VERSION],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[VERSION,/(;|\))/g,"",strMapper,windowsVersionMap],[NAME,"Windows"]],[/(windows ce)\/?([\d\.]*)/i],[NAME,VERSION],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[VERSION,/_/g,"."],[NAME,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[NAME,"macOS"],[VERSION,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[VERSION,[NAME,"Chromecast Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[VERSION,[NAME,"Chromecast SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast Linux"]],[/crkey\/([\d\.]+)/i],[VERSION,[NAME,"Chromecast"]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[VERSION,NAME],[/(ubuntu) ([\w\.]+) like android/i],[[NAME,/(.+)/,"$1 Touch"],VERSION],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[NAME,VERSION],[/\(bb(10);/i],[VERSION,[NAME,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[VERSION,[NAME,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[VERSION,[NAME,"Firefox OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[VERSION,[NAME,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[VERSION,strMapper,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[NAME,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[VERSION,[NAME,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[NAME,"Chrome OS"],VERSION],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[NAME,VERSION],[/(sunos) ?([\d\.]*)/i],[[NAME,"Solaris"],VERSION],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[NAME,VERSION]]},defaultProps=(setProps.call((props={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}}).init,[["browser",[NAME,VERSION,"major",TYPE]],["cpu",["architecture"]],["device",[TYPE,MODEL,VENDOR]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),setProps.call(props.isIgnore,[["browser",[VERSION,"major"]],["engine",[VERSION]],["os",[VERSION]]]),setProps.call(props.isIgnoreRgx,[["browser",/ ?browser$/i],["os",/ ?os$/i]]),setProps.call(props.toString,[["browser",[NAME,VERSION]],["cpu",["architecture"]],["device",[VENDOR,MODEL]],["engine",[NAME,VERSION]],["os",[NAME,VERSION]]]),props),createIData=function(e,t){var r=defaultProps.init[t],i=defaultProps.isIgnore[t]||0,n=defaultProps.isIgnoreRgx[t]||0,s=defaultProps.toString[t]||0;function o(){setProps.call(this,r)}return o.prototype.getItem=function(){return e},o.prototype.withClientHints=function(){return NAVIGATOR_UADATA?NAVIGATOR_UADATA.getHighEntropyValues(CH_ALL_VALUES).then(function(t){return e.setCH(new UACHData(t,!1)).parseCH().get()}):e.parseCH().get()},o.prototype.withFeatureCheck=function(){return e.detectFeature().get()},"result"!=t&&(o.prototype.is=function(e){var t=!1;for(var r in this)if(this.hasOwnProperty(r)&&!has(i,r)&&lowerize(n?strip(n,this[r]):this[r])==lowerize(n?strip(n,e):e)){if(t=!0,"undefined"!=e)break}else if("undefined"==e&&t){t=!t;break}return t},o.prototype.toString=function(){var e="";for(var t in s)void 0!==this[s[t]]&&(e+=(e?" ":"")+this[s[t]]);return e||"undefined"}),NAVIGATOR_UADATA||(o.prototype.then=function(e){var t=this,r=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};r.prototype={is:o.prototype.is,toString:o.prototype.toString};var i=new r;return e(i),i}),new o};function UACHData(e,t){if(e=e||{},setProps.call(this,CH_ALL_VALUES),t)setProps.call(this,[["brands",itemListToArray(e["sec-ch-ua"])],["fullVersionList",itemListToArray(e["sec-ch-ua-full-version-list"])],[MOBILE,/\?1/.test(e["sec-ch-ua-mobile"])],[MODEL,stripQuotes(e["sec-ch-ua-model"])],["platform",stripQuotes(e["sec-ch-ua-platform"])],["platformVersion",stripQuotes(e["sec-ch-ua-platform-version"])],["architecture",stripQuotes(e["sec-ch-ua-arch"])],["formFactors",itemListToArray(e["sec-ch-ua-form-factors"])],["bitness",stripQuotes(e["sec-ch-ua-bitness"])]]);else for(var r in e)this.hasOwnProperty(r)&&void 0!==e[r]&&(this[r]=e[r])}function UAItem(e,t,r,i){return this.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},this.set=function(e,t){return this.data[e]=t,this},this.setCH=function(e){return this.uaCH=e,this},this.detectFeature=function(){if(NAVIGATOR&&NAVIGATOR.userAgent==this.ua)switch(this.itemType){case"browser":NAVIGATOR.brave&&"function"==typeof NAVIGATOR.brave.isBrave&&this.set(NAME,"Brave");break;case"device":!this.get(TYPE)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA[MOBILE]&&this.set(TYPE,MOBILE),"Macintosh"==this.get(MODEL)&&NAVIGATOR&&void 0!==NAVIGATOR.standalone&&NAVIGATOR.maxTouchPoints&&NAVIGATOR.maxTouchPoints>2&&this.set(MODEL,"iPad").set(TYPE,TABLET);break;case"os":!this.get(NAME)&&NAVIGATOR_UADATA&&NAVIGATOR_UADATA.platform&&this.set(NAME,NAVIGATOR_UADATA.platform);break;case"result":var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set("browser",t("browser")).set("cpu",t("cpu")).set("device",t("device")).set("engine",t("engine")).set("os",t("os"))}return this},this.parseUA=function(){return"result"!=this.itemType&&rgxMapper.call(this.data,this.ua,this.rgxMap),"browser"==this.itemType&&this.set("major",majorize(this.get(VERSION))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case"browser":case"engine":var r,i=e.fullVersionList||e.brands;if(i)for(var n in i){var s=i[n].brand||i[n],o=i[n].version;"browser"==this.itemType&&!/not.a.brand/i.test(s)&&(!r||/Chrom/.test(r)&&"Chromium"!=s||"Edge"==r&&/WebView2/.test(s))&&(s=strMapper(s,browserHintsMap),(r=this.get(NAME))&&!/Chrom/.test(r)&&/Chrom/.test(s)||this.set(NAME,s).set(VERSION,o).set("major",majorize(o)),r=s),"engine"==this.itemType&&"Chromium"==s&&this.set(VERSION,o)}break;case"cpu":var a=e.architecture;a&&(a&&"64"==e.bitness&&(a+="64"),rgxMapper.call(this.data,a+";",t));break;case"device":if(e[MOBILE]&&this.set(TYPE,MOBILE),e[MODEL]&&(this.set(MODEL,e[MODEL]),!this.get(TYPE)||!this.get(VENDOR))){var c={};rgxMapper.call(c,"droid 9; "+e[MODEL]+")",t),!this.get(TYPE)&&c.type&&this.set(TYPE,c.type),!this.get(VENDOR)&&c.vendor&&this.set(VENDOR,c.vendor)}if(e.formFactors){var u;if("string"!=typeof e.formFactors)for(var d=0;!u&&d<e.formFactors.length;)u=strMapper(e.formFactors[d++],formFactorsMap);else u=strMapper(e.formFactors,formFactorsMap);this.set(TYPE,u)}break;case"os":var l=e.platform;if(l){var p=e.platformVersion;"Windows"==l&&(p=parseInt(majorize(p),10)>=13?"11":"10"),this.set(NAME,l).set(VERSION,p)}"Windows"==this.get(NAME)&&"Xbox"==e[MODEL]&&this.set(NAME,"Xbox").set(VERSION,void 0);break;case"result":var E=this.data,h=function(t){return E[t].getItem().setCH(e).parseCH().get()};this.set("browser",h("browser")).set("cpu",h("cpu")).set("device",h("device")).set("engine",h("engine")).set("os",h("os"))}return this},setProps.call(this,[["itemType",e],["ua",t],["uaCH",i],["rgxMap",r],["data",createIData(this,e)]]),this}function UAParser(e,t,r){if("object"==typeof e?(isExtensions(e,!0)?("object"==typeof t&&(r=t),t=e):(r=e,t=void 0),e=void 0):"string"!=typeof e||isExtensions(t,!0)||(r=t,t=void 0),r&&"function"==typeof r.append){var i={};r.forEach(function(e,t){i[t]=e}),r=i}if(!(this instanceof UAParser))return new UAParser(e,t,r).getResult();var n="string"==typeof e?e:r&&r["user-agent"]?r["user-agent"]:NAVIGATOR&&NAVIGATOR.userAgent?NAVIGATOR.userAgent:"",s=new UACHData(r,!0),o=t?function(e,t){var r={},i=t;if(!isExtensions(t))for(var n in i={},t)for(var s in t[n])i[s]=t[n][s].concat(i[s]?i[s]:[]);for(var o in e)r[o]=i[o]&&i[o].length%2==0?i[o].concat(e[o]):e[o];return r}(defaultRegexes,t):defaultRegexes,a=function(e){return"result"==e?function(){return new UAItem(e,n,o,s).set("ua",n).set("browser",this.getBrowser()).set("cpu",this.getCPU()).set("device",this.getDevice()).set("engine",this.getEngine()).set("os",this.getOS()).get()}:function(){return new UAItem(e,n,o[e],s).parseUA().get()}};return setProps.call(this,[["getBrowser",a("browser")],["getCPU",a("cpu")],["getDevice",a("device")],["getEngine",a("engine")],["getOS",a("os")],["getResult",a("result")],["getUA",function(){return n}],["setUA",function(e){return isString(e)&&(n=e.length>500?trim(e,500):e),this}]]).setUA(n),this}UAParser.VERSION="2.0.4",UAParser.BROWSER=enumerize([NAME,VERSION,"major",TYPE]),UAParser.CPU=enumerize(["architecture"]),UAParser.DEVICE=enumerize([MODEL,VENDOR,TYPE,"console",MOBILE,SMARTTV,TABLET,"wearable","embedded"]),UAParser.ENGINE=UAParser.OS=enumerize([NAME,VERSION]);const _0x1bb710=_0x1870;function _0x1870(e,t){const r=_0x578d();return(_0x1870=function(e,t){return r[e-=347]})(e,t)}function _0x578d(){const e=["tablet","xlarge","screenDensity","matches","small","getDeviceInfo","low","playstation","242060mXNfEh","pow","netcast","android auto","567860yIlSmr","toLowerCase","(prefers-color-scheme: dark)","large","normal","medium","7FYndPW","innerHeight","embedded","model","getResult","height","devicePixelRatio","desktop","668988ZZrRkw","smarttv","includes","screenType","googletv","36620EhNIin","mobile","5avqcyC","144qTzWeu","device","car","smart-tv","5316597ncNBvD","uiStyle","wearable","xbox","type","console","displaySize","appletv","browser","2766504lkmaPj","engine","matchMedia","watch","uiMode","oculus","screenSize","2QDZzgx","76251gMsyMm","high","width","innerWidth","hbbtv"];return(_0x578d=function(){return e})()}!function(){const e=_0x1870,t=_0x578d();for(;;)try{if(219022===-parseInt(e(375))/1*(-parseInt(e(361))/2)+parseInt(e(362))/3+-parseInt(e(379))/4*(-parseInt(e(400))/5)+-parseInt(e(393))/6*(parseInt(e(385))/7)+parseInt(e(354))/8+parseInt(e(401))/9*(parseInt(e(398))/10)+-parseInt(e(405))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceDetector{[_0x1bb710(372)](){const e=_0x1bb710,t=(new UAParser)[e(389)]();return{browser:t[e(353)],os:t.os,device:t[e(402)],engine:t[e(355)],cpu:t.cpu,ua:t.ua}}get[_0x1bb710(369)](){const e=_0x1bb710;return window[e(391)]>=3?e(363):window.devicePixelRatio>=2?e(384):e(373)}get screenFormat(){const e=_0x1bb710;return window[e(386)]>window[e(365)]?"long":e(383)}get[_0x1bb710(360)](){const e=_0x1bb710,t=window.innerWidth;return e(t<480?371:t<768?383:t<1440?382:368)}get[_0x1bb710(358)](){const e=_0x1bb710;var t,r,i;const n=this.getDeviceInfo(),s=(null===(t=n[e(402)])||void 0===t?void 0:t[e(349)])||"",o=(null===(i=null===(r=n[e(402)])||void 0===r?void 0:r[e(388)])||void 0===i?void 0:i[e(380)]())||"",a=n.ua[e(380)]();return s===e(347)||o[e(395)](e(357))?6:s===e(394)||a[e(395)](e(404))||a[e(395)](e(366))||a[e(395)](e(377))||a[e(395)](e(397))||a[e(395)](e(352))?4:s===e(350)||a.includes(e(374))||a.includes(e(348))||a.includes("nintendo")?5:a[e(395)](e(403))||a[e(395)](e(378))||a.includes("carplay")?3:a[e(395)](e(359))||a[e(395)]("vive")||a[e(395)]("vr")||s===e(387)?7:s===e(399)||s===e(367)?1:""===s||s===e(392)?2:0}get[_0x1bb710(406)](){const e=_0x1bb710;return window.matchMedia&&window[e(356)](e(381))[e(370)]?"1":"0"}get[_0x1bb710(351)](){const e=_0x1bb710,t=window.devicePixelRatio||1,r=screen[e(364)]*t/160,i=screen[e(390)]*t/160;return Math.sqrt(Math[e(376)](r,2)+Math.pow(i,2)).toFixed(2)}get[_0x1bb710(396)](){return"ontouchstart"in window||navigator.maxTouchPoints>0?"touch":"pointer"}}const deviceDetector=new DeviceDetector;function _0x5d09(){const e=["onsuccess","getStorageSizeBytes","4309886xlTZiK","117NOIWQS","isLocalStorageSupported","length","resolve","98515roaQRJ","__test__","563246PHoVsr","__test__check__","getItem","438176aAguoj","open","1146780ZKMJlF","supportResults","result","removeItem","key","7805088ngyUfj","isSessionStorageSupported","2859936WbUunG","setItem","onerror","164eimEMi","indexedDB","6tcezTw"];return(_0x5d09=function(){return e})()}const _0x257013=_0x3356;function _0x3356(e,t){const r=_0x5d09();return(_0x3356=function(e,t){return r[e-=225]})(e,t)}!function(){const e=_0x3356,t=_0x5d09();for(;;)try{if(494031===-parseInt(e(247))/1+-parseInt(e(250))/2+parseInt(e(232))/3+parseInt(e(235))/4*(-parseInt(e(245))/5)+parseInt(e(237))/6*(parseInt(e(240))/7)+-parseInt(e(230))/8+parseInt(e(241))/9*(parseInt(e(225))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class StorageSupport{constructor(){this[_0x3356(226)]=null}getSupportResult(){return __awaiter(this,void 0,void 0,function*(){const e=_0x3356;if(this[e(226)])return this[e(226)];const t=this[e(242)](),r=this[e(231)](),i=yield this.isIndexedDBSupported();return this[e(226)]={localStorage:t,sessionStorage:r,indexedDB:i},this.supportResults})}[_0x257013(239)](e){const t=_0x257013;let r=0;for(let i=0;i<e[t(243)];i++){const n=e[t(229)](i);if(!n)continue;const s=e[t(249)](n);null!=s&&(r+=2*n[t(243)],r+=2*s[t(243)])}return r}[_0x257013(242)](){const e=_0x257013;try{const t="__test__";return localStorage[e(233)](t,"1"),localStorage[e(228)](t),!0}catch(e){return!1}}isSessionStorageSupported(){const e=_0x257013;try{const t=e(246);return sessionStorage[e(233)](t,"1"),sessionStorage.removeItem(t),!0}catch(e){return!1}}isIndexedDBSupported(){const e=_0x257013;return e(236)in window?new Promise(t=>{const r=e;try{const e=indexedDB[r(251)](r(248));e[r(234)]=()=>t(!1),e[r(238)]=()=>{const i=r;e[i(227)].close(),indexedDB.deleteDatabase(i(248)),t(!0)}}catch(e){t(!1)}}):Promise[e(244)](!1)}}const storageSupport=new StorageSupport,_0x1a9365=_0x4fd4;function _0x4fd4(e,t){const r=_0xd33c();return(_0x4fd4=function(e,t){return r[e-=299]})(e,t)}!function(){const e=_0x4fd4,t=_0xd33c();for(;;)try{if(102154===-parseInt(e(360))/1*(-parseInt(e(362))/2)+parseInt(e(320))/3*(-parseInt(e(318))/4)+-parseInt(e(317))/5*(parseInt(e(361))/6)+parseInt(e(322))/7*(-parseInt(e(305))/8)+-parseInt(e(353))/9+-parseInt(e(359))/10+-parseInt(e(311))/11*(-parseInt(e(303))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class Utils{static[_0x1a9365(302)](){const e=_0x1a9365,t=new URLSearchParams(window[e(323)][e(358)]),r={};for(const[i,n]of t[e(333)]())i[e(307)](e(300))&&n&&(r[i]=n);if(!r[e(344)]){const t=document[e(363)];r.utm_source=t?new URL(t)[e(328)]:e(314)}return!r[e(342)]&&(r.utm_medium=e(346)),Object[e(333)](r)[e(355)](([e,t])=>e+"="+encodeURIComponent(t))[e(306)]("&")}}function _0xd33c(){const e=["jQuery","keys","13250tEcjNO","8qzNABO","Next.js","54222KnZAyl","Backbone.js","231dcOemh","location","drupal-settings-json","src","Nuxt.js","Wix","hostname","[data-reactroot], [data-reactid]","Drupal","Vue",'meta[name="generator"][content*="Ghost"]',"entries","__reactContainer","some","/_nuxt/","Shopify","querySelector","React","documentElement","includes","utm_medium","WordPress","utm_source","innerHTML","organic",'meta[name="generator"][content*="WordPress"]',"Meteor","Backbone","[data-v-app], [data-v-]","scripts","__VUE__","1497969lrezUr","wix.com","map","Gatsby.js","Zepto","search","919820KImCnw","45658PFvTDW","102sYOkal","4EOUXlO","referrer","wp-includes",".ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]","[ng-version]","utm_","Ghost CMS","getUTMParamsString","4234812LLmmjN","Angular","592jxZMSx","join","startsWith","mix-manifest.json","script[id=__NEXT_DATA__]","_reactRootContainer","11OByBby","Laravel","svelte","other"];return(_0xd33c=function(){return e})()}Utils.detectWebFramework=()=>{const e=_0x1a9365;return document[e(338)](e(309))||[...document[e(351)]][e(335)](t=>t[e(325)][e(341)]("/_next/"))?e(319):window[e(339)]||document[e(338)](e(329))||Array.from(document.querySelectorAll("*"))[e(335)](t=>void 0!==t[e(310)]||Object[e(316)](t).some(t=>t[e(307)](e(334))))||window.__REACT_DEVTOOLS_GLOBAL_HOOK__?e(339):[...document[e(351)]][e(335)](t=>t[e(325)].includes(e(336)))?e(326):window[e(352)]||window[e(331)]||document.querySelector(e(350))?"Vue.js":document[e(338)]("[id=___gatsby]")?e(356):window||document.querySelector(e(365))||document[e(338)]('script[src*="angular.js"], script[src*="angular.min.js"]')||window.ng||document[e(338)](e(299))?e(304):[...document[e(351)]][e(335)](t=>{const r=e;var i;return t[r(325)][r(341)](r(313))||(null===(i=t.textContent)||void 0===i?void 0:i[r(341)](r(313)))})?"Svelte":document[e(338)]("[x-data], [x-init], [x-bind]")?"Alpine.js":window[e(315)]?e(315):window[e(349)]?e(321):window[e(348)]?"Meteor.js":window[e(357)]?"Zepto.js":document[e(338)](e(347))||[...document[e(351)]].some(t=>t[e(325)][e(341)]("wp-content")||t[e(325)][e(341)](e(364)))?e(343):[...document[e(351)]][e(335)](t=>t.src.includes("/js/app.js")||t[e(325)][e(341)](e(308)))?e(312):document.querySelector('meta[name="generator"][content*="Drupal"]')||document.documentElement.innerHTML[e(341)](e(324))?e(330):document[e(340)][e(345)][e(341)]("cdn.shopify.com")?e(337):[...document.scripts][e(335)](t=>t[e(325)][e(341)]("static.squarespace.com"))?"Squarespace":[...document.scripts][e(335)](t=>t.src[e(341)](e(354)))?e(327):document[e(338)](e(332))?e(301):void 0};const _0x2279f1=_0x1528;function _0x1f77(){const e=["MAX_TEXTURE_SIZE","hashData","encode","RENDERER","1BofJbz","406445IYOdtP","subtle","createElement","WEBGL_debug_renderer_info","stringify","vendor","fillStyle","19747380lRZdlO","getContext","font","width","UNMASKED_RENDERER_WEBGL","fillText","isWebGLSupported","toString","213370zcgKRn","top","2721768MKYluu","fillRect","getParameter","VERSION","SHA-256","renderer","webgl","height","VENDOR","2319912VuxOrR","885648BBwqqN","#069","UNMASKED_VENDOR_WEBGL","textBaseline","18kIFULb","14gNpUIk","map","14px 'Arial'","getExtension","#f60","canvas","2937856WdnOJh"];return(_0x1f77=function(){return e})()}function _0x1528(e,t){const r=_0x1f77();return(_0x1528=function(e,t){return r[e-=286]})(e,t)}!function(){const e=_0x1528,t=_0x1f77();for(;;)try{if(385202===parseInt(e(303))/1*(parseInt(e(319))/2)+-parseInt(e(287))/3+-parseInt(e(321))/4+parseInt(e(304))/5*(-parseInt(e(291))/6)+-parseInt(e(292))/7*(parseInt(e(298))/8)+parseInt(e(286))/9+parseInt(e(311))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class DeviceFingerprint{static[_0x2279f1(317)](){const e=_0x2279f1;try{const t=document[e(306)]("canvas");return!(!t[e(312)](e(327))&&!t[e(312)]("experimental-webgl"))}catch(e){return!1}}static getWebGLFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1528,t=document[e(306)](e(297)),r=t.getContext(e(327))||t.getContext("experimental-webgl");if(!r)return;const i={version:r[e(323)](r[e(324)]),shadingLangVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),maxTextureSize:r.getParameter(r[e(299)]),maxRenderBufferSize:r[e(323)](r.MAX_RENDERBUFFER_SIZE),supportedExtensions:r.getSupportedExtensions()};try{const t=r[e(295)](e(307));i[e(309)]=t?r[e(323)](t[e(289)]):r[e(323)](r[e(329)])}catch(t){i.vendor=r.getParameter(r[e(329)])}try{const t=r[e(295)](e(307));i[e(326)]=t?r[e(323)](t[e(315)]):r[e(323)](r[e(302)])}catch(t){i[e(326)]=r[e(323)](r[e(302)])}return yield this.hashData(JSON[e(308)](i))})}static getCanvasFingerprint(){return __awaiter(this,void 0,void 0,function*(){const e=_0x1528,t=document.createElement(e(297));t[e(314)]=200,t[e(328)]=50;const r=t[e(312)]("2d");if(r)return r[e(290)]=e(320),r[e(313)]=e(294),r[e(310)]=e(296),r[e(322)](0,0,200,50),r[e(310)]=e(288),r[e(316)]("WiseTrack WebGL Fingerprint!",2,2),yield this.hashData(t.toDataURL())})}static[_0x2279f1(300)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x1528,r="string"==typeof e?e:JSON[t(308)](e),i=(new TextEncoder)[t(301)](r),n=yield crypto[t(305)].digest(t(325),i);return Array.from(new Uint8Array(n))[t(293)](e=>e[t(318)](16).padStart(2,"0")).join("")})}}const _0x9bc4e5=_0x5b79;function _0x5b79(e,t){const r=_0x34af();return(_0x5b79=function(e,t){return r[e-=110]})(e,t)}function _0x34af(){const e=["getDeviceInfo","getDeviceFields","getApplicationFields","initialConfig","580gtenmx","screenType","getWebGLFingerprint","userEnvironment","displaySize","screenSize","1580JsMspA","PLATFORM","assign","279335qPaWMx","model","VERSION","cpu","build","name","appFrameWork","now","map","44IxIRAA","performance","getCountryCode","other","3858896BFODDT","SDK","getStorageSizeBytes","innerHeight","initialDate","filter","created_at","browser","time_spent","DEFAULTS","screenFormat","getSupportResult","3296100bXhfeL","indexedDB","localStorage","architecture","outerHeight","engine","2588810cHUURn","uiStyle","toString","screenDensity","device","language","25767PoqSuL","innerWidth","isWebGLSupported","toFixed","appVersion","version","sessionStorage","924408tJuocP","fromEntries","PARAMETERS_VALUE","2878jTnuud","hostname","activeDuration","getLocalFields","vendor","getCanvasFingerprint"];return(_0x34af=function(){return e})()}!function(){const e=_0x5b79,t=_0x34af();for(;;)try{if(543755===-parseInt(e(134))/1*(-parseInt(e(144))/2)+parseInt(e(131))/3+parseInt(e(162))/4*(-parseInt(e(153))/5)+-parseInt(e(112))/6+-parseInt(e(118))/7+parseInt(e(166))/8+parseInt(e(124))/9*(parseInt(e(150))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class FieldsBuilder{[_0x9bc4e5(157)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x5b79,t=window[e(163)][e(160)]();let r={};return r[e(172)]=(new Date).toISOString(),Object[e(152)](r,this.getLocalFields()),Object[e(152)](r,yield this[e(142)]()),Object[e(152)](r,this[e(141)]()),r[e(174)]=(window[e(163)][e(160)]()-t).toFixed(1),WTConstants.DEFAULTS[e(133)]&&(r=Object[e(132)](Object.entries(r)[e(161)](([t,r])=>[t,null==r?WTConstants.DEFAULTS[e(133)]:r]))),!WTConstants[e(175)][e(133)]&&(r=Object.fromEntries(Object.entries(r)[e(171)](([e,t])=>null!=t))),r})}getApplicationFields(){return __awaiter(this,void 0,void 0,function*(){const e=_0x5b79,t=yield storageSupport[e(111)]();return{connectivity_type:navigator.onLine?"1":"-1",country:yield countryFinder[e(164)](),package_name:window.location[e(135)],session_storage_enabled:t[e(130)],indexed_db_enabled:t[e(113)],local_storage_enabled:t[e(114)],session_storage:storageSupport[e(168)](sessionStorage)[e(127)](0),local_storage:storageSupport[e(168)](localStorage)[e(127)](0),web_gl_support:DeviceFingerprint[e(126)](),web_gl_fingerprint:yield DeviceFingerprint[e(146)](),web_gl_canvas_fingerprint:yield DeviceFingerprint[e(139)]()}})}[_0x9bc4e5(137)](){const e=_0x9bc4e5,t=storageManager[e(143)];return t?{uuid:storageManager.deviceId,app_token:t.appToken,environment:t[e(147)],store_name:e(165),app_version:t[e(128)],push_token:storageManager.pushToken,custom_device_id:t.customDeviceId,default_tracker:t.defaultTracker,platform:WTConstants[e(167)][e(151)],framework:t[e(159)].toLowerCase(),initiated_by:WTConstants.SDK[e(151)]+"_"+t[e(159)].toLowerCase(),initiated_version:WTConstants.SDK[e(155)],referrer:Utils.getUTMParamsString(),installed_at:storageManager[e(170)],session_count:storageManager.sessionCount[e(120)](),subsession_count:storageManager.subSessionCount[e(120)](),session_length:parseInt((storageManager[e(136)]/1e3)[e(120)]())[e(120)](),last_interval:parseInt((storageManager.inactiveDuration/1e3)[e(120)]()).toString()}:{}}[_0x9bc4e5(141)](){const e=_0x9bc4e5,t=deviceDetector[e(140)]();return{browser_version:t[e(173)][e(129)],device_manufacturer:t[e(122)][e(138)],device_name:t[e(122)][e(154)],device_type:t[e(122)].type,os_name:t.os[e(158)],os_version:t.os[e(129)],cpu_type:t[e(156)][e(115)],web_user_agent:t.ua,display_height:window[e(169)].toFixed(0),display_width:window[e(125)].toFixed(0),language:navigator[e(123)].split("-")[0],screen_density:deviceDetector[e(121)],screen_format:deviceDetector[e(110)],screen_size:deviceDetector[e(149)],ui_mode:deviceDetector.uiMode.toString(),cpu_lpc:navigator.hardwareConcurrency[e(120)](),ui_style:deviceDetector[e(119)],wout_width:window.outerWidth.toString(),wout_height:window[e(116)].toString(),web_engine:t[e(117)][e(158)],web_engine_version:t.engine[e(129)],display_size:deviceDetector[e(148)],screen_type:deviceDetector[e(145)]}}}const fieldsBuilder=new FieldsBuilder,_0x5745c0=_0x50f4;function _0x50f4(e,t){const r=_0xba51();return(_0x50f4=function(e,t){return r[e-=183]})(e,t)}!function(){const e=_0x50f4,t=_0xba51();for(;;)try{if(880193===-parseInt(e(185))/1*(-parseInt(e(186))/2)+-parseInt(e(191))/3*(-parseInt(e(198))/4)+-parseInt(e(196))/5*(parseInt(e(189))/6)+-parseInt(e(187))/7*(-parseInt(e(199))/8)+parseInt(e(195))/9+-parseInt(e(184))/10+-parseInt(e(193))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class EventFieldsBuilder extends FieldsBuilder{constructor(e){const t=_0x50f4;super(),this[t(183)]=e}[_0x5745c0(190)](){const e=_0x5745c0,t=Object[e(197)](null,{build:{get:()=>super[e(190)]}});return __awaiter(this,void 0,void 0,function*(){const r=e,i=yield t[r(190)][r(192)](this);return new Promise(e=>{const t=r;e(Object[t(194)](Object[t(194)]({},i),this[t(183)][t(188)]()))})})}}function _0xba51(){const e=["2440404SGhZKz","463665TkiIzN","create","1088CxWTyd","24EpAzFF","event","6710420AcghjH","5ISrHiL","8186VPhLMd","3366167lvxMfu","toJSON","12ZyuGof","build","9645nKlMPG","call","9592473VrKTTb","assign"];return(_0xba51=function(){return e})()}const _0x38f788=_0x2dc7;function _0x2dc7(e,t){const r=_0x4cfa();return(_0x2dc7=function(e,t){return r[e-=244]})(e,t)}function _0x4cfa(){const e=["deviceId","27YTznfH","getCountryCode"," request to pending queue","subSessionCount","setActivityTimes","sessionCount","initialized","stopTracking","initialDate","1644296kTmIAD","info","SDK is not enabled to start tracking!","toISOString","3396AkXfnM","startTracking","56lWEbUm","229030HtAtri","blur","Add ","now","2058GVyhVL","Creating Install: SDK-Clicks has already submitted","66VbWOVz","visible","Creating Attribution: SDK is not enabled!","WT Tracker stopped","build","Creating First Session: SDK is not enabled!","start","User was inactived for ","focus","pending","main","inactiveDuration","inactiveTime","checkSessionIntervals","sdkClickSubmit","stop","trackEvent: SDK is not enabled","addObservers","eventCount","initialize","Creating Install: SDK is not enabled!","SESSIONS","2byWslV","activeTime","checkSdkClicks","generateDeviceUUID","isVisibleFocused"," request to main queue","Creating Session: First-Session has already submitted","EVENTS","addEventListener","visibilityState","config","SDK_INFOS","debug","createRequest","7060812WivryF","WT Tracker started","1375260RWxEHc","log","sdkEnabled","isRunning","warn","visibilitychange","104670wxybog","createDeviceID","isEnabled","trackEvent: SDK is not initialized yet","checkFirstSession","createAttribution","s | (","getQueueStatus","240209yYLguS","subsessionInterval","ATTRIBUTIONS"];return(_0x4cfa=function(){return e})()}!function(){const e=_0x2dc7,t=_0x4cfa();for(;;)try{if(347681===-parseInt(e(282))/1*(-parseInt(e(252))/2)+-parseInt(e(268))/3+-parseInt(e(301))/4*(-parseInt(e(302))/5)+parseInt(e(299))/6*(-parseInt(e(306))/7)+-parseInt(e(295))/8*(-parseInt(e(286))/9)+-parseInt(e(274))/10*(-parseInt(e(308))/11)+-parseInt(e(266))/12)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTTracker{constructor(){const e=_0x2dc7;this.isRunning=!1,this[e(292)]=!1}get[_0x38f788(276)](){return storageManager[_0x38f788(270)]}[_0x38f788(249)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this.getCountryCode(),yield this[e(290)](),this[e(275)](),this.addObservers(),this.initialized=!0})}[_0x38f788(300)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?(WTLogger.debug(e(267)),yield queueManager[e(249)](),yield this[e(254)](),yield this[e(278)](),yield this[e(279)](),this[e(271)]=!0):WTLogger.warn(e(297))})}[_0x38f788(293)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(271)]=!1,activityTicker[e(245)](),yield queueManager.shutdown(),WTLogger[e(264)](e(311))})}checkPushToken(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2dc7;storageManager.pushToken=e,this.isEnabled?storageManager.fcmToken!==e?yield this.createRequest({endpoint:WTEndpoints[t(263)],queueType:t(317)}):WTLogger[t(296)]("This Notification token has sent to server previously"):WTLogger[t(272)]("CheckPushToken: SDK is not enabled")})}trackEvent(e){return __awaiter(this,void 0,void 0,function*(){const t=_0x2dc7;this[t(276)]?this.initialized?(storageManager[t(248)]+=1,yield this[t(265)]({endpoint:WTEndpoints[t(259)],fBuilder:new EventFieldsBuilder(e),queueType:t(317)})):WTLogger.warn(t(277)):WTLogger[t(272)](t(246))})}[_0x38f788(287)](){countryFinder[_0x38f788(287)]()}createAttribution(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?yield this[e(265)]({endpoint:WTEndpoints[e(284)],queueType:e(317)}):WTLogger.warn(e(310))})}[_0x38f788(278)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?storageManager.firstSessionSubmit?WTLogger[e(264)](e(258)):yield this[e(265)]({endpoint:WTEndpoints.SESSIONS,queueType:storageManager[e(244)]?e(318):e(317)}):WTLogger.warn(e(313))})}checkSdkClicks(){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;this[e(276)]?storageManager.sdkClickSubmit?WTLogger[e(264)](e(307)):yield this[e(265)]({endpoint:WTEndpoints.SDK_CLICKS}):WTLogger[e(272)](e(250))})}[_0x38f788(265)](e){const t=_0x38f788;return __awaiter(this,arguments,void 0,function*({endpoint:e,fBuilder:r=fieldsBuilder,queueType:i=t(318)}){const n=t,s=yield r[n(312)](),o=new RequestRecord(e,s);"pending"===i?(WTLogger[n(296)]("Add "+e+n(288)),yield queueManager.addPendingRequest(o)):(WTLogger.info(n(304)+e+n(257)),yield queueManager.addRequest(o));const a=queueManager[n(281)]();console[n(269)](JSON.stringify(a))})}createDeviceID(){const e=_0x38f788;!storageManager[e(285)]&&(storageManager.deviceId=cryptoHelper[e(255)]()),!storageManager[e(294)]&&(storageManager[e(294)]=(new Date)[e(298)]())}[_0x38f788(290)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;if(storageManager[e(253)]){storageManager.inactiveTime=storageManager[e(253)];const t=Date.now()-storageManager[e(320)];storageManager[e(319)]+=t,console.log(e(315)+t/1e3+e(280)+storageManager[e(319)]/1e3+"s Totaly)"),yield this[e(321)]()}storageManager[e(253)]=Date[e(305)](),activityTicker[e(314)]()})}[_0x38f788(321)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x2dc7;var t,r;const i=storageManager.inactiveTime,n=null===(t=storageManager[e(262)])||void 0===t?void 0:t.sessionInterval,s=null===(r=storageManager[e(262)])||void 0===r?void 0:r[e(283)];if(!this[e(276)])return void WTLogger.warn("Creating Session: SDK is not enabled!");if(!i||!n||!s)return;const o=Date[e(305)]()-i;o>1e3*parseInt(n)?(storageManager[e(291)]+=1,yield this[e(265)]({endpoint:WTEndpoints[e(251)],queueType:storageManager[e(244)]?e(318):e(317)})):o>1e3*parseInt(s)&&(storageManager[e(289)]+=1)})}isVisibleFocused(){const e=_0x38f788;return document[e(261)]===e(309)&&document.hasFocus()}[_0x38f788(247)](){const e=_0x38f788;window.addEventListener("beforeunload",()=>{activityTicker[_0x2dc7(245)]()}),document[e(260)](e(273),()=>{const t=e;this[t(256)]()?(this[t(279)](),this[t(290)]()):activityTicker[t(245)]()}),window.addEventListener(e(316),()=>{const t=e;this[t(256)]()&&(this[t(279)](),this[t(290)]())}),window[e(260)](e(303),()=>{activityTicker.stop()})}}const tracker=new WTTracker,_0x245aec=_0x4871;function _0x107c(){const e=["‼️ SDK Config NOT set!, check errors.","_instance","error","defaultValue","Start Tracking: SDK is not enabled!","26MSNlfV","checkSdkEnabled","2KpCtMp","clear","sdkUpdate","NetworkError","setLevel","doGetConfig","3359220YLIXJq","sdkEnabled","checkPushToken","trackEvent","isEnabled","279466DeRabS","40cPcrFJ","‼️ Track Event: SDK is not initialized yet","‼️ Start Tracking: SDK is not initialized yet","132FsXvjn","204888mHpueP","Set Fcm Token: SDK is not enabled!","‼️ Set Fcm Token: SDK is not initialized yet","Config is not set!","18FdKDxx","startTracking","Track Event: SDK is not enabled!","198972PgoGwM","info","flush","instance","SDK is disabled form server, contact your adminstrator!","sdkInitialized","setFCMToken","SDK Config set","66303qtfYVW","startTrackerAutomatically","Clearing Data and stop tracker!","648069FquvXk","init","stopTracking","5hZtxSi","checkSdkUpdate","warn","config","52948ZveusE","setLogLevel","setEnabled","getConfig","initialize","initialConfig"];return(_0x107c=function(){return e})()}function _0x4871(e,t){const r=_0x107c();return(_0x4871=function(e,t){return r[e-=455]})(e,t)}!function(){const e=_0x4871,t=_0x107c();for(;;)try{if(110477===-parseInt(e(471))/1+parseInt(e(494))/2*(-parseInt(e(474))/3)+-parseInt(e(463))/4*(-parseInt(e(477))/5)+-parseInt(e(455))/6*(parseInt(e(481))/7)+-parseInt(e(456))/8*(-parseInt(e(460))/9)+parseInt(e(506))/10*(-parseInt(e(505))/11)+-parseInt(e(500))/12*(-parseInt(e(492))/13))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WiseTrack{static get[_0x245aec(466)](){const e=_0x245aec;return!WiseTrack[e(488)]&&(WiseTrack[e(488)]=new WiseTrack),WiseTrack[e(488)]}constructor(){this[_0x245aec(468)]=!1}[_0x245aec(475)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;var r,i;const n=yield this[t(484)](e);this[t(493)](n),this[t(478)](n),this[t(483)](!0),this[t(468)]=!0,yield tracker[t(485)]();(null===(r=e[t(472)])||void 0===r||r)&&setTimeout(()=>this[t(461)](),1e3*(null!==(i=e.trackingWaitingTime)&&void 0!==i?i:0))})}[_0x245aec(482)](e){WTLogger[_0x245aec(498)](e)}[_0x245aec(465)](){const e=_0x245aec;WTLogger[e(464)](e(473)),storageManager[e(495)](),this[e(476)]()}[_0x245aec(504)](){return storageManager[_0x245aec(501)]}[_0x245aec(483)](e){const t=_0x245aec,r=storageManager[t(480)];if(!r)throw new Error(t(459));if(!r[t(501)])throw new Error("SDK is disabled form server, contact your adminstrator!");storageManager[t(501)]=e}[_0x245aec(461)](){return __awaiter(this,void 0,void 0,function*(){const e=_0x4871;this.sdkInitialized?this.isEnabled()?yield tracker[e(461)]():WTLogger[e(479)](e(491)):WTLogger.warn(e(508))})}stopTracking(){return __awaiter(this,void 0,void 0,function*(){const e=_0x4871;yield tracker[e(476)]()})}[_0x245aec(469)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;this[t(468)]?this.isEnabled()?yield tracker[t(502)](e):WTLogger[t(479)](t(457)):WTLogger[t(479)](t(458))})}[_0x245aec(503)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;this[t(468)]?this[t(504)]()?yield tracker.trackEvent(e):WTLogger[t(479)](t(462)):WTLogger[t(479)](t(507))})}[_0x245aec(484)](e){return __awaiter(this,void 0,void 0,function*(){const t=_0x4871;let r;storageManager[t(486)]=e;try{r=yield apiClient[t(499)]()}catch(e){if(!(e instanceof ApiError[t(497)]))throw WTLogger[t(464)](t(487)),e;r=storageManager[t(480)]||WTConfig[t(490)]}return storageManager[t(480)]=r,WTLogger.info(t(470)),r})}[_0x245aec(493)](e){const t=_0x245aec;if(!e[t(501)]){const e=t(467);throw WTLogger[t(489)](e),new Error(e)}}checkSdkUpdate(e){const t=_0x245aec;e[t(496)]&&WTLogger[t(479)]("A new version of the SDK is available. It is recommended to update to the latest version to enjoy improved features and better performance.")}}const _0x3729cf=_0x76d2;function _0x76d2(e,t){const r=_0x1046();return(_0x76d2=function(e,t){return r[e-=472]})(e,t)}function _0x1046(){const e=["MAX_LENGTH","validateKey","containsScriptInjection","25TwplOE","test","86938RFpkQA","validateValue","WTEventValidationError","some","3663810CPUudF",'" is not valid. Please use different characters',"Key must be a non-empty string",'value "',"FORBIDDEN_KEY","5815816cWztSc","5650869nVqfXM","5tQyReY","name","includes","containsSQLInjection","isMaliciousContent","1747537CiDzbj","1680903BSzrAz","Value length must not exceed "," characters","951828mrJpvT","Value cannot be null or undefined","SQL_INJECTION_PATTERNS","DANGEROUS_CHARS","30cYdYnb","Key cannot be '","string","containsDangerousChars","16OkyLqo",'key "',"SCRIPT_INJECTION_PATTERNS"];return(_0x1046=function(){return e})()}!function(){const e=_0x76d2,t=_0x1046();for(;;)try{if(738271===parseInt(e(480))/1*(parseInt(e(482))/2)+parseInt(e(486))/3+-parseInt(e(491))/4+parseInt(e(493))/5*(-parseInt(e(502))/6)+-parseInt(e(492))/7+parseInt(e(474))/8*(parseInt(e(499))/9)+parseInt(e(506))/10*(parseInt(e(498))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();class WTEventValidationError extends Error{constructor(e){const t=_0x76d2;super(e),this[t(494)]=t(484)}}class WTEventValidator{static[_0x3729cf(496)](e){const t=_0x3729cf;return this[t(504)][t(485)](r=>r[t(481)](e))}static[_0x3729cf(479)](e){const t=_0x3729cf;return this.SCRIPT_INJECTION_PATTERNS[t(485)](r=>r[t(481)](e))}static[_0x3729cf(473)](e){const t=_0x3729cf;return this.DANGEROUS_CHARS[t(485)](r=>e[t(495)](r))}static[_0x3729cf(497)](e){const t=_0x3729cf;if(this.containsSQLInjection(e))return!0;if(this[t(479)](e))return!0;if(this[t(473)](e))return!0;try{const r=decodeURIComponent(e);if(r!==e&&this[t(497)](r))return!0}catch(e){}return!1}static[_0x3729cf(478)](e){const t=_0x3729cf;if(!e||typeof e!==t(472))throw new WTEventValidationError(t(488));if(e.length>this.MAX_LENGTH)throw new WTEventValidationError("Key length must not exceed "+this[t(477)]+t(501));if(e===this[t(490)])throw new WTEventValidationError(t(507)+this[t(490)]+"'");if(this[t(497)](e))throw new WTEventValidationError(t(475)+e+t(487))}static[_0x3729cf(483)](e){const t=_0x3729cf;if(null==e)throw new WTEventValidationError(t(503));const r=String(e);if(r.length>this[t(477)])throw new WTEventValidationError(t(500)+this.MAX_LENGTH+" characters");if(this[t(497)](r))throw new WTEventValidationError(t(489)+e+'" is not valid. Please use different characters')}}function _0x32d6(e,t){var r=_0x4903();return(_0x32d6=function(e,t){return r[e-=326]})(e,t)}function _0x4903(){var e=["currency","19955bFLakn","addParam","WTEvent validation failed: ","366TERJFh","validateValue","2UKepyZ","3dtiRdF","3890108oNNdoj","params","9058760WppxrS","type","8dumHBp","12944701GRCwRs","default","message","amount","6498019WFTJSo","7898085CgYenq","revenue","928742XBLGUD","Default","name","Revenue"];return(_0x4903=function(){return e})()}WTEventValidator[_0x3729cf(477)]=50,WTEventValidator[_0x3729cf(490)]="no_parameters",WTEventValidator[_0x3729cf(504)]=[/(\b(SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC|UNION|SCRIPT)\b)/i,/(--|\#|\/\*|\*\/)/,/(\b(OR|AND)\b\s+\d+\s*=\s*\d+)/i,/(\'|\";|\"|\')(\s)*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE)/i,/(\bor\b\s+\d+\s*=\s*\d+)/i,/(\bunion\b.*\bselect\b)/i,/(sleep\(|waitfor\s+delay)/i],WTEventValidator[_0x3729cf(476)]=[/<script[^>]*>.*?<\/script>/i,/javascript:/i,/on(load|click|error|focus|blur|change|submit|mouseover|keyup|keydown)\s*=/i,/<iframe[^>]*>.*?<\/iframe>/i,/<object[^>]*>.*?<\/object>/i,/<embed[^>]*>/i,/vbscript:/i,/expression\s*\(/i,/<svg[^>]*on\w+\s*=/i,/data:text\/html/i],WTEventValidator[_0x3729cf(505)]=["\0","\b","\t","","\n","\r",'"',"'","\\","%"],function(){for(var e=_0x32d6,t=_0x4903();;)try{if(942967===-parseInt(e(346))/1*(-parseInt(e(336))/2)+parseInt(e(347))/3*(-parseInt(e(348))/4)+parseInt(e(341))/5*(-parseInt(e(344))/6)+-parseInt(e(329))/7*(-parseInt(e(328))/8)+parseInt(e(334))/9+-parseInt(e(326))/10+-parseInt(e(333))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.WTEvent=void 0,function(e){var t=_0x32d6;class r{constructor(e){var t=_0x32d6;this[t(327)]=t(330),this[t(338)]=e}[t(342)](e,r){var i,n=t;try{WTEventValidator.validateKey(e),WTEventValidator[n(345)](r);let t=null!==(i=this[n(349)])&&void 0!==i?i:{};t[e]=r,this[n(349)]=t}catch(e){if(e instanceof WTEventValidationError)throw WTLogger.warn(n(343)+e[n(331)]),e;throw e}}addParams(e){var r=t;for(const[t,i]of Object.entries(e))this[r(342)](t,i)}toJSON(){var e=t;return{event_type:this.type,event_name:this[e(338)],partner_params:this.params}}}e[t(337)]=r;e[t(339)]=class extends r{constructor(e,r,i){var n=t;super(e),this[n(327)]=n(335),this[n(332)]=r,this.currency=i}toJSON(){var e=t;return{event_type:this.type,event_name:this[e(338)],revenue:this[e(332)],currency:this[e(340)],partner_params:this[e(349)]}}}}(exports.WTEvent||(exports.WTEvent={}));const _0x4b2203=_0x2f2b;function _0x3151(){const e=["5019525OaMZhC","CHF","IRR","NOK","675lrEYsC","SAR","BRL","440KbuyqW","EHT","29172RfiEFT","1271367mZcbYL","9ijhnrC","IQD","SEK","BTC","AUD","JPY","GBP","NZD","INR","ZAR","1765272bdEiTw","HKD","EUR","2089dvrKCP","RUB","AED","MXN","3792136PnsTEB","31152220iiyhlk"];return(_0x3151=function(){return e})()}function _0x2f2b(e,t){const r=_0x3151();return(_0x2f2b=function(e,t){return r[e-=280]})(e,t)}!function(){const e=_0x2f2b,t=_0x3151();for(;;)try{if(537293===parseInt(e(302))/1*(-parseInt(e(285))/2)+parseInt(e(288))/3+-parseInt(e(306))/4+parseInt(e(282))/5*(-parseInt(e(287))/6)+-parseInt(e(308))/7+-parseInt(e(299))/8+-parseInt(e(289))/9*(-parseInt(e(307))/10))break;t.push(t.shift())}catch(e){t.push(t.shift())}}();const RevenueCurrency={USD:"USD",EUR:_0x4b2203(301),JPY:_0x4b2203(294),GBP:_0x4b2203(295),AUD:_0x4b2203(293),CAD:"CAD",CHF:_0x4b2203(309),CNY:"CNY",SEK:_0x4b2203(291),NZD:_0x4b2203(296),MXN:_0x4b2203(305),SGD:"SGD",HKD:_0x4b2203(300),NOK:_0x4b2203(281),KRW:"KRW",TRY:"TRY",RUB:_0x4b2203(303),INR:_0x4b2203(297),BRL:_0x4b2203(284),ZAR:_0x4b2203(298),IRR:_0x4b2203(280),AED:_0x4b2203(304),IQD:_0x4b2203(290),SAR:_0x4b2203(283),OMR:"OMR",BTC:_0x4b2203(292),EHT:_0x4b2203(286),LTC:"LTC"};function _0x50b9(){var e=["1780520RAhbty","200901ykYjtI","819108uuYooi","1554NyAkEp","368wlRvdH","913072ycXkDq","3639XxVfzJ","725670MJBeSU","1070SYLfKF"];return(_0x50b9=function(){return e})()}function _0x170f(e,t){var r=_0x50b9();return(_0x170f=function(e,t){return r[e-=151]})(e,t)}!function(){for(var e=_0x170f,t=_0x50b9();;)try{if(166630===parseInt(e(152))/1+-parseInt(e(155))/2*(parseInt(e(157))/3)+-parseInt(e(153))/4+parseInt(e(159))/5*(-parseInt(e(154))/6)+parseInt(e(151))/7+parseInt(e(156))/8+parseInt(e(158))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}(),exports.RevenueCurrency=RevenueCurrency,exports.WTLogEngine=WTLogEngine,exports.WTLogLevel=WTLogLevel,exports.WTLogger=WTLogger,exports.WTUserEnvironment=WTUserEnvironment,exports.WiseTrack=WiseTrack;
@@ -0,0 +1,8 @@
1
+ export declare class SecureConfig {
2
+ private static decode;
3
+ static get CONFIG_PATH(): string;
4
+ static get DEBUG_BASE_URL(): string;
5
+ static get STAGE_BASE_URL(): string;
6
+ static get PRODUCTION_BASE_URL(): string;
7
+ }
8
+ export default SecureConfig;
@@ -1,18 +1,15 @@
1
1
  /** @internal */
2
2
  export declare class WTConfig {
3
- baseUrl: string;
4
- events?: string;
5
- sessions?: string;
6
- sdkClicks?: string;
7
- sdkInfos?: string;
8
- attributions?: string;
9
- appSettings?: string;
3
+ events: string;
4
+ sessions: string;
5
+ sdkClicks: string;
6
+ sdkInfos: string;
7
+ attributions: string;
10
8
  sdkEnabled: boolean;
11
- forceUpdate: boolean;
12
9
  sdkUpdate: boolean;
13
10
  sessionInterval: string;
14
11
  subsessionInterval: string;
15
- constructor(baseUrl: string, events?: string, sessions?: string, sdkClicks?: string, sdkInfos?: string, attributions?: string, appSettings?: string, sdkEnabled?: boolean, forceUpdate?: boolean, sdkUpdate?: boolean, sessionInterval?: string, subsessionInterval?: string);
12
+ constructor(events: string, sessions: string, sdkClicks: string, sdkInfos: string, attributions: string, sdkEnabled?: boolean, sdkUpdate?: boolean, sessionInterval?: string, subsessionInterval?: string);
16
13
  static fromJson(json: any): WTConfig;
17
14
  static get defaultValue(): WTConfig;
18
15
  }