!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!w[e]||!_[e])return;for(var n in _[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(m[n]=t[n]);0==--v&&0===g&&k()}(e,n),t&&t(e,n)};var n,i=!0,o="56ec6ad412fa3f83e734",r={},a=[],s=[];function c(e){var t=I[e];if(!t)return S;var i=function(i){return t.hot.active?(I[i]?-1===I[i].parents.indexOf(e)&&I[i].parents.push(e):(a=[e],n=i),-1===t.children.indexOf(i)&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),a=[]),S(i)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return S[e]},set:function(t){S[e]=t}}};for(var r in S)Object.prototype.hasOwnProperty.call(S,r)&&"e"!==r&&"t"!==r&&Object.defineProperty(i,r,o(r));return i.e=function(e){return"ready"===d&&f("prepare"),g++,S.e(e).then(t,(function(e){throw t(),e}));function t(){g--,"prepare"===d&&(b[e]||M(e),0===g&&0===v&&k())}},i.t=function(e,t){return 1&t&&(e=i(e)),S.t(e,-2&t)},i}function u(t){var i={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:n!==t,active:!0,accept:function(e,t){if(void 0===e)i._selfAccepted=!0;else if("function"==typeof e)i._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&i._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,d){case"idle":(m={})[t]=e[t],f("ready");break;case"ready":q(t);break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(t)}},check:z,apply:j,status:function(e){if(!e)return d;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:r[t]};return n=void 0,i}var l=[],d="idle";function f(e){d=e;for(var t=0;t0;){var o=i.pop(),r=o.id,a=o.chain;if((l=I[r])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:r};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:r};for(var s=0;s ")),k.type){case"self-declined":i.onDeclined&&i.onDeclined(k),i.ignoreDeclined||(j=new Error("Aborted because of self decline: "+k.moduleId+N));break;case"declined":i.onDeclined&&i.onDeclined(k),i.ignoreDeclined||(j=new Error("Aborted because of declined dependency: "+k.moduleId+" in "+k.parentId+N));break;case"unaccepted":i.onUnaccepted&&i.onUnaccepted(k),i.ignoreUnaccepted||(j=new Error("Aborted because "+d+" is not accepted"+N));break;case"accepted":i.onAccepted&&i.onAccepted(k),q=!0;break;case"disposed":i.onDisposed&&i.onDisposed(k),T=!0;break;default:throw new Error("Unexception type "+k.type)}if(j)return f("abort"),Promise.reject(j);if(q)for(d in _[d]=m[d],v(b,k.outdatedModules),k.outdatedDependencies)Object.prototype.hasOwnProperty.call(k.outdatedDependencies,d)&&(g[d]||(g[d]=[]),v(g[d],k.outdatedDependencies[d]));T&&(v(b,[k.moduleId]),_[d]=z)}var L,C=[];for(c=0;c0;)if(d=E.pop(),l=I[d]){var P={},B=l.hot._disposeHandlers;for(u=0;u=0&&R.parents.splice(L,1))}}for(d in g)if(Object.prototype.hasOwnProperty.call(g,d)&&(l=I[d]))for(D=g[d],u=0;u=0&&l.children.splice(L,1);f("apply"),void 0!==h&&(o=h,h=void 0);for(d in m=void 0,_)Object.prototype.hasOwnProperty.call(_,d)&&(e[d]=_[d]);var U=null;for(d in g)if(Object.prototype.hasOwnProperty.call(g,d)&&(l=I[d])){D=g[d];var H=[];for(c=0;c0?(this.removeValueBeforeParameters(),this.get()):void 0:this.extractParamsFromQueryString()}},{key:"extractParamsFromQueryString",value:function(){var t=Object.create({});return this.url.split("&").forEach((function(e){if(e.includes("=")){var n=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t-1&&this.elementList.splice(t,1)}},{key:"_init",value:function(){var e=this,t=(0,s.default)((function(t){var n=[];e.elementList.forEach((function(i){!function(e,t){return e.clientX,e.clientY,e.clientX<=t.right&&e.clientX>=t.left&&e.clientY<=t.bottom&&e.clientY>=t.top}(t,i._elementBounds)?e.options.persistent||n.push(i):i._callback.call(i,t)})),e.elementList=n}),e.options.throttleTime||100);this.eventCallback=t,document.addEventListener("mousemove",t)}},{key:"destory",value:function(){this.elementList=null,document.removeEventListener("mousemove",this.eventCallback)}}]),e}();t.default=c},function(e,t,n){"use strict";var i=n(5),o=n(0);e.exports=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),i(e,t,{leading:r,maxWait:t,trailing:a})}},function(e,t,n){"use strict";var i=n(0),o=n(6),r=n(9),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,d,f,p,m=0,h=!1,y=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,i=u;return c=u=void 0,m=t,d=e.apply(i,n)}function b(e){return m=e,f=setTimeout(w,t),h?g(e):d}function _(e){var n=e-p;return void 0===p||n>=t||n<0||y&&e-m>=l}function w(){var e=o();if(_(e))return x(e);f=setTimeout(w,function(e){var n=t-(e-p);return y?s(n,l-(e-m)):n}(e))}function x(e){return f=void 0,v&&c?g(e):(c=u=void 0,d)}function z(){var e=o(),n=_(e);if(c=arguments,u=this,p=e,n){if(void 0===f)return b(p);if(y)return f=setTimeout(w,t),g(p)}return void 0===f&&(f=setTimeout(w,t)),d}return t=r(t)||0,i(n)&&(h=!!n.leading,l=(y="maxWait"in n)?a(r(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),z.cancel=function(){void 0!==f&&clearTimeout(f),m=0,c=p=u=f=void 0},z.flush=function(){return void 0===f?d:x(o())},z}},function(e,t,n){"use strict";var i=n(1);e.exports=function(){return i.Date.now()}},function(e,t,n){"use strict";(function(t){var n="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},i="object"==(void 0===t?"undefined":n(t))&&t&&t.Object===Object&&t;e.exports=i}).call(t,n(8))},function(e,t,n){"use strict";var i,o="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};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i=n(0),o=n(10),r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){"use strict";var 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},o=n(11),r=n(14);e.exports=function(e){return"symbol"==(void 0===e?"undefined":i(e))||r(e)&&"[object Symbol]"==o(e)}},function(e,t,n){"use strict";var i=n(2),o=n(12),r=n(13),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):r(e)}},function(e,t,n){"use strict";var i=n(2),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=r.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var o=a.call(e);return i&&(t?e[s]=n:delete e[s]),o}},function(e,t,n){"use strict";var i=Object.prototype.toString;e.exports=function(e){return i.call(e)}},function(e,t,n){"use strict";var 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.exports=function(e){return null!=e&&"object"==(void 0===e?"undefined":i(e))}}])},e.exports=i()},function(e,t,n){e.exports=n(22)},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),u=1;u1)for(var n=1;ns?r.delay=setTimeout((function(){r.id=setInterval(a,o),a()}),o-s):(r.id=setInterval(a,o),a())}else r.id=setInterval(a,o)},e._stop=function(t){var n=e._timers[t];clearInterval(n.id),clearTimeout(n.delay),delete n.id,delete n.delay},e._stopRun=function(t){var n=e.hidden(),i=e._wasHidden;if(n&&!i||!n&&i)for(var o in e._timers)e._stop(o),e._run(o,!n)},e};e.exports?e.exports=o(n(14)):o(t.Visibility||n(14))}(window)},,,,function(e,t,n){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMNCIgeG1sbnM9Imh0dHA6Ly93d3cudz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yNi43MjIyQzEyLjUwOTcgMjcuNTczNyAxMS4xMjkyIDI3LjU3MzcgMTAuMjc3OCAyNi43MjIyQzkuNDI2MzQgMjUuODcwOCA5LjQyNjM0IDI0LjQ5MDMgMTAuMjc3OCAyMy42Mzg5TDE1LjQxNjcgMTguNUwxMC4yNzc4IDEzLjM2MTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},,,function(e,t,n){"use strict";var i=n(1),o=n.n(i),r=n(7),a={insert:"head",singleton:!1},s=o()(r.default,a);if(!r.default.locals||e.hot.invalidate){var c=r.default.locals;e.hot.accept(7,function(t){r=n(7),function(e,t,n){if(!e&&t||e&&!t)return!1;var i;for(i in e)if((!n||"default"!==i)&&e[i]!==t[i])return!1;for(i in t)if(!(n&&"default"===i||e[i]))return!1;return!0}(c,r.default.locals,void 0)?(c=r.default.locals,s(r.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));r.default.locals},function(e,t,n){"use strict";var i=n(1),o=n.n(i),r=n(8),a={insert:"head",singleton:!1},s=o()(r.default,a);if(!r.default.locals||e.hot.invalidate){var c=r.default.locals;e.hot.accept(8,function(t){r=n(8),function(e,t,n){if(!e&&t||e&&!t)return!1;var i;for(i in e)if((!n||"default"!==i)&&e[i]!==t[i])return!1;for(i in t)if(!(n&&"default"===i||e[i]))return!1;return!0}(c,r.default.locals,void 0)?(c=r.default.locals,s(r.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));r.default.locals},function(e,t,n){"use strict";var i=n(1),o=n.n(i),r=n(9),a={insert:"head",singleton:!1},s=o()(r.default,a);if(!r.default.locals||e.hot.invalidate){var c=r.default.locals;e.hot.accept(9,function(t){r=n(9),function(e,t,n){if(!e&&t||e&&!t)return!1;var i;for(i in e)if((!n||"default"!==i)&&e[i]!==t[i])return!1;for(i in t)if(!(n&&"default"===i||e[i]))return!1;return!0}(c,r.default.locals,void 0)?(c=r.default.locals,s(r.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));r.default.locals},function(e,t,n){"use strict";var i=n(1),o=n.n(i),r=n(10),a={insert:"head",singleton:!1},s=o()(r.default,a);if(!r.default.locals||e.hot.invalidate){var c=r.default.locals;e.hot.accept(10,function(t){r=n(10),function(e,t,n){if(!e&&t||e&&!t)return!1;var i;for(i in e)if((!n||"default"!==i)&&e[i]!==t[i])return!1;for(i in t)if(!(n&&"default"===i||e[i]))return!1;return!0}(c,r.default.locals,void 0)?(c=r.default.locals,s(r.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));r.default.locals},function(e,t,n){"use strict";var i=n(1),o=n.n(i),r=n(11),a={insert:"head",singleton:!1},s=o()(r.default,a);if(!r.default.locals||e.hot.invalidate){var c=r.default.locals;e.hot.accept(11,function(t){r=n(11),function(e,t,n){if(!e&&t||e&&!t)return!1;var i;for(i in e)if((!n||"default"!==i)&&e[i]!==t[i])return!1;for(i in t)if(!(n&&"default"===i||e[i]))return!1;return!0}(c,r.default.locals,void 0)?(c=r.default.locals,s(r.default)):e.hot.invalidate()}.bind(this))}e.hot.dispose((function(){s()}));r.default.locals},function(e,t,n){"use strict";n.r(t);var i=n(0),o=n.n(i),r=n(17),a=n.n(r);function s(e){return(s="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 c="function"==typeof Symbol&&"symbol"===s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)}; /*! * before-leaving-me.js * ==================== * Do thing before the user leaves your web page. * * Developed with JavaScript and <3 by Ionică Bizău. * */var u=function(){var e={},t=["roistat_visit","roistat_first_visit","lp_tracker","_comagic","_userid","_ym_uid","carrotquest_uid","sessionId","session_id","_fbp","_fbc","advcake_track_id","advcake_track_url","fb_login_id","clbvid"],n=["_ga"],i=o.a.get(),r=function(o){t.forEach((function(t){o&&o.indexOf(t)>=0&&(e[o]=i[o])})),n.indexOf(o)>=0&&(e[o]=i[o])};for(var a in i)r(a);try{!e.roistat_visit&&localStorage.getItem("roistat_visit")&&(e.roistat_visit=localStorage.getItem("roistat_visit"))}catch(e){}return e},l=n(3),d=n(16),f=n.n(d),p=n(13);function m(){var e=Object(p.detect)();return(null===e||e&&["ios","iOS"].indexOf(e.os)>=0)&&document.body.clientWidth<1023}function h(){if(m()){var e=Object(p.detect)(),t=Number(parseInt(e&&e.version));return t&&t>=13}}var y=n(12),v=n.n(y),g=n(15);function b(){return(b=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t={};if(t.href=window.location.href,document.referrer&&(t.referrer=document.referrer),t.mode="modal",this.isTest&&(t.test=1),this.contacts){var n={};for(var i in this.contacts)try{n["field_".concat(btoa(i))]=btoa(this.contacts[i])}catch(e){}t=b(t,n)}t=b(t,this._query),t=b(t,e);try{t=b(t,v.a.parse(window.location.search))}catch(e){}var o=u();"{}"!==JSON.stringify(o)&&(t.cookies=JSON.stringify(o));var r=this._getGAClientId();return r&&(t._ga=r),t=b(t,this._getUrlParams()),"{}"!==JSON.stringify(this._params)&&(t.params=JSON.stringify(this._params)),"".concat(this._getHost(),"/").concat(this.id,"?").concat(v.a.stringify(t))}},{key:"addParam",value:function(e,t){this._params[e]=t,this.frame&&this.sendDataToFrame("addParam",this._params)}},{key:"sendDataToFrame",value:function(e,t){this.frame.contentWindow.postMessage({method:e,data:t},"*")}},{key:"_getUrlParams",value:function(){var e={},t=o.a.get("marquiz__url_params");t&&(e=JSON.parse(t));var n={};try{window.location.search&&(n=new g.Utm(window.location.search).get())}catch(e){}e=b(e,n);var i=["yclid","ymclid","gclid","fbclid","ad"],r=v.a.parse(window.location.search);for(var a in r)i.indexOf(a)>=0&&(e[a]=r[a]);return o.a.set("marquiz__url_params",JSON.stringify(e),{expires:7}),e}},{key:"_getGAClientId",value:function(){var e=o.a.get("_ga");if(!e)return null;var t=/GA([0-9]+).([0-9]+).([0-9]+).([0-9]+)/.exec(e);return"".concat(t[3],".").concat(t[4])}},{key:"_getHost",value:function(){try{if(Array.from(document.scripts).find((function(e){return/script.marquiz.io/i.test(e.src)})))return"//quiz.marquiz.io"}catch(e){console.error("marquiz__error",e)}return this.host}}])&&_(t.prototype,n),i&&_(t,i),e}();function x(e){return(x="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 z(e,t){for(var n=0;n0&&void 0!==arguments[0]&&arguments[0];if(!this.viewport){var t=document.head.querySelector("meta[name=viewport]");t?(this.viewport=t,this.viewportContent=t.content):(this.viewport=document.createElement("meta"),this.viewport.name="viewport",document.head.appendChild(this.viewport))}e?this.viewport.setAttribute("content",this.viewportContent||""):this.viewport.setAttribute("content","width=device-width, initial-scale=1")}},{key:"_removeHash",value:function(){history.pushState("",document.title,window.location.pathname+window.location.search)}}],(n=[{key:"createModalContent",value:function(){if(!this.frame){var e=document.getElementById("marquiz__frame_".concat(this.id));if(e)this.frame=e;else{var t=document.createElement("iframe");t.id="marquiz__frame_".concat(this.id),t.className="marquiz__frame",t.src=this.createUrl(),t.scrolling="auto",t.frameBorder=0,t.allow="autoplay",this.frame=t,r.modal.appendChild(t)}}}},{key:"show",value:function(){if(!r.activeModal&&(r._scrollY=window.scrollY,this.frame||this.createModalContent(),this.frame)){if(Object(l.disableBodyScroll)(r.modal),m()){if(!h())return r._closeModal(),void window.open(this.frame.src);document.body.classList.add("marquiz__scroll-fix")}r.bg.height=window.height,r._changeViewport(),r.bg.classList.add("marquiz__bg_open"),r.activeModal=this,this.frame.classList.add("marquiz__frame_open"),this.sendDataToFrame("openModal")}}},{key:"setFrameHeight",value:function(e){if(this.frame){if(document.body.clientWidth<1023)return;window.innerHeight\n \n \n \n '};n(31);function N(e){return(N="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 L(e,t){for(var n=0;n\n \n\n'},Z=function(){return'\n \n'};n(33);function Q(e){return(Q="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 X(e,t){for(var n=0;n«').concat(i,"»"),o}},{key:"_addClosePopButton",value:function(){var e=this,t=this.element.parentNode,n=document.createElement("span"),i=document.createElement("span");n.classList.add("marquiz-pops__close-wrapper"),i.classList.add("marquiz-pops__close"),i.innerHTML=Z(),n.appendChild(i),t.appendChild(n),this.element.onclick=function(t){t.preventDefault(),e.show()},n.addEventListener("click",(function(){t.style.display="none"}),!1)}},{key:"_setPopsColors",value:function(e){["data-marquiz-pop-text-color","data-marquiz-pop-background-color","data-marquiz-pop-svg-color","data-marquiz-pop-close-color","data-marquiz-pop-color-pulse","data-marquiz-pop-color-pulse-alpha"].forEach((function(t){try{var n=t.split("-").slice(1).join("-");e.parentNode.style.setProperty("--".concat(n),e.getAttribute(t))}catch(e){console.error(e)}}))}},{key:"_setDelay",value:function(e){var t,n=this;t=void 0!==e?e:this.element.dataset.marquizPopDelay?parseInt(this.element.dataset.marquizPopDelay):0,setTimeout((function(){n.element.parentNode.style.display="flex"}),1e3*t)}},{key:"_addBonuses",value:function(e,t){var n,i;if(n=void 0!==e?e:Number(this.element.getAttribute("data-marquiz-pop-bonuses")),t?((i=document.createElement("span")).classList.add("marquiz-pops__bonus"),i.innerHTML=t,this.element.appendChild(i)):i=this.element.getElementsByClassName("marquiz-pops__bonus")[0],i&&n>0){var o=document.createElement("span");o.classList.add("marquiz-pops__bonus-icon"),o.innerHTML=F();var r=document.createElement("span");r.classList.add("marquiz-pops__bonus-count"),r.innerHTML=n,o.appendChild(r),i.insertBefore(o,i.firstChild)}}},{key:"_setIcon",value:function(){this.element.getElementsByClassName("marquiz-pops__icon")[0].innerHTML=T()}},{key:"_addMouseEvent",value:function(e){var t=this;S.mouseNear.add(this.element,(function(){!1!==e&&t.createModalContent()}))}}])&&X(t.prototype,n),i&&X(t,i),r}(S);function te(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:300,i=arguments.length>2?arguments[2]:void 0;this.moving||(this.cbBeforeFinish(e,n,i),this.target.style.transition="".concat(n,"ms ease-out"),this.target.style.transform="translate3d(0, 110%, 0)",setTimeout((function(){t.target.style.transition="",t.target.style.transform="translate3d(0, 0, 0)",t.cbFinish(e,n,i)}),n))}},{key:"_createTapElement",value:function(e,t){"static"===window.getComputedStyle(e).position&&(e.style.position="relative");var n=document.createElement("span");n.classList.add("tap-target"),n.setAttribute("style","position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; overscroll-behavior: none;"),e.append(n);var i=t.top,o=void 0===i?0:i,r=t.bottom,a=void 0===r?0:r,s=t.right,c=void 0===s?0:s,u=t.left,l=void 0===u?0:u;return n.style.top="-".concat(o),n.style.height="calc(".concat(n.style.height," + ").concat(o,")"),n.style.bottom=a,n.style.height="calc(".concat(n.style.height," + ").concat(a,")"),n.style.right=c,n.style.width="calc(".concat(n.style.width," + ").concat(c,")"),n.style.left="-".concat(l),n.style.width="calc(".concat(n.style.width," + ").concat(l,")"),n}},{key:"_init",value:function(){this.moving=!1,this._isTouchDevice()||this.tapTarget.addEventListener("click",this.close.bind(this)),this.tapTarget.addEventListener("touchstart",this._start.bind(this)),this.tapTarget.addEventListener("touchmove",this._throttle(this._move,25).bind(this)),this.tapTarget.addEventListener("touchend",this._finish.bind(this))}},{key:"_start",value:function(e){this.moving=!0;var t=e.changedTouches[0];this.startPosY=t.pageY,this.startPosX=t.pageX,this.startTime=e.timeStamp,this.cbStart(e)}},{key:"_move",value:function(e){if(this.moving){var t=e.changedTouches[0],n=this._getDistanceForClosing(),i=this._getDistance(t),o=100*i/this.target.clientHeight;this._translate(t),this._borderPassingHandler(e,i,o,n),this.cbMoving(e,i,o)}}},{key:"_finish",value:function(e){this.moving=!1;var t=e.changedTouches[0],n=this._getDistance(t),i=this._getDistanceForClosing(),o=e.timeStamp-this.startTime;o<=this.maxSpeed&&n>=this.minDistance?this.close(e,o,n):n>i?this.close(e,300,n):this.back(e,o,n)}},{key:"_translate",value:function(e){switch(this.direction){case"bottom":e.pageY>=this.startPosY?this.target.style.transform="translate3d(0, ".concat(e.pageY-this.startPosY,"px, 0)"):this.target.style.transform="translate3d(0, 0, 0)";break;case"top":e.pageY<=this.startPosY?this.target.style.transform="translate3d(0, ".concat(e.pageY-this.startPosY,"px, 0)"):this.target.style.transform="translate3d(0, 0, 0)";break;case"right":e.pageX>=this.startPosX?this.target.style.transform="translate3d(".concat(e.pageX-this.startPosX,"px, 0, 0)"):this.target.style.transform="translate3d(0, 0, 0)";break;case"left":e.pageX<=this.startPosX?this.target.style.transform="translate3d(".concat(e.pageX-this.startPosX,"px, 0, 0)"):this.target.style.transform="translate3d(0, 0, 0)"}}},{key:"_borderPassingHandler",value:function(e,t,n,i){t>i?this.borderHasPassed||(this.cbReadyToClose(e,t,n),this.borderHasPassed=!0,this.vibration&&this._vibrate()):this.borderHasPassed&&(this.borderHasPassed=!1,this.cbNotReadyToClose(e,t,n))}},{key:"_getDistanceForClosing",value:function(){var e=this.target.clientHeight;return"%"===this.distance.slice(-1)?e*parseFloat(this.distance)/100:"px"===this.distance.slice(-2)?parseFloat(this.distance):e/2}},{key:"_getDistance",value:function(e){return"bottom"===this.direction||"top"===this.direction?e.pageY-this.startPosY:e.pageX-this.startPosX}},{key:"_vibrate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:35;if(!window.navigator||!window.navigator.vibrate)try{window.navigator.vibrate(e)}catch(e){console.log(e)}}},{key:"_isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints}},{key:"_throttle",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=null;return function(){for(var i=this,o=arguments.length,r=new Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:function(){};this.appearDelayPassed&&this.loaded&&!o.a.get("marquiz__widget-closed")&&(this.element.style.display="flex",this.element.classList.add("marquiz-widget__container_fade"),this.element.onanimationend=function(){e.element.classList.remove("marquiz-widget__container_fade"),t()})}},{key:"_appearAfterClosing",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.element.style.display="none",setTimeout((function(){e._appear()}),t)}},{key:"_open",value:function(){var e=this;this.element.parentNode.classList.add("marquiz-widget_open"),this.element.classList.add("marquiz-widget__container_open-fade"),this.element.onanimationend=function(){e.element.classList.remove("marquiz-widget__container_open-fade")},"mobile"===this._getWidgetType()&&(Object(l.disableBodyScroll)(this.element.parentNode),m()&&(h()?document.body.classList.add("marquiz__scroll-fix"):(this._finish(),window.open(this.createUrl()))))}},{key:"_close",value:function(){var e=this;Object(l.clearAllBodyScrollLocks)(),document.body.classList.remove("marquiz__scroll-fix");var t=this.element.classList,n=this.element.parentNode.classList;this.disableIfClosed&&o.a.set("marquiz__widget-closed",!0,{expires:1}),"mobile"!==this._getWidgetType()?(t.add("marquiz-widget__container_closing"),this.element.onanimationend=function(){t.remove("marquiz-widget__container_closing"),n.remove("marquiz-widget_open"),e.finish?e._finish():e._appearAfterClosing(750)}):(this.sendDataToFrame("closeWidget"),n.remove("marquiz-widget_open"),this.finish?this._finish():this._appearAfterClosing(750))}},{key:"_finish",value:function(){Object(l.clearAllBodyScrollLocks)(),this.element.parentNode.style.display="none"}},{key:"_setAppearDelay",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;setTimeout((function(){e.appearDelayPassed=!0,e._appear((function(){void 0!==e.autoOpenDelay&&e._setOpeningDelay(e.autoOpenDelay)}))}),1e3*t)}},{key:"_setOpeningDelay",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;setTimeout((function(){e.sendDataToFrame("openWidget"),e._open()}),1e3*t)}},{key:"_setHeight",value:function(e){this.element.style.setProperty("--widget-height",e||"50px")}},{key:"_getWidgetType",value:function(){return window.innerWidth<=767?window.innerWidth<=480?"mobile":"tablet":"desktop"}},{key:"_setBackgroundChanging",value:function(){var e=this;return{cbMoving:function(t,n,i){var o=i/50;e.element.parentNode.style.backgroundColor="rgba(0, 0, 0, ".concat(.3-.3*o,")")},cbBeforeBack:function(t,n){e.element.parentNode.style.transition="".concat(n,"ms ease-out"),e.element.parentNode.style.backgroundColor="rgba(0, 0, 0, .3)",setTimeout((function(){e.element.parentNode.style.transition=""}),n)},cbBeforeFinish:function(t,n){e.element.parentNode.style.transition="".concat(n,"ms ease-out"),e.element.parentNode.style.backgroundColor="rgba(0, 0, 0, 0)",setTimeout((function(){e.element.parentNode.style.transition=""}),n)}}}}])&&ae(t.prototype,n),i&&ae(t,i),a}(w);n(35);function fe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pe(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 pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"#popup:marquiz_",n=e.indexOf(t);return n>=0?e.slice(n+t.length):null}},{key:"_getTypeOfQuiz",value:function(e){return e.getAttribute("data-marquiz-pop")?"pop":e.parentElement.classList.contains("marquiz__container_inline")?"inline":"button"}},{key:"_autoOpenQuiz",value:function(e){var t=this,n=e.autoOpenFreq,i=e.autoOpen,o=e.openOnExit,r=e.disableOnMobile&&document.body.clientWidth<768;this.id&&!r&&("always"!==n&&this._getOpenCount(this.id)>0||((!1!==i||o)&&setTimeout((function(){var e=new S({id:t.id});e.createModalContent(),t.quizzes.push(e)}),500),o&&this._beforeLeaveListener(),!1!==i&&setTimeout((function(){t.wasOpened||t._showModalWhenMounted(t.id,200)}),1e3*i)))}},{key:"_checkLocation",value:function(){var e=/#popup:marquiz_(\w+)/,t=location.hash&&location.hash.match(e)&&location.hash.match(e)[1];t&&this.showModal(t),location.hash&&location.hash.match(/#popup:marquiz$/)&&this.showModal(this.quizzes[0]&&this.quizzes[0].id)}},{key:"_beforeLeaveListener",value:function(){var e=this;!function(e){Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,i;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),r=o.length>>>0;if("function"!=typeof e)throw new TypeError("".concat(e," is not a function"));for(arguments.length>1&&(n=t),i=0;it.min_y||f>=0||t.min_speed