(()=>{var __webpack_modules__={884:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>methods});var _utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(216),_templates_styles__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(653),_images_whatsApp__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(245);function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new T(r||[]);return o(a,"_invoke",{value:P(t,n,c)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",v={};function y(){}function _(){}function g(){}var b={};s(b,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(B([])));k&&k!==n&&r.call(k,a)&&(b=k);var x=g.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,i,a,c){var l=d(t[o],t,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==_typeof(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(u).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=p;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=O(c,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=d(e,n,r);if("normal"===s.type){if(o=r.done?m:f,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=m,r.method="throw",r.arg=s.arg)}}}function O(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function B(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(_typeof(e)+" is not iterable")}return _.prototype=g,o(x,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:_,configurable:!0}),_.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),s(E.prototype,c,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),s(x,l,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=B,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:B(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_toPropertyKey(r.key),r)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var __awaiter=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function c(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}l((r=r.apply(t,e||[])).next())}))},methods=function(){function methods(){var t=this;_classCallCheck(this,methods),this.listenScroll=function(e){var n=0,r=.7,o=e.closest("[data-la-shading]").querySelector(".shading"),i=e.parentNode;window.addEventListener("scroll",(function(){var e=window.pageYOffset||document.documentElement.scrollTop;n<e?t.downScrollCheckShadow(i,r,1-r,o):t.upScrollCheckShadow(i,r,1-r,o),n=e<=0?0:e}))},this.downScrollCheckShadow=function(e,n,r,o){var i=e.getBoundingClientRect();r=i.top+i.height*+r<=window.innerHeight||i.top<=window.innerHeight*+n,i=i.bottom<=window.innerHeight*+n,r&&!i&&t.canShadow(o)&&t.setShadow(o),i&&t.canClose(o)&&t.clearShadow(o)},this.upScrollCheckShadow=function(e,n,r,o){var i=e.getBoundingClientRect();n=0<=i.bottom-i.height*+n||i.bottom>=window.innerHeight*+r,i=i.top>=window.innerHeight*+r,n&&!i&&t.canShadow(o)&&t.setShadow(o),i&&t.canClose(o)&&t.clearShadow(o)},this.clearShadow=function(t){t.classList.add("no-shading")},this.setShadow=function(t){t.classList.remove("no-shading")},this.canShadow=function(t){return t.classList.contains("no-shading")},this.canClose=function(t){return!t.classList.contains("no-shading")},this.addShadingOverlay=function(t,e){var n=document.createElement("div");n.classList.add("shading","no-shading"),t.appendChild(n);var r=document.createElement("style");r.innerHTML=(0,_templates_styles__WEBPACK_IMPORTED_MODULE_1__.Bh)(e),t.append(r)},this.customDataAttr=Math.random().toString(36).substring(2,15)}return _createClass(methods,[{key:"createNewAnchorElement",value:function(t){var e=document.createElement("div");return e.dataset[this.customDataAttr]=t,e}},{key:"replaceBlockedBlock",value:function(t){var e=t.parentElement,n=this.createNewAnchorElement(t.dataset.laBlock);return e.replaceChild(n,t),n}},{key:"sortInitialBlocks",value:function(){var t=this;return(0,_utils__WEBPACK_IMPORTED_MODULE_0__.A1)(document.querySelectorAll("[data-la-block]")).map(this.replaceBlockedBlock.bind(this)).filter((function(e){return!t.isHidden(e)})).map((function(t){return{el:t,offsets:(0,_utils__WEBPACK_IMPORTED_MODULE_0__.Hj)(t)}})).sort((function(t,e){var n=t.offsets.top<e.offsets.top,r=t.offsets.top===e.offsets.top,o=t.offsets.left<e.offsets.left;return n||r&&o?-1:!n||r&&!o?1:0})).map((function(t,e){return{pos:e+1,el:t.el}}))}},{key:"getMediasIds",value:function(t){return t.map((function(t){return t.getAttribute("data-id")||""}))}},{key:"initRefreshTimeout",value:function(t,e,n,r){var o=this,i=t.firstChild,a=this.getEncryptedAttribute(i,/data-la-refresh-timeout-[0-9a-fA-F]/,/data-la-refresh-timeout-[0-9a-fA-F]{5}-/)||""||this.state.settings.defaultRefreshTimeout;if(!(r<a))return this.renderBlock(t,e,n);var c=setTimeout((function(){return document.hasFocus()?o.renderBlock(t,e,n):o.confirmationTimer(t,e,n)}),a);this.mutations.setBlockRefreshTimeout(n,c)}},{key:"confirmationTimer",value:function(t,e,n){var r=this,o=Date.now(),i=0,a=setInterval((function(){document.hasFocus()?(r.initRefreshTimeout(t,e,n,i),clearInterval(a)):i=Date.now()-o}),1e3)}},{key:"getEncryptedAttribute",value:function(t,e,n){var r=t.attributes;for(var o in r)if(e.test(r[o].nodeName))return r[o].nodeName.replace(n,"")}},{key:"getShowBlockId",value:function(t){if(t)return this.getEncryptedAttribute(t,/data-la-show-block-id-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/,/data-la-show-block-id-/)}},{key:"setVisibleMedias",value:function(t,e,n){var r=this,o=t.filter((function(t){return t.intersectionRatio>e})).map((function(t){return t.target}));return this.getMediasIds(o).filter((function(t){return!r.state.confirmedShow[n]||!r.state.confirmedShow[n].includes(t)}))}},{key:"initConfirmation",value:function(t){var e=this,n=t.block,r=t.uuid,o=t.blockUniqId,i=t.isBlock,a=t.visiblePercent,c=n.firstChild,l=this.getShowBlockId(c)||"",s=(0,_utils__WEBPACK_IMPORTED_MODULE_0__.A1)(n.querySelectorAll("a[data-id]")),u=this.getObserverOptions(s,a),d=function(){var t=new IntersectionObserver((function(t){e.handleObserverEntries({entries:t,block:n,uuid:r,blockUniqId:o,isBlock:i,blockShowUuid:l,allMedias:s,visiblePercent:a})}),u);return e.observeMedias(t,s,i),t},p=d();this.reobserveOnVisibilityReturn((function(){p.disconnect(),p=d()}))}},{key:"getObserverOptions",value:function(t,e){var n="0px";return t.forEach((function(t){if(t.getBoundingClientRect().height>window.innerHeight){var r=(100*(1-e)).toFixed(0);n="".concat(r,"% 0px")}})),{root:null,rootMargin:n,threshold:e}}},{key:"observeMedias",value:function(t,e,n){var r=this;n?this.initObserver(t,e[0]):e.forEach((function(e){return r.initObserver(t,e)}))}},{key:"handleObserverEntries",value:function(t){var e=t.entries,n=t.block,r=t.uuid,o=t.blockUniqId,i=t.isBlock,a=t.blockShowUuid,c=t.allMedias,l=t.visiblePercent,s=this.setVisibleMedias(e,l,o);s.length&&(i?this.handleBlockConfirmation(n,r,o,a,s):this.handleAdConfirmation(n,r,o,s,c))}},{key:"handleBlockConfirmation",value:function(t,e,n,r,o){var i=this;this.state.confirmedShow[n]||this.actions.confirmBlockShow(r,o,n).then((function(){return i.confirmationTimer(t,e,n)}))}},{key:"handleAdConfirmation",value:function(t,e,n,r,o){var i=this,a=o.filter((function(t){return r.includes(t.dataset.id)})),c=this.getAdIds(a);r.some((function(t){return i.state.confirmedAdShowIds.includes(t)}))||this.actions.confirmAdShow(r,n,c).then((function(){return i.confirmationTimer(t,e,n)}))}},{key:"reobserveOnVisibilityReturn",value:function(t){document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&t()}))}},{key:"initObserver",value:function(t,e){setTimeout((function(){return t.observe(e)}),this.state.settings.defaultTimeoutForObserver)}},{key:"getAdIds",value:function(t){var e=[],n=/media=([^&]*)/;return t.forEach((function(t){var r=t.href.match(n)[1];e.includes(r)||e.push(r)})),e}},{key:"initBlockScript",value:function initBlockScript(el){var _a;null===(_a=(0,_utils__WEBPACK_IMPORTED_MODULE_0__.A1)(el.querySelectorAll("script")))||void 0===_a||_a.map((function(scriptElement){if(scriptElement.getAttribute("src")){for(var parent=scriptElement.parentElement,clone=document.createElement("script"),attrs=scriptElement.attributes,i=attrs.length-1;i>=0;i--)clone[attrs[i].name]=attrs[i].value;parent.insertBefore(clone,scriptElement),parent.removeChild(scriptElement)}else eval(scriptElement.innerText)}))}},{key:"initAdClick",value:function(t,e){var n=this,r=t.querySelector("*[id]");if(r){var o=r.id;t.querySelectorAll("a.".concat(o,"la-media")).forEach((function(r){r.addEventListener("click",(function(){var i=n.setAdClickStorage(r),a=n.getShowBlockId(t.firstChild)||"";n.actions.getOneAdForBlock(e,a).then((function(t){n.placingNewAd(r,o,JSON.parse(t.response))})),i.count>2&&(r.href=n.state.newsUrl)}))}))}}},{key:"mountBlock",value:function(t,e,n){var r,o=this.state.blocks[n].data,i=this.state.settings,a=i.hoverStylesRegex,c=i.visiblePercentForConfirmBlock,l=i.visiblePercentForConfirmAd;t.innerHTML=_utils__WEBPACK_IMPORTED_MODULE_0__.g5?o.replace(a,""):o,this.initBlockScript(t),this.initAdClick(t,n),this.initConfirmation({block:t,uuid:e,blockUniqId:n,isBlock:!0,visiblePercent:c}),this.initConfirmation({block:t,uuid:e,blockUniqId:n,isBlock:!1,visiblePercent:l});var s=null===(r=t.firstChild)||void 0===r?void 0:r.dataset;(null==s?void 0:s.laShading)&&this.initShading(t),(null==s?void 0:s.laInfinite)&&this.initInfiniteScroll(t),(null==s?void 0:s.laFloorAd)&&this.initFloorAd(t),(null==s?void 0:s.laInPagePush)&&this.initInPagePush(t)}},{key:"initFillBlockState",value:function(t,e,n){Object.keys(this.state.blocks).includes(n)||this.mutations.fillBlockState(t,e,n),this.mutations.updateRefreshDepth(n)}},{key:"renderBlock",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return __awaiter(this,void 0,void 0,_regeneratorRuntime().mark((function r(){return _regeneratorRuntime().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=n||(0,_utils__WEBPACK_IMPORTED_MODULE_0__.MI)(),this.initFillBlockState(e,t,n),r.next=4,this.actions.getBlock(n);case 4:this.mountBlock(t,e,n);case 5:case"end":return r.stop()}}),r,this)})))}},{key:"initRenderBlock",value:function(){var t=this;this.sortInitialBlocks().map((function(e){var n=e.el,r=(0,_utils__WEBPACK_IMPORTED_MODULE_0__._3)(n)[t.customDataAttr];t.state.foundBlocks.includes(n)||(t.mutations.setFoundBlocks(n),t.renderBlock(n,r))}))}},{key:"parseBlocks",value:function(){var t=this,e=this.state.settings,n=e.defaultIntervalForParseBlocksBeforeSearch;e.defaultIntervalForParseBlocksAfterSearch,setInterval((function(){t.initRenderBlock()}),n)}},{key:"isHidden",value:function(t){var e=window.getComputedStyle(t).position;if("none"===window.getComputedStyle(t).display)return!0;if("fixed"===e){var n=t.parentElement;return null!==n&&!["BODY","HTML"].includes(n.tagName)&&null===n.offsetParent}return null===t.offsetParent}},{key:"placingNewAd",value:function(t,e,n){var r=n.feed[0],o=r.ad_show_uuid,i=r.click_url,a=r.full_text,c=r.media_url,l=r.short_description,s=r.title,u=r.company_name,d=r.inn,p=t.querySelector(".".concat(e,"la-media__title")),f=t.querySelector(".".concat(e,"la-media__img")),h=t.querySelector(".".concat(e,"la-media__fullDesc")),m=t.querySelector(".".concat(e,"la-media__shortDesc")),v=t.querySelector(".".concat(e,"la-media__desc")),y=t.querySelector(".".concat(e,"la-media__company-name")),_=t.querySelector(".".concat(e,"la-media__inn")),g=t.querySelector(".".concat(e,"la-media__info-ad"));t.dataset.id=o,t.setAttribute("href",i),p.innerText=s,f&&(f.hasAttribute("src")?f.setAttribute("src",c):f.setAttribute("style","background-image:url(".concat(c,") !important"))),h&&(h.innerText=a),m&&(m.innerText=l),v&&!v.children.length&&(v.innerText=l),y&&(y.innerText=u),_&&(_.innerText="ИНН: ".concat(d)),u&&d?g.setAttribute("style","display: flex !important"):g.removeAttribute("style")}},{key:"setAdClickStorage",value:function(t){var e=(new Date).getTime(),n=e+216e5,r={count:1,expire:n,mediaId:""};if((t.href.split("?")[1]||"").split("&").map((function(t){var e=t.split("=");"media"!==e[0]||e.length<2||(r.mediaId="la_"+e[1])})),!r.mediaId)return r;var o=localStorage.getItem(r.mediaId);try{var i=JSON.parse(o||"");r.expire=parseInt(i.expire)||n,r.count=parseInt(i.count)||1,r.count++}catch(t){console.error("Failed to get 3rd click from storage:",t)}return r.expire<e?localStorage.removeItem(r.mediaId):localStorage.setItem(r.mediaId,JSON.stringify(r)),r}},{key:"initShading",value:function(t){var e=this;t.querySelectorAll("[data-la-shading]").forEach((function(t){var n=t.querySelectorAll("a[data-id]");e.addShadingOverlay(t,null==t?void 0:t.children[0].id),n.forEach((function(t){e.listenScroll(t)}))}))}},{key:"insetBlocks",value:function(t,e){t.forEach((function(t){var n=t.querySelector("[data-la-dd]"),r=n.querySelector(".icon-menu"),o=n.querySelector(".icon-close");n.querySelector("ul").classList.add("hide"),r.classList.add("show"),o.classList.remove("show"),t.style.cssText="display: block!important;";var i=t.outerHTML.replace('data-la-dd-inited="true"','data-la-dd-inited="false"');e.insertAdjacentHTML("beforeend",i)}))}},{key:"initInfiniteScroll",value:function(t){var e=this,n=this.state.infiniteBlocks.infiniteBlocks,r=t.querySelector("[data-la-infinite]"),o=r.firstElementChild.id,i=r.querySelector(".".concat(o,"la-block__items"));n||(n=Array.from(i.querySelectorAll("a")));var a=document.createElement("div");a.classList.add("trigger"),t.append(a),new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&e.insetBlocks(n,i)}))}),{root:null,rootMargin:"0px 0px 50% 0px",threshold:0}).observe(a)}},{key:"addFloorAdCloseEl",value:function(t){var e=document.createElement("div");e.classList.add("btn-close"),e.innerText="+",e.addEventListener("click",(function(n){var r=n.target;(null==r?void 0:r.classList.contains("btn-close"))&&(t.classList.remove("fla-up"),e.classList.add("fla-down"))}),{once:!0}),t.append(e)}},{key:"addFloorAdStyles",value:function(t){t.classList.add("block-wrapper-bottom","fla-down");var e=document.createElement("style");e.innerHTML=(0,_templates_styles__WEBPACK_IMPORTED_MODULE_1__.Iw)(),t.append(e)}},{key:"startFloorAdAnimation",value:function(t,e){var n=this,r=new MutationObserver((function(){document.contains(t)&&(t.style.cssText="\n          bottom: -100%;\n          transform: translateY(100%);\n        ",n.addFloorAdStyles(t),n.addFloorAdCloseEl(t),setTimeout((function(){e&&e.forEach((function(t,e){return 0===e?t.setAttribute("style","display: flex !important;"):""})),t.classList.add("fla-up")}),500),r.disconnect())}));r.observe(document,{attributes:!0,childList:!0,characterData:!1,subtree:!0})}},{key:"initFloorAd",value:function(t){var e=t.children[0].children[0].id,n=t.querySelectorAll(".".concat(e,"la-media"));this.startFloorAdAnimation(t,n)}},{key:"initInPagePush",value:function(t){var e,n=t.children[0].children[0].id,r=t.querySelector(".".concat(n,"la-media")),o=r.querySelector(".".concat(n,"la-media__info-ad"));r.firstChild.appendChild(o);var i=null===(e=t.firstChild)||void 0===e?void 0:e.dataset,a=null==i?void 0:i.laInPagePushId;this.addDesignClass(t,a),this.startInPagePushAnimation(t,r)}},{key:"addPlacementClass",value:function(t,e){switch(e){case"top":return t.classList.add("--top"),"top";case"bottom":return t.classList.add("--bottom"),"bottom";default:return}}},{key:"addDesignClass",value:function(t,e){switch(e){case"1":return t.classList.add("dark");case"2":return t.classList.add("light");case"3":return t.classList.add("gradient","gradient--whatsapp");case"4":return t.classList.add("gradient","gradient--sber");default:return}}},{key:"addInPagePushCloseEl",value:function(t,e){var n=document.createElement("div");n.classList.add("btn-close"),n.innerText="+",n.addEventListener("click",(function(r){r.target.classList.contains("btn-close")&&(t.classList.remove(e),n.classList.add("hidden"))})),t.append(n)}},{key:"addInPagePushStyles",value:function(t){t.classList.add("block-wrapper");var e=document.createElement("style"),n=t.firstChild.firstChild.id,r=(0,_images_whatsApp__WEBPACK_IMPORTED_MODULE_2__.A)();if(t.classList.contains("gradient--whatsapp")){var o=t.querySelector(".".concat(n,"la-media__img-wrapper"));if(!o)return;o.insertAdjacentHTML("afterbegin",r)}e.innerHTML=(0,_templates_styles__WEBPACK_IMPORTED_MODULE_1__.Vb)(n),t.append(e)}},{key:"startInPagePushAnimation",value:function(t,e){if(document.contains(t)){var n=t.firstChild.dataset.laInPagePushPlacement,r=this.addPlacementClass(t,n);r&&(this.addInPagePushStyles(t),this.addInPagePushCloseEl(t,r),setTimeout((function(){e.setAttribute("style","display: flex !important;"),t.classList.add(r)}),500))}}}])}()},245:(t,e,n)=>{"use strict";function r(){return'<svg class="whatsapp-svg" width="15" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="15" height="15" rx="5" fill="url(#a)"/><g clip-path="url(#b)"><path d="M9.47 8.333c-.073 0-.15-.023-.223-.04a3.287 3.287 0 0 1-.437-.13.667.667 0 0 0-.827.334l-.073.153a4.39 4.39 0 0 1-.89-.667 4.39 4.39 0 0 1-.667-.89l.154-.07a.667.667 0 0 0 .333-.826 3.488 3.488 0 0 1-.13-.44 2.615 2.615 0 0 1-.04-.224 1 1 0 0 0-1-.83H4.667a1 1 0 0 0-.99 1.134A6.357 6.357 0 0 0 5.48 9.503a6.357 6.357 0 0 0 3.667 1.804.855.855 0 0 0 .13 0 1 1 0 0 0 1-1v-1a1 1 0 0 0-.807-.974zm.163 2a.333.333 0 0 1-.383.33A5.72 5.72 0 0 1 5.96 9.05a5.72 5.72 0 0 1-1.627-3.3.333.333 0 0 1 .334-.383h1a.333.333 0 0 1 .333.26c0 .09.03.183.05.273.039.175.09.346.153.513l-.466.22a.333.333 0 0 0-.174.187.333.333 0 0 0 0 .253 4.83 4.83 0 0 0 2.334 2.334.333.333 0 0 0 .253 0 .333.333 0 0 0 .187-.174l.21-.466a4.138 4.138 0 0 0 .796.203.333.333 0 0 1 .26.333l.03 1.03zM7.667 4.667h-.234a.335.335 0 0 0 .057.666h.177a2 2 0 0 1 2 2v.177a.333.333 0 0 0 .303.36h.027a.333.333 0 0 0 .333-.303v-.234a2.667 2.667 0 0 0-2.663-2.666zm.666 2.666a.333.333 0 0 0 .667 0A1.333 1.333 0 0 0 7.667 6a.333.333 0 1 0 0 .667.667.667 0 0 1 .666.666z" fill="#fff"/></g><defs><linearGradient id="a" x1="7.5" y1="0" x2="7.5" y2="15" gradientUnits="userSpaceOnUse"><stop stop-color="#95FFA5"/><stop offset="1" stop-color="#18B530"/></linearGradient><clipPath id="b"><path fill="#fff" transform="translate(3 4)" d="M0 0h8v8H0z"/></clipPath></defs></svg>'}n.d(e,{A:()=>r})},653:(t,e,n)=>{"use strict";function r(){return"\n      .block-wrapper-bottom {\n        position: fixed;\n        left: 0;\n        right: 0;\n        padding: 4px;\n        overflow: hidden;\n        z-index: 2147483646;\n\n        transition: transform 1s ease-in-out, bottom 1s ease-in-out;\n      }\n      .block-wrapper-bottom.fla-up {\n        border: 2px solid lightgray;\n        border-radius: 12px 12px 0 0;\n        background: #f5f3f3;\n\n        bottom: 0 !important;\n        transform: translateY(0) !important;\n      }\n      .btn-close {\n        position: absolute;\n        right: 0;\n        top: 0px;\n        z-index: 2147483647;\n        margin: -2px;\n        width: 24px;\n        height: 24px;\n        overflow: hidden;\n        border-radius: 100%;\n        transform: rotateZ(45deg);\n        font-size: 30px;\n        line-height: 0;\n        text-align: center;\n        border: 2px solid lightgray;\n        background: #f5f3f3;\n        cursor: pointer;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n      }\n      .btn-close.fla-down {\n        z-index: -1;\n        pointer-events: none;\n        cursor: default;\n      }\n    "}function o(t){return"\n      [data-la-shading] > #".concat(t," {\n        position: relative!important;\n        z-index: 2147483647!important;\n      }\n\n      [data-la-shading] > .shading {\n        position: fixed!important;\n        top: 0!important;\n        left: 0!important;\n        width: 100%!important;\n        height: 100%!important;\n        background: rgba(0, 0, 0, 0.55)!important;\n        z-index: 2147483646!important;\n        opacity: 1!important;\n        transition: all 0.3s ease!important;\n      }\n\n      [data-la-shading] > .no-shading {\n        z-index: -1!important;\n        visibility: hidden!important;\n        opacity: 0!important;\n        pointer-events: none!important;\n      }\n    ")}function i(t){return"\n      .block-wrapper {\n        position: fixed;\n        left: 0;\n        right: 0;\n        overflow: hidden;\n        z-index: 2147483646;\n        transition: transform 1s ease-in-out, bottom 1s ease-in-out, top 1s ease-in-out;\n       }\n\n      .block-wrapper.--bottom {\n        bottom: -100%;\n        transform: translateY(100%);\n       }\n\n      .block-wrapper.bottom {\n        bottom: 0 !important;\n        transform: translateY(0) !important;\n      }\n\n      .block-wrapper.--top {\n        top: -100%;\n        transform: translateY(-100%);\n       }\n\n      .block-wrapper.top {\n        top: 0 !important;\n        transform: translateY(0) !important;\n      }\n\n      .block-wrapper.bottom {\n        bottom: 0 !important;\n        transform: translateY(0) !important;\n      }\n\n      .block-wrapper .".concat(t,"la-media__btn-wrapper {\n        display: none !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media--vertical .").concat(t,"la-media__container,\n      .block-wrapper .").concat(t,"la-media__container {\n        position: relative;\n        flex-direction: row !important;\n        align-items: center !important;\n        padding: 12px 10px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__img-wrapper {\n        max-width: 42px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__img {\n        padding-bottom: 0 !important;\n        width: 42px !important;\n        height: 42px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__text-wrapper {\n        margin-right: 20px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media--vertical .").concat(t,"la-media__container .").concat(t,"la-media__title,\n      .block-wrapper .").concat(t,"la-media__container .").concat(t,"la-media__title {\n        margin: 0 !important;\n        font-size: 12px !important;\n        font-weight: 400 !important;\n        -ms-text-size-adjust: none !important;\n        -webkit-text-size-adjust: none !important;\n        text-size-adjust: none !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__container .").concat(t,"la-media__info-ad,\n      .block-wrapper .").concat(t,"la-media--vertical .").concat(t,"la-media__container .").concat(t,"la-media__info-ad {\n        top: 0 !important;\n        left: 0 !important;\n        flex-direction: column !important;\n        bottom: 0 !important;\n        align-items: flex-start !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown {\n        position: relative;\n        top: 8px;\n        left: -1px;\n        display: flex;\n        justify-content: flex-start;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn {\n        height: 7px;\n        left: -4px !important;\n        top: 1px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-menu {\n        left: 7px !important;\n        top: -1px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-item {\n        font-size: 8px !important;\n        color: rgba(179,179,179,0.4) !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-title {\n        top: -1px !important;\n        position: relative;\n        left: -4px;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-title span {\n        line-height: 10px !important;\n        font-size: 8px !important;\n        color: rgba(179,179,179,0.4) !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn svg.icon-menu {\n        width: 2px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn svg.icon-close {\n        width: 7px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn svg g circle,\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn svg defs clipPath rect,\n      .block-wrapper .").concat(t,"la-media__info-ad-dropdown-btn svg g path {\n        fill: rgba(179,179,179,0.4) !important;\n      }\n\n      .block-wrapper.dark,\n      .block-wrapper.light,\n      .block-wrapper.dark .").concat(t,"la-media,\n      .block-wrapper.light .").concat(t,"la-media{\n        border-radius: 5px !important;\n      }\n\n      .block-wrapper.dark {\n        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25) !important;\n        background: #242424 !important;\n      }\n\n      .block-wrapper.dark .btn-close {\n        background: transparent !important;\n        color: #fff !important;\n      }\n\n      .block-wrapper.dark .").concat(t,"la-media {\n        background: #242424 !important;\n      }\n\n      .block-wrapper.dark .").concat(t,"la-media__title {\n        color: #fff !important;\n        -webkit-text-fill-color: #fff !important;\n      }\n\n      .block-wrapper.light {\n        box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);\n      }\n\n      .block-wrapper.light .").concat(t,"la-media,\n      .block-wrapper.light .").concat(t,"la-media__container {\n        box-shadow: none !important;\n      }\n\n      .block-wrapper.gradient .btn-close {\n        right: 3px !important;\n        top: 3px !important;\n      }\n\n      .block-wrapper.gradient,\n      .block-wrapper.gradient .").concat(t,"la-media {\n        border-radius: 20px !important;\n      }\n\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown,\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown {\n        right: auto !important;\n        left: 2px !important;\n        top: 2px !important;\n      }\n\n      .block-wrapper.gradient.gradient--whatsapp .").concat(t,"la-media__info-ad-dropdown,\n      .block-wrapper.gradient.gradient--whatsapp .").concat(t,"la-media__info-ad-dropdown {\n        top: 1px !important;\n      }\n\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown-btn,\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown-btn {\n        top: 3px !important;\n      }\n\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown-menu,\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-dropdown-menu {\n        left: 5px !important;\n        top: 2px !important;\n      }\n\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-title,\n      .block-wrapper.gradient .").concat(t,"la-media__info-ad-title {\n        position: relative;\n        left: -1px;\n        top: 2px !important;\n      }\n\n      .block-wrapper.gradient.gradient--whatsapp .").concat(t,"la-media__info-ad-title,\n      .block-wrapper.gradient.gradient--whatsapp .").concat(t,"la-media__info-ad-title {\n        top: 1px !important;\n      }\n\n      .block-wrapper .").concat(t,"la-block {\n        max-width: none !important;\n      }\n\n      .block-wrapper.gradient .").concat(t,"la-media__img-inner {\n        border-radius: 100% !important;\n      }\n\n      .block-wrapper.gradient--whatsapp {\n        padding: 1px;\n        background: linear-gradient(180deg, #51EC69 0%, #21BA39 100%) border-box;\n      }\n\n      .block-wrapper.gradient--whatsapp .").concat(t,"la-media__img-wrapper {\n        position: relative !important;\n      }\n\n      .block-wrapper.gradient--whatsapp .").concat(t,"la-media__img-wrapper svg.whatsapp-svg {\n        position: absolute;\n        bottom: 0;\n        right: 0;\n        z-index: 100;\n        width: 15px;\n        height: 15px;\n      }\n\n      .block-wrapper.gradient--sber {\n        padding: 2px;\n        background: linear-gradient(180deg, #35A6EC 0%, #21A038 50%, #F1E913 100%);\n      }\n\n      .block-wrapper.gradient--sber .").concat(t,"la-media__img-wrapper {\n        max-width: 46px !important;\n      }\n\n      .block-wrapper.gradient--sber .").concat(t,"la-media__img-inner {\n        background: linear-gradient(180deg, #35A6EC 0%, #21A038 50%, #F1E913 100%) !important;\n        padding: 2px !important;\n        width: 42px !important;\n        height: 42px !important;\n      }\n\n      .block-wrapper.gradient--sber .").concat(t,"la-media__img {\n        border-radius: 100% !important;\n      }\n\n      .btn-close {\n        position: absolute;\n        right: 0;\n        top: 0px;\n        z-index: 2147483647;\n        margin: 6px;\n        width: 14px;\n        height: 14px;\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        overflow: hidden;\n        border-radius: 100%;\n        transform: rotateZ(45deg);\n        font-size: 17px;\n        line-height: 0;\n        text-align: center;\n        background: #F0F0F0;\n        color: #898989;\n        cursor: pointer;\n      }\n\n      .btn-close.hidden {\n        z-index: -1;\n        pointer-events: none;\n        cursor: default;\n      }\n    ")}n.d(e,{Bh:()=>o,Iw:()=>r,Vb:()=>i})},216:(t,e,n)=>{"use strict";function r(t){var e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):""}function o(t){try{return localStorage.getItem(t)||void 0}catch(t){return}}function i(t,e){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.expires;if("number"==typeof i&&i){var a=new Date;a.setTime(a.getTime()+1e3*i),i=o.expires=a}"string"!=typeof i&&"number"!=typeof i&&(null==i?void 0:i.toUTCString)&&(o.expires=i.toUTCString()),o.path||(o.path="/"),o.domain||(o.domain=(n=window.location.hostname,r=/(\W)(com.ua|co.ua)(\W|$)/.test(n)?-3:-2,n.split(".").slice(r).join(".")));var c=t+"="+(e=encodeURIComponent(e));for(var l in o){c+="; "+l;var s=o[l];!0!==s&&(c+="="+s)}document.cookie=c+("https:"===window.location.protocol?";SameSite=None; Secure":"")}function a(t,e){try{localStorage.setItem(t,e)}catch(t){console.error("Failed to set localStorage:",t)}}function c(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{i(t,e,n),localStorage.setItem(t,e)}catch(t){console.error("Failed to set cookie and localStorage:",t)}}function l(t){try{return[c(t,r(t),{expires:-1}),localStorage.removeItem("page_load_uuid")]}catch(t){console.error("Failed to delete cookie and localStorage:",t)}}function s(){return Math.ceil(-(new Date).getTimezoneOffset()/60)}n.d(e,{aM:()=>l,MI:()=>f,UN:()=>r,YZ:()=>y,_3:()=>_,Ui:()=>o,Hj:()=>d,Xd:()=>s,g5:()=>u,vE:()=>p,QT:()=>m,gD:()=>i,Fg:()=>c,kq:()=>a,A1:()=>v});var u=navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i);function d(t){return t.getBoundingClientRect()?function(t){var e=t.getBoundingClientRect(),n=document.body,r=document.documentElement,o=window.pageYOffset||r.scrollTop||n.scrollTop,i=window.pageXOffset||r.scrollLeft||n.scrollLeft,a=r.clientTop||n.clientTop||0,c=r.clientLeft||n.clientLeft||0,l=e.top+o-a,s=e.left+i-c;return{top:Math.round(l),left:Math.round(s)}}(t):function(t){for(var e=0,n=0;t;)e+=t.offsetTop,n+=t.offsetLeft,t=t.offsetParent;return{top:e,left:n}}(t)}function p(t){return new Promise((function(e,n){var r=t.type,o=t.url,i=t.data,a=XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP.3.0");a.open(r,o,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded");o.indexOf("/sunshine?");a.onreadystatechange=function(){4===a.readyState&&(a.status>=200&&a.status<300?e(a):n(a))},a.send(i)}))}function f(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return function(t){var e=window.crypto||window.msCrypto;return void 0===e||void 0===e.getRandomValues||void 0===e.getRandomValues(new Uint8Array(1))?t^Math.round(256*Math.random())&15>>t/4:t^e.getRandomValues(new Uint8Array(1))[0]&15>>t/4}(t).toString(16)}))}function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function m(t,e){return Object.keys(t).map((function(n){var r=t[n];if(r){switch(t.constructor){case Array:n="".concat(e,"[]");break;case Object:n=e?"".concat(e,"[").concat(n,"]"):n}return"object"===h(r)?m(r,n):"".concat(n,"=").concat(encodeURIComponent(r))}})).filter(Boolean).flat().join("&")}function v(t){for(var e=[],n=t.length>>>0;n--;)e[n]=t[n];return e}function y(){var t;try{t=void 0===document.currentScript?document._currentScript():document.currentScript}catch(t){console.error(t)}if(t||(t=document.querySelector("[data-la-script]")),!t){var e=v(document.querySelectorAll("script[src]"));t||(t=e[0])}return t}function _(t){for(var e,n={},r=/^data-(.+)/,o=0;o<t.attributes.length;o++){var i=t.attributes[o],a=i.name.match(r);a&&(n[(e=a[1],e.replace(/-([a-z])/gi,(function(t,e){return e.toUpperCase()})))]=i.value)}return n}},765:()=>{!function(){var t=document.getElementsByTagName("script"),e="readyState"in(t[0]||document.createElement("script")),n=!window.opera||"[object Opera]"!==window.opera.toString(),r=e&&n,o=function(t){var e="currentScript"in t,n="function"==typeof Object.getOwnPropertyDescriptor,r="function"==typeof Object.getPrototypeOf,o="object"==typeof"test".__proto__;function a(){var e,r=!0;return n&&(e=Object.getOwnPropertyDescriptor(t,"currentScript")||void 0)&&"function"==typeof e.get&&e.get===i&&(r=!1),r?t.currentScript:null}var c=function t(c,l){var s,u,d,p;return e&&n&&c&&c!==Object.prototype&&l&&l!==Object.prototype&&(n&&(s=Object.getOwnPropertyDescriptor(c,"currentScript")||void 0)&&"function"==typeof s.get&&(u=s.get),u||(u=t((null!=(d=c)&&(p=r?Object.getPrototypeOf(d):o?d.__proto__:null!=d.constructor?d.constructor.prototype:void 0),p),l))),u?u===i&&(u=void 0):u=a,u}(t,t);return c}(document);function i(){if(0===t.length)return null;if(r)for(var e=t.length;e--;)if(t[e]&&"interactive"===t[e].readyState)return t[e];return"function"==typeof o&&!0!==i.doNotDeferToNativeMethod&&o.call(document)||null}i.doNotDeferToNativeMethod=!1;var a=!("currentScript"in document),c="function"==typeof Object.defineProperty&&function(){var t;try{Object.defineProperty(document,"_xyz",{get:function(){return"blah"},configurable:!0}),t="blah"===document._xyz,delete document._xyz}catch(e){t=!1}return t}();document._currentScript=i,a&&c&&void 0!==r&&r&&Object.defineProperty(document,"currentScript",{get:i})}()}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var __webpack_exports__={};(()=>{"use strict";var t=__webpack_require__(216);function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function r(t){var n=function(t,n){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==e(n)?n:n+""}var o=function(){return e=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(r=[{key:"fillState",value:function(){this.setSurferUuid(),this.setPageDepth(),this.setPageLoadUuid(this.getPageLoadUuid()),this.setReferrer(location.href),this.setPreReferrer(document.referrer),this.setTimeZone((0,t.Xd)())}},{key:"fillBlockState",value:function(e,n,r){var o=(0,t._3)(n),i=Object.keys(o).filter((function(t){return"laBlock"!==t})).reduce((function(t,e){return t[e]=o[e],t}),{});this.state.blocks[r]={query:Object.assign(Object.assign({},i),{block_uuid:e,refresh_depth:"",safari_multiple_request:Math.round(.5+1e3*Math.random())}),params:{refresh_timeout:null},data:{}}}},{key:"setBlock",value:function(t,e){this.state.blocks[t].data=e}},{key:"setSurferUuid",value:function(){var e=(0,t.UN)("surfer_uuid")||(0,t.Ui)("surfer_uuid")||(0,t.MI)();this.state.commonQuery.surfer_uuid=e,(0,t.UN)("surfer_uuid")||(0,t.gD)("surfer_uuid",e,{expires:this.state.settings.expiredCookieTime}),(0,t.kq)("surfer_uuid",e)}},{key:"setPageDepth",value:function(){var e,n=window.location.href,r=(0,t.UN)("la_page_depth")||(0,t.Ui)("la_page_depth"),o=1;if(r)try{var i=JSON.parse(r);o=i.depth+1,e=i.last,(0,t.Fg)("la_page_depth",JSON.stringify({last:e,depth:o}))}catch(t){o=1,e=void 0}n!==e&&(0,t.Fg)("la_page_depth",JSON.stringify({last:n,depth:o})),this.state.commonQuery.page_depth=o}},{key:"setPageLoadUuid",value:function(e){var n=(0,t.UN)("page_load_uuid")||(0,t.Ui)("page_load_uuid")||e;this.state.commonQuery.page_load_uuid=n,(0,t.Fg)("page_load_uuid",n),window.addEventListener("beforeunload",(function(){(0,t.aM)("page_load_uuid")}))}},{key:"updateRefreshDepth",value:function(t){var e=this.state.blocks[t].query.refresh_depth;this.state.blocks[t].query.refresh_depth=e?e+1:1}},{key:"setReferrer",value:function(t){this.state.commonQuery.referrer=t}},{key:"setPreReferrer",value:function(t){this.state.commonQuery.pre_referrer=t}},{key:"setTimeZone",value:function(t){this.state.commonQuery.time_zone=t}},{key:"setFoundBlocks",value:function(t){this.state.foundBlocks.push(t)}},{key:"setBlockRefreshTimeout",value:function(t,e){this.state.blocks[t].params.refresh_timeout=e}},{key:"setConfirmedBlockShow",value:function(t){this.state.confirmedShow[t]=[]}},{key:"setConfirmedMedias",value:function(t,e){var n;null===(n=this.state.confirmedShow[t])||void 0===n||n.push(e),this.state.confirmedAdShowIds.push(e)}},{key:"getPageLoadUuid",value:function(){var e=window.pageLoadUuid;return"string"==typeof e&&e.length>0?e:(0,t.MI)()}}])&&n(e.prototype,r),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,o}();function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),c=new C(r||[]);return o(a,"_invoke",{value:L(t,n,c)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",y="completed",_={};function g(){}function b(){}function w(){}var k={};d(k,l,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(I([])));S&&S!==n&&r.call(S,l)&&(k=S);var E=w.prototype=g.prototype=Object.create(k);function P(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,a,c,l){var s=f(t[o],t,a);if("throw"!==s.type){var u=s.arg,d=u.value;return d&&"object"==i(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):e.resolve(d).then((function(t){u.value=t,c(u)}),(function(t){return n("throw",t,c,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function L(e,n,r){var o=h;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=A(c,r);if(l){if(l===_)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:m,s.arg===_)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,_;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,_):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,_)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function B(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return b.prototype=w,o(E,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:b,configurable:!0}),b.displayName=d(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,d(t,u,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},P(O.prototype),d(O.prototype,s,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(p(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},P(E),d(E,u,"Generator"),d(E,l,(function(){return this})),d(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=I,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(B),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),B(n),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;B(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),_}},e}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function l(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var s=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function c(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}l((r=r.apply(t,e||[])).next())}))},u=function(){return e=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(n=[{key:"getBlock",value:function(e){return s(this,void 0,void 0,a().mark((function n(){var r;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.$request({type:"GET",url:"/api/sunshine?".concat((0,t.QT)(Object.assign(Object.assign({},this.state.commonQuery),this.state.blocks[e].query)))});case 2:r=n.sent,this.mutations.setBlock(e,r.response);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"getOneAdForBlock",value:function(e,n){var r=this.state.blocks[e].query,o=r.block_uuid,i=r.refresh_depth,a=this.state.commonQuery,c=a.surfer_uuid,l=a.page_load_uuid,s=a.page_depth;return this.$request({type:"GET",url:"/api/feed/ad?".concat((0,t.QT)({block_uuid:o,surfer_uuid:c,page_load_uuid:l,ads_quantity:1,page_depth:s,refresh_depth:i,block_order_number:1,block_show_uuid:n}))})}},{key:"makeConfirmationRequest",value:function(e){return s(this,void 0,void 0,a().mark((function n(){var r,o,i,c;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=e.queryParams,o=e.mediasIds,i=e.blockUniqId,c=e.route,n.prev=1,n.abrupt("return",this.$request({type:"POST",url:"/v4/confirm/".concat(c,"?").concat((0,t.QT)(r)),data:{confirmedAction:!0}}));case 5:n.prev=5,n.t0=n.catch(1),this.confirmMedia(o,i);case 8:case"end":return n.stop()}}),n,this,[[1,5]])})))}},{key:"confirmBlockShow",value:function(t,e,n){this.state.confirmedShow[n]||this.mutations.setConfirmedBlockShow(n);var r={uuid:t};return this.makeConfirmationRequest({queryParams:r,mediasIds:e,blockUniqId:n,route:"block"})}},{key:"confirmAdShow",value:function(t,e,n){var r=this;(t=Array.from(new Set(t))).forEach((function(t){r.mutations.setConfirmedMedias(e,t)}));var o={uuid:t,ad_ids:n,surfer_uuid:this.state.commonQuery.surfer_uuid};return this.makeConfirmationRequest({queryParams:o,mediasIds:t,blockUniqId:e,route:"ad"})}},{key:"confirmMedia",value:function(t,e){var n=this.state.confirmedShow[e].filter((function(e){return!t.includes(e)}));this.mutations.setConfirmedMedias(e,n)}}])&&c(e.prototype,n),r&&c(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r}(),d=__webpack_require__(884),p=(0,t.YZ)(),f=document.createElement("a");f.href=p.src;var h=f.protocol+"//"+f.host;function m(e){var n=e.url,r="/v4/confirm";if(e.data&&e.data.confirmedAction)n=n.replace(r,""+r);else{0,n=n.replace("/api","/v4")}return e.url=h+n,(0,t.vE)(e)}function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,g(r.key),r)}}function _(t,e,n){return e&&y(t.prototype,e),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function g(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e,n){return e=x(e),function(t,e){if(e&&("object"==v(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,k()?Reflect.construct(e,n||[],x(t).constructor):e.apply(t,n))}function k(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(k=function(){return!!t})()}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function S(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&E(t,e)}function E(t,e){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},E(t,e)}if(__webpack_require__(765),!window.laScriptLoaded){window.laScriptLoaded=!0;var P={settings:{hoverStylesRegex:/\.[a-zA-Z_-][^</>}{]*:hover[^</>}{]*\{([^}]*)*\}/g,defaultRefreshTimeout:3e4,defaultIntervalForParseBlocksAfterSearch:1e3,defaultIntervalForParseBlocksBeforeSearch:50,defaultTimeoutForObserver:200,visiblePercentForConfirmBlock:.7,visiblePercentForConfirmAd:.7,expiredCookieTime:86400},commonQuery:{surfer_uuid:"",referrer:"",pre_referrer:"",time_zone:"",page_load_uuid:"",page_depth:""},infiniteBlocks:[],blocks:{},confirmedShow:[],confirmedAdShowIds:[],foundBlocks:[],newsUrl:"https://feryingdamensor.com/fddae40d-3ba8-48bf-878c-9d8c78354c3e"},O=new(function(t){function e(){var t;return b(this,e),(t=w(this,e,arguments)).state=P,t}return S(e,t),_(e)}(o)),L=new(function(t){function e(){var t;return b(this,e),(t=w(this,e,arguments)).state=P,t.mutations=O,t.$request=m,t}return S(e,t),_(e)}(u)),A=new(function(t){function e(){var t;return b(this,e),(t=w(this,e,arguments)).state=P,t.mutations=O,t.actions=L,t}return S(e,t),_(e)}(d.A));O.fillState(),A.parseBlocks()}})()})();