0995c2780d83536bc7441459cd4aa87c2876b21a37443938fcd6c425f391b347

Source Code:

!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){var i={"./parallax.js":30,"./vt26136.js":31,"./vt26136v2.js":32};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=0},function(e,t,n){e.exports=n(2)},function(e,t,n){function r(e){return(r="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)}window.MarketGidBaseBlockC55317=function(e,t,n,o,a,s){var c=this;if(this.context=t,this.root=this.context.document.getElementById(e),this.containerId=o,this.uniqId=a,this.fallbackMode=n,this.page=1,this.iteration=1,this.adlink="",this.template="",this.id=55317,this.originalId=55317,this.tickerShow=0,this.pvid=0,this.linkerLinks=[],this.muid="",this.botRadarMetrics=-1,this.cookieStorage={},this.sharedCookieStorage={},this.afterPreRenderNewsHooks=[],this.beforeLoadNewsHooks=[],this.afterLoadNewsHooks=[],this.afterInjectScriptHooks=[],this.afterPrepareCappingDataHooks=[],this.afterSendCappingHooks=[],this.prerenderStatus=!0,this.afterInitHooks=[],this.blocksAddress="",this.tickerPrefix="",this.countLoadBlocks=0,this.preTemplate="",this.postTemplate="",this.banners={},this.crashStep=0,this.useTimeTracking=!1,this.autoSizeTitle="15",this.loadedDefault=!1,this.teaserHashes={},this.teaserData={},this.json=[],this.servicerData={},this.versionWidget=s,this.sspPerformance="20">=Math.ceil(100*Math.random()),this.doubleClickType="",this.doubleClickEnabled=!1,this.widgetConstructorData=JSON.parse('{"cols":"3","font":"opensans","kind":"wages","rows":1,"type":"header-widget","media":{"opacity":"80","duration":1,"minWidth":"250","position":"bottom","minHeight":"150","videoOverlay":1},"mgbox":{"styles":{"maxWidth":"1220"}},"theme":"#00bfff","width":"100%","button":1,"mcdesc":{"styles":{"font":"opensans","color":"#666666","display":"none","fontSize":12,"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":492,"size-height":328},"mcprice":{"styles":{"font":"opensans","color":"#ffffff","fontSize":12,"fontStyle":"normal","textAlign":"center","fontWeight":"bold","textDecoration":"none"}},"mctable":{"styles":{"borderColor":"","borderWidth":0,"backgroundColor":""}},"mctitle":{"styles":{"color":"#333333","fontSize":15,"fontStyle":"normal","textAlign":"left","fontWeight":"bold","textDecoration":"none"}},"subType":"header-widget-rectangular","mcdomain":{"styles":{"font":"opensans","color":"#bbbbbb","display":"block","fontSize":10,"fontStyle":"normal","textAlign":"center","fontWeight":"normal","textDecoration":"none"}},"previewImg":"\\/\\/cdn.mirs.com\\/images\\/draw-widget-preview.jpg","imageFormat":19,"textPosition":"bottom","formatChanged":true,"imageScaleOnHover":"false","sidebarWidthCorrect":0,"sidebarScrollPercent":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"}'),this.preRenderSizes={},c.clickHandlers=[],this.sspDoubleClickHash=[],this.fakeMode=0,this.requestParams={},c.webProtocol="https:",this.clickHandlerList={sspDoubleClick:{handler:"sspDoubleClickHandler",priority:5},activateDelayLink:{handler:"activateDelayLinkHandler",priority:10},accidentalClicks:{handler:"accidentalClicksHandler",priority:20},externalCountersLink:{handler:"externalCountersLinkHandler",priority:100},returnedRefreshClick:{handler:"returnedRefreshClickHandler",priority:120},internalExchangeLogger:{handler:"internalExchangeLoggerHandler",priority:150},invisibleDoubleClickLink:{handler:"invisibleDoubleClickLinkHandler",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}},c.context.self!==c.context.top){var l=c.context.document.referrer.split("/");c.intExchangeProtocol=0==l[0].indexOf("http")?l[0]:"https:"}else{var d=c.context.document.location.protocol;c.intExchangeProtocol=0==d.indexOf("http")?d:"https:"}c.sourceName="",this.templates=[],this.templateId=0,c.setStyles=function(e){c.styles=e.replace(/\((\'|\")?\/\//g,"($1"+c.webProtocol+"//")},c.setTemplate=function(e){e=(e=(e=e.replace(/^\s*[\r\n]|\s{2,}/gm,"")).replace(/\((\'|\")?\/\//g,"($1"+c.webProtocol+"//")).replace('src="//','src="'+c.webProtocol+"//"),c.templateText=e.replace('href="//','href="'+c.webProtocol+"//")},this.servicerDomain="servicer.mgid.com",c.setTemplate('<div class="mgbox">            \x3c!--advertPrefix--\x3e    {foreach}    {if this.iteration != 1}</div>{/if}<div class="mgline">{if $banner}{$banner}{/if}{if $teaser}        <div class="image-with-text">                        <div class="mcimg">                <a {$target} {$href} ><div class="image-container"><img class="mcimg" {$src}></div></a>            </div>                            <div class="text-elements">    <div class="text_on_hover">        <div class="mctitle"><a {$target} {$href}>{$title}</a></div>                <div class="fake">                            {if $price != " "}                <div class="mgarrowbox">                    <div class="mcprice">                        <span class="mcprice">{$price}</span>                    </div>                </div>                <div class="mgbuybox">                    Buy!                </div>                {/if}                        <div class="mcdomain"><a {$target} {$href}>{$source}</a></div>        </div>        <div class="mgtobottom">                            {if $price != " "}                <a {$target} {$href}>                    <div class="mgarrowbox">                        <div class="mcprice mcpriceouter">                            {if $priceold}                            <div class="mcdiscount">{$discount}</div>                            <div class="mcpriceold">{$priceold}</div>                            {/if}                            <div class="mcprice">{$price}</div>                        </div>                    </div>                    <div class="mgbuybox">                        Buy!                    </div>                </a>                {/if}                        <div class="mcdomain"><a {$target} {$href}>{$source}</a></div>        </div>    </div></div>                    </div>    {/if}{/foreach}    </div></div>'),c.setStyles("/* cyrillic-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(//fonts.gstatic.com/s/opensans/v10/K88pR3goAWT7BTt32Z01m1tXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; } /* cyrillic */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(//fonts.gstatic.com/s/opensans/v10/RjgO7rYTmqiVp7vzi-Q5UVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* latin-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(//fonts.gstatic.com/s/opensans/v10/u-WUoqrET9fUeobQW7jkRVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(//fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; } /* cyrillic-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(//fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzCUUniRZcd_wq8DYmIfsw2A.woff2) format('woff2'); unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; } /* cyrillic */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(//fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzOXREeHhJi4GEUJI9ob_ak4.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* latin-ext */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(//fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzBUOjZSKWg4xBWp_C_qQx0o.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(//fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; } .mgresponsive { display: inherit; } .mgbox { padding: 0 !important; position: relative !important; text-align: center; vertical-align: top !important; margin: 0 auto; border-style: solid; border-width: 0px; border-color: ; background-color: ; 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; } .mgbox { width: 100%; max-width: 100%; } div.mcimg { padding: 0px; text-align: center; } img.mcimg { border-style: solid; border-color: #ffffff; border-width: 0px; width: 100% !important; height: auto !important; max-width: 492px; max-height: 328px; box-sizing: border-box; } .mctitle { margin-top: 10px; text-align: left; } .mctitle a { font-weight: bold; font-size: 15px; line-height: 15px; font-style: normal; text-decoration: none; color: #333333; font-family: 'Open Sans', sans-serif; } .mcdesc { display: none; text-align: center; } .mcdesc a { font-weight: normal; font-size: 12px; line-height: 12px; font-style: normal; text-decoration: none; color: #666666; font-family: 'Open Sans', sans-serif; } .mcdomain { display: block; text-align: center; } .mcdomain a { font-weight: normal; font-size: 10px; line-height: 10px; font-style: normal; text-decoration: none; color: #bbbbbb; font-family: 'Open Sans', sans-serif; padding: 4px; display: block; overflow: hidden; } .mgline { background: none repeat scroll 0 0; background-color: ; cursor: pointer; display: inline-block; _overflow: hidden; *zoom: 1; *display: inline; padding: 0 !important; border-style: solid; border-color: #ffffff; border-width: 0px; width: 32.33333333%; max-width: 32.33333333%; box-sizing: border-box; margin: 10px 0.5%; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; word-wrap: break-word; } .mgline { vertical-align: top; } .mgline, .mgbox { min-width: 90px; } .mgline[max-width~=\"120px\"] .mcdesc { display: none !important; } @supports not (flex-wrap: wrap) { .mgbox { display: block !important; } .mgline { display: inline-block !important; } } .text-elements a { text-decoration: none; } div.mcprice { text-align: center; } div.mcprice span { font-weight: bold; font-size: 12px; line-height: 12px; font-style: normal; text-decoration: none; color: #ffffff; font-family: 'Open Sans', sans-serif; } span.mcpriceold { text-decoration: line-through !important; } @media (max-width: 480px) { #MarketGidComposite55317 .mgline { width: 48% !important; margin: 1% !important; max-width: 48% !important; } } .mgpopular { background-color: rgba(255, 0, 0, 0.2) !important; border-color: rgba(255, 90, 0, 0.3) !important; } .mgline { position: relative; } .mgline .fake { visibility: hidden; position: relative; padding-top: 4px; } .mgline:hover .mctitle a { color: #00bfff; text-decoration: underline !important; } .mgline:hover .mcpriceold + .mcprice, .mgline:hover .mcpriceold { visibility: hidden; } .mgline:hover .mcdiscount { display: block; position: absolute; left: 0px; right: 0px; top: 5px; } .mgarrowbox { position: relative; background: #00bfff; width: 55%; height: 22px; margin: 0px; border-color: transparent; border-left-color: #00bfff; display: inline-block; font-family: 'Open Sans', sans-serif; } .mgarrowbox:after { left: 100%; top: 50%; content: \" \"; height: 0px; width: 0px; position: absolute; pointer-events: none; margin-top: -11px; border: solid 11px; border-color: inherit; } .mgbuybox { width: 40%; display: inline-block; text-align: right; font-weight: bold; font-family: 'Open Sans', sans-serif; font-size: 12px; color: #666666; text-decoration: underline; } .mctitle { margin-top: 2px; line-height: 1 !important; } .mctitle a { line-height: 110% !important; } .mcdesc { margin-top: 0; margin-bottom: 2px; } .mcdesc a { line-height: 1.5 !important; } div.mcprice { margin-top: 5px; line-height: 12 px !important; } .mgtobottom { position: absolute; bottom: 0px; width: 100%; text-align: left; } .mgline .image-with-text, .mgline .mgtobottom { width: 100% !important; margin: 0 auto; } .mgline .image-with-text, .mgline .mgtobottom { max-width: 492px; } .mghead { color: #00bfff !important; } .mcpriceold { float: left; padding-left: 5px; } .mcdiscount { display: none; } .mcdomain { display: block; overflow: hidden; padding: 4px; } .mcdomain a { padding: 0px; display: block; padding-top: 5px; padding-bottom: 2px; overflow: hidden; } div.mcprice, div.mcriceold { font-weight: bold; font-size: 12px; line-height: 12px; font-style: normal; text-decoration: none; color: #ffffff; font-family: 'Open Sans', sans-serif; } div.mcpriceold { text-decoration: line-through !important; } .mgline[max-width~=\"120px\"] .mgarrowbox, .mgline[max-width~=\"120px\"] .mgbuybox { display: none !important; } .image-with-text { min-height: 1px; } @media (max-width: 480px) { #MarketGidComposite55317 .mgline { width: 98% !important; margin: 1% !important; max-width: 98% !important; } } "),c.adBlockStyles="",c.adBlockStyles=c.adBlockStyles.replace(/\((\'|\")?\/\//g,"($1"+c.webProtocol+"//"),c.clickTracking="",c.loadedType="",c.funcBlocks={},c.teaserData={},c.deviceType="desktop",c.hrefAttr="href",c.enabledCooperationTypes=[],c.consentData="",c.cmpEnabled=!1,c.uspString="",c.uspEnabled=!1,c.cookieMatchingDomain="cm.steepto.com",c.context._mgIntExchangeNews=c.context._mgIntExchangeNews||{},c.iframePlacementType=0,c.networkInformationType="unknown",c.networkInformationEffectiveType="unknown",c.networkInformationSaveData=0,c.pageUrl="",c.refererUrl="",c.processHooks=function(e,t){for(var n=0;n<c[e].length;n++){var i=c[e][n];try{c.log("".concat(e," hook ").concat(i," start")),c[i].apply(c,t)}catch(t){c.log("".concat(e," hook ").concat(i," error: ").concat(t.message))}}},this.MarketCutStr=function(e,t,n){if(e.length<=t)return e;var r=new Array,o=(r=e.split(" "))[0]+" ";for(i=1;i<r.length;i++){if((o+r[i]).length>t)return o+(void 0===n||n?"...":"");o+=r[i]+" "}return e},this.MarketParseStr=function(e,t){var n,i=new Array,r="";for(i=e.split(" "),n=0;n<i.length;n++)i[n].length>t&&i[n].search(/&\w+;/)<0?r+=i[n].substr(0,t)+" "+i[n].substr(t)+" ":r+=i[n]+" ";return r},this.prepareTitle=function(e){return e=this.MarketCutStr(e,90,1)},this.prepareDesc=function(e){return e=this.MarketCutStr(e,75)},this.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},c.fixGetElementsByClassNameHandler=function(e){null==e.getElementsByClassName&&(e.getElementsByClassName=function(e){for(var t=[],n=new RegExp("\\b"+e+"\\b"),i=this.getElementsByTagName("*"),r=0;r<i.length;r++){var o=i[r].className;n.test(o)&&t.push(i[r])}return t})},this.hidePreloadDiv=function(){c.fallbackMode?c.fallbackMode&&0==this.countLoadBlocks&&(c.root.innerHTML="",c.context.document.getElementById("M140155PreloadC55317")&&(c.context.document.getElementById("M140155PreloadC55317").style.display="none")):c.context.document.getElementById("MarketGidPreloadC"+this.containerId)?c.context.document.getElementById("MarketGidPreloadC"+this.containerId).style.display="none":c.context.document.getElementById("M140155PreloadC"+this.containerId)?c.context.document.getElementById("M140155PreloadC"+this.containerId).style.display="none":c.context.document.getElementById("MarketGidPreloadN"+this.containerId)?this.context.document.getElementById("MarketGidPreloadN"+this.containerId).style.display="none":c.context.document.getElementById("M140155PreloadN"+this.containerId)&&(c.context.document.getElementById("M140155PreloadN"+this.containerId).style.display="none")},this.MarketGidPrerenderNews=function(e){var t=c.templateFunc(c,e);this.root&&t&&(this.fallbackMode&&0==this.countLoadBlocks&&(this.root.innerHTML=""),this.addPreRenderTemplate(t)),1==c.fakeMode&&c.prerenderStatus&&c.processHooks("afterPreRenderNewsHooks")},this.MarketGidLoadNews=function(e,t){if(this.hidePreloadDiv(),void 0!==t){if(c.servicerData=t,void 0!==t.dt&&(c.deviceType=t.dt),c.servicerData.templateId=c.servicerData.hasOwnProperty("config")&&c.servicerData.config.hasOwnProperty("templateId")?c.servicerData.config.templateId:0,void 0!==c.servicerData&&void 0!==c.servicerData.css&&(c.styles=c.servicerData.css,c.addStyle("split_style",c.servicerData.css),c.removeStyle("main")),void 0!==c.servicerData&&void 0!==c.servicerData.t&&""!==c.servicerData.t){var n=c.servicerData.t.replace(/\r?\n/g,"");c.setTemplate(n)}if(c.servicerData.hasOwnProperty("templateId")&&c.templates[c.servicerData.templateId]&&(void 0===c.isElastic||0==c.countLoadBlocks)){var i=this.context.document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=c.webProtocol+"//"+c.templates[c.servicerData.templateId];this.root.parentNode.appendChild(i);var r=5,o=setInterval((function(){var t=function(){var e,t=c.context._mgtemplates;for(e in t)if((t[e].widgetId==c.id||t[e].widgetId==c.originalId)&&t[e].templateId==c.servicerData.templateId)return t[e];return null}();if(null===t){if(--r>=0)return;new Image(0,0).src=c.webProtocol+"//c.mgid.com/widget-template-timeout?id="+c.id}else c.templateId=t.templateId,c.removeStyle("main"),c.addStyle("main",t.styles),c.setTemplate(t.template);clearInterval(o),c.MarketGidLoadNews(e)}),c.servicerData.tsi||15);return}}if(0==c.fakeMode&&c.processHooks("beforeLoadNewsHooks"),this.isArray(e)){c.json=e;n=c.templateFunc(c,e);this.root&&n&&("function"==typeof c.parseAdvertLink&&(n=c.parseAdvertLink(n)),this.fallbackMode&&0==this.countLoadBlocks&&(this.root.innerHTML=""),this.addTemplate(n),this.renderBanners(!0))}else if(this.root&&0==this.countLoadBlocks)return void(this.root.innerHTML="");if(c.servicerData&&c.servicerData.muidn&&c.servicerData.pvid&&0!=c.pvid&&c.servicerData.pvid==c.pvid)try{c.context.localStorage&&c.context.localStorage.setItem("mgMuidn",c.servicerData.muidn)}catch(e){}this.cookieStorage.page=this.page,this.cookieStorage.time=(new Date).getTime(),this.setCookie();for(var a=this.root.getElementsByTagName("a"),s=0;s<a.length;s++)a[s].rel="nofollow noopener";this.countLoadBlocks++,0==c.fakeMode?c.processHooks("afterLoadNewsHooks"):"function"==typeof c.responsiveInit&&c.responsiveInit()},this.addTemplate=this.addPreRenderTemplate=function(e){this.root.insertAdjacentHTML("beforeend",this.preTemplate+e+this.postTemplate)},this.getViewportHeight=function(){var e=this.context.document,t=this.context,n="documentElement",i="clientHeight",r="clientWidth",o="scrollTop";return c.isAmp()?void 0!==t["intersectionRect55317_"+c.uniqId]?{c:t["intersectionRect55317_"+c.uniqId].height,s:t["intersectionRect55317_"+c.uniqId].y}:{c:t.intersectionRect55317.height,s:t.intersectionRect55317.y}:t.innerWidth?{c:t.innerHeight,s:t.pageYOffset}:e[n]&&e[n][r]?{c:e[n][i],s:e[n][o]}:e.body[r]?{c:e.body[i],s:e.body[o]}:0},this.renderItem=function(e,t,n){var i,r=[];if("html"in e){e.h&&(c.teaserData[e.h]={type:"banner",coopType:"w",imp:void 0!==e.imp?e.imp:[],page:c.page,iteration:c.iteration});var o="mgBanner_55317_"+this.page+"_"+this.iteration,a='<iframe id="'+o+'" scrolling="no" style="'+("width: "+(void 0!==e.width?e.width+"px":"100%")+"; height: "+(void 0!==e.height?e.height+"px":"100%")+"; border: 0px; margin: auto; overflow: hidden; position: relative;z-index: 1;")+'"></iframe>';r.push("mgline-banner"),c.addStyle("mgline-banner",".mgline-banner {  display: inline-flex;\n  background: initial;\n  }"),void 0===e.rs&&(e.rs=!1),e.iteration=c.iteration,this.banners[o]=e,e=["",this.iteration]}else a="";if(c.isArray(e)){var s=c.prepareTeaserData(e);void 0!==s.hash&&void 0!==s.id&&(c.teaserHashes[s.id]=s.hash),r.push("teaser-"+s.id),"l"in s.other&&null!=s.other.l.match(/[\?|&]u=/)&&r.push("dsp"),"type"in s.other&&(r.push("type-"+s.other.type),"v"==s.other.type&&r.push("vrline"));var l=s.price.replace(new RegExp("[^0-9.]"),""),d=s.priceold.replace(new RegExp("[^0-9.]"),""),u=s.hash;""!==a&&this.banners[o]&&this.banners[o].h&&(u=this.banners[o].h);for(var f=[[/\{\*.*?\*\}/,""],[/\{\$href\}/g,"v"!==s.other.type?c.hrefAttr+'="'+c.prepareNiceHref(s.hash)+'" data-hash="'+s.hash+'"':""],[/\{\$pmc_item\}/,c.id],[/\{\$hash\}/g,s.hash],[/\{\$target\}/g,void 0!==s.other.type&&"i"==s.other.type||void 0!==c.servicerData.ats&&c.servicerData.ats?'target="_top"':'target="_blank"'],[/(class\=\".*?)(mgline)([^\"]*\")/,"$1$2 "+r.join(" ")+'$3 data-i="'+u+'"'],[/\{\$source\}/g,s.source],[/\{\$src\}/g,'width="492" height="328" data-i="'+s.id+'" src="'+(i=s.other.i,(i&&0===i.indexOf("//")?c.webProtocol+i:i)+'" nopin="nopin"')],[/\{\$title\}/g,c.htmlEntities(s.title)],[/\{\$desc\}/g,c.htmlEntities(s.desc)],[/\{\$iteration\}/g,c.iteration],[/\$iteration/g,c.iteration],[/this\.iteration/g,c.iteration],[/\{\$price\}/g,s.price],[/\{\$priceold\}/g,s.priceold],[/\{\$discount\}/g,s.discount],[/\{if \$price\}/g,"{if '' != "+l+"}"],[/\{if !\$price\}/g,"{if '' == "+l+"}"],[/\{if \$priceold\}/g,"{if '' != "+d+"}"],[/\{if \$price != " "\}/g,"{if "+s.price.trim().length+" != 0}"],[/\{if \$price == " "\}/g,"{if "+s.price.trim().length+" == 0}"],[/\$priceold/g,s.priceold],[/\$price/g,s.price],[/\{if \$rep\}/g,"{if p.isReplic}"],[/\{\$banner\}/g,a],[/\{if \$teaser\}/g,"{if '' == '"+a+"'}"],[/\{if \$banner\}/g,"{if '' != '"+a+"'}"],[/\{\$category\}/g,s.other.category||""],[/\{\$cta\}/g,void 0!==s.other.cta?s.other.cta:""],[/\{if \$cta\}/g,void 0!==s.other.cta?"{if '' != "+s.other.cta+"}":""],[/\{if !\$cta\}/g,void 0!==s.other.cta?"{if '' == "+s.other.cta+"}":""],[/\{\$sourceName\}/g,c.sourceName],[/\{\$vd\}/g,void 0!==s.other.vd?c.getTimeBySeconds(s.other.vd):""],[/\{\$vv\}/g,void 0!==s.other.vv?s.other.vv:""],[/\{\$vr\}/g,void 0!==s.other.vr?s.other.vr:""],[/\{if \$vd\}/g,"{if '"+(void 0!==s.other.vd?s.other.vd:"")+"' != ''}"],[/\{if \$vv\}/g,"{if '"+(void 0!==s.other.vv?s.other.vv:"")+"' != ''}"],[/\{if \$vr\}/g,"{if '"+(void 0!==s.other.vr?s.other.vr:"")+"' != ''}"]],h=0;h<f.length;h++)t=t.replace(f[h][0],f[h][1]);for(t=t.replace(/\r?\n/g,"");;){if(t==(t=t.replace(/\{if ([^\}]*?)\}(((?!\{(?:\/)?if).)*)\{\/if\}/g,(function(e,t,n){return c.expressionParser(t)?n:""}))))break}if(void 0!==s.other.i&&s.other.i.match(/\.mp4/)){var m=/<img class="mcimg" width="(\d+)" height="(\d+)"/.exec(t),p=m?m[1]+"px;":"100%;",g=m?m[2]+"px;":"100%;";t=t.replace(/<img( class="mcimg"[^>]+)/,'<video autoplay loop muted class="mcvideo" $1'),c.addStyle("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: "+p+"\n  max-height: "+g+"\n  box-sizing: border-box;\n  display: block; }")}if(1===s.other.extimg&&c.preRenderSizes[n]){var v={width:(p=c.preRenderSizes[n].width)+"px !important",height:(g=c.preRenderSizes[n].height)+"px !important","object-fit":"cover","-o-object-fit":"cover","object-position":"top","-o-object-position":"top"},y="";Object.keys(v).forEach((function(e){y+=e+":"+v[e]+";"})),t=t.replace(/<img( class="mcimg")/,'<img class="mcimg" style="'+y+'"')}return this.iteration++,t}},this.renderBanners=function(e,t){for(var n in c.banners)if(c.banners[n].rs!=e){if(!e){if(c.banners[n].iteration!=t)continue;c.banners[n].rs=!1}var i=c.context.document.getElementById(n);i.contentWindow.document.open(),i.contentWindow.document.write('<html><body style="margin: 0;">'+c.banners[n].html+"</body></html>"),i.contentWindow.document.close(),function(e){i.contentWindow.document.body.addEventListener("click",(function(t){for(var n=t.target,i=!1;n.parentElement;){if("A"===n.tagName){i=!0;break}n=n.parentElement}i&&((new Image).src=c.banners[e].clickUrl+c.getAntifraudQueryParameter(c.banners[e].clickUrl))}),!0)}(n)}},c.renderLazyBanners=function(e){"banner"==c.teaserData[e].type&&c.renderBanners(!1,c.teaserData[e].iteration)},this.expressionMap={"||":function(e){for(var t in e)if(c.expressionParser(e[t]))return!0;return!1},"&&":function(e){for(var t in e)if(!c.expressionParser(e[t]))return!1;return!0},"==":function(e){return c.expressionParser(e[0])==c.expressionParser(e[1])},"!=":function(e){return c.expressionParser(e[0])!=c.expressionParser(e[1])},"+":function(e){return c.expressionParser(e[0])+c.expressionParser(e[1])},"-":function(e){return c.expressionParser(e[0])-c.expressionParser(e[1])},"*":function(e){return c.expressionParser(e[0])*c.expressionParser(e[1])},"/":function(e){return c.expressionParser(e[0])/c.expressionParser(e[1])},"%":function(e){return c.expressionParser(e[0])%c.expressionParser(e[1])}},this.expressionParser=function(e){for(var t in c.expressionMap)if(-1!==e.indexOf(t))return c.expressionMap[t](e.split(t));return(e||"").replace(/^([\'|\s]+)|([\'|\s]+)$/g,"")},this.generateTemplate=function(e){return c.templateText=e,c.templateFunc=function(e,t){var n=/(.*)?\{foreach\}(.*)?\{\/foreach\}(.*)?/.exec(c.templateText);if(n){for(var i=void 0!==n[1]?n[1]:"",r=0;r<t.length;r++)i+=e.renderItem(t[r],n[2],r);return i+=void 0!==n[3]?n[3]:""}},!0},this.getPageCount=function(){var e=parseInt("0"),t=parseInt("20");return e&&t?Math.min(e,t):e||t},this.init=function(){if("object"!==("undefined"==typeof JSON?"undefined":r(JSON))&&(this.hidePreloadDiv(),console.log("Unsupported browser")),this.root){this.getCookie();var e=parseInt(this.cookieStorage.page);this.linkerLinks=this.root.getElementsByTagName("a");var t=this.context.MarketGidPageOffset?parseInt(this.context.MarketGidPageOffset):0;c.addClickHandler(c.clickHandlerList.hangNiceLinkListener.handler,c.clickHandlerList.hangNiceLinkListener.priority),c.addEvent(c.root,"mouseup",c.eventsHangNiceLinkListener),c.addEvent(c.root,"contextmenu",c.eventsHangNiceLinkListener),c.addEvent(c.root,"touchstart",c.eventsHangNiceLinkListener);var n=c.getPageCount();if(null!=e&&e<n&&e>0?this.page=e+1:(e>n-1||e<1)&&(this.page=1+t),(new Date).getTime()-(null!=this.cookieStorage.time?this.cookieStorage.time:0)>=6e5&&(this.page=1+t),this.page||(this.page=1),this.pageUnlim=this.page-1,this.cookieStorage.page=this.page,this.setCookie(),!this.context.document.cookie){var i=new Date;this.page=i.getSeconds()%n+1}if(this.blocksAddress=c.webProtocol+"//"+this.servicerDomain+"/",c.clickTracking=void 0!==c.context.MGClickTracking?c.context.MGClickTracking:"",c.adBlockStatement=!1,!0===c.adBlockStatement&&c.setTemplate(""),!c.generateTemplate(c.templateText))return;c.context.onClickExcludes=c.context.onClickExcludes||[],c.context.onClickExcludes.push(c.root),void 0!==c.context.s1&&c.context.s1&&"${PUBLISHER_ID}"!=c.context.s1&&(c.sourceName=c.context.s1),c.adBlockStatement&&(c.sourceName="eyeo",c.rtbDisabled=1),!0===c.adBlockStatement?c.addStyle("adBlockMain",c.adBlockStyles):c.addStyle("main",c.styles),c.addEvent(c.root,"click",c.widgetClickHandler),c.addEvent(c.root,"auxclick",c.widgetClickHandler),c.afterPrepareCappingDataHooks.push("renderLazyBanners"),c.processHooks("afterInitHooks")}},this.resetPage=function(){this.page=1},this.getMostTopWindow=function(){for(var e=c.context;e!=e.parent;)try{e.parent.document.body;e=e.parent}catch(e){break}return e},c.getDevicePixelRatio=function(){var e=1;return void 0!==c.context.devicePixelRatio?e=c.context.devicePixelRatio:void 0!==c.context.screen.systemXDPI&&void 0!==c.context.screen.logicalXDPI&&c.context.screen.systemXDPI>c.context.screen.logicalXDPI&&(e=c.context.screen.systemXDPI/c.context.screen.logicalXDPI),e%1==0||(e=e.toFixed(3)),e},this.getCbusterParameter=function(){return"cbuster="+(this.context.MG_CacheBuster||(new Date).getTime()+""+Math.floor(1e9*Math.random()+1))},this.injectScript=function(e,t){void 0===c.updatePrecalcRect?c.injectionScriptMethod(e,t):c.updatePrecalcRect((function(){c.injectionScriptMethod(e,t)}))},this.injectionScriptMethod=function(e,t){c.adBlockStatement&&(c.requestParams.limitads="limitads=3",c.requestParams.adb="adb=1");var n=c.context.document.createElement("script");n.type="text/javascript",n.charset="utf-8";var i=e?"fs/":"",o=c.blocksAddress+i;o+="55317/"+c.page,t&&(c.requestParams.rsh="rsh="+t,c.requestParams.initial_composite="initial_composite="+c.id),void 0!==c.context.MGi&&(c.requestParams.iso="iso="+c.context.MGi,c.requestParams.token="token=d87018af6f4c23e0d5502b12e4223cea"),c.requestParams.pv="pv=5",""!=c.sourceName&&(c.requestParams.src_id="src_id="+c.sourceName),void 0!==c.rtbDisabled&&(c.requestParams.rtb_disabled="rtb_disabled="+c.rtbDisabled),c.requestParams.cbuster=c.getCbusterParameter();var a="";if(JSON.parse("[]").indexOf("int_exchange")>=0){var s=c.context.document.querySelector('meta[property="og:url"]'),l=c.context.document.querySelector('meta[property="og:title"]');if(c.context!==c.context.top){try{s=c.context.parent.document.querySelector('meta[property="og:url"]'),l=c.context.parent.document.querySelector('meta[property="og:title"]')}catch(e){}if(!s)try{s=c.context.context.canonicalUrl}catch(e){}}s&&(a="object"===r(s)?s.getAttribute("content"):s,c.requestParams.ogurl="ogurl="+encodeURIComponent(a)),l&&(c.requestParams.ogtitle="ogtitle="+encodeURIComponent(l.getAttribute("content")))}if(c.uniqId,c.getActiveChilds().length&&(c.requestParams.childs="childs="+c.getActiveChilds().join(",")),void 0!==c.context.MG_setRequestNonPersonalizedAds&&1==c.context.MG_setRequestNonPersonalizedAds&&(c.requestParams.npa="npa=1"),c.cmpEnabled){var d={consentData:"",gdprApplies:!1};if(""!=c.consentData&&void 0!==c.consentData.gdprApplies&&void 0!==c.consentData.consentData)d=c.consentData;else if(c.context.localStorage)try{null!=(f=JSON.parse(c.context.localStorage.getItem("MG_ConsentData")))&&void 0!==f.gdprApplies&&void 0!==f.consentData&&(d=f)}catch(e){}c.requestParams.consentData="consentData="+d.consentData,c.requestParams.gdprApplies="gdprApplies="+d.gdprApplies}if(c.uspEnabled){var u="";if(""!=c.uspString)u=c.uspString;else if(c.context.localStorage)try{var f;null!=(f=c.context.localStorage.getItem("MG_uspString"))&&""!=f&&(u=f)}catch(e){}c.requestParams.uspString="uspString="+u}try{var h=navigator.connection||navigator.mozConnection||navigator.webkitConnection;void 0!==h.type&&(c.networkInformationType=h.type,c.requestParams.nit="nit="+c.networkInformationType),void 0!==h.effectiveType&&(c.networkInformationEffectiveType=h.effectiveType,c.requestParams.niet="niet="+c.networkInformationEffectiveType),void 0!==h.saveData&&(c.networkInformationSaveData=h.saveData?1:0,c.requestParams.nisd="nisd="+h.saveData)}catch(e){}-1==o.indexOf("?")?o+="?":o+="&";var m=[];for(var p in c.requestParams)m.push(c.requestParams[p]);var g=c.context.self!==c.context.top,v=!0,y=!1,b=c.context,x=c.context;if(g)for(;;){try{b.frameElement&&""!=b.frameElement.src&&(v=!1),b.document.body}catch(e){b=x,y=!0,v=!1;break}if(b==b.parent)break;x=b,b=b.parent}var w="";try{c.isAmp()?(c.iframePlacementType=3,c.pageUrl=void 0!==c.context.context.sourceUrl?c.context.context.sourceUrl:"",c.refererUrl=void 0!==c.context.context.referrer?c.context.context.referrer:"",w=""!=c.pageUrl?c.pageUrl:c.refererUrl):(c.pageUrl=b.document.location.href,c.refererUrl=b.document.referrer||"",w=c.refererUrl,g&&!v&&(y?c.iframePlacementType=2:(w=c.pageUrl,c.iframePlacementType=1)))}catch(e){c.iframePlacementType=2}if(0!=c.iframePlacementType&&m.push("iframe="+c.iframePlacementType),m.push("ref="+encodeURIComponent(w)),"function"==typeof c.contextUriParse){var k=c.contextUriParse();a&&a==k||m.push("cxurl="+encodeURIComponent(k))}try{if(!sessionStorage.MG_Session_lastUpdate||Number(sessionStorage.MG_Session_lastUpdate)+18e5<Date.now()){var C=c.refererUrl.match(/:\/\/([^\/:]+)/i);sessionStorage.MG_Session_pr=C&&C[1]?C[1]:"",sessionStorage.MG_Session_lu=c.pageUrl}sessionStorage.MG_Session_lastUpdate=Date.now(),sessionStorage&&sessionStorage.MG_Session_pr&&m.push("pr="+encodeURIComponent(sessionStorage.MG_Session_pr)),sessionStorage&&sessionStorage.MG_Session_lu&&m.push("lu="+encodeURIComponent(sessionStorage.MG_Session_lu))}catch(e){}var E=c.getMostTopWindow();void 0===E._mgPageView140155?(E._mgPageView140155=!0,m.push("pageView=1")):m.push("pageView=0"),c.pvid=(new Date).getTime().toString(16)+(Math.round(1e9*Math.random())+2147483648).toString(16),m.push("pvid="+c.pvid),c.isAmp()?m.push("implVersion=12"):c.isTurbo()?m.push("implVersion=13"):""!=c.versionWidget&&m.push("implVersion="+c.versionWidget),m.push("dpr="+c.getDevicePixelRatio());try{if(c.context.localStorage){var S=c.context.localStorage.getItem("mgMuidn");S&&(m.push("muid="+S),c.muid=S)}}catch(e){}o+=m.join("&"),n.src=o,c.sspPerformance&&(n.onload=function(){c.context.performance.getEntries().map((function(e){if(e.name===o){var t=Math.ceil(e.responseEnd-e.startTime);new Image(0,0).src=c.webProtocol+"//c.mgid.com/widget-ssp-performance?time="+t}}))}),c.context.document.head.appendChild(n),n.onerror=function(){c.isAdblock=!0},0==c.fakeMode&&c.processHooks("afterInjectScriptHooks")},this.getActiveChilds=function(){return[]},this.addClickHandler=function(e,t){c.clickHandlers.push({handler:e,priority:t}),c.clickHandlers.sort((function(e,t){return e.priority<t.priority?-1:1}))},this.widgetClickHandler=function(e){var t;if((e||(e=c.context.event),e.target||(e.target=e.srcElement),"A"!=(t=e.target).tagName)&&null===(t=c.getParentLink(t)))return;if(t.hasAttribute("data-hash"))for(var n=0;n<c.clickHandlers.length;n++)try{if(!c[c.clickHandlers[n].handler](t,e))return}catch(e){}},this.start=function(){if(c.root&&0==c.countLoadBlocks){!function(e){if("function"==typeof c.context.__cmp){c.cmpEnabled=!0;try{c.context.__cmp("getConsentData",null,(function(e){c.consentData=e,c.context.localStorage&&c.context.localStorage.setItem("MG_ConsentData",JSON.stringify(e))})),setTimeout((function(){e()}),50)}catch(t){e()}}else e()}((function(){!function(e){if("function"==typeof c.context.__uspapi){c.uspEnabled=!0;try{c.context.__uspapi("getUSPData",1,(function(e,t){t&&(c.uspString=e.uspString||"",c.context.localStorage&&""!=c.uspString&&c.context.localStorage.setItem("MG_uspString",c.uspString))})),setTimeout((function(){e()}),50)}catch(t){e()}}else e()}((function(){c.injectScript()}))}))}},this.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},this.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},this.getMainCssSelector=function(){return"#"+(this.realRoot?this.realRoot.id:this.root.id)},this.doubleClickHandler=function(e){var t=[],n=new Image(0,0),i=e.getAttribute("data-hash");t.push("url="+encodeURIComponent(e)),t.push("uuid="+c.servicerData.rid),t.push("hash="+i),t.push("cid=55317"),t.push("gb_uid=5500752"),t.push("h2="+c.servicerData.h2),t.push("type="+c.doubleClickType),n.src=c.webProtocol+"//c.mgid.com/doubleclick?"+t.join("&")},this.adBlockDetect=function(){var e=0,t=1,n=function(e){return!e.offsetHeight};return function(e){var t,i,r,o,a=e.length;for(t=0;t<a;t++){r=e[t],o=void 0,(o=c.context.document.createElement("div")).className=r,o.innerHTML=".",c.root.appendChild(o);var s=n(i=o);if(c.root.removeChild(i),s)return!0}return!1}(["banner_ad","sponsored_ad"])?t:e}};var o=!1,a=!1,s=!1,c=!1;if(document.getElementById("MG_ID")){var l=document.getElementById("MG_ID").innerHTML,d=parent.window.document.getElementById("MarketGidScriptRootC"+l)?"MarketGidScriptRootC"+l:"M140155ScriptRootC"+l;parent.window.document.getElementById(d)&&(o=!0)}else{d=document.getElementById("MarketGidScriptRootC55317")||document.getElementById("MarketGidScriptRootC55317")?"MarketGidScriptRootC55317":(document.getElementById("M140155ScriptRootC55317"),"M140155ScriptRootC55317");document.getElementById(d)&&(o=!0,a=!0,s=!0)}(document.getElementById("MarketGidComposite55317")||document.getElementById("M140155Composite55317"))&&(o=!0,a=!0);var u=void 0!==window.uniqId?window.uniqId:("00000"+Math.round(1e5*Math.random()).toString(16)).slice(-5);if(!o){if(document.getElementById("MG_ID")){l=document.getElementById("MG_ID").innerHTML,d=parent.window.document.getElementById("MarketGidScriptRootG"+l)?"MarketGidScriptRootG"+l:"M140155ScriptRootG"+l;parent.window.document.getElementById(d)&&(o=!0)}else{d=document.getElementById("MarketGidScriptRootG12171")?"MarketGidScriptRootG12171":"M140155ScriptRootG12171";document.getElementById(d)&&(o=!0,a=!0,s=!0)}(document.getElementById("MarketGid0")||document.getElementById("M140155Widget0"))&&(o=!0,a=!0),c=!0}if(o){var f;if(c)if(a)if(s){(g=document.createElement("div")).id="MarketGid0",document.getElementById(d).appendChild(g),window.MarketGidInfC55317=new MarketGidBaseBlockC55317(g.id,window,!1,12171,u,11)}else{d=document.getElementById("MarketGid0")?"MarketGid0":"M140155Widget0",p=document.getElementById("MarketGid0")?"1":"2";document.getElementById(d).innerHTML="",window.MarketGidInfC55317=new window.MarketGidBaseBlockC55317(d,window,!0,0,u,p)}else{l=document.getElementById("MG_ID").innerHTML;(g=parent.window.document.createElement("div")).id="MarketGid0";d=parent.window.document.getElementById("MarketGidScriptRootG"+l)?"MarketGidScriptRootG"+l:"M140155ScriptRootG"+l,p=parent.window.document.getElementById("MarketGidScriptRootG"+l)?"6":"8";parent.window.document.getElementById(d).appendChild(g),window.MarketGidInfC55317=new window.MarketGidBaseBlockC55317(g.id,parent.window,!1,l,u,p)}else if(a)if(s){v=""!=u?"_"+u:"";var h=(document.getElementById("M140155}ScriptRootC55317")||document.getElementById("M140155ScriptRootC55317")||document.getElementById("MarketGidScriptRootC55317"),55317);if(!window.document.getElementById("MarketGidComposite"+h)||!window.document.getElementById("M140155Composite"+h)){(g=window.document.createElement("div")).id="MarketGidComposite"+h+v;var m=window.document.getElementById("MarketGidScriptRootC"+h)?"MarketGidScriptRootC"+h:"M140155ScriptRootC"+h;window.document.getElementById(m).appendChild(g),window.document.getElementById(m).id=m+v}y=window.document.getElementById("MarketGidPreloadC"+h)?"MarketGidPreloadC"+h:"M140155PreloadC"+h;window.document.getElementById(y)&&(window.document.getElementById(y).id=y+v);var d=document.getElementById("MarketGidComposite"+h+v)?"MarketGidComposite"+h+v:"M140155Composite"+h+v;window.MarketGidInfC55317=new window.MarketGidBaseBlockC55317(d,window,!1,h+v,u,11)}else{d=document.getElementById("MarketGidComposite55317")?"MarketGidComposite55317":"M140155Composite55317";var p=document.getElementById("MarketGidComposite55317")?"3":"4";document.getElementById(d).innerHTML="",window.MarketGidInfC55317=new window.MarketGidBaseBlockC55317(d,window,!1,0,u,p)}else{var g,v="",l=document.getElementById("MG_ID").innerHTML;(g=parent.window.document.createElement("div")).id="MarketGidComposite55317"+v;var d=parent.window.document.getElementById("MarketGidScriptRootC"+l)?"MarketGidScriptRootC"+l:"M140155ScriptRootC"+l,p=parent.window.document.getElementById("MarketGidScriptRootC"+l)?"9":"10";parent.window.document.getElementById(d).id=d+v;var y=parent.window.document.getElementById("MarketGidPreloadC"+l)?"MarketGidPreloadC"+l:"M140155PreloadC"+l;parent.window.document.getElementById(y)&&(parent.window.document.getElementById(y).id=y+v),d+=v,parent.window.document.getElementById(d).appendChild(g),window.MarketGidInfC55317=new window.MarketGidBaseBlockC55317(g.id,parent.window,!1,l+v,u,p)}n(3),window.MarketGidCMainBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Main="MarketGidCMainBlock55317",n(4),window.MarketGidCSubnetsBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Subnets="MarketGidCSubnetsBlock55317",n(5),window.MarketGidCAdvertLinkBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.AdvertLink="MarketGidCAdvertLinkBlock55317",n(6).call(window.MarketGidInfC55317,window.MarketGidInfC55317),n(7),window.MarketGidCInternalExchangeBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.InternalExchange="MarketGidCInternalExchangeBlock55317",n(8),window.MarketGidCColorBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Color="MarketGidCColorBlock55317",n(9),window.MarketGidCRejectBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Reject="MarketGidCRejectBlock55317",n(10),window.MarketGidCAmpRenderBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.AmpRender="MarketGidCAmpRenderBlock55317",n(11),window.MarketGidCInternalExchangeLoggerBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.InternalExchangeLogger="MarketGidCInternalExchangeLoggerBlock55317",n(12),window.MarketGidCMgqBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Mgq="MarketGidCMgqBlock55317",n(13),window.MarketGidCStylesheetsBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Stylesheets="MarketGidCStylesheetsBlock55317",n(14),window.MarketGidCCookieBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Cookie="MarketGidCCookieBlock55317",n(15),window.MarketGidCObserverBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Observer="MarketGidCObserverBlock55317",n(16),window.MarketGidCSspDoubleClickBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.SspDoubleClick="MarketGidCSspDoubleClickBlock55317",n(17),window.MarketGidCAntifraudBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Antifraud="MarketGidCAntifraudBlock55317",n(19),window.MarketGidCRtbBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Rtb="MarketGidCRtbBlock55317",n(20),window.MarketGidCActivateDelayBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.ActivateDelay="MarketGidCActivateDelayBlock55317",n(21),window.MarketGidCIframeSizeChangerBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.IframeSizeChanger="MarketGidCIframeSizeChangerBlock55317","".length>0&&(n(22),window.MarketGidCAccidentalClicksBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.AccidentalClicks="MarketGidCAccidentalClicksBlock55317"),n(23),window.MarketGidCExternalCountersBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.ExternalCounters="MarketGidCExternalCountersBlock55317",n(24),window.MarketGidCYandexTurboBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.YandexTurbo="MarketGidCYandexTurboBlock55317",n(25),window.MarketGidCContentPreviewBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.ContentPreview="MarketGidCContentPreviewBlock55317",n(26),window.MarketGidCCountersBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Counters="MarketGidCCountersBlock55317";var b=JSON.parse('{"cols":"3","font":"opensans","kind":"wages","rows":1,"type":"header-widget","media":{"opacity":"80","duration":1,"minWidth":"250","position":"bottom","minHeight":"150","videoOverlay":1},"mgbox":{"styles":{"maxWidth":"1220"}},"theme":"#00bfff","width":"100%","button":1,"mcdesc":{"styles":{"font":"opensans","color":"#666666","display":"none","fontSize":12,"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":492,"size-height":328},"mcprice":{"styles":{"font":"opensans","color":"#ffffff","fontSize":12,"fontStyle":"normal","textAlign":"center","fontWeight":"bold","textDecoration":"none"}},"mctable":{"styles":{"borderColor":"","borderWidth":0,"backgroundColor":""}},"mctitle":{"styles":{"color":"#333333","fontSize":15,"fontStyle":"normal","textAlign":"left","fontWeight":"bold","textDecoration":"none"}},"subType":"header-widget-rectangular","mcdomain":{"styles":{"font":"opensans","color":"#bbbbbb","display":"block","fontSize":10,"fontStyle":"normal","textAlign":"center","fontWeight":"normal","textDecoration":"none"}},"previewImg":"\\/\\/cdn.mirs.com\\/images\\/draw-widget-preview.jpg","imageFormat":19,"textPosition":"bottom","formatChanged":true,"imageScaleOnHover":"false","sidebarWidthCorrect":0,"sidebarScrollPercent":0}');("in-article"===b.type&&"off"!==(null!==(f=b.autoplacement)&&void 0!==f?f:"off")||("in-article"===b.type&&b.autoplacement,0))&&(n(27),window.MarketGidCInArticleWidgetBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.InArticleWidget="MarketGidCInArticleWidgetBlock55317"),n(29),window.MarketGidCOnSiteNotificationBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.OnSiteNotification="MarketGidCOnSiteNotificationBlock55317",[].forEach((function(e){n(0)("./".concat(e,".js")),window["".concat("MarketGidC").concat(e,"Block").concat(55317)].call(window["".concat("MarketGidInfC55317")],window["".concat("MarketGidInfC55317")]),window["".concat("MarketGidInfC55317")].funcBlocks["".concat(e)]="".concat("MarketGidC").concat(e,"Block").concat(55317)}));var x=JSON.parse("[]");Object.keys(x).forEach((function(e){x[e].customFuncBlocks.forEach((function(e){n(0)("./".concat(e,".js"))}))})),window.MarketGidCGradientBlock55317=function(e){e.afterLoadNewsHooks.push("gradientRendering"),e.gradientRendering=function(){var t=e.root.querySelectorAll("[class*=mgline-blur]");if(0!==t.length)for(var n,i=0;i<t.length;i++){var r="",o="",a="",s=/\bmgline-[^\s]*\b/.exec(t[i].classList.value),c=/\bmgline-[^\s]*\b-mob/.exec(t[i].classList.value);s&&(r="to "+(a="blur"==(a=s[0].split("-").pop())?"bottom":a)+","),c&&(o="to "+(a=c[0].split("-")[2])+",");var l=t[i],d=t[i].getElementsByClassName("text-elements")[0];if(t[i].getElementsByClassName("mctitle")[0]){var u=t[i].getElementsByClassName("mctitle")[0].getElementsByTagName("a")[0],f=t[i].getElementsByClassName("mcdomain")[0],h=t[i].querySelector("img.mcimg").getAttribute("src"),m="";""!==m&&(n=void 0,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(m),m=n?parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16):"");"function"==typeof fetch&&""===m?function(t,n,i,r,o,a){e.colorAverage(h).then((function(s){(e.context.matchMedia("(max-width: 480px)").matches||"mobile"===e.deviceType)&&(o=a);var c=.299*s.r+.587*s.g+.114*s.b>186?"#000":"#fff",l="linear-gradient("+o+"transparent, rgba("+s.r+","+s.g+","+s.b+", 0.25) 15%,rgba("+s.r+","+s.g+","+s.b+", 0.85) 30%,rgb("+s.r+","+s.g+","+s.b+") 45%)";t.style.background="rgb("+s.r+","+s.g+","+s.b+")",n.style.background=l,i.style.color=c,void 0!==r&&(r.firstElementChild.style.color=c)}))}(l,d,u,f,r,o):function(t,n,i,r,o){if((e.context.matchMedia("(max-width: 480px)").matches||"mobile"===e.deviceType)&&(r=o),""===m)var a="linear-gradient("+r+"transparent,rgba(0,0,0, 0.25) 15%,rgba(0,0,0, 0.85) 30%,rgb(0,0,0) 45%)";else a="linear-gradient("+r+"transparent,rgba("+m+", 0.25) 15%,rgba("+m+", 0.85) 30%,rgb("+m+") 45%)";t.style.background=a,n.style.color="#fff",void 0!==i&&(i.firstElementChild.style.color="#fff")}(d,u,f,r,o);var p=e.autoSizeTitle-Math.round(u.clientHeight/e.autoSizeTitle);u.style.fontSize=p+"px",u.style.lineHeight=p+"px"}}}},window.MarketGidCGradientBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Gradient="MarketGidCGradientBlock55317",window.MarketGidCUtilsBlock55317=function(e){e.utils={},e.utils.getScroll=function(){var t=e.utils.getWindow();return{top:t.document.body.scrollTop||t.document.documentElement.scrollTop||0,left:t.document.body.scrollLeft||t.document.documentElement.scrollLeft||0}},e.utils.getRect=function(t,n){var i=t.getBoundingClientRect(),r={top:i.top,bottom:i.bottom,left:i.left,right:i.right,height:i.height?i.height:i.bottom-i.top,width:i.width?i.width:i.right-i.left};if(e.context.self!==e.context.top){var o=e.utils.getFrame();if(o){var a=o.getBoundingClientRect();r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}if(n){var s=e.utils.getScroll();r.top+=s.top,r.bottom+=s.top,r.left+=s.left,r.right+=s.left}return r},e.utils.getViewportSize=function(){var t=e.utils.getWindow();return{width:t.innerWidth||t.document.documentElement.clientWidth,height:t.innerHeight||t.document.documentElement.clientHeight}};var t=void 0;e.utils.getWindow=function(){if(void 0===t){var n=e.context;if(e.context.parent!=e.context.self)try{null!=e.context.top.document&&(n=e.context.top)}catch(e){}t=n}return t};var n=void 0;e.utils.getFrame=function(){if(void 0===n)try{for(var t=e.context,i=t.frameElement;t.frameElement;t=t.parent)i=t.frameElement;n=i}catch(e){n=null}return n}},window.MarketGidCUtilsBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Utils="MarketGidCUtilsBlock55317",window.MarketGidCResponsiveBlock55317=function(e){e.afterLoadNewsHooks.push("responsiveInit"),e.responsiveInit=function(){e.ElementQueries.init(),e.fixGetElementsByClassNameHandler(e.root),e.fakeMode||(e.fixPrices(),setTimeout((function(){e.fixFlexbox()}),100))},e.fixElementPrice=function(t){e.fixGetElementsByClassNameHandler(t);for(var n=t.getElementsByClassName("mcpriceouter"),i=0;i<n.length;i++){var r=n[i].parentNode;e.fixGetElementsByClassNameHandler(r);var o=r.getElementsByClassName("mcpriceold");if(n[i].getBoundingClientRect().bottom>=r.getBoundingClientRect().bottom)for(var a=0;a<o.length;a++)o[a].style.display="none";else for(a=0;a<o.length;a++)o[a].style.display="inline-block",n[i].getBoundingClientRect().bottom>=r.getBoundingClientRect().bottom&&(o[a].style.display="none")}},e.fixPrices=function(){for(var t=e.root.getElementsByClassName("mgline"),n=0;n<t.length;n++)!function(t){e.fixElementPrice(t),t.resizeSensor=new e.ResizeSensor(t,(function(){e.fixElementPrice(t)}))}(t[n])},e.fixFlexbox=function(){var t;if(""==(t=(t=e.context.document.body||e.context.document.documentElement).style).webkitFlexWrap||""==t.msFlexWrap||""==t.flexWrap)return!0;for(var n=e.root.getElementsByClassName("mgline"),i=0;i<n.length;i++)n[i].style.height="auto";setTimeout((function(){for(var t=0,i=0;i<n.length;i++){var r=n[i].getBoundingClientRect(),o=r.bottom-r.top;o>t&&(t=o)}if(0!=o)for(i=0;i<n.length;i++)n[i].style.height=t+"px";e.fixImages()}),0)},e.fixImages=function(){setTimeout((function(){for(var t=!1,n=e.root.getElementsByClassName("mcimg"),i=0;i<n.length;i++)if("DIV"==n[i].tagName){var r=n[i].getBoundingClientRect();r.bottom-r.top<=25&&(t=!0,n[i].style.display="none",function(e){setTimeout((function(){e.style.display="block"}),0)}(n[i]))}t&&e.fixFlexbox()}),200)},/*! Copyright (c) 2013 Marc J. Schmidt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software. */e.ElementQueries=function(){function t(e){this.element=e,this.options={};var t,n,i,r,o,a,s,c=0,l=0;this.addOption=function(e){var t=[e.mode,e.property,e.value].join(",");this.options[t]=e};var d=["min-width","min-height","max-width","max-height"];this.call=function(){for(t in c=this.element.offsetWidth,l=this.element.offsetHeight,o={},this.options)this.options.hasOwnProperty(t)&&(n=this.options[t],i=parseFloat(n.value),r="width"==n.property?c:l,s=n.mode+"-"+n.property,a="","min"==n.mode&&r>=i&&(a+=n.value),"max"==n.mode&&r<=i&&(a+=n.value),o[s]||(o[s]=""),a&&-1===(" "+o[s]+" ").indexOf(" "+a+" ")&&(o[s]+=" "+a));for(var e in d)o[d[e]]?this.element.setAttribute(d[e],o[d[e]].substr(1)):this.element.removeAttribute(d[e])}}function n(n,i,r){n.elementQueriesSetupInformation?n.elementQueriesSetupInformation.addOption(i):(n.elementQueriesSetupInformation=new t(n),n.elementQueriesSetupInformation.addOption(i),n.elementQueriesSensor=new e.ResizeSensor(n,(function(){n.elementQueriesSetupInformation.call()}),r)),n.elementQueriesSetupInformation.call()}function i(t,i,r,o){var a,s=function(e){var t,n,i=0;if(0==e.length)return i;for(t=0,n=e.length;t<n;t++)i=(i<<5)-i+e.charCodeAt(t),i|=0;return i}(t+i+r+o);if(e.root.querySelectorAll&&e.root.querySelectorAll.bind&&(a=e.root.querySelectorAll.bind(e.root)),a)for(var c=a(t),l=0,d=c.length;l<d;l++)n(c[l],{mode:i,property:r,value:o},s)}var r=/,?([^,\n]*)\[[\s\t]*(min|max)-(width|height)[\s\t]*[~$\^]?=[\s\t]*"([^"]*)"[\s\t]*]([^\n\s\{]*)/gim;function o(e){var t;for(e=e.replace(/'/g,'"').replace(/(\[.*?\])([A-z\.-]*)/g,"$2$1");null!==(t=r.exec(e));)5<t.length&&i(t[1]||t[5],t[2],t[3],t[4])}function a(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&&-1===e.indexOf("max-width")||o(e);else for(var n=0,i=e.length;n<i;n++)1===e[n].type?-1!==(t=e[n].selectorText||e[n].cssText).indexOf("min-height")||-1!==t.indexOf("max-height")?o(t):-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")||o(t):4===e[n].type&&a(e[n].cssRules||e[n].rules)}this.init=function(){for(var t=e.context.document.styleSheets,n=0,i=t.length;n<i;n++)try{t[n].ownerNode&&"MarketGidC55317"==t[n].ownerNode.className&&a(t[n].cssRules||t[n].cssText||t[n].rules)}catch(e){continue}},this.update=function(){this.init()}},e.ElementQueries.update=function(){e.ElementQueries.instance.update()},e.ElementQueries.init=function(){e.ElementQueries.instance||(e.ElementQueries.instance=new e.ElementQueries),e.ElementQueries.instance.init()},e.initElementQueries=function(){e.addEvent(e.context,"load",(function(){e.ElementQueries.init()}))},e.ResizeSensor=function(t,n,i){function r(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function o(t,n,i){if(t.resizedAttached){if(t.resizedAttached)return void t.resizedAttached.add(n)}else t.resizedAttached=new r,t.resizedAttached.add(n);if(e.context.document.querySelector){if(null==(s=e.context.document.querySelector(".resize-sensor.hash_"+i))||!i){t.resizeSensor=e.context.document.createElement("div"),t.resizeSensor.className=i?"resize-sensor hash_"+i:"resize-sensor";var o="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;",a="position: absolute; left: 0; top: 0;";t.resizeSensor.style.cssText=o,t.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+o+'"><div style="'+a+'"></div></div><div class="resize-sensor-shrink" style="'+o+'"><div style="'+a+' width: 200%; height: 200%"></div></div>',t.appendChild(t.resizeSensor);var s=t.resizeSensor}({fixed:1,absolute:1})[function(t,n){return t.currentStyle?t.currentStyle[n]:e.context.getComputedStyle?e.context.getComputedStyle(t,null).getPropertyValue(n):t.style[n]}(t,"position")]||(t.style.position="relative");var c,l,d=s.childNodes[0],u=d.childNodes[0],f=s.childNodes[1],h=function(){u.style.width=d.offsetWidth+10+"px",u.style.height=d.offsetHeight+10+"px",d.scrollLeft=d.scrollWidth,d.scrollTop=d.scrollHeight,f.scrollLeft=f.scrollWidth,f.scrollTop=f.scrollHeight,c=t.offsetWidth,l=t.offsetHeight};h();var m=function(){t.resizedAttached&&t.resizedAttached.call()};e.addEvent(d,"scroll",(function(){(t.offsetWidth>c||t.offsetHeight>l)&&m(),h()})),e.addEvent(f,"scroll",(function(){(t.offsetWidth<c||t.offsetHeight<l)&&m(),h()}))}}if("[object Array]"===Object.prototype.toString.call(t)||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements)for(var a=0,s=t.length;a<s;a++)o(t[a],n,i);else o(t,n,i)}},window.MarketGidCResponsiveBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Responsive="MarketGidCResponsiveBlock55317",window.MarketGidCCriteoBlock55317=function(e){e.afterLoadNewsHooks.push("initCriteoHandlers"),e.initCriteoHandlers=function(){var t="LoadCriteoAllPlaces"+e.id;e.context[t]=e.LoadCriteoAllPlaces},e.LoadCriteoAllPlaces=function(t){e.criteoNurl=t.l;var n=e.context.document.createElement("script");e.criteoParams=t.pos,n.type="text/javascript",n.async="async",n.src="https://static.criteo.net/js/ld/publishertag.js";var i=e.context.document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i),e.context.Criteo=e.context.Criteo||{},e.context.Criteo.events=e.context.Criteo.events||[],e.context.Criteo.events.push((function(){var n={placements:[{slotid:e.root.id,zoneid:t.z,nativeCallback:function(t){e.ProcessCriteo(t)}}]};e.context.Criteo.Passback.RequestBids(n,1500)})),e.context.Criteo.events.push((function(){e.context.Criteo.Passback.RenderAd({adUnit:e.root.id,passback:function(e){}})}))},e.ProcessCriteo=function(t){e.countLoadBlocks=0,e.root.innerHTML="",e.addStyle("criteo",e.styles),e.iteration=1;var n=[],i=e.json,r="";"advertiser"in t&&"domain"in t.advertiser&&(r=t.advertiser.domain);for(var o=t.products.length,a=0;a<o;a++)e.criteoPlacement=a,void 0!==i[a]&&(i[e.criteoPlacement][0]=r,i[e.criteoPlacement][1]=a+1,i[e.criteoPlacement][3]=t.products[a].title,i[e.criteoPlacement][4]=t.products[a].description,i[e.criteoPlacement][7]=t.products[a].price,i[e.criteoPlacement][8]="",i[e.criteoPlacement][10].i=e.webProtocol+"//imggprx.mgid.com/i/resize?img="+encodeURIComponent(t.products[a].image.url)+"&size=19",i[e.criteoPlacement][10].l=e.criteoParams[a]+"&u="+e.tox64String(t.products[a].click_url),i[e.criteoPlacement][10].adc=[],n.push(e.teaserHashes[i[a].id]));e.MarketGidLoadNews(i);for(a=0;a<o;a++)if(e.criteoPlacement=a,null!=i[a]&&t.hasOwnProperty("privacy")&&t.privacy.hasOwnProperty("optout_click_url")&&t.privacy.hasOwnProperty("optout_image_url")){var s=e.root.getElementsByClassName("mgline")[e.criteoPlacement].getElementsByClassName("mcimg")[0],c=e.context.document.createElement("DIV");c.style.position="absolute",c.style.zIndex="100",c.style.left="90%",c.style.top="0";var l=e.context.document.createElement("A");l.setAttribute("href",t.privacy.optout_click_url),l.setAttribute("target","_blank");var d=e.context.document.createElement("IMG");if(d.setAttribute("src",t.privacy.optout_image_url),l.appendChild(d),c.appendChild(l),s.appendChild(c),t.hasOwnProperty("impression_pixels"))for(var u in t.impression_pixels)if(t.impression_pixels[u].hasOwnProperty("url")){var f=e.context.document.createElement("IMG");f.src=t.impression_pixels[u].url,e.context.document.body.appendChild(f)}}var h=e.context.document.createElement("IMG");h.src=e.criteoNurl+"&ads="+n.join(","),e.context.document.body.appendChild(h)}},window.MarketGidCCriteoBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Criteo="MarketGidCCriteoBlock55317",window.MarketGidCSendDimensionsBlock55317=function(e){e.afterPreRenderNewsHooks.push("calcPreRenderingBlock"),e.blankImage="data:image/gif;base64,R0lGODlh7AFIAfAAAAAAAAAAACH5BAEAAAAALAAAAADsAUgBAAL+hI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8b+jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7ev0KNqzYsWTLmj2LNq3atWzbun0LN67cuXTr2r2LN6/evXz7+v0LOLDgwYQLGz6MOLHixYwbO34MObLkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fxR+/v/D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJJp6IYooqrshiiy6+CGOMMs5IY4023ohjjjruCFYBADs=",e.precalcRect={},e.calcPreRenderingBlock=function(){setTimeout((function(){"function"==typeof e.initIframeSizeChange&&e.initIframeSizeChange();e.getViewportHeight();e.fixGetElementsByClassNameHandler(e.root);var t=e.root.getBoundingClientRect();e.root.getElementsByClassName("mgbox")[0]&&(t=e.root.getElementsByClassName("mgbox")[0].getBoundingClientRect()),e.precalcRect.width=parseInt(t.width?t.width:t.right-t.left),e.precalcRect.height=parseInt(t.height?t.height:t.bottom-t.top),e.precalcRect.top=t.top,e.precalcRect.bottom=t.bottom,e.requestParams.w="w="+e.precalcRect.width,e.requestParams.h="h="+e.precalcRect.height;var n=0,r=e.root.getElementsByClassName("mgline"),o="3".split(",").map(Number)||[];for(e.preRenderSizes||(e.preRenderSizes={}),i=0;i<r.length;i++){var a=i+1,s=r[i].getBoundingClientRect(),c=r[i].getElementsByClassName("mcimg")[0];if(void 0!==c){var l=c.getBoundingClientRect();e.preRenderSizes[a-1]={height:l.height,width:l.width}}if(-1!==o.indexOf(a)){var d=parseInt(s.height?s.height:s.bottom-s.top),u=parseInt(s.width?s.width:s.right-s.left);e.requestParams["p"+a+"_w"]="p"+a+"_w="+u,e.requestParams["p"+a+"_h"]="p"+a+"_h="+d}void 0!==f&&f<s.top&&0===n&&(n=i);var f=s.top}0==n&&(n=r.length),e.requestParams.cols="cols="+n,e.fakeMode=!1,e.root=e.realRoot,null!==e.context.document.getElementById("preRenderingBlock55317_"+e.uniqId)&&e.root.removeChild(e.context.document.getElementById("preRenderingBlock55317_"+e.uniqId)),e.root.style.overflow="visible",e.root.style.visibility="visible",e.loadedType="",e.currentSubnet="",e.countLoadBlocks=e.countLoadBlocksContainer,e.template="",e.iteration=1,"function"==typeof e.widgetPreloadCallback&&e.widgetPreloadCallback()}),50)},e.updatePrecalcRect=function(t){e.loadedType="goods",e.currentSubnet="0",e.fakeMode=!0,e.realRoot=e.root,e.countLoadBlocksContainer=e.countLoadBlocks;var n=e.context.document.createElement("div");n.id="preRenderingBlock55317_"+e.uniqId,n.style.visibility="hidden";var i=e.context.document.createElement("div");i.id=e.root.id,n.appendChild(i),e.root.appendChild(n),e.root=i,e.root.style.overflow="hidden";for(var r="Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet",o=[],a=1;a<=3;a++)o.push(["",a,"",r,r,"","","","","",{i:e.blankImage}]);e.MarketGidPrerenderNews(o),"function"==typeof t&&(e.widgetPreloadCallback=t)}},window.MarketGidCSendDimensionsBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.SendDimensions="MarketGidCSendDimensionsBlock55317",window.MarketGidCMonitorBlock55317=function(e){this.afterLoadNewsHooks.push("monitorInit"),this.shownBlocks={},this.monitorTimeout=null,this.isFirstByType={},this.isFirstByCid={},this.monitorInit=function(){if("function"!=typeof e.VisData){var t=!0,n=e.context.self;try{e.context.self!==e.context.top&&e.context.top.location.href&&(n=e.context.top)}catch(e){t=!1}e.VisData=function(){try{if(!t)return function(e){return!e||{extTf:!1}};var i,r,o={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(i in o)if(i in document){r=o[i];break}var a,s,c,l,d,u=-1,f=-1,h=-1,m=1,p=!1,g="function"==typeof document.hasFocus?function(){var e=n.document.hasFocus();e!=m&&(a=(new Date).getTime()),p|=e,m=e}:function(){m=1};setInterval(g,100),e.addEvent(n.document,r,(function(){n.document[i]?u=0:setTimeout((function(){u=1}),100),d=(new Date).getTime()})),e.addEvent(n.document,"mouseleave",(function(){h=0,s=(new Date).getTime()})),e.addEvent(n.document,"mouseenter",(function(){h=1,s=(new Date).getTime()})),e.addEvent(n.document,"touchmove",(function(){h=2,s=(new Date).getTime()}));var v=0;e.addEvent(n.document,"keydown",(function(){v=1,c=(new Date).getTime()}));var y=0,b=0;e.addEvent(n.document,"click",(function(e){b=1,y=(new Date).getTime();for(var t=e.target;t.parentElement;){if("A"===t.tagName){b=2;break}t=t.parentElement}})),e.addEvent(n,"blur",(function(){f="IFRAME"==n.document.activeElement.tagName?2:0,l=(new Date).getTime()})),e.addEvent(n,"focus",(function(){f=1,l=(new Date).getTime()}));var x=0,w=null,k=function(){w=(new Date).getTime(),x=1};n.document.addEventListener?(n.document.addEventListener("mousewheel",k,!1),n.document.addEventListener("DOMMouseScroll",k,!1)):n.document.attachEvent("onmousewheel",k);var C=0;try{var E=new Image;E.__defineGetter__("id",(function(){C=1})),console.debug(E)}catch(e){C=-1}return function(e){g();var t=m&&(0!==u||0!==f||-1!==h||x);if(e){var n={extVs:t,extTv:u,extWv:f,extMa:h,extHf:m,extCl:b,extKp:v,extMw:x,extDg:C,extFt:p},i=(new Date).getTime();return y&&(n.extClt=i-y),w&&(n.extMwt=i-w),l&&(n.extWvt=i-l),s&&(n.extMat=i-s),d&&(n.extTvt=i-d),a&&(n.extHft=i-a),c&&(n.extKpt=i-c),n}return t}}catch(e){return function(e){return!e||{}}}}()}var i=/([A-Za-z0-9\-_\*]{64})/,r=parseFloat(.5);if((!r||r<=0||r>1||Number(r)!=r)&&(r=.9),"function"==typeof IntersectionObserver&&3===e.servicerData.cv){var o=0,a=0,s=[],c=null,l=function(){for(var t=0,n=0;n<s.length;n++)if(s[n])if(s[n].dataset.shown)t++;else if(s[n].dataset.observeStart>0){var i=parseFloat(s[n].dataset.observeTime)+((new Date).getTime()-s[n].dataset.observeStart);i>1e3&&(e.intersectionObserver.unobserve(s[n]),e.intersectionObserver.observe(s[n]))}t<o&&setTimeout(arguments.callee,100)};if(!e.intersectionObserver){e.intersectionObserver=new IntersectionObserver((function(t){for(var n={},i=0,o=0;o<t.length;o++){var a=t[o];if(a.target.dataset.i&&!a.target.dataset.shown)if(a.target.width+a.target.height!=0){if(a.intersectionRatio>=r)if(0==a.target.dataset.observeStart)a.target.dataset.observeStart=(new Date).getTime();else{var s=(new Date).getTime()-a.target.dataset.observeStart;a.target.dataset.observeTime=parseFloat(a.target.dataset.observeTime)+s}else a.target.dataset.observeTime=0,a.target.dataset.observeStart=0;a.target.dataset.observeTime>=1e3&&(a.target.dataset.shown=1,e.intersectionObserver.unobserve(a.target),n[a.target.dataset.i]=e.getTeaserCappingData(a.target),i++)}else e.intersectionObserver.unobserve(a.target),function(){var t=a.target;setTimeout((function(){e.intersectionObserver.observe(t)}),100)}()}i&&e.prepareCappingData(n,e.servicerData.cv)}),{threshold:[0,r,1]})}var d=[],u=null,f=function(){c||(c=setTimeout(l,100)),u=null;for(var t=d.pop();t;t=d.pop())e.intersectionObserver.observe(t)},h=function(e){d.push(e),s.push(e),o++,u&&clearTimeout(u),o<a?u=setTimeout(f,100):f()};!function(){var t=e.root.getElementsByClassName("mgline");if(t.length)for(var n=0;n<t.length;n++)if(!t[n].dataset.observing){var r=i.exec(t[n].dataset.i);if(r&&r[1]){t[n].dataset.observeTime=0,t[n].dataset.observeStart=0,t[n].dataset.observing="yes";var o=t[n].querySelectorAll("img.mcimg");o.length>0?function(t){var n=new Image;e.addEvent(n,"load",(function(){h(t)})),e.addEvent(n,"error",(function(){h(t)})),n.src=o[0].src}(t[n]):h(t[n]),a++}else t[n].dataset.observing="no"}}()}else this.monitorTimeout||function(){for(var t={},n=e.root.getElementsByClassName("mgline"),o=[],a=0;a<n.length;a++){var s=i.exec(n[a].dataset.i);if(s&&s[1]&&!e.shownBlocks[n[a].dataset.i])if(n[a].dataset.observing)o.push(n[a]);else{var c=n[a].querySelectorAll("img.mcimg");c.length>0?function(t){var n=new Image;e.addEvent(n,"load",(function(){t.dataset.observing="yes"})),e.addEvent(n,"error",(function(){t.dataset.observing="yes"})),n.src=c[0].src}(n[a]):n[a].dataset.observing="yes"}}for(a=0;a<o.length;a++){var l=o[a];e.elementViewportIntersection(l)>=r&&(t[l.dataset.i]=e.getTeaserCappingData(l))}e.prepareCappingData(t,"2"),e.monitorTimeout=setTimeout(arguments.callee,1e3)}()},this.getTeaserImageDims=function(t){if(t){var n=t.querySelectorAll("img.mcimg");if(n.length>0)return e.utils.getRect(n[0],!1)}return{width:0,height:0}},this.getTeaserCappingData=function(t){var n=e.utils.getRect(t,!0),i=e.getTeaserImageDims(t);return{width:Math.round(i.width),height:Math.round(i.height),atf:n.top<e.utils.getViewportSize().height,align:e.getTeaserAlign(n),desc:e.isTeaserElementVisible(t,"mcdesc"),price:e.isTeaserElementVisible(t,"mcprice"),domain:e.isTeaserElementVisible(t,"mcdomain")}},this.prepareCappingData=function(t,n){var i=[],r=[],o=[],a=[];for(var s in t){var c=s;if(!e.shownBlocks[c]){var l=t[s].width+"|"+t[s].height+"|"+((t[s].desc?1:0)+(t[s].price?2:0)+(t[s].domain?4:0)+(t[s].atf?8:0)+("right"==t[s].align?16:0)+("left"==t[s].align?32:0))+"|";if(c&&e.teaserData[c]){e.shownBlocks[c]=1;var d=e.teaserData[c].coopType;e.teaserData[c].ch&&e.teaserData[c].ccid&&e.teaserData[c].cdomain&&(a=(o=e.prepareMultiCappingData(o,c,l,d,n)).counter)[d][e.teaserData[c].cdomain]>20&&(e.multiSendCappingData(o[d]),o[d]=[],a=[]),(r=(i=e.prepareSingleCappingData(i,c,l,d,n)).counter)[d]>20&&(e.sendCappingData(i[d]),i[d]="",r[d]=0);var u=e.teaserData[c].imp;for(var f in u)e.sendCustomCounter(u[f]);"w"===d&&e.sspDoubleClickHash.push(c),e.processHooks("afterPrepareCappingDataHooks",[c])}}}for(var d in r)r[d]>0&&e.sendCappingData(i[d]);for(var h=0,m=Object.keys(a);h<m.length;h++){d=a[m[h]];Object.keys(a[d]).length>0&&e.multiSendCappingData(o[d])}},this.sensorsToJsFlags=function(){try{var t=e.VisData(!0),n=0;if(t){if(!1===t.extTf)return 3;1==t.extVs&&(n=1),t.extHf&&(n+=2),t.extWv<0?n+=12:t.extWv<3&&(n+=t.extWv<<2),t.extTv<0?n+=48:t.extTv<3&&(n+=t.extTv<<4),t.extMa<0?n+=192:t.extMa<3&&(n+=t.extMa<<6),t.extCl>0&&t.extCl<3&&(n+=t.extCl<<8),1==t.extMw&&(n+=1024),1==t.extKp&&(n+=2048),0!=t.extDg&&(n+=4096),2!=t.extMa&&1==t.extMw&&t.extMwt<1500&&(n+=8192),Number(t.extHft)===t.extHft&&t.extHft>=0&&t.extHft<1500&&(!t.extWvt||t.extWvt<1500)&&(!t.extTvt||t.extTvt<1500)&&(n+=16384),t.extFt&&(n+=32768),n<<=1}}catch(e){n=1}return n},this.prepareMultiCappingData=function(t,n,i,r,o){var a=e.teaserData[n].cdomain,s=e.teaserData[n].ch,c=e.teaserData[n].ccid,l="pv="+o;return-1==l.indexOf("extjs")&&(l+="&extjs="+this.sensorsToJsFlags()),void 0===t[r]&&(t[r]=[],void 0===t.counter&&(t.counter=[]),void 0===t.counter[r]&&(t.counter[r]=[])),void 0===t[r][a]&&(t[r][a]=[],t.counter[r][a]=0),void 0===t[r][a][c]&&(t[r][a][c]=""),l+="&v="+i+s,("0"==o||e.isFirstByType[r+c])&&e.isFirstByCid[r+c]||(l+="&f"+r+"=1",e.isFirstByType[r+c]=1,e.isFirstByCid[r+c]=1),t[r][a][c]+=l,t.counter[r][a]++,t},this.prepareSingleCappingData=function(t,n,i,r,o){return void 0===t[r]&&(t[r]="pv="+o,void 0===t.counter&&(t.counter=[])),void 0===t.counter[r]&&(t.counter[r]=0),t[r]+="&v="+i+n,"0"==o||e.isFirstByType[r]||(t[r]+="&f"+r+"=1",e.isFirstByType[r]=1),-1==t[r].indexOf("extjs")&&(t[r]+="&extjs="+this.sensorsToJsFlags()),t.counter[r]++,t},this.multiSendCappingData=function(t){for(var n in t)for(var i in t[n]){var r=t[n][i]+"&cid="+i;e.sendCappingData(r,n)}},this.sendCappingData=function(t,n){var i=document.createElement("IMG"),r=t.search("&cid="),o=t.search("pv=0&")>=0;if(t+="&imgdim=1",-1!=r)var a=t.substr(r+5).split("&")[0];o?void 0===a&&(t+="&cid="+e.id.toString()):((void 0===e.context._mgwcapping||-1==e.context._mgwcapping.indexOf(e.id.toString())||void 0!==a&&-1==e.context._mgwcapping.indexOf(a.toString()))&&(t="f=1&"+t),e.context._mgwcapping=e.context._mgwcapping||[],void 0===a?(t+="&cid="+e.id.toString(),e.context._mgwcapping.push(e.id.toString())):e.context._mgwcapping.push(a)),e.servicerData&&(e.servicerData.h2&&(t+="&h2="+e.servicerData.h2),e.servicerData.rid&&(t+="&rid="+e.servicerData.rid),e.servicerData.tt&&(t+="&tt="+e.servicerData.tt),e.servicerData.ts&&(t+="&ts="+e.servicerData.ts),e.servicerData.psid&&(t+="&psid="+e.servicerData.psid));var s=e.getMostTopWindow();void 0===s._mgPageImp140155?(s._mgPageImp140155=!0,t+="&pageImp=1"):t+="&pageImp=0";try{if(e.context.localStorage){var c=e.context.localStorage.getItem("mgMuidn");"string"==typeof c&&c.length>0&&(t+="&muid="+c)}}catch(e){}var l=e.webProtocol+"//";l+=void 0!==n?n:"c.mgid.com",t+="&"+e.getCbusterParameter(),t+="&tpl="+e.templateId,i.src=l+"/c?"+t,e.processHooks("afterSendCappingHooks")},this.elementViewportIntersection=function(t){var n=e.utils.getRect(t,!0);for(var i in n)n[i]=Math.floor(n[i]);var r=e.utils.getViewportSize(),o=e.utils.getScroll();r.top=o.top,r.bottom=o.top+r.height,r.left=o.left,r.right=o.left+r.width;var a=n.width*n.height;return a?Math.max(0,Math.min(n.right,r.right)-Math.max(n.left,r.left))*Math.max(0,Math.min(n.bottom,r.bottom)-Math.max(n.top,r.top))/a:0},this.getParentTeaserBlock=function(t){for(var n=t;n!=e.root&&n!=e.context;){if(n.className.indexOf("mgline")>=0)return n;n=n.parentNode}return null},this.isTeaserElementVisible=function(t,n){e.fixGetElementsByClassNameHandler(t);var i=t.getElementsByClassName(n);if(i.length>0){var r=i[0].getBoundingClientRect();return r.right-r!=0&&r.bottom-r.top!=0}return!1},this.getTeaserAlign=function(t){var n=e.context.document.body.scrollWidth;return t.right<.3*n?"left":t.left>=.7*n?"right":"center"},this.sendCustomCounter=function(e){document.createElement("img").src=e}},window.MarketGidCMonitorBlock55317.call(window.MarketGidInfC55317,window.MarketGidInfC55317),window.MarketGidInfC55317.funcBlocks.Monitor="MarketGidCMonitorBlock55317",window.MarketGidInfC55317.init(),void 0===window.MarketGidInfC55317.context.MarketGidC55317DisableStart&&window.MarketGidInfC55317.start()}},function(e,t,n){window.MarketGidCMainBlock55317=function(e){e.afterLoadNewsHooks.push("fixHeaderWidgetHeight"),e.addEvent(e.root,"mousemove",(function(t){e.root.mouseX=t.pageX-e.root.offsetLeft,e.root.mouseY=t.pageY-e.root.offsetTop})),e.prepareHref=function(t,n,i){var r="",o=e.teaserData[t];if(i&&void 0!==e.context._mgExternalLinkChanger&&1===e.context._mgExternalLinkChanger){r=i.protocol+"//"+i.hostname+i.pathname;var a=i.search;if(""!=a)for(var s=(a=a.replace("?","")).split("&"),c=0;c<s.length;c++){var l=s[c].split("=");"k"!=l[0]&&"dc"!=l[0]&&(r+=(0==c?"?":"&")+s[c])}}else r=e.clickTracking+e.webProtocol,o?o.link&&(r=/^http[s]?:/.test(o.link)?e.clickTracking+o.link:"i"==o.coopType?e.clickTracking+e.intExchangeProtocol+o.link:e.clickTracking+e.webProtocol+o.link):r="#";var d="";void 0!==e.clickableDelay&&e.clickableDelay&&"function"==typeof e.isWagesLink&&e.isWagesLink(i)&&(d="dc=1");var u=e.getQueryParameterByName("dc");if(u&&(d="dc="+parseInt(u)),""!==e.getClickZone()&&""==d&&(d="dc="+e.getClickZone()),""!==d&&(r+=(r.indexOf("?")>=0?"&":"?")+d),"function"==typeof e.getAntifraudParams&&o&&"i"!=o.coopType&&(r+=e.getAntifraudQueryParameter(r,n,i)),e.clickTracking&&-1!==r.indexOf(e.clickTracking)&&(r=e.clickTracking+encodeURIComponent(r.replace(e.clickTracking,""))),e.templateId&&(r+=(r.indexOf("?")>=0?"&":"?")+"tpl="+e.templateId),-1!==e.botRadarMetrics&&(r+=(r.indexOf("?")>=0?"&":"?")+"brm="+e.botRadarMetrics),i&&(wct=e.getParameterFromLink(i,"wct"))&&(r+=(-1===r.indexOf("?")?"?":"&")+wct),void 0!==n&&"click"===n.type){var f="."+e.extractClass(n.target),h=n.target.tagName;"A"===h&&(h=n.target.parentNode.tagName,f="."+e.extractClass(n.target.parentNode)),r+=(r.indexOf("?")>=0?"&":"?")+"ce="+h+f}if(o&&"i"!=o.coopType)try{if(e.context.localStorage){var m=e.context.localStorage.getItem("mgMuidn");"string"==typeof m&&m.length>0&&r.indexOf("muid")<0&&(r+=(r.indexOf("?")>=0?"&":"?")+"muid="+m)}}catch(e){}return r},e.getParameterFromLink=function(e,t){var n=e.search;if(""===n)return null;for(var i=n.replace("?","").split("&"),r=0;r<i.length;r++)if(i[r].split("=")[0]===t)return i[r];return null},e.getClickZone=function(){var t=JSON.parse("[]");if(0==t.length)return"";if(void 0===t.top||void 0===t.left||void 0===t.right||void 0===t.bottom)return"";var n=e.root.offsetHeight,i=e.root.offsetWidth,r=[];r.top=parseInt(n/100*t.top),r.left=parseInt(i/100*t.left),r.right=i-parseInt(i/100*t.right),r.bottom=n-parseInt(n/100*t.bottom);var o=e.root.mouseX,a=e.root.mouseY;return[[2,3,4],[5,"",6],[7,8,9]][a<=r.top?0:a>=r.bottom?2:1][o<=r.left?0:o>=r.right?2:1]},e.getAntifraudQueryParameter=function(t,n,i){var r=e.getAntifraudParams(n,i),o="";if(r){var a="";a=e.id,o=(t.indexOf("?")>=0?"&":"?")+"k="+a+"f"+r}var s=e.getFrPt();if(s){o?o+="&fp="+s:o=(t.indexOf("?")>=0?"&":"?")+"fp="+s}return o},e.prepareNiceHref=function(t,n,i){var r,o=e.teaserData[t];if(1==o.other.sdl&&"i"!=o.coopType){if(r=e.clickTracking,void 0!==o.other.dl&&""!=o.other.dl)r+=o.other.dl;else{var a=decodeURIComponent(o[0].replace(/[`|',:\/?;$%&\(\)^*!@\s]/g,"")).toLowerCase(),s=decodeURIComponent(o[3].replace(/[`|',:\/?;$%&\(\)^*!@]/g,"")).replace(/\s/g,"_");r+=e.webProtocol+"//"+(a?a+"/":"")+s}e.clickTracking&&-1!==r.indexOf(e.clickTracking)&&(r=e.clickTracking+encodeURIComponent(r.replace(e.clickTracking,"")))}else r=e.prepareHref(t,n,i);return r},e.transliterate=function(e){var t={"Ё":"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 e.split("").map((function(e){return e.match(/[a-z0-9_\-]/i)?e:t[e]||""})).join("")},e.getQueryParameterByName=function(t){t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e.context.location.href);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},e.getParentLink=function(e){for(;e&&"BODY"!==e.tagName;){if("A"==e.tagName)return e;e=e.parentNode}return null},e.extractClass=function(e){if(e&&void 0!==e.className){var t=e.className.replace(/\s/g,".").split(".")[0];if(t)return t.replace(55317,"")}return""},e.findClosest=function(e,t){for(var n;e.parentNode;){n=e.parentNode.querySelectorAll(t);for(var i=0;i<n.length;i++)if(e.isEqualNode(n[i]))return n[i];e=e.parentNode}return null},e.prepareTeaserData=function(t){var n={};n.source=e.htmlEntities(t[0]),n.id=e.htmlEntities(t[1]),n.title=void 0!==t[3]?e.prepareTitle(t[3]):"",n.desc=void 0!==t[4]?e.prepareDesc(t[4]):"",n.mirror=e.subnetMirrors[e.currentSubnet],n.key=t[6],n.price=void 0!==t[7]?e.htmlEntities(t[7]).replace(".00",""):"",n.priceold=void 0!==t[8]?e.htmlEntities(t[8]).replace(".00",""):"";var i=100*(1-parseFloat(n.price)/parseFloat(n.priceold));i<=1||i>100?(n.priceold="",n.discount=""):n.discount=Math.floor(i)+"%",n.hash=t[9],n.other=void 0!==t[10]?t[10]:{},void 0!==n.other.i&&(n.other.i=e.htmlEntities(n.other.i));var r=n.title.toLowerCase(),o=n.desc.toLowerCase(),a=["копия","подделка","реплика","как оригинал"];if("1"==t[5]){n.isReplic=!0;for(var s=0;s<a.length;s++)if(e.prepareTitle(r).indexOf(a[s])>-1||e.prepareDesc(o).indexOf(a[s])>-1){n.isReplic=!1;break}0}else n.isReplic=!1;return"desktop"!=e.deviceType&&(n.other.sdl=0),t.other=n.other,e.teaserData[n.hash]=t,e.teaserData[n.hash].type="teaser",e.teaserData[n.hash].id=n.id,e.teaserData[n.hash].source=n.source,e.teaserData[n.hash].img=n.other.i,e.teaserData[n.hash].link=void 0!==n.other.l?n.other.l:null,e.teaserData[n.hash].mirror=n.mirror,e.teaserData[n.hash].coopType=void 0!==n.other.type?n.other.type:null,e.teaserData[n.hash].clicktrackers=void 0!==n.other.clicktrackers?n.other.clicktrackers:[],e.teaserData[n.hash].cdomain=n.other.cdomain||null,e.teaserData[n.hash].ccid=n.other.ccid||null,e.teaserData[n.hash].ch=n.other.ch||null,e.teaserData[n.hash].imp=void 0!==n.other.imp?n.other.imp:[],e.teaserData[n.hash].iteration=e.iteration,e.teaserData[n.hash].page=e.page,"i"==e.teaserData[n.hash].coopType&&(e.context._mgIntExchangeNews[n.id]=1),n},e.getInternalIds=function(){return Object.keys(e.context._mgIntExchangeNews)},e.tox64String=function(e,t){t=void 0===t&&t;for(var n,i,r,o,a,s,c,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d="",u=0;u<e.length;)n=e.charCodeAt(u++),i=e.charCodeAt(u++),r=e.charCodeAt(u++),o=n>>2,a=(3&n)<<4|i>>4,s=isNaN(i)?64:(15&i)<<2|r>>6,c=isNaN(r)?64:63&r,d+=l.charAt(o)+l.charAt(a)+l.charAt(s)+l.charAt(c);return!0===t&&(d=d.replace("+","-").replace("/","_").replace("=","*")),d},e.hangNiceLinkListener=function(t,n){if(!e.loadedDefault){var i=t.getAttribute("data-hash");return void 0!==e.teaserData[i]&&void 0!==e.teaserData[i].other&&void 0!==e.teaserData[i].other.sdl&&(e.teaserData[i].other.sdl=0),t[e.hrefAttr]=e.prepareHref(i,n,t),!0}},e.eventsHangNiceLinkListener=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement);var n=t.target;"A"!=n.tagName&&null===(n=e.getParentLink(n))||n.hasAttribute("data-hash")&&e.hangNiceLinkListener(n,t)},e.htmlToElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild},e.htmlToElements=function(t){var n=e.context.document.createElement("div");return n.innerHTML=t,Array.prototype.slice.call(n.childNodes)},e.fixHeaderWidgetHeight=function(){var t=e.context.document.getElementById("M140155ScriptRootC55317");t&&t.setAttribute("style","min-height:auto !important;")},e.isHiddenElement=function(e){for(;"BODY"!==e.tagName;){if("fixed"!=e.style.position&&null==e.offsetParent)return!0;if("hidden"==e.style.visibility)return!0;if("none"==e.style.display)return!0;e=e.parentNode}return!1},e.getTimeBySeconds=function(e){var t="",n=new Date(1e3*e).toISOString().substr(11,8);if(1===e.indexOf(":")||2===e.indexOf(":"))n=e;else{if(Number.isNaN(parseInt(e)))return"00:00";t=n.split(":")}return"00"===t[0]&&(n=t[1]+":"+t[2]),n},e.htmlEntities=function(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},e.random=function(e,t){return Math.floor(e+Math.random()*(t-e+1))}}},function(e,t){window.MarketGidCSubnetsBlock55317=function(e){e.afterInitHooks.push("subnetsLoad"),e.currentSubnet="",e.subnetMirrors={},e.subnetMirrorServicers={},e.subnetMirrorsImages={},e.subnetMirrorsAdvert={},e.subnetMirrorsAdLinkBlocks={},e.subnetMirrorsUtm={},e.subnetDashboardDomains={},e.subnetMirrorNames={};var t=JSON.parse('{"0":{"id":0,"informer_prefix":"MarketGid","mirror":"steepto.com","mirrorName":"steepto","imageDomain":"mgid.com","adLinkBlock":"<div class=\\"mgheader\\" data-advert-url=\\"\\/\\/cdn.steepto.com\\/advert\\/steepto\\/main.html\\"><span class=\\"mghead\\">%WIDGET_TITLE%<\\/span><div class=\\"mg_addad%id\\"><a href=\\"http:\\/\\/steepto.com\\/\\" target=\\"_blank\\"><img style=\\"display: inline-block;width: auto!important;\\" src=\\"\\/\\/cdn.steepto.com\\/images\\/steepto\\/steepto_logo_mini_45.png\\" alt=\\"Steepto\\" title=\\"Steepto\\"><\\/a><\\/div><\\/div><style>.mghead{font-weight:700;font-size:14px;text-transform:uppercase;text-align:left;font-family: \\"Open Sans\\", sans-serif;color:#4555a7;display:block;margin:0 0 0px 5px;float:left;}.mgheader{  display: table !Important; width: 100% !important;}div.mg_addad%id{text-align: right; margin-right: 10px;display: inline-block;float: right;} div.mg_addad%id:hover{opacity: 1} div.mg_addad%id a{color: #000000; font:normal 10px Myriad Pro; text-decoration: none;} div.mg_addad%id img{margin: 0px -5px 0px 0px; border:0px;float: none;padding:0px;}<\\/style>","dashboardDomain":"dashboard.mgid.com","utm":"?utm_source=widget_inf&utm_medium=text&utm_campaign=add&utm_content=","servicer":"servicer.mgid.com"},"1":{"id":1,"informer_prefix":"MarketGid","mirror":"fem.mgid.com","mirrorName":"lady","imageDomain":"mgid.com","adLinkBlock":"<div class=\\"mgheader\\"><span class=\\"mghead\\">%WIDGET_TITLE%<\\/span><div class=\\"mg_addad%id\\"><a href=\\"http:\\/\\/mgid.com\\/advertisers%utm%id\\" target=\\"_blank\\"> by <img style=\\"display: inherit!important;width: auto!important;\\" src=\\"\\/\\/cdn.mgid.com\\/images\\/mgid_logo_mini_43x20.png\\" alt=\\"Mgid\\" title=\\"Mgid\\"><\\/a><\\/div><\\/div><style>.mghead{font-weight:700;font-size:14px;text-transform:uppercase;text-align:left;font-family: \\"Open Sans\\", sans-serif;color:#4555a7;display:block;margin:0 0 0px 5px;float:left;}.mgheader{  display: table !Important; width: 100% !important;}div.mg_addad%id{text-align: right; opacity: 0.5;margin-right: 10px} div.mg_addad%id:hover{opacity: 1} div.mg_addad%id a{color: #000000; font:normal 10px Myriad Pro; text-decoration: none;} div.mg_addad%id img{margin-bottom: -5px; border:0px}<\\/style>","dashboardDomain":"dashboard.mgid.com","utm":"?utm_source=widget_fem&utm_medium=text&utm_campaign=add&utm_content=","servicer":"servicer.mgid.com"},"2":{"id":2,"informer_prefix":"Adskeeper","mirror":"adskeeper.co.uk","mirrorName":"adskeeper","imageDomain":"adskeeper.co.uk","adLinkBlock":"<div class=\\"mgheader\\"><span class=\\"mghead\\">%WIDGET_TITLE%<\\/span><div class=\\"mg_addad%id\\"><a href=\\"\\/\\/widgets.adskeeper.com\\/%utm%id\\" target=\\"_blank\\"><img src=\\"\\/\\/cdn.adskeeper.co.uk\\/images\\/adskeeper_logo_mini_71x16.png\\" alt=\\"Adskeeper\\" title=\\"Adskeeper\\"><\\/a><\\/div><\\/div><style>.mghead{line-height:20px;vertical-align:middle;font-weight:700;font-size:14px;text-transform:uppercase;text-align:left;font-family: \\"Open Sans\\", sans-serif;color:#4555a7;display:block;margin:0 0 0px 5px;float:left;}.mgheader{  display: table !Important; width: 100% !important;}div.mg_addad%id{text-align: right; opacity: 0.5;margin-right: 10px;display: inline-block;float: right;} div.mg_addad%id:hover{opacity: 1} div.mg_addad%id a{color: #000000; font:normal 10px Myriad Pro; text-decoration: none;} div.mg_addad%id img{margin: 0px -5px 0px 0px; border:0px;float: none;padding:0px;}<\\/style>","dashboardDomain":"dashboard.adskeeper.co.uk","utm":"?utm_source=widget_adskeeper&utm_medium=text&utm_campaign=add&utm_content=","servicer":"servicer.adskeeper.co.uk"},"3":{"id":3,"informer_prefix":"LentaInform","mirror":"lentainform.com","mirrorName":"lentainform","imageDomain":"lentainform.com","adLinkBlock":"<div class=\\"mgheader\\"><span class=\\"mghead\\">%WIDGET_TITLE%<\\/span><div class=\\"mg_addad%id widgets_logo\\"><a href=\\"http:\\/\\/partner.lentainform.com\\" target=\\"_blank\\"><\\/a><\\/div><\\/div><style>.widgets_logo{position:relative}.widgets_logo a{background:url(https:\\/\\/cdn.lentainform.com\\/images\\/lentainform\\/widgets_lentainform.png) no-repeat;width:88px;height:10px;position:absolute;display:block;bottom:-10px;right:7px}.mgbox{margin-bottom:15px!important;}.widgets_logo:hover a{background:url(https:\\/\\/cdn.lentainform.com\\/images\\/lentainform\\/widgets_lentainform_hover.png) no-repeat}<\\/style>","dashboardDomain":"dashboard.lentainform.com","utm":"?utm_source=informer&utm_medium=text&utm_campaign=add&utm_content=","servicer":"servicer.lentainform.com"},"5":{"id":5,"informer_prefix":"IdealMedia","mirror":"idealmedia.com","mirrorName":"idealmedia.com","imageDomain":"idealmedia.com","adLinkBlock":"<div class=\\"mgheader\\"><span class=\\"mghead\\">%WIDGET_TITLE%<\\/span><div class=\\"mg_addad%id\\"><a href=\\"http:\\/\\/idealmedia.com\\/\\" target=\\"_blank\\"><img style=\\"display: inline-block;width: 43px;\\" src=\\"\\/\\/cdn.mirs.com\\/images\\/im_logo_mini_43x20.svg\\" alt=\\"IdealMedia\\" title=\\"IdealMedia\\"><\\/a><\\/div><\\/div><style>.mghead{font-weight:700;font-size:14px;text-transform:uppercase;text-align:left;font-family: \\"Open Sans\\", sans-serif;color:#4555a7;display:block;margin:0 0 0px 5px;float:left;}.mgheader{ \\u00a0display: table !Important; width: 100% !important; margin-bottom:-7px;}div.mg_addad%id{text-align: right; margin-right: 10px;display: inline-block;float: right;} div.mg_addad%id:hover{opacity: 1} div.mg_addad%id a{color: #000000; font:normal 10px Myriad Pro; text-decoration: none;} div.mg_addad%id img{margin: 0px -5px 0px 0px; border:0px;float: none;padding:0px;}<\\/style>","dashboardDomain":"dashboard.idealmedia.com","utm":"?utm_source=widget&utm_medium=text&utm_campaign=add&utm_content=","servicer":"servicer.idealmedia.com"}}');for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];e.subnetMirrors[i.id]=i.mirror,e.subnetMirrorServicers[i.id]=i.servicer,e.subnetMirrorNames[i.mirrorName]=i.id,e.subnetMirrorsImages[i.id]=i.imageDomain,e.subnetMirrorsAdLinkBlocks[i.id]=i.adLinkBlock,e.subnetMirrorsUtm[i.id]=i.utm,"steepto"===i.mirrorName&&(e.subnetDashboardDomains[i.id]=e.webProtocol+"//"+i.dashboardDomain)}var r=[];r.push({id:55317});var o=JSON.parse("[]");for(var a in o)o.hasOwnProperty(a)&&r.push({id:o[a].childId});this.subnetsLoad=function(){for(var n=0;n<r.length;n++){var i=r[n].id;for(var a in t)t.hasOwnProperty(a)&&function(){var n=t[a];1!==n.id&&function(t){e.context[n.informer_prefix+"LoadGoods"+t+(e.uniqId,"")]=function(i,r){if(e.originalId=e.id,e.id=t,e.loadedType="goods",e.currentSubnet=n.id,e.currentSubnetDomain=n.mirror,e.originalId!==e.id&&void 0!==o[e.id]&&void 0!==o[e.id].customFuncBlocks){var a=o[e.id].customFuncBlocks;for(var s in a)if(a.hasOwnProperty(s)){var c=a[s];window["".concat("MarketGidC").concat(c,"Block").concat(55317)].call(window["".concat("MarketGidInfC55317")],window["".concat("MarketGidInfC55317")]),window["".concat("MarketGidInfC55317")].funcBlocks["".concat(c)]="".concat("MarketGidC").concat(c,"Block").concat(55317)}}e.MarketGidLoadNews(i,r)},e.context[n.informer_prefix+"CReject"+t]=e.MarketGidReject}(i)}()}},e.getSubnetByMirror=function(t){var n=0;return void 0!==e.subnetMirrorNames[t]&&(n=e.subnetMirrorNames[t]),n}}},function(e,t,n){function i(e){return(i="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)}window.MarketGidCAdvertLinkBlock55317=function(e){e.beforeLoadNewsHooks.push("refreshAdvertLink"),e.afterLoadNewsHooks.push("initAdvertPopup"),e.getAdvertLinkValue=function(){return parseInt(0)},e.removeElements=function(e){for(var t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])},e.refreshAdvertLink=function(){var t=e.getAdvertLinkValue();if(t)try{var n=e.subnetMirrorsAdLinkBlocks[e.currentSubnet].replace(/%id/g,e.id),i="";i="Promoted Content";var r=navigator.language.substr(0,2),o=-1!==["es","vi","hi","ru","uk"].indexOf(r)?r:"";0,n=(n=(n=(n=(n=n.replace("%WIDGET_TITLE%",i)).replace("%lang/",""===o?"":o+"/")).replace(/\((\'|\")?\/\//g,"($1"+e.webProtocol+"//")).replace('src="//','src="'+e.webProtocol+"//")).replace('href="//','href="'+e.webProtocol+"//");var a="";if(""===a){a=e.subnetMirrorsUtm[e.currentSubnet];var s=e.context.document.location.hostname;if(e.context!==e.context.top){var c=e.context.document.referrer.match(/:\/\/(.[^/]+)/);null!==c&&(s=c[1])}a=a.replace("{domain}",s)}e.tickerPrefix=n.replace(/%utm/,a);var l=document.createElement("div");if(1===t)return;l.innerHTML=e.tickerPrefix,2===t&&e.removeElements(l.getElementsByClassName("mg_addad"+e.id)),3===t&&e.removeElements(l.getElementsByClassName("mghead")),e.tickerPrefix=l.innerHTML}catch(e){}else e.tickerPrefix=""},e.parseAdvertLink=function(t){var n="\x3c!--advertPrefix--\x3e",i=t.indexOf(n)>t.length/2;return i&&(e.fixGetElementsByClassNameHandler(e.root),e.removeElements(e.root.getElementsByClassName("mg_addad"+e.id))),(i||0===e.countLoadBlocks)&&(t=t.indexOf(n)>=0?t.replace(n,this.tickerPrefix):e.tickerPrefix+t),t},e.initAdvertPopup=function(){if(e.context.top===e.context.self&&"banner"!==e.widgetConstructorData.type&&"exit-pop-up"!==e.widgetConstructorData.type&&-1!==["tablet","desktop"].indexOf(e.deviceType)&&void 0===e.context._mgDisableAdvertPopup&&i("MarketGidC")+"ConstructorBlock55317"!="function"){var t=e.root.querySelector(".mg_addad"+e.id);t&&t.addEventListener("click",e.showAdvertPopup)}},e.showAdvertPopup=function(t){var n=e.findClosest(t.target,"[data-advert-url]");if(!n)return null;t.preventDefault();var i=(void 0!==e.realRoot?e.realRoot:e.root).parentNode,r=i.querySelector("._mgAdvertPopupC55317"),o=i.querySelector("._mgPopupInner"),a=function e(t,n,i){if(!(i<=0)){var r=(n-t.scrollTop)/i*10;setTimeout((function(){t.scrollTop=t.scrollTop+r,t.scrollTop!==n&&e(t,n,i-10)}),10)}};if(!r){for(var s=e.htmlToElements('<style>\n    ._mgAdvertPopupC55317 {\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    ._mgAdvertPopupC55317 iframe {\n        width: 100%;\n        height: 377px;\n    }\n    ._mgAdvertPopupC55317 ._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    ._mgAdvertPopupC55317 ._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    ._mgAdvertPopupC55317 ._mgPopupInner.fixPop {\n        position: absolute!important;\n        top: 30px!important;\n        margin-top: 0!important;\n    }\n    ._mgAdvertPopupC55317 ._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    ._mgAdvertPopupC55317 ._mgClosePopup:hover {\n        background-color: #dfdfdf;\n    }\n</style>\n\n<div class="_mgAdvertPopupC55317">\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>'),c=0;c<s.length;c++)i.appendChild(s[c]);if(!(r=i.querySelector("._mgAdvertPopupC55317")))return!1;o=r.querySelector("._mgPopupInner");var l=r.querySelector("._mgPopupShadow");o.style.marginTop=-o.clientHeight/2+"px",l.addEventListener("click",(function(t){null==e.findClosest(t.target,"._mgPopupInner")&&r.setAttribute("style","display: none")}));var d=r.querySelector("._mgClosePopup");d&&d.addEventListener("click",(function(e){e.preventDefault(),r.setAttribute("style","display: none")}));var u=r.querySelector("iframe");u.setAttribute("src",n.getAttribute("data-advert-url"));var f=e.context.addEventListener?"addEventListener":"attachEvent";(0,e.context[f])("attachEvent"==f?"onmessage":"message",(function(t){var n=t.message?"message":"data",i=JSON.parse(t[n]);if(void 0===i.target||"correct-popup-height"!==i.target)return!0;u.style.height=i.height+"px",i.safariIPad&&(i.keyboard?(a(e.context.document.body,0,500),o.classList.add("fixPop")):o.classList.remove("fixPop")),o.style.marginTop=-o.clientHeight/2+"px"}),!1)}r.setAttribute("style","display: block"),o.className.indexOf("fixPop")>=0&&a(e.context.document.body,0,500)}}},function(e,t){e.exports=function(e){var t=null;e.log=function(n){null===t&&"1"==e.getQueryParameterByName("mgwdebug")&&(t=!0),t&&console.log("WIDGET_".concat(55317,"_").concat(e.uniqId),n)}}},function(e,t,n){window.MarketGidCInternalExchangeBlock55317=function(e){e.afterLoadNewsHooks.push("initIntExchangeLabels"),e.initIntExchangeLabels=function(){if(-1!==e.enabledCooperationTypes.indexOf("int_exchange")||"3"===e.currentSubnet)for(var t=function(e){for(var t=[],n=[e];n.length>0;)for(var i=n.pop(),r=0;r<i.childNodes.length;r++){var o=i.childNodes[r];o.nodeType===Node.COMMENT_NODE?t.push(o):n.push(o)}return t}(e.root),n=0;n<t.length;n++){var i=t[n],r=e.findClosest(i,".mgline");if(r&&-1!==r.className.indexOf("type-w")){var o=e.context.document.createElement("IMG");o.setAttribute("height",20),"intExchangeWagesImagePlace"===i.data&&(o.className="mcimgad",o.src=e.webProtocol+"//cdn.steepto.com/images/mgid/int_exchange_wages_ad.svg");var a=r.querySelector("a"),s=a["data-hash"]||a.getAttribute("data-hash");s&&e.teaserData[s]&&e.teaserData[s].source&&"intExhangeWagesSourcePlace"===i.data&&(o.className="mcimgsrc",o.src=e.webProtocol+"//cdn.steepto.com/images/mgid/int_exchange_wages_src.svg"),o.src&&i.parentNode.replaceChild(o,i)}}}}},function(e,t){window.MarketGidCColorBlock55317=function(e){e.colorAverage=function(e){var i={r:0,g:0,b:0};return fetch(e,{mode:"cors"}).then((function(e){return e.arrayBuffer()})).then((function(e){e="data:image/png;base64,"+(e=btoa(new Uint8Array(e).reduce((function(e,t){return e+String.fromCharCode(t)}),"")));return new Promise((function(r){var o=new Image;o.src=e,o.onload=function(){var e=document.createElement("canvas");e.width=32,e.height=32;var a=e.getContext("2d");a.drawImage(o,0,0,32,32);for(var s=a.getImageData(0,0,32,32),c=-4,l=0;(c+=4)<s.data.length;)++l,i.r+=s.data[c],i.g+=s.data[c+1],i.b+=s.data[c+2];i.r=Math.floor(i.r/l),i.g=Math.floor(i.g/l),i.b=Math.floor(i.b/l);var d=t(i.r,i.g,i.b);d.l>.8&&(i=n(d.h,d.s,.8)),r(i)}}))}))};var t=function(e,t,n){e/=255,t/=255,n/=255;var i,r,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)i=r=0;else{var c=o-a;switch(r=s>.5?c/(2-o-a):c/(o+a),o){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4}i/=6}return{h:i,s:r,l:s}},n=function(e,t,n){var i,r,o;if(0==t)i=r=o=n;else{var a=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=a(c,s,e+1/3),r=a(c,s,e),o=a(c,s,e-1/3)}return{r:Math.floor(255*i),g:Math.floor(255*r),b:Math.floor(255*o)}}}},function(e,t){window.MarketGidCRejectBlock55317=function(e){e.isInsertedRejectStyles=!1,e.MarketGidReject=function(){var t=e.subnetDashboardDomains[e.getSubnetByMirror(20)];e.fixGetElementsByClassNameHandler(e.root);for(var n=e.root.getElementsByClassName("mgline"),i=0;i<n.length;i++)!function(n){if(!(n.className.indexOf("dsp")>=0)){e.fixGetElementsByClassNameHandler(n);for(var i=n.getElementsByClassName("mcimg"),r=!1,o=0;o<i.length;o++)if("DIV"==i[o].tagName){r=i[o];break}if(r){e.fixGetElementsByClassNameHandler(r);var a=r.getElementsByClassName("close-informer"),s=n.className.match(/teaser-([0-9]+)/);if(null!=s){var c=n.className.match(/type-(w|e|i)/);if(null!=c&&"i"!=c[1]&&0==a.length){var l=t;l+="/publisher/blocked";var d=e.context.document.createElement("a"),u=e.context.getComputedStyle(r);d.className="close-informer",d.href=l+"/teaser/"+s[1]+"/widget/"+("w"==c[1]?"5500752/type/goods":"0/type/news"),d.target="_blank",d.rel="nofollow",d.style.top=parseInt(u.borderTopWidth)+3+"px",d.style.right=parseInt(u.borderRightWidth)+3+"px",r.style.position="relative",r.appendChild(d)}}}}}(n[i])},e.initRejectStyles=function(){if(!e.isInsertedRejectStyles){e.addStyle("reject",'\ndiv.mcimg a.close-informer {\nwidth: 14px;\nheight: 14px;\nbackground-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NzI0ODBDMzY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NzI0ODBDNDY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjk3MjQ4MEMxNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjk3MjQ4MEMyNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uNcpEQAAAHxJREFUeNqckgEKwCAIRe3fYjfKc2zX6hydaLRbbDnGkLDIPggl/5lKIcbIRJRqbDSnUmOHE6LPm+CEfhj6lnN+o5WVh1VOm6xColCXc/cgLWYev9gaejnQojCab5RDzyDt6RantqoBaz5zq54ZywJ3CXjIwQGd8skfAQYALdQqftYulocAAAAASUVORK5CYIJ0ZW50Ij4NCiA8ZGl2IGNsYXNzPSJjb250ZW50LWNvbnRhaW5lciI+PGZpZWxkc2V0Pg0KICA8aDI+NTAyIC0gV2ViIHNlcnZlciByZWNlaXZlZCBhbiBpbnZhbGlkIHJlc3BvbnNlIHdoaWxlIGFjdGluZyBhcyBhIGdhdGV3YXkgb3IgcHJveHkgc2VydmVyLjwvaDI+DQogIDxoMz5UaGVyZSBpcyBhIHByb2JsZW0gd2l0aCB0aGUgcGFnZSB5b3UgYXJlIGxvb2tpbmcgZm9yLCBhbmQgaXQgY2Fubm90IGJlIGRpc3BsYXllZC4gV2hlbiB0aGUgV2ViIHNlcnZlciAod2hpbGUgYWN0aW5nIGFzIGEgZ2F0ZXdheSBvciBwcm94eSkgY29udGFjdGVkIHRoZSB1cHN0cmVhbSBjb250ZW50IHNlcnZlciwgaXQgcmVjZWl2ZWQgYW4gaW52YWxpZCByZXNwb25zZSBmcm9tIHRoZSBjb250ZW50IHNlcnZlci48L2gzPg0KIDwvZmllbGRzZXQ+PC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==");\ndisplay: block;\nopacity: 0;\nposition: absolute;\nright: 3px;\ntop: 3px;\nz-index: 1;\ncursor: pointer;\n}\ndiv.mgline:hover a.close-informer {\nopacity: 0.7;\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;\ntransition: all 0.3s ease-out;\n}\ndiv.mgline a.close-informer:hover {\nopacity: 1;\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;\ntransition: all 0.3s ease-out;\n}\ndiv.mcimg {\nposition: relative;\ndisplay: inline-block;\n}\ndiv.image-with-price {\nposition: relative;\n}\n.mgline .image-container {\nwidth: auto;\nmargin: 0 auto;\nposition: relative;\n}'),e.isInsertedRejectStyles=!0}},e.beforeLoadNewsHooks.push("initRejectStyles")}},function(e,t){window.MarketGidCAmpRenderBlock55317=function(e){e.ampResized=[],e.ampRenderStart=function(){e.context.context.renderStart({width:e.precalcRect.width,height:e.precalcRect.height})},e.ampResize=function(){setTimeout((function(){var t=e.root.getBoundingClientRect();e.context.context.requestResize(t.width,t.height)}),100),e.context.context.onResizeDenied((function(t,n){e.ampResizeDenied=!0})),e.context.context.onResizeSuccess((function(t,n){e.ampResizeDenied=!1,e.updateSizeStatement(n,t)})),void 0===e.ampResizeInterval&&(e.ampResizeInterval=setInterval((function(){var t=e.root.getBoundingClientRect();void 0!==e.ampResizeDenied&&e.ampResizeDenied?e.context.context.requestResize(t.width,t.height):Math.floor(t.width)===e.ampResized.width&&Math.floor(t.height)===e.ampResized.height||e.context.context.requestResize(t.width,t.height)}),100))},e.isAmp=function(){return void 0!==e.context.context&&void 0!==e.context.context.data&&void 0!==e.context.context.data.widget||void 0!==e.context.boundingClientRect55317&&void 0!==e.context.intersectionRect55317},e.updateSizeStatement=function(t,n){e.ampResized.width=t,e.ampResized.height=n},e.isAmp()&&(e.afterInitHooks.push("ampRenderStart"),e.afterLoadNewsHooks.push("ampResize"))}},function(e,t){window.MarketGidCInternalExchangeLoggerBlock55317=function(e){e.afterLoadNewsHooks.push("iExchangeLoggerInit"),e.internalExchangeLoggerHandler=function(t){var n=t.getAttribute("data-hash");if(e.teaserData[n]&&"i"==e.teaserData[n].coopType){var i=document.createElement("IMG"),r="cid="+e.id+"&tid="+e.teaserData[n].id+"&h="+n;void 0!==e.servicerData.isBot&&(r+="&bot="+e.servicerData.isBot),void 0!==e.servicerData.tt&&(r+="&tt="+e.servicerData.tt),void 0!==e.servicerData.ts&&(r+="&ts="+e.servicerData.ts),void 0!==e.servicerData.psid&&(r+="&psid="+e.servicerData.psid);var o="//c.mgid.com/clie?"+(r+="&ce="+t.parentNode.tagName+("."+e.extractClass(t.parentNode)));i.src=e.webProtocol+o,i.onerror=function(){}}return!0},e.iExchangeLoggerInit=function(){e.addClickHandler(e.clickHandlerList.internalExchangeLogger.handler,e.clickHandlerList.internalExchangeLogger.priority)}}},function(e,t,n){window.MarketGidCMgqBlock55317=function(e){this.isLongCheck=!1,this.afterInitHooks.push("mgqInit"),this.mgqWorker=function(){for(var t=e.context._mgq.length,n=e.context._mgq.slice(0),i=0,r=0;r<t;r++){var o=n[r];if("function"==typeof e.context[o[0]]){try{e.context[o[0]].apply(e.context,o.slice(1))}catch(t){e.log("mgq error: ".concat(t.message))}e.context._mgq.splice(r-i,1),i++}}e.context._mgqi||(e.context._mgqi=e.context.setInterval((function(){e.mgqWorker()}),5)),e.isLongCheck||(new Date).getTime()-e.context._mgqt>1e4&&(e.isLongCheck=!0,e.context.clearInterval(e.context._mgqi),e.context._mgqi=e.context.setInterval((function(){e.mgqWorker()}),100))},this.mgqInit=function(){e.context._mgq=e.context._mgq||[],void 0===e.context._mgqp&&(e.context._mgqp=e.mgqWorker,e.context._mgqt=(new Date).getTime(),e.mgqWorker())}}},function(e,t){window.MarketGidCStylesheetsBlock55317=function(e){e.stylesDom={},e.isIE="undefined"==typeof Proxy,e.addStyle=function(t,n,i){t+="_"+e.uniqId,!e.isIE&&void 0===i&&t in e.stylesDom||""!==(n=(n=(n=(n=n.replace(/(@media \([^(]*\) {)/g,"$1}")).replace(/((?:^|}|,)\W*)((?:\w+)?\.(?:mc|mg)[\-\w]+)/g,"$1"+e.getMainCssSelector()+" $2")).replace(/((@media \([^(]*\) \{)\})/g,"$2")).replace(/video-cdn\.(.+)\/mgPlayer/g,e.currentSubnetDomain))&&(e.isIE?e.injectStyle(n,t,i):e.stylesDom[t]={style:n,container:i})},e.removeStyle=function(t){t+="_"+e.uniqId,!e.isIE&&t in e.stylesDom?delete e.stylesDom[t]:e.clearStyle(t)},e.isIE||(e.stylesDom=new Proxy(e.stylesDom,{set:function(t,n,i){var r=i.container,o=i.style;return e.injectStyle(o,n,r),t[n]=i,!0},has:function(t,n){return(null!==e.root.querySelector("style#"+n)||void 0===t[n])&&void 0!==t[n]},deleteProperty:function(t,n){return e.clearStyle(n),delete t[n],!0}})),e.injectStyle=function(t,n,i){if(i){var r=i;if(r.className="MarketGidC55317",r.styleSheet)r.styleSheet.cssText=t;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(e.context.document.createTextNode(t))}}else{var o=e.context.document.createElement("style");o.setAttribute("id",n),o.className="MarketGidC55317",o.type="text/css",(void 0!==e.realRoot?e.realRoot:e.root).appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(e.context.document.createTextNode(t))}},e.clearStyle=function(t){var n=e.context.document.getElementById(t);null!==n&&n.parentNode.removeChild(n)}}},function(e,t,n){window.MarketGidCCookieBlock55317=function(e){this.storageName="MarketGidStorage"+(this.context.MarketGidPageOffset?this.context.MarketGidPageOffset:""),this.getCookieValue=function(){var e=this.context.document.cookie.match(new RegExp("(?:^|; )"+this.storageName+"=([^;]*)")),t={};if(e)try{t=JSON.parse(decodeURIComponent(e[1]))}catch(e){}return t},this.getCookie=function(){var e=this.getCookieValue();void 0!==e.C55317?this.cookieStorage=e.C55317:this.cookieStorage={},void 0!==e[0]?this.sharedCookieStorage=e[0]:this.sharedCookieStorage={}},this.setCookie=function(){var e=this.getCookieValue();e.C55317=this.cookieStorage,e[0]=this.sharedCookieStorage;var t=encodeURIComponent(JSON.stringify(e));this.context.document.cookie=this.storageName+"="+t+";path=/"}}},function(e,t){function n(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}window.MarketGidCObserverBlock55317=function(e){e.observerWidgetHooks=[],e.observerTeasersHooks=[],e.context.IntersectionObserver&&(e.afterLoadNewsHooks.push("initWidgetObserver"),e.initWidgetObserver=function(){e.widgetObserver=new IntersectionObserver((function(t){t.forEach((function(t){var n=t.isIntersecting?"shown":"hidden";if(t.target==e.root)e.log("Observer. Widget ".concat(n,". Ratio: ").concat(t.intersectionRatio)),e.processHooks("observerWidgetHooks",[t.isIntersecting,t.intersectionRatio]);else for(var i=0;i<e.observerTeasersHooks.length;i++){var r=1,o=1;try{r=e.teaserData[t.target.dataset.i].iteration,o=e.teaserData[t.target.dataset.i].page}catch(e){}e.log("Observer. Teaser[".concat(o,", ").concat(r,"] ").concat(n,". Ratio: ").concat(t.intersectionRatio)),e.processHooks("observerTeasersHooks",[t.target,t.isIntersecting,t.intersectionRatio,r,o])}}))}),{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}),e.widgetObserver.observe(e.root);var t,i=n(e.root.getElementsByClassName("mgline"));try{for(i.s();!(t=i.n()).done;){var r=t.value;e.widgetObserver.observe(r)}}catch(e){i.e(e)}finally{i.f()}})}},function(e,t,n){window.MarketGidCSspDoubleClickBlock55317=function(e){e.afterSendCappingHooks.push("doubleClickCappingEvent"),e.afterInjectScriptHooks.push("servicerDoubleClick"),e.doubleClickType="ssp";e.doubleclickStyles=".MarketGidDButton55317{display:       inline-block;",e.doubleclickStyles+='width:         80px;height:        80px;background-color: RGBA(0,0,0,0.4);border:        2px solid white;border-radius:        999px;color:         white !important;font:          normal 500 24px/80px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);',e.doubleclickStyles+="text-align:    center;text-shadow:   none;position: absolute;text-decoration: none !important;transition:all 1s;}.MarketGidDLayout55317{height: 100%;width: 100% !important;position: absolute !important;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 99999;}#MarketGidComposite55317 .mgline {position:relative}",e.addStyle("ssp_doubleclick",e.doubleclickStyles),e.hashTimer=[],e.servicerDoubleClickStatus=!1,e.sspDoubleClickHook=function(){e.addClickHandler(e.clickHandlerList.sspDoubleClick.handler,e.clickHandlerList.sspDoubleClick.priority)},e.renderDoubleClick=function(t){var n=e.context.document.createElement("div");n.classList.add("MarketGidDLayout55317");var i=t.closest(".mgline");null!==i&&i.appendChild(n);var r=e.context.document.createElement("a");r.classList.add("MarketGidDButton55317");var o=t.getAttribute("href");("string"==typeof o||o instanceof String)&&(o=o+(o.indexOf("?")>=0?"&":"?")+"wct="+e.doubleClickType),r.href=o,r.setAttribute("data-hash",t.getAttribute("data-hash"));var a=(1-80/i.offsetHeight)/2*100,s=i.offsetWidth/80*.98;r.style.backgroundImage="url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iMTIsMjkuMSAyMi4yLDE5IDEyLjEsOC45IDE0LDcgMjYsMTkgMTQsMzEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utb3BhY2l0eT0iMSI+PC9wb2x5Z29uPjwvc3ZnPg==)",r.style.backgroundPosition="center",r.style.top=a+"%";var c=s>1?(1-80/i.offsetWidth)/2*100:0;r.style.left=c+"%",s<1&&(r.style.transform="scale3d("+s+","+s+","+s+")",r.style.webkitTransform="scale3d("+s+","+s+","+s+")",r.style.transformOrigin="left",r.style.webkitTransformOrigin="left"),r.target="_blank",n.appendChild(r),setTimeout((function(){s=s<1?s:1,r.style.transform="scale3d("+s+","+s+","+s+")"}),10),setTimeout((function(){n.parentNode.removeChild(n)}),1e4)},e.doubleClickCappingEvent=function(){if(void 0!==e.sspDoubleClickHash)for(var t=0;t<e.sspDoubleClickHash.length;t++)void 0===e.hashTimer[e.sspDoubleClickHash[t]]&&(e.hashTimer[e.sspDoubleClickHash[t]]=(new Date).getTime())},e.sspDoubleClickHandler=function(t,n){var i=t.getAttribute("data-hash"),r=(new Date).getTime();return i in e.hashTimer&&r-e.hashTimer[i]>e.servicerData.dc||("w"!==e.teaserData[i].coopType||("MarketGidDButton55317"===t.className||(e.doubleClickHandler(t),n.preventDefault(),e.renderDoubleClick(t),!1)))},e.servicerDoubleClick=function(){e.addStyle("ssp_doubleclick",e.doubleclickStyles);var t=setInterval((function(){!0!==e.servicerDoubleClickStatus?void 0!==e.servicerData.dc&&e.root.querySelectorAll("a[data-hash]").length>0&&(e.sspDoubleClickHook(),e.servicerDoubleClickStatus=!0):clearInterval(t)}),100)}}},function(e,t,n){var i=n(18),r=i.Config,o=i.AntiFraud;window.MarketGidCAntifraudBlock55317=function(e){e.afterLoadNewsHooks.push("hangAFListener"),e.afterInitHooks.push("initAntiFraud"),e.allowReturnParams=!1;var t=new r({loggerEnabled:!1,logger:"MarketGidInfC55317",afShortEnabled:!0,modulePrefix:"MarketGidC",informerPrefix:"MarketGid",typePrefix:"C",disableCookies:!1,id:e.id,context:e.context,root:e.root,iframePlacementType:e.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:!1});e.antifraud=new o(t),e.initAntiFraud=function(){e.antifraud.initialize()},e.getAntifraudParams=function(t,n){return!1===e.allowReturnParams?"":(n=n||e.context.document.createElement("A"),t=t||e.context.document.createEvent("MouseEvent"),e.antifraud.generateHash(t,n))},e.getFrPt=function(){return e.antifraud.getFnPt()},e.reWriteHref=function(t,n){t||(t=e.context.event),t.target||(t.target=t.srcElement);var i=n["data-hash"]||n.getAttribute("data-hash");void 0!==i&&"A"==n.tagName&&(n[e.hrefAttr]=e.prepareNiceHref(i,t,n))},e.linkMouseDown=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement),e.allowReturnParams=!0;var n=t.target;if(("A"==n.tagName||null!=(n=e.getParentLink(n)))&&n.hasAttribute("data-hash")){var i=0;parseInt(n["data-rel"])&&(i=parseInt(n["data-rel"])),i>>1&8||(n["data-rel"]=i+16),e.reWriteHref(t,n)}},e.linkClick=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement),e.allowReturnParams=!0;var n=t.target;"A"!=n.tagName&&null==(n=e.getParentLink(n))||n.hasAttribute("data-hash")&&(e.reWriteHref(t,n),e.context.setTimeout((function(){e.allowReturnParams=!1,e.reWriteHref(t,n)}),100))},e.linkMouseOver=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement),e.allowReturnParams=!0;var n=t.target;if(("A"==n.tagName||null!=(n=e.getParentLink(n)))&&n.hasAttribute("data-hash")){var i=0;parseInt(n["data-rel"])&&(i=parseInt(n["data-rel"])),i%2!=1&&(n["data-rel"]=i+1),e.reWriteHref(t,n)}},e.linkMouseMove=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement),e.allowReturnParams=!0;var n=t.target;if(("A"==n.tagName||null!=(n=e.getParentLink(n)))&&n.hasAttribute("data-hash")){var i=0;parseInt(n["data-rel"])&&(i=parseInt(n["data-rel"])),(i>>1)%2!=1&&(n["data-rel"]=i+2),e.reWriteHref(t,n)}},e.linkTouchStart=function(t){e.allowReturnParams=!0;var n=t.target;if(("A"==n.tagName||null!=(n=e.getParentLink(n)))&&n.hasAttribute("data-hash")){var i=0;parseInt(n["data-rel"])&&(i=parseInt(n["data-rel"])),i>>1&2||(n["data-rel"]=i+4),e.reWriteHref(t,n)}},e.linkTouchEnd=function(t){t||(t=e.context.event),t.target||(t.target=t.srcElement),e.allowReturnParams=!0;var n=t.target;if(("A"==n.tagName||null!=(n=e.getParentLink(n)))&&n.hasAttribute("data-hash")){var i=0;parseInt(n["data-rel"])&&(i=parseInt(n["data-rel"])),i>>1&4||(n["data-rel"]=i+8),e.reWriteHref(t,n)}},e.fixTimeImageLoaded=function(){e.afImgLoaded||(e.afImgLoaded=(new Date).getTime())},e.getQueryParam=function(e,t){for(var n="",i=e.search.substring(1).split("&"),r=0;r<i.length;r++){var o=i[r].split("=");if(o[0]===t){n=decodeURIComponent(o[1]);break}}return n},e.hangAFListener=function(t){void 0===t&&(t=e.root),e.addEvent(t,"mousedown",e.linkMouseDown),e.addEvent(t,"mouseup",e.linkClick),e.addEvent(t,"mouseover",e.linkMouseOver),e.addEvent(t,"mousemove",e.linkMouseMove),e.addEvent(t,"touchstart",e.linkTouchStart),e.addEvent(t,"touchend",e.linkTouchEnd),e.antifraud.setWidgetEvents()}}},function(module,exports){module.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].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,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},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 i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(i,r,function(t){return e[t]}.bind(null,r));return i},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 i(e){if(null==e||isNaN(e))return"";e=Math.abs(e);for(var t=parseInt(e,10).toString(8),n=Math.ceil(t.length/2),i="",r=0;r<n;r++)i+=a(t.substr(2*r,2));return i}function r(e){e=e.toString(),e=unescape(encodeURIComponent(e));for(var t,n,i,r,o,a,s,c="ABCDEFGHIJKLMNOPQR$TUVWXYZabcde*ghijklmnopqrstuvwxyz0123456789+/=",l="",d=0;d<e.length;)64,r=(t=e.charCodeAt(d++))>>2,o=(3&t)<<4|(n=e.charCodeAt(d++))>>4,i=e.charCodeAt(d++),a=isNaN(n)?64:(15&n)<<2|i>>6,s=isNaN(i)?64:63&i,l+=c.charAt(r)+c.charAt(o)+c.charAt(a)+c.charAt(s);return l}function o(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],i=e.length;if(i<=t)return e;var r=n?i-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 l(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),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 l}))},function(e,t,n){var i,r;!function(o,a,s){"use strict";"undefined"!=typeof window&&n(3)?void 0===(r="function"==typeof(i=s)?i.call(t,n,t,e):i)||(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])},i=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]]},o=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]),r(e,[0,e[0]>>>1])},a=function(a,s){s=s||0;for(var c=(a=a||"").length%16,l=a.length-c,d=[0,s],u=[0,s],f=[0,0],h=[0,0],m=[2277735313,289559509],p=[1291169091,658871167],g=0;g<l;g+=16)f=[255&a.charCodeAt(g+4)|(255&a.charCodeAt(g+5))<<8|(255&a.charCodeAt(g+6))<<16|(255&a.charCodeAt(g+7))<<24,255&a.charCodeAt(g)|(255&a.charCodeAt(g+1))<<8|(255&a.charCodeAt(g+2))<<16|(255&a.charCodeAt(g+3))<<24],h=[255&a.charCodeAt(g+12)|(255&a.charCodeAt(g+13))<<8|(255&a.charCodeAt(g+14))<<16|(255&a.charCodeAt(g+15))<<24,255&a.charCodeAt(g+8)|(255&a.charCodeAt(g+9))<<8|(255&a.charCodeAt(g+10))<<16|(255&a.charCodeAt(g+11))<<24],f=t(f,m),f=n(f,31),f=t(f,p),d=r(d,f),d=n(d,27),d=e(d,u),d=e(t(d,[0,5]),[0,1390208809]),h=t(h,p),h=n(h,33),h=t(h,m),u=r(u,h),u=n(u,31),u=e(u,d),u=e(t(u,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],c){case 15:h=r(h,i([0,a.charCodeAt(g+14)],48));case 14:h=r(h,i([0,a.charCodeAt(g+13)],40));case 13:h=r(h,i([0,a.charCodeAt(g+12)],32));case 12:h=r(h,i([0,a.charCodeAt(g+11)],24));case 11:h=r(h,i([0,a.charCodeAt(g+10)],16));case 10:h=r(h,i([0,a.charCodeAt(g+9)],8));case 9:h=r(h,[0,a.charCodeAt(g+8)]),h=t(h,p),h=n(h,33),h=t(h,m),u=r(u,h);case 8:f=r(f,i([0,a.charCodeAt(g+7)],56));case 7:f=r(f,i([0,a.charCodeAt(g+6)],48));case 6:f=r(f,i([0,a.charCodeAt(g+5)],40));case 5:f=r(f,i([0,a.charCodeAt(g+4)],32));case 4:f=r(f,i([0,a.charCodeAt(g+3)],24));case 3:f=r(f,i([0,a.charCodeAt(g+2)],16));case 2:f=r(f,i([0,a.charCodeAt(g+1)],8));case 1:f=r(f,[0,a.charCodeAt(g)]),f=t(f,m),f=n(f,31),f=t(f,p),d=r(d,f)}return d=r(d,[0,a.length]),u=r(u,[0,a.length]),d=e(d,u),u=e(u,d),d=o(d),u=o(u),d=e(d,u),u=e(u,d),("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)+("00000000"+(u[0]>>>0).toString(16)).slice(-8)+("00000000"+(u[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,i=e.length;n<i;n++)t(e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)},l=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(c(e,(function(e,i,r){n.push(t(e,i,r))})),n)},d=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,i=navigator.plugins.length;n<i;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return u(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),l(t,(function(e){var t=l(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},u=function(e){for(var t,n=!1,i=0,r=e.plugins.sortPluginsFor.length;i<r;i++)if(t=e.plugins.sortPluginsFor[i],navigator.userAgent.match(t)){n=!0;break}return n},f=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},h=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(t){}return t||(t=null),t},m=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},p=[{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=l(["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(d(e))),t}(t)):e(d(t))}},{key:"canvas",getData:function(e,t){return f()?void e(function(e){var t=Math.PI,n=[],i=document.createElement("canvas");i.width=2e3,i.height=200,i.style.display="inline";var r=i.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"),i.toDataURL&&n.push("canvas fp:"+i.toDataURL()),n}(t)):void e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){return function(){if(!f())return!1;var e=h(),t=!!window.WebGLRenderingContext&&!!e;return m(e),t}()?void e(function(){try{var e=h(),t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return m(e),n}catch(t){return null}}()):void e()}},{key:"adBlock",getData:function(e){e(function(){var e=document.createElement("div");e.innerHTML=" ",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,i=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<=i.indexOf("win")&&"Windows"!==e&&"Windows Phone"!==e||(0<=i.indexOf("linux")||0<=i.indexOf("android")||0<=i.indexOf("pike"))&&"Linux"!==e&&"Android"!==e||(0<=i.indexOf("mac")||0<=i.indexOf("ipad")||0<=i.indexOf("ipod")||0<=i.indexOf("iphone"))&&"Mac"!==e&&"iOS"!==e||!(0<=i.indexOf("arm")&&"Windows Phone"===e)&&!(0<=i.indexOf("pike")&&0<=t.indexOf("opera mini"))&&((0>i.indexOf("win")&&0>i.indexOf("linux")&&0>i.indexOf("mac")&&0>i.indexOf("iphone")&&0>i.indexOf("ipad")&&0>i.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 i,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(),i=!0}catch(e){i=!1}}return i&&"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 function(e,t){var n="___fp_swf_loaded";window[n]=function(t){e(t)};var i=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",(void 0).fonts.swfContainerId),document.body.appendChild(t)}(),window.swfobject.embedSWF(t.fonts.swfPath,i,"1","1","9.0.0",!1,{onReady:n},{allowScriptAccess:"always",menu:"false"},{})}((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 i=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==i)return e(t.NOT_AVAILABLE);var r=new i(1,44100,44100),o=r.createOscillator();o.type="triangle",o.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)})),o.connect(a),a.connect(r.destination),o.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(),o.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)}}],g=function(){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return g.get=function(e,t){t?!e&&(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,i;for(i in t)null==(n=t[i])||Object.prototype.hasOwnProperty.call(e,i)||(e[i]=n)}(e,s),e.components=e.extraComponents.concat(p);var n={data:[],addPreprocessedComponent:function(t,i){"function"==typeof e.preprocessor&&(i=e.preprocessor(t,i)),n.data.push({key:t,value:i})}},i=-1;!function r(o){if((i+=1)>=e.components.length)t(n.data);else{var a=e.components[i];if(e.excludes[a.key])r(!1);else{if(!o&&a.pauseBefore)return i-=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)},g.getPromise=function(e){return new Promise((function(t){g.get(e,t)}))},g.getV18=function(e,t){return null==t&&(t=e,e={}),g.get(e,(function(n){for(var i,r=[],o=0;o<n.length;o++)if((i=n[o]).value===(e.NOT_AVAILABLE||"not available"))r.push({key:i.key,value:"unknown"});else if("plugins"===i.key)r.push({key:"plugins",value:l(i.value,(function(e){var t=l(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))r.push({key:i.key,value:i.value.join("~")});else if(-1===["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key))i.value?r.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):r.push({key:i.key,value:i.value});else{if(!i.value)continue;r.push({key:i.key,value:1})}var s=a(l(r,(function(e){return e.value})).join("~~~"),31);t(s,r)}))},g.x64hash128=a,g.VERSION="2.1.0",g}))},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,i=0;i<t.length;i++)(n=t[i]).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(this.context.sessionStorage)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(this.context.localStorage)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){try{var t=e.getBoundingClientRect()}catch(n){t={top:0,bottom:0,left:0,right:0,height:0,width:0}}var n={top:t.top,bottom:t.bottom,left:t.left,right:t.right,height:t.height?t.height:t.bottom-t.top,width:t.width?t.width:t.right-t.left};if(this.context.self!==this.context.top){var i=this.getFrameElement();if(i){var r=i.getBoundingClientRect();n.top+=r.top,n.bottom+=r.top,n.left+=r.left,n.right+=r.left}}return n}},{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:"getMaxTouchPoints",value:function(){return void 0===this.context.navigator.maxTouchPoints?99:this.context.navigator.maxTouchPoints}},{key:"getDeviceOrientation",value:function(e){if(this.context.DeviceOrientationEvent){var t=!0,n=0;_utils__WEBPACK_IMPORTED_MODULE_0__.a(this.context,"deviceorientation",(function(i){var r=Math.round,o=r(i.gamma),a=r(i.beta),s=r(i.alpha);t&&(n++,t=!1,setTimeout((function(){t=!0}),1e3)),e(parseInt(o)+"|"+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:"getCountMimeTypes",value:function(){var e=0;return void 0!==this.context.navigator.mimeTypes&&(e=this.context.navigator.mimeTypes.length),e}},{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:"getSupportedImageMimeTypes",value:function(){var e=0;try{var t=this.context.document.createElement("canvas");if(t.getContext&&t.getContext("2d")){var n={1:"image/webp",2:"image/jpeg",4:"image/jxr",8:"image/jp2",16:"image/gif"};for(var i in n)0===t.toDataURL(n[i]).indexOf("data:"+n[i])&&(e|=i)}}catch(e){}return 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)/,i=this.config.root.getElementsByTagName("IMG"),r=this.config.root.getElementsByTagName("VIDEO"),o=[],a=0;a<i.length;a++)o.push(i[a]);for(var s=0;s<r.length;s++)o.push(r[s]);for(var c=0;c<o.length;c++)t.exec(o[c].src)||n.exec(o[c].src),_utils__WEBPACK_IMPORTED_MODULE_0__.a(o[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=[],i=0;i<t.length;i++)n.push(t[i].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 i(e,t){for(var n,i=0;i<t.length;i++)(n=t[i]).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,i=0;i<t.length;i++)(n=t[i]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n,i=0;i<t.length;i++)(n=t[i]).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,"Application",(function(){return m})),n.d(t,"AntiFraud",(function(){return f})),n.d(t,"Config",(function(){return h})),n.d(t,"addEvent",(function(){return s.a})),n.d(t,"removeEvent",(function(){return s.d}));var s=n(0),c=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&&i(e.prototype,t)}(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}(),d=n(1),u=n.n(d),f=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 c.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=s.b((new Date).getTime()),this.afImgLoaded=0,this.afSnapshotProperties="",this.afCoords="",this.afDeviceOrientation="",this.afCoordsClickAndLinkOfPage="",this.afBrowserFlag=0,this.afPlugins="",this.afCountMimeTypes=0,this.afFocus=1,this.afBrowserHookMask=0,this.afCharging=-1,this.afLevel=-1,this.afImageMimeTypes=0,this.afGeoPosition="0|0",this.timerFromScroll=null,this.networkInformation="unknown|unknown|0",this.frPrHash=""}return function(e,t,n){t&&r(e.prototype,t)}(e,[{key:"initialize",value:function(){var e=new Date;this.cookieManager.initialize(),this.setReferrers(),this.setDeepSession(),this.setCookieData(e),this.setNetworkInformation(),this.afMgLoaded=s.b(e.getTime()),this.afSnapshotProperties=this.domExtractor.getSnapshotProperties(this.config.propertiesDom),this.afBrowserFlag=this.domExtractor.getBrowserFlag(),this.afBrowserHookMask=this.domExtractor.getBrowserFlag(),this.afPlugins=s.f(this.domExtractor.getPlugins()),this.afImageMimeTypes=this.domExtractor.getSupportedImageMimeTypes(),this.afCountMimeTypes=this.domExtractor.getCountMimeTypes(),this.setEvents()}},{key:"generateHash",value:function(e,t){var n=new Date,i=this.domExtractor.getCoordsClickOfWindow(e),r=this.domExtractor.getRectOfElement(t),o=this.domExtractor.context.document,a=this.domExtractor.isTransparent(t);this.setCoords(t),this.setCoordsClickAndLinkOfPage(e,t);for(var c="",l=1;l<=48*Math.ceil((this.afBrowserFlag+1)/68);l++)if(0!=l%26&&(6!=l%26||0!=(l%26+5)%11)){c+=1===l?String.fromCharCode(98+l%26):"f";var d="";if(48<l)break;1===l?d=this.afCookieData:2===l?d=s.b(r.bottom):3===l?d=this.afMgLoaded:4===l?d=s.b(n.getTime()):5===l?d=s.b(o.body.clientHeight):7===l?d=s.f(i.x+"|"+i.y):8===l?d=s.b(0):9===l?d=s.b(r.left):10===l?d=s.b(this.miliSecondsFromScroll):11===l?d=s.b(r.top):12===l?d=s.b(o.body.clientHeight-i.y):13===l?d=s.f(r.width+"|"+r.height):14===l?d=s.b(0):15===l?d=this.afSnapshotProperties:16===l?d=s.b(e.clientY):17===l?d=s.b(this.afBrowserFlag):18===l?d=s.b(t["data-rel"]):19===l?d=this.afHref:20===l?d=this.afReferrer:21===l?d=this.afPrimaryReferrer:22===l?d=s.b(this.afDeepSession):23===l?d=s.f(this.afCoordsClickAndLinkOfPage):24===l?d=s.f(this.afDeviceOrientation):25===l?d=s.f(this.afGeoPosition):27===l?d=s.b(this.config.iframePlacementType):28===l?d=s.c(this.groupBitParams()):29===l?d=s.f(this.afCoords):30===l?d=s.b(this.domExtractor.context.screen.width):31===l?d=s.b(this.domExtractor.context.screen.height):33===l?d=s.b(this.afImgLoaded):34===l?d=s.b(a):35===l?d=s.f(this.domExtractor.context.navigator.userAgent):36===l?d=this.afPlugins:37===l?d=s.f(parseInt(this.afCountMimeTypes)+"|"+parseInt(this.afImageMimeTypes)):38===l?d=s.f(this.domExtractor.context.navigator.platform):39===l?d=s.f(-n.getTimezoneOffset()):40===l?d=s.f(this.afCharging+"|"+this.afLevel):41===l?d=s.f(this.domExtractor.context.screen.availWidth+"|"+this.domExtractor.context.screen.availHeight):42===l?d=s.f(this.networkInformation):43===l?d=s.b(this.domExtractor.getScreenX()):44===l?d=s.b(this.domExtractor.getScreenY()):45===l?d=s.b(this.afBrowserHookMask):46===l?d=s.b(this.domExtractor.getMaxTouchPoints()):47===l?d=s.b(this.domExtractor.isSupportHtml5()):48===l&&(d=s.b(this.domExtractor.isOnLine())),c+=d}return encodeURIComponent(c)}},{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 i=[this.afPrimaryReferrer,this.afReferrer,this.afHref],r=[e,t,n],o=0,a=0,s=0;s<r.length;s++)o+=r[s],a+=i[s].length;if(a<=o)return i;for(var c,l=[0,0,0],d=[],u=0;u<i.length;u++)c=-1,8<=i[u].length&&(c=i[u].indexOf("/",8)),-1==c?(d[u]=i[u],i[u]=""):(d[u]=i[u].substr(0,c),i[u]=i[u].substr(c)),r[u]-=d[u].length;var f=d.slice(),h=[];for(f[0]==f[1]?h[0]="++":f[0]==f[2]&&(h[0]="::"),f[1]==f[2]&&(h[1]=";;");;){for(var m=0,p=0;p<i.length;p++)if(l[p]||i[p].length)l[p]||(m=1,d[p]+=i[p][0],i[p]=1==i[p].length?"":i[p].substr(1),r[p]--,r[p]||(l[p]=1));else{l[p]=1;for(var g=0;g<l.length;g++)if(!l[g]){r[g]+=r[p],r[p]=0;break}}if(!m)for(var v=0;v<i.length;v++)if(i[v].length){for(var y=0;y<r.length;y++)if(r[y]){l[v]=0,r[v]=r[y],r[y]=0,m=1;break}if(m)break}if(!m)break}for(var b in h)d[b]=d[b].split(f[b]).join(h[b]);return d}},{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=s.b(s.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),i=this.domExtractor.getCoordsElementOfPage(t);this.afCoordsClickAndLinkOfPage=parseInt(n.x)+"|"+parseInt(n.y)+"|"+parseInt(i.x)+"|"+parseInt(i.y)}},{key:"setCoords",value:function(e){var t=e.getBoundingClientRect();this.afCoords=parseInt(t.height)+"|"+parseInt(t.width)+"|"+parseInt(t.x)+"|"+parseInt(t.y)}},{key:"setEvents",value:function(){var e=this;if(s.a(this.domExtractor.context.document,"focus",(function(){e.afFocus=1})),s.a(this.domExtractor.context.document,"blur",(function(){e.afFocus=0})),s.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)try{u.a.get((function(t){e.frPrHash=u.a.x64hash128(t.map((function(e){return e.value})).join(),31)}))}catch(e){this.config.loggerEnabled&&this.context[this.config.logger+"Logger"].sendData("Antifraud Error fingerprint. Property: "+e.message+". "+e.stack)}}},{key:"setReferrers",value:function(){var e;void 0===this.cookieManager.sharedCookieStorage.svspr?(this.afPrimaryReferrer=s.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,e=this.config.afShortEnabled?this.packReferrers(70,50,50):this.packReferrers(300,300,300),this.afPrimaryReferrer=s.f(e[0]),this.afReferrer=s.f(e[1]),this.afHref=s.f(e[2])}},{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()}}]),e}(),h=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},m=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};o(this,e);var n=new h({loggerEnabled:!1,modulePrefix:"Transit",id:206,cookieDataKey:"TejndE37EDj206"});this.app=new f(n),this.afRealHref="",this.linksCount=0,this.forceEvents=t.forceEvents||!1}return function(e,t,n){t&&a(e.prototype,t)}(e,[{key:"run",value:function(){this.app.initialize(),this.initAntiFraud()}},{key:"initAntiFraud",value:function(){var e=this,t=document.getElementsByTagName("a");(t.length!==this.linksCount||!0===this.forceEvents)&&this.bindEvents(t),setTimeout((function(){return e.initAntiFraud()}),750)}},{key:"bindEvents",value:function(e){var t=this;this.linksCount=e.length,this.forceEvents=!1;for(var n,i=0;i<e.length;i++)n=e[i],/\/(ghits|[rt]+news|nr)\//i.test(n.href)&&(Object(s.a)(n,"mousedown",(function(e){t.linkMouseDown(e,this)})),Object(s.a)(n,"mouseup",(function(e){t.linkClick(e,this)})),Object(s.a)(n,"mouseover",(function(e){t.linkMouseOver(e,this)})),Object(s.a)(n,"mousemove",(function(e){t.linkMouseMove(e,this)})),Object(s.a)(n,"touchstart",(function(e){t.linkTouchStart(e,this)})),Object(s.a)(n,"touchend",(function(e){t.linkTouchEnd(e,this)})));this.app.setWidgetEvents()}},{key:"bindAntiFraudParams",value:function(e,t){var n=t.href.indexOf("?k=f"),i=t.href.indexOf("&k=f"),r=t.href.indexOf("?");-1===n?-1!==i&&(t.href=t.href.substr(0,i)):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;this.bindAntiFraudParams(e,t),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)}}]),e}()}])},function(e,t,n){window.MarketGidCRtbBlock55317=function(e){this.afterLoadNewsHooks.push("cmPixelLoad"),this.cmPixelLoad=function(t){if(!e.context["i.js.loaded"]&&e.cookieMatchingDomain){e.context["i.js.loaded"]=!0;var n=window.MarketGidInfC55317.context.document.createElement("script");n.charset="utf-8";var i=e.webProtocol+"//"+e.cookieMatchingDomain+"/i.js?"+e.getCbusterParameter();"string"==typeof t&&""!=t&&(i+=t),n.src=i,n.type="text/javascript",n.async=!0,n.onerror=function(){e.context["i.js.loaded"]=!1},(void 0!==window.MarketGidInfC55317.realRoot?window.MarketGidInfC55317.realRoot:window.MarketGidInfC55317.root).parentNode.appendChild(n)}if(!e.context["i-noref.js.loaded"]&&e.cookieMatchingDomain){e.context["i-noref.js.loaded"]=!0;var r=document.createElement("IFRAME");r.src="about:blank",r.frameBorder=0,r.style.position="absolute",r.style.top="0px",r.style.left="-1px",r.style.width="0px",r.style.height="0px",r.style.display="none",r.onload=function(){var t=this.contentDocument.createElement("script");t.charset="utf-8";var n=e.webProtocol+"//"+e.cookieMatchingDomain+"/i-noref.js?"+e.getCbusterParameter();t.src=n,t.type="text/javascript",t.async=!0,t.onerror=function(){e.context["i-noref.js.loaded"]=!1},this.contentDocument.body.appendChild(t)},document.body.appendChild(r)}}}},function(e,t,n){window.MarketGidCActivateDelayBlock55317=function(e){var t;e.clickableDelay=!1;var n=!1;e.afterLoadNewsHooks.push("initActivateDelay"),e.isWagesLink=function(t){var n=t.getAttribute("data-hash");return e.teaserData[n]&&"w"===e.teaserData[n].coopType},e.isCloseLink=function(e){return e.classList.contains("mg-close-button-div-inner")},e.activateDelayLinkHandler=function(t,i){return!!n||(!!(e.clickableDelay&&e.isWagesLink(t)||e.isCloseLink(t))||(void 0!==e.servicerData.dc||(e.linksBlocked=!0,i.preventDefault(),!1)))},e.initActivateDelay=function(i,r,o){if(!t){t=!0;var a=parseInt(5e3);e.clickableDelay=!0,e.addClickHandler(e.clickHandlerList.activateDelayLink.handler,e.clickHandlerList.activateDelayLink.priority),e.context.setTimeout((function(){n=!0,e.linksBlocked=!1,e.clickableDelay=!1}),a)}}}},function(e,t,n){window.MarketGidCIframeSizeChangerBlock55317=function(e){e.afterLoadNewsHooks.push("initIframeSizeChange"),e.initIframeSizeChange=function(){var t=null;try{if(void 0!==t&&null!=t||(t=e.context.parent.document.getElementById(e.context.name)),void 0!==t)try{var n=e.context.parent.document.getElementById(t.name+"__container__").parentNode;n.style.width="initial",n.style.height="initial"}catch(e){}}catch(t){return e.log("SafeFrame. Checking for support..."),void(e.isSafeFrameSupported()&&e.isSafeFrameAllowedPush()?(e.log("SafeFrame. Supported"),e.safeFrameRegister(),e.safeFrameExpand()):e.log("SafeFrame. Unsupported!"))}if(null!=t){var i="0".split("*");void 0!==i[0]&&(t.width=i[0]+"px"),void 0!==i[1]&&(t.height=i[1]+"px")}},e.isSafeFrameSupported=function(){return void 0!==e.context.$sf},e.isSafeFrameAllowedPush=function(){return e.context.$sf.ext.supports()["exp-push"]},e.safeFrameExpand=function(){e.log("SafeFrame. Expanding...");var t=e.context.$sf.ext.geom().exp,n={push:!0,t:t.t,l:t.l,r:t.r,b:t.b};e.context.$sf.ext.expand(n)},e.safeFrameRegister=function(){e.log("SafeFrame. Register..."),e.context.$sf.ext.register(300,250,(function(t,n){e.log("SafeFrame. "+t+"; "+JSON.stringify(n))}))}}},function(e,t){window.MarketGidCAccidentalClicksBlock55317=function(e){e.afterInitHooks.push("accidentalClicksLoad"),e.accidentalClicksDelay=1e3*(parseInt(e.globalSettings.accidental_clicks_delay)||5),e.accidentalClicksDisableTypes="".split(","),e.teasersClickTimes={},e.accidentalClicksHandler=function(t,n){if(2===n.button)return!0;var i=t.getAttribute("data-hash"),r=(new Date).getTime();if(e.doubleClickEnabled&&void 0===e.servicerData.dc)return!0;if(void 0!==e.servicerData.dc&&i in e.hashTimer&&r-e.hashTimer[i]<e.servicerData.dc)return!0;switch(e.teaserData[i].coopType){case"w":if(-1==e.accidentalClicksDisableTypes.indexOf("wages"))return!0;break;case"e":if(-1==e.accidentalClicksDisableTypes.indexOf("exchange"))return!0;break;case"i":if(-1==e.accidentalClicksDisableTypes.indexOf("int_exchange"))return!0;break;default:return!0}return e.teasersClickTimes.hasOwnProperty(i)&&(new Date).getTime()-e.teasersClickTimes[i]<=e.accidentalClicksDelay?(n.preventDefault(),!1):(e.teasersClickTimes[i]=(new Date).getTime(),!0)},e.accidentalClicksLoad=function(){e.addClickHandler(e.clickHandlerList.accidentalClicks.handler,e.clickHandlerList.accidentalClicks.priority)}}},function(e,t){window.MarketGidCExternalCountersBlock55317=function(e){e.afterLoadNewsHooks.push("handleExternalCountersListener"),e.externalCountersLinkHandler=function(t,n){var i=t.getAttribute("data-hash");if(Array.isArray(e.teaserData[i].clicktrackers)){var r=e.teaserData[i].clicktrackers;if(r.length)for(var o=0;o<r.length;o++){e.context.document.createElement("IMG").src=r[o]}}return!0},e.handleExternalCountersListener=function(){e.addClickHandler(e.clickHandlerList.externalCountersLink.handler,e.clickHandlerList.externalCountersLink.priority)}}},function(e,t){window.MarketGidCYandexTurboBlock55317=function(e){e.isTurbo=function(){return null!=e.root.parentNode&&void 0!==e.root.parentNode.dataset&&void 0!==e.root.parentNode.dataset.widget},e.executeTurboCallback=function(){var t=e.root.getBoundingClientRect();setInterval((function(){t=e.root.getBoundingClientRect(),e.context.parent.postMessage({message:"loading-succeed",height:t.height,width:t.width},"*")}),100)},e.isTurbo()&&e.afterLoadNewsHooks.push("executeTurboCallback")}},function(e,t){window.MarketGidCContentPreviewBlock55317=function(e){e.afterLoadNewsHooks.push("addPreviewEvent"),e.preloadAnimationStyles=".image-container {\noverflow: 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}",e.addPreviewEvent=function(){e.addEvent(e.root,"mouseover",(function(t){e.injectPreview(t)})),e.addEvent(e.root,"touchstart",(function(t){e.injectPreview(t)})),e.addEvent(e.root,"mouseout",(function(t){e.removePreview(t)})),e.addEvent(e.root,"touchend",(function(t){e.removePreview(t)})),e.addStyle("contentPreview",e.preloadAnimationStyles)},e.injectPreview=function(t){if("mcimg"===t.target.className){var n=t.target.parentNode.parentNode.dataset.hash;if(void 0!==e.teaserData[n]&&void 0!==e.teaserData[n].other.vp){var i=e.context.document.createElement("div");i.setAttribute("class","preload"),e.addEvent(i,"animationend",(function(e){e.target.parentNode.removeChild(e.target)})),t.target.parentNode.appendChild(i),setTimeout((function(){var i=e.context.document.createElement("video");i.src=e.teaserData[n].other.vp,i.classList.add("previewContent"),i.loop="loop",i.autoplay=!0,i.setAttribute("playsinline",""),i.muted="muted",i.style.position="absolute",i.style.top=0,i.style.left=0,i.style.width="100%",t.target.parentNode.appendChild(i)}),100)}}},e.removePreview=function(t){var n=t.target;"mouseout"===t.type&&(n=t.relatedTarget);for(var i=e.root.querySelectorAll("video.previewContent"),r=0;r<i.length;r++)null==n||null==n.parentNode||void 0===n.parentNode.classList||n.parentNode.classList.contains("image-container")&&i[r]===n.parentNode.querySelector("video.previewContent")||(i[r].parentNode.querySelector("img.mcimg").style.display="block",i[r].parentNode.removeChild(i[r]))}}},function(e,t,n){window.MarketGidCCountersBlock55317=function(e){this.afterLoadNewsHooks.push("countersLoad"),this.countersLoad=function(){if(parseInt(e.id)!==parseInt(55317)){var t=e.childWidgetsData[e.id];t&&t.hasNewsWidget?t.newsWidgetIdPartner:null}}}},function(e,t,n){function i(e){return(i="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)}var r=n(28);window.MarketGidCInArticleWidgetBlock55317=function(e){e.beforeLoadNewsHooks.push("hideInArticleWidgetBlock"),e.afterLoadNewsHooks.push("initInArticleWidget");e.context.document;var t=0,n=0;function o(e,t,n){function o(e){return!isNaN(parseFloat(e))&&isFinite(e)}o(t)&&o(n)||console.error("SmartInformerCreator.constructor: Provided percentages must be numeric only. _percentageFrom: "+t+" _percentageTo: "+n+" given"),t||console.warn("SmartInformerCreator.constructor: Percentage from was excepted but it was not given. Default value (30% will be used)"),n||console.warn("SmartInformerCreator.constructor: Percentage to was excepted but it was not given. Default value (60% will be used)"),(t<0||t>100)&&console.error("SmartInformerCreator.constructor: _percentageFrom param must be between 0-100 and lower than _percentageTo. "+t+" given"),(n<0||n>100)&&console.error("SmartInformerCreator.constructor: _percentageFrom param must be between 0-100 and lower than _percentageTo. "+t+" given"),t>n&&console.error("SmartInformerCreator.constructor: _percentageFrom > _percentageTo. This must be _percentageFrom < _percentageTo");var a=this,s=e;s.parentNode&&s.parentNode.removeChild(s);var c,l,d,u,f,h=null==t?30:t,m=null==n?60:n,p=0,g=0,v=0,y=!1,b={};function x(e){if(e.id){var t=parent.document.getElementById(e.id);return t?t.parentNode:null}if(e.classList&&e.classList.length){var n=[];[].forEach.call(e.classList,(function(e){n.push(e)}));var i=parent.document.getElementsByClassName(n.join(" "));return i.length&&void 0!==i[0]?i[0].parentNode:null}return e.parentNode?w(e.parentNode):null}function w(e,t,n){var i=t||!1,r=n||0;if(e[0]&&i&&1===r){var o=e[0];if(o.id)return parent.document.getElementById(o.id);if(o.classList&&o.classList.length){var a=[];return[].forEach.call(o.classList,(function(e){a.push(e)})),parent.document.querySelector(o.tagName+"."+a.join(".")).parentNode}return null}var s=null;return Array.isHTMLCollection(e)&&e.length?[].forEach.call(e,(function(e){s=x(e)})):s=x(e),s}function k(e){return!(0!==g||!a.articleAcceptedWidth)||e<=g&&a.articleAcceptedWidth<=e}function C(e){if(!e||!e.parentNode)return e;if(k(_(e.parentNode))){var t=function(e){if(!e.children)return console.warn("SmartInformerCreator._getChildWithSuitableWidth: Children were waited but, "+i(e.children)+"given"),null;var t=null;if(e.children)return[].forEach.call(e.children,(function(e){!t&&(t=k(_(e))?e:null)})),t;return k(_(e.children[0]))?e.children[0]:null}(e.parentNode);return t||e.parentNode}return C(e.parentNode)}function E(e,t){if(p<=300)return console.warn("SmartInformerCreator._insert: Article is too small to render informer block"),void(y=!0);var n=t||!1,i=function e(t){var n=Array.prototype.indexOf.call(t.parentNode.children,t),i=t.parentNode.children[n+1];return i&&!i.clientHeight?e(i):i}(e);if(A(e,["FIGURE","IMG","TABLE","IFRAME","TIME","CODE"]))return e.parentNode.insertBefore(d,e.nextSibling),d=parent.document.getElementById(d.id),void(s.parentNode||(d.appendChild(s),y=!0));if(function(e,t){if(!t||!t.length)return console.warn("SmartInformerCreator._hasChildWithClass: tags MUST NOT be empty array"),!1;if(void 0===e)return!1;if(!e.children||0===e.children.length)return!1;var n=!1;return[].forEach.call(e.children,(function(e){e.children&&e.children.length>0&&[].forEach.call(e.children,(function(e){n||(n=A(e,t))})),n||t.forEach((function(t){n||(n=e.classList.contains(t))}))})),n}(i,["SC_TBlock","fb_iframe_widget","twitter-tweet-button","adsbygoogle"]))E(i,!1);else{if("IMG"!==e.tagName&&!k(e.clientWidth)||-1!=e.className.indexOf("size-full")&&!k(e.clientWidth)){var r=C(e);return r.parentNode?r.parentNode.insertBefore(d,r):e.parentNode.insertBefore(d,n?e:e.nextSibling),void S(s)}-1!=["H1","H2","H3","H4","H5","H6"].indexOf(e.tagName)||I(i,["UL","OL"])||I(i,["FIGURE","IMG","TABLE","IFRAME","TIME","CODE"])?void 0!==i.nextSibling?e.parentNode.insertBefore(d,i.nextSibling):console.error("SmartInformerCreator._insert: Cant insert informer block after image - it does not exist"):A(e,["INS"])?e.parentNode.insertBefore(d,i):e.parentNode.insertBefore(d,n?e:e.nextSibling),S(s)}}function S(e){d.id!=d.id&&(d=parent.document.getElementById(d.id)).appendChild(e),y=!0}function I(e,t){return void 0!==e&&-1!=t.indexOf(e.tagName)||A(e,t)}function A(e,t){if(!t||!t.length)return console.warn("SmartInformerCreator._hasChildTags: tags MUST NOT be empty array"),!1;if(void 0===e)return!1;if(!e.children||0===e.children.length)return!1;var n=!1;return[].forEach.call(e.children,(function(e){e.children&&e.children.length>0&&[].forEach.call(e.children,(function(e){n||(n=A(e,t))})),n||-1!=t.indexOf(e.tagName)&&(n=!0)})),n}function _(e){if(e&&!L(e)){var t=e.clientWidth;return t||(e.children&&0===e.children.length&&0===t?t:e.children?([].forEach.call(e.children,(function(e){t=e.children?_(e):e.clientWidth+_(e)+N(e,"right")})),t):t)}}function T(e){var t=0;if(parent.document.createRange){var n=parent.document.createRange();if(n.selectNodeContents(e),n.getBoundingClientRect){var i=n.getBoundingClientRect();i&&(t=i.bottom-i.top)}}return t}function N(e,t){try{var n=(e.currentStyle||window.parent.getComputedStyle(e))["margin"+(i=t.toLowerCase(),i.charAt(0).toUpperCase()+i.slice(1))].replace("px","");return o(n)?parseInt(n):0}catch(t){return"#text"===e.nodeName?T(e):0}var i}function M(e){if(!y&&e&&!L(e)&&void 0!==e.clientHeight){var t=0;if(0!==(t=O(e)?T(e):function e(t){if(t){var n=0;return(n=O(t)?T(t):t.clientHeight)?n+N(t,"bottom")+N(t,"top"):(t.children&&0===t.children.length&&0===n||[].forEach.call(t.children,(function(t){n=t.children?e(t):t.clientHeight+N(t,"bottom")+N(t,"top")})),n)}}(e))&&(v+=t,!b.beforeGoal)){if(b.neededGoal){if(A(e,["P","BLOCKQUOTE","PRE"]))return v-=t,void[].forEach.call(e.children,(function(e){M(e)}));if(-1!=["TR","TD","THEAD","TBODY","TFOOTER","TABLE"].indexOf(e.tagName)){return void E(function e(t){return"TABLE"===t.tagName?t:t.parentNode&&"TABLE"!==t.parentNode.tagName?e(t.parentNode):t.parentNode}(e))}return-1!=["LI","INS","IMG","TABLE"].indexOf(e.tagName)?"LI"===e.tagName&&h<=10?void E(e,!0):void E(e.parentNode):void E(e)}if(b.afterGoal){if((v-=t)+t<p&&-1!=["IFRAME","IMG","FIGURE","TIME","CODE"].indexOf(e.tagName))return void E(e);if((t>=p||v+t>=p)&&e.children&&e.children.length)return void D(e);if(-1!=["P","BLOCKQUOTE","PRE","SPAN"].indexOf(e.tagName))return-1!=["BLOCKQUOTE","PRE"].indexOf(e.tagName)?e.children?void[].forEach.call(e.children,(function(e){M(e)})):void E(e):A(e,["IMG","FIGURE","IFRAME"])?void E(function e(t,n){if(!n)return console.warn("SmartInformerCreator._getFirstChildByTag: - tag MUST NOT be empty array"),!1;if(void 0===t)return console.warn("SmartInformerCreator._getFirstChildByTag: - Node MUST NOT be empty "),!1;if(!t.children||0===t.children.length)return!1;var i=null;return[].forEach.call(t.children,(function(t){t.children&&t.children.length>0&&[].forEach.call(t.children,(function(t){i||(i=e(t,n))})),i||-1!=n.indexOf(t.tagName)&&(i=t)})),i}(e,["IMG","FIGURE","IFRAME"])):h>=70&&v+t<=p?void E(e):void E(e,!0);D(e)}}}}function D(e){e&&(e.children&&e.children.length?[].forEach.call(e.children,(function(e){M(e)})):function e(t){t.parentNode.children.length>1?M(t.nextSibling):e(t.parentNode.nextSibling)}(e))}Object.defineProperties(this,{articleAcceptedWidth:{get:function(){return g-20*g/100}}}),Object.defineProperties(b,{beforeGoal:{get:function(){return 0===v||v<=u}},neededGoal:{get:function(){return v>=u&&v<=f}},afterGoal:{get:function(){return v>=f||v<=p}}});var B=["native_ad","adds","td-post-next-prev","adsb30","sadserver","adsbygoogle","fb-share-button","fb_iframe_widget","fb-comments","td_block_related_posts","td-post-sharing","td-post-sharing-top","sharing","shareaholic-ui","comments","related","share","at-share-btn-elements","post-footer"],P=["ad-space","fb_comments_div","ad-space","div-gpt-ad","MarketGidScript","MarketGidScriptRoot","disqus_comments_div","ScriptRoot","Preload","MarketGidComposite","SC_TBlock",e.id];function L(e){var t=!1;return P.forEach((function(n){!t&&e.id&&(t=e.id.includes(n))})),!!t||(B.forEach((function(n){!t&&e.className&&"svg"!==e.tagName&&(t=-1!=e.className.indexOf(n))})),e.children&&e.children[2]&&"INS"===e.children[2].tagName&&e.children[2].classList&&e.children[2].classList.contains("adsbygoogle")&&(t=!0),t)}function O(e){return e.nodeType===Node.TEXT_NODE}function G(e){if(e&&"FOOTER"!==e.tagName&&!L(e)){if(("Microsoft Internet Explorer"==navigator.appName||(navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/rv:11/)))&&"[object Text]"===Object.prototype.toString.call(e)&&""===e.nodeValue.trim())return 0;var t=0;if(O(e)?t+=T(e):"BR"===e.tagName&&e.nextSibling&&"BR"===e.nextSibling.tagName?t+=function(e){var t=e.parentNode,n=e.currentStyle||window.parent.getComputedStyle(t),i=n.fontSize.replace("px",""),r=n.lineHeight.replace("px","");return(i=o(i)?parseInt(i):0)+(r=o(r)?parseInt(r):0)}(e):t+=e.clientHeight+N(e,"bottom")+N(e,"top"),t)!(e.childNodes&&0===e.childNodes.length)&&!function e(t){if(!t.children||0===t.children)return!0;var n=!0;return[].forEach.call(t.children,(function(t){n&&(0===t.clientHeight?!n&&t.children&&t.children.length&&(n=e(t)):n=!1)})),n}(e)||0===t?[].forEach.call(e.childNodes,(function(e){G(e)})):p+=t}}function R(e){if(e){var t=e.clientWidth+N(e,"left")+N(e,"right");t&&((e.children&&0===e.children.length||function e(t){if(!t.children||0===t.children)return 0===t.clientWidth;var n=!1;return[].forEach.call(t.children,(function(t){n||(0===t.clientWidth?n=!0:t.children&&t.children.length&&(n=e(t)))})),n}(e))&&0!==t&&-1!=["P","PRE","BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].indexOf(e.tagName)?g<=t&&(g=t):e.children&&[].forEach.call(e.children,(function(e){R(e)})))}}function H(){l&&(G(l),R(l),u=p*h/100,f=p*m/100)}return function(e){(d=e).classList.add("yui3-cssreset");var t={animation:"none","animation-delay":"0","animation-direction":"normal","animation-duration":"0","animation-fill-mode":"none","animation-iteration-count":"1","animation-name":"none","animation-play-state":"running","animation-timing-function":"ease","backface-visibility":"visible",background:"0","background-attachment":"scroll","background-clip":"borderBox","background-color":"transparent","background-image":"none","background-origin":"paddingBox","background-position":"0 0","background-position-x":"0","background-position-y":"0","background-repeat":"repeat","background-size":"auto auto",border:"0","border-style":"none","border-width":"medium","border-color":"inherit","border-bottom":"0","border-bottom-color":"inherit","border-bottom-left-radius":"0","border-bottom-right-radius":"0","border-bottom-style":"none","border-bottom-width":"medium","border-collapse":"separate","border-image":"none","border-left":"0","border-left-color":"inherit","border-left-style":"none","border-left-width":"medium","border-radius":"0","border-right":"0","border-right-color":"inherit","border-right-style":"none","border-right-width":"medium","border-spacing":"0","border-top":"0","border-top-color":"inherit","border-top-left-radius":"0","border-top-right-radius":"0","border-top-style":"none","border-top-width":"medium",bottom:"auto","box-shadow":"none","box-sizing":"contentBox","caption-side":"top",clear:"none",clip:"auto",color:"inherit",columns:"auto","column-count":"auto","column-fill":"balance","column-gap":"normal","column-rule":"medium none currentColor","column-rule-color":"currentColor","column-rule-style":"none","column-rule-width":"none","column-span":"1","column-width":"auto",content:"normal","counter-increment":"none","counter-reset":"none",cursor:"auto",direction:"ltr",display:"inline","empty-cells":"show",font:"normal","font-family":"inherit","font-size":"medium","font-style":"normal","font-variant":"normal","font-weight":"normal",height:"auto",hyphens:"none",left:"auto","letter-spacing":"normal","line-height":"normal","list-style":"none","list-style-image":"none","list-style-position":"outside","list-style-type":"disc",margin:"0","margin-bottom":"0","margin-left":"0","margin-right":"0","margin-top":"10px","max-height":"none","max-width":"none","min-height":"0","min-width":"0",opacity:"1",orphans:"0",outline:"0","outline-color":"invert","outline-style":"none","outline-width":"medium",overflow:"visible","overflow-x":"visible","overflow-y":"visible",padding:"0","padding-bottom":"0","padding-left":"0","padding-right":"0","padding-top":"0","page-break-after":"auto","page-break-before":"auto","page-break-inside":"auto",perspective:"none","perspective-origin":"50% 50%",position:"static",quotes:"'\\201C' '\\201D' '\\2018' '\\2019'",right:"auto",tabSize:"8","table-layout":"auto","text-align":"inherit","text-alignLast":"auto","text-decoration":"none","text-decoration-color":"inherit","text-decoration-line":"none","text-decoration-style":"solid","text-indent":"0","text-shadow":"none","text-transform":"none",top:"auto",transform:"none","transform-style":"flat",transition:"none","transition-delay":"0s","transition-duration":"0s","transition-property":"none","transition-timing-fFunction":"ease","unicode-bidi":"normal","vertical-align":"baseline",visibility:"visible","white-space":"normal",widows:"0",width:"100%","word-spacing":"normal","z-index":"auto"};Object.keys(t).forEach((function(e){d.style.setProperty(e,t[e],"important")}))}(e),function(){var e=parent.document.location;if(c=new r({spec:e.href,host:e.host,prePath:e.protocol+"//"+e.host,scheme:e.protocol.substr(0,e.protocol.indexOf(":")),pathBase:e.protocol+"//"+e.host+e.pathname.substr(0,e.pathname.lastIndexOf("/")+1)},parent.document.cloneNode(!0)).parse(),!(l=w(c.rootElements,!0,c.rootElements.length))&&c.selector)try{l=document.querySelector(c.selector)}catch(e){console.error(e)}!function(){if(l&&l.parentNode&&l.parentNode.children[0]&&"HEADER"===l.parentNode.children[0].tagName)return void(l=l.parentNode);if(l&&"wrap"===l.id&&"content"===l.children[0].id)return void(l=l.children[0]);var e=parent.document.querySelector("a.logo.custom-logo-18");if(e)return void(l=parent.document.getElementsByClassName("content_text")[0]);if(e=parent.document.querySelector("div#page-wrap > center>img"))return void(l=parent.document.getElementsByClassName("detail-left-side")[0]);if(l){var t=null,n=!1;if(["div.td-pb-row > div.td-pb-span8.td-main-content > div.td-ss-main-content > article","div.entry-content"].forEach((function(e){n||(t=l.querySelector(e))&&(l=t,n=!0)})),n)return}if(l&&l.classList.contains("post-body")&&l.classList.contains("entry-content"))return void(l=l.parentNode);null===l&&c.rootElements&&Array.isHTMLCollection(c.rootElements)&&[].forEach.call(c.rootElements,(function(e){"ARTICLE"===e.tagName?l=parent.document.querySelector(e.tagName):"articleBody"===e.getAttribute("itemprop")?l=parent.document.querySelector('div[itemprop="articleBody"]'):"main"===e.getAttribute("role")?l=parent.document.querySelector('main[role="main"]'):""!==e.getAttribute("data-io-article-url")?l=parent.document.querySelector('div[class="media m-t"]'):console.info("SmartInformerCreator._parseArticle: Cant parse article. You should add this new condition to the code")}));if(l)return;console.error("SmartInformerCreator._parseArticle: Article In DOM not recognized")}()}(),H(),{create:function(){var e;l?(l.children||l.length||console.error("SmartInformerCreator._initiateCreating: Article cant be without any children"),0===p&&H(),l.length?[].forEach.call(l,(function(e){[].forEach.call(e.children,(function(e){M(e)}))})):([].forEach.call(l.children,(function(t){e=t,M(t)})),y||E(e))):console.error("SmartInformerCreator._initiateCreating: Article was not found")}}}"top"===e.widgetConstructorData.autoplacement?(t=10,n=20):"middle"===e.widgetConstructorData.autoplacement?(t=45,n=55):"bottom"===e.widgetConstructorData.autoplacement&&(t=90,n=99),e.hideInArticleWidgetBlock=function(){(null!=e.realRoot?e.realRoot:e.root).style.display="none"},e.initInArticleWidget=function(){try{new o(null!=e.realRoot?e.realRoot:e.root,t,n).create()}catch(t){return(null!=e.realRoot?e.realRoot:e.root).style.display="block",console.log("error:",t),!1}(null!=e.realRoot?e.realRoot:e.root).style.display="block"},"document"in e&&("classList"in parent.document.createElement("_")&&(!parent.document.createElementNS||"classList"in parent.document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t="classList",n="prototype",i=e.Element[n],r=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},l=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],i=0,r=n.length;r>i;i++)this.push(n[i]);this._updateClassName=function(){e.setAttribute("class",""+this)}},d=l[n]=[],u=function(){return new l(this)};if(s[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return-1!==c(this,e+="")},d.add=function(){var e,t=arguments,n=0,i=t.length,r=!1;do{e=t[n]+"",-1===c(this,e)&&(this.push(e),r=!0)}while(++n<i);r&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,i=0,r=n.length,o=!1;do{for(e=n[i]+"",t=c(this,e);-1!==t;)this.splice(t,1),o=!0,t=c(this,e)}while(++i<r);o&&this._updateClassName()},d.toggle=function(e,t){e+="";var n=this.contains(e),i=n?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!n},d.toString=function(){return this.join(" ")},r.defineProperty){var f={get:u,enumerable:!0,configurable:!0};try{r.defineProperty(i,t,f)}catch(e){(void 0===e.number||-2146823252===e.number)&&(f.enumerable=!1,r.defineProperty(i,t,f))}}else r[n].__defineGetter__&&i.__defineGetter__(t,u)}}(e),function(){"use strict";var e=parent.document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,i=arguments.length;for(n=0;i>n;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}()),Array.isHTMLCollection||(Array.isHTMLCollection=function(e){return"[object HTMLCollection]"===Object.prototype.toString.call(e)}),[].includes||(Array.prototype.includes=function(e){"use strict";var t=Object(this),n=parseInt(t.length)||0;if(0===n)return!1;var i,r=parseInt(arguments[1])||0;for(r>=0?i=r:(i=n+r)<0&&(i=0);i<n;){var o=t[i];if(e===o||e!=e&&o!=o)return!0;i++}return!1}),function(){var e=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};(function(){function t(e){null==e&&(e={}),this.options={},this.setOptions(this.default_options),this.setOptions(e)}return t.prototype.default_options={selectors:["id","class","tag","nthchild"]},t.prototype.setOptions=function(e){var t,n,i;for(t in null==e&&(e={}),n=[],e)i=e[t],this.default_options.hasOwnProperty(t)?n.push(this.options[t]=i):n.push(void 0);return n},t.prototype.isElement=function(e){return!(1!==(null!=e?e.nodeType:void 0))},t.prototype.getParents=function(e){var t,n;if(n=[],this.isElement(e))for(t=e;this.isElement(t);)n.push(t),t=t.parentNode;return n},t.prototype.getTagSelector=function(e){return this.sanitizeItem(e.tagName.toLowerCase())},t.prototype.sanitizeItem=function(e){return e.split("").map((function(e){return":"===e?"\\"+":".charCodeAt(0).toString(16).toUpperCase()+" ":/[ !"#$%&'()*+,.\/;<=>?@\[\\\]^`{|}~]/.test(e)?"\\"+e:escape(e).replace(/\%/g,"\\")})).join("")},t.prototype.getIdSelector=function(e){var t,n;return null==(t=e.getAttribute("id"))||""===t||/\s/.exec(t)||/^\d/.exec(t)||(n="#"+this.sanitizeItem(t),1!==e.ownerDocument.querySelectorAll(n).length)?null:n},t.prototype.getClassSelectors=function(e){var t,n,i;return i=[],null!=(t=e.getAttribute("class"))&&""!==(t=(t=t.replace(/\s+/g," ")).replace(/^\s|\s$/g,""))&&(i=function(){var e,i,r,o;for(o=[],e=0,i=(r=t.split(/\s+/)).length;e<i;e++)n=r[e],o.push("."+this.sanitizeItem(n));return o}.call(this)),i},t.prototype.getAttributeSelectors=function(t){var n,i,r,o,a,s,c;for(c=[],i=["id","class"],r=0,o=(a=t.attributes).length;r<o;r++)s=(n=a[r]).nodeName,e.call(i,s)<0&&c.push("["+n.nodeName+"="+n.nodeValue+"]");return c},t.prototype.getNthChildSelector=function(e){var t,n,i,r,o,a;if(null!=(r=e.parentNode))for(t=0,n=0,i=(a=r.childNodes).length;n<i;n++)if(o=a[n],this.isElement(o)&&(t++,o===e))return":nth-child("+t+")";return null},t.prototype.testSelector=function(e,t){var n,i;return n=!1,null!=t&&""!==t&&1===(i=e.ownerDocument.querySelectorAll(t)).length&&i[0]===e&&(n=!0),n},t.prototype.getAllSelectors=function(t){var n;return n={t:null,i:null,c:null,a:null,n:null},e.call(this.options.selectors,"tag")>=0&&(n.t=this.getTagSelector(t)),e.call(this.options.selectors,"id")>=0&&(n.i=this.getIdSelector(t)),e.call(this.options.selectors,"class")>=0&&(n.c=this.getClassSelectors(t)),e.call(this.options.selectors,"attribute")>=0&&(n.a=this.getAttributeSelectors(t)),e.call(this.options.selectors,"nthchild")>=0&&(n.n=this.getNthChildSelector(t)),n},t.prototype.testUniqueness=function(e,t){var n;return 1===(n=e.parentNode.querySelectorAll(t)).length&&n[0]===e},t.prototype.testCombinations=function(e,t,n){var i,r,o,a,s,c,l;for(r=0,a=(c=this.getCombinations(t)).length;r<a;r++)if(i=c[r],this.testUniqueness(e,i))return i;if(null!=n)for(o=0,s=(l=t.map((function(e){return n+e}))).length;o<s;o++)if(i=l[o],this.testUniqueness(e,i))return i;return null},t.prototype.getUniqueSelector=function(e){var t,n,i,r,o;for(o=this.getAllSelectors(e),n=0,i=(r=this.options.selectors).length;n<i;n++)switch(r[n]){case"id":if(null!=o.i)return o.i;break;case"tag":if(null!=o.t&&this.testUniqueness(e,o.t))return o.t;break;case"class":if(null!=o.c&&0!==o.c.length&&(t=this.testCombinations(e,o.c,o.t)))return t;break;case"attribute":if(null!=o.a&&0!==o.a.length&&(t=this.testCombinations(e,o.a,o.t)))return t;break;case"nthchild":if(null!=o.n)return o.n}return"*"},t.prototype.getSelector=function(e){var t,n,i,r,o,a,s,c,l,d;for(t=[],i=0,o=(s=this.getParents(e)).length;i<o;i++)n=s[i],null!=(l=this.getUniqueSelector(n))&&t.push(l);for(d=[],r=0,a=t.length;r<a;r++)if(n=t[r],d.unshift(n),c=d.join(" > "),this.testSelector(e,c))return c;return null},t.prototype.getCombinations=function(e){var t,n,i,r,o,a,s;for(null==e&&(e=[]),s=[[]],t=i=0,o=e.length-1;0<=o?i<=o:i>=o;t=0<=o?++i:--i)for(n=r=0,a=s.length-1;0<=a?r<=a:r>=a;n=0<=a?++r:--r)s.push(s[n].concat(e[t]));return s.shift(),s=(s=s.sort((function(e,t){return e.length-t.length}))).map((function(e){return e.join("")}))},t})()}.call(e.context)}},function(e,t,n){function i(e,t){if(t&&t.documentElement)e=t,t=arguments[2];else if(!e||!e.documentElement)throw new Error("First argument to Readability constructor should be a document object.");var n;t=t||{},this._doc=e,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._debug=!!t.debug,this._maxElemsToParse=t.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=t.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=t.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(t.classesToPreserve||[]),this._keepClasses=!!t.keepClasses,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug?(n=function(e){var t=e.nodeName+" ";if(e.nodeType==e.TEXT_NODE)return t+'("'+e.textContent+'")';var n=e.className&&"."+e.className.replace(/ /g,"."),i="";return e.id?i="(#"+e.id+n+")":n&&(i="("+n+")"),t+i},this.log=function(){if("undefined"!=typeof dump){var e=Array.prototype.map.call(arguments,(function(e){return e&&e.nodeName?n(e):e})).join(" ");dump("Reader: (Readability) "+e+"\n")}else if("undefined"!=typeof console){var t=["Reader: (Readability) "].concat(arguments);console.log.apply(console,t)}}):this.log=function(){}}i.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:"section,h2,h3,h4,h5,h6,p,td,pre".toUpperCase().split(","),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|foot|footer|footnote|gdpr|masthead|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|tool|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,whitespace:/^\s*$/,hasContent:/\S$/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i},DIV_TO_P_ELEMS:["A","BLOCKQUOTE","DL","DIV","IMG","OL","P","PRE","TABLE","UL","SELECT"],ALTER_TO_DIV_EXCEPTIONS:["DIV","ARTICLE","SECTION","P"],PRESENTATIONAL_ATTRIBUTES:["align","background","bgcolor","border","cellpadding","cellspacing","frame","hspace","rules","style","valign","vspace"],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:["TABLE","TH","TD","HR","PRE"],PHRASING_ELEMS:["ABBR","AUDIO","B","BDO","BR","BUTTON","CITE","CODE","DATA","DATALIST","DFN","EM","EMBED","I","IMG","INPUT","KBD","LABEL","MARK","MATH","METER","NOSCRIPT","OBJECT","OUTPUT","PROGRESS","Q","RUBY","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","VAR","WBR"],CLASSES_TO_PRESERVE:["page"],HTML_ESCAPE_MAP:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},_postProcessContent:function(e){this._fixRelativeUris(e),this._keepClasses||this._cleanClasses(e)},_removeNodes:function(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw new Error("Do not pass live node lists to _removeNodes");for(var n=e.length-1;n>=0;n--){var i=e[n],r=i.parentNode;r&&(t&&!t.call(this,i,n,e)||r.removeChild(i))}},_replaceNodeTags:function(e,t){if(this._docJSDOMParser&&e._isLiveNodeList)throw new Error("Do not pass live node lists to _replaceNodeTags");for(var n=e.length-1;n>=0;n--){var i=e[n];this._setNodeTag(i,t)}},_forEachNode:function(e,t){Array.prototype.forEach.call(e,t,this)},_someNode:function(e,t){return Array.prototype.some.call(e,t,this)},_everyNode:function(e,t){return Array.prototype.every.call(e,t,this)},_concatNodeLists:function(){var e=Array.prototype.slice,t=e.call(arguments),n=t.map((function(t){return e.call(t)}));return Array.prototype.concat.apply([],n)},_getAllNodesWithTag:function(e,t){return e.querySelectorAll?e.querySelectorAll(t.join(",")):[].concat.apply([],t.map((function(t){var n=e.getElementsByTagName(t);return Array.isArray(n)?n:Array.from(n)})))},_cleanClasses:function(e){var t=this._classesToPreserve,n=(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return-1!=t.indexOf(e)})).join(" ");for(n?e.setAttribute("class",n):e.removeAttribute("class"),e=e.firstElementChild;e;e=e.nextElementSibling)this._cleanClasses(e)},_fixRelativeUris:function(e){var t=this._doc.baseURI,n=this._doc.documentURI;function i(e){if(t==n&&"#"==e.charAt(0))return e;try{return new URL(e,t).href}catch(e){}return e}var r=this._getAllNodesWithTag(e,["a"]);this._forEachNode(r,(function(e){var t=e.getAttribute("href");if(t)if(0===t.indexOf("javascript:"))if(1===e.childNodes.length&&e.childNodes[0].nodeType===this.TEXT_NODE){var n=this._doc.createTextNode(e.textContent);e.parentNode.replaceChild(n,e)}else{for(var r=this._doc.createElement("span");e.childNodes.length>0;)r.appendChild(e.childNodes[0]);e.parentNode.replaceChild(r,e)}else e.setAttribute("href",i(t))}));var o=this._getAllNodesWithTag(e,["img","picture","figure","video","audio","source"]);this._forEachNode(o,(function(e){var t=e.getAttribute("src"),n=e.getAttribute("poster"),r=e.getAttribute("srcset");if(t&&e.setAttribute("src",i(t)),n&&e.setAttribute("poster",i(n)),r){var o=r.replace(this.REGEXPS.srcsetUrl,(function(e,t,n,r){return i(t)+(n||"")+r}));e.setAttribute("srcset",o)}}))},_getArticleTitle:function(){var e=this._doc,t="",n="";try{"string"!=typeof(t=n=e.title.trim())&&(t=n=this._getInnerText(e.getElementsByTagName("title")[0]))}catch(e){}var i=!1;function r(e){return e.split(/\s+/).length}if(/ [\|\-\\\/>»] /.test(t))i=/ [\\\/>»] /.test(t),r(t=n.replace(/(.*)[\|\-\\\/>»] .*/gi,"$1"))<3&&(t=n.replace(/[^\|\-\\\/>»]*[\|\-\\\/>»](.*)/gi,"$1"));else if(-1!==t.indexOf(": ")){var o=this._concatNodeLists(e.getElementsByTagName("h1"),e.getElementsByTagName("h2")),a=t.trim();this._someNode(o,(function(e){return e.textContent.trim()===a}))||(r(t=n.substring(n.lastIndexOf(":")+1))<3?t=n.substring(n.indexOf(":")+1):r(n.substr(0,n.indexOf(":")))>5&&(t=n))}else if(t.length>150||t.length<15){var s=e.getElementsByTagName("h1");1===s.length&&(t=this._getInnerText(s[0]))}var c=r(t=t.trim().replace(this.REGEXPS.normalize," "));return c<=4&&(!i||c!=r(n.replace(/[\|\-\\\/>»]+/g,""))-1)&&(t=n),t},_prepDocument:function(){var e=this._doc;this._removeNodes(this._getAllNodesWithTag(e,["style"])),e.body&&this._replaceBrs(e.body),this._replaceNodeTags(this._getAllNodesWithTag(e,["font"]),"SPAN")},_nextElement:function(e){for(var t=e;t&&t.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(t.textContent);)t=t.nextSibling;return t},_replaceBrs:function(e){this._forEachNode(this._getAllNodesWithTag(e,["br"]),(function(e){for(var t=e.nextSibling,n=!1;(t=this._nextElement(t))&&"BR"==t.tagName;){n=!0;var i=t.nextSibling;t.parentNode.removeChild(t),t=i}if(n){var r=this._doc.createElement("p");for(e.parentNode.replaceChild(r,e),t=r.nextSibling;t;){if("BR"==t.tagName){var o=this._nextElement(t.nextSibling);if(o&&"BR"==o.tagName)break}if(!this._isPhrasingContent(t))break;var a=t.nextSibling;r.appendChild(t),t=a}for(;r.lastChild&&this._isWhitespace(r.lastChild);)r.removeChild(r.lastChild);"P"===r.parentNode.tagName&&this._setNodeTag(r.parentNode,"DIV")}}))},_setNodeTag:function(e,t){if(this.log("_setNodeTag",e,t),this._docJSDOMParser)return e.localName=t.toLowerCase(),e.tagName=t.toUpperCase(),e;for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);e.parentNode.replaceChild(n,e),e.readability&&(n.readability=e.readability);for(var i=0;i<e.attributes.length;i++)try{n.setAttribute(e.attributes[i].name,e.attributes[i].value)}catch(e){}return n},_prepArticle:function(e){this._cleanStyles(e),this._markDataTables(e),this._fixLazyImages(e),this._cleanConditionally(e,"form"),this._cleanConditionally(e,"fieldset"),this._clean(e,"object"),this._clean(e,"embed"),this._clean(e,"h1"),this._clean(e,"footer"),this._clean(e,"link"),this._clean(e,"aside");var t=this.DEFAULT_CHAR_THRESHOLD;this._forEachNode(e.children,(function(e){this._cleanMatchedNodes(e,(function(e,n){return this.REGEXPS.shareElements.test(n)&&e.textContent.length<t}))}));var n=e.getElementsByTagName("h2");if(1===n.length){var i=(n[0].textContent.length-this._articleTitle.length)/this._articleTitle.length;if(Math.abs(i)<.5){(i>0?n[0].textContent.includes(this._articleTitle):this._articleTitle.includes(n[0].textContent))&&this._clean(e,"h2")}}this._clean(e,"iframe"),this._clean(e,"input"),this._clean(e,"textarea"),this._clean(e,"select"),this._clean(e,"button"),this._cleanHeaders(e),this._cleanConditionally(e,"table"),this._cleanConditionally(e,"ul"),this._cleanConditionally(e,"div"),this._removeNodes(this._getAllNodesWithTag(e,["p"]),(function(e){return 0===e.getElementsByTagName("img").length+e.getElementsByTagName("embed").length+e.getElementsByTagName("object").length+e.getElementsByTagName("iframe").length&&!this._getInnerText(e,!1)})),this._forEachNode(this._getAllNodesWithTag(e,["br"]),(function(e){var t=this._nextElement(e.nextSibling);t&&"P"==t.tagName&&e.parentNode.removeChild(e)})),this._forEachNode(this._getAllNodesWithTag(e,["table"]),(function(e){var t=this._hasSingleTagInsideElement(e,"TBODY")?e.firstElementChild:e;if(this._hasSingleTagInsideElement(t,"TR")){var n=t.firstElementChild;if(this._hasSingleTagInsideElement(n,"TD")){var i=n.firstElementChild;i=this._setNodeTag(i,this._everyNode(i.childNodes,this._isPhrasingContent)?"P":"DIV"),e.parentNode.replaceChild(i,e)}}}))},_initializeNode:function(e){switch(e.readability={contentScore:0},e.tagName){case"DIV":e.readability.contentScore+=5;break;case"PRE":case"TD":case"BLOCKQUOTE":e.readability.contentScore+=3;break;case"ADDRESS":case"OL":case"UL":case"DL":case"DD":case"DT":case"LI":case"FORM":e.readability.contentScore-=3;break;case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"TH":e.readability.contentScore-=5}e.readability.contentScore+=this._getClassWeight(e)},_removeAndGetNext:function(e){var t=this._getNextNode(e,!0);return e.parentNode.removeChild(e),t},_getNextNode:function(e,t){if(!t&&e.firstElementChild)return e.firstElementChild;if(e.nextElementSibling)return e.nextElementSibling;do{e=e.parentNode}while(e&&!e.nextElementSibling);return e&&e.nextElementSibling},_checkByline:function(e,t){if(this._articleByline)return!1;if(void 0!==e.getAttribute)var n=e.getAttribute("rel"),i=e.getAttribute("itemprop");return!(!("author"===n||i&&-1!==i.indexOf("author")||this.REGEXPS.byline.test(t))||!this._isValidByline(e.textContent))&&(this._articleByline=e.textContent.trim(),!0)},_getNodeAncestors:function(e,t){t=t||0;for(var n=0,i=[];e.parentNode&&(i.push(e.parentNode),!t||++n!==t);)e=e.parentNode;return i},_grabArticle:function(e){this.log("**** grabArticle ****");var t=this._doc,n=null!==e;if(!(e=e||this._doc.body))return this.log("No body found in document. Abort."),null;for(var i=e.innerHTML;;){for(var r=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),o=[],a=this._doc.documentElement;a;){var s=a.className+" "+a.id;if(this._isProbablyVisible(a))if(this._checkByline(a,s))a=this._removeAndGetNext(a);else{if(r){if(this.REGEXPS.unlikelyCandidates.test(s)&&!this.REGEXPS.okMaybeItsACandidate.test(s)&&!this._hasAncestorTag(a,"table")&&"BODY"!==a.tagName&&"A"!==a.tagName){this.log("Removing unlikely candidate - "+s),a=this._removeAndGetNext(a);continue}if("complementary"==a.getAttribute("role")){this.log("Removing complementary content - "+s),a=this._removeAndGetNext(a);continue}}if("DIV"!==a.tagName&&"SECTION"!==a.tagName&&"HEADER"!==a.tagName&&"H1"!==a.tagName&&"H2"!==a.tagName&&"H3"!==a.tagName&&"H4"!==a.tagName&&"H5"!==a.tagName&&"H6"!==a.tagName||!this._isElementWithoutContent(a)){if(-1!==this.DEFAULT_TAGS_TO_SCORE.indexOf(a.tagName)&&o.push(a),"DIV"===a.tagName){for(var c=null,l=a.firstChild;l;){var d=l.nextSibling;if(this._isPhrasingContent(l))null!==c?c.appendChild(l):this._isWhitespace(l)||(c=t.createElement("p"),a.replaceChild(c,l),c.appendChild(l));else if(null!==c){for(;c.lastChild&&this._isWhitespace(c.lastChild);)c.removeChild(c.lastChild);c=null}l=d}if(this._hasSingleTagInsideElement(a,"P")&&this._getLinkDensity(a)<.25){var u=a.children[0];a.parentNode.replaceChild(u,a),a=u,o.push(a)}else this._hasChildBlockElement(a)||(a=this._setNodeTag(a,"P"),o.push(a))}a=this._getNextNode(a)}else a=this._removeAndGetNext(a)}else this.log("Removing hidden node - "+s),a=this._removeAndGetNext(a)}var f=[];this._forEachNode(o,(function(e){if(e.parentNode&&void 0!==e.parentNode.tagName){var t=this._getInnerText(e);if(!(t.length<25)){var n=this._getNodeAncestors(e,3);if(0!==n.length){var i=0;i+=1,i+=t.split(",").length,i+=Math.min(Math.floor(t.length/100),3),this._forEachNode(n,(function(e,t){if(e.tagName&&e.parentNode&&void 0!==e.parentNode.tagName){if(void 0===e.readability&&(this._initializeNode(e),f.push(e)),0===t)var n=1;else n=1===t?2:3*t;e.readability.contentScore+=i/n}}))}}}}));for(var h=[],m=0,p=f.length;m<p;m+=1){var g=f[m],v=g.readability.contentScore*(1-this._getLinkDensity(g));g.readability.contentScore=v,this.log("Candidate:",g,"with score "+v);for(var y=0;y<this._nbTopCandidates;y++){var b=h[y];if(!b||v>b.readability.contentScore){h.splice(y,0,g),h.length>this._nbTopCandidates&&h.pop();break}}}var x,w=h[0]||null,k=!1;if(null===w||"BODY"===w.tagName){w=t.createElement("DIV"),k=!0;for(var C=e.childNodes;C.length;)this.log("Moving child out:",C[0]),w.appendChild(C[0]);e.appendChild(w),this._initializeNode(w)}else if(w){for(var E=[],S=1;S<h.length;S++)h[S].readability.contentScore/w.readability.contentScore>=.75&&E.push(this._getNodeAncestors(h[S]));if(E.length>=3)for(x=w.parentNode;"BODY"!==x.tagName;){for(var I=0,A=0;A<E.length&&I<3;A++)I+=Number(E[A].includes(x));if(I>=3){w=x;break}x=x.parentNode}w.readability||this._initializeNode(w),x=w.parentNode;for(var _=w.readability.contentScore,T=_/3;"BODY"!==x.tagName;)if(x.readability){var N=x.readability.contentScore;if(N<T)break;if(N>_){w=x;break}_=x.readability.contentScore,x=x.parentNode}else x=x.parentNode;for(x=w.parentNode;"BODY"!=x.tagName&&1==x.children.length;)x=(w=x).parentNode;w.readability||this._initializeNode(w)}var M=t.createElement("DIV");n&&(M.id="readability-content");for(var D=Math.max(10,.2*w.readability.contentScore),B=(x=w.parentNode).children,P=0,L=B.length;P<L;P++){var O=B[P],G=!1;if(this.log("Looking at sibling node:",O,O.readability?"with score "+O.readability.contentScore:""),this.log("Sibling has score",O.readability?O.readability.contentScore:"Unknown"),O===w)G=!0;else{var R=0;if(O.className===w.className&&""!==w.className&&(R+=.2*w.readability.contentScore),O.readability&&O.readability.contentScore+R>=D)G=!0;else if("P"===O.nodeName){var H=this._getLinkDensity(O),j=this._getInnerText(O),F=j.length;(F>80&&H<.25||F<80&&F>0&&0===H&&-1!==j.search(/\.( |$)/))&&(G=!0)}}G&&(this.log("Appending node:",O),-1===this.ALTER_TO_DIV_EXCEPTIONS.indexOf(O.nodeName)&&(this.log("Altering sibling:",O,"to div."),O=this._setNodeTag(O,"DIV")),M.appendChild(O),P-=1,L-=1)}if(this._debug&&this.log("Article content pre-prep: "+M.innerHTML),this._prepArticle(M),this._debug&&this.log("Article content post-prep: "+M.innerHTML),k)w.id="readability-page-1",w.className="page";else{var U=t.createElement("DIV");U.id="readability-page-1",U.className="page";for(var W=M.childNodes;W.length;)U.appendChild(W[0]);M.appendChild(U)}this._debug&&this.log("Article content after paging: "+M.innerHTML);var z=!0,q=this._getInnerText(M,!0).length;if(q<this._charThreshold)if(z=!1,e.innerHTML=i,this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS),this._attempts.push({articleContent:M,textLength:q});else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES),this._attempts.push({articleContent:M,textLength:q});else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY),this._attempts.push({articleContent:M,textLength:q});else{if(this._attempts.push({articleContent:M,textLength:q}),this._attempts.sort((function(e,t){return t.textLength-e.textLength})),!this._attempts[0].textLength)return null;M=this._attempts[0].articleContent,z=!0}if(z){var V=[x,w].concat(this._getNodeAncestors(x));return this._someNode(V,(function(e){if(!e.tagName)return!1;var t=e.getAttribute("dir");return!!t&&(this._articleDir=t,!0)})),M}}},_isValidByline:function(e){return("string"==typeof e||e instanceof String)&&((e=e.trim()).length>0&&e.length<100)},_unescapeHtmlEntities:function(e){if(!e)return e;var t=this.HTML_ESCAPE_MAP;return e.replace(/&(quot|amp|apos|lt|gt);/g,(function(e,n){return t[n]})).replace(/&#(?:x([0-9a-z]{1,4})|([0-9]{1,4}));/gi,(function(e,t,n){var i=parseInt(t||n,t?16:10);return String.fromCharCode(i)}))},_getArticleMetadata:function(){var e={},t={},n=this._doc.getElementsByTagName("meta"),i=/\s*(dc|dcterm|og|twitter)\s*:\s*(author|creator|description|title|site_name)\s*/gi,r=/^\s*(?:(dc|dcterm|og|twitter|weibo:(article|webpage))\s*[\.:]\s*)?(author|creator|description|title|site_name)\s*$/i;return this._forEachNode(n,(function(e){var n=e.getAttribute("name"),o=e.getAttribute("property"),a=e.getAttribute("content");if(a){var s=null,c=null;if(o&&(s=o.match(i)))for(var l=s.length-1;l>=0;l--)c=s[l].toLowerCase().replace(/\s/g,""),t[c]=a.trim();!s&&n&&r.test(n)&&(c=n,a&&(c=c.toLowerCase().replace(/\s/g,"").replace(/\./g,":"),t[c]=a.trim()))}})),e.title=t["dc:title"]||t["dcterm:title"]||t["og:title"]||t["weibo:article:title"]||t["weibo:webpage:title"]||t.title||t["twitter:title"],e.title||(e.title=this._getArticleTitle()),e.byline=t["dc:creator"]||t["dcterm:creator"]||t.author,e.excerpt=t["dc:description"]||t["dcterm:description"]||t["og:description"]||t["weibo:article:description"]||t["weibo:webpage:description"]||t.description||t["twitter:description"],e.siteName=t["og:site_name"],e.title=this._unescapeHtmlEntities(e.title),e.byline=this._unescapeHtmlEntities(e.byline),e.excerpt=this._unescapeHtmlEntities(e.excerpt),e.siteName=this._unescapeHtmlEntities(e.siteName),e},_isSingleImage:function(e){return"IMG"===e.tagName||1===e.children.length&&""===e.textContent.trim()&&this._isSingleImage(e.children[0])},_unwrapNoscriptImages:function(e){var t=Array.from(e.getElementsByTagName("img"));this._forEachNode(t,(function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t];switch(n.name){case"src":case"srcset":case"data-src":case"data-srcset":return}if(/\.(jpg|jpeg|png|webp)/i.test(n.value))return}e.parentNode.removeChild(e)}));var n=Array.from(e.getElementsByTagName("noscript"));this._forEachNode(n,(function(t){var n=e.createElement("div");if(n.innerHTML=t.innerHTML,this._isSingleImage(n)){var i=t.previousElementSibling;if(i&&this._isSingleImage(i)){var r=i;"IMG"!==r.tagName&&(r=i.getElementsByTagName("img")[0]);for(var o=n.getElementsByTagName("img")[0],a=0;a<r.attributes.length;a++){var s=r.attributes[a];if(""!==s.value&&("src"===s.name||"srcset"===s.name||/\.(jpg|jpeg|png|webp)/i.test(s.value))){if(o.getAttribute(s.name)===s.value)continue;var c=s.name;o.hasAttribute(c)&&(c="data-old-"+c),o.setAttribute(c,s.value)}}t.parentNode.replaceChild(n.firstElementChild,i)}}}))},_removeScripts:function(e){this._removeNodes(this._getAllNodesWithTag(e,["script"]),(function(e){return e.nodeValue="",e.removeAttribute("src"),!0})),this._removeNodes(this._getAllNodesWithTag(e,["noscript"]))},_hasSingleTagInsideElement:function(e,t){return 1==e.children.length&&e.children[0].tagName===t&&!this._someNode(e.childNodes,(function(e){return e.nodeType===this.TEXT_NODE&&this.REGEXPS.hasContent.test(e.textContent)}))},_isElementWithoutContent:function(e){return e.nodeType===this.ELEMENT_NODE&&0==e.textContent.trim().length&&(0==e.children.length||e.children.length==e.getElementsByTagName("br").length+e.getElementsByTagName("hr").length)},_hasChildBlockElement:function(e){return this._someNode(e.childNodes,(function(e){return-1!==this.DIV_TO_P_ELEMS.indexOf(e.tagName)||this._hasChildBlockElement(e)}))},_isPhrasingContent:function(e){return e.nodeType===this.TEXT_NODE||-1!==this.PHRASING_ELEMS.indexOf(e.tagName)||("A"===e.tagName||"DEL"===e.tagName||"INS"===e.tagName)&&this._everyNode(e.childNodes,this._isPhrasingContent)},_isWhitespace:function(e){return e.nodeType===this.TEXT_NODE&&0===e.textContent.trim().length||e.nodeType===this.ELEMENT_NODE&&"BR"===e.tagName},_getInnerText:function(e,t){t=void 0===t||t;var n=e.textContent.trim();return t?n.replace(this.REGEXPS.normalize," "):n},_getCharCount:function(e,t){return t=t||",",this._getInnerText(e).split(t).length-1},_cleanStyles:function(e){if(e&&"svg"!==e.tagName.toLowerCase()){for(var t=0;t<this.PRESENTATIONAL_ATTRIBUTES.length;t++)e.removeAttribute(this.PRESENTATIONAL_ATTRIBUTES[t]);-1!==this.DEPRECATED_SIZE_ATTRIBUTE_ELEMS.indexOf(e.tagName)&&(e.removeAttribute("width"),e.removeAttribute("height"));for(var n=e.firstElementChild;null!==n;)this._cleanStyles(n),n=n.nextElementSibling}},_getLinkDensity:function(e){var t=this._getInnerText(e).length;if(0===t)return 0;var n=0;return this._forEachNode(e.getElementsByTagName("a"),(function(e){n+=this._getInnerText(e).length})),n/t},_getClassWeight:function(e){if(!this._flagIsActive(this.FLAG_WEIGHT_CLASSES))return 0;var t=0;return"string"==typeof e.className&&""!==e.className&&(this.REGEXPS.negative.test(e.className)&&(t-=25),this.REGEXPS.positive.test(e.className)&&(t+=25)),"string"==typeof e.id&&""!==e.id&&(this.REGEXPS.negative.test(e.id)&&(t-=25),this.REGEXPS.positive.test(e.id)&&(t+=25)),t},_clean:function(e,t){var n=-1!==["object","embed","iframe"].indexOf(t);this._removeNodes(this._getAllNodesWithTag(e,[t]),(function(e){if(n){for(var t=0;t<e.attributes.length;t++)if(this.REGEXPS.videos.test(e.attributes[t].value))return!1;if("object"===e.tagName&&this.REGEXPS.videos.test(e.innerHTML))return!1}return!0}))},_hasAncestorTag:function(e,t,n,i){n=n||3,t=t.toUpperCase();for(var r=0;e.parentNode;){if(n>0&&r>n)return!1;if(e.parentNode.tagName===t&&(!i||i(e.parentNode)))return!0;e=e.parentNode,r++}return!1},_getRowAndColumnCount:function(e){for(var t=0,n=0,i=e.getElementsByTagName("tr"),r=0;r<i.length;r++){var o=i[r].getAttribute("rowspan")||0;o&&(o=parseInt(o,10)),t+=o||1;for(var a=0,s=i[r].getElementsByTagName("td"),c=0;c<s.length;c++){var l=s[c].getAttribute("colspan")||0;l&&(l=parseInt(l,10)),a+=l||1}n=Math.max(n,a)}return{rows:t,columns:n}},_markDataTables:function(e){for(var t=e.getElementsByTagName("table"),n=0;n<t.length;n++){var i=t[n];if("presentation"!=i.getAttribute("role"))if("0"!=i.getAttribute("datatable"))if(i.getAttribute("summary"))i._readabilityDataTable=!0;else{var r=i.getElementsByTagName("caption")[0];if(r&&r.childNodes.length>0)i._readabilityDataTable=!0;else{if(["col","colgroup","tfoot","thead","th"].some((function(e){return!!i.getElementsByTagName(e)[0]})))this.log("Data table because found data-y descendant"),i._readabilityDataTable=!0;else if(i.getElementsByTagName("table")[0])i._readabilityDataTable=!1;else{var o=this._getRowAndColumnCount(i);o.rows>=10||o.columns>4?i._readabilityDataTable=!0:i._readabilityDataTable=o.rows*o.columns>10}}}else i._readabilityDataTable=!1;else i._readabilityDataTable=!1}},_fixLazyImages:function(e){this._forEachNode(this._getAllNodesWithTag(e,["img","picture","figure"]),(function(e){if(e.src&&this.REGEXPS.b64DataUrl.test(e.src)){if("image/svg+xml"===this.REGEXPS.b64DataUrl.exec(e.src)[1])return;for(var t=!1,n=0;n<e.attributes.length;n++){var i=e.attributes[n];if("src"!==i.name&&/\.(jpg|jpeg|png|webp)/i.test(i.value)){t=!0;break}}if(t){var r=e.src.search(/base64\s*/i)+7;e.src.length-r<133&&e.removeAttribute("src")}}if(!(e.src||e.srcset&&"null"!=e.srcset)||-1!==e.className.toLowerCase().indexOf("lazy"))for(var o=0;o<e.attributes.length;o++)if("src"!==(i=e.attributes[o]).name&&"srcset"!==i.name){var a=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(i.value)?a="srcset":/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(i.value)&&(a="src"),a)if("IMG"===e.tagName||"PICTURE"===e.tagName)e.setAttribute(a,i.value);else if("FIGURE"===e.tagName&&!this._getAllNodesWithTag(e,["img","picture"]).length){var s=this._doc.createElement("img");s.setAttribute(a,i.value),e.appendChild(s)}}}))},_cleanConditionally:function(e,t){if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)){var n="ul"===t||"ol"===t;this._removeNodes(this._getAllNodesWithTag(e,[t]),(function(e){var i=function(e){return e._readabilityDataTable};if("table"===t&&i(e))return!1;if(this._hasAncestorTag(e,"table",-1,i))return!1;var r=this._getClassWeight(e);if(this.log("Cleaning Conditionally",e),r+0<0)return!0;if(this._getCharCount(e,",")<10){for(var o=e.getElementsByTagName("p").length,a=e.getElementsByTagName("img").length,s=e.getElementsByTagName("li").length-100,c=e.getElementsByTagName("input").length,l=0,d=this._getAllNodesWithTag(e,["object","embed","iframe"]),u=0;u<d.length;u++){for(var f=0;f<d[u].attributes.length;f++)if(this.REGEXPS.videos.test(d[u].attributes[f].value))return!1;if("object"===d[u].tagName&&this.REGEXPS.videos.test(d[u].innerHTML))return!1;l++}var h=this._getLinkDensity(e),m=this._getInnerText(e).length;return a>1&&o/a<.5&&!this._hasAncestorTag(e,"figure")||!n&&s>o||c>Math.floor(o/3)||!n&&m<25&&(0===a||a>2)&&!this._hasAncestorTag(e,"figure")||!n&&r<25&&h>.2||r>=25&&h>.5||1===l&&m<75||l>1}return!1}))}},_cleanMatchedNodes:function(e,t){for(var n=this._getNextNode(e,!0),i=this._getNextNode(e);i&&i!=n;)i=t.call(this,i,i.className+" "+i.id)?this._removeAndGetNext(i):this._getNextNode(i)},_cleanHeaders:function(e){this._removeNodes(this._getAllNodesWithTag(e,["h1","h2"]),(function(e){return this._getClassWeight(e)<0}))},_flagIsActive:function(e){return(this._flags&e)>0},_removeFlag:function(e){this._flags=this._flags&~e},_isProbablyVisible:function(e){return(!e.style||"none"!=e.style.display)&&!e.hasAttribute("hidden")&&(!e.hasAttribute("aria-hidden")||"true"!=e.getAttribute("aria-hidden")||e.className&&e.className.indexOf&&-1!==e.className.indexOf("fallback-image"))},parse:function(){if(this._maxElemsToParse>0){var e=this._doc.getElementsByTagName("*").length;if(e>this._maxElemsToParse)throw new Error("Aborting parsing document; "+e+" elements found")}this._unwrapNoscriptImages(this._doc),this._removeScripts(this._doc),this._prepDocument();var t=this._getArticleMetadata();this._articleTitle=t.title;var n=this._grabArticle();if(!n)return null;if(this.log("Grabbed: "+n.innerHTML),this._postProcessContent(n),!t.excerpt){var i=n.getElementsByTagName("p");i.length>0&&(t.excerpt=i[0].textContent.trim())}var r=n.textContent;return{title:this._articleTitle,byline:t.byline||this._articleByline,dir:this._articleDir,content:n.innerHTML,textContent:r,length:r.length,excerpt:t.excerpt,rootElements:n.children[0].children,siteName:t.siteName||this._articleSiteName}}},e.exports=i},function(e,t,n){window.MarketGidCOnSiteNotificationBlock55317=function(e){e.addEvent(e.root,"click",(function(e){if(e.target.matches(".mg-close-action")){e.preventDefault();for(var t=e.target.parentNode;null!=t.parentNode&&-1==t.className.indexOf("mgbox");)t=t.parentNode;t.remove()}}))}},function(e,t){function n(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}window.MarketGidCparallaxBlock55317=function(e){function t(t){var i=e.root.querySelector(".image-container"),r=function(e){for(var t,i,r=window,o=[];r!==window.top;){t=r.parent;for(var a=0;a<t.frames.length;a++)if(t.frames[a]===r){var s,c=n(t.document.getElementsByTagName("iframe"));try{for(c.s();!(s=c.n()).done;){var l=s.value;l.contentWindow===r&&(i=l.getBoundingClientRect(),o.push({bottom:i.bottom,height:i.height}))}}catch(e){c.e(e)}finally{c.f()}r=t;break}}return 0===o.length?{bottom:e.getBoundingClientRect().bottom}:o.reduce((function(e,t){return{bottom:e.bottom+t.bottom}}),{bottom:0})}(e.root);if(r.bottom<window.top.innerHeight){var o=(window.top.innerHeight-r.bottom)/(window.top.innerHeight+e.root.getBoundingClientRect().height)*100-25;o<0&&i.style.setProperty("transform","translateY(".concat(o,"%)"))}}e.observerWidgetHooks.push("parallax"),e.parallax=function(e,n){e?window.top.addEventListener("scroll",t,{capture:!1,passive:!0}):window.top.removeEventListener("scroll",t)}}},function(e,t){window.MarketGidCvt26136Block55317=function(e){e.afterLoadNewsHooks.push("testMessage"),e.testMessage=function(){console.log("Custom Func Block Is Here!")}}},function(e,t){window.MarketGidCvt26136v2Block55317=function(e){e.afterLoadNewsHooks.push("testMessageV2"),e.testMessageV2=function(){console.log("Custom Func Block V2 Is Here!")}}}]);