jsc.mgid.com Open in urlscan Pro
104.19.132.78  Public Scan

URL: https://jsc.mgid.com/n/e/newsweek.com.734391.es6.js
Submission: On October 06 via manual from SK — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports;}
var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports;}
__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{enumerable:true,get:getter});}};__webpack_require__.r=function(exports){if(typeof Symbol!=='undefined'&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:'Module'});}
Object.defineProperty(exports,'__esModule',{value:true});};__webpack_require__.t=function(value,mode){if(mode&1)value=__webpack_require__(value);if(mode&8)return value;if((mode&4)&&typeof value==='object'&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,'default',{enumerable:true,value:value});if(mode&2&&typeof value!='string')for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key];}.bind(null,key));return ns;};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module['default'];}:function getModuleExports(){return module;};__webpack_require__.d(getter,'a',getter);return getter;};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property);};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=0);})
({"./node_modules/@mgid/antifraud-hash/dist/main.js":/*!********************************************************!*\
!*** ./node_modules/@mgid/antifraud-hash/dist/main.js ***!
\********************************************************//*!no static exports found*/(function(module,exports){module.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(t){return e[t]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=4)}([function(e,t,n){"use strict";function o(e){if(null==e||isNaN(e))return"";var t="";0>e&&(t=",",e*=-1);for(var n=parseInt(e,10).toString(8),o=Math.ceil(n.length/2),r=0;r<o;r++)t+=a(n.substr(2*r,2));return t}function r(e){e=e.toString(),e=unescape(encodeURIComponent(e));for(var t,n,o,r,i,a,s,c,u="ABCDEFGHIJKLMNOPQR$TUVWXYZabcde*ghijklmnopqrstuvwxyz0123456789+/=",f="",l=0;l<e.length;)n=64,i=(t=e.charCodeAt(l++))>>2,a=(3&t)<<4|(o=e.charCodeAt(l++))>>4,r=e.charCodeAt(l++),s=isNaN(o)?n:(15&o)<<2|r>>6,c=isNaN(r)?n:63&r,f+=u.charAt(i)+u.charAt(a)+u.charAt(s)+u.charAt(c);return f}function i(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcde.ghijklmnopqrstuv0123456789wxyz-_".substr(e,1)}function a(e){return{"00":"A","01":"B","02":"C","03":"D","04":"E","05":"F","06":"G","07":"H",10:"I",11:"J",12:"K",13:"L",14:"M",15:"N",16:"O",17:"P",20:"Q",21:"R",22:"S",23:"T",24:"U",25:"V",26:"W",27:"X",30:"Y",31:"Z",32:"a",33:"b",34:"c",35:"d",36:"e",37:".",40:"g",41:"h",42:"i",43:"j",44:"k",45:"l",46:"m",47:"n",50:"o",51:"p",52:"q",53:"r",54:"s",55:"t",56:"u",57:"v",60:"0",61:"1",62:"2",63:"3",64:"4",65:"5",66:"6",67:"7",70:"8",71:"9",72:"w",73:"x",74:"y",75:"z",76:"-",77:"_",0:"!",1:"*",2:";",3:":",4:"=",5:"+",6:"$",7:"~"}[e]}function s(e,t){var n=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2],o=e.length;if(o<=t)return e;var r=n?o-t:0;return e.substr(r,t)}function c(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function u(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return u}))},function(e,t,n){var o,r;!function(i,a,s){"use strict";"undefined"!=typeof window&&n(3)?void 0===(r="function"==typeof(o=s)?o.call(t,n,t,e):o)||(e.exports=r):e.exports?e.exports=s():a.exports?a.exports=s():a.FrPt=s()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32===(t%=64)?[e[1],e[0]]:32>t?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},o=function(e,t){return 0===(t%=64)?e:32>t?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},r=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=r(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=r(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=r(e,[0,e[0]>>>1])},a=function(a,s){s=s||0;for(var c=(a=a||"").length%16,u=a.length-c,f=[0,s],l=[0,s],h=[0,0],d=[0,0],g=[2277735313,289559509],p=[1291169091,658871167],v=0;v<u;v+=16)h=[255&a.charCodeAt(v+4)|(255&a.charCodeAt(v+5))<<8|(255&a.charCodeAt(v+6))<<16|(255&a.charCodeAt(v+7))<<24,255&a.charCodeAt(v)|(255&a.charCodeAt(v+1))<<8|(255&a.charCodeAt(v+2))<<16|(255&a.charCodeAt(v+3))<<24],d=[255&a.charCodeAt(v+12)|(255&a.charCodeAt(v+13))<<8|(255&a.charCodeAt(v+14))<<16|(255&a.charCodeAt(v+15))<<24,255&a.charCodeAt(v+8)|(255&a.charCodeAt(v+9))<<8|(255&a.charCodeAt(v+10))<<16|(255&a.charCodeAt(v+11))<<24],h=t(h,g),h=n(h,31),h=t(h,p),f=r(f,h),f=n(f,27),f=e(f,l),f=e(t(f,[0,5]),[0,1390208809]),d=t(d,p),d=n(d,33),d=t(d,g),l=r(l,d),l=n(l,31),l=e(l,f),l=e(t(l,[0,5]),[0,944331445]);switch(h=[0,0],d=[0,0],c){case 15:d=r(d,o([0,a.charCodeAt(v+14)],48));case 14:d=r(d,o([0,a.charCodeAt(v+13)],40));case 13:d=r(d,o([0,a.charCodeAt(v+12)],32));case 12:d=r(d,o([0,a.charCodeAt(v+11)],24));case 11:d=r(d,o([0,a.charCodeAt(v+10)],16));case 10:d=r(d,o([0,a.charCodeAt(v+9)],8));case 9:d=r(d,[0,a.charCodeAt(v+8)]),d=t(d,p),d=n(d,33),d=t(d,g),l=r(l,d);case 8:h=r(h,o([0,a.charCodeAt(v+7)],56));case 7:h=r(h,o([0,a.charCodeAt(v+6)],48));case 6:h=r(h,o([0,a.charCodeAt(v+5)],40));case 5:h=r(h,o([0,a.charCodeAt(v+4)],32));case 4:h=r(h,o([0,a.charCodeAt(v+3)],24));case 3:h=r(h,o([0,a.charCodeAt(v+2)],16));case 2:h=r(h,o([0,a.charCodeAt(v+1)],8));case 1:h=r(h,[0,a.charCodeAt(v)]),h=t(h,g),h=n(h,31),h=t(h,p),f=r(f,h)}return f=r(f,[0,a.length]),l=r(l,[0,a.length]),f=e(f,l),l=e(l,f),f=i(f),l=i(l),f=e(f,l),l=e(l,f),("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)},s={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},c=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,o=e.length;n<o;n++)t(e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)},u=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(c(e,(function(e,o,r){n.push(t(e,o,r))})),n)},f=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,o=navigator.plugins.length;n<o;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return l(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},l=function(e){for(var t,n=!1,o=0,r=e.plugins.sortPluginsFor.length;o<r;o++)if(t=e.plugins.sortPluginsFor[o],navigator.userAgent.match(t)){n=!0;break}return n},h=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},d=function(e,t){var n="___fp_swf_loaded";window[n]=function(t){e(t)};var o=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}(),window.swfobject.embedSWF(t.fonts.swfPath,o,"1","1","9.0.0",!1,{onReady:n},{allowScriptAccess:"always",menu:"false"},{})},g=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(t){}return t||(t=null),t},p=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},v=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE}(t))}},{key:"screenResolution",getData:function(e,t){e(function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}(t))}},{key:"availableScreenResolution",getData:function(e,t){e(function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE}(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){return window.Intl&&window.Intl.DateTimeFormat?void e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):void e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}}(t))}},{key:"localStorage",getData:function(e,t){e(function(e){try{return!!window.localStorage}catch(t){return e.ERROR}}(t))}},{key:"indexedDb",getData:function(e,t){e(function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}}(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(function(e){return navigator.cpuClass||e.NOT_AVAILABLE}(t))}},{key:"platform",getData:function(e,t){e(function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE}(t))}},{key:"doNotTrack",getData:function(e,t){e(function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE}(t))}},{key:"plugins",getData:function(e,t){"Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&/Trident/.test(navigator.userAgent)?t.plugins.excludeIE?e(t.EXCLUDED):e(function(e){var t=[];return Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window?t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}})):t.push(e.NOT_AVAILABLE),navigator.plugins&&(t=t.concat(f(e))),t}(t)):e(f(t))}},{key:"canvas",getData:function(e,t){return h()?void e(function(e){var t=Math.PI,n=[],o=document.createElement("canvas");o.width=2e3,o.height=200,o.style.display="inline";var r=o.getContext("2d");return r.rect(0,0,10,10),r.rect(2,2,6,6),n.push("canvas winding:"+(!1===r.isPointInPath(5,5,"evenodd")?"yes":"no")),r.textBaseline="alphabetic",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",r.font=e.dontUseFakeFontInCanvas?"11pt Arial":"11pt no-real-font-123",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),r.fillStyle="rgba(102, 204, 0, 0.2)",r.font="18pt Arial",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),r.globalCompositeOperation="multiply",r.fillStyle="rgb(255,0,255)",r.beginPath(),r.arc(50,50,50,0,2*t,!0),r.closePath(),r.fill(),r.fillStyle="rgb(0,255,255)",r.beginPath(),r.arc(100,50,50,0,2*t,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,255,0)",r.beginPath(),r.arc(75,100,50,0,2*t,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,0,255)",r.arc(75,75,75,0,2*t,!0),r.arc(75,75,25,0,2*t,!0),r.fill("evenodd"),o.toDataURL&&n.push("canvas fp:"+o.toDataURL()),n}(t)):void e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){return function(){if(!h())return!1;var e=g(),t=!!window.WebGLRenderingContext&&!!e;return p(e),t}()?void e(function(){try{var e=g(),t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return p(e),n}catch(t){return null}}()):void e()}},{key:"adBlock",getData:function(e){e(function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t}())}},{key:"hasLiedLanguages",getData:function(e){e(function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1}())}},{key:"hasLiedResolution",getData:function(e){e(window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight)}},{key:"hasLiedOs",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,o=navigator.platform.toLowerCase();if(e=0<=t.indexOf("windows phone")?"Windows Phone":0<=t.indexOf("windows")||0<=t.indexOf("win16")||0<=t.indexOf("win32")||0<=t.indexOf("win64")||0<=t.indexOf("win95")||0<=t.indexOf("win98")||0<=t.indexOf("winnt")||0<=t.indexOf("wow64")?"Windows":0<=t.indexOf("android")?"Android":0<=t.indexOf("linux")||0<=t.indexOf("cros")||0<=t.indexOf("x11")?"Linux":0<=t.indexOf("iphone")||0<=t.indexOf("ipad")||0<=t.indexOf("ipod")||0<=t.indexOf("crios")||0<=t.indexOf("fxios")?"iOS":0<=t.indexOf("macintosh")||0<=t.indexOf("mac_powerpc)")?"Mac":"Other",("ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==n){if(0<=(n=n.toLowerCase()).indexOf("win")&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(0<=n.indexOf("linux")&&"Linux"!==e&&"Android"!==e)return!0;if(0<=n.indexOf("mac")&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return 0<=o.indexOf("win")&&"Windows"!==e&&"Windows Phone"!==e||((0<=o.indexOf("linux")||0<=o.indexOf("android")||0<=o.indexOf("pike"))&&"Linux"!==e&&"Android"!==e||((0<=o.indexOf("mac")||0<=o.indexOf("ipad")||0<=o.indexOf("ipod")||0<=o.indexOf("iphone"))&&"Mac"!==e&&"iOS"!==e||!(0<=o.indexOf("arm")&&"Windows Phone"===e)&&(!(0<=o.indexOf("pike")&&0<=t.indexOf("opera mini"))&&((0>o.indexOf("win")&&0>o.indexOf("linux")&&0>o.indexOf("mac")&&0>o.indexOf("iphone")&&0>o.indexOf("ipad")&&0>o.indexOf("ipod"))!=("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))}())}},{key:"hasLiedBrowser",getData:function(e){e(function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(0<=t.indexOf("edge/")||0<=t.indexOf("iemobile/"))return!1;if(0<=t.indexOf("opera mini"))return!1;if(("Chrome"===(e=0<=t.indexOf("firefox/")?"Firefox":0<=t.indexOf("opera/")||0<=t.indexOf(" opr/")?"Opera":0<=t.indexOf("chrome/")?"Chrome":0<=t.indexOf("safari/")?0<=t.indexOf("android 1.")||0<=t.indexOf("android 2.")||0<=t.indexOf("android 3.")||0<=t.indexOf("android 4.")?"AOSP":"Safari":0<=t.indexOf("trident/")?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var o,r=eval.toString().length;if(37===r&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===r&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===r&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),o=!0}catch(e){o=!1}}return o&&"Firefox"!==e&&"Other"!==e}())}},{key:"touchSupport",getData:function(e){e(function(){var e,t=0;void 0===navigator.maxTouchPoints?void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints):t=navigator.maxTouchPoints;try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]}())}},{key:"fontsFlash",getData:function(e,t){return void 0!==window.swfobject?window.swfobject.hasFlashPlayerVersion("9.0.0")?t.fonts.swfPath?void d((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var o=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==o)return e(t.NOT_AVAILABLE);var r=new o(1,44100,44100),i=r.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,r.currentTime);var a=r.createDynamicsCompressor();c([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],r.currentTime)})),i.connect(a),a.connect(r.destination),i.start(0),r.startRendering();var s=setTimeout((function(){return r.oncomplete=function(){},r=null,e("audioTimeout")}),n.timeout);r.oncomplete=function(t){var n;try{clearTimeout(s),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),a.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices?void navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)})):e(t.NOT_AVAILABLE)}}],m=function(){throw new Error("'new FrPt()' is deprecated")};return m.get=function(e,t){t?!e&&(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,o;for(o in t)null==(n=t[o])||Object.prototype.hasOwnProperty.call(e,o)||(e[o]=n)}(e,s),e.components=e.extraComponents.concat(v);var n={data:[],addPreprocessedComponent:function(t,o){"function"==typeof e.preprocessor&&(o=e.preprocessor(t,o)),n.data.push({key:t,value:o})}},o=-1;!function r(i){if((o+=1)>=e.components.length)t(n.data);else{var a=e.components[o];if(e.excludes[a.key])r(!1);else{if(!i&&a.pauseBefore)return o-=1,void setTimeout((function(){r(!0)}),1);try{a.getData((function(e){n.addPreprocessedComponent(a.key,e),r(!1)}),e)}catch(e){n.addPreprocessedComponent(a.key,e+""),r(!1)}}}}(!1)},m.getPromise=function(e){return new Promise((function(t){m.get(e,t)}))},m.getV18=function(e,t){return null==t&&(t=e,e={}),m.get(e,(function(n){for(var o,r=[],i=0;i<n.length;i++)if((o=n[i]).value===(e.NOT_AVAILABLE||"not available"))r.push({key:o.key,value:"unknown"});else if("plugins"===o.key)r.push({key:"plugins",value:u(o.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(o.key)&&Array.isArray(o.value))r.push({key:o.key,value:o.value.join("~")});else if(-1===["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(o.key))o.value?r.push(o.value.join?{key:o.key,value:o.value.join(";")}:o):r.push({key:o.key,value:o.value});else{if(!o.value)continue;r.push({key:o.key,value:1})}var s=a(u(r,(function(e){return e.value})).join("~~~"),31);t(s,r)}))},m.x64hash128=a,m.VERSION="2.1.0",m}))},function(module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n,o=0;o<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}var _Mathabs=Math.abs;__webpack_require__.d(__webpack_exports__,"a",(function(){return DomExtractor}));var _utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),DomExtractor=function(){function DomExtractor(e){_classCallCheck(this,DomExtractor),this.config=e,this.context=e.context}return _createClass(DomExtractor,[{key:"isSessionStorageEnabled",value:function(){var e=null;if("sessionStorage"in this.context)try{this.context.sessionStorage.setItem("svs",1),e=this.context.sessionStorage.getItem("svs")}catch(e){}return e?1:0}},{key:"getBrowserFlag",value:function(){var e=0;return(this.context.opera||void 0!==this.context.opr)&&(e+=1),(this.context.opera&&this.context.opera.buildNumber||void 0!==this.context.opr)&&(e+=2),(this.context.document.all||this.context.MSStream)&&(e+=4),(!this.context.btoa||this.context.navigator.msPointerEnabled||void 0!==this.context.clearImmediate)&&(e+=8),this.context.chrome&&(e+=16),void 0!==this.context.mozInnerScreenX&&(e+=32),this.context.external||(e+=64),e}},{key:"isJavaEnabled",value:function(){return this.context.navigator.javaEnabled()?1:0}},{key:"isFlashEnabled",value:function(){var e=0;if(void 0!==this.context.navigator.plugins&&"object"===_typeof(this.context.navigator.plugins["Shockwave Flash"]))e=1;else if(void 0!==this.context.ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(e=1)}catch(e){}return e}},{key:"isCookieEnabled",value:function(){return this.context.navigator.cookieEnabled?1:0}},{key:"isLocalStorageEnabled",value:function(){var e=null;if("localStorage"in this.context)try{this.context.localStorage.setItem("svs",1),e=this.context.localStorage.getItem("svs")}catch(e){}return e?1:0}},{key:"groupBitParams",value:function(){var e=0;return this.isJavaEnabled()&&(e+=1),this.isFlashEnabled()&&(e+=2),this.isCookieEnabled()&&(e+=4),this.isLocalStorageEnabled()&&(e+=8),this.isSessionStorageEnabled()&&(e+=16),this.isTouchStart()&&(e+=32),e}},{key:"isTouchStart",value:function(){return void 0!==this.context.ontouchstart}},{key:"getSnapshotProperties",value:function(propertiesDom){propertiesDom=propertiesDom||{props:{3:"this.context['close']",13:"this.context['navigator']['taintEnabled']",16:"this.context['EventTarget']['toString']",18:"this.context['navigator']['appName']",20:"this.context['ApplicationCacheErrorEvent']",22:"this.context['clearImmediate']",23:"this.context['CryptoKey']",25:"this.context['external']['AddSearchProvider']",32:"this.context['chrome']['search']",33:"this.context['clientInformation']['vendor']",40:"this.context['TouchEvent']",43:"this.context['DeviceMotionEvent']",46:"this.context['navigator']['webkitGetGamepads']",49:"this.context['Notification']",56:"this.context['BeforeLoadEvent']",57:"this.context['Entity']",72:"this.context['AnalyserNode']",74:"this.context['ArrayBufferView']",76:"this.context['HTMLBaseFontElement']",86:"this.context['self']['SharedWorker']",87:"this.context['Touch']",91:"this.context['DOMException']['ABORT_ERR']",92:"this.context['Set']",98:"this.context['document']['createTouch']",138:"this.context['NaN']",139:"this.context['document']['prepend']",163:"this.context['SiteBoundCredential']",165:"this.context['CanvasCaptureMediaStreamTrack']"},rules:{contains:{3:['({command:"this.context.close.self"})'],18:["MicrosoftInternetExplorer"],33:["GoogleInc."]},not_empty:[13,16,18,20,22,23,25,32,40,43,46,49,56,57,76,86,87,91,92,98,138,139,163,165],undefined:[25,46,72,74,87]}};var snapshotProperties="";for(var i in propertiesDom.props){i=parseInt(i,10);var node=this.context,value="";try{node=eval(propertiesDom.props[i])}catch(e){node="undefined",this.config.loggerEnabled&&this.context[this.config.logger+"Logger"].sendData("Antifraud Error. Property: "+i+". "+e.message+". "+e.stack)}if(value=(node+"").replace(/\s/g,""),propertiesDom.rules.contains&&i in propertiesDom.rules.contains)for(var j in propertiesDom.rules.contains[i])snapshotProperties+=-1===value.indexOf(propertiesDom.rules.contains[i][j])?"0":"1";propertiesDom.rules.empty&&-1!==propertiesDom.rules.empty.indexOf(i)&&(snapshotProperties+=""===value?"1":"0"),propertiesDom.rules.not_empty&&-1!==propertiesDom.rules.not_empty.indexOf(i)&&(snapshotProperties+="undefined"!==value&&""!==value?"1":"0"),propertiesDom.rules.undefined&&-1!==propertiesDom.rules.undefined.indexOf(i)&&(snapshotProperties+="undefined"===value?"1":"0")}for(var sizeChar=6,n=Math.ceil(snapshotProperties.length/sizeChar),chars="",_i=0;_i<n;_i++){var part=snapshotProperties.substr(_i*sizeChar,sizeChar),dec=parseInt(part,2);chars+=_utils__WEBPACK_IMPORTED_MODULE_0__.c(dec)}return chars}},{key:"getRectOfElement",value:function(e){var t=-32768,n={top:t,bottom:t,left:t,right:t,height:t,width:t};try{n=e.getBoundingClientRect()}catch(t){return n}var o={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height?n.height:n.bottom-n.top,width:n.width?n.width:n.right-n.left};if(this.context.self!==this.context.top){var r=this.getFrameElement();if(r){var i=r.getBoundingClientRect();o.top+=i.top,o.bottom+=i.top,o.left+=i.left,o.right+=i.left}}return o}},{key:"getFrameElement",value:function(){if(void 0===this.topIFrame)try{var e,t;for(t=(e=this.context).frameElement;e.frameElement;e=e.parent)t=e.frameElement;this.topIFrame=t}catch(e){this.topIFrame=null}return this.topIFrame}},{key:"getCoordinatesClickOfWindow",value:function(e){var t=0,n=0;return e.clientX||e.clientY?(t=e.clientX,n=e.clientY):e.touches&&e.touches[0]&&(t=e.touches[0].clientX,n=e.touches[0].clientY),{x:t,y:n}}},{key:"getCoordinatesClickOfPage",value:function(e){var t=0,n=0;return e||(e=this.context.event),e.pageX||e.pageY?(t=e.pageX,n=e.pageY):e.touches&&e.touches[0]?(t=e.touches[0].pageX,n=e.touches[0].pageY):(e.clientX||e.clientY)&&(t=e.clientX+(this.context.document.documentElement.scrollLeft||this.context.document.body.scrollLeft)-this.context.document.documentElement.clientLeft,n=e.clientY+(this.context.document.documentElement.scrollTop||this.context.document.body.scrollTop)-this.context.document.documentElement.clientTop),{x:t,y:n}}},{key:"getCoordsElementOfPage",value:function(e){var t=0,n=0;do{t+=e.offsetLeft,n+=e.offsetTop}while(e=e.offsetParent);return{x:t,y:n}}},{key:"getCoordsClickOfWindow",value:function(e){var t=0,n=0;return e.clientX||e.clientY?(t=e.clientX,n=e.clientY):e.touches&&e.touches[0]&&(t=e.touches[0].clientX,n=e.touches[0].clientY),{x:t,y:n}}},{key:"getDeviceOrientation",value:function(e){if(this.context.DeviceOrientationEvent){var t=!0,n=0;_utils__WEBPACK_IMPORTED_MODULE_0__.a(this.context,"deviceorientation",(function(o){var r=Math.round,i=r(o.gamma),a=r(o.beta),s=r(o.alpha);t&&(n++,t=!1,setTimeout((function(){t=!0}),1e3)),e(parseInt(i)+"|"+parseInt(a)+"|"+parseInt(s)+"|"+parseInt(n))}))}else e("0|0|0|0")}},{key:"getCoordsClickOfPage",value:function(e){var t=0,n=0;return e||(e=this.context.event),e.pageX||e.pageY?(t=e.pageX,n=e.pageY):e.touches&&e.touches[0]?(t=e.touches[0].pageX,n=e.touches[0].pageY):(e.clientX||e.clientY)&&(t=e.clientX+(this.context.document.documentElement.scrollLeft||this.context.document.body.scrollLeft)-this.context.document.documentElement.clientLeft,n=e.clientY+(this.context.document.documentElement.scrollTop||this.context.document.body.scrollTop)-this.context.document.documentElement.clientTop),{x:t,y:n}}},{key:"isTransparent",value:function(e){for(;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;for(;e.parentNode;){if(.2>=this.context.getComputedStyle(e).getPropertyValue("opacity"))return 1;if(e===this.context.document.body)break;e=e.parentNode}return 0}},{key:"isOnLine",value:function(){var e=1;return void 0!==this.context.navigator.onLine&&(e=this.context.navigator.onLine?1:0),e}},{key:"generateBatteryInfo",value:function(e){this.context.navigator.getBattery&&this.context.navigator.getBattery().then((function(t){e(+t.charging,100*t.level)}))}},{key:"generateCurrentGeoPosition",value:function(e){var t=this;try{this.context.navigator.permissions.query({name:"geolocation"}).then((function(n){"granted"===n.state&&t.context.navigator.geolocation.getCurrentPosition((function(t){e(t.coords)}))}))}catch(e){}}},{key:"isSupportHtml5",value:function(){var e=this.context.document.createElement("canvas");return e.getContext&&e.getContext("2d")?1:0}},{key:"getScreenX",value:function(){var e=0;return void 0!==this.context.screenX&&(e=_Mathabs(this.context.screenX)),e}},{key:"getScreenY",value:function(){var e=0;return void 0!==this.context.screenY&&(e=_Mathabs(this.context.screenY)),e}},{key:"isAnyImageLoaded",value:function(e){for(var t=/\/\/img.*\/[\d]+\/([\d]+).*\.(jpg|gif)/,n=/\/\/s-img.*\/([\d]+)\/.*\.(jpg|gif)/,o=this.config.root.getElementsByTagName("IMG"),r=this.config.root.getElementsByTagName("VIDEO"),i=[],a=0;a<o.length;a++)i.push(o[a]);for(var s=0;s<r.length;s++)i.push(r[s]);for(var c=0;c<i.length;c++)t.exec(i[c].src)||n.exec(i[c].src),_utils__WEBPACK_IMPORTED_MODULE_0__.a(i[c],"load",e)}},{key:"getHardwareConcurrency",value:function(){var e=0;return void 0!==this.context.navigator.hardwareConcurrency&&(e=this.context.navigator.hardwareConcurrency),e}},{key:"getPlugins",value:function(){var e="";if(void 0!==this.context.navigator.plugins){for(var t=this.context.navigator.plugins,n=[],o=0;o<t.length;o++)n.push(t[o].name);e=_utils__WEBPACK_IMPORTED_MODULE_0__.e(n.join("|").replace(/\s/g,""),300)}return e}},{key:"getNetwrokInformation",value:function(){var e={networkInformationType:"unknown",networkInformationEffectiveType:"unknown",networkInformationSaveData:0};try{var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;void 0!==t.type&&(e.networkInformationType=t.type),void 0!==t.effectiveType&&(e.networkInformationEffectiveType=t.effectiveType),void 0!==t.saveData&&(e.networkInformationSaveData=t.saveData?1:0)}catch(t){}return e}}]),DomExtractor}()},function(e){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";function o(e,t){for(var n,o=0;o<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t){for(var n,o=0;o<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n,o=0;o<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function s(e){var t=[];for(var n in e)t.push(n+"="+e[n]);return t.join("&")}function c(e,t){for(var n,o=0;o<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}n.r(t),n.d(t,"Integration",(function(){return m})),n.d(t,"Application",(function(){return v})),n.d(t,"AntiFraud",(function(){return g})),n.d(t,"Config",(function(){return p})),n.d(t,"addEvent",(function(){return u.a})),n.d(t,"removeEvent",(function(){return u.d}));var u=n(0),f=n(2),l=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.cookieStorage={},this.sharedCookieStorage={},this.config=t,this.context=t.context,this.storageName=t.informerPrefix+"Storage"+(this.context[t.informerPrefix+"PageOffset"]?this.context[t.informerPrefix+"PageOffset"]:"")}return function(e,t,n){t&&o(e.prototype,t),n&&o(e,n)}(e,[{key:"initialize",value:function(){var e=this.getCookieValue();this.cookieStorage=void 0===e[this.config.typePrefix+this.config.id]?{}:e[this.config.typePrefix+this.config.id],this.sharedCookieStorage=void 0===e[0]?{}:e[0]}},{key:"setCookie",value:function(){if(!this.config.disableCookies){var e=this.getCookieValue();e[this.config.typePrefix+this.config.id]=this.cookieStorage,e[0]=this.sharedCookieStorage;var t=encodeURIComponent(JSON.stringify(e));this.context.document.cookie=this.storageName+"="+t+";path=/"}}},{key:"getCookieValue",value:function(){if(!this.config.disableCookies){var e=this.context.document.cookie.match(new RegExp("(?:^|; )"+this.storageName+"=([^;]*)")),t={};if(e)try{t=JSON.parse(decodeURIComponent(e[1]))}catch(t){}return t}return{}}}]),e}(),h=n(1),d=n.n(h),g=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.domExtractor=new f.a(t),this.cookieManager=new l(t),this.config=t,this.miliSecondsFromScroll=null,this.afCookieData="",this.afPrimaryReferrer="",this.afReferrer="",this.afHref="",this.afDeepSession="",this.afMgLoaded=u.b((new Date).getTime()),this.afImgLoaded=0,this.afSnapshotProperties="",this.afCoords="",this.afDeviceOrientation="",this.afCoordsClickAndLinkOfPage="",this.afBrowserFlag=0,this.afPlugins="",this.afFocus=1,this.afBrowserHookMask=0,this.afCharging=-1,this.afLevel=-1,this.afGeoPosition="0|0",this.timerFromScroll=null,this.networkInformation="unknown|unknown|0",this.frPrHash=""}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(e,[{key:"initialize",value:function(){var e=new Date;this.cookieManager.initialize(),this.setReferrers(),this.setDeepSession(),this.setCookieData(e),this.setNetworkInformation(),this.afMgLoaded=u.b(e.getTime()),this.afSnapshotProperties=this.domExtractor.getSnapshotProperties(this.config.propertiesDom),this.afBrowserFlag=this.domExtractor.getBrowserFlag(),this.afBrowserHookMask=this.domExtractor.getBrowserFlag(),this.afPlugins=u.f(this.domExtractor.getPlugins()),this.setEvents()}},{key:"generateHash",value:function(e,t){var n=new Date,o=this.domExtractor.getCoordsClickOfWindow(e),r=this.domExtractor.getRectOfElement(t),i=this.domExtractor.isTransparent(t);this.setCoords(t),this.setCoordsClickAndLinkOfPage(e,t);for(var a="",s=1;s<=48*Math.ceil((this.afBrowserFlag+1)/68);s++)if(0!=s%26&&(6!=s%26||0!=(s%26+5)%11)){a+=1===s?String.fromCharCode(98+s%26):"f";var c="";if(48<s)break;switch(s){case 1:c=this.afCookieData;break;case 3:c=this.afMgLoaded;break;case 4:c=u.b(n.getTime());break;case 7:c=u.f(o.x+"|"+o.y);break;case 8:c=u.b(this.getParameterFromLink(t,"wct")?1:0);break;case 9:c=u.b(r.left);break;case 10:c=u.b(this.miliSecondsFromScroll);break;case 11:c=u.b(r.top);break;case 12:c=u.f(this.getFnPt());break;case 13:c=u.f(r.width+"|"+r.height);break;case 15:c=this.afSnapshotProperties;break;case 17:c=u.b(this.afBrowserFlag);break;case 18:c=u.b(t["data-rel"]);break;case 19:c=this.afHref;break;case 20:c=this.afReferrer;break;case 21:c=this.afPrimaryReferrer;break;case 22:c=u.b(this.afDeepSession);break;case 23:c=u.f(this.afCoordsClickAndLinkOfPage);break;case 24:c=u.f(this.afDeviceOrientation);break;case 25:c=u.f(this.afGeoPosition);break;case 27:c=u.b(this.config.iframePlacementType);break;case 28:c=u.c(this.groupBitParams());break;case 29:c=u.f(this.afCoords);break;case 30:c=u.b(this.domExtractor.context.screen.width);break;case 31:c=u.b(this.domExtractor.context.screen.height);break;case 33:c=u.b(this.afImgLoaded);break;case 34:c=u.b(i);break;case 35:c=u.f(this.domExtractor.context.navigator.userAgent);break;case 36:c=this.afPlugins;break;case 37:break;case 38:c=u.f(this.domExtractor.context.navigator.platform);break;case 39:c=u.f(-n.getTimezoneOffset());break;case 40:c=u.f(this.afCharging+"|"+this.afLevel);break;case 41:c=u.f(this.domExtractor.context.screen.availWidth+"|"+this.domExtractor.context.screen.availHeight);break;case 42:c=u.f(this.networkInformation);break;case 43:c=u.b(this.domExtractor.getScreenX());break;case 44:c=u.b(this.domExtractor.getScreenY());break;case 45:c=u.b(this.afBrowserHookMask);break;case 46:break;case 47:c=u.b(this.domExtractor.isSupportHtml5());break;case 48:c=u.b(this.domExtractor.isOnLine())}a+=c}return encodeURIComponent(a)}},{key:"getFnPt",value:function(){return this.frPrHash}},{key:"setWidgetEvents",value:function(){var e=this;this.domExtractor.isAnyImageLoaded((function(){e.afImgLoaded||(e.afImgLoaded=(new Date).getTime())}))}},{key:"packReferrers",value:function(e,t,n){for(var o=[this.afPrimaryReferrer,this.afReferrer,this.afHref],r=[e,t,n],i=0,a=0,s=0;s<r.length;s++)i+=r[s],a+=o[s].length;if(a<=i)return o;for(var c,u=[0,0,0],f=[],l=0;l<o.length;l++)c=-1,8<=o[l].length&&(c=o[l].indexOf("/",8)),-1==c?(f[l]=o[l],o[l]=""):(f[l]=o[l].substr(0,c),o[l]=o[l].substr(c)),r[l]-=f[l].length;var h=f.slice(),d=[];for(h[0]==h[1]?d[0]="++":h[0]==h[2]&&(d[0]="::"),h[1]==h[2]&&(d[1]=";;");;){for(var g=0,p=0;p<o.length;p++)if(u[p]||o[p].length)u[p]||(g=1,f[p]+=o[p][0],o[p]=1==o[p].length?"":o[p].substr(1),r[p]--,r[p]||(u[p]=1));else{u[p]=1;for(var v=0;v<u.length;v++)if(!u[v]){r[v]+=r[p],r[p]=0;break}}if(!g)for(var m=0;m<o.length;m++)if(o[m].length){for(var x=0;x<r.length;x++)if(r[x]){u[m]=0,r[m]=r[x],r[x]=0,g=1;break}if(g)break}if(!g)break}for(var k in d)"string"!=typeof f[k]&&(f[k]=""),f[k]=f[k].split(h[k]).join(d[k]);return f}},{key:"groupBitParams",value:function(){var e=0;return this.domExtractor.isJavaEnabled()&&(e+=1),this.domExtractor.isFlashEnabled()&&(e+=2),this.domExtractor.isCookieEnabled()&&(e+=4),this.domExtractor.isLocalStorageEnabled()&&(e+=8),this.domExtractor.isSessionStorageEnabled()&&(e+=16),e}},{key:"setNetworkInformation",value:function(){var e=this.domExtractor.getNetwrokInformation();this.networkInformation=e.networkInformationType+"|"+e.networkInformationEffectiveType+"|"+e.networkInformationSaveData}},{key:"setCookieData",value:function(e){var t=Math.floor;this.afCookieData=e.getTime()+""+this.config.id+t(100*Math.random())+2*t(4*Math.random()),this.afCookieData+=1,this.afCookieData=u.b(u.e(this.afCookieData,16,1)),void 0===this.cookieManager.sharedCookieStorage[this.config.cookieDataKey]&&(this.cookieManager.sharedCookieStorage[this.config.cookieDataKey]=this.afCookieData,this.cookieManager.setCookie())}},{key:"setCoordsClickAndLinkOfPage",value:function(e,t){var n=this.domExtractor.getCoordsClickOfPage(e),o=this.domExtractor.getCoordsElementOfPage(t);this.afCoordsClickAndLinkOfPage=parseInt(n.x)+"|"+parseInt(n.y)+"|"+parseInt(o.x)+"|"+parseInt(o.y)}},{key:"setCoords",value:function(e){var t=this.domExtractor.getRectOfElement(e);this.afCoords=parseInt(t.height)+"|"+parseInt(t.width)+"|"+parseInt(t.left)+"|"+parseInt(t.top)}},{key:"setEvents",value:function(){var e=this;u.a(this.domExtractor.context.document,"focus",(function(){e.afFocus=1})),u.a(this.domExtractor.context.document,"blur",(function(){e.afFocus=0})),u.a(this.domExtractor.context.document,"scroll",(function(t){t||(t=e.domExtractor.context.event),t.target||(t.target=t.srcElement),e.miliSecondsFromScroll=0,e.domExtractor.context.clearInterval(e.timerFromScroll),e.timerFromScroll=e.domExtractor.context.setInterval((function(){e.miliSecondsFromScroll++}),100)})),this.domExtractor.getDeviceOrientation((function(t){e.afDeviceOrientation=t})),this.domExtractor.generateBatteryInfo((function(t,n){e.afCharging=t,e.afLevel=n})),this.domExtractor.generateCurrentGeoPosition((function(t){e.afGeoPosition=t.latitude+"|"+t.longitude})),this.config.useFingerprint&&("complete"===this.domExtractor.context.document.readyState?this.generateFingerprint():u.a(this.domExtractor.context.document,"DOMContentLoaded",this.generateFingerprint.bind(this)))}},{key:"generateFingerprint",value:function(){var e=this;try{d.a.get((function(t){e.frPrHash=d.a.x64hash128(t.map((function(e){return e.value})).join(),31)}))}catch(e){this.config.loggerEnabled&&this.domExtractor.context[this.config.logger+"Logger"].sendData("Antifraud Error fingerprint. Property: "+e.message+". "+e.stack)}}},{key:"setReferrers",value:function(){void 0===this.cookieManager.sharedCookieStorage.svspr?(this.afPrimaryReferrer=u.e(this.domExtractor.context.document.referrer,500),this.cookieManager.sharedCookieStorage.svspr=this.afPrimaryReferrer,this.cookieManager.setCookie()):this.afPrimaryReferrer=this.cookieManager.sharedCookieStorage.svspr,this.afReferrer=this.domExtractor.context.hasOwnProperty("referer")?this.domExtractor.context.referer:this.domExtractor.context.document.referrer,this.afHref=this.domExtractor.context.document.location.href;var e=this.config.afShortEnabled?this.packReferrers(70,50,50):this.packReferrers(300,300,300);this.afPrimaryReferrer=u.f(u.e(e[0],256)),this.afReferrer=u.f(u.e(e[1],256)),this.afHref=u.f(u.e(e[2],256))}},{key:"setDeepSession",value:function(){if(void 0!==this.cookieManager.sharedCookieStorage.svsds){this.afDeepSession=this.cookieManager.sharedCookieStorage.svsds;var e=this.config.modulePrefix+"SvsdsFlag";void 0===this.domExtractor.context[e]&&(this.afDeepSession++,this.domExtractor.context[e]=!0)}else this.afDeepSession=1;this.cookieManager.sharedCookieStorage.svsds=this.afDeepSession,this.cookieManager.setCookie()}},{key:"getParameterFromLink",value:function(e,t){var n=e.search;if(""===n)return null;for(var o=n.replace("?","").split("&"),r=0;r<o.length;r++)if(o[r].split("=")[0]===t)return o[r];return null}}]),e}(),p=function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.loggerEnabled=t.loggerEnabled,this.logger=t.logger,this.afShortEnabled=t.afShortEnabled,this.modulePrefix=t.modulePrefix,this.id=t.id,this.informerPrefix=t.informerPrefix||"MarketGid",this.typePrefix=t.typePrefix||"",this.disableCookies=t.disableCookies||!1,this.context=t.context||window,this.root=t.root||this.context.document,this.iframePlacementType=t.iframePlacementType||0,this.cookieDataKey=t.cookieDataKey||"TejndEEDj",this.propertiesDom=t.propertiesDom,this.useFingerprint=t.useFingerprint||!1},v=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};i(this,e),e.modulePrefix="Transit",this.options=t;var n=new p({loggerEnabled:!1,modulePrefix:e.modulePrefix,id:206,cookieDataKey:"TejndE37EDj206"});this.app=new g(n),this.afRealHref="",this.links=[],this.anura=new m.Anura({widgetPrefix:e.modulePrefix})}return function(e,t,n){t&&a(e.prototype,t),n&&a(e,n)}(e,[{key:"run",value:function(){this.options.anuraEnabled&&this.options.sendAnuraAtLoad&&this.sendAnura(this.options.showHash),this.app.initialize(),this.initAntiFraud()}},{key:"initAntiFraud",value:function(){var e=this;this.bindEvents(document.getElementsByTagName("a")),setTimeout((function(){return e.initAntiFraud()}),750)}},{key:"bindEvents",value:function(e){for(var t,n=this,o=0;o<e.length;o++)t=e[o],-1===this.links.indexOf(t)&&(this.links.push(t),/\/(ghits|[prt]+news|nr)\//i.test(t.href)&&(Object(u.a)(t,"mousedown",(function(e){n.linkMouseDown(e,this)})),Object(u.a)(t,"mouseup",(function(e){n.linkClick(e,this)})),Object(u.a)(t,"mouseover",(function(e){n.linkMouseOver(e,this)})),Object(u.a)(t,"mousemove",(function(e){n.linkMouseMove(e,this)})),Object(u.a)(t,"touchstart",(function(e){n.linkTouchStart(e,this)})),Object(u.a)(t,"touchend",(function(e){n.linkTouchEnd(e,this)}))));this.app.setWidgetEvents()}},{key:"bindAntiFraudParams",value:function(e,t){var n=t.href.indexOf("?k=f"),o=t.href.indexOf("&k=f"),r=t.href.indexOf("?");-1===n?-1!==o&&(t.href=t.href.substr(0,o)):t.href=t.href.substr(0,n),this.afRealHref=t.href,this.afActiveEl=t,t.href+=-1===n&&-1!==r?"&k=f":"?k=f",t.href+=this.app.generateHash(e,t),this.dispatchKEvent(t,"generated")}},{key:"dispatchKEvent",value:function(e,t){var n=document.createEvent("Events");n.initEvent(t,!0,!1),n.timeG=Date.now(),e.dispatchEvent(n)}},{key:"linkClick",value:function(e,t){var n=this;if(this.bindAntiFraudParams(e,t),this.options.anuraEnabled){var o=t.getAttribute("data-hash")||this.options.showHash;this.sendAnura(o)}setTimeout((function(){return n.reWriteHref()}),100)}},{key:"linkMouseOver",value:function(e,t){this.bindAntiFraudParams(e,t);var n=parseInt(t["data-rel"])?parseInt(t["data-rel"]):0;1!=n%2&&(t["data-rel"]=n+1)}},{key:"linkMouseMove",value:function(e,t){var n=parseInt(t["data-rel"])?parseInt(t["data-rel"]):0;1!=(n>>1)%2&&(t["data-rel"]=n+2)}},{key:"linkTouchStart",value:function(e,t){this.bindAntiFraudParams(e,t);var n=parseInt(t["data-rel"])?parseInt(t["data-rel"]):0;2&n>>1||(t["data-rel"]=n+4)}},{key:"linkTouchEnd",value:function(e,t){var n=parseInt(t["data-rel"])?parseInt(t["data-rel"]):0;4&n>>1||(t["data-rel"]=n+8)}},{key:"linkMouseDown",value:function(e,t){var n=parseInt(t["data-rel"])?parseInt(t["data-rel"]):0;8&n>>1||(t["data-rel"]=n+16)}},{key:"reWriteHref",value:function(){this.afRealHref&&this.afActiveEl&&(this.afActiveEl.href=this.afRealHref)}},{key:"sendAnura",value:function(e){this.anura.send(this.options.source,this.options.publisherSource,{composite:this.options.composite,resultUrl:this.options.sensorDomain+"/anura",showHash:e})}}]),e}(),m={Anura:function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.config=t||{},this.config.context=this.config.context||window,this.config.instance=this.config.instance||890857896,this.config.loggerEnabled=this.config.loggerEnabled||!1,e.REQUEST_URL="https://script.anura.io/request.js",e.RESULT_URL="https://script.anura.io/result.json"}return function(e,t,n){t&&c(e.prototype,t),n&&c(e,n)}(e,[{key:"send",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,r=this.config.context.document.createElement("script"),i={instance:this.config.instance,source:t};if(o){this.responseConfig=o;var a=this.config.widgetPrefix+"AnuraCallback";i.callback=a,this.config.context[a]=this.anuraCallback.bind(this)}""!==n&&(i.campaign=n),i=s(i),i+="&"+(new Date).getTime(),r.type="text/javascript",r.async=!0,r.src=e.REQUEST_URL+"?"+i,this.config.context.document.body.appendChild(r)}},{key:"anuraCallback",value:function(t){var n=this.config,o=this.responseConfig;if(t.getError()||!t.getId()&&!t.getExId())n.loggerEnabled&&n.context[n.widgetPrefix+"Logger"].sendData("Anura response error: "+t.getError());else{var r={instance:n.instance};t.getId()&&(r.id=encodeURIComponent(t.getId())),t.getExId()&&(r.exid=encodeURIComponent(t.getExId()));var i=new XMLHttpRequest;i.open("POST",e.RESULT_URL,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.onload=function(){var e;try{e=JSON.parse(this.response)}catch(e){return void(n.loggerEnabled&&n.context[n.widgetPrefix+"Logger"].sendData("Anura response cannot parse: "+this.response))}if(e.result){var t={composite:o.composite,showHash:o.showHash,result:e.result};(new Image).src=o.resultUrl+"?"+s(t)}else n.loggerEnabled&&n.context[n.widgetPrefix+"Logger"].sendData("Anura response wrong schema: "+this.response)},i.send(s(r))}}}]),e}()}}]);}),"./src/app/init.js":/*!*************************!*\
!*** ./src/app/init.js ***!
\*************************//*!no static exports found*/(function(module,exports,__webpack_require__){const Loader=__webpack_require__(/*!./loader*/"./src/app/loader.js");const loader=new Loader();if(loader.canLoad()){__webpack_require__(/*!../modules/ContextBlock.js*/"./src/modules/ContextBlock.js");window[`${"MarketGid"}${"C"}ContextBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Context']=`${"MarketGid"}${"C"}ContextBlock${734391}`;__webpack_require__(/*!../modules/MainBlock.js*/"./src/modules/MainBlock.js");window[`${"MarketGid"}${"C"}MainBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"]);window["MarketGidInfC734391"]['funcBlocks']['Main']=`${"MarketGid"}${"C"}MainBlock${734391}`;const logger=__webpack_require__(/*!../modules/DebugBlock.js*/"./src/modules/DebugBlock.js");logger.call(window["MarketGidInfC734391"],window["MarketGidInfC734391"]);__webpack_require__(/*!../modules/InternalExchangeBlock.js*/"./src/modules/InternalExchangeBlock.js");window[`${"MarketGid"}${"C"}InternalExchangeBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['InternalExchange']=`${"MarketGid"}${"C"}InternalExchangeBlock${734391}`;__webpack_require__(/*!../modules/ColorBlock.js*/"./src/modules/ColorBlock.js");window[`${"MarketGid"}${"C"}ColorBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"]);window["MarketGidInfC734391"]['funcBlocks']['Color']=`${"MarketGid"}${"C"}ColorBlock${734391}`;if(false){}
if(false){}
if(false){}
if(false){}
if(false){}
if(false){}
if(true){__webpack_require__(/*!../modules/RejectBlock.js*/"./src/modules/RejectBlock.js");window[`${"MarketGid"}${"C"}RejectBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Reject']=`${"MarketGid"}${"C"}RejectBlock${734391}`;}
if(true){__webpack_require__(/*!../modules/CriteoBlock.js*/"./src/modules/CriteoBlock.js");window[`${"MarketGid"}${"C"}CriteoBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Criteo']=`${"MarketGid"}${"C"}CriteoBlock${734391}`;}
if(false){}
__webpack_require__(/*!../modules/InternalExchangeLoggerBlock.js*/"./src/modules/InternalExchangeLoggerBlock.js");window[`${"MarketGid"}${"C"}InternalExchangeLoggerBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['InternalExchangeLogger']=`${"MarketGid"}${"C"}InternalExchangeLoggerBlock${734391}`;__webpack_require__(/*!../modules/ObserverBlock.js*/"./src/modules/ObserverBlock.js");window[`${"MarketGid"}${"C"}ObserverBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Observer']=`${"MarketGid"}${"C"}ObserverBlock${734391}`;if(true){__webpack_require__(/*!../modules/SendDimensionsBlock.js*/"./src/modules/SendDimensionsBlock.js");window[`${"MarketGid"}${"C"}SendDimensionsBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['SendDimensions']=`${"MarketGid"}${"C"}SendDimensionsBlock${734391}`;}
if(true){__webpack_require__(/*!../modules/RtbBlock.js*/"./src/modules/RtbBlock.js");window[`${"MarketGid"}${"C"}RtbBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"]);window["MarketGidInfC734391"]['funcBlocks']['Rtb']=`${"MarketGid"}${"C"}RtbBlock${734391}`;}
if(true){__webpack_require__(/*!../modules/DiscountBlock.js*/"./src/modules/DiscountBlock.js");window[`${"MarketGid"}${"C"}DiscountBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Discount']=`${"MarketGid"}${"C"}DiscountBlock${734391}`;}
if(false){}
if(false){}
if(false){}
if(false){}
if(false){}
if(true){__webpack_require__(/*!../modules/ContentPreviewBlock.js*/"./src/modules/ContentPreviewBlock.js");window[`${"MarketGid"}${"C"}ContentPreviewBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['ContentPreview']=`${"MarketGid"}${"C"}ContentPreviewBlock${734391}`;}
__webpack_require__(/*!../modules/GradientBlock.js*/"./src/modules/GradientBlock.js");window[`${"MarketGid"}${"C"}GradientBlock${734391}`].call(window["MarketGidInfC734391"],window["MarketGidInfC734391"],);window["MarketGidInfC734391"]['funcBlocks']['Gradient']=`${"MarketGid"}${"C"}GradientBlock${734391}`;if(false){}
let canLoad=true;const widgetIsLoadedOnce=`mg_loaded_${412698}_${734391}`;if(typeof window[widgetIsLoadedOnce]!=='undefined'&&!true){canLoad=false;}
if(canLoad){window[widgetIsLoadedOnce]=true;if(true){window[widgetIsLoadedOnce]=true;loader.lifeCycle.run();}}}}),"./src/app/loader.js":/*!***************************!*\
!*** ./src/app/loader.js ***!
\***************************//*!no static exports found*/(function(module,exports,__webpack_require__){const BaseBlock=__webpack_require__(/*!../modules/BaseBlock.js*/"./src/modules/BaseBlock.js");const LifeCycleBlock=__webpack_require__(/*!../modules/LifeCycleBlock.js*/"./src/modules/LifeCycleBlock.js");class Loader{canLoad(){const version=this._getVersion();if(version!=null){this._loadVersion(version);return true;}
return false;}
_getVersion(){const mgID=this._getMgID();const codes=this._getCodes();if(mgID!=null){if(parent.window.document.getElementById(codes[9])){return 9;}
if(parent.window.document.getElementById(codes[10])){return 10;}}else{const id=[this._getCodes(734391)[9],this._getCodes(734391)[9],this._getCodes(734391)[10],this._getCodes(734391)[10],].filter((id)=>document.getElementById(id))[0];if(id){return 11;}}
if(document.getElementById(codes[3])){return 3;}
if(document.getElementById(codes[4])){return 4;}
if(mgID!=null){if(parent.window.document.getElementById(codes[5])){return(false?undefined:6);}
if(parent.window.document.getElementById(codes[7])){return(false?undefined:8);}}else{const suffix=((false)?undefined:'G'+(false?undefined:96126));const id=["MarketGid"+'ScriptRoot'+suffix,'M'+412698+'ScriptRoot'+suffix,].filter((id)=>document.getElementById(id))[0];if(id){this.mgRootID=id;return 11;}}
if(document.getElementById(codes[1])){return 1;}
if(document.getElementById(codes[2])){return 2;}}
_loadVersion(version){if(+version<=4){this._loadVersion1To4(version);}else if(+version<=8){this._loadVersion5To8(version);}else if(+version<=10){this._loadVersion9To10(version);}else if(+version===11){if(this.mgRootID!=null){this._loadVersion11(this.mgRootID);}else{this._loadVersion11WithWidgetID();}}}
_loadVersion11WithWidgetID(){const uniqId=this._getUniqID();const uniqStr=uniqId!==''?('_'+uniqId):'';let widgetId=null;[[this._getCode(10,734391),734391],[this._getCode(10,734391),734391],[this._getCode(9,734391),734391],[this._getCode(9,734391),734391],].some(([divID,id])=>{if(document.getElementById(divID)){widgetId=id;return true;}});if(!window.document.getElementById(this._getCode(3,widgetId))||!window.document.getElementById(this._getCode(4,widgetId))){const rootID=[this._getCode(9,widgetId),this._getCode(10,widgetId),].filter((id)=>window.document.getElementById(id))[0];const id=this._getCode(3,widgetId+uniqStr)+uniqStr;this._setDivs({id,rootID,newRootID:rootID+uniqStr,});}
this._setPreloadBlockId(widgetId,uniqStr);const id=[this._getCode(3,widgetId+uniqStr)+uniqStr,this._getCode(4,widgetId+uniqStr)+uniqStr,].filter((id)=>document.getElementById(id))[0];this._loadApp({id,containerID:widgetId+uniqStr,version:11,});}
_loadVersion11(rootID){const id=this._getCode(1);this._setDivs({id,rootID,});const containerID=[0,0,0,96126,].filter((id)=>id)[0];this._loadApp({id,containerID,version:11,});}
_loadVersion1To4(version){const fallback=version<=2;const id=this._getCode(version);document.getElementById(id).innerHTML='';this._loadApp({id,version,fallback,containerID:0,});}
_loadVersion5To8(version){const id=this._getCode(1);const rootID=this._getCode(version);const context=parent.window;this._setDivs({id,rootID,context,});this._loadApp({id,version,context,});}
_loadVersion9To10(version){const uniqStr=true?('_'+this._getUniqID()):undefined;const rootID=this._getCode(version);const id="MarketGid"+'Composite'+734391+uniqStr;const context=parent.window;this._setPreloadBlockId(this._getMgID(),uniqStr);this._setDivs({id,rootID,context,newRootID:rootID+uniqStr,});this._loadApp({id,version,context,containerID:this._getMgID()+uniqStr,});}
_loadApp({id,context=window,fallback=false,containerID=this._getMgID(),uniqID=this._getUniqID(),version,}){this.widget=new BaseBlock(id,context,fallback,containerID,uniqID,version,);this.lifeCycle=new LifeCycleBlock(this.widget);window["MarketGidInfC734391"]=this.widget;}
_setDivs({rootID,id,context=window,newRootID=null,}){const rootDiv=context.document.getElementById(rootID);const widgetDiv=context.document.createElement('div');widgetDiv.id=id;rootDiv.appendChild(widgetDiv);if(newRootID){rootDiv.id=newRootID;}}
_setPreloadBlockId(rootID,uniqStr){const preloadID="MarketGid"+'Preload'+"C"+rootID;const preloadMID='M'+412698+'Preload'+"C"+rootID;const id=[preloadID,preloadMID,].filter((id)=>{try{return parent.window.document.getElementById(id);}catch(e){return window.document.getElementById(id);}})[0];if(id){try{parent.window.document.getElementById(id).id=id+uniqStr;}catch(e){window.document.getElementById(id).id=id+uniqStr;}}}
_getUniqID(){if(!this.uniqID){this.uniqID=window.uniqId||('00000'+Math.round(Math.random()*100000).toString(16)).slice(-5);}
return this.uniqID;}
_getCodes(id=null){const mgID=id||this._getMgID();return{1:"MarketGid"+(false?undefined:0),2:'M'+412698+'Widget'+(false?undefined:0),3:"MarketGid"+'Composite'+734391,4:'M'+412698+'Composite'+734391,5:"MarketGid"+'ScriptRoot'+(false?undefined:'G')+mgID,6:"MarketGid"+'ScriptRoot'+(false?undefined:'G')+mgID,7:'M'+412698+'ScriptRoot'+(false?undefined:'G')+mgID,8:'M'+412698+'ScriptRoot'+(false?undefined:'G')+mgID,9:"MarketGid"+'ScriptRoot'+"C"+mgID,10:'M'+412698+'ScriptRoot'+"C"+mgID,};}
_getCode(version,id=null){return this._getCodes(id)[version];}
_getMgID(){if(typeof this.mgID==='undefined'){if(document.getElementById('MG_ID')){this.mgID=document.getElementById('MG_ID').innerHTML;}else{this.mgID=null;}}
return this.mgID;}}
module.exports=Loader;}),"./src/main.js":/*!*********************!*\
!*** ./src/main.js ***!
\*********************//*!no static exports found*/(function(module,exports,__webpack_require__){if(true){__webpack_require__(/*!./modules/LoggerObjBlock.js*/"./src/modules/LoggerObjBlock.js");try{__webpack_require__(/*!./app/init.js*/"./src/app/init.js");}catch(error){window["MarketGidInfC734391"+'Logger'].sendData(error.message+'. '+error.stack);}}else{}}),"./src/modules/AbstractBlock.js":/*!**************************************!*\
!*** ./src/modules/AbstractBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports,__webpack_require__){class AbstractBlock{constructor(app){this.app=app;}
addHook(hooksGroupName,func,timeout=0){if(true){const isAsync=timeout!==0;this.app[hooksGroupName].push((params)=>{const promises=[];promises.push(new Promise((resolve,reject)=>{if(this.app.isAmp()||this.app.isTurbo()){this._addHookPromiseBody(hooksGroupName,params,isAsync,func,resolve,reject);}else{setTimeout(()=>{this._addHookPromiseBody(hooksGroupName,params,isAsync,func,resolve,reject);},0);}}));if(isAsync){promises.push(new Promise((resolve)=>{if(this.app.isAmp()||this.app.isTurbo()){resolve();}else{setTimeout(()=>{resolve();},timeout);}}));}
return Promise.race(promises);});}else{}}
_addHookPromiseBody(hooksGroupName,params,isAsync,func,resolve,reject){try{this.app.log(`${hooksGroupName} hook ${this.constructor.name} start`);if(isAsync){params=params||[];params.push(resolve);func.apply(this,params);}else{func.apply(this,params);resolve();}}catch(e){this.app.log(`${hooksGroupName} hook ${this.constructor.name} error: ${e.message}`);if(true){window["MarketGidInfC734391"+'Logger'].sendData(e.message);}
reject(e);}}}
module.exports=AbstractBlock;}),"./src/modules/AccidentalClicksBlock.js":/*!**********************************************!*\
!*** ./src/modules/AccidentalClicksBlock.js ***!
\**********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class AccidentalClicksBlock extends AbstractBlock{constructor(app){super(app);this.app.accidentalClicksHandler=this._onClick.bind(this);this.app.addClickHandler(this.app.clickHandlerList.accidentalClicks.handler,this.app.clickHandlerList.accidentalClicks.priority,);this.accidentalClicksDelay=(parseInt(this.app.globalSettings.accidental_clicks_delay)||5)*1000;this.accidentalClicksDisableTypes="wages".split(',');this.teasersClickTimes={};}
_onClick(element,event){if(event.button===2){return true;}
const hash=element.getAttribute('data-hash');const timer=(new Date()).getTime();if(this.app.isEnabledDoubleClick()&&typeof this.app.servicerData.dc==='undefined'){return true;}
if(typeof this.app.servicerData.dc!=='undefined'&&(hash in this.app.hashTimer)&&(timer-this.app.hashTimer[hash])<this.app.servicerData.dc){return true;}
switch(this.app.teaserData[hash]['coopType']){case 'w':if(this.accidentalClicksDisableTypes.indexOf('wages')==-1){return true;}
break;case 'e':if(this.accidentalClicksDisableTypes.indexOf('exchange')==-1){return true;}
break;case 'i':if(this.accidentalClicksDisableTypes.indexOf('int_exchange')==-1){return true;}
break;default:return true;}
if(this.teasersClickTimes.hasOwnProperty(hash)){if((new Date()).getTime()-this.teasersClickTimes[hash]<=this.accidentalClicksDelay){event.preventDefault();this.app.doubleClickType='accidental';this.app.doubleClickHandler(element);return false;}else{this.teasersClickTimes[hash]=(new Date()).getTime();return true;}}else{this.teasersClickTimes[hash]=(new Date()).getTime();return true;}};}
module.exports=AccidentalClicksBlock;}),"./src/modules/ActivateDelayBlock.js":/*!*******************************************!*\
!*** ./src/modules/ActivateDelayBlock.js ***!
\*******************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class ActivateDelayBlock extends AbstractBlock{constructor(app){super(app);this.app.clickableDelay=false;this.eventDisabled=false;this.addHook('afterLoadNewsHooks',this._init);this.app.activateDelayLinkHandler=this._onClick.bind(this);}
isCloseLink(element){return element.classList.contains('mg-close-button-div-inner');}
isWagesLink(element){if(!element){return false;}
const hash=element.getAttribute('data-hash');return this.app.teaserData[hash]&&this.app.teaserData[hash]['coopType']==='w';}
_init(){if(this.isInited){return;}
this.isInited=true;const t=parseInt(2000);if(false){}
this.app.addClickHandler(this.app.clickHandlerList.activateDelayLink.handler,this.app.clickHandlerList.activateDelayLink.priority,);this.app.context.setTimeout(()=>{this.eventDisabled=true;this.app.linksBlocked=false;this.app.clickableDelay=false;},t);}
_onClick(element,event){if(this.eventDisabled){return true;}
if(this.app.clickableDelay&&this.isWagesLink(element)||this.isCloseLink(element)){return true;}
if(typeof this.app.servicerData.dc!=='undefined'){return true;}
this.app.doubleClickType='delay';this.app.doubleClickHandler(element);this.app.linksBlocked=true;event.preventDefault();return false;}}
module.exports=ActivateDelayBlock;}),"./src/modules/AdChoiceBlock.js":/*!**************************************!*\
!*** ./src/modules/AdChoiceBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class AdChoiceBlock extends AbstractBlock{constructor(app){super(app);this.addHook('beforeLoadNewsHooks',this._initAdChoiceStyles);this.addHook('afterLoadNewsHooks',()=>{this._addAdChoiceIcons();});}
_addAdChoiceIcons(){const mglines=this.app.root.getElementsByClassName('mgline');for(let i=0;i<mglines.length;i++){((mgline)=>{const hash=mgline.getAttribute('data-i');if(!hash){return;}
if(this.app.teaserData[hash]&&!(this.app.teaserData[hash].other.criteo_pi&&this.app.teaserData[hash].other.criteo_piu)){return;}
const imgList=mgline.getElementsByClassName('mcimg');let img=false;for(let j=0;j<imgList.length;j++){if(imgList[j].tagName==='DIV'){img=imgList[j];break;}}
if(!img){return;}
const imageContainer=mgline.querySelector('.image-container');const advIcon=mgline.querySelector('img.mcimgad');const mglineInner=mgline.querySelector('.mgline-inner');const imageWithText=mgline.querySelector('.image-with-text');if(this.app.deviceType==='mobile'){const title=mgline.querySelector('.mctitle');title.style.marginTop='7px';}
const el=img.getElementsByClassName('criteo-informer');if(el.length===0){const criteo=this.app.context.document.createElement('a');criteo.className='criteo-informer';criteo.href=this.app.teaserData[hash].other.criteo_piu;criteo.target='_blank';criteo.rel='nofollow';criteo.style.top='2px';criteo.style.right='2px';criteo.style.backgroundImage='url('+this.app.teaserData[hash].other.criteo_pi+')';criteo.style.backgroundColor='transparent';if(advIcon&&this._isAdvIconOnTop(advIcon)){criteo.style.right=advIcon.offsetWidth+'px';}
if(false){}else if(mglineInner&&"smart-main"==='in-article-card-media'){mglineInner.appendChild(criteo);}else{imageWithText.appendChild(criteo);}}})(mglines[i]);}}
_isAdvIconOnTop(icon){if(icon){const top=this.app.context.getComputedStyle(icon).top.replace('px','');return(top>=0&&top<=5);}}
_initAdChoiceStyles(){const adChoiceStyles='\n'+
'div.mgline a.criteo-informer {\n'+
'width: 19px !important;\n'+
'height: 15px !important;\n'+
'display: block;\n'+
'opacity: 1;\n'+
'background: #ffffff;\n'+
'position: absolute;\n'+
'right: 3px;\n'+
'top: 3px;\n'+
'z-index: 150000;\n'+
'cursor: pointer;\n'+
'-moz-transition: all 0.3s ease-out;\n'+
'-o-transition: all 0.3s ease-out;\n'+
'-webkit-transition: all 0.3s ease-out;\n'+
'-ms-transition: all 0.3s ease-out;\n'+
'transition: all 0.3s ease-out;\n'+
'}\n'+
'div.mgline:hover a.criteo-informer {\n'+
'opacity: 1;\n'+
'}\n'+
'div.mcimg {\n'+
'position: relative;\n'+
'}\n'+
'div.image-with-price {\n'+
'position: relative;\n'+
'}\n'+
'.mgline .image-container {\n'+
'width: auto;\n'+
'margin: 0 auto;\n'+
'position: relative;\n'+
'}';this.app.stylesheetsBlock.add('adChoise',adChoiceStyles);};}
module.exports=AdChoiceBlock;}),"./src/modules/AdvertLinkBlock.js":/*!****************************************!*\
!*** ./src/modules/AdvertLinkBlock.js ***!
\****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class AdvertLinkBlock extends AbstractBlock{constructor(app){super(app);this.addHook('beforeLoadNewsHooks',this.refreshAdvertLink);this.addHook('afterLoadNewsHooks',this.initAdvertPopup);}
parseAdvertLink(template){const marker='<!--advertPrefix-->';const isMarkerInTheSecondPart=template.indexOf(marker)>(template.length/2);if(isMarkerInTheSecondPart){this.removeElements(this.app.root.getElementsByClassName('mg_addad'+this.app.id));}
if(isMarkerInTheSecondPart||this.app.countLoadBlocks===0){if(template.indexOf(marker)>=0){template=template.replace(marker,this.app.tickerPrefix);}else{template=this.app.tickerPrefix+template;}}
return template;};initAdvertPopup(){if(this.app.context.top!==this.app.context.self){return;}
if(this.app.widgetConstructorData.type==='banner'){return;}
if(this.app.widgetConstructorData.type==='exit-pop-up'||false){return;}
if(['tablet','desktop'].indexOf(this.app.deviceType)===-1){return;}
if(typeof this.app.context._mgDisableAdvertPopup!=='undefined'){return;}
if(false){}
const adEl=this.app.root.querySelector('.mg_addad'+this.app.id);if(adEl&&!false){adEl.addEventListener('click',(event)=>{this.showAdvertPopup(event);});}};showAdvertPopup(event){const srcEl=this.app.findClosest(event.target,'[data-advert-url]');if(!srcEl){return null;}
event.preventDefault();const root=(typeof this.app.realRoot!='undefined'?this.app.realRoot:this.app.root).parentNode;let container=root.querySelector('._mgAdvertPopup'+"C"+734391);let innerEl=root.querySelector('._mgPopupInner');var scrollTo=function(element,to,duration){if(duration<=0)return;const difference=to-element.scrollTop;const perTick=difference/duration*10;setTimeout(function(){element.scrollTop=element.scrollTop+perTick;if(element.scrollTop===to)return;scrollTo(element,to,duration-10);},10);};if(!container){const template="\n<style>\n    ._mgAdvertPopupC734391 {\n        position: fixed;\n        width: 100%;\n        height: 100%;\n        top: 0px;\n        left: 0px;\n        font-family: \"PTSans\", Arial, sans-serif;\n        font-size: 16px;\n        color: #696969;\n        line-height: 1.3;\n        z-index: 999;\n\n        -webkit-box-sizing: border-box;\n        -moz-box-sizing: border-box;\n        box-sizing: border-box;\n    }\n    ._mgAdvertPopupC734391 iframe {\n        width: 100%;\n        height: 377px;\n    }\n    ._mgAdvertPopupC734391 ._mgPopupShadow {\n        position: absolute;\n        top: 0px;\n        left: 0px;\n        width: 100%;\n        height: 100%;\n        background-color: #000;\n        opacity: 0.4;\n        -ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)\";\n        z-index: 1;\n    }\n    ._mgAdvertPopupC734391 ._mgPopupInner {\n        position: relative;\n        top: 50%;\n        margin-left: -375px;\n        left: 50%;\n        padding: 36px;\n        width: 750px;\n        background-color: #f8f8f8;\n        z-index: 2;\n\n        -webkit-box-sizing: border-box;\n        -moz-box-sizing: border-box;\n        box-sizing: border-box;\n    }\n    ._mgAdvertPopupC734391 ._mgPopupInner.fixPop {\n        position: absolute!important;\n        top: 30px!important;\n        margin-top: 0!important;\n    }\n    ._mgAdvertPopupC734391 ._mgClosePopup {\n        position: absolute;\n        overflow: hidden;\n        top: 5px;\n        right: 5px;\n        height: 21px;\n        width: 21px;\n        text-indent: -9999px;\n        background: url('data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALAgMAAADUwp+1AAAABGdBTUEAALGPC\/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEVmZmZmZmb\/\/\/+E1CFqAAAAAXRSTlMAQObYZgAAAAFiS0dEAmYLfGQAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAlSURBVAjXY3BgYGEQAEIWBgcGRkYGBgYXIBaA0CA+SBwkD1QHACp2Ae2BHO8IAAAAAElFTkSuQmCC') no-repeat center center;\n        background-color: transparent;\n    }\n    ._mgAdvertPopupC734391 ._mgClosePopup:hover {\n        background-color: #dfdfdf;\n    }\n<\/style>\n\n<div class=\"_mgAdvertPopupC734391\">\n    <div class=\"_mgPopupShadow\"><\/div>\n    <div class=\"_mgPopupInner\">\n        <a href=\"#\" class=\"_mgClosePopup\" title=\"Close\"><\/a>\n        <iframe frameborder=\"0\"><\/iframe>\n    <\/div>\n<\/div>\n";const elements=this.app.htmlToElements(template);for(let i=0;i<elements.length;i++){root.appendChild(elements[i]);}
container=root.querySelector('._mgAdvertPopup'+"C"+734391);if(!container){return false;}
innerEl=container.querySelector('._mgPopupInner');const shadowEl=container.querySelector('._mgPopupShadow');innerEl.style.marginTop=-(innerEl.clientHeight/2)+'px';shadowEl.addEventListener('click',(event)=>{if(null==this.app.findClosest(event.target,'._mgPopupInner')){container.setAttribute('style','display: none');}});const closeButton=container.querySelector('._mgClosePopup');if(closeButton){closeButton.addEventListener('click',function(event){event.preventDefault();container.setAttribute('style','display: none');});}
const iframe=container.querySelector('iframe');iframe.setAttribute('src',srcEl.getAttribute('data-advert-url'));this.app.addEvent(this.app.context,'message',(e)=>{const key=e.message?'message':'data';const data=JSON.parse(e[key]);if(typeof data.target=='undefined'||data.target!=='correct-popup-height'){return true;}
iframe.style.height=data.height+'px';if(data.safariIPad){if(data.keyboard){scrollTo(this.app.context.document.body,0,500);innerEl.classList.add('fixPop');}else{innerEl.classList.remove('fixPop');}}
innerEl.style.marginTop=-(innerEl.clientHeight/2)+'px';},false);}
container.setAttribute('style','display: block');if(innerEl.className.indexOf('fixPop')>=0){scrollTo(this.app.context.document.body,0,500);}};refreshAdvertLink(){const adLink=this.getAdvertLinkValue();let hasAdblock=false;const changeStylesUnderAdblock=true;if(false){}
if(adLink||(hasAdblock&&changeStylesUnderAdblock)){try{let adLinkBlock=this.getAdLinkBlock().replace(/%id/g,this.app.id);let widgetTitle='';if(hasAdblock){widgetTitle=this.app.getTranslation('[WIDGET_TITLE_PROMOTED_CONTENT]');}else{widgetTitle=this.app.getTranslation("");}
const browserLang=navigator.language.substr(0,2);const lang=["es","vi","hi","ru","uk"].indexOf(browserLang)!==-1?browserLang:'';if(false){}
adLinkBlock=adLinkBlock.replace('%WIDGET_TITLE%',widgetTitle);adLinkBlock=adLinkBlock.replace('%lang/',(lang===''?'':lang+'/'));adLinkBlock=adLinkBlock.replace(/\((\'|\")?\/\//g,'($1'+this.app.webProtocol+'//');adLinkBlock=adLinkBlock.replace('src="//','src="'+this.app.webProtocol+'//');adLinkBlock=adLinkBlock.replace('href="//','href="'+this.app.webProtocol+'//');let utm="";if(utm===''){utm=this.app.subnetMirrorsUtm;let domain=this.app.context.document.location.hostname;if(this.app.context!==this.app.context.top){const match=this.app.context.document.referrer.match(/:\/\/(.[^/]+)/);if(match!==null){domain=match[1];}}
utm=utm.replace('{domain}',domain);}
this.app.tickerPrefix=adLinkBlock.replace(/%utm/,utm);const container=document.createElement('div');if(!(hasAdblock&&changeStylesUnderAdblock)){if(adLink===1){return;}
container.innerHTML=this.app.tickerPrefix;if(adLink===2){this.removeElements(container.getElementsByClassName('mg_addad'+this.app.id));}
if(adLink===3){this.removeElements(container.getElementsByClassName('mghead'));this.removeElements(container.getElementsByClassName('mghead'+this.app.id));}}else{container.innerHTML=this.app.tickerPrefix;}
this.app.tickerPrefix=container.innerHTML;}catch(e){}}else{this.app.tickerPrefix='';}};getAdvertLinkValue(){return parseInt(3);};removeElements(elements){for(let i=0;i<elements.length;i++){elements[i].parentNode.removeChild(elements[i]);}};getAdLinkBlock(){const type=false?undefined:"smart";const subType=false?undefined:"smart-main";let nameFile="marketgid";const config={"in-article":{"in-article-impact":"mgid-in-article-impact"}};if(typeof config!=='undefined'){if(typeof config[type]!=='undefined'){if(typeof config[type]['*']!=='undefined'){nameFile=config[type]['*'];}
if(typeof config[type][subType]!=='undefined'){nameFile=config[type][subType];}}}
if(typeof Object({"marketgid":"<div class=\"mgheader\">\n\t<span class=\"mghead\">%WIDGET_TITLE%</span>\n\t<div class=\"mg_addad%id\">\n\t\t<a href=\"#\" style=\"display: flex !important; align-items: center; justify-content: center;\">\n\t\t\t<object width=\"58\" height=\"26\">\n\t\t\t\t<a style=\"position: static !important; margin-right: 3px !important; width: 55px; height: 26px\"\n\t\t\t\t   href=\"https://widgets.mgid.com/%lang/%utm%id\" target=\"_blank\">\n\t\t\t\t\t<img style=\"display: inline-block; width: 55px !important; height: 26px !important;\n\t\t\t\t\tmargin: 0 !important;\" src=\"https://cdn.mgid.com/images/logos/MGID_plus.svg\"\n\t\t\t\t\t     alt=\"Mgid\" title=\"Mgid\"/>\n\t\t\t\t</a>\n\t\t\t</object>\n\t\t\t<object width=\"20\" height=\"26\">\n\t\t\t\t<a style=\"position: static !important; margin: 0 !important; width: 20px; height: 26px\"\n\t\t\t\t   href=\"https://www.mgid.com/services/privacy-policy\" target=\"_blank\">\n\t\t\t\t\t<img style=\"display: inline-block; width: 20px !important; height: 20px !important;\n\t\t\t\t\tmargin: 0 !important;\" src=\"https://cdn.mgid.com/images/logos/Adchoices.svg\" alt=\"Mgid\"\n\t\t\t\t\t     title=\"Mgid\"/>\n\t\t\t\t</a>\n\t\t\t</object>\n\t\t</a>\n\t</div>\n</div>\n<style>\n\t.mghead {\n        font-weight: 700;\n        font-size: 14px;\n        text-transform: uppercase;\n        text-align: left;\n        font-family: Verdana, sans-serif;\n        color: #4555a7;\n        display: block;\n        margin: 5px 0 0px 5px;\n        float: left;\n    }\n\n    .mgheader {\n        display: table !Important;\n        width: 100% !important;\n        margin-bottom: 0px;\n    }\n\n    div.mg_addad%id {\n        text-align: right;\n        opacity: 0.5;\n        margin-right: 10px;\n        display: inline-block;\n        float: right;\n    }\n\n    div.mg_addad%id:hover {\n        opacity: 1\n    }\n\n    div.mg_addad%id a {\n        color: #000000;\n        font: normal 10px Myriad Pro;\n        text-decoration: none;\n    }\n\n    div.mg_addad%id img {\n        margin: 0px -5px 0px 0px;\n        border: 0px;\n        float: none;\n        padding: 0px;\n    }\n\tdiv.mg_addad%id object a {\n\t\theight: 26px;\n\t\tdisplay: flex;\n\t\talign-items: center;position: static !important; margin: 0 !important;\n\t}\n</style>\n"})[nameFile]==='undefined'){nameFile="marketgid";}
return Object({"marketgid":"<div class=\"mgheader\">\n\t<span class=\"mghead\">%WIDGET_TITLE%</span>\n\t<div class=\"mg_addad%id\">\n\t\t<a href=\"#\" style=\"display: flex !important; align-items: center; justify-content: center;\">\n\t\t\t<object width=\"58\" height=\"26\">\n\t\t\t\t<a style=\"position: static !important; margin-right: 3px !important; width: 55px; height: 26px\"\n\t\t\t\t   href=\"https://widgets.mgid.com/%lang/%utm%id\" target=\"_blank\">\n\t\t\t\t\t<img style=\"display: inline-block; width: 55px !important; height: 26px !important;\n\t\t\t\t\tmargin: 0 !important;\" src=\"https://cdn.mgid.com/images/logos/MGID_plus.svg\"\n\t\t\t\t\t     alt=\"Mgid\" title=\"Mgid\"/>\n\t\t\t\t</a>\n\t\t\t</object>\n\t\t\t<object width=\"20\" height=\"26\">\n\t\t\t\t<a style=\"position: static !important; margin: 0 !important; width: 20px; height: 26px\"\n\t\t\t\t   href=\"https://www.mgid.com/services/privacy-policy\" target=\"_blank\">\n\t\t\t\t\t<img style=\"display: inline-block; width: 20px !important; height: 20px !important;\n\t\t\t\t\tmargin: 0 !important;\" src=\"https://cdn.mgid.com/images/logos/Adchoices.svg\" alt=\"Mgid\"\n\t\t\t\t\t     title=\"Mgid\"/>\n\t\t\t\t</a>\n\t\t\t</object>\n\t\t</a>\n\t</div>\n</div>\n<style>\n\t.mghead {\n        font-weight: 700;\n        font-size: 14px;\n        text-transform: uppercase;\n        text-align: left;\n        font-family: Verdana, sans-serif;\n        color: #4555a7;\n        display: block;\n        margin: 5px 0 0px 5px;\n        float: left;\n    }\n\n    .mgheader {\n        display: table !Important;\n        width: 100% !important;\n        margin-bottom: 0px;\n    }\n\n    div.mg_addad%id {\n        text-align: right;\n        opacity: 0.5;\n        margin-right: 10px;\n        display: inline-block;\n        float: right;\n    }\n\n    div.mg_addad%id:hover {\n        opacity: 1\n    }\n\n    div.mg_addad%id a {\n        color: #000000;\n        font: normal 10px Myriad Pro;\n        text-decoration: none;\n    }\n\n    div.mg_addad%id img {\n        margin: 0px -5px 0px 0px;\n        border: 0px;\n        float: none;\n        padding: 0px;\n    }\n\tdiv.mg_addad%id object a {\n\t\theight: 26px;\n\t\tdisplay: flex;\n\t\talign-items: center;position: static !important; margin: 0 !important;\n\t}\n</style>\n"})[nameFile];}}
module.exports=AdvertLinkBlock;}),"./src/modules/AmpRenderBlock.js":/*!***************************************!*\
!*** ./src/modules/AmpRenderBlock.js ***!
\***************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class AmpRenderBlock extends AbstractBlock{constructor(app){super(app);this.ampResized=[];if(this.app.isAmp()){this.addHook('afterInitHooks',this._ampRenderStart);this.addHook('afterLoadNewsHooks',this._ampResizeHook);}}
_ampRenderStart(){this.app.context.context.renderStart({width:this.app.precalcRect.width,height:this.app.precalcRect.height});}
_askAmpForResize(){const widgetRect=this.app.root.getBoundingClientRect();this.app.context.context.requestResize(widgetRect.width,widgetRect.height).then(()=>{this.ampResizeDenied=false;this._updateSizeStatement(widgetRect.width,widgetRect.height);},()=>{this.ampResizeDenied=true;},);}
_ampResizeHook(){setTimeout(()=>{this._askAmpForResize();},100);if(typeof this.ampResizeInterval==='undefined'){this.ampResizeInterval=setInterval(()=>{const widgetRect=this.app.root.getBoundingClientRect();if(typeof this.ampResizeDenied!=='undefined'&&this.ampResizeDenied){this._askAmpForResize();}else if(Math.floor(widgetRect.width)!==this.ampResized.width||Math.floor(widgetRect.height)!==this.ampResized.height){this._askAmpForResize();}},100);}}
_updateSizeStatement(width,height){this.ampResized.width=width;this.ampResized.height=height;}}
module.exports=AmpRenderBlock;}),"./src/modules/AntifraudBlock.js":/*!***************************************!*\
!*** ./src/modules/AntifraudBlock.js ***!
\***************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");const{Config,AntiFraud,Integration}=__webpack_require__(/*!@mgid/antifraud-hash*/"./node_modules/@mgid/antifraud-hash/dist/main.js");class AntifraudBlock extends AbstractBlock{constructor(app){super(app);const config=new Config({loggerEnabled:true,logger:"MarketGidInfC734391",afShortEnabled:true,modulePrefix:"MarketGidC",informerPrefix:"MarketGid",typePrefix:"C",disableCookies:false,id:this.app.id,context:this.app.context,root:this.app.root,iframePlacementType:this.app.iframePlacementType,propertiesDom:"{\"props\":{\"3\":\"window.close\",\"13\":\"window.navigator.taintEnabled\",\"16\":\"window.EventTarget.toString\",\"18\":\"window.navigator.appName\",\"20\":\"window.ApplicationCacheErrorEvent\",\"22\":\"window.clearImmediate\",\"23\":\"window.CryptoKey\",\"25\":\"window.external.AddSearchProvider\",\"32\":\"window.chrome.search\",\"33\":\"window.clientInformation.vendor\",\"40\":\"window.TouchEvent\",\"43\":\"window.DeviceMotionEvent\",\"46\":\"window.navigator.webkitGetGamepads\",\"49\":\"window.Notification\",\"56\":\"window.BeforeLoadEvent\",\"57\":\"window.Entity\",\"72\":\"window.AnalyserNode\",\"74\":\"window.ArrayBufferView\",\"76\":\"window.HTMLBaseFontElement\",\"86\":\"window.self.SharedWorker\",\"87\":\"window.Touch\",\"91\":\"window.DOMException.ABORT_ERR\",\"92\":\"window.Set\",\"98\":\"window.document.createTouch\",\"138\":\"window.NaN\",\"139\":\"window.document.prepend\",\"163\":\"window.SiteBoundCredential\",\"165\":\"window.CanvasCaptureMediaStreamTrack\"},\"rules\":{\"contains\":{\"3\":[\"({command:\\\"window.close.self\\\"})\"],\"18\":[\"MicrosoftInternetExplorer\"],\"33\":[\"GoogleInc.\"]},\"not_empty\":[13,16,18,20,22,23,25,32,40,43,46,49,56,57,76,86,87,91,92,98,138,139,163,165],\"undefined\":[25,46,72,74,87]}}",useFingerprint:false,});this.antifraud=new AntiFraud(config);this.anura=new Integration.Anura({widgetPrefix:"MarketGid"+'InfC'+this.app.getWidgetValue('id',734391),context:this.app.context,loggerEnabled:true,});this.app.allowReturnParams=false;this.addHook('afterLoadNewsHooks',this.hangAFListener.bind(this));this.addHook('afterInitHooks',this.antifraud.initialize.bind(this.antifraud));}
getAntifraudParams(event,element){if(false===this.app.allowReturnParams){return '';}
element=element||this.app.context.document.createElement('A');event=event||this.app.context.document.createEvent('MouseEvent');return this.antifraud.generateHash(event,element);}
reWriteHref(event,element){if(!event)event=this.app.context.event;if(!event.target){event.target=event.srcElement;}
const hash=element['data-hash']||element.getAttribute('data-hash');if(typeof(hash)=='undefined'||element.tagName!=='A'){return;}
element[this.app.hrefAttr]=this.app.prepareNiceHref(hash,event,element);}
linkMouseDown(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
let v=0;if(parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C'])){v=parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C']);}
if(!((v>>1)&(16>>1))){element['\x64\x61\x74\x61\x2d\x72\x65\x6C']=v+16;}
this.reWriteHref(event,element);};linkClick(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
this.reWriteHref(event,element);const hash=element.getAttribute('data-hash');if(this.app.teaserData[hash]&&['w','e'].indexOf(this.app.teaserData[hash]['coopType'])>-1){if(this.app.getWidgetValue('afCheckForensiq',false)){this.addForesiqScript(hash);}
if((this.app.servicerData.anura||0)>this.app.random(1,100)){const uid=this.app.getWidgetValue('goodsPartUid',57077301)||this.app.getWidgetValue('newsPartUid',57077301);this.anura.send(this.getSourceId(hash,uid),this.getQueryParam(element,'pubsrcid'),{composite:this.app.getWidgetValue('id',734391),showHash:hash,resultUrl:'https://'+"c.mgid.com"+'/anura',},);}}
this.app.context.setTimeout(()=>{this.app.allowReturnParams=false;this.reWriteHref(event,element);},100);}
addForesiqScript(hash){const sourceId=this.getSourceId(hash,this.app.getWidgetValue('id',734391));const scriptForensiq=this.app.context.document.createElement('script');scriptForensiq.src=this.app.webProtocol+
'//c.securepaths.com/js/implement-r.js?sl=1&org=5reyucracrajubrac4um&p='+
sourceId+
'&a=0&cmp='+
this.app.teaserData[hash][1]+
'&rt=click';this.app.context.document.body.appendChild(scriptForensiq);}
getSourceId(hash,id){if(true){const realNewsId=false?undefined:'ni';const realGoodsId=true?this.app.getWidgetValue('goodsPartUid',57077301):undefined;return this.app.teaserData[hash]['coopType']==='e'?realNewsId:realGoodsId;}
return false?undefined:id;};linkMouseOver(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
let v=0;if(parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C'])){v=parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C']);}
if(v%2!==1){element['\x64\x61\x74\x61\x2d\x72\x65\x6C']=v+1;}
this.reWriteHref(event,element);}
linkMouseMove(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
let v=0;if(parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C'])){v=parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C']);}
if((v>>1)%2!==1){element['\x64\x61\x74\x61\x2d\x72\x65\x6C']=v+2;}
this.reWriteHref(event,element);}
linkTouchStart(event){this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
let v=0;if(parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C'])){v=parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C']);}
if(!((v>>1)&(4>>1))){element['\x64\x61\x74\x61\x2d\x72\x65\x6C']=v+4;}
this.reWriteHref(event,element);}
linkTouchEnd(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
this.app.allowReturnParams=true;let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);if(null==element){return;}}
if(!element.hasAttribute('data-hash')){return;}
let v=0;if(parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C'])){v=parseInt(element['\x64\x61\x74\x61\x2d\x72\x65\x6C']);}
if(!((v>>1)&(8>>1))){element['\x64\x61\x74\x61\x2d\x72\x65\x6C']=v+8;}
this.reWriteHref(event,element);}
getQueryParam(element,urlParam){const vars=element.search.substring(1).split('&');let value='';for(let i=0;i<vars.length;i++){const pair=vars[i].split('=');if(pair[0]===urlParam){value=decodeURIComponent(pair[1]);break;}}
return value;}
hangAFListener(element){if(typeof element=='undefined'){element=this.app.root;}
this.app.addEvent(element,'mousedown',this.linkMouseDown.bind(this));this.app.addEvent(element,'mouseup',this.linkClick.bind(this));this.app.addEvent(element,'mouseover',this.linkMouseOver.bind(this));this.app.addEvent(element,'mousemove',this.linkMouseMove.bind(this));this.app.addEvent(element,'touchstart',this.linkTouchStart.bind(this));this.app.addEvent(element,'touchend',this.linkTouchEnd.bind(this));this.antifraud.setWidgetEvents();}}
module.exports=AntifraudBlock;}),"./src/modules/AntifraudStatisticsBlock.js":/*!*************************************************!*\
!*** ./src/modules/AntifraudStatisticsBlock.js ***!
\*************************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AES=__webpack_require__(/*!./cryptography/aes-256-cbc*/"./src/modules/cryptography/aes-256-cbc.js");const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class Tools{static getClosestDistanceInSquare(point,square){const left=point.x-square.left;const top=point.y-square.top;const right=square.width-left;const bottom=square.height-top;return Math.min(left,top,right,bottom);}
static getInnerElementPercent(element,clientSize){const rect=element.getBoundingClientRect();const elementArea=Math.abs(rect.width*rect.height);let innerWidth=rect.width;let innerHeight=rect.height;if(rect.top<0){innerHeight+=rect.top;}
if(rect.left<0){innerWidth+=rect.left;}
const bottom=rect.top+rect.height;if(clientSize.height<bottom){innerHeight-=bottom-clientSize.height;}
const right=rect.left+rect.width;if(clientSize.width<right){innerWidth-=right-clientSize.width;}
innerHeight=innerHeight>0?innerHeight:0;innerWidth=innerWidth>0?innerWidth:0;const innerArea=innerWidth*innerHeight;return innerArea*100/elementArea;}
static findTeaserElement(element){return self.findClosest(element,'div[data-i]');}
static findImageElementOfTeaser(teaserElement){return teaserElement.querySelector('img.mcimg');}
static getViewportSize(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),};}}
class Parameters{constructor(){this.action='undefined';this.isTabActive=true;this.clickTime=0;this.lastScrollTime=0;this.lastPageResizeTime=0;this.lastWidgetResizeTime=0;this.widgetCoordinateX=0;this.widgetCoordinateY=0;this.tapRadiusX=0;this.tapRadiusY=0;this.isHidden=false;this.clickToBorderDistance=0;this.teaserCoordinateX=0;this.teaserCoordinateY=0;this.teaserWidth=0;this.teaserHeight=0;this.imageWidth=0;this.imageHeight=0;this.teaserViewportPercent=0;this.widgetOnLoadDisposition=false;this.clickCoordinateX=0;this.clickCoordinateY=0;this.compileTime=1631543574;}}
class EventHandler{constructor(app,parameters){this.app=app;this.parameters=parameters;this.initialWidgetCoordinates={x:0,y:0};}
onWidgetLoadEvent(){const boundary=this.app.root.getBoundingClientRect();this.initialWidgetCoordinates={x:boundary.left+window.scrollX,y:boundary.top+window.scrollY,};}
onContextFocusEvent(){this.parameters.isTabActive=true;}
onContextBlurEvent(){this.parameters.isTabActive=false;}
onWidgetClickEvent(clickedElement,event){this.setWidgetCoordinates();this.setClickCoordinates(event);this.parameters.action='click';this.parameters.clickTime=this.app.getCurrentTimestamp();this.parameters.widgetOnLoadDisposition=this.getWidgetDisposition();const teaserElement=Tools.findTeaserElement(clickedElement);if(teaserElement){const teaserBoundary=teaserElement.getBoundingClientRect();this.parameters.isHidden=!teaserElement.offsetParent;this.parameters.teaserCoordinateX=teaserBoundary.left;this.parameters.teaserCoordinateY=teaserBoundary.top;this.parameters.teaserWidth=teaserBoundary.width;this.parameters.teaserHeight=teaserBoundary.height;this.parameters.clickToBorderDistance=Tools.getClosestDistanceInSquare({x:event.clientX,y:event.clientY,},teaserBoundary);this.parameters.teaserViewportPercent=Tools.getInnerElementPercent(teaserElement,Tools.getViewportSize());const image=Tools.findImageElementOfTeaser(teaserElement);if(image){this.setImageProperties(image);}}}
onContextScrollEvent(){this.parameters.lastScrollTime=this.app.getCurrentTimestamp();}
onContextResizeEvent(){this.parameters.lastPageResizeTime=this.app.getCurrentTimestamp();}
onRootResizeEvent(){this.parameters.lastWidgetResizeTime=this.app.getCurrentTimestamp();}
onRootTouchEndEvent(event){const tap=event.changedTouches.item(0);if(tap){this.parameters.tapRadiusX=tap.radiusX;this.parameters.tapRadiusY=tap.radiusY;}}
setWidgetCoordinates(){const boundary=this.app.root.getBoundingClientRect();this.parameters.widgetCoordinateX=boundary.left;this.parameters.widgetCoordinateY=boundary.top;}
setImageProperties(image){const imageRect=image.getBoundingClientRect();this.parameters.imageWidth=imageRect.width;this.parameters.imageHeight=imageRect.height;}
getWidgetDisposition(){return this.parameters.widgetCoordinateX+window.scrollX!==this.initialWidgetCoordinates.x||this.parameters.widgetCoordinateY+window.scrollY!==this.initialWidgetCoordinates.y;}
setClickCoordinates(event){if(event.clientX||event.clientY){this.parameters.clickCoordinateX=event.clientX;this.parameters.clickCoordinateY=event.clientY;}else if(event.touches&&event.touches[0]){this.parameters.clickCoordinateX=event.touches[0].clientX;this.parameters.clickCoordinateY=event.touches[0].clientY;}}}
class Statistics{constructor(protocol,parameters){this.protocol=protocol;this.parameters=parameters;}
send(showHash,rid){const xhr=new XMLHttpRequest();xhr.open('POST',this.protocol+'//'+"c.mgid.com"+'/aws',true);xhr.setRequestHeader('Content-Type','application/json');xhr.send(btoa(JSON.stringify({rid,showHash,parameters:this.getEncodedParameters(showHash,rid)})));}
getEncodedParameters(showHash,rid){const CryptoJSAesJson={'stringify':function(cipherParameters){const j={ct:btoa(cipherParameters.ciphertext.toString())};if(cipherParameters.iv){j.iv=cipherParameters.iv.toString();}
if(cipherParameters.salt){j.s=btoa(cipherParameters.salt.toString())+Math.random().toString(36).slice(-2);}
return JSON.stringify(j).replace(/\s/g,'');},};return btoa(AES.encrypt(JSON.stringify(this.parameters),showHash+rid,{format:CryptoJSAesJson}).toString());}}
class AntifraudStatisticsBlock extends AbstractBlock{constructor(app){super(app);this.parameters=new Parameters();this.statistics=new Statistics(this.app.webProtocol,this.parameters);this.eventHandler=new EventHandler(this.app,this.parameters);this.app.onAntifraudStatisticsClickHandler=this.clickHandler.bind(this);this.addHook('afterLoadNewsHooks',this.initAntifraudStatistics.bind(this));}
initAntifraudStatistics(){this.eventHandler.onWidgetLoadEvent();this.app.addEvent(this.app.context,'focus',()=>this.eventHandler.onContextFocusEvent());this.app.addEvent(this.app.context,'blur',()=>this.eventHandler.onContextBlurEvent());this.app.addEvent(this.app.context,'scroll',()=>this.eventHandler.onContextScrollEvent());this.app.addEvent(this.app.context,'resize',()=>this.eventHandler.onContextResizeEvent());this.app.addEvent(this.app.root,'resize',()=>this.eventHandler.onRootResizeEvent());this.app.addEvent(this.app.root,'touchend',(event)=>this.eventHandler.onRootTouchEndEvent(event));this.app.addClickHandler(this.app.clickHandlerList.onAntifraudStatisticsClick.handler,this.app.clickHandlerList.onAntifraudStatisticsClick.priority,);};clickHandler(element,event){this.eventHandler.onWidgetClickEvent(element,event);this.statistics.send(element.getAttribute('data-hash'),this.app.servicerData.rid);return true;};}
module.exports=AntifraudStatisticsBlock;}),"./src/modules/BaseBlock.js":/*!**********************************!*\
!*** ./src/modules/BaseBlock.js ***!
\**********************************//*!no static exports found*/(function(module,exports,__webpack_require__){class BaseBlock{constructor(rootId,context,fallback,containerId,uniqId,versionWidget){this.BaseBlockClass=BaseBlock;this.app=this;this.context=context;this.root=this.context.document.getElementById(rootId);this.containerId=containerId;this.uniqId=uniqId;this.fallbackMode=fallback;this.page=1;this.iteration=1;this.adlink='';this.template='';this.templateContent='';this.id=734391;this.originalId=734391;this.pvid=0;this.muid='';this.afterPreRenderNewsHooks=[];this.beforeInjectScriptHooks=[];this.beforeInjectTemplateHooks=[];this.beforeLoadNewsHooks=[];this.afterLoadNewsHooks=[];this.afterInjectScriptHooks=[];this.afterPrepareCappingDataHooks=[];this.afterSendCappingHooks=[];this.afterInitHooks=[];this.blocksAddress='';this.tickerPrefix='';this.countLoadBlocks=0;this.preTemplate='';this.postTemplate='';this.banners={};this.loadedDefault=false;this.teaserHashes={};this.teaserData={};this.json=[];this.servicerData={};this.childWidgetsData=JSON.parse("{\"735286\":{\"childId\":735286,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"735332\":{\"childId\":735332,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"735333\":{\"childId\":735333,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"764714\":{\"childId\":764714,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"748410\":{\"childId\":748410,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[]},\"1199162\":{\"childId\":1199162,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[]}}");this.versionWidget=versionWidget;this.sspPerformance=10>=Math.ceil(Math.random()*100);this.doubleClickType='';this.doubleClickCheckId=0;this.doubleClickPercent=0;this.widgetConstructorData=JSON.parse("{\"cols\":1,\"font\":\"verdana\",\"kind\":\"wages\",\"rows\":15,\"type\":\"smart\",\"media\":{\"opacity\":80,\"duration\":1,\"minWidth\":250,\"position\":\"bottom\",\"minHeight\":150,\"videoOverlay\":1},\"mgbox\":{\"styles\":{\"maxWidth\":1220}},\"price\":false,\"theme\":\"#2b397b\",\"width\":\"100%\",\"button\":1,\"mcdesc\":{\"styles\":{\"font\":\"verdana\",\"color\":\"#666666\",\"display\":\"block\",\"fontSize\":11,\"fontStyle\":\"normal\",\"textAlign\":\"center\",\"fontWeight\":\"normal\",\"textDecoration\":\"none\"}},\"mgline\":{\"styles\":{\"borderColor\":\"#ffffff\",\"borderStyle\":\"solid\",\"borderWidth\":0}},\"imgType\":\"super\",\"mcimage\":{\"size\":200,\"styles\":{\"padding\":0,\"borderColor\":\"#ffffff\",\"borderStyle\":\"solid\",\"borderWidth\":0},\"size-width\":680,\"size-height\":385},\"mcprice\":{\"show\":\"false\",\"styles\":{\"font\":\"verdana\",\"color\":\"#ffffff\",\"fontSize\":12,\"fontStyle\":\"normal\",\"textAlign\":\"center\",\"fontWeight\":\"bold\",\"textDecoration\":\"none\"}},\"mctable\":{\"styles\":{\"borderColor\":\"\",\"borderWidth\":0,\"backgroundColor\":\"\"}},\"mctitle\":{\"styles\":{\"color\":\"#333333\",\"fontSize\":14,\"fontStyle\":\"normal\",\"textAlign\":\"center\",\"fontWeight\":\"bold\",\"textDecoration\":\"none\"}},\"subType\":\"smart-main\",\"mcdomain\":{\"styles\":{\"font\":\"verdana\",\"color\":\"#bbbbbb\",\"display\":\"block\",\"fontSize\":10,\"fontStyle\":\"normal\",\"textAlign\":\"center\",\"fontWeight\":\"normal\",\"textDecoration\":\"none\"}},\"isToaster\":\"\",\"colsMobile\":2,\"isDragDown\":\"\",\"previewImg\":\"\\/\\/cdn.mgid.com\\/images\\/draw-widget-preview.jpg\",\"imageFormat\":44,\"imageShadow\":\"\",\"textPosition\":\"bottom\",\"autoplacement\":\"off\",\"formatChanged\":true,\"isInterstitial\":\"\",\"popupFrequency\":15,\"is_int_exchange\":1,\"mobileWidgetImg\":\"\\/\\/cdn.mgid.com\\/images\\/mobile-widget-preview.png\",\"imageScaleOnHover\":\"\",\"interstitialAfter\":3,\"sidebarWidthCorrect\":0,\"widgetTitleSettings\":{\"styles\":{\"font\":\"verdana\",\"color\":\"#2b397b\",\"fontSize\":14,\"text-transform\":\"uppercase\"}},\"frequencyCappingShow\":3,\"frequencyCappingTime\":2,\"sidebarScrollPercent\":0,\"widgetTypeDescription\":1}");this.blankImage="data:image/svg+xml,%3Csvg\n            xmlns=\"http://www.w3.org/2000/svg\"\n            width=\"680\" height=\"385\"\n            viewBox=\"0 0 680 385\"\n            %3E%3C/svg%3E";if(typeof this.widgetConstructorData['mctitle']!=='undefined'&&typeof this.widgetConstructorData['mctitle']['styles']!=='undefined'&&typeof this.widgetConstructorData['mctitle']['styles']['fontSize']!=='undefined'){this.autoSizeTitle=this.widgetConstructorData['mctitle']['styles']['fontSize'];}else{this.autoSizeTitle=0;}
this.globalSettings=JSON.parse("{\"capping_observer_threshold\":\"0.5\",\"current_language\":\"en\",\"timer_toaster_inactivity\":\"8\",\"widget_lazy_load_margin\":\"1000\",\"accidental_clicks_delay\":\"10\",\"ia_page_view_timeout\":\"180\",\"ia_page_imp_timeout\":\"180\",\"enable_widget_analytics\":false}");this.preRenderImageSizes={};this.preRenderTeaserSizes={};this.customBanners=JSON.parse("{\"734391\":[],\"735286\":[],\"735332\":[],\"764714\":[],\"1199162\":[]}");this.initServicerRequest=true;this.clickHandlers=[];this.observerWidgetHooks=[];this.observerTeasersHooks=[];this.sspDoubleClickHash=[];this.requestParams={};this.webProtocol='https:';this.impTrackCapping=[];this.clickHandlerList={onSiteNotificationClick:{handler:'onSiteNotificationHandler',priority:8,},onSmartDoubleClick:{handler:'onSmartDoubleClickHandler',priority:10,},onAntifraudStatisticsClick:{handler:'onAntifraudStatisticsClickHandler',priority:15,},sspDoubleClick:{handler:'sspDoubleClickHandler',priority:20,},activateDelayLink:{handler:'activateDelayLinkHandler',priority:30,},accidentalClicks:{handler:'accidentalClicksHandler',priority:50,},externalCountersLink:{handler:'externalCountersLinkHandler',priority:100,},returnedRefreshClick:{handler:'returnedRefreshClickHandler',priority:120,},internalExchangeLogger:{handler:'internalExchangeLoggerHandler',priority:150,},showDesktopDoubleClick:{handler:'showDesktopDoubleClickButton',priority:150,},showMobileDoubleClick:{handler:'showDoubleClickButton',priority:150,},hangNiceLinkListener:{handler:'hangNiceLinkListener',priority:200,},clickHeatMapElement:{handler:'clickHeatMapElement',priority:400,},closeWidgetClick:{handler:'closeWidget',priority:600,},refreshNews:{handler:'refreshNewsHandler',priority:700,},};if(this.context.self!==this.context.top){const parts=this.context.document.referrer.split('/');this.intExchangeProtocol=parts[0].indexOf('http')==0?parts[0]:'https:';}else{const protocol=this.context.document.location.protocol;this.intExchangeProtocol=protocol.indexOf('http')==0?protocol:'https:';}
this.sourceName='';this.templates=JSON.parse("[]");this.templateId=0;this.setTemplate("<div class=\"mgbox\">\r\n<div class=\"mgl\"><span>SPONSORED CONTENT</span></div>\r\n    <!--advertPrefix-->\r\n    {foreach}\r\n    {if this.iteration == 1}<div class=\"row1\">{/if}{if this.iteration == 7}</div><div class=\"row2\">{/if}{if this.iteration == 11}</div><div class=\"row3\">{/if}{if this.iteration == 14}</div><div class=\"row4\">{/if}{if this.iteration == 16}</div>{/if}<div class=\"mgline\">\r\n    {if $banner}{$banner}{/if}\r\n    {if $teaser}\r\n        <div class=\"image-with-text\">\r\n            <div class=\"mcimg\">\r\n\t            <a {$target} {$href} >\r\n\t                <div class=\"image-container\">\r\n\t                    <img class=\"mcimg\" {$src} />\r\n\t                    <!--intExchangeWagesImagePlace-->\r\n\t                </div>\r\n\t            </a>\r\n\t        </div>\r\n\t        <div class=\"text-elements\">\r\n\t            <div class=\"text_on_hover\">\r\n\t                <div class=\"mctitle\"><a {$target} {$href}>{$title}</a></div>\r\n\t                <div class=\"mcdomain\"><a {$target} {$href}>{$source}</a></div>\r\n\t            </div>\r\n\t        </div>\r\n\t    </div>\r\n\t{/if}</div>{/foreach}\r\n</div>\r\n".replace(/[\r\n]/g,''));this.setStyles("@import url(\\'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=cyrillic,greek,vietnamese\\'); @import url(\\'https://fonts.googleapis.com/css?family=Open+Sans\\'); @font-face { font-family: \\'Roboto\\'; font-style: normal; font-weight: 400; src: local(\\'Roboto\\'), local(\\'Roboto-Regular\\'), url(https://fonts.gstatic.com/s/roboto/v15/mUdRVCMHGKUBOACHGTH1g-vvDin1pK8aKteLpeZ5c0A.woff) format(\\'woff\\'); } .mgbox * { -webkit-transition: all .25s; -moz-transition: all .25s; -ms-transition: all .25s; -o-transition: all .25s; transition: all .25s; } .mgheader { padding-bottom: 3px; margin-bottom: 10px; } .mgheader div a { position: relative; top: -5px; } .mgheader div img { position: relative; top: 5px; height: 22px; } .mghead { color: #642e9b; font-size: 17px; line-height: 1.3; text-transform: uppercase !important; margin: 5px 0 0 0 !important; font-family: inherit; font-weight: 600 !important; } .mgline { background: none; cursor: pointer; display: inline-block; _overflow: hidden; *zoom: 1; *display: inline; border: none; box-sizing: border-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; word-wrap: break-word; vertical-align: top; position: relative; } .mgline .image-with-text { width: 100% !important; height: auto; max-width: 950px; margin: 0 auto; position: relative; } .mgbox { padding: 0 !important; position: relative !important; text-align: center; vertical-align: top !important; margin: 0 auto; border-style: none; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; line-height: 100% !important; transition: none !important; box-sizing: border-box; width: 100%; max-width: 950px; font-family: Montserrat, Arial, Helvetica Neue, Helvetica, sans-serif; font-weight: 500; /* rows */ /* row1 */ /* row2 */ /* row3 */ /* row4 */ } .mgbox .row1, .mgbox .row2, .mgbox .row3, .mgbox .row4 { display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; max-width: 950px; position: relative; border-bottom: 1px solid #ccc; padding-bottom: 10px; margin: 0 0 10px; } .mgbox .row1 .mgline { width: 32%; max-width: 32%; margin: 0 0.5% 5px; } .mgbox .row1 .mgline:nth-child(1), .mgbox .row1 .mgline:nth-child(3) { margin-right: 1%; } .mgbox .row1 .mgline:nth-child(3), .mgbox .row1 .mgline:nth-child(4) { margin-bottom: 0; } .mgbox .row1 .mctitle { margin: 3px 0; } .mgbox .row2 .mgline { width: 49.5%; max-width: 49.5%; margin: 0 0 1%; } .mgbox .row2 .mgline:nth-child(1), .mgbox .row2 .mgline:nth-child(3) { margin-right: 1%; } .mgbox .row2 .mgline:nth-child(3), .mgbox .row2 .mgline:nth-child(4) { margin-bottom: 0; } .mgbox .row2 .mctitle { margin: 3px 0; } .mgbox .row3 .mgline { width: 32.333%; max-width: 32.333%; margin: 0 0.75% 5px; } .mgbox .row3 .mgline:nth-child(1), .mgbox .row3 .mgline:nth-child(4) { margin-left: 0; } .mgbox .row3 .mgline:nth-child(3), .mgbox .row3 .mgline:nth-child(6) { margin-right: 0; } .mgbox .row3 .mctitle { margin: 3px 0; } .mgbox .row4 { border-bottom: 1px solid #ccc; padding-bottom: 15px; } .mgbox .row4 .mgline { width: 49.5%; max-width: 49.5%; margin: 0 0 1%; } .mgbox .row4 .mgline:nth-child(1), .mgbox .row4 .mgline:nth-child(3) { margin-right: 1%; } .mgbox .row4 .mgline:nth-child(3), .mgbox .row4 .mgline:nth-child(4) { margin-bottom: 0; } .mgbox .row4 .mctitle { margin: 3px 0; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mgline .image-with-text { height: 100% !important; } } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .mgline .image-with-text { height: 100% !important; } } .mgline .image-container { position: relative; } div.mcimg { padding: 0; text-align: center; display: block !important; } img.mcimg { border-style: none; width: 100%; height: auto !important; max-width: 680px; max-height: 385px; box-sizing: border-box; display: block; margin: 0; } .text-elements a { text-decoration: none; } .mctitle { text-align: left; } .mctitle a { font-weight: bold; font-size: 17px; line-height: 1.1; font-style: normal; text-decoration: none; color: #515150; font-family: Montserrat, Arial, Helvetica Neue, Helvetica, sans-serif; } .mgline:hover .mctitle a { color: #ec4497; text-decoration: none; } .mcdomain { display: block; text-align: left; margin: 2px 0 2px; } .mcdomain a { font-weight: 400; font-size: 13px; line-height: 15px; font-style: normal; text-decoration: none; color: #a9a9a9; font-family: Montserrat, Arial, Helvetica Neue, Helvetica, sans-serif; display: block; overflow: hidden; text-transform: capitalize; } @supports not (flex-wrap: wrap) { .mgbox { display: block !important; } .mgline { display: inline-block !important; } } .mglbtn { text-align: left; color: #283171; background: none; font-size: 9px; box-sizing: border-box; line-height: 13.8px; text-transform: uppercase; } .mglbtn > a { text-decoration: none; color: #283171; } img.mcimgad { position: absolute; bottom: 0; right: 0; z-index: 999; opacity: 0.7; width: 0px; height: 0px; display: none; } @media (max-width: 480px) { .mgbox .row1 .mgline { width: 100% !important; max-width: 100% !important; margin: 0 0 10px !important; } .mgbox .row1 .mgline:nth-child(1), .mgbox .row1 .mgline:nth-child(3), .mgbox .row1 .mgline:nth-child(5) { margin-left: 0 !important; } .mgbox .row1 .mgline:nth-child(2), .mgbox .row1 .mgline:nth-child(4), .mgbox .row1 .mgline:nth-child(6) { margin-right: 0 !important; } .mgbox .row2 .mgline { width: 100% !important; max-width: 100% !important; margin: 0 0 10px !important; } .mgbox .row2 .mgline:first-child { padding-bottom: 10px !important; border-bottom: 1px solid #ccc !important; } .mgbox .row2 .mgline:not(:first-child) { padding-bottom: 10px !important; border-bottom: 1px solid #ccc !important; } .mgbox .row2 .mgline:not(:first-child) div.mcimg { float: left; width: 30% !important; margin-right: 5px; } .mgbox .row2 .mgline:not(:first-child) .mctitle { margin: 0 0 3px; } .mgbox .row2 .mgline:last-child { border: none !important; padding: 0 !important; margin: 0 !important; } .mgbox .row2 .mctitle a { font-weight: bold; font-size: 17px; line-height: 1.1; font-style: normal; text-decoration: none; color: #515150; font-family: Montserrat, Arial, Helvetica Neue, Helvetica, sans-serif; } .mgbox .row3 { border: none !important; } .mgbox .row3 .mgline { width: 100% !important; max-width: 100% !important; margin: 0 0 10px !important; } .mgbox .row3 .mgline:first-child { padding-bottom: 10px !important; border-bottom: 1px solid #ccc !important; } .mgbox .row3 .mgline:not(:first-child) { width: 49.5% !important; max-width: 49.5%; } .mgbox .row3 .mgline:not(:first-child) { width: 49.5%; max-width: 49.5%; } .mgbox .row3 .mgline:last-child { margin-left: 1% !important; } } .mgl { line-height: 30px; width: 100%; text-align: left; top: 12px; position: absolute; } .mgl > span { text-align: left; font-family: Arial,Helvetica,sans-serif; font-size: 14px; line-height: 16px; font-weight:bold; padding: 9px 0px; color: #f72210; box-sizing: border-box; margin: 5px 0; width:100%; text-transform: uppercase; }".replace(/\\'/g,'\''));this.servicerDomain="servicer.mgid.com";this.adBlockStyles="";this.adBlockStyles=this.adBlockStyles.replace(/\((\'|\")?\/\//g,'($1'+this.webProtocol+'//');this.clickTracking='';this.loadedType='';this.funcBlocks={};this.teaserData={};this.browserId=-1;this.deviceType='desktop';this.hrefAttr='href';this.enabledCooperationTypes=JSON.parse("[\"wages\"]");this.consentData='';this.cmpEnabled=false;this.uspString='';this.uspEnabled=false;this.tcfv2Data='';this.tcfv2Enabled=false;this.cookieMatchingDomain=true?"cm.mgid.com":undefined;this.context._mgIntExchangeNews=this.context._mgIntExchangeNews||{};this.iframePlacementType=0;this.networkInformationType='unknown';this.networkInformationEffectiveType='unknown';this.networkInformationSaveData=0;this.ampConsentData='';this.pageUrl='';this.refererUrl='';this.adblockDetectResult=null;this.expressionMap={'||':(parts)=>{for(const i in parts){if(this.expressionParser(parts[i])){return true;}}
return false;},'&&':(parts)=>{for(const i in parts){if(!this.expressionParser(parts[i])){return false;}}
return true;},'==':(parts)=>{return this.expressionParser(parts[0])==this.expressionParser(parts[1]);},'!=':(parts)=>{return this.expressionParser(parts[0])!=this.expressionParser(parts[1]);},'+':(parts)=>{return this.expressionParser(parts[0])+this.expressionParser(parts[1]);},'-':(parts)=>{return this.expressionParser(parts[0])-this.expressionParser(parts[1]);},'*':(parts)=>{return this.expressionParser(parts[0])*this.expressionParser(parts[1]);},'/':(parts)=>{return this.expressionParser(parts[0])/this.expressionParser(parts[1]);},'%':(parts)=>{return this.expressionParser(parts[0])%this.expressionParser(parts[1]);},};}
setStyles(styles){this.app.styles=styles.replace(/\((\'|\")?\/\//g,'($1'+this.app.webProtocol+'//');};setTemplate(template){template=template.replace(/^\s*[\r\n]|\s{2,}/gm,'');template=template.replace(/\((\'|\")?\/\//g,'($1'+this.app.webProtocol+'//');template=template.replace('src="//','src="'+this.app.webProtocol+'//');this.app.templateText=template.replace('href="//','href="'+this.app.webProtocol+'//');};MarketCutStr(str,limit,dots){if(str.length<=limit)return str;let word=[];word=str.split(' ');let ret=word[0]+' ';let test;for(let i=1;i<word.length;i++){test=ret+word[i];if(test.length>limit)return ret+(typeof(dots)=='undefined'||dots?'...':'');else ret+=word[i]+' ';}
return str;};MarketParseStr(str,limit){let word=[];let i;let ret='';word=str.split(' ');for(i=0;i<word.length;i++){if(word[i].length>limit&&word[i].search(/&\w+;/)<0){ret+=word[i].substr(0,limit)+' '+word[i].substr(limit)+' ';}else ret+=word[i]+' ';}
return ret;};prepareTitle(title){if(false){}
if(true){title=this.app.MarketCutStr(title,75,1);}
if(false){}
return title;};prepareDesc(desc){if(false){}
if(true){desc=this.app.MarketCutStr(desc,75);}
return desc;};isArray(o){return Object.prototype.toString.call(o)==='[object Array]';};hidePreloadDiv(){if(!this.app.fallbackMode){const selectors=["MarketGid"+'PreloadC'+this.app.containerId,'M'+412698+'PreloadC'+this.app.containerId,"MarketGid"+'PreloadN'+this.app.containerId,'M'+412698+'PreloadN'+this.app.containerId,];selectors.every((preloadSelector)=>{const element=this.app.context.document.getElementById(preloadSelector);if(element){element.style.display='none';return false;}else{return true;}});}else if(this.app.fallbackMode&&this.app.countLoadBlocks===0){this.app.root.innerHTML='';if(this.app.context.document.getElementById('M'+412698+'PreloadC'+734391)){this.app.context.document.getElementById('M'+412698+'PreloadC'+734391).style.display='none';}}};prerenderNews(template){if(this.app.root&&template){if(this.app.fallbackMode&&this.app.countLoadBlocks===0){this.app.root.innerHTML='';}
this.advertLinkBlock.refreshAdvertLink();template=this.app.advertLinkBlock.parseAdvertLink(template);this.app.addPreRenderTemplate(template);}};loadNewsPrestart(json,servicerData){this.app.hidePreloadDiv();this.app.iteration=1;if(typeof servicerData!='undefined'){this.app.servicerData=servicerData;if(typeof servicerData.dt!='undefined'){this.app.deviceType=servicerData.dt;}
if(typeof servicerData.brid!='undefined'){this.app.browserId=servicerData.brid;}
this.app.servicerData.templateId=this.app.servicerData.hasOwnProperty('config')&&this.app.servicerData.config.hasOwnProperty('templateId')?this.app.servicerData.config.templateId:0;if(typeof this.app.servicerData!=='undefined'&&typeof this.app.servicerData.css!=='undefined'){this.app.styles=this.app.servicerData.css;this.app.stylesheetsBlock.add('split_style',this.app.servicerData.css);this.app.stylesheetsBlock.remove('main');}
if(typeof this.app.servicerData!=='undefined'&&typeof this.app.servicerData.t!=='undefined'&&this.app.servicerData.t!==''){const template=this.app.servicerData.t.replace(/\r?\n/g,'');this.app.setTemplate(template);}
if(this.app.servicerData.hasOwnProperty('templateId')&&this.app.templates[this.app.servicerData.templateId]&&(typeof this.app.isElastic=='undefined'||this.app.countLoadBlocks==0)){const templateScript=this.app.context.document.createElement('script');templateScript.type='text/javascript';templateScript.charset="utf-8";templateScript.src=this.app.webProtocol+'//'+this.app.templates[this.app.servicerData.templateId];const getTemplate=()=>{let i;const templates=this.app.context._mgtemplates;for(i in templates){if((templates[i].widgetId===this.app.id||templates[i].widgetId===this.app.originalId)&&templates[i].templateId===this.app.servicerData.templateId){return templates[i];}}
return null;};this.app.root.parentNode.appendChild(templateScript);let attempts=5;const interval=setInterval(()=>{const template=getTemplate();if(null===template){if(--attempts>=0){return;}else{(new Image(0,0)).src=this.app.webProtocol+'//'+"c.mgid.com"+
'/widget-template-timeout?id='+this.app.id;}}else{this.app.templateId=template.templateId;this.app.stylesheetsBlock.remove('main');this.app.styles=template.styles;this.app.stylesheetsBlock.add('main',template.styles);this.app.setTemplate(template.template);}
clearInterval(interval);this.app.loadNews(json);},this.app.servicerData.tsi||15);}}}
loadNews(json){if(typeof this.app.updatedJson!=='undefined'){json=this.app.updatedJson;}
if(this.app.isArray(json)){this.app.json=json;let template=this.app['templateFunc'](json);if(false){}
if(this.app.root&&template){if(json.length>0){template=this.app.advertLinkBlock.parseAdvertLink(template);}
if(this.app.fallbackMode&&this.app.countLoadBlocks==0){this.app.root.innerHTML='';}
this.app.templateContent=this.app.context.document.createElement('template');this.app.templateContent.innerHTML='<div>'+this.app.preTemplate+
template+this.app.postTemplate+'</div>';if(typeof this.app.templateContent.content==='undefined'){const template=this.app.templateContent;const fragment=document.createDocumentFragment();const children=template.childNodes;for(let i=0;i<children.length;i++){fragment.appendChild(children[i].cloneNode(true));}
this.app.templateContent.content=fragment;}
this.app.templateContent=this.app.templateContent.content.firstChild;for(let i=0;i<this.app.beforeInjectTemplateHooks.length;i++){const hookName=this.app.beforeInjectTemplateHooks[i];this.app[hookName]();}
const widgetImg=this.app.templateContent.querySelectorAll('img.mcimg');if(widgetImg.length>0){for(let i=0;i<widgetImg.length;i++){widgetImg[i].src=widgetImg[i].getAttribute('data-src');}}
this.app.addTemplate(this.app.templateContent);this.app.renderBanners(true);}}else{if(this.app.root&&this.app.countLoadBlocks==0){this.app.root.innerHTML='';return;}}
if(this.app.servicerData&&this.app.servicerData.muidn&&this.app.servicerData.pvid&&this.app.pvid!=0&&this.app.servicerData.pvid==this.app.pvid){try{if(this.app.context.localStorage){this.app.context.localStorage.setItem('mgMuidn',this.app.servicerData.muidn);}}catch(e){}}
this.app.cookieBlock.cookieStorage['page']=this.app.page;this.app.cookieBlock.cookieStorage['time']=(new Date()).getTime();this.app.cookieBlock.setCookie();const hrefs=this.app.root.getElementsByTagName('a');for(let i=0;i<hrefs.length;i++){if(true){hrefs[i].rel='nofollow noopener';}}
this.app.countLoadBlocks++;if(typeof(this.app.responsiveInit)=='function'){this.app.responsiveInit();}};addTemplate(template){this.app.root.insertAdjacentElement('beforeend',template);};addPreRenderTemplate(template){this.app.root.insertAdjacentHTML('beforeend',this.app.preTemplate+template+this.app.postTemplate);};getViewportHeight(){const d=this.app.context.document;const w=this.app.context;const dE='documentElement';const cH='clientHeight';const cW='clientWidth';const iH='innerHeight';const iW='innerWidth';const sH='scrollHeight';const sW='scrollWidth';const oH='offsetHeight';const oW='offsetWidth';const oL='offsetLeft';const oT='offsetTop';const sT='scrollTop';const sL='scrollLeft';if(this.app.isAmp()){if(typeof w['intersectionRect'+734391+'_'+this.uniqId]!=='undefined'){return{'c':w['intersectionRect'+734391+'_'+this.app.uniqId].height,'s':w['intersectionRect'+734391+'_'+this.app.uniqId].y,};}
return{'c':w['intersectionRect'+734391].height,'s':w['intersectionRect'+734391].y};}else if(w[iW]){return{'c':w[iH],'s':w.pageYOffset};}else if(d[dE]&&d[dE][cW]){return{'c':d[dE][cH],'s':d[dE][sT]};}else if(d.body[cW]){return{'c':d.body[cH],'s':d.body[sT]};}
return 0;};renderItem(n,callbackText,position,prerender){const addClasses=[];if(typeof this.customBanners[this.app.id]!=='undefined'&&typeof this.customBanners[this.app.id][this.app.iteration]!=='undefined'&&this.customBanners[this.app.id][this.app.iteration].length>0&&!prerender){n={html:this.customBanners[this.app.id][this.app.iteration],useSecureIframe:true,};}
let banner='';const bid='mgBanner_'+734391+'_'+this.app.page+'_'+this.app.iteration;if('html'in n&&!prerender){if(n.h){this.app.teaserData[n.h]={type:'banner',coopType:'w',imp:typeof(n['imp'])!='undefined'?n['imp']:[],page:this.app.page,iteration:this.app.iteration,other:{impt:typeof(n['impt'])!='undefined'?n['impt']:[],},};}
let width='100%';if(typeof n.width!=='undefined'){width=n.width+'px';}else if(typeof this.app.preRenderTeaserSizes[this.app.iteration-1]!=='undefined'){width=this.app.preRenderTeaserSizes[this.app.iteration-1].width+'px';}
let height='100%';if(typeof n.height!=='undefined'){height=n.height+'px';}else if(typeof this.app.preRenderTeaserSizes[this.app.iteration-1]!=='undefined'){height=this.app.preRenderTeaserSizes[this.app.iteration-1].height+'px';}
const styles='width: '+width+'; height: '+height+'; border: 0px; margin: auto; overflow: hidden;'+
' position: relative;z-index: 1;';banner='<iframe id="'+bid+'" scrolling="no" style="'+styles+'"></iframe>';addClasses.push('mgline-banner');this.app.stylesheetsBlock.add('mgline-banner','.mgline-banner {'+
'  display: inline-flex;\n'+
'  background: initial;\n'+
'  }');if(typeof n.rs=='undefined'){n.rs=false;}
const isInArticle=(false||(false&&false));if(isInArticle){n.rs=true;}
n.iteration=this.app.iteration;this.app.banners[bid]=n;n=['',this.app.iteration];}
if(this.app.isArray(n)){const p=this.app.prepareTeaserData(n);if(typeof p.hash!=='undefined'&&typeof p.id!=='undefined'){this.app.teaserHashes[p.id]=p.hash;}
addClasses.push('teaser-'+p.id);if('l'in p.other&&null!=p.other.l.match(/[\?|&]u=/)){addClasses.push('dsp');}
if('type'in p.other){addClasses.push('type-'+p.other.type);if(p.other.type=='v'){addClasses.push('vrline');}}
const createWebLink=(url)=>{return url&&url.indexOf('//')===0?this.app.webProtocol+url:url;};const price=p.price.replace(new RegExp('[^0-9.]'),'');const priceOld=p.priceold.replace(new RegExp('[^0-9.]'),'');let hash=p.hash;if(banner!==''&&this.app.banners[bid]&&this.app.banners[bid].h){hash=this.app.banners[bid].h;}
let hrefString=p.other.type!=='v'?(this.app.hrefAttr+'="'+this.app.prepareNiceHref(p.hash)+
'" data-hash="'+p.hash+'"'):'';if(typeof p.hash==='undefined'){hrefString='onclick="return false"';}
const vars=[[/\{\*.*?\*\}/,''],[/\{\$href\}/g,hrefString],[/\{\$pmc_item\}/,this.app.id],[/\{\$hash\}/g,p.hash],[/\{\$target\}/g,((typeof p.other.type!=='undefined'&&p.other.type=='i')||(typeof this.app.servicerData.ats!=='undefined'&&this.app.servicerData.ats))?'target="_top"':'target="_blank"'],[/(class\=\".*?)(mgline)([^\"]*\")/,'$1$2 '+addClasses.join(' ')+'$3 data-i="'+hash+'"'],[/(class\=\'.*?)(mgline)([^\']*\')/,'$1$2 '+addClasses.join(' ')+'$3 data-i="'+hash+'"'],[/\{\$source\}/g,p.source],[/\{\$src\}/g,"width=\"680\" height=\"385\""+' data-i="'+p.id+
'" data-src="'+createWebLink(p.other['i'])+'"'+' nopin="nopin"'+
(p.other.extimg===1?'':' crossOrigin')],[/\{\$title\}/g,this.app.htmlEntities(p.title)],[/\{\$desc\}/g,this.app.htmlEntities(p.desc)],[/\{\$iteration\}/g,this.app.iteration],[/\$iteration/g,this.app.iteration],[/this\.iteration/g,this.app.iteration],[/\{\$price\}/g,p.price],[/\{\$priceold\}/g,p.priceold],[/\{\$discount\}/g,p.discount],[/\{if \$price\}/g,'{if \'\' != '+price+'}'],[/\{if !\$price\}/g,'{if \'\' == '+price+'}'],[/\{if \$priceold\}/g,'{if \'\' != '+priceOld+'}'],[/\{if \$price != " "\}/g,'{if '+p.price.trim().length+' != 0}'],[/\{if \$price == " "\}/g,'{if '+p.price.trim().length+' == 0}'],[/\$priceold/g,p.priceold],[/\$price/g,p.price],[/\{if \$rep\}/g,'{if p.isReplic}'],[/\{\$banner\}/g,banner],[/\{if \$teaser\}/g,'{if \'\' == \''+banner+'\'}'],[/\{if \$banner\}/g,'{if \'\' != \''+banner+'\'}'],[/\{\$category\}/g,p.other.category||''],[/\{\$cta\}/g,(typeof p.other.cta!=='undefined'?p.other.cta:'')],[/\{if \$cta\}/g,'{if \''+(typeof p.other.cta!=='undefined'?p.other.cta:'')+'\' != \'\'}'],[/\{if !\$cta\}/g,'{if \''+(typeof p.other.cta==='undefined'?p.other.cta:'')+'\' != \'\'}'],[/\{\$disclaimer\}/g,(typeof p.other.cdt!=='undefined'?p.other.cdt:'')],[/\{if \$disclaimer\}/g,'{if \''+(typeof p.other.cdt!=='undefined'?p.other.cdt:'')+'\' != \'\'}'],[/\{if !\$disclaimer\}/g,'{if \''+(typeof p.other.cdt==='undefined'?p.other.cdt:'')+'\' != \'\'}'],[/\{\$sourceName\}/g,this.app.sourceName],[/\{\$vd\}/g,(typeof p.other.vd!=='undefined'?this.app.getTimeBySeconds(p.other.vd):'')],[/\{\$vv\}/g,(typeof p.other.vv!=='undefined'?p.other.vv:'')],[/\{\$vr\}/g,(typeof p.other.vr!=='undefined'?p.other.vr:'')],[/\{if \$vd\}/g,'{if \''+(typeof p.other.vd!=='undefined'?p.other.vd:'')+'\' != \'\'}'],[/\{if \$vv\}/g,'{if \''+(typeof p.other.vv!=='undefined'?p.other.vv:'')+'\' != \'\'}'],[/\{if \$vr\}/g,'{if \''+(typeof p.other.vr!=='undefined'?p.other.vr:'')+'\' != \'\'}'],];for(let i=0;i<vars.length;i++){callbackText=callbackText.replace(vars[i][0],vars[i][1]);}
callbackText=callbackText.replace(/\r?\n/g,'');while(true){const x=callbackText;const r=/\{if ([^\}]*?)\}(((?!\{(?:\/)?if).)*)\{\/if\}/g;callbackText=callbackText.replace(r,(str,p1,p2)=>{if(this.app.expressionParser(p1)){return p2;}else{return '';}});if(x==callbackText)break;}
if(typeof p.other.i!='undefined'&&p.other.i.match(/\.mp4/)){const regex=/<img class="mcimg" width="(\d+)" height="(\d+)"/;const sizes=regex.exec(callbackText);const maxWidth=sizes?sizes[1]+'px;':'100%;';const maxHeight=sizes?sizes[2]+'px;':'100%;';callbackText=callbackText.replace(/<img( class="mcimg"[^>]+)/,'<video autoplay loop muted class="mcvideo" $1');this.app.stylesheetsBlock.add('video','video.mcvideo { border-style: solid;\n'+
'  border-color: #ffffff;\n'+
'  border-width: 0;\n'+
'  width: 100% !important;\n'+
'  height: auto !important;\n'+
'  max-width: '+maxWidth+
'\n  max-height: '+maxHeight+
'\n  box-sizing: border-box;\n'+
'  display: block; }');}
if(p.other.extimg===1&&this.app.preRenderImageSizes[position]){const maxWidth=this.app.preRenderImageSizes[position].width;const maxHeight=this.app.preRenderImageSizes[position].height;if(maxHeight==0||maxWidth==0){if(true){window["MarketGidInfC734391"+'Logger'].sendData('Wrong external image size! Using fallback');}
callbackText=callbackText.replace(/<img( class="mcimg")/,'<img class="mcimg mg-wrong-image"');}else{const imgStylesList={'width':maxWidth+'px !important','height':maxHeight+'px !important','object-fit':'cover','-o-object-fit':'cover','object-position':'top','-o-object-position':'top',};let imgStyles='';Object.keys(imgStylesList).forEach(function(key){imgStyles+=(key+':'+imgStylesList[key]+';');});callbackText=callbackText.replace(/<img( class="mcimg")/,'<img class="mcimg" style="'+imgStyles+'"');}}
this.app.iteration++;return callbackText;}};renderBanners(immediateRender,iteration){for(const i in this.app.banners){if(this.app.banners[i].rs!=immediateRender){if(!immediateRender){if(this.app.banners[i].iteration!=iteration){continue;}
this.app.banners[i].rs=false;}
if(this.app.banners[i].isRendered===true){continue;}
const iframe=this.app.root.querySelector('#'+i);let html=this.app.banners[i].html;let isClickPixelFound=false;if(this.app.banners[i].clickUrl&&html.indexOf('${CLICK_PIXEL}')!==-1){const allowReturnParamsValue=this.app.allowReturnParams;this.app.allowReturnParams=true;html=html.replace(/\${CLICK_PIXEL}/g,this.app.banners[i].clickUrl+
this.app.getAntifraudQueryParameter(this.app.banners[i].clickUrl));isClickPixelFound=true;this.app.allowReturnParams=allowReturnParamsValue;}
if(html.indexOf('{page_url}')!==-1){html=html.replace(/{page_url}/g,this.app.pageUrl);}
if(html.indexOf('{referrer_url}')!==-1){html=html.replace(/{referrer_url}/g,this.app.refererUrl);}
const content='<!DOCTYPE html><html><body style="margin: 0;">'+html+'</body></html>';if(!this.app.banners[i].useSecureIframe){iframe.contentWindow.document.open();iframe.contentWindow.document.write(content);iframe.contentWindow.document.close();}else{this.app.renderInSafeIframe(iframe,`banner_${i}`,content);}
if(false){}
this.app.banners[i].isRendered=true;if(!isClickPixelFound){((i)=>{iframe.contentWindow.document.body.addEventListener('click',(event)=>{let node=event.target;let isLink=false;while(node.parentElement){if(node.tagName==='A'){isLink=true;break;}else{node=node.parentElement;}}
if(isLink){const image=new Image();image.src=this.app.banners[i].clickUrl+
this.app.getAntifraudQueryParameter(this.app.banners[i].clickUrl);}},true);})(i);}}}};renderLazyBanners(showHash){if(this.app.teaserData[showHash].type=='banner'){this.app.renderBanners(false,this.app.teaserData[showHash].iteration);}};renderInSafeIframe(iframe,id,content){iframe.sandbox='allow-scripts allow-popups';const isSecurityCheckNeeded=this.app.context.location.href.indexOf('admin.')===-1&&this.app.context.location.href.indexOf('dashboard.')===-1&&this.app.context.location.href.indexOf('panel.')===-1;if("{\"734391\":[],\"735286\":[],\"735332\":[],\"764714\":[],\"1199162\":[]}".length>0&&isSecurityCheckNeeded){iframe.sandbox='allow-same-origin allow-scripts allow-popups';}
if('srcdoc'in iframe){iframe.srcdoc=content;}else{iframe.src=this.app.webProtocol+'//'+"cdn.mgid.com"+`/widgets/framehost.html#${id}`;this.app.context.addEventListener('message',(event)=>{if(event.origin===(this.app.webProtocol+'//'+"cdn.mgid.com")&&event.data===`loaded #${id}`){iframe.contentWindow.postMessage(content,'*');}},false);}};sendJsTrackers(showHash){if(Array.isArray(this.app.teaserData[showHash]['other']['jst'])){for(let i=0;i<this.app.teaserData[showHash]['other']['jst'].length;i++){let content='<script>window.onerror = function() { return true; };<\/script>';content+=this.app.teaserData[showHash]['other']['jst'][i];const iframe=this.app.context.document.createElement('iframe');iframe.style.display='none';this.app.renderInSafeIframe(iframe,`${showHash}_${i}`,content);this.app.root.appendChild(iframe);}}};parseImpTracker(){if(false){}
const showHashes=Object.keys(this.app.teaserData);for(const key in showHashes){if(Array.isArray(this.app.teaserData[showHashes[key]]['other']['impt'])){for(let i=0;i<this.app.teaserData[showHashes[key]]['other']['impt'].length;i++){if(this.app.teaserData[showHashes[key]]['other']['impt'][i]['only_viewable']===1){if(typeof this.app.impTrackCapping[showHashes[key]]==='undefined'){this.app.impTrackCapping[showHashes[key]]=[];}
this.app.impTrackCapping[showHashes[key]].push(this.app.teaserData[showHashes[key]]['other']['impt'][i]);}else{const code=this.app.teaserData[showHashes[key]]['other']['impt'][i]['code'];if(this.app.teaserData[showHashes[key]]['other']['impt'][i]['type']==='i'){this.app.sendCustomCounter(code);}
if(this.app.teaserData[showHashes[key]]['other']['impt'][i]['type']==='j'){if(this.app.teaserData[showHashes[key]]['other']['impt'][i]['iframe']===1){this.app.sendIframeTracker(showHashes[key],code,i);}else{this.app.sendInlineTracker(showHashes[key],code);}}}}}}};sendImpTrackCapping(showHash){if(typeof this.app.impTrackCapping[showHash]==='undefined'){return;}
for(let i=0;i<this.app.impTrackCapping[showHash].length;i++){if(this.app.impTrackCapping[showHash][i]['type']==='i'){this.app.sendCustomCounter(this.app.impTrackCapping[showHash][i]['code']);}
if(this.app.impTrackCapping[showHash][i]['type']==='j'){if(this.app.impTrackCapping[showHash][i]['iframe']===1){this.app.sendIframeTracker(showHash,this.app.impTrackCapping[showHash][i]['code'],i);}else{this.app.sendInlineTracker(showHash,this.app.impTrackCapping[showHash][i]['code']);}}}}
sendInlineTracker(showHash,code){const teaser=this.app.getMglineByHash(showHash);teaser.insertAdjacentHTML('beforeend',code);const children=teaser.childNodes;for(let i=0;i<children.length;i++){if(children[i]instanceof HTMLScriptElement){const script=this.app.context.document.createElement('script');script.src=children[i].src;teaser.removeChild(children[i]);teaser.appendChild(script);}}}
sendIframeTracker(showHash,code,increment){let content='<script>window.onerror = function() { return true; };<\/script>';content+=code;const iframe=this.app.context.document.createElement('iframe');iframe.style.display='none';this.app.renderInSafeIframe(iframe,`${showHash}_${increment}`,content);this.app.root.appendChild(iframe);};sendCustomCounter(url){const img=document.createElement('img');img.onerror=function(){if(true){window["MarketGidInfC734391"+'Logger'].sendData('impt load error: '+url);}};img.src=url+'&mgbuster='+('00000'+Math.round(Math.random()*100000).toString(16)).slice(-5);};expressionParser(expression){for(const i in this.app.expressionMap){if(expression.indexOf(i)!==-1){return this.app.expressionMap[i](expression.split(i));}}
return(expression||'').replace(/^([\'|\s]+)|([\'|\s]+)$/g,'');};generateTemplate(templateText){this['templateText']=templateText;this['templateFunc']=(json,prerender)=>{if(json.length===0){if(this.app.isAmp()){this.context.context.noContentAvailable();}
return;}
const parts=/(.*)?\{foreach\}(.*)?\{\/foreach\}(.*)?/.exec(this.app['templateText']);if(!parts){return;}
let template=typeof(parts[1])!='undefined'?parts[1]:'';for(let i=0;i<json.length;i++){template+=this.app.renderItem(json[i],parts[2],i,prerender);}
template+=typeof(parts[3])!='undefined'?parts[3]:'';return template;};return true;};getPageCount(){const pagesCountNews=parseInt(0);const pagesCountGoods=parseInt(20);return pagesCountNews&&pagesCountGoods?Math.min(pagesCountNews,pagesCountGoods):(pagesCountNews?pagesCountNews:pagesCountGoods);};init(){this.app.widgetPerformancePixel('init');if(typeof JSON!=='object'){this.app.hidePreloadDiv();console.log('Unsupported browser');if(true){window["MarketGidInfC734391"+'Logger'].sendData('unsupported');}}
if(this.app.canUseShadowDom()){let container=this.app.root;if(false){}
try{const shadow=container.parentNode.attachShadow({mode:false?undefined:'closed'});shadow.appendChild(container);}catch(e){this.app.log('Shadow DOM can\t be attached '+e.message);}}
if(this.app.root){this.app.cookieBlock.getCookie();const cookiePage=parseInt(this.app.cookieBlock.cookieStorage['page']);const pageOffset=(this.app.context["MarketGid"+'PageOffset']?parseInt(this.app.context["MarketGid"+'PageOffset']):0);this.app.addClickHandler(this.app.clickHandlerList.hangNiceLinkListener.handler,this.app.clickHandlerList.hangNiceLinkListener.priority,);this.app.addEvent(this.app.root,'mouseup',this.app.eventsHangNiceLinkListener);this.app.addEvent(this.app.root,'contextmenu',this.app.eventsHangNiceLinkListener);this.app.addEvent(this.app.root,'touchstart',this.app.eventsHangNiceLinkListener);const pagesCount=this.app.getPageCount();if(cookiePage!=null&&cookiePage<pagesCount&&cookiePage>0){this.app.page=cookiePage+1;}else if(cookiePage>(pagesCount-1)||cookiePage<1){this.app.page=1+pageOffset;}
if((new Date()).getTime()-
(typeof this.app.cookieBlock.cookieStorage['time']!=='undefined'?this.app.cookieBlock.cookieStorage['time']:0)>=6e5){this.app.page=1+pageOffset;}
if(true&&!this.app.page){this.app.page=1;}
this.app.pageUnlim=this.app.page-1;this.app.cookieBlock.cookieStorage['page']=this.app.page;this.app.cookieBlock.setCookie();if(true){if(!this.app.context.document.cookie){const dt=new Date();this.app.page=dt.getSeconds()%pagesCount+1;}}else{}
this.app.blocksAddress=this.app.webProtocol+'//'+this.app.servicerDomain+'/';if(false){}
this.app.clickTracking=typeof(this.app.context.MGClickTracking)!='undefined'?this.app.context.MGClickTracking:'';this.app.adBlockStatement=false;if(false){}
if(this.app.adBlockStatement&&true){this.app.setTemplate("".replace(/[\r\n]/g,''));}
if(!this.app.generateTemplate(this.app.templateText)){return;}
this.app.context.onClickExcludes=this.app.context.onClickExcludes||[];this.app.context.onClickExcludes.push(this.app.root);if(false){}
if(false){}
if(this.app.adBlockStatement&&true){this.app.stylesheetsBlock.add('adBlockMain',this.app.adBlockStyles);}else{this.app.stylesheetsBlock.add('main',this.app.styles);}
this.app.addEvent(this.app.root,'click',this.app.widgetClickHandler);this.app.addEvent(this.app.root,'auxclick',this.app.widgetClickHandler);this.app.afterPrepareCappingDataHooks.push('renderLazyBanners');this.app.afterPrepareCappingDataHooks.push('sendJsTrackers');this.app.afterPrepareCappingDataHooks.push('sendImpTrackCapping');this.app.afterLoadNewsHooks.push('parseImpTracker');this.app.afterInitHooks.push('pageViewPixel');this.app.afterLoadNewsHooks.push('widgetPerformancePixel');}};resetPage(){this.app.page=1;};getMostTopWindow(){let w=this.app.context;while(w!=w.parent){try{const test=w.parent.document.body;w=w.parent;}catch(e){break;}}
return w;};getDevicePixelRatio(){let ratio=1;if(typeof this.app.context.devicePixelRatio!=='undefined'){ratio=this.app.context.devicePixelRatio;}else if(typeof this.app.context.screen.systemXDPI!=='undefined'&&typeof this.app.context.screen.logicalXDPI!=='undefined'&&this.app.context.screen.systemXDPI>this.app.context.screen.logicalXDPI){ratio=this.app.context.screen.systemXDPI/this.app.context.screen.logicalXDPI;}
const isInt=ratio%1===0;if(!isInt){ratio=ratio.toFixed(3);}
return ratio;};getCbusterParameter(){return 'cbuster='+(this.app.context.MG_CacheBuster||((new Date().getTime())+''+
Math.floor((Math.random()*1000000000)+1)));};injectScript(forceShow,refresh){this.app.injectionScriptMethod(forceShow,refresh);};createServicerScriptElement(forceShow,page){const script=this.app.context.document.createElement('script');const widgetDisableVarName=`${"MarketGid"}${"C"}${734391}DisableStart`;const widgetDisableVarNameMg=`mgDisableStart${734391}`;let isDisabledStart=typeof this.app.context[widgetDisableVarName]!=='undefined';if(!isDisabledStart){isDisabledStart=typeof this.app.context[widgetDisableVarNameMg]!=='undefined';}
script.type=(this.app.initServicerRequest||!isDisabledStart)?'text/javascript':'text/plain';script.charset="utf-8";script.referrerPolicy='strict-origin-when-cross-origin';let widgetId=734391;if(false){}
if(this.app.adBlockStatement){Object.keys(this.app.childWidgetsData).some((key)=>{const childData=this.app.childWidgetsData[key];if(childData.showMonetizationEnabled==='1'&&typeof childData.childId!=='undefined'){widgetId=childData.childId;this.app.requestParams.src_cid='src_cid='+this.app.originalId;return true;}});}
const fs=forceShow?'fs/':'';let scriptSrc=this.app.blocksAddress+fs;if(this.app.initServicerRequest){scriptSrc=this.app.webProtocol+'//'+"c.mgid.com"+'/pv/'+fs;}else{scriptSrc+=widgetId+'/'+page;}
script.src=scriptSrc;return script;}
getLocalStorageMuid(){let muid=null;try{if(this.app.context.localStorage){muid=this.app.context.localStorage.getItem('mgMuidn');}}catch(ex){}
return muid;}
injectionScriptMethod(forceShow,refresh){if(this.app.adBlockStatement){if(typeof this.app.requestParams.limitads==='undefined'){if(true){this.app.requestParams.limitads='limitads=3';}else{}}
this.app.requestParams.adb='adb=1';}
const script=this.app.createServicerScriptElement(forceShow,this.app.page);if(typeof this.app.context.MGi!='undefined'){this.app.requestParams.iso='iso='+this.app.context.MGi;this.app.requestParams.token='token='+"6663f63809f014290688123d1c12e1a8";}
this.app.requestParams.pv='pv=5';if(false){}
if(typeof this.app.context['ampOptions'+734391+'_'+this.app.uniqId]!=='undefined'){try{const options=JSON.parse(this.app.context['ampOptions'+734391+'_'+this.app.uniqId]);this.app.requestParams.src_id='src_id='+((typeof options['src_id']!=='undefined')?options['src_id']:this.app.sourceName);}catch(e){}}
if(false){}
this.app.requestParams.cbuster=this.app.getCbusterParameter();const intExchangeOgUrl='';if(JSON.parse("[\"wages\"]").indexOf('int_exchange')>=0||false){let ogTitleEl=this.app.context.document.querySelector('meta[property="og:title"]');if(this.app.context!==this.app.context.top){try{ogTitleEl=this.app.context.parent.document.querySelector('meta[property="og:title"]');}catch(e){}}
if(ogTitleEl){this.app.requestParams.ogtitle='ogtitle='+encodeURIComponent(ogTitleEl.getAttribute('content'));}}
if(this.app.uniqId!=''&&true){this.app.requestParams.uniqId='uniqId='+this.app.uniqId;}
if(this.app.getActiveChilds().length){this.app.requestParams.childs='childs='+this.app.getActiveChilds().join(',');}
if(refresh){this.app.requestParams.rsh='rsh='+refresh;this.app.requestParams.initial_composite='initial_composite='+this.app.id;}
if(false){}
if(typeof this.app.context.MG_setRequestNonPersonalizedAds!='undefined'&&this.app.context.MG_setRequestNonPersonalizedAds==1){this.app.requestParams.npa='npa=1';}
if(true&&this.app.getInternalIds().length!=0){this.app.requestParams.viewedInternalIds='exclude_int_exchange='+this.app.getInternalIds().join(',');}
const consentData=this.app.consentsBlock.getConsentData();if(consentData){this.app.requestParams.consentData='consentData='+consentData.consentData;this.app.requestParams.gdprApplies='gdprApplies='+!!consentData.gdprApplies;}
if(this.app.uspEnabled){let uspString='';if(this.app.uspString!=''){uspString=this.app.uspString;}else{try{if(this.app.context.localStorage){const data=this.app.context.localStorage.getItem('MG_uspString');if(data!=null&&data!=''){uspString=data;}}}catch(err){}}
this.app.requestParams.uspString='uspString='+uspString;}
try{const networkInformation=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(typeof networkInformation.type!='undefined'){this.app.networkInformationType=networkInformation.type;this.app.requestParams.nit='nit='+this.app.networkInformationType;}
if(typeof networkInformation.effectiveType!='undefined'){this.app.networkInformationEffectiveType=networkInformation.effectiveType;this.app.requestParams.niet='niet='+this.app.networkInformationEffectiveType;}
if(typeof networkInformation.saveData!='undefined'){this.app.networkInformationSaveData=networkInformation.saveData?1:0;this.app.requestParams.nisd='nisd='+networkInformation.saveData;}}catch(e){}
if(false){}
this.app.requestParams.jsv='jsv='+"es6";let scriptSrc=script.src;if(scriptSrc.indexOf('?')==-1){scriptSrc+='?';}else{scriptSrc+='&';}
const params=[];for(const key in this.app.requestParams){params.push(this.app.requestParams[key]);}
const isIframe=this.app.context.this!==this.app.context.top;let isInEmptyIframe=true;let isInBlockedIframe=false;let parentWindow=this.app.context;let prevWindow=this.app.context;if(isIframe){for(;;){try{if(parentWindow.frameElement&&parentWindow.frameElement.src!=''){isInEmptyIframe=false;}
parentWindow.document.body;}catch(e){parentWindow=prevWindow;isInBlockedIframe=true;isInEmptyIframe=false;break;}
if(parentWindow==parentWindow.parent){break;}
prevWindow=parentWindow;parentWindow=parentWindow.parent;}}
let refererParam='';try{if(this.app.isAmp()){this.app.iframePlacementType=3;this.app.pageUrl=typeof this.app.context.context.sourceUrl!=='undefined'?this.app.context.context.sourceUrl:'';this.app.refererUrl=typeof this.app.context.context.referrer!=='undefined'?this.app.context.context.referrer:'';if(this.app.pageUrl!=''){refererParam=this.app.pageUrl;}else{refererParam=this.app.refererUrl;}}else{this.app.pageUrl=parentWindow.document.location.href;this.app.refererUrl=parentWindow.document.referrer||'';refererParam=this.app.refererUrl;if(isIframe&&!isInEmptyIframe){if(isInBlockedIframe){this.app.iframePlacementType=2;}else{refererParam=this.app.pageUrl;this.app.iframePlacementType=1;}}}}catch(e){this.app.iframePlacementType=2;}
if(this.app.iframePlacementType!=0){params.push('iframe='+this.app.iframePlacementType);}
params.push('ref='+encodeURIComponent(refererParam));if(typeof(this.app.contextUriParse)=='function'){params.push('cxurl='+encodeURIComponent(this.app.contextUriParse()));}
try{if(!sessionStorage.MG_Session_lastUpdate||Number(sessionStorage.MG_Session_lastUpdate)+30*60*1000<Date.now()){const matchDomain=this.app.refererUrl.match(/:\/\/([^\/:]+)/i);sessionStorage.MG_Session_pr=matchDomain&&matchDomain[1]?matchDomain[1]:'';sessionStorage.MG_Session_lu=this.app.pageUrl;sessionStorage.MG_Session_Id=Math.round(Date.now()/1000).toString(16)+'-'+
('00000'+Math.round(Math.random()*100000).toString(16)).slice(-5);}
sessionStorage.MG_Session_lastUpdate=Date.now();if(sessionStorage&&sessionStorage.MG_Session_pr){params.push('pr='+encodeURIComponent(sessionStorage.MG_Session_pr));}
if(sessionStorage&&sessionStorage.MG_Session_lu){params.push('lu='+encodeURIComponent(sessionStorage.MG_Session_lu));}
if(sessionStorage.MG_Session_Id){params.push('sessionId='+encodeURIComponent(sessionStorage.MG_Session_Id));}}catch(err){}
if(!this.app.pvid){this.app.pvid=this.app.generatePvid();}
let pageView=0;if(this.app.context['isFBIA'+734391]&&this.app.context.localStorage){const storageTime=this.app.context.localStorage.getItem('_mgPageView'+412698);const iaPageViewTimeout=this.app.globalSettings.ia_page_view_timeout||180;if((!storageTime||(new Date()).getTime()-storageTime>iaPageViewTimeout*1000)&&!this.app.initServicerRequest){this.app.context.localStorage.setItem('_mgPageView'+412698,(new Date()).getTime());pageView=1;}
if(this.app.initServicerRequest){this.app.context.localStorage.setItem('_mgPageViewEndPoint'+412698,(new Date()).getTime());this.app.context.localStorage.setItem('_mgPvidTime',(new Date()).getTime());pageView=1;}
const savedPvid=this.app.context.localStorage.getItem('_mgPvid');if(savedPvid){this.app.pvid=savedPvid;}}else{const w=this.app.getMostTopWindow();if(typeof w['_mgPageView'+412698]=='undefined'&&!this.app.initServicerRequest){w['_mgPageView'+412698]=true;pageView=1;}
if(typeof w['_mgPageViewEndPoint'+412698]=='undefined'&&this.app.initServicerRequest){w['_mgPageViewEndPoint'+412698]=true;pageView=1;}
if(typeof w['_mgPvid']==='undefined'&&this.app.initServicerRequest){w['_mgPvid']=this.app.pvid;}
if(typeof w['_mgPvid']!='undefined'){this.app.pvid=w['_mgPvid'];}}
params.push('pageView='+pageView);params.push('pvid='+this.app.pvid);if(this.app.initServicerRequest){params.push('site='+412698);}
if(!this.app.context['isFBIA'+734391]){if(this.app.isAmp()){params.push('implVersion='+12);}else if(this.app.isTurbo()){params.push('implVersion='+13);}else{if(this.app.versionWidget!=''){params.push('implVersion='+this.app.versionWidget);}}}else{params.push('implVersion='+14);}
params.push('dpr='+this.app.getDevicePixelRatio());const muid=this.app.getLocalStorageMuid();if(muid){params.push('muid='+muid);this.app.muid=muid;}
scriptSrc+=params.join('&');script.src=scriptSrc;if(this.app.sspPerformance){script.onload=()=>{this.app.context.performance.getEntries().map((entry)=>{if(entry.name===scriptSrc){const duration=Math.ceil(entry.responseEnd-entry.startTime);(new Image(0,0)).src=this.app.webProtocol+'//'+"c.mgid.com"+
'/widget-ssp-performance?time='+duration;}});};}
this.app.context.document.head.appendChild(script);script.onerror=()=>{this.app.isAdblock=true;};};getActiveChilds(){return JSON.parse("[\"735286\",\"735332\",\"764714\",\"1199162\"]");};addClickHandler(handlerName,priority){this.app.clickHandlers.push({handler:handlerName,priority:priority,});this.app.clickHandlers.sort(function(a,b){return a.priority<b.priority?-1:1;});};widgetClickHandler(event){if(!event){event=this.app.context.event;}
if(!event.target){event.target=event.srcElement;}
let element=event.target;if(element.tagName!=='A'){element=this.app.getParentLink(element);let isRightClick=false;if('which'in event){isRightClick=event.which===3;}else if('button'in event){isRightClick=event.button===2;}
if(!element&&!isRightClick){const textElementsBlock=this.app.getParentElWithClass(event.target,'text-elements');if(textElementsBlock){let childLinks=event.target.getElementsByTagName('A');if(childLinks[0]){element=childLinks[0];}else{childLinks=textElementsBlock.getElementsByTagName('A');if(childLinks[0]){element=childLinks[0];}}}
if(element){element.click();return;}}}
if(!element){return;}
if(!element.hasAttribute('data-hash')&&!element.classList.contains('mg-close-action')){return;}
for(let i=0;i<this.app.clickHandlers.length;i++){try{if(!this[this.app.clickHandlers[i].handler](element,event)){return;}}catch(e){this.app.log('Click Handler name: '+this.app.clickHandlers[i].handler+', error: '+e.message);}}};start(){if(this.app.root&&this.app.countLoadBlocks==0){this.app.injectScript();}};defaultComposite(widgetId){if(false){}};addEvent(elem,type,handler){if(elem.addEventListener){if((type==='touchstart'||type==='touchmove')&&this.app.isPassiveSupported()){elem.addEventListener(type,handler.bind(this),{passive:true});}else{elem.addEventListener(type,handler.bind(this),false);}}else{elem.attachEvent('on'+type,handler.bind(this));}};removeEvent(elem,type,handler){if(elem.removeEventListener){elem.removeEventListener(type,handler,false);}else{elem.detachEvent('on'+type,handler);}};getMainCssSelector(){return '#'+(this.app.realRoot?this.app.realRoot.id:this.app.root.id);};doubleClickHandler(element,isOut){isOut=parseInt(isOut|0);let i;const query=[];const image=new Image(0,0);const hash=element.getAttribute('data-hash');query.push('url='+encodeURIComponent(element));query.push('uuid='+this.app.servicerData['rid']);query.push('hash='+hash);query.push('cid='+this.app.getWidgetValue('id',734391));query.push('gb_uid='+this.app.getWidgetValue('goodsPartUid',57077301));query.push('h2='+this.app.servicerData['h2']);query.push('type='+this.app.doubleClickType);query.push('checkId='+this.app.doubleClickCheckId);query.push('percent='+this.app.doubleClickPercent);if(isOut){query.push('isOut='+isOut);}
image.src=this.app.webProtocol+'//'+"c.mgid.com"+'/doubleclick?'+query.join('&');};adBlockDetect(){if(false){}
if(this.adblockDetectResult===null){const states={ABP_NOT_DETECTED:0,ABP_DETECTED:1};const classList=['banner_ad','sponsored_ad'];const createBlockDetectionDiv=(className)=>{const trigger=this.app.context.document.createElement('div');trigger.className=className;trigger.style.visibility='hidden';trigger.style.position='absolute';trigger.innerHTML='.';trigger.style.padding='1px';this.app.context.document.body.appendChild(trigger);return trigger;};const isBlockDetectedOnDiv=(e)=>{return!e.offsetHeight;};const isBlockDetectedOnClassNames=(e)=>{let i;const r=e.length;let o;for(i=0;i<r;i++){o=createBlockDetectionDiv(e[i]);const blockDetect=isBlockDetectedOnDiv(o);this.app.context.document.body.removeChild(o);if(blockDetect){return true;}}
return false;};const getBlockedState=(e)=>{return isBlockDetectedOnClassNames(e)?states.ABP_DETECTED:states.ABP_NOT_DETECTED;};this.adblockDetectResult=getBlockedState(classList);}
return this.adblockDetectResult;};isShadowRoot(){try{return this.app.root.getRootNode!=='undefined'&&this.app.root.getRootNode().host;}catch(e){return false;}}
canUseShadowDom(){const rootContainer=this.app.root.parentNode;return Boolean(false&&false);}
getRoot(){return this.app.isShadowRoot()?this.app.root.getRootNode().host:this.app.root.parentElement;}
getMglineByHash(hash){const mglines=this.app.root.getElementsByClassName('mgline');for(let i=0;i<mglines.length;i++){if(mglines[i].getAttribute('data-i')===hash){return mglines[i];}}
return null;}
pageViewPixel(){const w=this.app.getMostTopWindow();let pageViewEndPointTime=0;let pvidTime=0;try{pageViewEndPointTime=this.app.context.localStorage.getItem('_mgPageViewEndPoint'+412698);pvidTime=this.app.context.localStorage.getItem('_mgPvidTime');}catch(e){}
const iaPageViewTimeout=this.app.globalSettings.ia_page_view_timeout||180;try{if((new Date()).getTime()-pvidTime>iaPageViewTimeout*1000&&this.app.context.localStorage){this.app.context.localStorage.setItem('_mgPvid',this.app.generatePvid());}}catch(e){}
if((new Date()).getTime()-pageViewEndPointTime>iaPageViewTimeout*1000&&typeof w['_mgPageViewEndPoint'+412698]==='undefined'){this.app.injectionScriptMethod();w['_mgPageViewEndPoint'+412698]=true;}
this.app.initServicerRequest=false;}
generatePvid(){return(new Date()).getTime().toString(16)+
(Math.round(Math.random()*1000000000)+2147483648).toString(16);}
widgetPerformancePixel(event){if(true){return;}
if(typeof event==='undefined'){event='loaded';}
const pixel=this.app.context.document.createElement('img');const params=[];params.push('timestamp='+(new Date()).getTime());params.push('event='+event);params.push('widget_id='+734391);params.push('uid='+this.app.uniqId);const src=params.join('&');pixel.src=this.app.webProtocol+'//'+"c.mgid.com"+'/widget-performance?'+src;}
isTurbo(){return this.app.root.parentNode!=null&&typeof this.app.root.parentNode.dataset!=='undefined'&&typeof this.app.root.parentNode.dataset.widget!=='undefined';}
isAmp(){if(typeof this.app.context.context!=='undefined'&&typeof this.app.context.context.data!=='undefined'&&typeof this.app.context.context.data.widget!=='undefined'){return true;}
return typeof this.app.context['boundingClientRect'+734391]!=='undefined'&&typeof this.app.context['intersectionRect'+734391]!=='undefined';};}
module.exports=BaseBlock;}),"./src/modules/BlurBlock.js":/*!**********************************!*\
!*** ./src/modules/BlurBlock.js ***!
\**********************************//*!no static exports found*/(function(module,exports){class BlurBlock{constructor(app){this.app=app;this.isIE11=!!window.MSInputMethodContext&&!!document.documentMode;this.app.beforeInjectTemplateHooks.push('smallBlur');this.app.smallBlur=()=>{this.rendering();};}
rendering(){const teaserBlock=this.app.templateContent.querySelectorAll('[class*=mgline-small-blur]');const mgBox=this.app.templateContent;if(teaserBlock.length===0){return;}
for(let i=0;i<teaserBlock.length;i++){const mgline=teaserBlock[i];const gradientSection=teaserBlock[i].getElementsByClassName('text-elements')[0];const title=teaserBlock[i].getElementsByClassName('mctitle')[0];const domain=teaserBlock[i].getElementsByClassName('mcdomain')[0];const description=teaserBlock[i].getElementsByClassName('mcdesc')[0];const teaserImg=teaserBlock[i].querySelector('img.mcimg');if(teaserImg===null){continue;}
if(this.isIE11){gradientSection.style.background='rgba(0,0,0,0.3)';}else{this.app.colorAverage(teaserImg).then((rgb)=>{this._createGradient(mgline,mgBox,rgb,gradientSection);mgline.style.background='rgb('+rgb.r+','+rgb.g+','+rgb.b+')';this._changeColor(rgb,title,domain,description);});}}};_createGradient(teaser,widgetWrapper,color,blockWithGradient){const resizeObserver=new ResizeObserver(()=>{const vectorValue=this._blurDirection(teaser,widgetWrapper);blockWithGradient.style.background=`linear-gradient(${vectorValue}, transparent,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0) 4%,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0.5) 8%,
                        rgb(${color.r}, ${color.g}, ${color.b}) 12%`;});if(resizeObserver){resizeObserver.observe(widgetWrapper);}else{const vectorValue=this._blurDirection(teaser,widgetWrapper);let beforeLastVectorValue=vectorValue;blockWithGradient.style.background=`linear-gradient(${vectorValue}, transparent,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0) 4%,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0.5) 8%,
                        rgb(${color.r}, ${color.g}, ${color.b}) 12%`;window.addEventListener('resize',()=>{const vectorAfterResize=this._blurDirection(teaser,widgetWrapper);if(vectorAfterResize!==beforeLastVectorValue){blockWithGradient.style.background=`linear-gradient(${vectorValue}, transparent,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0) 4%,
                        rgba(${color.r}, ${color.g}, ${color.b}, 0.5) 8%,
                        rgb(${color.r}, ${color.g}, ${color.b}) 12%`;}
beforeLastVectorValue=this._blurDirection(teaser,widgetWrapper);});}}
_blurDirection(teaser,widgetWrapper){const findClass=/\bmgline-small-blur-[^\s]*\b/.exec(teaser.classList.value);const mobSize=480;const isMob=this.app.context.matchMedia(`(max-width: ${mobSize}px)`).matches;let vector='to bottom';if(!isMob&&(widgetWrapper.offsetWidth>mobSize)&&findClass){vector=`to ${findClass[0].split('-').pop()}`;}
return vector;}
_changeColor(...args){const color=args[0];const elements=args.slice(1);const textColor=(0.299*color.r+0.587*color.g+0.114*color.b)>186?'#000':'#fff';if(elements.length!==0){elements.forEach((el)=>{if(el){el.getElementsByTagName('a')[0].style.color=textColor;}});}}
_changeFontSize(...args){const direction=args[0];const elements=args.slice(1);elements.forEach((el)=>{if(el){const coefficient=22;let size;if(direction==='to bottom'||direction==='to top'){size=this.app.autoSizeTitle-Math.round(el.offsetHeight/this.app.autoSizeTitle);}else{size=coefficient-Math.round(el.offsetHeight/coefficient);}
el.getElementsByTagName('a')[0].style.cssText=`font-size: ${size}px`;}});}}
module.exports=BlurBlock;}),"./src/modules/ColorBlock.js":/*!***********************************!*\
!*** ./src/modules/ColorBlock.js ***!
\***********************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'ColorBlock'+734391]=function(self){self.colorAverage=function(teaserImg){let rgb={r:0,g:0,b:0};const MAX_SIZE=32;return new Promise(function(resolve){teaserImg.onload=function(){const canvas=document.createElement('canvas');canvas.width=MAX_SIZE;canvas.height=MAX_SIZE;const ctx=canvas.getContext('2d');ctx.drawImage(teaserImg,0,0,MAX_SIZE,MAX_SIZE);try{const data=ctx.getImageData(0,0,MAX_SIZE,MAX_SIZE);let i=-4;let count=0;while((i+=1*4)<data.data.length){++count;rgb.r+=data.data[i];rgb.g+=data.data[i+1];rgb.b+=data.data[i+2];}
rgb.r=Math.floor(rgb.r/count);rgb.g=Math.floor(rgb.g/count);rgb.b=Math.floor(rgb.b/count);const hsl=rgbToHsl(rgb.r,rgb.g,rgb.b);if(hsl.l>0.8){rgb=hslToRgb(hsl.h,hsl.s,0.8);}}catch(e){}
resolve(rgb);};});};const rgbToHsl=function(r,g,b){r/=255,g/=255,b/=255;const max=Math.max(r,g,b);const min=Math.min(r,g,b);let h;let s;const l=(max+min)/2;if(max==min){h=s=0;}else{const d=max-min;s=l>0.5?d/(2-max-min):d/(max+min);switch(max){case r:h=(g-b)/d+(g<b?6:0);break;case g:h=(b-r)/d+2;break;case b:h=(r-g)/d+4;break;}
h/=6;}
return{h:h,s:s,l:l,};};const hslToRgb=function(h,s,l){let r;let g;let b;if(s==0){r=g=b=l;}else{const hue2rgb=function(p,q,t){if(t<0)t+=1;if(t>1)t-=1;if(t<1/6)return p+(q-p)*6*t;if(t<1/2)return q;if(t<2/3)return p+(q-p)*(2/3-t)*6;return p;};const q=l<0.5?l*(1+s):l+s-l*s;const p=2*l-q;r=hue2rgb(p,q,h+1/3);g=hue2rgb(p,q,h);b=hue2rgb(p,q,h-1/3);}
return{r:Math.floor(r*255),g:Math.floor(g*255),b:Math.floor(b*255),};};};}),"./src/modules/ConsentsBlock.js":/*!**************************************!*\
!*** ./src/modules/ConsentsBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class ConsentsBlock extends AbstractBlock{constructor(app){super(app);this.addHook('beforeInjectScriptHooks',this.ampApi,50);this.addHook('beforeInjectScriptHooks',this.tcfv2Api,50);this.addHook('beforeInjectScriptHooks',this.gdprApi,50);this.addHook('beforeInjectScriptHooks',this.ccpaApi,50);}
ampApi(){return new Promise((resolve,reject)=>{if(this.app.isAmp()){try{this.app.ampConsentData=this.app.context.context.initialConsentValue;this.app.log('Consents. AMP API done.');resolve();}catch(e){reject(e);}}else{resolve();}});}
tcfv2Api(){return new Promise((resolve,reject)=>{if('function'===typeof this.app.context.__tcfapi){this.app.tcfv2Enabled=true;try{this.app.context.__tcfapi('getTCData',2,(tcData,success)=>{if(success){this.app.tcfv2Data=tcData;if(this.app.context.localStorage){this.app.context.localStorage.setItem('MG_tcfv2Data',JSON.stringify(tcData));}
this.app.log('Consents. TCFv2 API done.');}else{this.app.log('Consents. TCFv2 API fail.');}
resolve();});}catch(e){reject(e);}}else{resolve();}});}
gdprApi(){return new Promise((resolve,reject)=>{if('function'===typeof this.app.context.__cmp){this.app.cmpEnabled=true;try{this.app.context.__cmp('getConsentData',null,(result)=>{this.app.consentData=result;if(this.app.context.localStorage){this.app.context.localStorage.setItem('MG_ConsentData',JSON.stringify(result));}
this.app.log('Consents. TCFv1 API done.');resolve();});}catch(e){reject(e);}}else{resolve();}});}
ccpaApi(){return new Promise((resolve,reject)=>{if('function'===typeof this.app.context.__uspapi){this.app.uspEnabled=true;try{this.app.context.__uspapi('getUSPData',1,(uspData,success)=>{if(success){this.app.uspString=uspData.uspString||'';if(this.app.context.localStorage&&this.app.uspString!==''){this.app.context.localStorage.setItem('MG_uspString',this.app.uspString);}
this.app.log('Consents. CCPA API done.');}else{this.app.log('Consents. CCPA API fail.');}
resolve();});}catch(e){reject(e);}}else{resolve();}});}
getConsentData(){if(this.app.cmpEnabled||this.app.tcfv2Enabled||this.app.isAmp()){let consentData={'consentData':'','gdprApplies':false,};if(this.app.isAmp()&&this.app.context.context.initialConsentState===1){consentData={'consentData':this.app.ampConsentData,'gdprApplies':this.app.context.context.initialConsentState,};}else if(this.app.tcfv2Data!==''&&typeof this.app.tcfv2Data.gdprApplies!=='undefined'&&typeof this.app.tcfv2Data.tcString!=='undefined'){consentData={'consentData':this.app.tcfv2Data.tcString,'gdprApplies':this.app.tcfv2Data.gdprApplies,};}else if(this.app.consentData!==''&&typeof this.app.consentData.gdprApplies!=='undefined'&&typeof this.app.consentData.consentData!=='undefined'){consentData=this.app.consentData;}else{try{if(this.app.context.localStorage){let data=JSON.parse(this.app.context.localStorage.getItem('MG_ConsentData'));if(data!=null&&typeof data.gdprApplies!=='undefined'&&typeof data.consentData!=='undefined'){consentData=data;}
data=JSON.parse(this.app.context.localStorage.getItem('MG_tcfv2Data'));if(data!=null&&typeof data.gdprApplies!=='undefined'&&typeof data.tcString!=='undefined'){consentData={'consentData':data.tcString,'gdprApplies':data.gdprApplies,};}}}catch(err){}}
return consentData;}
return null;}}
module.exports=ConsentsBlock;}),"./src/modules/ContentPreviewBlock.js":/*!********************************************!*\
!*** ./src/modules/ContentPreviewBlock.js ***!
\********************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'ContentPreviewBlock'+734391]=function(self){self.afterLoadNewsHooks.push('addPreviewEvent');self.preloadAnimationStyles='.image-container {\n'+
'overflow: hidden;}\n'+
'.preload {\n'+
'  background: #2a397b;\n'+
'  left: -100%;\n'+
'  position: absolute;\n'+
'  top: 0;\n'+
'  height: 4px;\n'+
'  width: 100%;\n'+
'  z-index: 2;\n'+
'  -webkit-animation: preloadAnimation linear .8s;\n'+
'  -moz-animation: preloadAnimation linear .8s;\n'+
'  -ms-animation: preloadAnimation linear .8s;\n'+
'  -o-animation: preloadAnimation linear .8s;\n'+
'  animation: preloadAnimation linear .8s;\n'+
'  -webkit-animation-iteration-count: 1;\n'+
'  -moz-animation-iteration-count: 1;\n'+
'  -ms-animation-iteration-count: 1;\n'+
'  -o-animation-iteration-count: 1;\n'+
'  animation-iteration-count: 1;\n'+
'}\n'+
'@keyframes preloadAnimation {\n'+
'  0% {\n'+
'    transform: translateX(0)\n'+
'  }\n'+
'  90% {\n'+
'    transform: translateX(100%)\n'+
'  }\n'+
'  100% {\n'+
'    transform: translateY(-2px)\n'+
'  }\n'+
'}\n'+
'@-moz-keyframes preloadAnimation {\n'+
'  0% {\n'+
'    -moz-transform: translateX(0)\n'+
'  }\n'+
'  90% {\n'+
'    -moz-transform: translateX(100%)\n'+
'  }\n'+
'  100% {\n'+
'    -moz-transform: translateY(-2px)\n'+
'  }\n'+
'}\n'+
'@-ms-keyframes preloadAnimation {\n'+
'  0% {\n'+
'    -ms-transform: translateX(0)\n'+
'  }\n'+
'  90% {\n'+
'    -ms-transform: translateX(100%)\n'+
'  }\n'+
'  100% {\n'+
'    -ms-transform: translateY(-2px)\n'+
'  }\n'+
'}';self.addPreviewEvent=function(){self.addEvent(self.root,'mouseover',function(e){self.injectPreview(e);});self.addEvent(self.root,'touchstart',function(e){self.injectPreview(e);});self.addEvent(self.root,'mouseout',function(e){self.removePreview(e);});self.addEvent(self.root,'touchend',function(e){self.removePreview(e);});self.stylesheetsBlock.add('contentPreview',self.preloadAnimationStyles);};self.injectPreview=function(e){if(e.target.className==='mcimg'){const hash=e.target.parentNode.parentNode.dataset.hash;if(typeof self.teaserData[hash]!=='undefined'&&typeof self.teaserData[hash].other.vp!=='undefined'){const preload=self.context.document.createElement('div');preload.setAttribute('class','preload');self.addEvent(preload,'animationend',function(e){e.target.parentNode.removeChild(e.target);});e.target.parentNode.appendChild(preload);setTimeout(function(){const video=self.context.document.createElement('video');video.src=self.teaserData[hash].other.vp;video.classList.add('previewContent');video.loop='loop';video.autoplay=true;video.setAttribute('playsinline','');video.muted='muted';video.style.position='absolute';video.style.top=0;video.style.left=0;video.style.width='100%';e.target.parentNode.appendChild(video);},100);}}};self.removePreview=function(e){let target=e.target;if(e.type==='mouseout'){target=e.relatedTarget;}
const videoLinks=self.root.querySelectorAll('video.previewContent');for(let i=0;i<videoLinks.length;i++){if(target==null||target.parentNode==null||typeof target.parentNode.classList==='undefined'||target.parentNode.classList.contains('image-container')&&videoLinks[i]===target.parentNode.querySelector('video.previewContent')){continue;}
videoLinks[i].parentNode.querySelector('img.mcimg').style.display='block';videoLinks[i].parentNode.removeChild(videoLinks[i]);}
return;};};}),"./src/modules/ContextBlock.js":/*!*************************************!*\
!*** ./src/modules/ContextBlock.js ***!
\*************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'ContextBlock'+734391]=function(self){let topmostWindowAccessible;const getTopmostWindowAccessible=function(){if(typeof(topmostWindowAccessible)=='undefined'){try{for(let w=self.context;w.document;w=w.parent){topmostWindowAccessible=w;if(w==w.top){break;}}}catch(err){}}
return topmostWindowAccessible;};const parseUrl=function(urlString){const parser=document.createElement('A');parser.href=urlString;const params=parser.search.replace(/^\?/,'').split('&');const parsedParams=[];for(const param of params){if(param!==''){const parts=param.split('=');parsedParams.push({key:parts[0],value:(typeof parts[1]!=='undefined'?parts[1]:'')});}}
let pathname=parser.pathname;if(pathname===''){pathname='/';}
if(pathname.charAt(0)!=='/'){pathname='/'+parser.pathname;}
return{protocol:parser.protocol,host:parser.host,pathname:pathname,search:parser.search,hash:parser.hash,parsedParams:parsedParams,};};const composeUrl=function(urlObj){return urlObj.protocol+'//'+urlObj.host+urlObj.pathname+urlObj.search+urlObj.hash;};self.stripAmpParts=function(uri){let result=uri;const uriObj=parseUrl(uri);const ampSubdomain='cdn.ampproject.org';if(uriObj.host.indexOf(ampSubdomain)>0&&uriObj.host.indexOf(ampSubdomain)===uriObj.host.length-ampSubdomain.length){const pathParts=uriObj.pathname.split('/');if(typeof pathParts[1]!=='undefined'&&(pathParts[1]==='c'||pathParts[1]==='v'||pathParts[1]==='wp')){let isHttps=false;if(typeof pathParts[2]!=='undefined'&&pathParts[2]==='s'){isHttps=true;}
result=(isHttps?'https':'http')+'://';let index=0;for(const param of pathParts){if(param!==''&&param!=='c'&&param!=='v'&&param!=='wp'&&param!=='s'){result+=((index++!==0)?'/':'')+param;}}
result+=uriObj.search+uriObj.hash;}else if(typeof pathParts[1]==='undefined'||pathParts[1]===''){result=result.replace('.'+ampSubdomain,'').replace('-','.');}}
return result;};self.contextUriSanitize=function(uri){if(uri){uri=self.stripAmpParts(uri);const uriObj=parseUrl(uri);self.context._mgCanonicalUri=composeUrl(uriObj);}
return self.context._mgCanonicalUri;};self.contextUriParse=function(){if(typeof(self.context._mgCanonicalUri)=='undefined'){self.context._mgCanonicalUri='';try{const tmw=getTopmostWindowAccessible();let uri='';const ogUrlEl=tmw.document.querySelector('meta[property="og:url"]');if(ogUrlEl&&ogUrlEl.getAttribute('content')){uri=ogUrlEl.getAttribute('content');}else{const canonicalEl=tmw.document.querySelector('link[rel=\'canonical\']');if(canonicalEl&&canonicalEl.getAttribute('href')){uri=canonicalEl.getAttribute('href');}}
if(uri===''){switch(self.iframePlacementType){case 0:uri=self.pageUrl;break;case 1:uri=self.pageUrl;break;case 2:uri=self.refererUrl;break;case 3:try{uri=self.context.context.canonicalUrl;}catch(e){}
if(!uri){uri=self.pageUrl!==''?self.pageUrl:self.refererUrl;}
break;}
self.contextUriSanitize(uri);}else{self.context._mgCanonicalUri=uri;}}catch(err){}}
return self.context._mgCanonicalUri;};};}),"./src/modules/CookieBlock.js":/*!************************************!*\
!*** ./src/modules/CookieBlock.js ***!
\************************************//*!no static exports found*/(function(module,exports,__webpack_require__){class CookieBlock{constructor(app){this.app=app;this.cookieStorage={};this.sharedCookieStorage={};this.storageName="MarketGid"+'Storage'+(this.app.context["MarketGid"+'PageOffset']?this.app.context["MarketGid"+'PageOffset']:'');}
getCookieValue(){if(true){const matches=this.app.context.document.cookie.match(new RegExp('(?:^|; )'+this.storageName+'=([^;]*)'));let res={};if(matches){try{res=JSON.parse(decodeURIComponent(matches[1]));}catch(e){}}
return res;}else{}};getCookie(){const value=this.getCookieValue();if(typeof value["C"+734391]!=='undefined'){this.cookieStorage=value["C"+734391];}else this.cookieStorage={};if(typeof value['0']!=='undefined'){this.sharedCookieStorage=value['0'];}else this.sharedCookieStorage={};};setCookie(){if(true){const totalCookie=this.getCookieValue();totalCookie["C"+734391]=this.cookieStorage;totalCookie['0']=this.sharedCookieStorage;const value=encodeURIComponent(JSON.stringify(totalCookie));this.app.context.document.cookie=this.storageName+'='+value+';path=/';}};};module.exports=CookieBlock;}),"./src/modules/CountersBlock.js":/*!**************************************!*\
!*** ./src/modules/CountersBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class CountersBlock extends AbstractBlock{constructor(app){super(app);this.addHook('afterLoadNewsHooks',this.countersLoad);this.addHook('afterLoadNewsHooks',this.compositeComscoreCountersLoad);}
countersLoad(){let partnerId=0;if(parseInt(this.app.id)!==parseInt(734391)){const child=this.app.childWidgetsData[this.app.id];partnerId=child?child.newsWidgetIdPartner:null;}
if(false){}}
compositeComscoreCountersLoad(){if(true&&!this.comscoreCompositeCounter){this.comscoreCompositeCounter=true;this.app.context._comscore=this.app.context._comscore||[];const mirrorStr=((this.app.loadedType==='news')?('0'+0):('1'+10));this.app.context._comscore.push({c1:'7',c2:'15208452',c3:mirrorStr});(()=>{const s=this.app.context.document.createElement('script');const el=this.app.context.document.getElementsByTagName('script')[0];s.async=true;const scriptSrc=(this.app.context.document.location.protocol==='http:'?'http://b':'https://sb')+'.scorecardresearch.com/beacon.js';s.src=scriptSrc;el.parentNode.insertBefore(s,el);})();}}}
module.exports=CountersBlock;}),"./src/modules/CriteoBlock.js":/*!************************************!*\
!*** ./src/modules/CriteoBlock.js ***!
\************************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'CriteoBlock'+734391]=function(self){self.afterLoadNewsHooks.push('initCriteoHandlers');self.initCriteoHandlers=function(){let criteoFunctionName='LoadCriteoAllPlaces'+self.id;if(true&&self.uniqId!==''){criteoFunctionName+='_'+self.uniqId;}
self.context[criteoFunctionName]=self.LoadCriteoAllPlaces;};self.LoadCriteoAllPlaces=function(params){self.criteoNurl=params.l;const s=self.context.document.createElement('script');self.criteoParams=params.pos;s.type='text/javascript';s.async='async';s.src='https://static.criteo.net/js/ld/publishertag.js';const h=self.context.document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);self.context.Criteo=self.context.Criteo||{};self.context.Criteo.events=self.context.Criteo.events||[];self.context.Criteo.events.push(function(){const adUnit={'placements':[{'slotid':self.root.id,'zoneid':params.z,'publishersubid':57077301,'nativeCallback':function(assets){self.ProcessCriteo(assets);},},],};self.context.Criteo.Passback.RequestBids(adUnit,1500);});self.context.Criteo.events.push(function(){self.context.Criteo.Passback.RenderAd({adUnit:self.root.id,passback:function(adunit){},});});};self.ProcessCriteo=function(response){let k;self.countLoadBlocks=0;self.root.innerHTML='';self.stylesheetsBlock.add('criteo',self.styles);self.iteration=1;const hashes=[];const data=self.json;let advDomain='';if('advertiser'in response&&'domain'in response.advertiser){advDomain=response.advertiser.domain;}
const placements=response.products.length;for(k=0;k<placements;k++){self.criteoPlacement=k;if(typeof data[k]==='undefined'){continue;}
data[self.criteoPlacement][0]=advDomain;data[self.criteoPlacement][1]=k+1;data[self.criteoPlacement][3]=response.products[k].title;data[self.criteoPlacement][4]=response.products[k].description;data[self.criteoPlacement][7]=response.products[k].price;data[self.criteoPlacement][8]='';data[self.criteoPlacement][10].i=self.webProtocol+'//imggprx.'+
self.subnetMirrorsImage+'/i/resize?img='+
encodeURIComponent(response.products[k].image.url)+'&size='+44;data[self.criteoPlacement][10].l=self.criteoParams[k]+'&u='+
self.tox64String(response.products[k].click_url,true);data[self.criteoPlacement][10].adc=[];hashes.push(self.teaserHashes[data[k].id]);}
self.loadNews(data);for(k=0;k<placements;k++){self.criteoPlacement=k;if(typeof data[k]==='undefined'){continue;}
if(response.hasOwnProperty('privacy')&&response.privacy.hasOwnProperty('optout_click_url')&&response.privacy.hasOwnProperty('optout_image_url')){const imgElement=self.root.getElementsByClassName('mgline')[self.criteoPlacement].getElementsByClassName('mcimg')[0];const privacyDiv=self.context.document.createElement('DIV');privacyDiv.style.position='absolute';privacyDiv.style.zIndex='100';privacyDiv.style.left='90%';privacyDiv.style.top='0';const privacyHref=self.context.document.createElement('A');privacyHref.setAttribute('href',response.privacy.optout_click_url);privacyHref.setAttribute('target','_blank');const privacyImg=self.context.document.createElement('IMG');privacyImg.setAttribute('src',response.privacy.optout_image_url);privacyHref.appendChild(privacyImg);privacyDiv.appendChild(privacyHref);imgElement.appendChild(privacyDiv);if(response.hasOwnProperty('impression_pixels')){for(const i in response.impression_pixels){if(response.impression_pixels[i].hasOwnProperty('url')){const im=self.context.document.createElement('IMG');im.src=response.impression_pixels[i].url;self.context.document.body.appendChild(im);}}}}}
const n=self.context.document.createElement('IMG');n.src=self.criteoNurl+'&ads='+hashes.join(',');self.context.document.body.appendChild(n);};};}),"./src/modules/DebugBlock.js":/*!***********************************!*\
!*** ./src/modules/DebugBlock.js ***!
\***********************************//*!no static exports found*/(function(module,exports){module.exports=function(self){let isDebugEnabled=null;self.log=function(data){if(isDebugEnabled===null){if(self.getQueryParameterByName('mgwdebug')=='1'||true){isDebugEnabled=true;}}
if(isDebugEnabled){console.log(`WIDGET_${734391}_${self.uniqId}`,data);}};};}),"./src/modules/DesktopDoubleClickBlock.js":/*!************************************************!*\
!*** ./src/modules/DesktopDoubleClickBlock.js ***!
\************************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class DesktopDoubleClickBlock extends AbstractBlock{constructor(app){super(app);const isTouch=(('ontouchstart'in window)||(navigator.msMaxTouchPoints>0));const isGoodBrowser=('addEventListener'in window.document);if(!isTouch&&isGoodBrowser){this.addHook('afterSendCappingHooks',this._init);this.informerId=this.app.root.getAttribute('id');}}
_init(){if(!this.app.isEnabledDoubleClick()){return;}
if(!this.app.doubleClickTimeLoaded){this.app.doubleClickTimeLoaded=(new Date()).getTime()/1000;}
this.app.stylesheetsBlock.add('desktopDoubleClick',this._getStyles());this.app.showDesktopDoubleClickButton=this._onClick.bind(this);this.app.addClickHandler(this.app.clickHandlerList.showDesktopDoubleClick.handler,this.app.clickHandlerList.showDesktopDoubleClick.priority,);}
_onClick(element,event){if(this.app.isDisabledBySmartDoubleClick){return true;}
this.app.linksBlocked=false;this.app.doubleClickType='desktop';let clickedElement=element;const currentTime=parseInt((new Date()).getTime()/1000);const doubleClickDeactivationDelay=this.app.getWidgetValue('desktopDoubleclickDelay',0);if(clickedElement.className!=="MarketGidC"+'DButton'+734391&&(doubleClickDeactivationDelay===0||currentTime-this.app.doubleClickTimeLoaded<doubleClickDeactivationDelay)){this.app.doubleClickHandler(clickedElement);event.preventDefault();this.app.linksBlocked=true;while(clickedElement.tagName!='A'&&clickedElement.id!=this.informerId){clickedElement=clickedElement.parentNode;if(clickedElement.id==this.informerId){return false;}}
let href=clickedElement.getAttribute(this.app.hrefAttr);clickedElement=event.target;try{while(!clickedElement.classList.contains('mgline')){clickedElement=clickedElement.parentNode;}}catch(e){return false;}
const teaserDiv=clickedElement;const teaserHeight=teaserDiv.offsetHeight;const layoutDiv=this.app.context.document.createElement('div');layoutDiv.className="MarketGidC"+'DLayout'+734391;layoutDiv.style.zIndex=100000;const button=this.app.context.document.createElement('a');let buttonHeight=teaserHeight/3+2;let buttonWidth=buttonHeight;button.style.width=buttonHeight-2+'px';button.style.lineHeight=buttonHeight-2+'px';button.style.height='33.33%';if(teaserDiv.offsetHeight<=100){buttonWidth=80;buttonHeight=80;button.style.width='80px';button.style.lineHeight='78px';button.style.height='80px';}
let top=(1-buttonHeight/teaserDiv.offsetHeight)/2*100;(()=>{const clickY=event.clientY-teaserDiv.getBoundingClientRect().top;if(clickY<teaserHeight/2){return top=(1-2*buttonHeight/teaserHeight)*100/4+50;}
return top=(1-2*buttonHeight/teaserHeight)*100/4;})();if(teaserDiv.offsetHeight<=100){top='-34';}
let scale=teaserDiv.offsetWidth/buttonWidth*0.98;button.innerHTML=this.app.getTranslation('[GO]');if(typeof href==='string'||href instanceof String){href=href+((href.indexOf('?')>=0)?'&':'?')+'wct='+this.app.doubleClickType;}
button.href=href;const link=clickedElement.querySelector('a');if(link&&link.getAttribute('data-hash')){button.setAttribute('data-hash',link.getAttribute('data-hash'));}
button.style.top=top+'%';let left=scale>1?(1-buttonWidth/teaserDiv.offsetWidth)/2*100:0;if(teaserDiv.offsetHeight<=100){left='45.5';}
button.style.left=left+'%';if(parseFloat(button.style.width)<=50){button.style.font='normal 500 12px/'+button.style.width+' "Sans", sans-serif';}
if(teaserDiv.offsetHeight<=100){scale=0.5;}
if(scale<1){button.style.transform='scale3d('+scale+','+scale+','+scale+')';button.style.webkitTransform='scale3d('+scale+','+scale+','+scale+')';button.style.transformOrigin='left';button.style.webkitTransformOrigin='left';}
button.target='_blank';button.className="MarketGidC"+'DButton'+734391;layoutDiv.appendChild(button);const mglineInner=teaserDiv.querySelector('.mgline-inner');if(mglineInner){mglineInner.appendChild(layoutDiv);}else{teaserDiv.appendChild(layoutDiv);}
setTimeout(()=>{scale=scale<1?scale:1;button.style.transform='scale3d('+scale+','+scale+','+scale+')';},500);setTimeout(()=>{layoutDiv.parentNode.removeChild(layoutDiv);},10000);}else{this.app.doubleClickHandler(clickedElement,true);return true;}}
_getStyles(){return '.'+"MarketGidC"+'DButton'+734391+'{'+
'display:       inline-block;'+
'width:         170px !important;'+
'height:        50px !important;'+
'line-height:        50px !important;'+
'background-color: RGBA(0,0,0,0);'+
'border:        1px solid white;'+
'border-radius:        3px;'+
'color:         white !important;'+
'font:          normal 500 18px/50px "Sans", sans-serif;'+
'transform: scale3d(0.0001,0.0001,0.0001);'+
'text-align:    center;'+
'padding:    0 10px;'+
'text-shadow:   none;'+
'position: absolute;'+
'left: 0 !important;'+
'right: 0 !important;'+
'top: 0 !important;'+
'bottom: 0 !important;'+
'margin: auto !important;'+
'text-decoration: none !important;'+
'transition:all 1s;'+
'}'+
'.'+"MarketGidC"+'DLayout'+734391+'{'+
'height: 100%;'+
'width: 100%;'+
'position: absolute;'+
'top: 0px;'+
'left: 0px;'+
'background-color: rgba(0, 0, 0, 0.5);'+
'z-index: 100;'+
'}'+
'#'+"MarketGidC"+'Composite'+734391+' .mgline {position:relative}';}}
module.exports=DesktopDoubleClickBlock;}),"./src/modules/DiscountBlock.js":/*!**************************************!*\
!*** ./src/modules/DiscountBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'DiscountBlock'+734391]=function(self){this.afterLoadNewsHooks.push('discountsLoader');this.discountMouseOver=function(event){const pricesold=this.getElementsByClassName('mcpriceold'+96126);const prices=this.getElementsByClassName('mcprice'+96126);const discounts=this.getElementsByClassName('mcdiscount'+96126);if(pricesold.length>0){pricesold[0].style.display='none';prices.length>1?prices[1].style.display='none':null;discounts.length>0?discounts[0].style.display='inline':null;}};this.discountMouseOut=function(event){const discounts=this.getElementsByClassName('mcdiscount'+96126);const prices=this.getElementsByClassName('mcprice'+96126);const pricesold=this.getElementsByClassName('mcpriceold'+96126);if(pricesold.length>0){discounts.length>0?discounts[0].style.display='none':null;prices.length>1?prices[1].style.display='inline':null;pricesold[0].style.display='inline';}};this.discountsLoader=function(){if(this.root){const teasers=this.root.getElementsByClassName('mcteaser'+96126);for(const teaser of teasers){teaser.onmouseout=this.discountMouseOut;teaser.onmouseover=this.discountMouseOver;}}};};}),"./src/modules/ExternalCountersBlock.js":/*!**********************************************!*\
!*** ./src/modules/ExternalCountersBlock.js ***!
\**********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class ExternalCountersBlock extends AbstractBlock{constructor(app){super(app);this.app.externalCountersLinkHandler=this._externalCountersLinkHandler.bind(this);this._handleExternalCountersListener();}
_externalCountersLinkHandler(element){const hash=element.getAttribute('data-hash');if(Array.isArray(this.app.teaserData[hash]['clicktrackers'])){const clicktrackers=this.app.teaserData[hash]['clicktrackers'];if(clicktrackers.length){for(let i=0;i<clicktrackers.length;i++){const img=this.app.context.document.createElement('IMG');img.src=clicktrackers[i];}}}
return true;}
_handleExternalCountersListener(){this.app.addClickHandler(this.app.clickHandlerList.externalCountersLink.handler,this.app.clickHandlerList.externalCountersLink.priority,);}}
module.exports=ExternalCountersBlock;}),"./src/modules/GradientBlock.js":/*!**************************************!*\
!*** ./src/modules/GradientBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'GradientBlock'+734391]=function(self){self.beforeInjectTemplateHooks.push('gradientRendering');self.gradientRendering=function(){const teaserBlock=self.templateContent.querySelectorAll('[class*=mgline-blur]');if(teaserBlock.length===0){return;}
const hexToRgb=function(hex){const result=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);return result?parseInt(result[1],16)+','+parseInt(result[2],16)+','+parseInt(result[3],16):'';};for(let i=0;i<teaserBlock.length;i++){let vector='';let mobileVector='';let direction='';const findClass=/\bmgline-[^\s]*\b/.exec(teaserBlock[i].classList.value);const findMobileClass=/\bmgline-[^\s]*\b-mob/.exec(teaserBlock[i].classList.value);if(findClass){direction=findClass[0].split('-').pop();direction=direction==='blur'?'bottom':direction;vector='to '+direction+',';}
if(findMobileClass){direction=findMobileClass[0].split('-')[2];mobileVector='to '+direction+',';}
const mgline=teaserBlock[i];const gradientSection=teaserBlock[i].getElementsByClassName('text-elements')[0];if(!teaserBlock[i].getElementsByClassName('mctitle')[0]){continue;}
const title=teaserBlock[i].getElementsByClassName('mctitle')[0].getElementsByTagName('a')[0];const domains=teaserBlock[i].getElementsByClassName('mcdomain');const teaserImg=teaserBlock[i].querySelector('img.mcimg');let customGradient="";if(customGradient!==''){customGradient=hexToRgb(customGradient);}
const defaultGradient=function(gradientSection,title,domains,vector,mobileVector){if(self.context.matchMedia('(max-width: 480px)').matches||self.deviceType==='mobile'){vector=mobileVector;}
let gradient='';if(customGradient===''){gradient='linear-gradient('+vector+'transparent,rgba(0,0,0, 0.25) 15%,rgba(0,0,0, 0.85) 30%,'+
'rgb(0,0,0) 45%)';}else{gradient='linear-gradient('+vector+'transparent,rgba('+customGradient+', 0.25) 15%,'+
'rgba('+customGradient+', 0.85) 30%,rgb('+customGradient+') 45%)';}
gradientSection.style.background=gradient;title.style.color='#fff';Object.keys(domains).forEach(function(key){const domain=domains[key];domain.firstElementChild.style.color='#fff';});};if(customGradient===''){(function(mgline,gradientSection,title,domains,vector,mobileVector){self.colorAverage(teaserImg).then(function(rgb){if(self.context.matchMedia('(max-width: 480px)').matches||self.deviceType==='mobile'){vector=mobileVector;}
const textColor=(0.299*rgb.r+0.587*rgb.g+0.114*rgb.b)>186?'#000':'#fff';const gradient='linear-gradient('+vector+'transparent,'+
' rgba('+rgb.r+','+rgb.g+','+rgb.b+', 0.25) 15%,'+
'rgba('+rgb.r+','+rgb.g+','+rgb.b+', 0.85) 30%,rgb('+rgb.r+','+rgb.g+','+
rgb.b+') 45%)';mgline.style.background='rgb('+rgb.r+','+rgb.g+','+rgb.b+')';gradientSection.style.background=gradient;title.style.color=textColor;Object.keys(domains).forEach(function(key){const domain=domains[key];domain.firstElementChild.style.color='#fff';});});})(mgline,gradientSection,title,domains,vector,mobileVector);}else{defaultGradient(gradientSection,title,domains,vector,mobileVector);}
setTimeout(function(){const fontSize1=self.autoSizeTitle-Math.round(title.clientHeight/self.autoSizeTitle);title.style.fontSize=fontSize1+'px';title.style.lineHeight=fontSize1+'px';},100);}};};}),"./src/modules/InternalExchangeBlock.js":/*!**********************************************!*\
!*** ./src/modules/InternalExchangeBlock.js ***!
\**********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'InternalExchangeBlock'+734391]=function(self){if(true){self.afterLoadNewsHooks.push('initIntExchangeLabels');}
function getComments(context){const foundComments=[];const elementPath=[context];while(elementPath.length>0){const el=elementPath.pop();for(let i=0;i<el.childNodes.length;i++){const node=el.childNodes[i];if(node.nodeType===Node.COMMENT_NODE){foundComments.push(node);}else{elementPath.push(node);}}}
return foundComments;}
self.initIntExchangeLabels=function(){const LENTA_ID=3;const AK_ID=2;if(self.enabledCooperationTypes.indexOf('int_exchange')===-1&&[LENTA_ID,AK_ID].indexOf(self.currentSubnet)===-1){return;}
const comments=getComments(self.root);for(let i=0;i<comments.length;i++){const comment=comments[i];const mgline=self.findClosest(comment,'.mgline');if(!mgline){continue;}
if(mgline.className.indexOf('type-w')===-1){continue;}
const img=self.context.document.createElement('IMG');img.setAttribute('height',20);if(comment.data==='intExchangeWagesImagePlace'){img.className='mcimgad';img.src=self.webProtocol+'//'+"cdn.mgid.com"+'/images/'+"mgid"+
'/int_exchange_wages_ad.svg';const elCriteo=mgline.getElementsByClassName('criteo-informer');if(elCriteo.length===1){elCriteo[0].style.top='2px';elCriteo[0].style.right='70px';}}
const link=mgline.querySelector('a');const hash=link['data-hash']||link.getAttribute('data-hash');if(hash&&self.teaserData[hash]&&!!self.teaserData[hash]['source']){if(comment.data==='intExhangeWagesSourcePlace'){img.className='mcimgsrc';img.src=self.webProtocol+'//'+"cdn.mgid.com"+'/images/'+"mgid"+
'/int_exchange_wages_src.svg';}}
if(!img.src){continue;}
comment.parentNode.replaceChild(img,comment);}};};}),"./src/modules/InternalExchangeLoggerBlock.js":/*!****************************************************!*\
!*** ./src/modules/InternalExchangeLoggerBlock.js ***!
\****************************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'InternalExchangeLoggerBlock'+734391]=function(self){self.afterLoadNewsHooks.push('iExchangeLoggerInit');self.internalExchangeLoggerHandler=function(element){const hash=element.getAttribute('data-hash');if(self.teaserData[hash]&&self.teaserData[hash]['coopType']=='i'){const img=document.createElement('IMG');let data='cid='+self.id+'&tid='+self.teaserData[hash]['id']+'&h='+hash;if(typeof self.servicerData['isBot']!=='undefined'){data+='&bot='+self.servicerData['isBot'];}
if(typeof self.servicerData['tt']!=='undefined'){data+='&tt='+self.servicerData['tt'];}
if(typeof self.servicerData['ts']!=='undefined'){data+='&ts='+self.servicerData['ts'];}
if(typeof self.servicerData['psid']!=='undefined'){data+='&psid='+self.servicerData['psid'];}
if(typeof self.servicerData['dt']!=='undefined'){data+='&dt='+self.servicerData['dt'];}
const tagName=element.parentNode.tagName;const className='.'+self.extractClass(element.parentNode);data+='&ce='+tagName+className;const scriptSrc='//'+"c.mgid.com"+'/clie?'+data;img.src=self.webProtocol+scriptSrc;img.onerror=function(){};}
return true;};self.iExchangeLoggerInit=function(){self.addClickHandler(self.clickHandlerList.internalExchangeLogger.handler,self.clickHandlerList.internalExchangeLogger.priority,);};};}),"./src/modules/LifeCycleBlock.js":/*!***************************************!*\
!*** ./src/modules/LifeCycleBlock.js ***!
\***************************************//*!no static exports found*/(function(module,exports,__webpack_require__){class LifeCycleBlock{constructor(app){this.app=app;this.app.lifeCycleBlock=this;this.stage='';this.workInProgress=false;}
async run(){this.stage='init';this.workInProgress=true;try{await this.initBlocks();await this.execute(()=>{this.app.init();});await this.execute(()=>{this.app.utils.isMobile();});await this.processHooks('afterInitHooks');if(false){}
if(true){const json=await this.execute(()=>{return this.app.preparePrerenderData();});const template=await this.execute(()=>{return this.app.templateFunc(json,true);});await this.execute(()=>{this.app.prerenderNews(template);});await this.execute(()=>{this.app.calcPreRenderingBlock();},50);}
await this.processHooks('beforeInjectScriptHooks');await this.execute(()=>{this.app.injectScript();});if(!this.app.initServicerRequest){await this.processHooks('afterInjectScriptHooks');}}catch(e){console.log(e);}
this.workInProgress=false;}
async render(json,servicerData){await this.waitForFree();this.stage='render';this.workInProgress=true;try{if(typeof this.app.headerBiddingBlock!=='undefined'){const res=await this.app.headerBiddingBlock.merge({json:json,servicerData:servicerData});json=res.json;servicerData=res.servicerData;}
await this.execute(()=>{this.app.loadNewsPrestart(json,servicerData);});await this.processHooks('beforeLoadNewsHooks',[json,servicerData]);await this.execute(()=>{this.app.loadNews(json,servicerData);});await this.processHooks('afterLoadNewsHooks');}catch(e){console.log(e);}
this.workInProgress=false;}
async initBlocks(){await this.execute(()=>{this.app.cookieBlock=new(__webpack_require__(/*!./CookieBlock.js*/"./src/modules/CookieBlock.js"))(this.app);});await this.execute(()=>{this.app.stylesheetsBlock=new(__webpack_require__(/*!./StylesheetsBlock*/"./src/modules/StylesheetsBlock.js"))(this.app);});await this.execute(()=>{this.app.versionControl=new(__webpack_require__(/*!./VersionControlBlock.js*/"./src/modules/VersionControlBlock.js"))(this.app);});await this.execute(()=>{this.app.advertLinkBlock=new(__webpack_require__(/*!./AdvertLinkBlock.js*/"./src/modules/AdvertLinkBlock.js"))(this.app);});await this.execute(()=>{this.app.adChoiceBlock=new(__webpack_require__(/*!./AdChoiceBlock.js*/"./src/modules/AdChoiceBlock.js"))(this.app);});await this.execute(()=>{this.app.teaserHoverBlock=new(__webpack_require__(/*!./TeaserHoverBlock.js*/"./src/modules/TeaserHoverBlock.js"))(this.app);});await this.execute(()=>{this.app.consentsBlock=new(__webpack_require__(/*!./ConsentsBlock.js*/"./src/modules/ConsentsBlock.js"))(this.app);});await this.execute(()=>{this.app.refreshNewsBlock=new(__webpack_require__(/*!./RefreshNewsBlock.js*/"./src/modules/RefreshNewsBlock.js"))(this.app);});await this.execute(()=>{this.app.countersBlock=new(__webpack_require__(/*!./CountersBlock.js*/"./src/modules/CountersBlock.js"))(this.app);});await this.execute(()=>{this.app.blurBlock=new(__webpack_require__(/*!./BlurBlock*/"./src/modules/BlurBlock.js"))(this.app);});await this.execute(()=>{this.app.subnetsBlock=new(__webpack_require__(/*!./SubnetsBlock*/"./src/modules/SubnetsBlock.js"))(this.app);});await this.execute(()=>{this.app.mgqBlock=new(__webpack_require__(/*!./MgqBlock*/"./src/modules/MgqBlock.js"))(this.app);});await this.execute(()=>{this.app.smartDoubleClickBlock=new(__webpack_require__(/*!./SmartDoubleClickBlock*/"./src/modules/SmartDoubleClickBlock.js"))(this.app);});await this.execute(()=>{this.app.mobileDoubleClickBlock=new(__webpack_require__(/*!./MobileDoubleClickBlock*/"./src/modules/MobileDoubleClickBlock.js"))(this.app);});await this.execute(()=>{this.app.desktopDoubleClickBlock=new(__webpack_require__(/*!./DesktopDoubleClickBlock*/"./src/modules/DesktopDoubleClickBlock.js"))(this.app);});await this.execute(()=>{this.app.sspDoubleClickBlock=new(__webpack_require__(/*!./SspDoubleClickBlock*/"./src/modules/SspDoubleClickBlock.js"))(this.app);});await this.execute(()=>{this.app.utils=new(__webpack_require__(/*!./UtilsBlock*/"./src/modules/UtilsBlock.js"))(this.app);});await this.execute(()=>{if(false||this.app.globalSettings.enable_widget_analytics){this.app.viewabilityRefresh=new(__webpack_require__(/*!./ViewabilityRefreshBlock*/"./src/modules/ViewabilityRefreshBlock.js"))(this.app);}});await this.execute(()=>{this.app.externalCountersBlock=new(__webpack_require__(/*!./ExternalCountersBlock*/"./src/modules/ExternalCountersBlock.js"))(this.app);});await this.execute(()=>{this.app.ampRenderBlock=new(__webpack_require__(/*!./AmpRenderBlock*/"./src/modules/AmpRenderBlock.js"))(this.app);});await this.execute(()=>{this.app.yandexTurboBlock=new(__webpack_require__(/*!./YandexTurboBlock*/"./src/modules/YandexTurboBlock.js"))(this.app);});if(false){}
if(false){}
if(true){await this.execute(()=>{this.app.antifraudStatisticsBlock=new(__webpack_require__(/*!./AntifraudStatisticsBlock.js*/"./src/modules/AntifraudStatisticsBlock.js"))(this.app);});await this.execute(()=>{this.app.antifraudBlock=new(__webpack_require__(/*!./AntifraudBlock.js*/"./src/modules/AntifraudBlock.js"))(this.app);});}
if(false){}
if(false){}
if(false){}
if(false){}
if(false){}
if("wages".length>0){await this.execute(()=>{this.app.accidentalClicksBlock=new(__webpack_require__(/*!./AccidentalClicksBlock*/"./src/modules/AccidentalClicksBlock.js"))(this.app);});}
if(true){await this.execute(()=>{this.app.activateDelayBlock=new(__webpack_require__(/*!./ActivateDelayBlock*/"./src/modules/ActivateDelayBlock.js"))(this.app);});}
if(false){}else{if(false){}
if(false){}
if(false){}
if(false){}}
if(false){}
if(true){await this.execute(()=>{this.app.monitorBlock=new(__webpack_require__(/*!./MonitorBlock*/"./src/modules/MonitorBlock.js"))(this.app);});}
if(false){}}
async processHooks(hooksGroupName,params){for(let i=0;i<this.app[hooksGroupName].length;i++){const hookName=this.app[hooksGroupName][i];if(typeof hookName==='string'){await new Promise((resolve,reject)=>{if(this.app.isAmp()||this.app.isTurbo()){this._processHookBody(hooksGroupName,hookName,params,resolve);}else{setTimeout(()=>{this._processHookBody(hooksGroupName,hookName,params,resolve);},0);}});}else if(typeof hookName==='function'){await hookName(params);}}}
_processHookBody(hooksGroupName,hookName,params,resolve){try{this.app.log(`${hooksGroupName} hook ${hookName} start`);this.app[hookName].apply(this,params);resolve();}catch(e){this.app.log(`${hooksGroupName} hook ${hookName} error: ${e.message}`);if(true){window["MarketGidInfC734391"+'Logger'].sendData(e.message);}
resolve();}};async execute(func,timeout=0){return new Promise((resolve)=>{if(this.app.isAmp()||this.app.isTurbo()){resolve(func());}else{setTimeout(()=>{resolve(func());},timeout);}});}
async waitForFree(){return new Promise((resolve)=>{(function wait(){if(this.workInProgress){setTimeout(()=>{wait.bind(this)();},50);}else{resolve();}}).bind(this)();});}}
module.exports=LifeCycleBlock;}),"./src/modules/LoggerObjBlock.js":/*!***************************************!*\
!*** ./src/modules/LoggerObjBlock.js ***!
\***************************************//*!no static exports found*/(function(module,exports){window["MarketGidInfC734391"+'Logger']=new(function(){this.sendData=function(data){const img=document.createElement('IMG');const scriptSrc=`https://${"c.mgid.com"}/widget-log?id=${734391}`+
'&d='+encodeURIComponent(data)+'&ts='+(new Date()).getTime();img.src=scriptSrc;};})();}),"./src/modules/MainBlock.js":/*!**********************************!*\
!*** ./src/modules/MainBlock.js ***!
\**********************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'MainBlock'+734391]=function(self){self.afterPrepareCappingDataHooks.push('setCappingRealShowTime');self.observerWidgetHooks.push('setWidgetRealShowTime');self.afterLoadNewsHooks.push('fixWrongExternalImages');self.cappingRealShowTime=0;self.widgetRealShowTime=0;if(false){}
self.addEvent(self.root,'mousemove',function(e){self.root.mouseX=e.pageX-self.root.offsetLeft;self.root.mouseY=e.pageY-self.root.offsetTop;});self.prepareHref=function(hash,event,element){let href='';const data=self.teaserData[hash];if(element&&typeof self.context._mgExternalLinkChanger!=='undefined'&&self.context._mgExternalLinkChanger===1){href=element.protocol+'//'+element.hostname+element.pathname;let paramsStr=element.search;if(paramsStr!=''){paramsStr=paramsStr.replace('?','');const params=paramsStr.split('&');for(let i=0;i<params.length;i++){const param=params[i].split('=');if(param[0]!='k'&&param[0]!='dc'){href+=(i==0?'?':'&')+params[i];}}}}else{href=self.clickTracking+self.webProtocol;if(data){if(data.link){if(/^http[s]?:/.test(data.link)){href=self.clickTracking+data.link;}else if(data['coopType']=='i'){href=self.clickTracking+self.intExchangeProtocol+data.link;}else{href=self.clickTracking+self.webProtocol+data.link;}}}else{href='#';}}
let dcparam='';if(typeof self.clickableDelay!=='undefined'&&self.clickableDelay){if(self.activateDelayBlock&&self.activateDelayBlock.isWagesLink(element)){dcparam='dc=1';}}
const delayClickParam=self.getQueryParameterByName('dc');if(delayClickParam){dcparam='dc='+parseInt(delayClickParam);}
const clickZone=self.getClickZone();if(clickZone!==''&&dcparam==''){dcparam='dc='+self.getClickZone();}
if(dcparam!==''){href+=((href.indexOf('?')>=0)?'&':'?')+dcparam;}
if(typeof self.transitParamsInit!=='undefined'){const extclckid=self.getQueryParameterByName('extclckid');if(extclckid&&/[\&\?]extclckid\=/.test(href)===false){href+=((href.indexOf('?')>=0)?'&':'?')+'extclckid='+extclckid;}}
if(typeof self.antifraudBlock!=='undefined'&&typeof self.antifraudBlock.getAntifraudParams=='function'&&data&&data['coopType']!='i'){href+=self.getAntifraudQueryParameter(href,event,element);}
if(self.cappingRealShowTime&&/[\&\?]crst\=/.test(href)===false){href+=((href.indexOf('?')>=0)?'&':'?')+'crst='+self.cappingRealShowTime;}
if(self.widgetRealShowTime&&/[\&\?]wrst\=/.test(href)===false){href+=((href.indexOf('?')>=0)?'&':'?')+'wrst='+self.widgetRealShowTime;}
if(typeof self.context.transitType!=='undefined'&&/[\&\?]trt\=/.test(href)===false){href+=((href.indexOf('?')>=0)?'&':'?')+'trt='+self.context.transitType;}
if(self.clickTracking&&href.indexOf(self.clickTracking)!==-1){href=self.clickTracking+encodeURIComponent(href.replace(self.clickTracking,''));}
if(self.templateId){href+=((href.indexOf('?')>=0)?'&':'?')+'tpl='+self.templateId;}
let wct='';if(element&&/[\&\?]wct\=/.test(href)===false&&(wct=self.getParameterFromLink(element,'wct'))){href+=((href.indexOf('?')===-1)?'?':'&')+wct;}
if(typeof event!=='undefined'&&event.type==='click'){let className='.'+self.extractClass(event.target);let tagName=event.target.tagName;if(tagName==='A'){tagName=event.target.parentNode.tagName;className='.'+self.extractClass(event.target.parentNode);}
if(!data||data['coopType']!=='i'){href+=((href.indexOf('?')>=0)?'&':'?')+'ce='+tagName+className;}}
if(data&&data['coopType']!='i'){try{if(self.context.localStorage){const mgMuidn=self.context.localStorage.getItem('mgMuidn');if(typeof(mgMuidn)=='string'&&mgMuidn.length>0&&href.indexOf('muid')<0){href+=((href.indexOf('?')>=0)?'&':'?')+'muid='+mgMuidn;}}}catch(e){}}
if(typeof self.context.transitThrownParams!=='undefined'){self.context.transitThrownParams.forEach(function(key){const transitParam=self.getQueryParameterByName(key);if(transitParam&&transitParam.length>0){href=self.replaceUrlParam(href,key,transitParam);}});}
if(false){}
return href;};self.getParameterFromLink=function(element,parameterName){const paramsStr=element.search;if(paramsStr===''){return null;}
const params=paramsStr.replace('?','').split('&');for(let i=0;i<params.length;i++){if(params[i].split('=')[0]===parameterName){return params[i];}}
return null;};self.getClickZone=function(){const coordinate=JSON.parse("[]");if(coordinate.length==0){return '';}
if(typeof coordinate.top=='undefined'||typeof coordinate.left=='undefined'||typeof coordinate.right=='undefined'||typeof coordinate.bottom=='undefined'){return '';}
const height=self.root.offsetHeight;const width=self.root.offsetWidth;const pixelCoordinate=[];pixelCoordinate['top']=parseInt(height/100*coordinate.top);pixelCoordinate['left']=parseInt(width/100*coordinate.left);pixelCoordinate['right']=width-parseInt(width/100*coordinate.right);pixelCoordinate['bottom']=height-parseInt(height/100*coordinate.bottom);const mouseX=self.root.mouseX;const mouseY=self.root.mouseY;const zoneIds=[[2,3,4],[5,'',6],[7,8,9],];return zoneIds[(mouseY<=pixelCoordinate['top'])?0:(mouseY>=pixelCoordinate['bottom']?2:1)][(mouseX<=pixelCoordinate['left'])?0:(mouseX>=pixelCoordinate['right']?2:1)];};self.getTranslation=function(key){const translations={"[GO]":"GO","[INFORMER_BUTTON_MORE]":"More","[INFORMER_CTA_LEARN_MORE]":"read more","[LS_INFORMERS_CLOSE_BUTTON]":"Close","[LS_INFORMERS_MOBILEMODAL_GO]":"Go","[LS_INFORMERS_WIDGET_MOBILE_CONTINUE]":"Continue","[WIDGET_TITLE_CHECK_THIS_OUT]":"Check This Out","[WIDGET_TITLE_INTERESTING]":"Interesting in network","[WIDGET_TITLE_INTERESTING_FOR_YOU]":"Interesting For You","[WIDGET_TITLE_MORE_COOL_STUFF]":"More Cool Stuff","[WIDGET_TITLE_MORE_FROM_AROUND_THE_WEB]":"More From Around The Web","[WIDGET_TITLE_PARTNERS_NEWS]":"Partner News","[WIDGET_TITLE_POPULAR]":"Popular in network","[WIDGET_TITLE_PROMOTED_CONTENT]":"Promoted Content","[WIDGET_TITLE_SMI]":"In other media","[WIDGET_TITLE_SPONSORED_CONTENT]":"Sponsored Content","[WIDGET_TITLE_SUGGESTED_NEWS]":"Suggested News","[WIDGET_TITLE_YOU_MAY_LIKE]":"You may like"};if(key.search(/^\[\S*\]$/g)===0){return translations[key]?translations[key]:'';}else{return key;}};self.getAntifraudQueryParameter=function(href,event,element){const params=self.antifraudBlock.getAntifraudParams(event,element);if(params){const suffix=self.id;return((href.indexOf('?')>=0)?'&':'?')+'k='+suffix+'f'+params;}
return '';};self.prepareNiceHref=function(hash,event,element){let href;const data=self.teaserData[hash];if(data.other['sdl']==1&&data['coopType']!='i'){href=self.clickTracking;if(typeof(data.other['dl'])!='undefined'&&data.other['dl']!=''){href+=data.other['dl'];}else{const source=decodeURIComponent(data[0].replace(/[`|',:\/?;$%&\(\)^*!@\s]/g,'')).toLowerCase();const title=decodeURIComponent(data[3].replace(/[`|',:\/?;$%&\(\)^*!@]/g,'')).replace(/\s/g,'_');href+=self.webProtocol+'//'+(source?source+'/':'')+title;}
if(self.clickTracking&&href.indexOf(self.clickTracking)!==-1){href=self.clickTracking+encodeURIComponent(href.replace(self.clickTracking,''));}}else{href=self.prepareHref(hash,event,element);}
return href;};self.transliterate=function(str){const a={'Ё':'YO','Й':'I','Ц':'TS','У':'U','К':'K','Е':'E','Н':'N','Г':'G','Ш':'SH','Щ':'SCH','З':'Z','Х':'H','Ъ':'','ё':'yo','й':'i','ц':'ts','у':'u','к':'k','е':'e','н':'n','г':'g','ш':'sh','щ':'sch','з':'z','х':'h','ъ':'\'','Ф':'F','Ы':'I','В':'V','А':'a','П':'P','Р':'R','О':'O','Л':'L','Д':'D','Ж':'ZH','Э':'E','ф':'f','ы':'i','в':'v','а':'a','п':'p','р':'r','о':'o','л':'l','д':'d','ж':'zh','э':'e','Я':'Ya','Ч':'CH','С':'S','М':'M','И':'I','Т':'T','Ь':'','Б':'B','Ю':'YU','я':'ya','ч':'ch','с':'s','м':'m','и':'i','т':'t','ь':'','б':'b','ю':'yu',' ':'_','і':'i','І':'I','ї':'i','Ї':'I',};return str.split('').map(function(char){if(char.match(/[a-z0-9_\-]/i)){return char;}
return a[char]||'';}).join('');};self.getQueryParameterByName=function(name){name=name.replace(/[\[\]]/g,'\\$&');const regex=new RegExp('[?&]'+name+'(=([^&#]*)|&|#|$)');const results=regex.exec(self.context.location.href);if(!results){return null;}
if(!results[2]){return '';}
return decodeURIComponent(results[2].replace(/\+/g,' '));};self.replaceUrlParam=function(url,paramName,paramValue){if(paramValue==null){return url;}
const pattern=new RegExp('\\b('+paramName+'=).*?(&|#|$)');if(url.search(pattern)>=0){return url.replace(pattern,'$1'+paramValue+'$2');}
url=url.replace(/[?#]$/,'');return url+(url.indexOf('?')>0?'&':'?')+paramName+'='+paramValue;};self.getParentLink=function(el){while(el&&el.tagName!=='BODY'){if(el.tagName=='A'){return el;}else{el=el.parentNode;}}
return null;};self.getParentElWithClass=function(el,className){try{while(el&&el.tagName!=='BODY'){if(el.classList.contains(className)){return el;}else{el=el.parentNode;}}}catch(e){return null;}
return null;};self.extractClass=function(el){if(el&&typeof el.className!=='undefined'){const first=el.className.replace(/\s/g,'.').split('.')[0];if(first){return first.replace(734391,'');}}
return '';};self.findClosest=function(element,selector){let foundElements;while(element.parentNode){foundElements=element.parentNode.querySelectorAll(selector);for(let i=0;i<foundElements.length;i++){if(element.isEqualNode(foundElements[i])){return foundElements[i];}}
element=element.parentNode;}
return null;};self.prepareTeaserData=function(data){const t={};t.source=self.htmlEntities(data[0]);t.id=self.htmlEntities(data[1]);t.title=(typeof data[3]!='undefined')?self.prepareTitle(data[3]):'';t.desc=(typeof data[4]!='undefined')?self.prepareDesc(data[4]):'';t.mirror="marketgid";t.key=data[6];t.price=(typeof data[7]!='undefined')?self.htmlEntities(data[7]).replace('.00',''):'';t.priceold=(typeof data[8]!='undefined')?self.htmlEntities(data[8]).replace('.00',''):'';const discount=((1-parseFloat(t.price)/parseFloat(t.priceold))*100);if(discount<=1||discount>100){t.priceold='';t.discount='';}else{t.discount=Math.floor(discount)+'%';}
t.hash=data[9];t.other=(typeof data[10]!='undefined')?data[10]:{};if(typeof(t.other['i'])!='undefined'){t.other['i']=self.htmlEntities(t.other['i']);}else{t.other['i']=self.blankImage;}
const titleLower=t.title.toLowerCase();const descLower=t.desc.toLowerCase();const replicWords=['копия','подделка','реплика','как оригинал'];const replicInsertWords=['Копия. ','Реплика. '];if(data[5]=='1'){t.isReplic=true;for(let i=0;i<replicWords.length;i++){if(self.prepareTitle(titleLower).indexOf(replicWords[i])>-1||self.prepareDesc(descLower).indexOf(replicWords[i])>-1){t.isReplic=false;break;}}
if(false){}}else{t.isReplic=false;}
if(self.deviceType!='desktop'){t.other.sdl=0;}
data['other']=t.other;self.teaserData[t.hash]=data;self.teaserData[t.hash]['type']='teaser';self.teaserData[t.hash]['id']=t.id;self.teaserData[t.hash]['source']=t.source;self.teaserData[t.hash]['img']=t.other['i'];self.teaserData[t.hash]['link']=typeof(t.other['l'])!='undefined'?t.other['l']:'';self.teaserData[t.hash]['mirror']=t.mirror;self.teaserData[t.hash]['coopType']=typeof(t.other['type'])!='undefined'?t.other['type']:null;self.teaserData[t.hash]['clicktrackers']=typeof(t.other['clicktrackers'])!='undefined'?t.other['clicktrackers']:[];self.teaserData[t.hash]['cdomain']=t.other.cdomain||null;self.teaserData[t.hash]['ccid']=t.other.ccid||null;self.teaserData[t.hash]['ch']=t.other.ch||null;self.teaserData[t.hash]['imp']=typeof(t.other['imp'])!='undefined'?t.other['imp']:[];self.teaserData[t.hash]['impt']=typeof(t.other['impt'])!='undefined'?t.other['impt']:[];self.teaserData[t.hash]['iteration']=self.iteration;self.teaserData[t.hash]['page']=self.page;if(self.teaserData[t.hash]['coopType']=='i'){self.context._mgIntExchangeNews[t.id]=1;}
return t;};self.getInternalIds=function(){return Object.keys(self.context._mgIntExchangeNews);};self.tox64String=function(s,replaceChars){replaceChars=typeof replaceChars!=='undefined'?replaceChars:false;const b64c='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';let b64e='';let c1;let c2;let c3;let e1;let e2;let e3;let e4;let i=0;while(i<s.length){c1=s.charCodeAt(i++);c2=s.charCodeAt(i++);c3=s.charCodeAt(i++);e1=c1>>2;e2=((c1&3)<<4)|(c2>>4);e3=isNaN(c2)?64:(((c2&15)<<2)|(c3>>6));e4=isNaN(c3)?64:(c3&63);b64e+=b64c.charAt(e1)+b64c.charAt(e2)+b64c.charAt(e3)+b64c.charAt(e4);}
if(true===replaceChars){b64e=b64e.replace('+','-').replace('/','_').replace('=','*');}
return b64e;};self.hangNiceLinkListener=function(element,event){if(self.loadedDefault){return;}
const hash=element.getAttribute('data-hash');if(typeof self.teaserData[hash]!='undefined'&&typeof self.teaserData[hash]['other']!='undefined'&&typeof self.teaserData[hash]['other']['sdl']!='undefined'){self.teaserData[hash]['other']['sdl']=0;}
element[self.hrefAttr]=self.prepareHref(hash,event,element);return true;};self.eventsHangNiceLinkListener=function(event){if(!event){event=self.context.event;}
if(!event.target){event.target=event.srcElement;}
let element=event.target;if(element.tagName!='A'){element=self.getParentLink(element);if(null===element){return;}}
if(!element.hasAttribute('data-hash')){return;}
self.hangNiceLinkListener(element,event);};self.htmlToElement=function(html){const template=document.createElement('div');template.innerHTML=html;return template.firstChild;};self.htmlToElements=function(html){const template=self.context.document.createElement('div');template.innerHTML=html;return Array.prototype.slice.call(template.childNodes);};if(false){}
self.isHiddenElement=function(el){while(el.tagName!=='BODY'){if('fixed'!=el.style.position&&null==el.offsetParent){return true;}
if('hidden'==el.style.visibility){return true;}
if('none'==el.style.display){return true;}
el=el.parentNode;}
return false;};self.getTimeBySeconds=function(str){let splitTime='';let time=new Date(str*1000).toISOString().substr(11,8);if(str.indexOf(':')===1||str.indexOf(':')===2){time=str;}else{if(Number.isNaN(parseInt(str))){return '00:00';}
splitTime=time.split(':');}
if(splitTime[0]==='00'){time=splitTime[1]+':'+splitTime[2];}
return time;};self.htmlEntities=function(str){return String(typeof str!=='undefined'?str:'').replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;');};self.random=function(min,max){return Math.floor(min+Math.random()*(max-min+1));};self.getCurrentTimestamp=function(){return Math.floor(Date.now()/1000);};self.setCappingRealShowTime=function(){self.cappingRealShowTime=self.getCurrentTimestamp();};self.setWidgetRealShowTime=function(isVisible,ratio){if(isVisible&&ratio>=0.01){self.widgetRealShowTime=self.getCurrentTimestamp();}};self.isTouchDevice=function(){return('ontouchstart'in window)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0);};self.getExpectedCountNews=function(){let countNews=15;const mobileCountNews=JSON.parse("false");if(self.utils.isMobile()&&typeof mobileCountNews['mobile']!=='undefined'){countNews=mobileCountNews['mobile'];}
return countNews;};self.isPassiveSupported=()=>{if(typeof self.passiveIsSupported!=='undefined'){return self.passiveIsSupported;}
self.passiveIsSupported=false;try{window.addEventListener('test',null,Object.defineProperty({},'passive',{get:function(){self.passiveIsSupported=true;}}));}catch(err){}
return self.passiveIsSupported;};self.fixWrongExternalImages=function(){const wrongImages=self.root.getElementsByClassName('mg-wrong-image');if(true){if(wrongImages.length>0){window["MarketGid"+'InfC'+734391+'Logger'].sendData('Wrong external images count: '+wrongImages.length,);}}
for(let i=0;i<wrongImages.length;i++){const initialSrc=wrongImages[i].src;wrongImages[i].src=self.blankImage;(function(img,src,i){setTimeout(function(){const rect=img.getBoundingClientRect();if(true){window["MarketGid"+'InfC'+734391+'Logger'].sendData('fixWrongExternalImages. '+JSON.stringify(rect),);}
img.classList.add('mg-wrongImage'+i);self.stylesheetsBlock.add('wrongImage'+i,'.mg-wrongImage'+i+' { '+
'width: '+rect.width+'px !important;\n'+
'height: '+rect.height+'px !important;\n'+
'object-fit: cover;\n'+
'-o-object-fit: cover;\n'+
'object-position: top;\n'+
'-o-object-position: top;\n'+
' }');img.src=src;},50);})(wrongImages[i],initialSrc,i);}};self.getWidgetValue=function(parameter,originalValue){const childProperties=JSON.parse("{\"735286\":{\"id\":735286,\"randomClicksDisabledDesktop\":0,\"desktopDoubleclickDelay\":0,\"doubleclickParameters\":null,\"randomClicksDisabled\":0,\"mobileDoubleclickDelay\":0,\"goodsPartUid\":57078188,\"newsPartUid\":0,\"returnedRefresh\":0,\"useRefreshNews\":0,\"elastic\":0,\"afCheckForensiq\":0,\"refreshAdsTime\":45,\"refreshAdsBy\":0},\"735332\":{\"id\":735332,\"randomClicksDisabledDesktop\":0,\"desktopDoubleclickDelay\":0,\"doubleclickParameters\":null,\"randomClicksDisabled\":0,\"mobileDoubleclickDelay\":0,\"goodsPartUid\":57078234,\"newsPartUid\":0,\"returnedRefresh\":0,\"useRefreshNews\":0,\"elastic\":0,\"afCheckForensiq\":0,\"refreshAdsTime\":45,\"refreshAdsBy\":0},\"764714\":{\"id\":764714,\"randomClicksDisabledDesktop\":0,\"desktopDoubleclickDelay\":0,\"doubleclickParameters\":null,\"randomClicksDisabled\":0,\"mobileDoubleclickDelay\":0,\"goodsPartUid\":57107229,\"newsPartUid\":0,\"returnedRefresh\":0,\"useRefreshNews\":0,\"elastic\":0,\"afCheckForensiq\":0,\"refreshAdsTime\":45,\"refreshAdsBy\":0},\"1199162\":{\"id\":1199162,\"randomClicksDisabledDesktop\":0,\"desktopDoubleclickDelay\":0,\"doubleclickParameters\":null,\"randomClicksDisabled\":0,\"mobileDoubleclickDelay\":0,\"goodsPartUid\":57532277,\"newsPartUid\":0,\"returnedRefresh\":0,\"useRefreshNews\":0,\"elastic\":0,\"afCheckForensiq\":0,\"refreshAdsTime\":45,\"refreshAdsBy\":0}}");if(self.originalId!==self.id&&typeof childProperties[self.id]!=='undefined'&&typeof childProperties[self.id][parameter]!=='undefined'){return childProperties[self.id][parameter];}
return originalValue;};self.isEnabledDoubleClick=function(){return typeof self.servicerData.dcb!=='undefined';};};}),"./src/modules/MgqBlock.js":/*!*********************************!*\
!*** ./src/modules/MgqBlock.js ***!
\*********************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class MgqBlock extends AbstractBlock{constructor(app){super(app);this.isLongCheck=false;this._worker=this._createWorker();this.addHook('afterInitHooks',this._init);}
_init(){this.app.context._mgq=this.app.context._mgq||[];if(typeof(this.app.context._mgqp)=='undefined'){this.app.context._mgqp=this._worker;this.app.context._mgqt=(new Date()).getTime();this._worker();}}
_createWorker(){return()=>{const length=this.app.context._mgq.length;const pool=this.app.context._mgq.slice(0);let mgqRemovedCounter=0;for(let i=0;i<length;i++){const el=pool[i];if(typeof(this.app.context[el[0]])=='function'){try{this.app.context[el[0]].apply(this.app.context,el.slice(1));}catch(e){this.app.log(`mgq error: ${e.message}`);if(true){window["MarketGid"+'InfC'+734391+'Logger'].sendData(`mgq error: ${e.message}`);}}
this.app.context._mgq.splice(i-mgqRemovedCounter,1);mgqRemovedCounter++;}}
if(!this.app.context._mgqi){this.app.context._mgqi=this.app.context.setInterval(()=>{this._worker();},5);}
if(!this.isLongCheck){if((new Date()).getTime()-this.app.context._mgqt>10000){this.isLongCheck=true;this.app.context.clearInterval(this.app.context._mgqi);this.app.context._mgqi=this.app.context.setInterval(()=>{this._worker();},100);}}};}}
module.exports=MgqBlock;}),"./src/modules/MobileDoubleClickBlock.js":/*!***********************************************!*\
!*** ./src/modules/MobileDoubleClickBlock.js ***!
\***********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class MobileDoubleClickBlock extends AbstractBlock{constructor(app){super(app);const isTouch=(('ontouchstart'in window)||(navigator.msMaxTouchPoints>0));if(isTouch){this.addHook('afterSendCappingHooks',this._init);this.informerId=this.app.root.getAttribute('id');}}
_init(){if(!this.app.isEnabledDoubleClick()){return;}
if(!this.app.doubleClickTimeLoaded){this.app.doubleClickTimeLoaded=(new Date()).getTime()/1000;}
this.app.stylesheetsBlock.add('doubleclickMobile',this._getStyles());this.app.showDoubleClickButton=this._onClick.bind(this);this.app.addClickHandler(this.app.clickHandlerList.showMobileDoubleClick.handler,this.app.clickHandlerList.showMobileDoubleClick.priority,);}
_onClick(element,event){if(this.app.isDisabledBySmartDoubleClick){return true;}
this.app.doubleClickType='mobile';this.app.linksBlocked=false;let clickedElement=element;if(false===1){this.app.doubleClickHandler(clickedElement);if(clickedElement.className.indexOf('mgbuybox')===-1){while(clickedElement.tagName!=='A'&&clickedElement.id!==this.informerId){clickedElement=clickedElement.parentNode;if(clickedElement.id===this.informerId){return false;}}
try{while(clickedElement.className.indexOf('mgline')===-1){clickedElement=clickedElement.parentNode;}}catch(e){return false;}
const teaserDiv=clickedElement;if(teaserDiv.dataset.clicked!=='1'){event.preventDefault();this.app.linksBlocked=true;}
teaserDiv.dataset.clicked='1';const getButton=teaserDiv.querySelector('.mgfree');const installButton=teaserDiv.querySelector('.mgbuybox');getButton.style.opacity=0;installButton.style.opacity=1;installButton.style.opacity=1;installButton.style.zIndex=9999;setTimeout(()=>{getButton.style.opacity=1;installButton.style.opacity=0;teaserDiv.dataset.clicked='0';installButton.style.zIndex=-9999;},10000);}}else{const currentTime=(new Date()).getTime()/1000;const doubleClickDeactivationDelay=this.app.getWidgetValue('mobileDoubleclickDelay',0);if(clickedElement.className!=="MarketGidC"+'DButton'+734391&&(doubleClickDeactivationDelay===0||currentTime-this.app.doubleClickTimeLoaded<doubleClickDeactivationDelay)){this.app.doubleClickHandler(clickedElement);this.app.linksBlocked=true;event.preventDefault();while(clickedElement.tagName!=='A'&&clickedElement.id!==this.informerId){clickedElement=clickedElement.parentNode;if(clickedElement.id===this.informerId){return;}}
let href=clickedElement.getAttribute(this.app.hrefAttr);clickedElement=event.target;while(!clickedElement.classList.contains('mgline')){clickedElement=clickedElement.parentNode;}
const teaserDiv=clickedElement;const layoutDiv=this.app.context.document.createElement('div');layoutDiv.className="MarketGidC"+'DLayout'+734391;layoutDiv.style.zIndex=100000;const button=this.app.context.document.createElement('a');const buttonHeight=80;const buttonWidth=80;const top=(1-buttonHeight/teaserDiv.offsetHeight)/2*100;let scale=teaserDiv.offsetWidth/buttonWidth*0.98;const link=clickedElement.querySelector('a');if(link&&link.getAttribute('data-hash')){button.setAttribute('data-hash',link.getAttribute('data-hash'));}
button.innerHTML=this.app.getTranslation('[GO]');if(typeof href==='string'||href instanceof String){href=href+((href.indexOf('?')>=0)?'&':'?')+'wct='+this.app.doubleClickType;}
button.href=href;button.style.top=top+'%';const left=scale>1?(1-buttonWidth/teaserDiv.offsetWidth)/2*100:0;button.style.left=left+'%';if(teaserDiv.offsetHeight<=100){scale=0.5;}
if(scale<1){button.style.transform='scale3d('+scale+','+scale+','+scale+')';button.style.webkitTransform='scale3d('+scale+','+scale+','+scale+')';button.style.transformOrigin='left';button.style.webkitTransformOrigin='left';}
button.target='_blank';button.className="MarketGidC"+'DButton'+734391;layoutDiv.appendChild(button);const mglineInner=teaserDiv.querySelector('.mgline-inner');if(mglineInner){mglineInner.appendChild(layoutDiv);}else{teaserDiv.appendChild(layoutDiv);}
const buttonDelay=this.app.getWidgetValue('mobileDoubleclickDelay',0);setTimeout(()=>{scale=scale<1?scale:1;button.style.transform='scale3d('+scale+','+scale+','+scale+')';},buttonDelay);setTimeout(()=>{layoutDiv.parentNode.removeChild(layoutDiv);},10000);}else{this.app.doubleClickHandler(clickedElement,true);return true;}}}
_getStyles(){return '.'+"MarketGidC"+'DButton'+734391+'{'+
'display:       inline-block;'+
'width:         170px !important;'+
'height:        50px !important;'+
'line-height:        50px !important;'+
'background-color: RGBA(0,0,0,0);'+
'border:        1px solid white;'+
'border-radius:        3px;'+
'color:         white !important;'+
'font:          normal 500 18px/50px "Sans", sans-serif;'+
'transform: scale3d(0.0001,0.0001,0.0001);'+
'text-align:    center;'+
'padding:    0 10px;'+
'text-shadow:   none;'+
'position: absolute;'+
'left: 0 !important;'+
'right: 0 !important;'+
'top: 0 !important;'+
'bottom: 0 !important;'+
'margin: auto !important;'+
'text-decoration: none !important;'+
'transition:all 1s;'+
'}'+
'.'+"MarketGidC"+'DLayout'+734391+'{'+
'height: 100%;'+
'width: 100%;'+
'position: absolute;'+
'top: 0px;'+
'left: 0px;'+
'background-color: rgba(0, 0, 0, 0.5);'+
'z-index: 99999;'+
'}'+
'#'+"MarketGidC"+'Composite'+734391+' .mgline {position:relative}';}}
module.exports=MobileDoubleClickBlock;}),"./src/modules/MonitorBlock.js":/*!*************************************!*\
!*** ./src/modules/MonitorBlock.js ***!
\*************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class MonitorBlock extends AbstractBlock{constructor(app){super(app);this.shownBlocks={};this.monitorTimeout=null;this.isFirstByType={};this.isFirstByCid={};this.addHook('afterLoadNewsHooks',this._init.bind(this));}
_init(){if(typeof(this.VisData)!='function'){let topFrameAccessible=true;let monitorContextWindow=this.app.context.self;try{if(this.app.context.self!==this.app.context.top){if(this.app.context.top.location.href){monitorContextWindow=this.app.context.top;}}}catch(e){topFrameAccessible=false;}
this.VisData=(()=>{try{if(!topFrameAccessible){return(getVisData)=>{return getVisData?{extTf:false}:true;};}
let stateKey;let eventKey;const keys={hidden:'visibilitychange',webkitHidden:'webkitvisibilitychange',mozHidden:'mozvisibilitychange',msHidden:'msvisibilitychange',};for(stateKey in keys){if(stateKey in document){eventKey=keys[stateKey];break;}}
let tabVisibility=-1;let winVisibility=-1;let mouseActive=-1;let hasFocus=1;let hasFocusTrue=false;let hasFocusTime;let mouseActiveTime;let keyPressedTime;let winVisibilityTime;let tabVisibilityTime;const hasFocusHandler=(typeof(document.hasFocus)==='function')?()=>{const hasFocusCur=monitorContextWindow.document.hasFocus();if(hasFocusCur!=hasFocus){hasFocusTime=(new Date()).getTime();}
hasFocusTrue|=hasFocusCur;hasFocus=hasFocusCur;}:()=>{hasFocus=1;};setInterval(hasFocusHandler,100);this.app.addEvent(monitorContextWindow.document,eventKey,()=>{if(!monitorContextWindow.document[stateKey]){setTimeout(()=>{tabVisibility=1;},100);}else{tabVisibility=0;}
tabVisibilityTime=(new Date()).getTime();});this.app.addEvent(monitorContextWindow.document,'mouseleave',()=>{mouseActive=0;mouseActiveTime=(new Date()).getTime();});this.app.addEvent(monitorContextWindow.document,'mouseenter',()=>{mouseActive=1;mouseActiveTime=(new Date()).getTime();});this.app.addEvent(monitorContextWindow.document,'touchmove',()=>{mouseActive=2;mouseActiveTime=(new Date()).getTime();});let hasKeyPressed=0;this.app.addEvent(monitorContextWindow.document,'keydown',()=>{hasKeyPressed=1;keyPressedTime=(new Date()).getTime();});let msSinceClick=0;let hasClicked=0;this.app.addEvent(monitorContextWindow.document,'click',(event)=>{hasClicked=1;msSinceClick=(new Date()).getTime();let node=event.target;while(node.parentElement){if(node.tagName==='A'){hasClicked=2;break;}else{node=node.parentElement;}}});this.app.addEvent(monitorContextWindow,'blur',()=>{if(monitorContextWindow.document.activeElement&&monitorContextWindow.document.activeElement.tagName=='IFRAME'){winVisibility=2;}else{winVisibility=0;}
winVisibilityTime=(new Date()).getTime();});this.app.addEvent(monitorContextWindow,'focus',()=>{winVisibility=1;winVisibilityTime=(new Date()).getTime();});let hasMouseWheel=0;let mouseWheelTime=null;const MouseWheelHandler=()=>{mouseWheelTime=(new Date()).getTime();hasMouseWheel=1;};if(monitorContextWindow.document.addEventListener){monitorContextWindow.document.addEventListener('mousewheel',MouseWheelHandler,false);monitorContextWindow.document.addEventListener('DOMMouseScroll',MouseWheelHandler,false);}else monitorContextWindow.document.attachEvent('onmousewheel',MouseWheelHandler);let isDebugOn=0;try{const element=new Image;element.__defineGetter__('id',()=>{isDebugOn=1;});console.debug(element);}catch(e){isDebugOn=-1;}
return(getVisData)=>{hasFocusHandler();const curVis=hasFocus&&(tabVisibility!==0||winVisibility!==0||mouseActive!==-1||hasMouseWheel);if(!!getVisData){const d={extVs:curVis,extTv:tabVisibility,extWv:winVisibility,extMa:mouseActive,extHf:hasFocus,extCl:hasClicked,extKp:hasKeyPressed,extMw:hasMouseWheel,extDg:isDebugOn,extFt:hasFocusTrue,};const now=(new Date()).getTime();if(!!msSinceClick){d.extClt=now-msSinceClick;}
if(!!mouseWheelTime){d.extMwt=now-mouseWheelTime;}
if(!!winVisibilityTime){d.extWvt=now-winVisibilityTime;}
if(!!mouseActiveTime){d.extMat=now-mouseActiveTime;}
if(!!tabVisibilityTime){d.extTvt=now-tabVisibilityTime;}
if(!!hasFocusTime){d.extHft=now-hasFocusTime;}
if(!!keyPressedTime){d.extKpt=now-keyPressedTime;}
return d;}
return curVis;};}catch(errorObject){return(getVisData)=>{return getVisData?{}:true;};}})();}
const reDataI=/([A-Za-z0-9\-_\*]{64})/;let threshold=parseFloat(this.app.globalSettings['capping_observer_threshold']);if(!threshold||threshold<=0||threshold>1||Number(threshold)!=threshold){threshold=0.9;}
if(typeof(IntersectionObserver)==='function'&&this.app.servicerData.cv===3){const thresholdMs=1000;let observedCollected=0;let observeCount=0;const intersectingObjs=[];let intersectTimeOut=null;const setIntersectingTime=()=>{let shown=0;for(let i=0;i<intersectingObjs.length;i++){if(!!intersectingObjs[i]){if(intersectingObjs[i].dataset.shown){shown++;}else{if(intersectingObjs[i].dataset.observeStart>0){const observeTime=parseFloat(intersectingObjs[i].dataset.observeTime)+
((new Date()).getTime()-intersectingObjs[i].dataset.observeStart);if(observeTime>thresholdMs){this.app.intersectionObserver.unobserve(intersectingObjs[i]);this.app.intersectionObserver.observe(intersectingObjs[i]);}}}}}
if(shown<observedCollected){setTimeout(setIntersectingTime,100);}};if(!this.app.intersectionObserver){const callback=(entries)=>{const newBlocks={};let newBlocksCount=0;for(let i=0;i<entries.length;i++){const entry=entries[i];if(!entry.target.dataset.i||entry.target.dataset.shown){continue;}
if(entry.target.width+entry.target.height==0){this.app.intersectionObserver.unobserve(entry.target);(()=>{const img=entry.target;setTimeout(()=>{this.app.intersectionObserver.observe(img);},100);})();continue;}
if(entry.intersectionRatio>=threshold){if(entry.target.dataset.observeStart==0){entry.target.dataset.observeStart=(new Date()).getTime();}else{const observeTime=(new Date()).getTime()-entry.target.dataset.observeStart;entry.target.dataset.observeTime=parseFloat(entry.target.dataset.observeTime)+observeTime;}}else{entry.target.dataset.observeTime=0;entry.target.dataset.observeStart=0;}
if(entry.target.dataset.observeTime>=thresholdMs){entry.target.dataset.shown=1;this.app.intersectionObserver.unobserve(entry.target);newBlocks[entry.target.dataset.i]=this._getTeaserCappingData(entry.target);newBlocksCount++;}}
if(newBlocksCount){this._prepareCappingData(newBlocks,this.app.servicerData.cv);}};this.app.intersectionObserver=new IntersectionObserver(callback,{threshold:[0,threshold,1]});}
const collectObjs=[];let collectTimeout=null;const collectCallback=()=>{if(!intersectTimeOut){intersectTimeOut=setTimeout(setIntersectingTime,100);}
collectTimeout=null;for(let obj=collectObjs.pop();!!obj;obj=collectObjs.pop()){this.app.intersectionObserver.observe(obj);}};const intersectionObserverCollect=(obj)=>{collectObjs.push(obj);intersectingObjs.push(obj);observedCollected++;if(collectTimeout){clearTimeout(collectTimeout);}
if(observedCollected<observeCount){collectTimeout=setTimeout(collectCallback,100);}else{collectCallback();}};(()=>{let teasers='';if(this.app.templateContent===''||false){teasers=this.app.root.getElementsByClassName('mgline');}else{teasers=this.app.templateContent.getElementsByClassName('mgline');}
if(teasers.length){for(let i=0;i<teasers.length;i++){if(!teasers[i].dataset.observing){const res=reDataI.exec(teasers[i].dataset.i);if(res&&res[1]){teasers[i].dataset.observeTime=0;teasers[i].dataset.observeStart=0;teasers[i].dataset.observing='yes';const images=teasers[i].querySelectorAll('img.mcimg');if(images.length>0){!((teaser)=>{const fakeImg=new Image();this.app.addEvent(fakeImg,'load',()=>{intersectionObserverCollect(teaser);});this.app.addEvent(fakeImg,'error',()=>{intersectionObserverCollect(teaser);});if(images[0].hasAttribute('crossorigin')){fakeImg.crossOrigin='';}
fakeImg.src=images[0].src;})(teasers[i]);}else{intersectionObserverCollect(teasers[i]);}
observeCount++;}else{teasers[i].dataset.observing='no';}}}}})();}else{if(!this.monitorTimeout){const observeBlocks=()=>{const newBlocks={};const mglines=this.app.root.getElementsByClassName('mgline');const teasers=[];for(let i=0;i<mglines.length;i++){const res=reDataI.exec(mglines[i].dataset.i);if(res&&res[1]&&!this.shownBlocks[mglines[i].dataset.i]){if(!mglines[i].dataset.observing){const images=mglines[i].querySelectorAll('img.mcimg');if(images.length>0){!((teaser)=>{const fakeImg=new Image();this.app.addEvent(fakeImg,'load',()=>{teaser.dataset.observing='yes';});this.app.addEvent(fakeImg,'error',()=>{teaser.dataset.observing='yes';});fakeImg.src=images[0].src;})(mglines[i]);}else{mglines[i].dataset.observing='yes';}}else{teasers.push(mglines[i]);}}}
for(let i=0;i<teasers.length;i++){const teaser=teasers[i];if(this._elementViewportIntersection(teaser)>=threshold){newBlocks[teaser.dataset.i]=this._getTeaserCappingData(teaser);}}
this._prepareCappingData(newBlocks,'2');this.monitorTimeout=setTimeout(observeBlocks,1000);};observeBlocks();}}}
_getTeaserCappingData(teaserBlock){const teaserDims=this.app.utils.getRect(teaserBlock,true);return{width:Math.round(teaserDims.width),height:Math.round(teaserDims.height),atf:teaserDims.top<this.app.utils.getViewportSize().height,align:this._getTeaserAlign(teaserDims),desc:this._isTeaserElementVisible(teaserBlock,'mcdesc'),price:this._isTeaserElementVisible(teaserBlock,'mcprice'),domain:this._isTeaserElementVisible(teaserBlock,'mcdomain'),};}
_prepareCappingData(blocks,pv){let data=[];let counter=[];let multiCappingData=[];let multiCappingCounter=[];for(const i in blocks){const showHash=i;if(this.shownBlocks[showHash]){continue;}
const prefix=blocks[i].width+'|'+
blocks[i].height+'|'+
((blocks[i].desc?1:0)+
(blocks[i].price?2:0)+
(blocks[i].domain?4:0)+
(blocks[i].atf?8:0)+
(blocks[i].align=='right'?16:0)+
(blocks[i].align=='left'?32:0))+'|';if(showHash&&this.app.teaserData[showHash]){this.shownBlocks[showHash]=1;const type=this.app.teaserData[showHash]['coopType'];if(this.app.teaserData[showHash].ch&&this.app.teaserData[showHash].ccid&&this.app.teaserData[showHash].cdomain){multiCappingData=this._prepareMultiCappingData(multiCappingData,showHash,prefix,type,pv);multiCappingCounter=multiCappingData['counter'];if(multiCappingCounter[type][this.app.teaserData[showHash]['cdomain']]>20){this._multiSendCappingData(multiCappingData[type]);multiCappingData[type]=[];multiCappingCounter=[];}}
data=this._prepareSingleCappingData(data,showHash,prefix,type,pv);counter=data['counter'];if(counter[type]>20){this._sendCappingData(data[type]);data[type]='';counter[type]=0;}
if(true){const imp=this.app.teaserData[showHash]['imp'];for(const impItem of imp){this.app.sendCustomCounter(impItem);}}
if(type==='w'){this.app.sspDoubleClickHash.push(showHash);}
this.app.lifeCycleBlock.processHooks('afterPrepareCappingDataHooks',[showHash]);}}
for(const type in counter){if(counter[type]>0){this._sendCappingData(data[type]);}}
for(const key of Object.keys(multiCappingCounter)){const type=multiCappingCounter[key];if(Object.keys(multiCappingCounter[type]).length>0){this._multiSendCappingData(multiCappingData[type]);}}}
_sensorsToJsFlags(){let flags=0;try{const sensors=this.VisData(true);const th=1500;if(sensors){if(sensors.extTf===false){return 3;}
if(sensors.extVs===1){flags=1;}
if(sensors.extHf){flags+=2;}
if(sensors.extWv<0){flags+=3<<2;}else if(sensors.extWv<3){flags+=sensors.extWv<<2;}
if(sensors.extTv<0){flags+=3<<4;}else if(sensors.extTv<3){flags+=sensors.extTv<<4;}
if(sensors.extMa<0){flags+=3<<6;}else if(sensors.extMa<3){flags+=sensors.extMa<<6;}
if(sensors.extCl>0&&sensors.extCl<3){flags+=sensors.extCl<<8;}
if(sensors.extMw==1){flags+=1<<10;}
if(sensors.extKp==1){flags+=1<<11;}
if(sensors.extDg!=0){flags+=1<<12;}
if(sensors.extMa!=2&&sensors.extMw==1&&sensors.extMwt<th){flags+=1<<13;}
if(Number(sensors.extHft)===sensors.extHft&&sensors.extHft>=0&&sensors.extHft<th&&(!sensors.extWvt||sensors.extWvt<th)&&(!sensors.extTvt||sensors.extTvt<th)){flags+=1<<14;}
if(sensors.extFt){flags+=1<<15;}
flags=flags<<1;}}catch(errorObject){flags=1;}
return flags;}
_prepareMultiCappingData(multiCappingData,showHash,prefix,type,pv){const cdomain=this.app.teaserData[showHash]['cdomain'];const servicerShowHash=this.app.teaserData[showHash]['ch'];const ccid=this.app.teaserData[showHash]['ccid'];let query='pv='+pv;if(query.indexOf('extjs')==-1){query+='&extjs='+this._sensorsToJsFlags();}
if(typeof multiCappingData[type]=='undefined'){multiCappingData[type]=[];if(typeof multiCappingData['counter']=='undefined'){multiCappingData['counter']=[];}
if(typeof multiCappingData['counter'][type]=='undefined'){multiCappingData['counter'][type]=[];}}
if(typeof multiCappingData[type][cdomain]=='undefined'){multiCappingData[type][cdomain]=[];multiCappingData['counter'][type][cdomain]=0;}
if(typeof multiCappingData[type][cdomain][ccid]=='undefined'){multiCappingData[type][cdomain][ccid]='';}
query+='&v='+prefix+servicerShowHash;if(pv!='0'&&!this.isFirstByType[type+ccid]||!this.isFirstByCid[type+ccid]){query+='&f'+type+'=1';this.isFirstByType[type+ccid]=1;this.isFirstByCid[type+ccid]=1;}
multiCappingData[type][cdomain][ccid]+=query;multiCappingData['counter'][type][cdomain]++;return multiCappingData;}
_prepareSingleCappingData(data,showHash,prefix,type,pv){if(typeof data[type]=='undefined'){data[type]='pv='+pv;if(typeof data['counter']=='undefined'){data['counter']=[];}}
if(typeof data['counter'][type]=='undefined'){data['counter'][type]=0;}
data[type]+='&v='+prefix+showHash;if(pv!='0'&&!this.isFirstByType[type]){data[type]+='&f'+type+'=1';this.isFirstByType[type]=1;}
if(data[type].indexOf('extjs')==-1){data[type]+='&extjs='+this._sensorsToJsFlags();}
data['counter'][type]++;return data;}
_multiSendCappingData(data){for(const domain in data){if(data.hasOwnProperty(domain)){for(const cid in data[domain]){if(data[domain].hasOwnProperty(cid)){const query=data[domain][cid]+'&cid='+cid;this._sendCappingData(query,domain);}}}}}
_sendCappingData(dataQuery,domain){const img=document.createElement('IMG');const cidPosition=dataQuery.search('&cid=');const isPv0=dataQuery.search('pv=0&')>=0;let cid;if(-1!=cidPosition){cid=dataQuery.substr(cidPosition+5).split('&')[0];}
if(!isPv0){if(typeof this.app.context._mgwcapping=='undefined'||this.app.context._mgwcapping.indexOf(this.app.id.toString())==-1||(typeof cid!='undefined'&&this.app.context._mgwcapping.indexOf(cid.toString())==-1)){dataQuery='f=1&'+dataQuery;}
this.app.context._mgwcapping=this.app.context._mgwcapping||[];if(typeof cid=='undefined'){dataQuery+='&cid='+this.app.id.toString();this.app.context._mgwcapping.push(this.app.id.toString());}else{this.app.context._mgwcapping.push(cid);}}else if(typeof cid=='undefined'){dataQuery+='&cid='+this.app.id.toString();}
if(this.app.servicerData){if(this.app.servicerData.h2){dataQuery+='&h2='+this.app.servicerData.h2;}
if(this.app.servicerData.rid){dataQuery+='&rid='+this.app.servicerData.rid;}
if(this.app.servicerData.tt){dataQuery+='&tt='+this.app.servicerData.tt;}
if(this.app.servicerData.ts){dataQuery+='&ts='+this.app.servicerData.ts;}
if(this.app.servicerData.psid){dataQuery+='&psid='+this.app.servicerData.psid;}
if(this.app.servicerData.iv){dataQuery+='&iv='+this.app.servicerData.iv;}}
let pageImp=0;if(this.app.context['isFBIA'+734391]&&this.app.context.localStorage){const storageTime=this.app.context.localStorage.getItem('_mgPageImp'+412698);const iaPageImpTimeout=this.app.globalSettings.ia_page_imp_timeout||180;if(!storageTime||(new Date()).getTime()-storageTime>iaPageImpTimeout*1000){this.app.context.localStorage.setItem('_mgPageImp'+412698,(new Date()).getTime());pageImp=1;}}else{const w=this.app.getMostTopWindow();if(typeof w['_mgPageImp'+412698]=='undefined'){w['_mgPageImp'+412698]=true;pageImp=1;}}
dataQuery+='&pageImp='+pageImp;dataQuery+='&pvid='+this.app.pvid;try{if(this.app.context.localStorage){const mgMuidn=this.app.context.localStorage.getItem('mgMuidn');if(typeof(mgMuidn)=='string'&&mgMuidn.length>0){this.app.muid=mgMuidn;dataQuery+='&muid='+mgMuidn;}}}catch(e){}
let cappingDomain=this.app.webProtocol+'//';if(typeof domain!=='undefined'){cappingDomain+=domain;}else{cappingDomain+="c.mgid.com";}
dataQuery+='&'+this.app.getCbusterParameter();dataQuery+='&tpl='+this.app.templateId;img.src=cappingDomain+'/c?'+dataQuery;this.app.lifeCycleBlock.processHooks('afterSendCappingHooks');}
_getTeaserAlign(teaserDims){const bodyWidth=this.app.context.document.body.scrollWidth;if(teaserDims.right<0.3*bodyWidth){return 'left';}else if(teaserDims.left>=0.7*bodyWidth){return 'right';}else{return 'center';}};_isTeaserElementVisible(el,className){const elements=el.getElementsByClassName(className);if(elements.length>0){const dims=elements[0].getBoundingClientRect();if(dims.right-dims==0||dims.bottom-dims.top==0){return false;}else{return true;}}else{return false;}};_elementViewportIntersection(t){const elDims=this.app.utils.getRect(t,!0);for(const i in elDims){if(elDims.hasOwnProperty(i)){elDims[i]=Math.floor(elDims[i]);}}
const vpDims=this.app.utils.getViewportSize();const vpScroll=this.app.utils.getScroll();vpDims.top=vpScroll.top;vpDims.bottom=vpScroll.top+vpDims.height;vpDims.left=vpScroll.left;vpDims.right=vpScroll.left+vpDims.width;const elArea=elDims.width*elDims.height;if(!elArea){return 0;}
const xOverlap=Math.max(0,Math.min(elDims.right,vpDims.right)-Math.max(elDims.left,vpDims.left));const yOverlap=Math.max(0,Math.min(elDims.bottom,vpDims.bottom)-Math.max(elDims.top,vpDims.top));const overlapArea=xOverlap*yOverlap;return overlapArea/elArea;}}
module.exports=MonitorBlock;}),"./src/modules/ObserverBlock.js":/*!**************************************!*\
!*** ./src/modules/ObserverBlock.js ***!
\**************************************//*!no static exports found*/(function(module,exports){window["MarketGidC"+'ObserverBlock'+734391]=function(self){if(self.context.IntersectionObserver){self.afterLoadNewsHooks.push('initWidgetObserver');self.initWidgetObserver=function(){self.widgetObserver=new IntersectionObserver(function(entries){entries.forEach((entry)=>{const statusMessage=entry.isIntersecting?'shown':'hidden';if(entry.target==self.root){self.log(`Observer. Widget ${statusMessage}. Ratio: ${entry.intersectionRatio}`);self.lifeCycleBlock.processHooks('observerWidgetHooks',[entry.isIntersecting,entry.intersectionRatio]);}else{for(let i=0;i<self.observerTeasersHooks.length;i++){let iteration=1;let page=1;try{iteration=self.teaserData[entry.target.dataset.i].iteration;page=self.teaserData[entry.target.dataset.i].page;}catch(e){};self.log(`Observer. Teaser[${page}, ${iteration}] ${statusMessage}. Ratio: ${entry.intersectionRatio}`);self.lifeCycleBlock.processHooks('observerTeasersHooks',[entry.target,entry.isIntersecting,entry.intersectionRatio,iteration,page,],);}}});},{'threshold':[0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0]});self.widgetObserver.observe(self.root);for(const el of self.root.getElementsByClassName('mgline')){self.widgetObserver.observe(el);}};}};}),"./src/modules/RefreshNewsBlock.js":/*!*****************************************!*\
!*** ./src/modules/RefreshNewsBlock.js ***!
\*****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class RefreshNewsBlock extends AbstractBlock{constructor(app){super(app);this.refreshHashes=[];this.app.addClickHandler(this.app.clickHandlerList.refreshNews.handler,this.app.clickHandlerList.refreshNews.priority,);this.app.refreshNewsHandler=(element)=>{this.clickHandler(element);};this.addHook('beforeLoadNewsHooks',this.updateJsonForRefresh);}
clickHandler(element){if(!(this.app.getWidgetValue('useRefreshNews',false)&&!this.app.getWidgetValue('elastic',false))){return true;}
const hash=element.getAttribute('data-hash');if(this.app.teaserData[hash].coopType==='e'){this.refreshHashes.push(hash);const script=this.app.createServicerScriptElement(false,1);const actualNews={};for(const h in this.app.teaserData){if(this.app.teaserData[h].coopType==='e'){actualNews[this.app.teaserData[h].id]=1;}}
const actualNewsString=Object.keys(actualNews).join(',');const params=[`exclude_news=${actualNewsString}`,'rsh=1','nn=1','limitads=1',`initial_composite=${this.app.id}`,];const childString=this.app.getActiveChilds().join(',');if(childString!==''){params.push(`childs=${childString}`);}
if(this.app.uniqId!==''&&true){params.push(`uniqId=${this.app.uniqId}`);}
script.src+='?'+params.join('&');this.app.context.document.head.appendChild(script);}
return true;}
updateJsonForRefresh(json,servicerData){if(this.app.getWidgetValue('useRefreshNews',false)&&!this.app.getWidgetValue('elastic',false)){if(this.app.isArray(json)){if(servicerData.refresh===1&&this.refreshHashes.length>0){this.app.root.innerHTML='';this.app.stylesheetsBlock.add('main',this.app.styles);this.app.countLoadBlocks=0;if(json.length===0){this.app.updatedJson=this.app.json;return;}
const newJson=this.app.json;for(let i=0;i<newJson.length;i++){if(newJson[i][9]===this.refreshHashes[0]){newJson[i]=json[0];this.refreshHashes.shift();break;}}
this.app.updatedJson=newJson;}else{this.app.updatedJson=json;}}else{this.app.updatedJson=json;}}}}
module.exports=RefreshNewsBlock;}),"./src/modules/RejectBlock.js":/*!************************************!*\
!*** ./src/modules/RejectBlock.js ***!
\************************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'RejectBlock'+734391]=function(self){self.isInsertedRejectStyles=false;self.isRejectNeeded=false;self.afterLoadNewsHooks.push('initReject');self["MarketGid"+'Reject']=function(){self.isRejectNeeded=true;};self.initReject=function(){self.addRejectButtons();};self.addRejectButtons=function(){self.rejectForTimeout=function(){if(!self.isRejectNeeded){return;}
self.initRejectStyles();const baseUrl=self.subnetDashboardDomain;const mglines=self.root.getElementsByClassName('mgline');for(let i=0;i<mglines.length;i++){(function(mgline){if(mgline.className.indexOf('dsp')>=0){return;}
const imgList=mgline.getElementsByClassName('mcimg');let img=false;for(let j=0;j<imgList.length;j++){if(imgList[j].tagName==='DIV'){img=imgList[j];break;}}
if(!img){return;}
const el=mgline.querySelector('.close-informer');const imageContainer=mgline.querySelector('.image-container');const imageWithText=mgline.querySelector('.image-with-text');const mglineInner=mgline.querySelector('.mgline-inner');const matchId=mgline.className.match(/teaser-([0-9]+)/);if(null==matchId){return;}
const matchType=mgline.className.match(/type-(w|e|i)/);if(null==matchType||matchType[1]==='i'){return;}
if(!el){let url=baseUrl;url+='/publisher/blocked';const closeInformer=self.context.document.createElement('a');closeInformer.className='close-informer';closeInformer.href=url+'/teaser/'+matchId[1]+'/widget/'+
(matchType[1]==='w'?57077301+'/type/goods':0+'/type/news');closeInformer.target='_blank';closeInformer.rel='nofollow';closeInformer.style.top='2px';closeInformer.style.right='3px';if(false){}else if(mglineInner&&"smart-main"==='in-article-card-media'){mglineInner.appendChild(closeInformer);}else{imageWithText.appendChild(closeInformer);}}})(mglines[i]);}};if(self.isAmp()||self.isTurbo()){self.rejectForTimeout();}else{setTimeout(self.rejectForTimeout,0);}};self.initRejectStyles=function(){if(self.isInsertedRejectStyles){return;}
const rejectStyles='\n'+
'div.mgline a.close-informer {\n'+
'width: 14px !important;\n'+
'height: 14px !important;\n'+
'background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2'+
'Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/'+
'IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs'+
'9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG'+
'1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6Y'+
'WJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2Jl'+
'LmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiM'+
'iIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5Nz'+
'I0ODBDMzY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NzI0ODBDNDY3ODcxMUU1OEM4R'+
'UU2RUJCOUREODIyQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjk3MjQ4MEMxNjc4NzExRTU4'+
'QzhFRTZFQkI5REQ4MjJCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjk3MjQ4MEMyNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIi8'+
'+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uNcpEQAAAHxJREFUeN'+
'qckgEKwCAIRe3fYjfKc2zX6hydaLRbbDnGkLDIPggl/5lKIcbIRJRqbDSnUmOHE6LPm+CEfhj6lnN+o5WVh1VOm6xColCXc/cgLWYev'+
'9gaejnQojCab5RDzyDt6RantqoBaz5zq54ZywJ3CXjIwQGd8skfAQYALdQqftYulocAAAAASUVORK5CYIJ0ZW50Ij4NCiA8ZGl2IGNs'+
'YXNzPSJjb250ZW50LWNvbnRhaW5lciI+PGZpZWxkc2V0Pg0KICA8aDI+NTAyIC0gV2ViIHNlcnZlciByZWNlaXZlZCBhbiBpbnZhbGl'+
'kIHJlc3BvbnNlIHdoaWxlIGFjdGluZyBhcyBhIGdhdGV3YXkgb3IgcHJveHkgc2VydmVyLjwvaDI+DQogIDxoMz5UaGVyZSBpcyBhIH'+
'Byb2JsZW0gd2l0aCB0aGUgcGFnZSB5b3UgYXJlIGxvb2tpbmcgZm9yLCBhbmQgaXQgY2Fubm90IGJlIGRpc3BsYXllZC4gV2hlbiB0a'+
'GUgV2ViIHNlcnZlciAod2hpbGUgYWN0aW5nIGFzIGEgZ2F0ZXdheSBvciBwcm94eSkgY29udGFjdGVkIHRoZSB1cHN0cmVhbSBjb250'+
'ZW50IHNlcnZlciwgaXQgcmVjZWl2ZWQgYW4gaW52YWxpZCByZXNwb25zZSBmcm9tIHRoZSBjb250ZW50IHNlcnZlci48L2gzPg0KIDw'+
'vZmllbGRzZXQ+PC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==");\n'+
'display: block;\n'+
'opacity: 0;\n'+
'position: absolute;\n'+
'right: 2px;\n'+
'top: 2px;\n'+
'z-index: 149999;\n'+
'cursor: pointer;\n'+
'-moz-transition: all 0.3s ease-out;\n'+
'-o-transition: all 0.3s ease-out;\n'+
'-webkit-transition: all 0.3s ease-out;\n'+
'-ms-transition: all 0.3s ease-out;\n'+
'transition: all 0.3s ease-out;\n'+
'}\n'+
'.mgline a.close-informer:hover {\n'+
'opacity: 1;\n'+
'}\n'+
'.mgline .image-with-text img.mcimgad {\n'+
'-moz-transition: all 0.3s ease-out;\n'+
'-o-transition: all 0.3s ease-out;\n'+
'-webkit-transition: all 0.3s ease-out;\n'+
'-ms-transition: all 0.3s ease-out;\n'+
'transition: all 0.3s ease-out;\n'+
'}\n'+
'div.mcimg {\n'+
'position: relative;\n'+
'}\n'+
'div.image-with-price {\n'+
'position: relative;\n'+
'}\n'+
'.mgline .image-container {\n'+
'width: auto;\n'+
'margin: 0 auto;\n'+
'position: relative;\n'+
'}';self.stylesheetsBlock.add('reject',rejectStyles);self.isInsertedRejectStyles=true;};};}),"./src/modules/RtbBlock.js":/*!*********************************!*\
!*** ./src/modules/RtbBlock.js ***!
\*********************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'RtbBlock'+734391]=function(self){this.afterLoadNewsHooks.push('cmPixelLoad');this.cmPixelLoad=function(fpQuery){if(!self.context['i.js.loaded']&&self.cookieMatchingDomain){self.context['i.js.loaded']=true;const script=window["MarketGidInfC734391"].context.document.createElement('script');script.charset="utf-8";let scriptSrc=self.webProtocol+'//'+self.cookieMatchingDomain+'/i.js?';const queryParams={};if(false){}
const consentData=self.consentsBlock.getConsentData();if(consentData){queryParams.consentData=consentData.consentData;queryParams.gdprApplies=+consentData.gdprApplies;}
if(self.muid){queryParams.muid=self.muid;}
scriptSrc+=Object.keys(queryParams).map((k)=>k+'='+encodeURIComponent(queryParams[k])).join('&');scriptSrc+='&'+self.getCbusterParameter();if(typeof(fpQuery)=='string'&&fpQuery!=''){scriptSrc+=fpQuery;}
script.src=scriptSrc;script.type='text/javascript';script.async=true;script.onerror=function(){self.context['i.js.loaded']=false;};const currentRoot=typeof window["MarketGidInfC734391"].realRoot!=='undefined'?window["MarketGidInfC734391"].realRoot:window["MarketGidInfC734391"].root;currentRoot.parentNode.appendChild(script);}
if(!self.context['i-noref.js.loaded']&&self.cookieMatchingDomain){self.context['i-noref.js.loaded']=true;const iframe=document.createElement('IFRAME');iframe.src='about:blank';iframe.frameBorder=0;iframe.style.position='absolute';iframe.style.top='0px';iframe.style.left='-1px';iframe.style.width='0px';iframe.style.height='0px';iframe.style.display='none';iframe.onload=()=>{setTimeout(()=>{const script=iframe.contentDocument.createElement('script');script.charset="utf-8";const scriptSrc=self.webProtocol+'//'+self.cookieMatchingDomain+'/i-noref.js?'+
(false?undefined:'')+self.getCbusterParameter();script.src=scriptSrc;script.type='text/javascript';script.async=true;script.onerror=function(){self.context['i-noref.js.loaded']=false;};iframe.contentDocument.body.appendChild(script);},0);};setTimeout(()=>{document.body.appendChild(iframe);},0);}};};}),"./src/modules/SendDimensionsBlock.js":/*!********************************************!*\
!*** ./src/modules/SendDimensionsBlock.js ***!
\********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){window["MarketGidC"+'SendDimensionsBlock'+734391]=function(self){self.precalcRect={};self.childMarginFixPixels=1;self.lorem='Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet';self.calcPreRenderingBlock=function(){let elx=self.root.getElementsByClassName('mgline');if(false){}
if(typeof self.initIframeSizeChange=='function'){self.initIframeSizeChange();}
const widgetRect=self.root.getBoundingClientRect();self.precalcRect.width=parseInt(widgetRect.width?widgetRect.width:widgetRect.right-widgetRect.left);self.precalcRect.height=parseInt(widgetRect.height?widgetRect.height:widgetRect.bottom-widgetRect.top)-
self.childMarginFixPixels;self.precalcRect.top=widgetRect.top;self.precalcRect.bottom=widgetRect.bottom;self.requestParams.w='w='+self.precalcRect.width;self.requestParams.h='h='+self.precalcRect.height;let cols=0;const bannerPlacement="2".split(',').map(Number)||[];for(let i=0;i<elx.length;i++){const elementCount=i+1;const rect=elx[i].getBoundingClientRect();const img=elx[i].querySelector('img.mcimg');if(typeof img!='undefined'){let imgRect=img.getBoundingClientRect();if(imgRect.height===0||imgRect.width===0){const preRenderingBlockId='#preRenderingBlock'+734391+'_'+self.uniqId;if(self.realRoot.querySelector(preRenderingBlockId)!==null){self.realRoot.querySelector(preRenderingBlockId).style.clear='both';imgRect=img.getBoundingClientRect();}}
if(imgRect.height===0||imgRect.width===0){self.requestParams.wrongImageSize='wrongImageSize=1';}
self.preRenderImageSizes[elementCount-1]={height:imgRect.height,width:imgRect.width,};}
if(bannerPlacement.indexOf(elementCount)!==-1){const height=parseInt(rect.height?rect.height:rect.bottom-rect.top);const width=parseInt(rect.width?rect.width:rect.right-rect.left);self.requestParams['p'+elementCount+'_w']='p'+elementCount+'_w='+width;self.requestParams['p'+elementCount+'_h']='p'+elementCount+'_h='+height;self.requestParams['maxw_'+elementCount]='maxw_'+elementCount+'='+width;self.requestParams['maxh_'+elementCount]='maxh_'+elementCount+'='+height;self.preRenderTeaserSizes[elementCount-1]={height:height,width:width,};}
if(typeof self.prepTop!='undefined'&&self.prepTop<rect.top&&cols===0){cols=i;}
self.prepTop=rect.top;}
if(false){}
if(cols==0){cols=elx.length;}
self.requestParams.cols='cols='+cols;self.root=self.realRoot;const prerenderBlockId='preRenderingBlock'+734391+'_'+self.uniqId;let rootForPrerender=self.root;if(self.root.parentNode.id===prerenderBlockId&&self.root.parentNode.parentNode!=null){rootForPrerender=self.root.parentNode.parentNode;}
if(rootForPrerender.querySelector('#'+prerenderBlockId)!==null){rootForPrerender.removeChild(rootForPrerender.querySelector('#'+prerenderBlockId));}
self.root.style.overflow='visible';self.root.style.visibility='visible';if(true){self.root.style.width=self.precalcRect.width+'px';self.root.style.height=self.precalcRect.height+'px';self.afterLoadNewsHooks.push('clearReservationStyles');self.clearReservationStyles=function(){self.root.style.width='auto';self.root.style.height='auto';};}
self.loadedType='';self.currentSubnet='';self.countLoadBlocks=self.countLoadBlocksContainer;self.template='';self.iteration=1;};self.preparePrerenderData=function(realCountNews){self.loadedType='goods';self.currentSubnet='0';self.realRoot=self.root;self.countLoadBlocksContainer=self.countLoadBlocks;const cnt=self.context.document.createElement('div');cnt.id='preRenderingBlock'+734391+'_'+self.uniqId;cnt.style.visibility='hidden';const newRoot=self.context.document.createElement('div');newRoot.id=self.root.id;newRoot.style.padding=`${self.childMarginFixPixels}px 0 0 0`;newRoot.style.margin='-${self.childMarginFixPixels}px auto 0 auto';cnt.appendChild(newRoot);self.root.appendChild(cnt);self.root=newRoot;const countNews=realCountNews||self.getExpectedCountNews();const data=[];for(let i=1;i<=countNews;i++){data.push(['',i,'',self.lorem,self.lorem,'','','','','',{i:self.blankImage}]);}
return data;};};}),"./src/modules/SmartDoubleClickBlock.js":/*!**********************************************!*\
!*** ./src/modules/SmartDoubleClickBlock.js ***!
\**********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");const MIN_PERCENT=1;const MAX_PERCENT=100;const DEVICES={undefined:-1,desktop:1,mobile:2,tablet:3,smarttv:4,};class SmartDoubleClickBlock extends AbstractBlock{constructor(app){super(app);this.app.isDisabledBySmartDoubleClick=false;this.addHook('afterInitHooks',this._init);}
_init(){this.groups=this.app.getWidgetValue('doubleclickParameters',JSON.parse("null"));if(!this.groups||!this.app.isEnabledDoubleClick()){return;}
this.doubleClickCheckId=0;this.loadedTime=this.app.getCurrentTimestamp();this.handlers=this._getHandlers();this.app.onSmartDoubleClickHandler=this._onClick.bind(this);this.app.addClickHandler(this.app.clickHandlerList.onSmartDoubleClick.handler,this.app.clickHandlerList.onSmartDoubleClick.priority,);}
_getGroupPercent(group,element,event){let sum=0;const elementRect=element.getBoundingClientRect();for(const i in this.handlers){if(!this.handlers[i]){continue;}
const percent=this.handlers[i](group,event,elementRect);if(false===percent){return false;}
sum+=percent;}
return sum/Object.keys(group).length;}
_getGroupElementPercent(group,name,value){if(!group.hasOwnProperty(name)){return 0;}
if(group[name].hasOwnProperty('value')&&value===group[name].value){return group[name].percent;}
if(group[name].hasOwnProperty('min')&&value>=group[name].min&&value<=group[name].max){return group[name].percent;}
return false;}
_getDoubleClickPercent(element,event){for(const checkID in this.groups){if(!this.groups[checkID]){continue;}
const groupPercent=this._getGroupPercent(this.groups[checkID],element,event);if(false===groupPercent){continue;}
this.doubleClickCheckId=checkID;return groupPercent;}
this.doubleClickCheckId=0;return MIN_PERCENT-1;}
_onClick(element,event){const random=this.app.random(MIN_PERCENT,MAX_PERCENT);this.app.doubleClickPercent=this._getDoubleClickPercent(element,event);this.app.isDisabledBySmartDoubleClick=this.app.doubleClickPercent<random;this.app.doubleClickCheckId=this.app.isDisabledBySmartDoubleClick?0:this.doubleClickCheckId;return true;}
_getHandlers(){return[(group)=>this._getGroupElementPercent(group,'device',DEVICES[this.app.deviceType]||''),(group)=>this._getGroupElementPercent(group,'browser',this.app.browserId),(group)=>this._getGroupElementPercent(group,'click_time',this.app.getCurrentTimestamp()-this.loadedTime),(group)=>this._getGroupElementPercent(group,'width',this.app.root.offsetWidth),(group)=>this._getGroupElementPercent(group,'height',this.app.root.offsetHeight),(group)=>this._getGroupElementPercent(group,'click_y',this.app.root.mouseY),(group)=>this._getGroupElementPercent(group,'click_x',this.app.root.mouseX),(group)=>this._getGroupElementPercent(group,'hw_ratio',this.app.root.offsetHeight/this.app.root.offsetWidth),(group,event)=>this._getGroupElementPercent(group,'borderTop',event.offsetY),(group,event)=>this._getGroupElementPercent(group,'borderLeft',event.offsetX),(group,event,elementRect)=>this._getGroupElementPercent(group,'borderRight',elementRect.width-event.offsetX),(group,event,elementRect)=>this._getGroupElementPercent(group,'borderBottom',elementRect.height-event.offsetY),(group)=>this._getGroupElementPercent(group,'research',1),];}}
module.exports=SmartDoubleClickBlock;}),"./src/modules/SspDoubleClickBlock.js":/*!********************************************!*\
!*** ./src/modules/SspDoubleClickBlock.js ***!
\********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class SspDoubleClickBlock extends AbstractBlock{constructor(app){super(app);this.addHook('afterSendCappingHooks',this._onCapping);this.addHook('afterInjectScriptHooks',this._init);this.app.doubleClickType='ssp';this.app.hashTimer=[];this.servicerDoubleClickStatus=false;}
_init(){this.app.stylesheetsBlock.add('ssp_doubleclick',this._getStyles());const doubleClickInterval=setInterval(()=>{if(this.servicerDoubleClickStatus===true){clearInterval(doubleClickInterval);return;}
if(!this.app.isEnabledDoubleClick()&&typeof this.app.servicerData.dc!=='undefined'){const teasersLink=this.app.root.querySelectorAll('a[data-hash]');if(teasersLink.length>0){this.app.sspDoubleClickHandler=this._onClick.bind(this);this.app.addClickHandler(this.app.clickHandlerList.sspDoubleClick.handler,this.app.clickHandlerList.sspDoubleClick.priority,);this.servicerDoubleClickStatus=true;}}},100);}
_onClick(element,event){const hash=element.getAttribute('data-hash');const timer=(new Date()).getTime();if((hash in this.app.hashTimer)&&(timer-this.app.hashTimer[hash])>this.app.servicerData.dc||this.app.teaserData[hash].coopType!=='w'||element.className==="MarketGid"+'DButton'+734391){this.app.doubleClickHandler(element,true);return true;}else{this.app.doubleClickHandler(element);}
event.preventDefault();this._showButton(element);return false;}
_showButton(element){const overlay=this.app.context.document.createElement('div');overlay.classList.add("MarketGid"+'DLayout'+734391);const teaserBlock=element.closest('.mgline');if(teaserBlock!==null){teaserBlock.appendChild(overlay);}
const button=this.app.context.document.createElement('a');button.classList.add("MarketGid"+'DButton'+734391);let href=element.getAttribute('href');if(typeof href==='string'||href instanceof String){href=href+((href.indexOf('?')>=0)?'&':'?')+'wct='+this.app.doubleClickType;}
button.href=href;button.setAttribute('data-hash',element.getAttribute('data-hash'));const buttonHeight=false?undefined:80;const buttonWidth=false?undefined:80;const top=(1-buttonHeight/teaserBlock.offsetHeight)/2*100;let scale=teaserBlock.offsetWidth/buttonWidth*0.98;button.style.backgroundImage='url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3'+
'LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2a'+
'WV3Qm94PSIwIDAgMzggMzgiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iMTIsMjkuMSAyMi4yLDE5IDEyLjEsOC'+
'45IDE0LDcgMjYsMTkgMTQsMzEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utb3Bh'+
'Y2l0eT0iMSI+PC9wb2x5Z29uPjwvc3ZnPg==)';button.style.backgroundPosition='center';button.style.top=top+'%';const left=scale>1?(1-buttonWidth/teaserBlock.offsetWidth)/2*100:0;if(true){button.style.left=left+'%';}
if(scale<1){button.style.transform='scale3d('+scale+','+scale+','+scale+')';button.style.webkitTransform='scale3d('+scale+','+scale+','+scale+')';button.style.transformOrigin='left';button.style.webkitTransformOrigin='left';}
button.target='_blank';overlay.appendChild(button);setTimeout(()=>{if(false){}else{scale=scale<1?scale:1;button.style.transform='scale3d('+scale+','+scale+','+scale+')';}},10);setTimeout(()=>{overlay.parentNode.removeChild(overlay);},10000);}
_onCapping(){if(typeof this.app.sspDoubleClickHash!=='undefined'){for(let i=0;i<this.app.sspDoubleClickHash.length;i++){if(typeof this.app.hashTimer[this.app.sspDoubleClickHash[i]]==='undefined'){this.app.hashTimer[this.app.sspDoubleClickHash[i]]=(new Date()).getTime();}}}}
_getStyles(){const buttonDesigns={0:{'borderColor':'#0a1b53','gradient':'#2b3c84, #0c1b52','fontColor':'#fff',},2:{'borderColor':'#010101','gradient':'#111312, #010101','fontColor':'#fff',},3:{'borderColor':'#F36729','gradient':'#F79220, #F26B29','fontColor':'#fff',},};const buttonDesign=typeof buttonDesigns[0]!=='undefined'?buttonDesigns[0]:buttonDesigns[0];let styles='.'+"MarketGid"+'DButton'+734391+'{'+
'display:       inline-block;';if(false){}else{styles+='width:     170px !important;'+
'height:        50px !important;'+
'line-height:        50px !important;'+
'background-color: RGBA(0,0,0,0);'+
'border:        1px solid white;'+
'border-radius:        3px;'+
'color:         white !important;'+
'font:          normal 500 18px/50px "Sans", sans-serif;'+
'transform: scale3d(0.0001,0.0001,0.0001);';}
styles+='text-align:    center;'+
'position: absolute;'+
'left: 0 !important;'+
'right: 0 !important;'+
'top: 0 !important;'+
'bottom: 0 !important;'+
'margin: auto !important;'+
'text-decoration: none !important;'+
'transition:all 1s;'+
'}'+
'.'+"MarketGid"+'DLayout'+734391+'{'+
'height: 100%;'+
'width: 100% !important;'+
'position: absolute !important;'+
'top: 0px;'+
'left: 0px;'+
'background-color: rgba(0, 0, 0, 0.5);'+
'z-index: 99999;'+
'}'+
'#'+"MarketGid"+'Composite'+734391+' .mgline {position:relative}';return styles;}}
module.exports=SspDoubleClickBlock;}),"./src/modules/StylesheetsBlock.js":/*!*****************************************!*\
!*** ./src/modules/StylesheetsBlock.js ***!
\*****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class StylesheetsBlock extends AbstractBlock{constructor(app){super(app);this._isIE=typeof Proxy==='undefined';this._stylesDom={};if(!this._isIE){this._stylesDom=new Proxy(this._stylesDom,{set:(target,property,receiver)=>{const container=receiver.container;const style=receiver.style;if(target[property]){delete this._stylesDom[property];}
this._inject(style,property,container);target[property]=receiver;return true;},has:(target,property)=>{const style=this.app.root.querySelector('style#'+property);if(style===null&&typeof target[property]!=='undefined'){return false;}
return typeof target[property]!=='undefined';},deleteProperty:(target,property)=>{this._removeFromDom(property);delete target[property];return true;},});}}
add(name,style,container=null){name+='_'+this.app.uniqId;if(!this._isIE&&typeof container==='undefined'&&name in this._stylesDom){return;}
style=style.replace(/((@media|@supports not) \([^(]*\) {)/g,'$1}');style=style.replace(/((?:^|}|,|;)\W*)((?:\w+)?\.(?:mc|mg|row)[\-\w]+)/g,'$1'+
this.app.getMainCssSelector()+' $2');style=style.replace(/(((@media|@supports not) \([^(]*\) \{)\})/g,'$2');style=style.replace(/video-cdn\.(.+)\/mgPlayer/g,this.app.currentSubnetDomain);if(style===''){return;}
if(this._isIE){this._removeFromDom(name);this._inject(style,name,container);}else{this._stylesDom[name]={style:style,container:container};}}
remove(name){name+='_'+this.app.uniqId;if(!this._isIE&&name in this._stylesDom){delete this._stylesDom[name];}else{this._removeFromDom(name);}};_removeFromDom(name){const style=this.app.root.querySelector('#'+name);if(style){style.parentNode.removeChild(style);}}
_inject(style,name,container){if(!container){const stylesheets=this.app.context.document.createElement('style');stylesheets.setAttribute('id',name);stylesheets.className="MarketGidC"+734391;stylesheets.type='text/css';(typeof this.app.realRoot!=='undefined'?this.app.realRoot:this.app.root).appendChild(stylesheets);if(stylesheets.styleSheet){stylesheets.styleSheet.cssText=style;}else{stylesheets.appendChild(this.app.context.document.createTextNode(style));}}else{const stylesheets=container;stylesheets.className="MarketGidC"+734391;if(stylesheets.styleSheet){stylesheets.styleSheet.cssText=style;}else{while(stylesheets.firstChild){stylesheets.removeChild(stylesheets.firstChild);}
stylesheets.appendChild(this.app.context.document.createTextNode(style));}}}}
module.exports=StylesheetsBlock;}),"./src/modules/SubnetsBlock.js":/*!*************************************!*\
!*** ./src/modules/SubnetsBlock.js ***!
\*************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class SubnetsBlock extends AbstractBlock{constructor(app){super(app);this.addHook('afterInitHooks',this._init);this.app.currentSubnet=0;this.app.subnetMirrorsImage='';this.app.subnetMirrorsUtm='';this.app.subnetDashboardDomain='';}
_init(){const informerData=[734391,];this._childWidgets=JSON.parse("{\"735286\":{\"childId\":735286,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"735332\":{\"childId\":735332,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"735333\":{\"childId\":735333,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"764714\":{\"childId\":764714,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[],\"showMonetizationEnabled\":\"0\"},\"748410\":{\"childId\":748410,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[]},\"1199162\":{\"childId\":1199162,\"newsWidgetIdPartner\":0,\"customFuncBlocks\":[]}}");this._childFuncBlockList=JSON.parse("{\"735286\":[],\"735332\":[],\"764714\":[],\"1199162\":[]}");for(const childKey in this._childWidgets){if(this._childWidgets.hasOwnProperty(childKey)){informerData.push(this._childWidgets[childKey].childId);}}
const subnets=this._loadSubnets();const uniqId=(this.app.uniqId!==''&&true?('_'+this.app.uniqId):'');informerData.forEach((tickerId)=>{this.app.context['mgReject'+tickerId]=this.app["MarketGid"+'Reject'];this.app.context['mgLoadAds'+tickerId+uniqId]=(json,awd)=>{const subnet=subnets[0];this._loadAds(json,awd,tickerId,0,subnet.mirror);};for(const subnetKey in subnets){if(subnets.hasOwnProperty(subnetKey)){const subnet=subnets[subnetKey];if(subnet.id!==1){this.app.context[subnet.informer_prefix+"C"+'Reject'+tickerId]=this.app["MarketGid"+'Reject'];this.app.context[subnet.informer_prefix+'LoadGoods'+tickerId+uniqId]=(json,awd)=>{this._loadAds(json,awd,tickerId,subnet.id,subnet.mirror);};}}}});}
_loadSubnets(){const subnets=JSON.parse("[{\"id\":0,\"informer_prefix\":\"MarketGid\",\"mirror\":\"mgid.com\",\"mirrorName\":\"marketgid\",\"imageDomain\":\"mgid.com\",\"dashboardDomain\":\"dashboard.mgid.com\",\"utm\":\"?utm_source={domain}&utm_medium=referral&utm_campaign=widgets&utm_content=\"}]");const currentSubnet=subnets[0];this.app.subnetMirrorsImage=currentSubnet.imageDomain;this.app.subnetMirrorsUtm=currentSubnet.utm;this.app.subnetDashboardDomain=this.app.webProtocol+'//'+currentSubnet.dashboardDomain;return subnets;}
_loadAds(json,awd,tickerId,subnetId,subnetDomain){this.app.id=tickerId;this.app.loadedType='goods';this.app.currentSubnet=subnetId;this.app.currentSubnetDomain=subnetDomain;if(this.app.originalId!==this.app.id){if(typeof this._childFuncBlockList[this.app.id]!=='undefined'){const childFuncBlocks=this._childFuncBlockList[this.app.id];this._executeFuncBlock(childFuncBlocks);}
if(typeof this._childWidgets[this.app.id]!=='undefined'&&typeof this._childWidgets[this.app.id]['customFuncBlocks']!=='undefined'){const customFuncBlocks=this._childWidgets[this.app.id]['customFuncBlocks'];this._executeFuncBlock(customFuncBlocks);}}
if(typeof this.app.updatePrecalcRect!=='undefined'&&this.app.isArray(json)&&json.length!==this.app.getExpectedCountNews()){this.app.updatePrecalcRect(()=>{this.app.loadedType='goods';this.app.currentSubnet=subnetId;this.app.lifeCycleBlock.render(json,awd);},json.length);}else{this.app.lifeCycleBlock.render(json,awd);}}
_executeFuncBlock(funcBlocks){for(const funcBlockKey in funcBlocks){if(funcBlocks.hasOwnProperty(funcBlockKey)){const funcBlock=funcBlocks[funcBlockKey];if(funcBlock==='SmartDoubleClick'){this.app.smartDoubleClickBlock=new(__webpack_require__(/*!../modules/SmartDoubleClickBlock*/"./src/modules/SmartDoubleClickBlock.js"))(this.app);}else if(funcBlock==='MobileDoubleClick'){this.app.mobileDoubleClickBlock=new(__webpack_require__(/*!../modules/MobileDoubleClickBlock*/"./src/modules/MobileDoubleClickBlock.js"))(this.app);}else if(funcBlock==='DesktopDoubleClick'){this.app.desktopDoubleClickBlock=new(__webpack_require__(/*!../modules/DesktopDoubleClickBlock*/"./src/modules/DesktopDoubleClickBlock.js"))(this.app);}else{window[`${"MarketGidC"}${funcBlock}Block${734391}`].call(window[`${"MarketGidInfC734391"}`],window[`${"MarketGidInfC734391"}`],);window[`${"MarketGidInfC734391"}`]['funcBlocks'][`${funcBlock}`]=`${"MarketGidC"}${funcBlock}Block${734391}`;}}}}}
module.exports=SubnetsBlock;}),"./src/modules/TeaserHoverBlock.js":/*!*****************************************!*\
!*** ./src/modules/TeaserHoverBlock.js ***!
\*****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class TeaserHoverBlock extends AbstractBlock{constructor(app){super(app);this.addHook('afterLoadNewsHooks',()=>{this._init();});}
_init(){const mglines=this.app.root.querySelectorAll('.mgline');for(let i=0;i<mglines.length;i++){const elements={mgline:mglines[i],advIcon:mglines[i].querySelector('img.mcimgad'),criteoIcon:mglines[i].querySelector('.criteo-informer'),rejectIcon:mglines[i].querySelector('.close-informer'),};this._teaserHover(elements);}}
_teaserHover(elements){const mgline=elements.mgline;const movedIcons={criteo:{el:elements.criteoIcon,positionLimits:this._iconPositionLimits(elements.criteoIcon,elements.rejectIcon),},advIcon:{el:elements.advIcon,positionLimits:this._iconPositionLimits(elements.advIcon,elements.rejectIcon),},rejectIcon:{el:elements.rejectIcon,},};if(this.app.isTouchDevice()){mgline.addEventListener('click',()=>{if(elements.rejectIcon){this._moveIconsForward(movedIcons);}});}else{mgline.addEventListener('mouseenter',()=>{if(elements.rejectIcon){this._moveIconsForward(movedIcons);}});}
mgline.addEventListener('mouseleave',()=>{if(elements.rejectIcon){this._moveIconsBack(movedIcons);}});}
_iconPositionLimits(el,rejectEl){const movedIconCurrentPosition=this._getIconCurrentPosition(el);const rejectCurrentPosition=this._getIconCurrentPosition(rejectEl);if(!el||!rejectEl){return{initial:null,ending:null,};}
return{initial:movedIconCurrentPosition.right,ending:movedIconCurrentPosition.right+rejectEl.offsetWidth+rejectCurrentPosition.right,};}
_moveIconsForward(icons){this._changeIconPosition(icons.criteo,'mouseenter');if(this._isAdvIconOnTop(icons.advIcon.el)){this._changeIconPosition(icons.advIcon,'mouseenter');}
icons.rejectIcon.el.style.opacity='0.7';}
_moveIconsBack(icons){this._changeIconPosition(icons.criteo,'mouseleave');if(this._isAdvIconOnTop(icons.advIcon.el)){this._changeIconPosition(icons.advIcon,'mouseleave');}
icons.rejectIcon.el.style.opacity='0';}
_changeIconPosition(iconInfo,event){const initialPosition=iconInfo.positionLimits.initial;const endingPosition=iconInfo.positionLimits.ending;if(iconInfo.el){if(event==='mouseenter'&&endingPosition!==null){iconInfo.el.style.right=endingPosition+'px';}
if(event==='mouseleave'&&initialPosition!==null){iconInfo.el.style.right=initialPosition+'px';}}}
_getIconCurrentPosition(el){const elStyles=el?this.app.context.getComputedStyle(el):null;return{right:elStyles?parseInt(elStyles.right.replace('px','')):null,top:elStyles?parseInt(elStyles.top.replace('px','')):null,};}
_isAdvIconOnTop(icon){if(icon){const top=this.app.context.getComputedStyle(icon).top.replace('px','');return(top>=0&&top<=5);}}}
module.exports=TeaserHoverBlock;}),"./src/modules/UtilsBlock.js":/*!***********************************!*\
!*** ./src/modules/UtilsBlock.js ***!
\***********************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class UtilsBlock extends AbstractBlock{constructor(app){super(app);this.isMobileResult=null;}
getScroll(){const w=this.getWindow();return{top:w.document.body.scrollTop||w.document.documentElement.scrollTop||0,left:w.document.body.scrollLeft||w.document.documentElement.scrollLeft||0,};}
getViewportSize(){const w=this.getWindow();return{width:(w.innerWidth||w.document.documentElement.clientWidth),height:(w.innerHeight||w.document.documentElement.clientHeight),};}
getRect(element,withScroll){const rect=element.getBoundingClientRect();const toReturn={top:rect.top,bottom:rect.bottom,left:rect.left,right:rect.right,height:(rect.height?rect.height:rect.bottom-rect.top),width:(rect.width?rect.width:rect.right-rect.left),};if(this.app.context.self!==this.app.context.top){const frame=this.getFrame();if(frame){const iframeRect=frame.getBoundingClientRect();toReturn.top+=iframeRect.top;toReturn.bottom+=iframeRect.top;toReturn.left+=iframeRect.left;toReturn.right+=iframeRect.left;}}
if(withScroll){const scroll=this.getScroll();toReturn.top+=scroll.top;toReturn.bottom+=scroll.top;toReturn.left+=scroll.left;toReturn.right+=scroll.left;}
return toReturn;}
getWindow(){let currentWindow=undefined;if(typeof currentWindow==='undefined'){let w=this.app.context;if(this.app.context.parent!=this.app.context.self){try{if(typeof this.app.context.top.document!=='undefined'){w=this.app.context.top;}}catch(err){}}
currentWindow=w;}
return currentWindow;}
getFrame(){let topFrame=undefined;if(typeof topFrame==='undefined'){try{for(let w=this.app.context,frame=w.frameElement;w.frameElement;w=w.parent){frame=w.frameElement;}
topFrame=frame;}catch(err){topFrame=null;}}
return topFrame;}
isMobile(){if(this.isMobileResult===null){let check=false;(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true;})(navigator.userAgent||navigator.vendor||w.opera);this.isMobileResult=check;}
return this.isMobileResult;};}
module.exports=UtilsBlock;}),"./src/modules/VersionControlBlock.js":/*!********************************************!*\
!*** ./src/modules/VersionControlBlock.js ***!
\********************************************//*!no static exports found*/(function(module,exports,__webpack_require__){class VersionControlBlock{constructor(app){this.app=app;if(true){this.initConsoleInfo();}}
initConsoleInfo(){if(false){}}}
module.exports=VersionControlBlock;}),"./src/modules/ViewabilityRefreshBlock.js":/*!************************************************!*\
!*** ./src/modules/ViewabilityRefreshBlock.js ***!
\************************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class ViewabilityRefreshBlock extends AbstractBlock{constructor(app){super(app);this.addHook('observerTeasersHooks',this.teaserObserving);this.addHook('observerWidgetHooks',this.widgetObserving);this.setupEvents();this.isVisible=false;this.startViewability=false;this.viewabilityTime=0;setInterval(()=>{const timeoutToSend=120000;if(this.startViewability&&(new Date()).getTime()>(this.viewabilityTime+timeoutToSend)){this.sendAnalyticsData();}
if(this.startViewability&&(this.app.getWidgetValue('refreshAdsBy',0)!==0)&&(this.app.getWidgetValue('refreshAdsTime',45)!==0)&&(new Date()).getTime()>(this.viewabilityTime+this.app.getWidgetValue('refreshAdsTime',45)*1000)){this.widgetRefresh();}},1000);}
widgetRefresh(){if(this.app.isAmp()){this.app.root.innerHTML='&#8291;';}else{this.app.root.innerHTML='';}
this.app.stylesheetsBlock.add('analyticsRefresh',this.app.styles);this.app.page++;this.app.countLoadBlocks=0;const rsh=this.app.getWidgetValue('refreshAdsBy',0);this.app.requestParams.rsh='rsh='+rsh;this.app.injectScript(false,rsh);this.startViewability=false;this.viewabilityTime=0;}
teaserObserving(){if(typeof arguments[2]!=='undefined'&&arguments[2]>0.5){if(!this.startViewability){this.startViewability=true;this.viewabilityTime=(new Date()).getTime();}
this.isVisible=true;}}
widgetObserving(){if(typeof arguments[0]!=='undefined'&&arguments[0]===false){this.sendAnalyticsData();this.isVisible=false;}}
sendAnalyticsData(){if(this.viewabilityTime>0&&this.app.globalSettings.enable_widget_analytics){const pixel=this.app.context.document.createElement('img');pixel.src=`https://${"c.mgid.com"}/widget-visibility?id=`+this.app.id+
'&visibleTime='+((new Date()).getTime()-this.viewabilityTime)+'&muidn='+this.app.muid+
'&device='+(this.app.utils.isMobile()?'mobile':'desktop');}
this.startViewability=false;this.viewabilityTime=0;this.changeTab=false;}
setupEvents(){let hidden;let visibilityChange;if(typeof this.app.context.document.hidden!=='undefined'){hidden='hidden';visibilityChange='visibilitychange';}else if(typeof this.app.context.document.mozHidden!=='undefined'){hidden='mozHidden';visibilityChange='mozvisibilitychange';}else if(typeof this.app.context.document.msHidden!=='undefined'){hidden='msHidden';visibilityChange='msvisibilitychange';}else if(typeof this.app.context.document.webkitHidden!=='undefined'){hidden='webkitHidden';visibilityChange='webkitvisibilitychange';}
this.app.context.document.addEventListener(visibilityChange,()=>{if(this.startViewability&&this.app.context.document[hidden]){this.sendAnalyticsData();}
if(this.isVisible&&!this.app.context.document[hidden]){this.teaserObserving(null,null,1);}});this.app.context.onbeforeunload=()=>{if(this.startViewability){this.sendAnalyticsData();}};}}
module.exports=ViewabilityRefreshBlock;}),"./src/modules/YandexTurboBlock.js":/*!*****************************************!*\
!*** ./src/modules/YandexTurboBlock.js ***!
\*****************************************//*!no static exports found*/(function(module,exports,__webpack_require__){const AbstractBlock=__webpack_require__(/*!./AbstractBlock*/"./src/modules/AbstractBlock.js");class YandexTurboBlock extends AbstractBlock{constructor(app){super(app);if(this.app.isTurbo()){this.addHook('afterLoadNewsHooks',this._executeTurboCallback);}}
_executeTurboCallback(){let rect=this.app.root.getBoundingClientRect();setInterval(()=>{rect=this.app.root.getBoundingClientRect();this.app.context.parent.postMessage({message:'loading-succeed',height:rect.height,width:rect.width},'*');},100);};}
module.exports=YandexTurboBlock;}),"./src/modules/cryptography/aes-256-cbc.js":/*!*************************************************!*\
!*** ./src/modules/cryptography/aes-256-cbc.js ***!
\*************************************************//*!no static exports found*/(function(module,exports){const CryptoJS=function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a){s.prototype=this;var c=new s;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}},r=l.WordArray=t.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=p?c:4*a.length},toString:function(a){return(a||v).stringify(this)},concat:function(a){var c=this.words,e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k<a;k++)c[j+k>>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535<e.length)for(k=0;k<a;k+=4)c[j+k>>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<<32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e<a;e+=4)c.push(4294967296*u.random()|0);return new r.init(c,a)}}),w=d.enc={},v=w.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++){var k=c[j>>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j+=2)e[j>>>3]|=parseInt(a.substr(j,2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j<a;j++)e.push(String.fromCharCode(c[j>>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j<c;j++)e[j>>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}},q=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q<a;q+=k)this._doProcessBlock(e,q);q=e.splice(0,a);c.sigBytes-=j}return new r.init(q,j)},clone:function(){var a=t.clone.call(this);a._data=this._data.clone();return a},_minBufferSize:0});l.Hasher=q.extend({cfg:t.extend(),init:function(a){this.cfg=this.cfg.extend(a);this.reset()},reset:function(){q.reset.call(this);this._doReset()},update:function(a){this._append(a);this._process();return this},finalize:function(a){a&&this._append(a);return this._doFinalize()},blockSize:16,_createHelper:function(a){return function(b,e){return(new a.init(e)).finalize(b)}},_createHmacHelper:function(a){return function(b,e){return(new n.HMAC.init(a,e)).finalize(b)}}});var n=d.algo={};return d}(Math);(function(){var u=CryptoJS,p=u.lib.WordArray;u.enc.Base64={stringify:function(d){var l=d.words,p=d.sigBytes,t=this._map;d.clamp();d=[];for(var r=0;r<p;r+=3)for(var w=(l[r>>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v<p;v++)d.push(t.charAt(w>>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w<l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();(function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<<j|b>>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<<j|b>>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<<j|b>>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<<j|b>>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]),f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f,m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m,E,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math);(function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length<q;){n&&s.update(n);var n=s.update(d).finalize(r);s.reset();for(var a=1;a<p;a++)n=s.finalize(n),s.reset();b.concat(n)}b.sigBytes=4*q;return b}});u.EvpKDF=function(d,l,p){return s.create(p).compute(d,l)}})();CryptoJS.lib.Cipher||function(u){var p=CryptoJS,d=p.lib,l=d.Base,s=d.WordArray,t=d.BufferedBlockAlgorithm,r=p.enc.Base64,w=p.algo.EvpKDF,v=d.Cipher=t.extend({cfg:l.extend(),createEncryptor:function(e,a){return this.create(this._ENC_XFORM_MODE,e,a)},createDecryptor:function(e,a){return this.create(this._DEC_XFORM_MODE,e,a)},init:function(e,a,b){this.cfg=this.cfg.extend(b);this._xformMode=e;this._key=a;this.reset()},reset:function(){t.reset.call(this);this._doReset()},process:function(e){this._append(e);return this._process()},finalize:function(e){e&&this._append(e);return this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(e){return{encrypt:function(b,k,d){return("string"==typeof k?c:a).encrypt(e,b,k,d)},decrypt:function(b,k,d){return("string"==typeof k?c:a).decrypt(e,b,k,d)}}}});d.StreamCipher=v.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var b=p.mode={},x=function(e,a,b){var c=this._iv;c?this._iv=u:c=this._prevBlock;for(var d=0;d<b;d++)e[a+d]^=c[d]},q=(d.BlockCipherMode=l.extend({createEncryptor:function(e,a){return this.Encryptor.create(e,a)},createDecryptor:function(e,a){return this.Decryptor.create(e,a)},init:function(e,a){this._cipher=e;this._iv=a}})).extend();q.Encryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize;x.call(this,e,a,c);b.encryptBlock(e,a);this._prevBlock=e.slice(a,a+c)}});q.Decryptor=q.extend({processBlock:function(e,a){var b=this._cipher,c=b.blockSize,d=e.slice(a,a+c);b.decryptBlock(e,a);x.call(this,e,a,c);this._prevBlock=d}});b=b.CBC=q;q=(p.pad={}).Pkcs7={pad:function(a,b){for(var c=4*b,c=c-a.sigBytes%c,d=c<<24|c<<16|c<<8|c,l=[],n=0;n<c;n+=4)l.push(d);c=s.create(l,c);a.concat(c)},unpad:function(a){a.sigBytes-=a.words[a.sigBytes-1>>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a,this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684,1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})},decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d,b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}();(function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8,16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j<a;j++)if(j<d)e[j]=c[j];else{var k=e[j-1];j%d?6<d&&4==j%d&&(k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;d<a;d++)j=a-d,k=d%4?e[j]:e[j-4],c[d]=4>d||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>>8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r<m;r++)var q=d[g>>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t=d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})();module.exports=CryptoJS.AES;}),0:/*!***************************!*\
!*** multi ./src/main.js ***!
\***************************//*!no static exports found*/(function(module,exports,__webpack_require__){module.exports=__webpack_require__(/*!/var/task/src/main.js*/"./src/main.js");})});