ntm.netmera-web.com Open in urlscan Pro
31.3.2.88  Public Scan

Submitted URL: http://cdn.netmera-web.com/wsdkjs/n9wxi9Ibj2FDSK9TgytPZyKuseQF3C7Oc1cV-pqByL6umukvRG0ueQ
Effective URL: https://ntm.netmera-web.com/wsdk2/nmweb/netmera_sdk.js
Submission: On October 04 via api from TR — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

(()=>{var t={630:function(t){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=90)}({17:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=n(18),i=function(){function t(){}return t.getFirstMatch=function(t,e){var n=e.match(t);return n&&n.length>0&&n[1]||""},t.getSecondMatch=function(t,e){var n=e.match(t);return n&&n.length>1&&n[2]||""},t.matchAndReturnConst=function(t,e,n){if(t.test(e))return n},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),10===e[0])switch(e[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,n,r){void 0===r&&(r=!1);var i=t.getVersionPrecision(e),o=t.getVersionPrecision(n),s=Math.max(i,o),a=0,u=t.map([e,n],(function(e){var n=s-t.getVersionPrecision(e),r=e+new Array(n+1).join(".0");return t.map(r.split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]<u[1][s])return-1}},t.map=function(t,e){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n+=1)r.push(e(t[n]));return r},t.find=function(t,e){var n,r;if(Array.prototype.find)return Array.prototype.find.call(t,e);for(n=0,r=t.length;n<r;n+=1){var i=t[n];if(e(i,n))return i}},t.assign=function(t){for(var e,n,r=t,i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[t].concat(o));var a=function(){var t=o[e];"object"==typeof t&&null!==t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))};for(e=0,n=o.length;e<n;e+=1)a();return t},t.getBrowserAlias=function(t){return r.BROWSER_ALIASES_MAP[t]},t.getBrowserTypeByAlias=function(t){return r.BROWSER_MAP[t]||""},t}();e.default=i,t.exports=e.default},18:function(t,e,n){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var a=function(){function t(){}var e,n;return t.getParser=function(t,e){if(void 0===e&&(e=!1),"string"!=typeof t)throw new Error("UserAgent should be a string");return new i.default(t,e)},t.parse=function(t){return new i.default(t).getResult()},e=t,n=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],null&&s(e.prototype,null),n&&s(e,n),t}();e.default=a,t.exports=e.default},91:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=u(n(92)),i=u(n(93)),o=u(n(94)),s=u(n(95)),a=u(n(17));function u(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(t,e){if(void 0===e&&(e=!1),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==e&&this.parse()}var e=t.prototype;return e.getUA=function(){return this._ua},e.test=function(t){return t.test(this._ua)},e.parseBrowser=function(){var t=this;this.parsedResult.browser={};var e=a.default.find(r.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser},e.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},e.getBrowserName=function(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},e.getBrowserVersion=function(){return this.getBrowser().version},e.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},e.parseOS=function(){var t=this;this.parsedResult.os={};var e=a.default.find(i.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os},e.getOSName=function(t){var e=this.getOS().name;return t?String(e).toLowerCase()||"":e||""},e.getOSVersion=function(){return this.getOS().version},e.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},e.getPlatformType=function(t){void 0===t&&(t=!1);var e=this.getPlatform().type;return t?String(e).toLowerCase()||"":e||""},e.parsePlatform=function(){var t=this;this.parsedResult.platform={};var e=a.default.find(o.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform},e.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},e.getEngineName=function(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},e.parseEngine=function(){var t=this;this.parsedResult.engine={};var e=a.default.find(s.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine},e.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},e.getResult=function(){return a.default.assign({},this.parsedResult)},e.satisfies=function(t){var e=this,n={},r=0,i={},o=0;if(Object.keys(t).forEach((function(e){var s=t[e];"string"==typeof s?(i[e]=s,o+=1):"object"==typeof s&&(n[e]=s,r+=1)})),r>0){var s=Object.keys(n),u=a.default.find(s,(function(t){return e.isOS(t)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}var f=a.default.find(s,(function(t){return e.isPlatform(t)}));if(f){var d=this.satisfies(n[f]);if(void 0!==d)return d}}if(o>0){var l=Object.keys(i),h=a.default.find(l,(function(t){return e.isBrowser(t,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),r=t.toLowerCase(),i=a.default.getBrowserTypeByAlias(r);return e&&i&&(r=i.toLowerCase()),r===n},e.compareVersion=function(t){var e=[0],n=t,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(r=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(r=!0,n=t.substr(1)),e.indexOf(a.default.compareVersions(i,n,r))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t,e){return void 0===e&&(e=!1),this.isBrowser(t,e)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some((function(t){return e.is(t)}))},t}();e.default=c,t.exports=e.default},92:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var e={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(e.version=n),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/electron/i],describe:function(t){var e={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e={name:"Android Browser"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=s,t.exports=e.default},93:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:o.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.WindowsPhone,version:e}}},{test:[/windows /i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=i.default.getWindowsVersionName(e);return{name:o.OS_MAP.Windows,version:e,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var e={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(e),r={name:o.OS_MAP.MacOS,version:e};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=i.default.getAndroidVersionName(e),r={name:o.OS_MAP.Android,version:e};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:o.OS_MAP.WebOS};return e&&e.length&&(n.version=e),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.PlayStation4,version:e}}}];e.default=s,t.exports=e.default},94:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(n.model=e),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return e&&!n},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=s,t.exports=e.default},95:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),s=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:o.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:o.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=t.test(/gecko/i),n=t.test(/like gecko/i);return e&&!n},describe:function(t){var e={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}}];e.default=s,t.exports=e.default}})}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t={};r.r(t),r.d(t,{getPushState:()=>De,registerPush:()=>ze});var n={};function i(){return Function("return this")()}function o(t){const e=i();return e[t]=e[t]||[]}function a(t,e){return Object.prototype.hasOwnProperty.call(Object(t),e)}r.r(n),r.d(n,{getPushState:()=>He,registerPush:()=>qe});const u=/:[0-9]+$/;function c(t){return decodeURIComponent(t).replace(/\+/g," ")}function f(t){let e=t||window.location.search;return"?"!==e[0]&&"#"!==e[0]||(e=e.substr(1)),e}function d(t){const e={};return f(t).split("&").forEach((function(t){const n=t.split("=");e[c(n[0])]=c(n[1])})),e}function l(t,e){const n=(e=f(e)).split("&");for(const e of n){const n=e.split("=");if(c(n[0])===t)return c(n.slice(1).join("="))}}function h(t){setTimeout(t,0)}const p=/\[object (Boolean|Number|String|Function|Array|Date|RegExp|Arguments)\]/;function m(t){if(null==t)return String(t);const e=p.exec(Object.prototype.toString.call(Object(t)));return e?e[1].toLowerCase():"object"}function g(t){return"function"==typeof t}function v(t){return null!==t&&"object"==typeof t}function b(t){return"[object RegExp]"===toString.call(t)}function y(t){return"array"===m(t)}function w(t){return"string"===m(t)}function S(t,e,n){for(let s=0,a=e.length;s<a;++s){const a=e[s];if(!v(a)&&!g(a))continue;const u=Object.keys(a);for(var r=0,i=u.length;r<i;r++){const e=u[r],i=a[e];n&&v(i)?(o=i,"[object Date]"===toString.call(o)?t[e]=new Date(i.valueOf()):b(i)?t[e]=new RegExp(i):(v(t[e])||(t[e]=y(i)?[]:{}),S(t[e],[i],!0))):t[e]=i}}var o;return t}function M(t){return S(t,[].slice.call(arguments,1),!0)}function _(t,e){for(let n in t)a(t,n)&&e(n,t[n])}const P=void 0;function O(){this.registry={},this.cbSequence=1}O.prototype.on=function(t,e,n){return this.cbSequence++,this.registry[t]=this.registry[t]||{},this.registry[t][this.cbSequence]=[e,n],this.cbSequence},O.prototype.removeListener=function(t){if(w(t))this.registry[t]=P,delete this.registry[t];else if("number"===m(t)){let e=!0;_(this.registry,(function(n,r){return _(r,(function(n){if(parseInt(n,10)===t)return r[n]=P,delete r[n],e=!1,!1})),e}))}},O.prototype.emit=function(t,e){if(this.registry[t]){const e=arguments.length>1?Array.prototype.slice.call(arguments,1):[];_(this.registry[t],(function(t,n){n&&2===n.length&&n[0].apply(n[1],e)}))}};const A=new O;function x(t,e){A.on(t,e)}function k(){try{A.emit.apply(A,arguments)}catch(t){console.error(t.message),console.error(t.stack||t)}}const E="_n_scfg",I="_n_xid",F="_n_pid",C="_n_sid",N="_n_sidexp",B="_n_user",T="_n_subs",R="_n_ldt",L="_n_operm",j="_n_vc",V="_n_lp",W="_n_log_level",G="_n_utm_med",K="_n_utm_src",D="_n_utm_camp",z={none:0,error:1,warning:2,info:3,debug:4};let q=function(){let t;return U()||(t=localStorage.getItem(W)),t||(t=W),z[t]||z.info}();function U(){return"function"==typeof WorkerGlobalScope}function H(t,e){return function(){if(t<=q){const t=arguments.length,n=Array(t+1);for(let e=0;e<t;e++)n[e+1]=arguments[e];void 0!==n[1]&&(n[0]="netmera::"+e+"::",(console[e]||console.log).apply(console,n))}}}function J(){return q===z.debug}const $=H(1,"error"),Q=H(2,"warn"),X=H(3,"info"),Z=H(4,"debug"),Y="onReady",tt="user_updated",et="site_cfg_updated";let nt;function rt(t){return function(t){for(var e=0==t?"0":"",n=0;0!=t;)e="abcdefghijklmnopqrstuvwxyz1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ".substring(n=t%62,n+1)+e,t=Math.floor(t/62);return e}(1*(""+(Math.floor(2147483647*Math.random())+1e3)+function(t){t=function(t){t=t.replace(/\r\n/g,"\n");for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);r<128?e+=String.fromCharCode(r):r>127&&r<2048?(e+=String.fromCharCode(r>>6|192),e+=String.fromCharCode(63&r|128)):(e+=String.fromCharCode(r>>12|224),e+=String.fromCharCode(r>>6&63|128),e+=String.fromCharCode(63&r|128))}return e}(t);for(var e=-1,n=0;n<t.length;n++)e=e>>>8^(nt||(nt=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}()),nt)[255&(e^t.charCodeAt(n))];return(-1^e)>>>0}(t)))}function it(){var t=(new Date).getTime(),e=i();return e.performance&&"function"==typeof e.performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?n:3&n|8).toString(16)}))}function ot(t){if(t){const t="_nm_test";try{return localStorage.setItem(t,t),localStorage.removeItem(t),!0}catch(t){return!1}}return!1}const st={setKV:function(t,e,n){let r,i="";0===n?i="; expires=0":(n=n||3650,r=new Date,r.setTime(r.getTime()+24*n*36e5),i="; expires="+r.toGMTString()),document.cookie=t+"="+encodeURIComponent(e)+i+"; path=/; SameSite=Lax;"},getV:function(t,e){return function(t,e){const n=document.cookie.split(";");for(let e=0;e<n.length;e++){let r=n[e].split("=")[0];if(r=r.trim(),t===r)return decodeURIComponent(n[e].split("=")[1])}return e}(t,e)},remove:function(t){document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"},supportsObjects:function(){return!1}},at=ot(window.localStorage)?{setKV:function(t,e){localStorage.setItem(t,e)},getV:function(t,e){return localStorage.getItem(t)||e},remove:function(t){localStorage.removeItem(t)},supportsObjects:function(){return!0}}:st,ut=ot(window.sessionStorage)?{setKV:function(t,e){sessionStorage.setItem(t,e)},getV:function(t,e){return sessionStorage.getItem(t)||e},remove:function(t){sessionStorage.removeItem(t)},supportsObjects:function(){return!0}}:st;function ct(t,e){at.setKV(t,e)}function ft(t){at.remove(t)}function dt(t,e){return at.getV(t,e)}function lt(t){if(at.supportsObjects()){const e=at.getV(t);if(e)return JSON.parse(e)}return null}function ht(t,e){return!!at.supportsObjects()&&(at.setKV(t,JSON.stringify(e)),!0)}function pt(t,e){return ut.getV(t,e)}function mt(t){let e=0,n=t||"",r=n.length,i=0;if(r>0)for(;i<r;)e=(e<<5)-e+n.charCodeAt(i++)|0;return e}var gt=r(630);let vt=null;function bt(){return yt().getBrowserName()}function yt(){return vt||(vt=(0,gt.getParser)(i().navigator.userAgent)),vt}function wt(){return"Safari"===bt()}function St(){return"Firefox"===bt()}function Mt(){return"mobile"===yt().getPlatformType()}function _t(){return"Chrome"===bt()?"CHROME":St()?"FIREFOX":"Microsoft Edge"===bt()?"EDGE":wt()?"MACOS":"Opera"===bt()?"OPERA":"Yandex Browser"===bt()?"YANDEX":"Brave"===bt()?"BRAVE":"WEBOTH"}function Pt(){return"tablet"===yt().getPlatformType()?"TABLET":Mt()?"MOBILE":"DESKTOP"}const Ot="4.3.1",At="https://ntm.netmera-web.com";let xt;function kt(){if(!xt){const t={"X-netmera-api-key":bn(),"X-netmera-os":_t(),"X-netmera-device-type":Pt(),"X-netmera-sdkV":Ot,Accept:"application/json","Content-Type":"application/json"};vn()&&(t["X-netmera-app"]=vn()),xt=new Headers(t)}return xt}function Et(t,e){return function(n,r){n?e({status:0,message:n.toString()}):r.ok?r.json().then(t).catch((()=>t(null))):e({status:r.status,message:r.statusText})}}function It(t){return"http"===t.substring(0,4)?t:"https://sdkapi.netmera.com/sdk/3.0/"+t}function Ft(t,e){return new Promise(((n,r)=>{if(J()){const n=e?JSON.stringify(e):"{}";Z(`HTTP POST::${t}::${n}`)}const i=Et(n,r);fetch(It(t),{method:"POST",headers:kt(),body:JSON.stringify(e)}).then((t=>i(null,t)),(t=>i(t,null)))}))}const Ct="kvmap";let Nt=null;function Bt(){return new Promise((function(t,e){if(Nt)t(Nt);else{const n=indexedDB.open("NMSDKDB",2);n.onsuccess=function(e){const n=e.target.result;Nt?(n.close(),t(Nt)):(Nt=n,t(n))},n.onerror=function(t){e(t)},n.onupgradeneeded=function(t){t.target.result.createObjectStore(Ct,{keyPath:"key"})},n.onversionchange=function(t){console.info("The database is about to be deleted.",t)}}}))}function Tt(t){return Bt().then((function(e){return new Promise((function(n,r){const i=e.transaction(Ct).objectStore(Ct).get(t);i.onsuccess=function(){const t=i.result;n(t&&t.value)},i.onerror=function(){r(i.errorCode)}}))}))}function Rt(t,e){return Bt().then((function(n){return new Promise((function(r,i){const o=n.transaction([Ct],"readwrite").objectStore(Ct).put({key:t,value:e});o.onsuccess=function(){r(t)},o.onerror=function(t){i(t)}}))}))}const Lt={};function jt(t,e){let n=(e=e||{}).callback;if(a(Lt,t)){if(g(n)){const e=Lt[t];n(e)}return}let r=document.createElement("script");return r.type="text/javascript",r.async=!!e.async,e.id&&r.setAttribute("id",e.id),g(n)&&(void 0!==r.onreadystatechange?r.onreadystatechange=function(){"loaded"!=this.readyState&&"complete"!=this.readyState||(n(r),r.onreadystatechange=null)}:r.onload=()=>{n(r)}),r.src=t,document.getElementsByTagName("head")[0].appendChild(r),Lt[t]=r,r}function Vt(t){const e=Sn();if(e&&e.length){const n={event:t.event||t.code,__clear:!0,__source:"nmsdk",eventModel:M({},t)};for(const t of e)try{o("netmera-dl-"+t).push(n)}catch(t){$("Error processing event!. ",t)}}}function Wt(){const t=Sn()||[],e=vn();for(const n of t)window["netmera_"+n]||jt(`${At}/container/${n}-web-${e}.js`);const n=pt("nm_wref")||d(window.location.hash).wref;n&&!window.netmera_widget_web&&jt(`${At}/container/${e}-widget-${n}.js`)}const Gt=function t(e=0){if(!(this instanceof t))return new t;let n=!1;const r=this;return r.promise=new Promise((function(t,i){r.resolve=e=>{n=!0,t(e)},r.reject=t=>{n=!0,i(t)},e>0&&setTimeout((()=>{n||r.reject("timeout")}),e)})),r.isDone=function(){return n},r},Kt="_n_owid",Dt=function(){let t=sessionStorage.getItem(Kt);return t?t*=1:(t=Math.ceil(1e6*Math.random()),sessionStorage.setItem(Kt,t)),t}(),zt="event",qt="user-update",Ut="conf-update",Ht=new BroadcastChannel("netmera-opc");function Jt(){Ht.postMessage({type:qt})}function $t(){return Dt}Ht.message=function(t){Z("broadcast message received",t.data);const e=t.data.type,n=t.data.data;e===zt?Vt(n):e===qt?_n=On():e===Ut&&(mn=gn())};const Qt="_n_oe_",Xt={event:"E",sessionInit:"S",userUpdate:"U",userIdentify:"I",addTester:"T"},Zt={},Yt=new Map,te=new Set([0,408,500,502,503,504,522,524]);let ee=Date.now(),ne=!1,re=!1;function ie(t,e,n,r=12,i=1e3){t().then(e).catch((function(o){const s=o.status;te.has(s)?r>0?(X(`Will retry '${n}' after ${i/1e3} seconds.`),setTimeout((()=>{X(`Retrying '${n}' ...`),ie(t,e,n,r-1,2*i)}),i)):($(`'${n}' failed after several attempts!`,o),e(!1)):$(`Operation '${n}' failed! Not retryable status code ${s}`)}))}function oe(){return new Promise((function(t){const e=function(){let t=[];for(let e=0;e<localStorage.length;e++){const n=localStorage.key(e);-1!==n.indexOf(Qt)&&t.push(M({key:n},JSON.parse(localStorage.getItem(n))))}return t.sort(((t,e)=>t.ts-e.ts)),t}();let n=Promise.resolve();for(let t of e){const e=Yt.get(t.type);e?n=n.then((()=>new Promise((n=>{e(n,t)})))).then((()=>{localStorage.removeItem(t.key),J()&&Z("Operation de-queued. "+JSON.stringify(t))})):$("Operation handler is not registered. opType="+t.type)}n.then(t)}))}function se(){navigator.locks?navigator.locks.request("_nm_op_lock",oe):$("Can not process operation queue as navigator.locks is not supported by this browser!")}function ae(t){t.ts=Date.now(),t.wid=$t();const e=JSON.stringify(t),n=Qt+ee++;localStorage.setItem(n,e),J()&&Z(Zt[t.type]+"  placed in queue. key="+n+"value="+e),re&&h(se)}function ue(t){t.ts=Date.now(),function(t){const e=dt(K),n=dt(G),r=dt(D);n&&!t.hasOwnProperty("fo")&&(t.fo=n),e&&!t.hasOwnProperty("fl")&&(t.fl=e),r&&!t.hasOwnProperty("fp")&&(t.fp=r)}(t);const e={events:[t]};ne||(e.ids=dn()),ae({type:Xt.event,data:e})}function ce(){ae({type:Xt.sessionInit})}Yt.set(Xt.event,(function(t,e){const n=e.data.events[0];Vt(n),e.wid!==$t()&&function(t){Ht.postMessage({type:zt,data:t})}(n),e.data.ids||(e.data.ids=dn()),ie((()=>Ft("event/fire",e.data)),t,"send event")})),Yt.set(Xt.addTester,(function(t,e){return(n=e.data,Ft("push/test",{ids:dn(),prms:n})).then((()=>{h((()=>{window.alert("You are added as a tester.")}))})).catch((t=>{h((()=>{window.alert("Error adding you as a tester! error="+t.message)}))})).finally(t);var n})),Yt.set(Xt.userUpdate,(function(t,e){ie((()=>{return t=e.data,Ft("user/update",M({ids:dn()},t));var t}),t,"user update")})),Yt.set(Xt.userIdentify,(function(t,e){const n=e.data,r=new Gt;ie((()=>function(t,e){const n=M({ids:dn()},e);return n.ids.xid=t,Ft("user/identify",n)}(n.xid,n)),r.resolve,"user identify"),r.promise.then((function(t){(t.uid||t.user)&&(t.user?kn(t.user):t.uid&&function(t){const e=M({},_n);_n.uid=t,ht(B,_n),k(tt,_n,e),Jt()}(t.uid)),ne=!1})).then(t)})),Yt.set(Xt.sessionInit,(function(t,e){const n=new Gt;ie((()=>function(){const t=new Date;return Ft("session/init",{ids:dn(),cfgV:mn&&mn.v||0,info:{osV:yt().getBrowserVersion(),lang:window.navigator.language||"en",ao:window.origin},tz:60*-t.getTimezoneOffset(),ts:t.getTime()})}()),n.resolve,"session init"),n.promise.then((function(t){var e;t&&t.user&&kn(t.user),t&&t.cfg&&(e=t.cfg,mn=e,ht(E,mn),function(){const t=arguments;h((()=>k.apply(A,t)))}(et),Ht.postMessage({type:Ut})),ue({code:"n:oa"})})).finally(t)})),_(Xt,((t,e)=>{Zt[e]=t}));const fe="utm_medium",de="utm_source",le="utm_campaign";function he(){return dt(C)}function pe(){return dt(F)}function me(){const t=new Date,e=new Date;e.setMinutes(e.getMinutes()+(mn&&mn.sessionLength?mn.sessionLength:30)),t.getDate()!==e.getDate()&&e.setHours(23,59,59,999),ct(N,e.getTime())}function ge(t){ct(C,it()),me();let e=dt(j);e=e?1*e+1:1,ct(j,e),t&&Vt({event:"nmSessionRenew"})}function ve(){ft(D),ft(K),ft(G),ft(F)}function be(){const t=he(),e=dt(N);return!t||!e||Number(e)<Date.now()}function ye(t){return be()?(ve(),ge(!0),ce()):me(),ue(t),Promise.resolve()}function we(){return Tt(V).then((t=>t&&!t.handled?(setTimeout((()=>{t.handled=!0,Rt(V,t)}),3e3),t.pid):0)).then((t=>{const e=d();let n=!1;(be()||function(t){const e=dt(K),n=dt(G),r=dt(D);return a(t,fe)&&t.utm_medium!==n||a(t,de)&&t.utm_source!==e||a(t,le)&&t.utm_campaign!==r}(e))&&(ve(),ge(!1),n=!0),function(t,e){!function(t){a(t,fe)&&ct(G,t.utm_medium),a(t,de)&&ct(K,t.utm_source),a(t,le)&&ct(D,t.utm_campaign)}(t),e&&ct(F,e)}(e,t),n&&ce()}))}const Se="fbox_ready";function Me(t,e,n,r){t.addEventListener?t.addEventListener(e,n,!!r):t.attachEvent&&t.attachEvent("on"+e,n)}const _e=[],Pe=[],Oe=document,Ae=window;let xe=!1,ke=!1;function Ee(){if(!xe){let t="complete"==Oe.readyState,e="interactive"==Oe.readyState;(t||e)&&(xe=!0,Pe.forEach(h),Pe.length=0,Pe.push=function(){return arguments.forEach(h),0})}}function Ie(){ke||(ke=!0,_e.forEach(h),_e.length=0,_e.push=function(){return arguments.forEach(h),0})}function Fe(t){ke?h(t):_e.push(t)}"interactive"==Oe.readyState?Ee():(Me(Oe,"DOMContentLoaded",Ee),Me(Oe,"readystatechange",Ee)),ke=!1,"complete"===Oe.readyState?Ie():Me(Ae,"load",Ie);const Ce={background:"transparent",zIndex:"9999999999",position:"fixed",marginTop:"10px",width:"450px",height:"180px",border:"none",display:"block",borderRadius:"0px",left:"50%"},Ne={background:"transparent",zIndex:"999999999",position:"fixed",top:"-150px",width:"100%",height:"180px",border:"none",display:"block",borderRadius:"0px",left:"50%"};let Be=null,Te=null;function Re(t,e){for(let n in e)t.style[n]=e[n]}function Le(){let t=Mt()?Ne:Ce;Mt()||(t.width=mn.fbWidth||t.width,t.borderRadius=mn.fbRadius||t.borderRadius);const e=function(){let t=mn.fbHeight;return t||1431120686!==pn&&1431120634!==pn&&1431120303!==pn&&1431120153!==pn&&726424586!==pn||(t="220px"),t}()||t.height;var n;t.height=(parseInt(e,10)+33).toString()+"px",Be.contentWindow.document.head.insertAdjacentHTML("beforeend","<style>html,body{height:100%; overflow: hidden}.notification-wrapper{height: calc(100% - 82px);}</style>"),mn.fbAnimate?(t.transform="translateX(-50%)",Re(Be,t),n=Be,setTimeout((function(){let t=-150;const e=setInterval((function(){-10===t?clearInterval(e):(t+=10,n.style.top=t+"px")}),30)}),200)):(t.top="10px",t.transform="translateX(-50%)",Re(Be,t))}function je(){Re(Be,{display:"none"})}function Ve(t,e){let n={type:t,data:e||{}};(Be.contentWindow||Be).postMessage(JSON.stringify(n),window.location.origin)}function We(t){Te=new class{constructor(t){this.origin=t||window.location.origin,this.trustedDomains=["netmera-dev.com","sdpaas.com","netmera.com",new URL(this.origin).hostname]}doInSandBox(t){const e=this.trustedDomains;return function(n){if(!n||!n.origin)return;if(!e.some((t=>new URL(n.origin).hostname.endsWith(t))))return void Z("Message received from an un-trusted origin",n.origin);let r;try{r=JSON.parse(n.data)}catch(e){Z("Got invalid JSON string for command: ",n.data),t(n.data)}void 0===r||void 0===r.type?Z("Message received with no type parameter",r):t(r)}}sendMsgToCaller(t,e){const n=JSON.stringify({type:t,data:e||{}}),r=window.opener||window.parent;r&&r.postMessage(n,this.origin)}},window.addEventListener("message",Te.doInSandBox(t),!1),Be=function(t,e){const n=document.createElement("iframe");return n.style.display="none",n.src=t,document.body.appendChild(n),n}(function(t){let e=M({origin:window.location.origin,wSrc:"https://ntm.netmera-web.com/wsdk2/fbox.js?v=4.3.1"},t);return e.origin+"/netmera_worker.html"+function(t){const e=function(t){const e=[];if(t&&"object"==typeof t)for(var n in t)a(t,n)&&e.push(n+"="+encodeURIComponent(t[n]));return e.length?e.join("&"):""}(t);return e?"#"+e:""}(e)}({cb_msg:Se}))}function Ge(t){const e=(t+"=".repeat((4-t.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=atob(e),r=new Uint8Array(n.length);for(var i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}function Ke(){return new Promise((function(t){"serviceWorker"in navigator?"granted"===Notification.permission?Mn()?navigator.serviceWorker.getRegistration().then((function(e){if(!e)return void t({error:"no_sw"});const n={userVisibleOnly:!0,applicationServerKey:Ge(Mn())};e.pushManager.subscribe(n).then((function(e){X("Subscribed for pushes."),t({subscription:e})})).catch((function(e){$("Can not subscribe for pushes",e),t({error:"subscribe failed -> "+e})}))})):t({error:"no_vapid_key"}):t({error:"no_perm"}):t({error:"no_sw"})}))}function De(){return new Promise((function(t){"serviceWorker"in navigator?navigator.serviceWorker.getRegistration().then((function(n){n?n.pushManager.getSubscription().then((function(n){n&&function(t){if(!Mn())return!0;const e=t.options;return!(!e||!e.applicationServerKey||function(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0}(new Uint8Array(e.applicationServerKey),Ge(Mn())))}(n)?(X("Vapid key changed. Unsubscribing..."),n.unsubscribe().then((function(n){X("Unsubscribe completed. Result: "+n),n?(X("Re-subscribing for pushes..."),Ke().then(t)):t({error:s+" -> "+e.toString()})})).catch((function(e){const n="Vapid key changed but unsubscribe failed";$(n,e),t({error:n+" -> "+e.toString()})}))):n||"granted"!==Notification.permission?t({subscription:n}):(X("No subscription exists in granted state. Re-subscribing for pushes..."),Ke().then(t))})).catch((function(e){t({error:"Error getting current subscription ->"+e.toString()})})):t({error:"no_sw"})})):t({error:"no_sw"})})).then((function(t){const e={subscription:t.subscription,promptable:!("default"!==Notification.permission||t.error||!Mn()),error:t.error||(Mn()?"":"no_vapid_key")};return e.error||"denied"!==Notification.permission||(e.error="permission denied by user"),e}))}function ze(){return new Promise((function(t){Notification.requestPermission().then((function(e){const n={};let r=Promise.resolve();"granted"===e?r=r.then(Ke).then((function(t){n.subscription=t.subscription,n.promptable=!t.error})):n.promptable="default"===e,r.then((function(){t(n)}))}))}))}function qe(){return new Promise((function(t){const e={apiKey:bn(),uid:An()};window.safari.pushNotification.requestPermission("https://wsdkapi.netmera.com/wsdk/3.0/safari",yn(),e,(function(e){var n;n=e.permission,ut.setKV("_n_operm",n,0),h((function(){He().then(t)}))}))}))}function Ue(t,e){return Promise.resolve({promptable:t,error:e})}function He(){const t=yn(),e=Notification.permission;if(!t)return Ue(!1,"config error (Website Push ID is missing)");if("denied"===e)return Ue(!1,"permission denied by user");if("default"===e&&"denied"===pt(L))return Ue(!1,"push package error");const n=(lt(T)||{}).subscription||{},r=(window.safari.pushNotification.permission(t)||{}).deviceToken||n.token;return"granted"===e&&r?Promise.resolve({promptable:!1,subscription:{token:r}}):Promise.resolve({promptable:!0})}const Je=wt()?n:t,$e="/netmera_sw1.js";let Qe,Xe={did:tn("_n_did",!1),iid:tn("_n_iid",!0),platform:_t(),platformType:Pt(),subsInfo:lt(T)||{},promptable:!1},Ze=!1;function Ye(){return"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&"showNotification"in ServiceWorkerRegistration.prototype&&"PushManager"in window||wt()&&window.safari&&"pushNotification"in window.safari}function tn(t,e){let n=localStorage.getItem(t);return n||(n=it(),e&&(n=rt(n)),localStorage.setItem(t,n)),n}function en(){const t=navigator.geolocation;t?t.getCurrentPosition((function(t){const e=t.coords;Z("Getting geolocation",e),e&&ye({code:"n:lu",fw:e.accuracy,fv:e.latitude+","+e.longitude})}),(function(t){Z("Getting geolocation error",t.code)}),{timeout:3e4}):Q("Can not send location event. Geolocation is not supported!")}function nn(t){if(Xe.promptable=t.promptable,t.error)return Xe.error=t.error,void $("Push system error -> "+t.error);if(function(t){if(t)for(let e in t)return!1;return!0}(t.subscription))return;const e={subscription:(n=t.subscription,g(n.toJSON)?n.toJSON():n.token?{token:n.token}:{}),uid:An()};var n;JSON.stringify(Xe.subsInfo||{})!==JSON.stringify(e)&&(X("Sending subscription token",e),function(t){return Ft("push/register",{ids:dn(),subscription:t})}(e.subscription).then((function(){Xe.subsInfo=e,ht(T,Xe.subsInfo)})))}function rn(t){Z("processing message",t),t.type===Se?(Ve("init_fd",function(){const t={customHtml:mn.customHtml,appKey:mn.appKey,fbLogoWidth:mn.fbLogoWidth,fbLogoHeight:mn.fbLogoHeight};return mn.customHtml||M(t,{btnAllow:{bgColor:mn.allowBgColor||"",fontColor:mn.allowBgFontColor||"",fontStyle:mn.fbButtonFontStyle,fontSize:mn.fbButtonTextSize,borderRadius:mn.fbButtonRadius},btnLater:{bgColor:mn.laterBgColor||"",fontColor:mn.laterBgFontColor||"",fontStyle:mn.fbButtonFontStyle,fontSize:mn.fbButtonTextSize,borderRadius:mn.fbButtonRadius},ntfDlg:{borderRadius:mn.fbRadius,backgroundColor:mn.fbBackgroundColor},ntfTitle:{fontStyle:mn.fbHeaderFontStyle,fontSize:mn.fbHeaderTextSize,color:mn.fbHeaderFontColor},ntfInfo:{fontStyle:mn.fbInfoFontStyle,fontSize:mn.fbInfoTextSize,color:mn.fbInfoFontColor},textsMap:mn.texts||{}}),t}()),Qe()):"fd_accept"===t.type?(ye({code:"n:fba"}),je(),Je.registerPush().then(nn)):"fd_ask_later"===t.type&&(ye({code:"n:fbl"}),je(),ct(R,(new Date).getTime()),Xe.dismiss=!0)}function on(){if(!Xe.promptable)return;const t=dt(R),e=dt(j)||1,n=mn.promptAfter||1;Xe.dismiss=!1,Xe.paStatus=e>=n,Xe.paStatus?!t||(new Date).getTime()-t>864e5*(mn.dmPeriod||1)?sn():(Xe.dismiss=!0,X("User is in dismiss period")):X(`Prompt after not matched. visitCount=${e}, promptAfter=${n}`)}function sn(){Xe.promptable&&((Mt()?mn.fancyBoxEnabledMobile:void 0===mn.fancyBoxEnabled||mn.fancyBoxEnabled)||wt()||St()?Fe((()=>{(Ze?Promise.resolve({ready:!0}):new Promise((function(t){Qe=function(){Ze=!0,t({ready:!0})},setTimeout((function(){Ze||t({ready:!1,error:"fbox-timed-out"})}),1e4),We(rn)}))).then((t=>{t.ready?(Ve("fd_show"),Fe(Le),ye({code:"n:fbs"})):$("Fancy box init failed. reason="+t.error)})).catch((function(t){$("Fancy box init failed",t)}))})):Je.registerPush().then(nn))}function an(t){const e=t?"/netmera_sw2.js":$e;return X("Registering service worker...jsUrl=",e),new Promise((function(t){navigator.serviceWorker.register(e,{scope:"/"}).then((function(){navigator.serviceWorker.ready.then((function(e){X(`Service worker is ready. scope=${e.scope}`),t(e)})).catch((function(t){$("Error registering service worker",t)}))})).catch((function(e){$("Error registering service worker",e),t(null)}))}))}function un(){return Rt("_n_wcfg",JSON.stringify({apiKey:bn(),appKey:vn(),uid:An(),xid:xn(),iid:Xe.iid,did:Xe.did,pst:mn.pst}))}function cn(){return new Promise((function(t){un().then((()=>{navigator.serviceWorker.getRegistration().then((function(e){e?e.active?Tt("_n_swsdkv").then((function(t){return Ot!==t?(X("A new sdk version detected. oldVer="+t+", newVer="+Ot),!0):(Z("sdk and service worker versions are matched. version=4.3.1"),!1)})).then((function(n){n?(X("Re-registering the service worker for new version. newVer=4.3.1"),an((""+e.active.scriptURL).indexOf($e)>-1).then(t)):t(e)})):null==e.installing?an(!1).then(t):(Z("Service worker is OK."),t(e)):an(!1).then(t)})).catch((function(e){$("Error getting service worker registration",e),t(null)}))}))}))}function fn(){let t=Promise.resolve();if(!window.isSecureContext)return Q("Not secure context. Push system will not initialize."),t;x(tt,un),"serviceWorker"in navigator&&(t=t.then(cn));const e=!!mn.pushEnabled,n=Ye();return e&&n?t=t.then(Je.getPushState).then(nn).catch((function(t){$("Device init failed!",t)})):X(`Push system will not initialize. enabled=${e}, supported=${n}`),t}function dn(){const t={uid:An(),iid:Xe.iid,did:Xe.did,sid:he()},e=pe(),n=xn();return isNaN(Number(e))||(t.pid=e),n&&(t.xid=n),t}let ln,hn,pn,mn=gn();function gn(){return lt(E)}function vn(){return mn&&mn.appKey}function bn(){return ln}function yn(){return mn.swspid}function wn(){return void 0===mn.autoPrompt||mn.autoPrompt}function Sn(){return mn.ctypes||[]}function Mn(){return mn&&mn.publicVapidKey}let _n=On(),Pn=function(){let t={},e={};function n(e){return function(n){return t[e]=n,this}}function r(t){return function(n){return e[t]=n,this}}function i(t,e){return"DATE"===e||"TIME_STAMP"===e?w(t)?new Date(t).getTime():1*t:"INT"===e||"LONG"===e||"DOUBLE"===e?1*t:"BOOLEAN"===e?w(t)?"true"===t:!!t:""+t}return{save:function(){const n=M({prfl:t},e),r=n.xid&&n.xid!==_n.xid;return kn(M(_n,n)),r?function(t){ne=!0,ae({type:Xt.userIdentify,data:t})}(n):function(t){ae({type:Xt.userUpdate,data:t})}(n),t={},e={},Promise.resolve()},setCustomId:r("xid"),setEmail:r("email"),setGsmNo:r("msisdn"),setName:n("pa"),setSurName:n("pb"),addProfileAttr:function(e,n){const r=function(t){let e=mn.prfAttrs[t];if(!e)for(const n in mn.prfAttrs)if(a(mn.prfAttrs,n)&&mn.prfAttrs[n].code===t){e=mn.prfAttrs[n];break}return e}(e);return r?r.array?(t[r.code]=t[r.code]||[],t[r.code].push(i(n,r.type))):t[r.code]=i(n,r.type):$("No such profile attribute! name="+e),this},getId:function(){return _n.uid},getCustomId:function(){return _n.xid}}}();function On(){let t=lt(B);return t||(t={uid:rt(it()),xid:dt(I),prfl:{}},ht(B,t)),t}function An(){return _n.uid}function xn(){return _n.xid}function kn(t){if(t){const e=_n;_n=t,ht(B,t),t.xid&&ct(I,t.xid),k(tt,_n,e),Jt()}}const En="Auto prompt is on for your site. Switch it off on the netmera panel and try again.",In=i();let Fn;const Cn={push:function(t){if(Array.isArray(t)&&t.length>1)if("function"==typeof t[1])x(t[0],t[1]);else if("sendEvent"===t[0]&&"string"==typeof t[1]){if(t.length>2&&"object"!=typeof t[2])return void $("Bad event command",t);let e=t.length>2?t[2]:{};e.code=t[1],ye(e)}else $("Bad command",t);else"function"==typeof t?t.call(Cn,Cn):$("Bad command",t)},getUser:function(){return Pn},isPromptable:function(){return Ye()&&Xe.promptable},getDeviceInfo:function(){return Xe},prompt:function(){wn()?X(En):on()},pushRegister:function(){wn()?X(En):sn()},forcePushRegister:function(){Je.registerPush().then(nn)},isPushSupported:function(){return Ye()},sendEvent:function(t){return ye(t)},getVersion:function(){return Ot},getSessionId:function(){return he()},getAppKey:function(){return vn()},OrderApproveEvent:function(){this.code="n:oap",this.setApproveTime=function(t){this.fu=t},this.setPaymentMethod=function(t){this.em=t},this.setOrderId=function(t){this.ea=t},this.setGrandTotal=function(t){this.es=t},this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t}},ProductCommentEvent:function(){this.code="n:cp",this.setBrandName=function(t){this.eh=t},this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setVariant=function(t){this.ei=t},this.setBrandId=function(t){this.gd=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setPrice=function(t){this.eq=t}},OrderCancelEvent:function(){this.code="n:co",this.setPaymentMethod=function(t){this.em=t},this.setGrandTotal=function(t){this.es=t},this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t}},ViewCategoryEvent:function(){this.code="n:cv",this.setCategoryName=function(t){this.ef=t},this.setCategoryId=function(t){this.ga=t}},PurchaseEvent:function(){this.code="n:ph",this.setDiscount=function(t){this.el=t},this.setCoupon=function(t){this.ek=t},this.setShippingCost=function(t){this.ep=t},this.setPaymentMethod=function(t){this.em=t},this.setGrandTotal=function(t){this.es=t},this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t},this.setPurchaseLineItemEvent=function(t){this.items=t}},RegisterEvent:function(){this.code="n:rg",this.setUserId=function(t){this.uid=t}},LoginEvent:function(){this.code="n:cl",this.setUserId=function(t){this.uid=t}},ProductRateEvent:function(){this.code="n:rp",this.setBrandName=function(t){this.eh=t},this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setVariant=function(t){this.ei=t},this.setBrandId=function(t){this.gd=t},this.setRating=function(t){this.eo=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setPrice=function(t){this.eq=t}},RemoveFromCartEvent:function(){this.code="n:rcp",this.setBrandName=function(t){this.eh=t},this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setVariant=function(t){this.ei=t},this.setBrandId=function(t){this.gd=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setItemCount=function(t){this.ec=t},this.setPrice=function(t){this.eq=t}},ViewCartEvent:function(){this.code="n:vt",this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t}},CommentEvent:function(){this.code="n:cc",this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setProvider=function(t){this.ee=t},this.setItemId=function(t){this.ea=t},this.setCategoryId=function(t){this.ga=t},this.setContentType=function(t){this.ed=t}},ProductViewEvent:function(){this.code="n:vp",this.setBrandName=function(t){this.eh=t},this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setVariant=function(t){this.ei=t},this.setBrandId=function(t){this.gd=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setPrice=function(t){this.eq=t}},InAppPurchaseEvent:function(){this.code="n:ip",this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setItemCount=function(t){this.ec=t},this.setPrice=function(t){this.eq=t}},ViewContentEvent:function(){this.code="n:vc",this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setProvider=function(t){this.ee=t},this.setItemId=function(t){this.ea=t},this.setCategoryId=function(t){this.ga=t},this.setContentType=function(t){this.ed=t}},ShareEvent:function(){this.code="n:sh",this.setChannel=function(t){this.ej=t},this.setItemId=function(t){this.ea=t}},SearchEvent:function(){this.code="n:sr",this.setQuery=function(t){this.en=t},this.setItemCount=function(t){this.ec=t}},OrderDeliverEvent:function(){this.code="n:od",this.setDeliverTime=function(t){this.fu=t},this.setPaymentMethod=function(t){this.em=t},this.setOrderId=function(t){this.ea=t},this.setGrandTotal=function(t){this.es=t},this.setCarrier=function(t){this.eb=t},this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t}},AddToCartEvent:function(){this.code="n:acp",this.setBrandName=function(t){this.eh=t},this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setVariant=function(t){this.ei=t},this.setBrandId=function(t){this.gd=t},this.setItemId=function(t){this.ea=t},this.setItemName=function(t){this.eb=t},this.setCategoryId=function(t){this.ga=t},this.setItemCount=function(t){this.ec=t},this.setPrice=function(t){this.eq=t}},BannerClickEvent:function(){this.code="n:bc",this.setKeywords=function(t){this.eg=t},this.setItemId=function(t){this.ea=t}},RateEvent:function(){this.code="n:rc",this.setKeywords=function(t){this.eg=t},this.setCategoryName=function(t){this.ef=t},this.setProvider=function(t){this.ee=t},this.setRating=function(t){this.eo=t},this.setItemId=function(t){this.ea=t},this.setCategoryId=function(t){this.ga=t},this.setContentType=function(t){this.ed=t}},OrderShipEvent:function(){this.code="n:os",this.setShipTime=function(t){this.fu=t},this.setPaymentMethod=function(t){this.em=t},this.setOrderId=function(t){this.ea=t},this.setGrandTotal=function(t){this.es=t},this.setCarrier=function(t){this.eb=t},this.setSubTotal=function(t){this.er=t},this.setItemCount=function(t){this.ec=t}}};function Nn(t){const e=In.netmera,n=[];for(let r=0;r<e.length;r++)t(e[r])?Cn.push(e[r]):n.push(e[r]);In.netmera=n,In.netmera.apikey=Fn}function Bn(){Nn((t=>t.length>1&&"function"==typeof t[1])),h((()=>k(Y))),Nn((()=>!0)),In.netmera.push=Cn.push,In.netmera=Cn}function Tn(){pt("ntm_exp_edit")&&Fe((()=>new Promise((t=>{fetch("https://panel.netmera.com/exp-editor/index.html",{method:"GET"}).then((e=>{t(e.text())}),(e=>t(String(e))))})).then((t=>function(t){document.body.style="top: 96px !important; overflow: visible !important;";const e=document.createElement("div");e.id="ntm-exp-editor",e.style="position: fixed !important; inset: 0px !important; border: none !important; width: auto !important; height: auto; margin: 0px !important; padding: 0px !important; background-color: transparent !important; display: block !important; z-index: 1000000000;";const n=document.createElement("iframe");n.frameBorder="0",n.style="left:0 !important; width:100% !important; top:0 !important; height:100% !important; background-color:transparent !important; margin:0 !important; padding:0 !important; display:block !important; visibility:visible !important; max-width:none !important; max-height:none !important",e.appendChild(n),document.body.appendChild(e);const r=n.contentDocument||n.contentWindow.document;r.open(),r.write(t),r.close()}(t)))))}function Rn(){var t;X("Netmera is ready...Device Info=",Cn.getDeviceInfo()),re=!0,se(),mn.geolocation&&h(en),wn()&&h(on),-1!==In.location.href.indexOf("?nm_invite")&&(t=l("nm_invite"),ae({type:Xt.addTester,data:t}))}!function(){const t=l("nm_log_level");t&&function(t="warn"){q=z[t]||z.info,U()||localStorage.setItem(W,t)}(t);const e=In.netmera=In.netmera||[];if(Array.isArray(e)){if(e.apiKey)Fn=Cn.apiKey=e.apiKey;else{const t=document.currentScript&&document.currentScript.src;if(!t)return void $("Unsupported browser!. ");const n=function(t){let e=new URL(t),n=e.pathname;n.startsWith("/")||(n="/"+n);let r=e.hostname.replace(u,"");return{href:e.href,protocol:e.protocol,host:e.host,hostname:r,pathname:n,search:e.search,hash:e.hash,port:e.port}}(t).pathname.split("/");Fn=Cn.apiKey=e.apiKey=n[n.length-1]}var n;x(et,Wt),x(Y,Rn),(n=Fn,ln=n,hn=mt(n),pn=mt(document.domain),mn?Promise.resolve(mn):(r="config/get",new Promise(((t,e)=>{J()&&Z(`HTTP GET::${r}::{}`);const n=Et(t,e),i={method:"GET",headers:kt()};fetch(It(r),i).then((t=>n(null,t)),(t=>n(t,null)))}))).then((function(t){return mn=t.cfg||t,ht(E,mn),mn})).catch((function(t){throw"Can not fetch netmera config.[ reason="+t.message+"]"}))).then(we).then(Tn).then(fn).then(Bn).then(Wt).catch((t=>{$("Netmera could not be initialized!!",t)}))}else $('Bad Netmera init usage!. Correct usage is "var netmera = netmera || [];"');var r}()})()})();