wisetrack 2.0.2 → 2.0.3

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