(function(t){function e(e){for(var n,s,c=e[0],l=e[1],d=e[2],h=e[3]||[],m=0,p=[];m=0?"https://www.marquiz.ru?utm_source=widget&utm_content=".concat(this.id):"https://www.marquiz.io?utm_source=widget&utm_content=".concat(this.id)}})},u=o,c=(i("94b4"),i("2877")),l=Object(c["a"])(u,n,s,!1,null,"d21d9eaa",null);e["a"]=l.exports},"0287":function(t,e,i){"use strict";var n=i("337b"),s=i.n(n);s.a},"02ee":function(t,e,i){},"030a":function(t,e,i){"use strict";var n=i("04bf"),s=i.n(n);s.a},"04bf":function(t,e,i){},"0ab0":function(t,e,i){t.exports=i.p+"img/price.5be68ab1.png"},"0ce4":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.text?i("div",{staticClass:"assistant-mobile",class:{"assistant-mobile_expanded":t.expanded,"assistant-mobile_has-more":t.hasMore},on:{click:t.toggleText}},[i("div",{staticClass:"assistant-mobile__avatar"},[t.imageUrl?i("img",{attrs:{src:t.imageUrl}}):i("img",{attrs:{src:t.avatar}})]),i("div",{ref:"text",staticClass:"assistant-mobile__text"},[i("div",{staticClass:"assistant-mobile__name"},[i("div",{staticClass:"assistant-mobile__title"},[t._v(t._s(t.firstName))]),t.assistant.title?i("div",{staticClass:"assistant-mobile__subtitle"},[i("div",{staticClass:"assistant-mobile__status"}),i("span",[t._v(t._s(t.assistant.title))])]):t._e()]),i("transition",{attrs:{name:"assistant-mobile__text-html_animation_slide",mode:"out-in"},on:{"before-enter":t.reinit,enter:t.setHasMore}},[i("div",{key:t.activeQuestion,ref:"assistantText",staticClass:"assistant-mobile__text-html"},[i("span",{domProps:{innerHTML:t._s(t.textHtml)}})])]),t.hasMore?i("ArrowDown",{staticClass:"assistant-mobile__arrow"}):t._e()],1)]):t._e()},s=[],a=(i("7f7f"),i("cebc")),r=i("6625"),o=i.n(r),u=i("2f62"),c=i("46b5"),l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"15.862",height:"9.042",viewBox:"0 0 15.862 9.042"}},[i("path",{attrs:{d:"M7.146 8.716l-6.82-6.82A1.111 1.111 0 0 1 1.897.325l6.034 6.036L13.962.325a1.112 1.112 0 0 1 1.575 1.571l-6.82 6.82a1.111 1.111 0 0 1-1.571 0z","data-name":"Path 209"}})])},d=[],f=i("2877"),h={},m=Object(f["a"])(h,l,d,!1,null,null,null),p=m.exports,g={extends:c["a"],components:{ArrowDown:p},mounted:function(){this.setHasMore()},props:{assistant:Object,text:String},data:function(){return{hasMore:!1,expanded:!1}},computed:Object(a["a"])({},Object(u["d"])("quiz",["activeQuestion"]),{firstName:function(){return o()(this.assistant.name," ")[0]}}),methods:{toggleText:function(){this.$refs.assistantText&&this.hasMore&&(this.expanded=!this.expanded)},setHasMore:function(){if(this.$refs.assistantText){var t=parseInt(window.getComputedStyle(this.$refs.assistantText).lineHeight,10);this.hasMore=this.$refs.assistantText.scrollHeight>t}},reinit:function(){this.hasMore=!1,this.expanded=!1}}},b=g,v=(i("0d14"),Object(f["a"])(b,n,s,!1,null,null,null));e["a"]=v.exports},"0d14":function(t,e,i){"use strict";var n=i("cb5b"),s=i.n(n);s.a},"103e":function(t,e,i){"use strict";var n=i("e9ba"),s=i.n(n);s.a},1043:function(t,e,i){"use strict";var n=i("cebc"),s=i("9b02"),a=i.n(s),r=i("2f62");e["a"]={computed:Object(n["a"])({},Object(r["d"])("quiz",["settings"]),{customPhrases:function(){return a()(this.settings,"customPhrases",{})},defaultPhrases:function(){return{questionsNextButton:this.$t("Next"),lastStepButton:this.$t("Last step"),correctMessage1:this.$t("It's like that"),correctMessage2:this.$t("All correct"),correctMessage3:this.$t("Precisely!"),correctMessage4:this.$t("Yeah, correct"),correctMessage5:this.$t("Exactly!"),correctMessage6:this.$t("Oh, yeah"),correctMessage7:this.$t("Absolutely"),wrongMessage:this.$t("Actually"),calculation:"".concat(this.$t("Results calculation running"),"..."),emptyResults:this.$t("Results skipped because no matching auto-result found"),resultsSkipButton:this.$t("Skip"),resultsSkipMessage:"".concat(this.$t("I do not know what to choose"),"…"),takeAgainButton:this.$t("Take again"),resultsShareButton:this.$t("share")}}}),methods:{getPhrase:function(t){return t&&(this.customPhrases[t]||this.defaultPhrases[t])||""}}}},"188f":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.cookieNotice?n("div",{staticClass:"cookie-notice"},[n("div",{staticClass:"cookie-notice__bg"}),n("div",{staticClass:"cookie-notice__banner"},[n("img",{attrs:{src:i("d46a")}}),n("div",[t._v(t._s(t.$t("We use cookies for our website's functionality."))),n("span",{domProps:{innerHTML:t._s(t.text+".")}})]),n("button",{staticClass:"button",on:{click:t.close}},[t._v("OK")])])]):t._e()},s=[],a=(i("b54a"),i("cebc")),r=i("2f62"),o=i("a78e"),u=i.n(o),c={beforeMount:function(){"shown"===u.a.get(this.cookieName)&&this.$store.commit("hideCookieNotice")},computed:Object(a["a"])({},Object(r["d"])(["lang","cookieNotice"]),Object(r["d"])("quiz",["id","settings"]),{text:function(){return this.$format.link(this.$t("You can [disable]({link1}) them or continue according to [Privacy policy]({link2})",{link1:this.instruction,link2:"/agreement?lang=".concat(this.lang,"&customPolicy=").concat(this.settings.customPolicy||"")}))},instruction:function(){switch(this.lang){case"ru":return"https://ru.wikihow.com/отключить-файлы-cookie";default:return"https://www.wikihow.com/Disable-Cookies"}},cookieName:function(){return"marquiz__cookie-notice_".concat(this.id)}}),methods:{close:function(){this.$store.commit("hideCookieNotice"),u.a.set(this.cookieName,"shown")}}},l=c,d=(i("bfc4"),i("2877")),f=Object(d["a"])(l,n,s,!1,null,null,null);e["a"]=f.exports},"19a6":function(t,e,i){},"1b0e":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"start-page columns is-desktop-modal",class:t.classes},["image"===t.bgType&&t.bgUrl||t.isVideoMobileBg?i("div",{staticClass:"start-page__bg column",class:{"is-7":t.isCol7},style:{backgroundImage:"url("+t.bgUrl+")"}}):t._e(),!t.isContentDiscount&&t.hasDiscount?i("div",{staticClass:"start-page__discount"},[i("DiscountBadge",{attrs:{hasEffect:t.hasDiscountEffect,hasTitle:t.hasDiscountEffect}})],1):t._e(),t.isBrand&&!t.isFooterBrand?i("div",{staticClass:"start-page__brand",class:{"column is-5":"desktop"===t.$mq&&t.isCol5}},[t.logo&&t.logo.url?i("img",{staticClass:"start-page__logo",attrs:{src:t.$image.url(t.logo,{height:"37"})}}):t._e(),t.site?i("a",{staticClass:"start-page__company",attrs:{href:"#"},on:{click:function(e){return t.redirect(t.companyUrl)}}},[t._v(t._s(t.company||t.domain))]):t.company?i("div",{staticClass:"start-page__company"},[t._v(t._s(t.company))]):t._e()]):t._e(),t.isVideoBg&&!t.isVideoMobileBg?i("VideoPlayer",{staticClass:"start-page__bg column",class:{"is-7":t.isCol7},attrs:{loop:t.video.loop,video:t.$video.parse(t.video),muted:t.isVideoMuted,controls:!1,autoplay:!0,paused:!t.isModalOpen,"has-speaker":!0}}):t._e(),i("div",{ref:"content",staticClass:"start-page__content column",class:{"is-5":t.isCol5,"hide-scrollbar":t.isWidgetOpen},on:{click:t.toggleMute}},[i("div",{staticClass:"start-page__body"},[t.logo&&t.logo.url||t.hasDiscount?t._e():i("div",{staticClass:"start-page__line"}),t.isContentDiscount&&t.hasDiscount?i("div",{staticClass:"start-page__discount"},[i("DiscountBadge",{attrs:{hasEffect:t.hasDiscountEffect,hasTitle:t.hasDiscountEffect}})],1):t._e(),i("h1",{staticClass:"start-page__header"},[t._v(t._s(t.title))]),i("h2",{staticClass:"start-page__subheader html-content",domProps:{innerHTML:t._s(t.subtitle)}}),i("button",{staticClass:"start-page__button button is-primary is-blicked has-light-shadow",class:{"is-outline":t.buttonStyle.outline&&"expanded"!==this.spTheme,"is-square":t.buttonStyle.square},on:{click:function(e){return e.stopPropagation(),t.close(e)}}},[t._v(t._s(t.buttonText||t.$t("Take the quiz")))]),t.isBonusesEnabled?i("div",{staticClass:"start-page__bonuses"},[i("div",{staticClass:"start-page__bonuses-title"},[t._v(t._s(t.bonusesTitle||t.$t("Bonus for completing the quiz")))]),i("Bonuses",{class:{bonuses_centered:t.areBonusesCentered},attrs:{direction:"row",height:64}})],1):t._e()]),i("div",{staticClass:"start-page__footer",class:{"start-page__footer_has_wl":!t.isWhiteLabelActive,"start-page__footer_has_contacts":t.hasContacts}},[t.isBrand&&t.isFooterBrand?i("div",{staticClass:"start-page__brand",class:{"column is-5":t.isCol5}},[t.logo&&t.logo.url?i("img",{staticClass:"start-page__logo",attrs:{src:t.$image.url(t.logo,{height:"37"})}}):t._e(),t.site?i("a",{staticClass:"start-page__company",attrs:{href:"#"},on:{click:function(e){return t.redirect(t.companyUrl)}}},[t._v(t._s(t.company||t.domain))]):t.company?i("div",{staticClass:"start-page__company"},[t._v(t._s(t.company))]):t._e()]):t._e(),t.hasContacts?i("div",{staticClass:"start-page__contact"},[t.phone&&t.isPhoneClickable?i("a",{staticClass:"start-page__phone start-page__phone_clickable",attrs:{href:"tel:"+t.phoneForLink,target:"_parent"},on:{click:t.clickOnPhone}},[t._v(t._s(t.phone))]):t.phone?i("div",{staticClass:"start-page__phone"},[t._v(t._s(t.phone))]):t._e(),t.legal?i("div",{staticClass:"start-page__legal"},[t._v(t._s(t.legal))]):t._e()]):t._e(),t.isWhiteLabelActive?t._e():i("WhiteLabel",{staticClass:"start-page__white-label",style:t.labelStyle})],1)]),i("div",{staticClass:"start-page__layer"}),i("CookieNotice",{staticClass:"start-page__cookie-notice"})],1)},s=[],a=i("bd86"),r=i("cebc"),o=i("66c7"),u=i.n(o),c=i("6373"),l=i.n(c),d=i("13ea"),f=i.n(d),h=i("9b02"),m=i.n(h),p=i("2f62"),g=i("0089"),b=i("dfbf"),v=i("188f"),_=i("270a"),y=i("6afd"),w=i("cdae"),C={components:{WhiteLabel:g["a"],Bonuses:b["a"],CookieNotice:v["a"],VideoPlayer:_["a"],Icon:w["a"],DiscountBadge:y["a"]},data:function(){return{closing:!1,isVideoBgVisible:!0,isVideoMuted:!0,labelStyle:"display: block !important; visibility: visible !important; opacity: 1 !important"}},computed:Object(r["a"])({},Object(p["d"])("quiz",{bonuses:function(t){return m()(t,"info.marketing.bonuses",[])},company:function(t){return m()(t,"startPage.company")},site:function(t){return m()(t,"startPage.site")},phone:function(t){return m()(t,"startPage.phone")},isPhoneClickable:function(t){return m()(t,"startPage.isPhoneClickable")},legal:function(t){return m()(t,"startPage.legal")},bg:function(t){return m()(t,"startPage.bg",{})},mobileBg:function(t){return m()(t,"startPage.mobileBg",{})},videoMobileBg:function(t){return m()(t,"startPage.videoMobileBg",{})},logo:function(t){return m()(t,"startPage.logo",{})},bgType:function(t){return m()(t,"startPage.bgType","image")},video:function(t){return m()(t,"startPage.video",{})},position:function(t){return m()(t,"startPage.position","right")||"right"},spTheme:function(t){return m()(t,"startPage.spTheme","standart")||"standart"},isWidgetOpen:function(t){return t.isWidgetOpen},isModalOpen:function(t){return t.isModalOpen}}),Object(p["c"])("quiz",["startPage","isWhiteLabelActive","bonusesTitle","isBonusesEnabled","buttonStyle","isWidgetMode","discountSettings"]),{title:function(){return m()(this.startPage,"title","")},subtitle:function(){return m()(this.startPage,"subtitle","")},buttonText:function(){return m()(this.startPage,"buttonText","")},bgUrl:function(){var t=this.bg;if("image"===this.bgType&&"mobile"===this.$mq&&(t=m()(this,"mobileBg.url")?this.mobileBg:this.bg),"video"===this.bgType){if("mobile"!==this.$mq)return!1;t=m()(this,"videoMobileBg.url")?this.videoMobileBg:{url:null}}if(!m()(t,"url"))return null;var e={};return"unsplash"===t.provider&&(e.width="centered"===this.spTheme?550:window.innerWidth),window.innerHeight<=650&&window.innerWidth>=768&&(e.height=650),window.innerWidth<768&&(e.width=this.isWidgetMode||!window.innerWidth?767:window.innerWidth),f()(e)&&(e.width=window.innerWidth),this.$image.url(t,e)},classes:function(){var t,e=[(t={"start-page_closing":this.closing,"start-page_has_bg":this.isBg},Object(a["a"])(t,"start-page_position_".concat(this.position),"centered"!==this.spTheme),Object(a["a"])(t,"start-page_has_brand",this.isBrand),Object(a["a"])(t,"start-page_video_bg",this.isVideoBg&&!this.isVideoMobileBg),Object(a["a"])(t,"start-page_widget",this.isWidgetMode),Object(a["a"])(t,"start-page_rtl","rtl"===this.$i18n.i18next.dir()),t),"start-page_theme_".concat(this.spTheme)];return e},isCol5:function(){return this.isBg&&"center"!==this.position&&"centered"!==this.spTheme},isCol7:function(){return"standart"===this.spTheme&&"center"!==this.position},isBg:function(){return!!this.bgUrl||this.isVideoBg},isVideoBg:function(){return"video"===this.bgType&&!!this.$video.parse(this.video)},isVideoMobileBg:function(){return!f()(this.videoMobileBg)&&"mobile"===this.$mq},isBrand:function(){return!!(this.logo&&this.logo.url||this.company||this.site)},isFooterBrand:function(){return"desktop"===this.$mq&&this.isBg&&"center"===this.position&&"expanded"===this.spTheme},hasContacts:function(){return this.phone||this.legal},isContentDiscount:function(){return"mobile"!==this.$mq||!this.isBg||this.isBrand},phoneForLink:function(){if(!this.isPhoneClickable)return!1;var t=l()(this.phone,/^8/,"7");return t="+".concat(l()(t,/\D+/g,"")),t},areBonusesCentered:function(){return"centered"===this.spTheme||"expanded"===this.spTheme&&"center"===this.position&&"desktop"===this.$mq},companyUrl:function(){if(this.site)return/^(?:https?:\/\/)/.test(this.site)?this.site:"https://".concat(this.site)},domain:function(){return this.site?u()(l()(this.site,/^(?:https?:\/\/)?(?:www\.)?/,""),"/",""):null},hasDiscountEffect:function(){return this.hasDiscount&&!!m()(this.discountSettings,"effect")},hasDiscount:function(){return!!m()(this.discountSettings,"value")}}),methods:{close:function(){var t=this;this.closing=!0,setTimeout(function(){t.$store.commit("quiz/startQuiz"),t.$store.dispatch("quiz/analyticEvent","marquiz-startquiz")},800)},clickOnPhone:function(){this.$store.dispatch("quiz/analyticEvent","marquiz-phone")},toggleMute:function(t){var e=t.target===this.$refs.content;e&&"center"===this.position&&"expanded"===this.spTheme&&this.isVideoBg&&(this.isVideoMuted=!this.isVideoMuted)},redirect:function(t){this.$redirect(t,{},!1,!0)}}},k=C,P=(i("5f78"),i("2877")),q=Object(P["a"])(k,n,s,!1,null,null,null);e["default"]=q.exports},"1d04":function(t,e,i){},"1d4c":function(t,e,i){"use strict";var n=i("630b"),s=i.n(n);s.a},"1eb5":function(t,e,i){},"222e":function(t,e,i){"use strict";var n=i("aa5f"),s=i.n(n);s.a},"26df":function(t,e,i){},"26f8":function(t,e,i){t.exports=i.p+"img/marquiz.6c626418.svg"},"270a":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-player",on:{mousemove:t.showMuteBtn,click:function(e){t.isMuted=!t.isMuted}}},[t.hasSpeaker?i("button",{staticClass:"video-player__button video-player__mute",class:[t.isMuted?"video-player__mute_off":"video-player__mute_on",{"video-player__button_visible":t.mutedVisible&&!t.isEnd}]}):t._e(),i("button",{staticClass:"video-player__button video-player__replay",class:{"video-player__button_visible":!t.loop&&t.isEnd},on:{click:function(e){return e.stopPropagation(),t.play(e)}}}),t.isLoading?i("div",{staticClass:"video-player__loading"}):t._e(),t.isStub?i("div",{staticClass:"video-player__stub"}):i(t.player,{tag:"component",attrs:{link:t.video.link,videoId:t.video.id,muted:t.isMuted,loop:t.loop,controls:t.controls,autoplay:t.autoplay,paused:t.paused},on:{"update:muted":function(e){t.isMuted=e},paused:function(e){return t.$emit("paused",e)},loaded:t.loaded,ended:t.ended}})],1)},s=[],a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("video",{ref:"video",attrs:{loop:t.loop,autoplay:t.autoplay,playsinline:"",controls:t.controls},domProps:{muted:t.autoplay||t.muted},on:{loadeddata:t.loaded,ended:t.ended}},[i("source",{attrs:{src:t.link}})])},r=[],o={created:function(){this.$parent.$on("play",this.forcePlay),this.$parent.$on("seekTo",this.seekTo)},destroyed:function(){clearInterval(this.timer)},props:{videoId:String,autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},controls:{type:Boolean,default:!0},paused:Boolean,progress:Boolean},data:function(){return{player:null,isPause:this.paused,isEnd:!1,timer:null}},methods:{ended:function(){this.$emit("ended"),this.isEnd=!0}},watch:{muted:function(t){this.setMute(t)},paused:function(t){this.setPause(t)}}},u={extends:o,props:{link:String},methods:{loaded:function(){this.$emit("loaded",{duration:this.$refs.video.duration}),this.setMute(!!this.autoplay||this.muted),this.progress&&this.setTimer()},forcePlay:function(){this.$refs.video.play(),this.isEnd=!1},setMute:function(t){this.$emit("update:muted",t),this.$refs.video.muted=t},setPause:function(t){this.isPause=t,t?this.$refs.video.pause():this.$refs.video.play(),this.$emit("paused",t)},seekTo:function(t){this.isEnd=!1,this.$refs.video.currentTime=t},setTimer:function(){var t=this;this.timer=setInterval(function(){t.isPause||t.isEnd||t.$emit("timeChanged",t.$refs.video.currentTime)},500)}}},c=u,l=(i("c914"),i("2877")),d=Object(l["a"])(c,a,r,!1,null,"358501e0",null),f=d.exports,h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-player-youtube"},[i("div",{ref:"iframe",staticClass:"video-player-youtube__iframe"}),t.posterUrl&&t.isEnd&&!t.loop?i("div",{staticClass:"video-player-youtube__poster",style:{backgroundImage:"url("+t.posterUrl+")"}}):t._e()])},m=[],p=(i("c5f6"),i("cebc")),g=(i("96cf"),i("3b8d")),b=i("8751"),v=i.n(b),_={extends:o,mounted:function(){window.YT?this.init():(v()("".concat(window.location.protocol,"//www.youtube.com/iframe_api")),window.onYouTubeIframeAPIReady=this.init)},destroyed:function(){var t=Object(g["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.player){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.player.destroy();case 4:this.player=null;case 5:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),data:function(){return{posterUrl:"".concat(window.location.protocol,"//img.youtube.com/vi/").concat(this.videoId,"/0.jpg"),options:Object(p["a"])({origin:window.location.origin,enablejsapi:1,autoplay:Number(this.autoplay),mute:Number(this.muted),loop:Number(this.loop),playerapiid:"featuredytplayer",controls:1,modestbranding:1,rel:0,showinfo:0,iv_load_policy:3,theme:"light",wmode:"transparent",playsinline:1},this.loop&&{playlist:this.videoId})}},methods:{init:function(){var t=this;this.player=new window.YT.Player(this.$refs.iframe,{host:"".concat(window.location.protocol,"//www.youtube.com"),width:"100%",height:"100%",videoId:this.videoId,playerVars:this.options,events:{onReady:function(){t.$emit("loaded",{duration:t.player.getDuration()}),t.setMute(!!t.autoplay||t.muted),t.autoplay&&t.forcePlay(),t.progress&&t.setTimer()},onStateChange:this.onStateChange}})},onStateChange:function(t){var e=t.data;0===e&&this.ended()},forcePlay:function(){this.player&&(this.player.playVideo(),this.isEnd=!1)},setMute:function(t){this.player&&(this.$emit("update:muted",t),t?this.player.mute():this.player.unMute())},setPause:function(t){this.player&&(this.isPause=t,t?this.player.pauseVideo():this.player.playVideo(),this.$emit("paused",t))},seekTo:function(t){this.player&&(this.isEnd=!1,this.player.seekTo(t,!0))},setTimer:function(){var t=this;this.timer=setInterval(function(){t.isPause||t.isEnd||t.$emit("timeChanged",t.player.getCurrentTime())},500)}}},y=_,w=(i("030a"),Object(l["a"])(y,h,m,!1,null,null,null)),C=w.exports,k=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-player-vimeo"},[i("div",{ref:"iframe",staticClass:"video-player-vimeo__iframe"}),t.posterUrl&&t.isEnd&&!t.loop?i("div",{staticClass:"video-player-vimeo__poster",style:{backgroundImage:"url("+t.posterUrl+")"}}):t._e()])},P=[],q={extends:o,mounted:function(){window.Vimeo?this.init():v()("".concat(window.location.protocol,"//player.vimeo.com/api/player.js"),this.init)},destroyed:function(){var t=Object(g["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.player){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.player.destroy();case 4:this.player=null;case 5:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),data:function(){return{posterUrl:null,options:{id:this.videoId,responsive:!1,title:!1,byline:!1,controls:this.controls,loop:this.loop,muted:this.muted,autoplay:this.autoplay,playsinline:!0,background:!1,width:"100",height:"100",maxwidth:"100"}}},methods:{init:function(){var t=this;this.player=new window.Vimeo.Player(this.$refs.iframe,this.options),this.player.on("bufferend",Object(g["a"])(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,t.player.getDuration();case 3:e.t1=e.sent,e.t2={duration:e.t1},e.t0.$emit.call(e.t0,"loaded",e.t2),t.setMute(!!t.autoplay||t.muted),t.autoplay&&t.forcePlay(),t.progress&&t.setTimer();case 9:case"end":return e.stop()}},e)})),this),this.player.on("ended",function(){t.ended()},this),this.posterUrl||this.getThumb()},getThumb:function(){var t=Object(g["a"])(regeneratorRuntime.mark(function t(){var e,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.$axios("".concat(window.location.protocol,"//vimeo.com/api/oembed.json?url=").concat(window.location.protocol,"//vimeo.com/").concat(this.videoId));case 3:e=t.sent,i=e.data,i.thumbnail_url&&(this.posterUrl=i.thumbnail_url),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](0);case 10:case"end":return t.stop()}},t,this,[[0,8]])}));function e(){return t.apply(this,arguments)}return e}(),forcePlay:function(){var t=this;this.player&&this.player.play().then(function(){t.isEnd=!1})},setMute:function(t){this.player&&(this.$emit("update:muted",t),this.player.setVolume(Number(!t)))},setPause:function(t){this.player&&(this.isPause=t,t?this.player.pause():this.player.play(),this.$emit("paused",t))},seekTo:function(t){this.player&&(this.isEnd=!1,this.player.setCurrentTime(t))},setTimer:function(){var t=this;this.timer=setInterval(Object(g["a"])(regeneratorRuntime.mark(function e(){var i;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!t.isPause&&!t.isEnd){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.player.getCurrentTime();case 4:i=e.sent,t.$emit("timeChanged",i);case 6:case"end":return e.stop()}},e)})),500)}}},x=q,E=(i("1d4c"),Object(l["a"])(x,k,P,!1,null,null,null)),L=E.exports,z=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("iframe",{ref:"iframe",staticClass:"video-player-coub",class:{"coub-player_is-playing":t.isPlaying},attrs:{src:"https://coub.com/embed/"+this.videoId+"?autostart="+this.autoplay+"&muted=true&hideTopBar=true&noControls=false&noHDControl=true&noSiteButtons=true",playsinline:"",allowfullscreen:"true",frameborder:"0",allow:"autoplay"},on:{load:t.loaded}})},T=[],A={extends:o,mounted:function(){window.addEventListener("message",this.handleMessage),window.addEventListener("blur",this.handleBlur)},destroyed:function(){window.removeEventListener("message",this.handleMessage),window.removeEventListener("blur",this.handleBlur)},data:function(){return{isPlaying:!1}},methods:{loaded:function(){this.$emit("loaded"),this.forcePlay()},postMessage:function(t){this.$refs.iframe.contentWindow.postMessage(t,"https://coub.com")},setMute:function(t){this.$emit("update:muted",t),this.postMessage("".concat(t?"mute":"unmute"))},forcePlay:function(){this.postMessage("play")},setPause:function(t){this.setMute(t)},handleMessage:function(t){var e=t.data;"playPaused"===e&&this.forcePlay()},handleBlur:function(){var t=this;setTimeout(function(){document.activeElement instanceof HTMLIFrameElement&&(t.isPlaying=!0)},0)}}},S=A,I=(i("9fe3"),Object(l["a"])(S,z,T,!1,null,null,null)),M=I.exports,O={components:{CloudPlayer:f,YouTubePlayer:C,VimeoPlayer:L,CoubPlayer:M},props:{video:Object,loop:Boolean,muted:Boolean,paused:Boolean,controls:{type:Boolean,default:!0},autoplay:Boolean,hasSpeaker:Boolean},data:function(){return{isLoading:!0,isPause:!this.autoplay,isStarted:this.autoplay,isEnd:!1,isMuted:this.muted,mutedVisible:!1}},computed:{isStub:function(){return!this.video.provider||"stub"===this.video.provider},player:function(){if(this.isStub)return null;switch(this.video.provider){case"youtube":return C;case"vimeo":return L;case"cloud":return f;case"coub":return M;default:return null}}},methods:{loaded:function(){this.isLoading=!1},play:function(){this.$emit("play"),this.isEnd=!1,this.mutedVisible=!0},ended:function(){this.mutedVisible=!1,this.isEnd=!0},showMuteBtn:function(){var t=this;this.mutedVisible||(this.mutedVisible=!0,setTimeout(function(){t.mutedVisible=!1},2e3))}},watch:{muted:function(t){this.isMuted=t},paused:function(t){this.isPause=t},isPause:function(t){t||this.isStarted||(this.isStarted=!0)},isStarted:function(){this.$emit("started")}}},V=O,$=(i("d2fa"),Object(l["a"])(V,n,s,!1,null,null,null));e["a"]=$.exports},"279f":function(t,e,i){},"29c3":function(t,e,i){},"2ac9":function(t,e,i){},"2ada":function(t,e,i){t.exports=i.p+"img/price.f1900f4f.png"},"2b3b":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"discount-label"},[i("div",{staticClass:"discount-label__circle"}),i("div",{staticClass:"discount-label__value"},[t._t("default",[t._v(t._s(t.value))])],2)])},s=[],a=(i("c5f6"),{props:{value:[String,Number]}}),r=a,o=(i("8b38"),i("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);e["a"]=u.exports},"2c22":function(t,e,i){"use strict";var n=i("abc1"),s=i.n(n);s.a},"2c90":function(t,e,i){},"2cf9":function(t,e,i){"use strict";var n=i("1d04"),s=i.n(n);s.a},"31f0":function(t,e,i){},"337b":function(t,e,i){},"400e":function(t,e,i){"use strict";var n=i("d74e"),s=i.n(n);s.a},"42c1":function(t,e){function i(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}i.keys=function(){return[]},i.resolve=i,t.exports=i,i.id="42c1"},"43ac":function(t,e,i){"use strict";var n=i("29c3"),s=i.n(n);s.a},"45d5":function(t,e,i){},"46b5":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"assistant"},[i("transition",{attrs:{appear:"",mode:"out-in",name:"assistant__person_animation"}},[t.text?i("div",{staticClass:"assistant__person"},[i("div",{staticClass:"assistant__avatar"},[t.imageUrl?i("img",{attrs:{src:t.imageUrl}}):t._e(),i("div",{staticClass:"assistant__avatar-badge"})]),i("div",{staticClass:"assistant__name"},[i("p",{staticClass:"assistant__title"},[t._v(t._s(t.assistant.name))]),t.assistant.title?i("p",{staticClass:"assistant__subtitle"},[i("span",[t._v(t._s(t.assistant.title))])]):t._e()])]):t._e()]),i("transition",{attrs:{name:"assistant__block_animation-comment",mode:"out-in",appear:""}},[t.text?i("div",{key:"assistant__block",staticClass:"assistant__block"},[i("div",{staticClass:"assistant__text-arrow"}),i("div",{staticClass:"assistant__text-height",style:"height: "+t.textHeight},[i("div",{ref:"text",staticClass:"assistant__text html-content",domProps:{innerHTML:t._s(t.text)}})])]):t._e()])],1)},s=[],a=(i("96cf"),i("3b8d")),r=i("9b02"),o=i.n(r),u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14.257 8.127"}},[i("defs"),i("g",{staticClass:"cls-1",attrs:{id:"arrow-point-to-right_1_","data-name":"arrow-point",transform:"rotate(-90 52.633 52.633)"}},[i("path",{attrs:{id:"Path_4",d:"M104.973 7.834l-6.13 6.13a1 1 0 0 1-1.412-1.412l5.424-5.424L97.431 1.7A1 1 0 0 1 98.843.292l6.13 6.13a1 1 0 0 1 0 1.412z","data-name":"Path 4"}})])])},c=[],l={name:"ArrowPoint"},d=l,f=(i("0287"),i("2877")),h=Object(f["a"])(d,u,c,!1,null,"14468613",null),m=h.exports,p={components:{ArrowShow:m},props:{assistant:Object,text:String},mounted:function(){this.$refs.text&&(this.textHeight=getComputedStyle(this.$refs.text).height)},data:function(){return{textHeight:null}},computed:{imageUrl:function(){var t=this.assistant.avatar;return o()(t,"url",!1)||(t={name:"avatar",provider:"cloudinary"}),this.$image.url(t,{crop:"fill",gravity:"face",width:70,height:70})},textHtml:function(){return this.text}},watch:{textHtml:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.$refs.text&&(this.textHeight=getComputedStyle(this.$refs.text).height);case 3:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()}},g=p,b=(i("222e"),Object(f["a"])(g,n,s,!1,null,null,null));e["a"]=b.exports},"480d":function(t,e,i){"use strict";var n=i("99d7"),s=i.n(n);s.a},"4a1b":function(t,e,i){"use strict";var n=i("279f"),s=i.n(n);s.a},5308:function(t,e,i){"use strict";i("ac6a");var n=i("c64e"),s=i("a78e"),a=2;e["a"]={values:{uuid:null,answerId:null},init:function(t){this.expires=new Date((new Date).getTime()+60*a*1e3),this.quizId=t;try{this.set("answerId",s.get(this.getCookieName("answerId"))),this.set("uuid",s.get(this.getCookieName("uuid"))),this.values.uuid||this.set("uuid",n())}catch(e){this.set("uuid",n())}},getCookieName:function(t){return"".concat(t,"_").concat(this.quizId)},get:function(t){return t?this.values[t]:this.values},set:function(t,e){this.values[t]=e,e?s.set(this.getCookieName(t),e,{expires:this.expires}):s.remove(this.getCookieName(t))},updateSessionLiveTime:function(){for(var t in this.expires=new Date((new Date).getTime()+60*a*1e3),this.values)this.values[t]&&this.set(t,this.values[t])}}},"56d7":function(t,e,i){"use strict";i.r(e);i("386d"),i("cadf"),i("551c"),i("f751"),i("097d"),i("54ba");var n=i("2b0e"),s=i("5f34"),a=i("55d9"),r=i("16e8"),o=i("ac22"),u=i.n(o),c=i("bf0f"),l=i.n(c);n["default"].use(a["a"]),s["a"].use(u.a).use(r["a"]).init({backend:{loadPath:function(t,e){return"".concat(Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_ASSETS_PATH||"","/static/locales/").concat(t,"/").concat(e,".json")}},preload:[],nsSeparator:!1,keySeparator:!1,fallbackLng:{uk:["ru"],be:["ru"],kz:["ru"],default:["en"]},load:"languageOnly",cleanCode:!0,interpolation:{prefix:"{",suffix:"}"},debug:!1}),s["a"].addResourceBundle("en","translation",l.a.en.translation,!0,!0),s["a"].addResourceBundle("ru","translation",l.a.ru.translation,!0,!0);var d=new a["a"](s["a"]),f=i("2f62"),h=(i("ac6a"),i("5df3"),i("4917"),i("96cf"),i("3b8d")),m=(i("c5f6"),i("b54a"),i("cebc")),p=i("b69c"),g=i.n(p),b=i("ba84"),v=i.n(b),_=i("b8ce"),y=i.n(_),w=i("b047c"),C=i.n(w),k=i("9948"),P=i.n(k),q=i("0f40"),x=i.n(q),E=i("2acb"),L=i.n(E),z=i("4cfe"),T=i.n(z),A=i("345a"),S=i.n(A),I=i("3eea"),M=i.n(I),O=i("0f5c"),V=i.n(O),$=i("dce5"),R=i.n($),D=i("abdd"),j=i.n(D),U=i("004e"),B=i.n(U),F=i("0644"),H=i.n(F),N=i("3852"),Q=i.n(N),W=i("6cd4"),G=i.n(W),Z=i("c5a2"),Y=i.n(Z),K=i("8a30"),J=i.n(K),X=i("93c6"),tt=i.n(X),et=i("6747"),it=i.n(et),nt=i("2769"),st=i.n(nt),at=i("c641"),rt=i.n(at),ot=i("c228"),ut=i.n(ot),ct=i("13ea"),lt=i.n(ct),dt=i("2768"),ft=i.n(dt),ht=i("2657"),mt=i.n(ht),pt=i("2442"),gt=i.n(pt),bt=i("9380"),vt=i.n(bt),_t=i("51f5"),yt=i.n(_t),wt=i("d623"),Ct=i.n(wt),kt=i("3092"),Pt=i.n(kt),qt=i("dd61"),xt=i.n(qt),Et=i("9b02"),Lt=i.n(Et),zt=i("78b0"),Tt=i.n(zt),At=i("e745"),St=i("72bf"),It=i.n(St),Mt=(i("28a5"),i("d173")),Ot=i.n(Mt),Vt=i("e636"),$t=i.n(Vt);function Rt(t,e,i){var n="one-image"===t.type?"one":t.select,s="one"===n?[e]:e,a="one"===n?"or":Lt()(i,"union","or"),r=i.unionExtra;T()(r)&&"only"===a?(a="and",r=!1):T()(r)&&(r=!0);var o=Ct()(Ot()(i.answer,s));if(!0===r){if("or"===a&&o)return!0;if("and"===a&&o>=Ct()(i.answer))return!0}else{if("or"===a&&o&&s.length===o)return!0;if("and"===a&&o===Ct()(i.answer)&&o===s.length)return!0}return!1}function Dt(t,e,i){var n=Lt()(t,"options.isRange",!1),s=Number(Lt()(i,"answer.0")),a=Number(Lt()(i,"answer.1"));if(n)switch(i.operator){case"in":if(e.from>=s&&e.to<=a)return!0;break;case"contain":if(e.froma)return!0;break;case"out":if(e.froma&&e.to>a)return!0;break;case"touch":if(e.from<=s&&e.to>=s)return!0;if(e.from<=a&&e.to>=a)return!0;break;default:break}else{var r=Number(e);switch(i.operator){case"less":if(rs)return!0;break;case"equal":if(r===s)return!0;break;case"between":if(r>s&&rs&&(s=i)})}),"contain"===i.operator?s>.7:s<.7}var Ut=function(t,e,i){var n="show"===Lt()(t,"mode","show"),s=Lt()(t,"conditions",[]),a=Lt()(t,"union","or");if(!lt()(s)){var r=[];return s.forEach(function(t,n){var s=Lt()(i,t.question),a=st()(e,{id:t.question});if(s)switch(a.type){case"rating":case"slider":Dt(a,s,t)&&r.push(n);break;case"input":jt(a,s,t)&&r.push(n);break;default:Rt(a,s,t)&&r.push(n);break}}),"and"===a&&r.length===s.length?!!n&&r.length:"or"===a&&r.length?!!n&&r.length:!n}},Bt=i("6217"),Ft=function(t){(function(t,e,i,n,s){t.roistatProjectId=s,t.roistatHost=n;var a="https:"==e.location.protocol?"https://":"http://",r=/^.*roistat_visit=[^;]+(.*)?$/.test(e.cookie)?"/dist/module.js":"/api/site/1.0/"+s+"/init?referrer="+encodeURIComponent(e.location.href),o=e.createElement(i);o.charset="UTF-8",o.async=1,o.src=a+n+r;var u=e.getElementsByTagName(i)[0];u.parentNode.insertBefore(o,u)})(window,document,"script","cloud.roistat.com",t)},Ht=i("2d30"),Nt=i.n(Ht),Qt=i("5207"),Wt=i("d225"),Gt=i("b0b4"),Zt=i("4245"),Yt=i.n(Zt),Kt=i("1a8c"),Jt=i.n(Kt),Xt=i("6373"),te=i.n(Xt),ee=i("5ddc"),ie=i.n(ee),ne={valid:function(t){try{return JSON.parse(t),!0}catch(e){return!1}}},se=function(){function t(){Object(Wt["a"])(this,t),this.params={},this.load(),this.watch()}return Object(Gt["a"])(t,[{key:"get",value:function(){return Object(m["a"])({},this.params)}},{key:"load",value:function(){this.loadParamsFromQS()}},{key:"loadParamsFromQS",value:function(){var t=this,e=It.a.parse(window.location.search);this.add("href",e.href||window.location.href),this.add("userAgent",navigator.userAgent);var i={};for(var n in e)if(ie()(n,"utm_")){if(String(n).indexOf(".")>=0)continue;i[te()(n,"utm_","")]=e[n]}i.campaign&&(i.name=i.campaign),this.add("utm",i),["_ga","yclid","ymclid","gclid","fbclid","ad"].forEach(function(i){t.add(i,e[i])}),e.params&&ne.valid(e.params)&&this.add(JSON.parse(e.params)),e.cookies&&ne.valid(e.cookies)&&this.add("cookies",JSON.parse(e.cookies))}},{key:"add",value:function(t,e){var i=this;if(Jt()(t)&&T()(e)&&!lt()(t))P()(t,function(t,e){return i.add(e,t)});else if(Jt()(e)&&this.add(),(!Jt()(e)||!lt()(e))&&!ft()(e)){var n=e;Jt()(n)&&(n=Yt()(Lt()(this.params,t,{}),n)),V()(this.params,t,n)}}},{key:"watch",value:function(){var t=this;window.addEventListener("message",function(e){"addParam"===e.data.method&&t.add(e.data.data)},!1)}}]),t}(),ae=new se,re=i("8162"),oe={page:{START:"start",LANDING:"landing",QUESTIONS:"questions",RESULTS_LOADER:"results-loader",RESULTS:"results",RESULT:"result",LEADFORM:"leadform",THANKS:"thanks",PAYMENT:"payment"},animation:{BOTTOM_TOP:"bottomTop",RIGHT_LEFT:"rightLeft"},resultsPosition:{BEFORE_FORM:"beforeForm",AFTER_FORM:"afterForm",EMAIL:"email"}},ue=function(t){t.prototype.$const=t.const=oe},ce=(i("fca0"),i("e2a0")),le=i.n(ce),de=i("18e0"),fe=i.n(de),he=i("501e"),me=i.n(he),pe=i("b4b0"),ge=i.n(pe),be=i("9f8f"),ve=i.n(be),_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;try{var n=te()(t,/(\d+(?:\.\d+)?)%/g,function(t,e){return ge()(e)/100}),s=ve.a.eval(te()(n,/\[([\w\-]+)\]/g,function(t,n){var s=Lt()(e,n,{}),a=i[n];return""===a?0:me()(a)||!fe()(+a)?a:le()(a)?s[a]||s.other||0:it()(a)?Y()(a,function(t,e){return t+ge()(s[e])||0},0):0}));return Number.isFinite(s)?s:null}catch(a){return null}},ye=(i("a481"),i("3b2b"),i("ec69")),we=i.n(ye),Ce=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",n=t;if(n&&le()(n)&&!lt()(e))for(var s in e)if(!ft()(e[s])){var a=new RegExp("\\[".concat(s,"\\]|\\{").concat(s,"\\}"),"g");switch(i){case"curly":a=new RegExp("\\{".concat(s,"\\}"),"g");break;case"square":a=new RegExp("\\[".concat(s,"\\]"),"g");break;default:break}n=n.replace(a,e[s])}return n},ke=["utm","contacts","formula","points"],Pe=function(t,e){var i=Ot()(ke,we()(e)),n=t;return rt()(i,function(t){switch(t){case"utm":n=Ce(n,e[t],"curly");break;case"contacts":n=Ce(n,e[t],"square");break;case"formula":n=Ce(n,{formula:e[t]},"all");break;case"points":n=Ce(n,{points:e[t]},"all");break;default:break}}),n},qe=i("c64e"),xe=i.n(qe),Ee=i("a78e"),Le=i.n(Ee),ze=function(){var t=Le.a.get("marquiz_visitor_id");return t||(t=xe()(),Le.a.set("marquiz_visitor_id",t,{expires:30})),t},Te=i("ded5"),Ae=i.n(Te),Se=i("6220"),Ie=i.n(Se),Me=i("1686"),Oe=i.n(Me),Ve=function(t,e){if(!lt()(t))try{return JSON.parse(te()(JSON.stringify(t),/@\w{10}/g,function(t){if(t){var i="",n=Oe()(t,"@"),s=e[n];return s&&(Ie()(s)&&(s=s.toLocaleDateString()),Jt()(s)&&(Q()(s,"date")&&(s="".concat(Lt()(s,"date","").toLocaleDateString()," ").concat(Lt()(s,"time","").toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}))),Q()(s,"from")&&Ie()(s.from)?s="".concat(Lt()(s,"from","").toLocaleDateString()," — ").concat(Lt()(s,"to","").toLocaleDateString()):Q()(s,"from")&&(s="".concat(s.from," — ").concat(s.to))),i=it()(s)?Ae()(s,", "):s),i}}))}catch(i){return t}},$e={set:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e,n){var s,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i.e("chunk-3a58984f").then(i.bind(null,"a5bb"));case 2:return s=t.sent,t.next=5,s.load();case 5:return a=t.sent,t.t0=Le.a,t.t1="marquiz_fingerprint_".concat(n),t.next=10,a.get();case 10:t.t2=t.sent.visitorId,t.t3={expires:e},t.t0.set.call(t.t0,t.t1,t.t2,t.t3);case 13:case"end":return t.stop()}},t)}));function e(e,i){return t.apply(this,arguments)}return e}(),get:function(t){return Le.a.get("marquiz_fingerprint_".concat(t))}},Re=i("be98"),De={namespaced:!0,state:{header:{},footer:{},blocks:[],pageTitle:"",favicon:null,meta:{},transition:{type:"button",text:""}},getters:{header:function(t,e,i){var n=t.header,s=i.quiz.utm;return Object(m["a"])({},n,{title:Pe(Lt()(n,"title"),{utm:s}),subtitle:Pe(Lt()(n,"subtitle"),{utm:s})})},blocks:function(t,e,i){var n=t.blocks,s=i.quiz.utm;return xt()(n,function(t){return Object(m["a"])({},t,{images:xt()(Lt()(t,"images",[]),function(t){return Object(m["a"])({},t,{description:Pe(Lt()(t,"description"),{utm:s})})}),title:Pe(Lt()(t,"title"),{utm:s}),text:Pe(Lt()(t,"text"),{utm:s}),description:Pe(Lt()(t,"description"),{utm:s})})})},transition:function(t,e,i){var n=t.transition,s=i.quiz.utm;return Object(m["a"])({},n,{text:Pe(Lt()(n,"text"),{utm:s})})},pageTitle:function(t,e,i){var n=t.pageTitle,s=i.quiz.utm;return Pe(n,{utm:s})},hasHeader:function(t){switch(Lt()(t.header,"type")){case"person":return!!Lt()(t.header,"title");case"company":return!(!Lt()(t.header,"image.url")&&!Lt()(t.header,"title"));default:return!1}}},mutations:{set:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.header,s=e.blocks,a=e.footer,r=e.settings;Lt()(i,"enabled")&&(t.header=i),Lt()(a,"enabled")&&(t.footer=a),t.blocks=vt()(s,function(t){switch(Lt()(t,"type")){case"link":return Lt()(t,"link");case"text":return Lt()(t,"text");case"video":return!!n["default"].prototype.$video.parse(t);case"images":return Ct()(vt()(Lt()(t,"images",[]),function(t){return Lt()(t,"url")}));default:return!1}}),t.transition={type:Lt()(r,"transition.type")||"button",text:Lt()(r,"transition.text","")},t.pageTitle=Lt()(r,"title"),t.favicon=Lt()(r,"favicon"),t.meta={description:Lt()(r,"description",""),image:Lt()(r,"image",null)}}}},je=i("4416"),Ue=i.n(je),Be="progress-bar",Fe={namespaced:!0,state:{enabled:!0,type:Be},getters:{getPassedPercent:function(t,e,i,n){var s=i.quiz.isDemo,a=n["quiz/questionNumber"],r=n["quiz/countingQuestions"];if(!t.enabled)return null;if(1===a)return 0;var o=Lt()(r[a-1],"_percent");if(o)return o;if(s)return B()([(a-1)/r.length*100,99]);var u=Lt()(r[a-2],"_percent",0);return B()([u+(100-u)*(1/(r.length-a+2)),99])},finalPercent:function(t,e,i,n){return Lt()(Ue()(n["quiz/countingQuestions"]),"_percent",0)}},mutations:{set:function(t,e){var i=e.enabled,n=void 0===i||i,s=e.type,a=void 0===s?Be:s;t.enabled=n,t.type=a}},actions:{}},He={namespaced:!0,state:{formula:null,value:null},getters:{},mutations:{set:function(t,e){t.formula=e},setValue:function(t,e){t.value=e}},actions:{evaluate:function(t){var e=t.state,i=t.commit,n=t.rootState;if(e.formula){var s=Lt()(n.quiz.results,"calcs",{}),a=g()(_e(e.formula,s,n.quiz.answers),2);i("setValue",a)}}}},Ne=i("3482"),Qe=i.n(Ne),We=i("4d8c"),Ge=i.n(We),Ze=i("2593"),Ye=i.n(Ze),Ke=i("cd9d"),Je=i.n(Ke),Xe=i("77c1"),ti=i.n(Xe),ei=i("1816"),ii=i.n(ei),ni=It.a.parse(window.location.search),si=[{key:"name",type:"name",required:!0},{key:"email",type:"email",required:!0},{key:"phone",type:"phone",required:!0}],ai=["vk","telegram","whatsapp","messenger","skype","viber","instagram","wechat"],ri=["email","phone","text"],oi={namespaced:!0,state:{forms:[],currentStep:1,currentFormId:null,isMessengersPage:!1,preloadedContacts:{},contacts:{},contactsBuffer:{},answerId:null,uuid:null,verification:{hash:null,code:null,phone:null}},getters:{resultForms:function(t){return vt()(L()(t.forms,1),function(t){return"results"===Lt()(t,"display.type")})},questionForms:function(t){return vt()(L()(t.forms,1),function(t){return"questions"===Lt()(t,"display.type")})},form:function(t,e,i,n){var s=i.quiz,a=s.answers,r=s.utm;if(t.currentFormId){var o=st()(t.forms,function(e){return e.id===t.currentFormId});return o||t.forms[0]}var u=Lt()(n["quiz/result"],"id",null);if(u&&e.resultForms.length){var c=st()(e.resultForms,function(t){var e=Lt()(t,"display.resultIds")||[];return J()(e,u)});if(c)return c}var l=vt()(e.questionForms,function(t){return Ut(t.display,n["quiz/flatQuestions"],a)}),d=l.length?l[0]:t.forms[0],f={utm:r,contacts:e.mergedContacts};return Object(m["a"])({},d,{steps:xt()(Lt()(d,"steps",[]),function(t){return Object(m["a"])({},t,{content:Pe(Lt()(t,"content"),f),header:Pe(Lt()(t,"header"),f),motivation:Object(m["a"])({},Lt()(t,"motivation",{}),{value:Pe(Lt()(t,"motivation.value"),f)}),button:Pe(Lt()(t,"button"),f)})}),thanks:Object(m["a"])({},Lt()(d,"thanks",{}),{header:Pe(Lt()(d,"thanks.header"),f),content:Pe(Lt()(d,"thanks.content"),f)}),messengers:Object(m["a"])({},Lt()(d,"messengers",{}),{button:Pe(Lt()(d,"messengers.button"),f)})})},mergedContacts:function(t){var e=t.preloadedContacts,i=t.contacts;return R()({},e,i)},isLastStep:function(t,e){var i=t.currentStep,n=e.form;return Lt()(n,"steps",[]).length===i},mightHavePhoneField:function(t){var e=["whatsapp","viber","phone","telegram","wechat"];return Pt()(t.forms,function(t){return!(!Lt()(t,"messengers.enabled",!1)||!Ct()(Ot()(e,Lt()(t,"messengers.items",[]))))||Pt()(t.steps,function(t){return st()(t.fields,{type:"phone"})})})}},mutations:{setForms:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=vt()(e,function(t){return!t.disabled});G()(i,function(t,e){var n=Lt()(i[e],"steps",[]);if(n.length){if(n=vt()(n,function(t,e){return 0===e||Lt()(t,"fields",[]).length}),n.length>1&&!Lt()(n[0],"fields",[]).length&&!t.onlyMessengers&&(n=L()(n,1)),1===n.length){var s=Lt()(n[0],"fields",[]);s.length?s.length<=2&&!Ot()(xt()(s,function(t){return t.type}),ri).length&&(n[0].fields=s,n[0].fields.push(si[1],si[2])):n[0].fields=si}}else n=[{fields:si}];V()(i[e],"steps",n)}),t.forms=i},resetState:function(t){t.currentStep=1,t.currentFormId=null},setCurrentFormId:function(t,e){t.currentStep=1,t.currentFormId=e},showStep:function(t,e){t.currentStep=e},setContacts:function(t,e){if(t.contacts=R()({},t.contacts,ti()(e,Je.a)),ft()(t.contacts.phone)){var i=st()(Ye()(t.contacts,["telegram","whatsapp","viber","wechat"]),function(t){return t.match(/^(\d|\+)(\d|-)+/g)});i&&(t.contacts.phone=i)}},setPreloadedContacts:function(t,e){var i={},n=Ge()(xt()(Lt()(e,"steps",[]),function(t){return Lt()(t,"fields",[])})),s=Qe()(xt()(n,function(t){return t.key}),ai);G()(s,function(t){ni[t]&&(i[t]=ni[t]);try{var e="field_".concat(btoa(t));ni[e]&&(i[e]=atob(ni[e]))}catch(n){}}),t.preloadedContacts=i},showMessengers:function(t){t.isMessengersPage=!0},hideMessengers:function(t){t.isMessengersPage=!1},setAnswerId:function(t,e){t.answerId=e},setSession:function(t,e){var i=e.answerId,n=e.uuid;t.answerId=i,t.uuid=n},setContactsBuffer:function(t,e){var i=e.key,n=e.value;t.contactsBuffer&&(t.contactsBuffer[i]=n)},updateVerification:function(t,e){t.verification=Yt()(t.verification,e)}},actions:{saveLead:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e,i){var s,a,r,o,u,c,l,d,f;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(s=e.state,a=e.getters,r=e.commit,o=e.rootState,i.contacts=s.contacts,i.clientId=s.uuid,i.form={id:a.form.id},i.extra.timezone=At["a"].getUserTimezone(),i.extra.lang=o.lang,s.verification.hash&&s.verification.code&&Pt()(i.contacts,function(t){return t===s.verification.phone})&&(i.verification=s.verification),Lt()(s,"forms.length",0)>1&&(i.form.steps=xt()(a.form.steps,function(t){return{header:t.header}})),u=Le.a.get(),c={},P()(u,function(t,e){var n=["_ga","_ym_uid","_fbc","_fbp","roistat_visit","roistat_first_visit","advcake_track_id","advcake_track_url","fb_login_id"];J()(n,e)&&(c[e]=t),ie()(e,"_comagic")&&(i.extra.comagic_id=t,c[e]=t),e==="marquiz_fingerprint_".concat(i.quizId)&&(c.fingerprint=t),String(e).indexOf("session_id")>=0&&(c[e]=t)}),!Lt()(c,"roistat_visit")&&Qt["f"].getItem("roistat_visit")&&(c.roistat_visit=Qt["f"].getItem("roistat_visit")),Lt()(c,"fingerprint")){t.next=16;break}return t.next=15,$e.set(1,i.quizId);case 15:c.fingerprint=$e.get(i.quizId);case 16:return i.extra.cookies=Yt()(c,i.extra.cookies),l=Lt()(ni,"referrer",document.referrer),l&&Lt()(ii()(l,!0),"hostname")!==Lt()(ii()(window.location.href,!0),"hostname")&&(i.extra.referrer=l),1===Lt()(a.form,"steps",[]).length&&(i.extra.notify="now"),d="/v1/answers",o.customAnswerEndpoint&&(d=o.customAnswerEndpoint),f=new Promise(function(){}),f=s.answerId?n["default"].axios.patch("".concat(d,"/").concat(s.answerId),i):n["default"].axios.post(d,i),f.then(function(t){r("setAnswerId",t.data.id)}).catch(function(){}),t.abrupt("return",f);case 26:case"end":return t.stop()}},t)}));function e(e,i){return t.apply(this,arguments)}return e}()}},ui={discountInterval:null},ci=It.a.parse(window.location.search),li=function(t){return Tt()(t,{length:80})},di={namespaced:!0,modules:{landing:De,progress:Fe,formula:He,form:oi},state:{page:oe.page.QUESTIONS,activePage:oe.page.QUESTIONS,loaded:!1,updated:null,id:null,userId:null,isDemo:!1,startPage:{},questions:[],activeQuestion:0,leadFormDisabled:!1,results:{},resultLoaderShown:!1,mode:ci.mode,isWidgetOpen:!1,isModalOpen:!1,modalWasOpened:!1,persistent:!1,info:{title:"",name:"",assistant:{name:"",title:"",avatar:""},marketing:{discount:{}},design:{colors:{main:"#ca2f94",buttonTextColor:"#fff"},buttonStyle:"round",animationStyle:"rightLeft",theme:"light",font:{name:"Gilroy"}}},settings:{enabled:!0,rateLimit:!0},whiteLabelDate:null,discount:null,fixedDiscount:null,answers:{},analyticUnique:!1,analyticFinished:!1,selectedResult:null,domain:null,subdomain:null,isQuestionSwipeHintShow:!0,projectId:null,redirectUrl:null,currency:"RUB",redirectParamsEnabled:!1,payable:!1,utm:[],quizCopy:{}},getters:{startPage:function(t){var e=t.startPage,i=t.utm;return Object(m["a"])({},e,{title:Pe(Lt()(e,"title"),{utm:i}),subtitle:Pe(Lt()(e,"subtitle"),{utm:i}),buttonText:Pe(Lt()(e,"buttonText"),{utm:i}),pageTitle:Pe(Lt()(e,"pageTitle"),{utm:i})})},questions:function(t){var e=t.questions,i=t.utm;return xt()(e,function(t){return Object(m["a"])({},t,{title:Pe(Lt()(t,"title"),{utm:i}),answers:xt()(Lt()(t,"answers",[]),function(t){return Object(m["a"])({},t,{title:Pe(Lt()(t,"title"),{utm:i}),longText:Pe(Lt()(t,"longText"),{utm:i}),hint:Pe(Lt()(t,"hint"),{utm:i})})}),options:Object(m["a"])({},Lt()(t,"options",{}),{placeholder:Pe(Lt()(t,"options.placeholder"),{utm:i}),content:Pe(Lt()(t,"options.content"),{utm:i}),startText:Pe(Lt()(t,"options.startText"),{utm:i})}),hint:Object(m["a"])({},Lt()(t,"hint",{}),{text:Pe(Lt()(t,"hint.text"),{utm:i})})})})},results:function(t){var e=t.results,i=t.answers,n=t.utm,s=t.formula,a=Object(Bt["d"])(Lt()(e,"points"),i),r=Lt()(s,"value");return Object(m["a"])({},e,{multipleTitle:Pe(Lt()(e,"multipleTitle"),{utm:n}),multipleText:Pe(Lt()(e,"multipleText"),{utm:n}),multipleButton:Pe(Lt()(e,"multipleButton"),{utm:n}),items:xt()(Lt()(e,"items",[]),function(t){var e=Lt()(t,"formula")?Lt()(t,"formulaValue"):r;return Object(m["a"])({},t,{title:Pe(Lt()(t,"title"),{utm:n,points:a,formula:e}),text:Pe(Lt()(t,"text"),{utm:n,points:a,formula:e}),buttonText:Pe(Lt()(t,"buttonText"),{utm:n})})})})},quizTitle:function(t){return Pe(Lt()(t,"info.title"),{utm:t.utm})},bonusesTitle:function(t){return Pe(Lt()(t,"info.marketing.bonusesTitle",!1),{utm:t.utm})},bonuses:function(t){var e=Lt()(t,"info.marketing.bonuses",[]);return xt()(e,function(e){return Object(m["a"])({},e,{name:Pe(Lt()(e,"name"),{utm:t.utm})})})},isBonusesEnabled:function(t){return Lt()(t,"info.marketing.isBonusesEnabled",!0)&&!!Lt()(t,"info.marketing.bonuses",[]).length},discountSettings:function(t){return Lt()(t.info,"marketing.discount",{})},hasConditions:function(t){return Pt()(t.questions,function(t,e){return Ct()(Lt()(t,"display.conditions",[]))>0&&0!==e})},currentQuestion:function(t,e){return e.questions[t.activeQuestion]},countQuestions:function(t,e){return e.countingQuestions.length},questionNumber:function(t,e){if(!e.currentQuestion)return null;if(e.currentQuestion.isNotCounting){var i=yt()(e.activeQuestions,{id:e.currentQuestion.id}),n=vt()(e.activeQuestions,function(t,e){return!t.isNotCounting&&enew Date},data:function(t,e,i){var n=ae.get();n.lng=i.lang,t.currency&&(n.currency=t.currency),n.notify=Lt()(e["form/form"],"sendOnFirstStep",!0)?"in 2 minutes":"now",!1===Lt()(t,"settings.rateLimit",!0)&&(n.rateLimit=!1),"vk"===t.mode&&(n.href=null);var s=vt()(e.activeFlatQuestions,function(t){return"statement"!==t.type}),a=xt()(s,function(e){var i=t.answers[e.id];return{q:e.id,a:ft()(i)?"":i}}),r=xt()(s,function(i){var n=e.answers[i.id],s=Lt()(i,"type"),a=Lt()(i,"options",{}),r=Lt()(i,"internalName",!1),o={q:r||Lt()(i,"title"),t:s};if(Lt()(i,"groupId")){var u=st()(t.questions,{id:i.groupId});u&&Lt()(u,"title")&&(o.q="".concat(o.q," (").concat(Lt()(u,"title"),")")),o.g=i.groupId}if(Object(Re["d"])(i)){var c=Lt()(a,"isLong");it()(n)?o.a=xt()(n,function(t){return c?li(t):t}):o.a=c?li(n):n}else o.a="date"===s?At["a"].getFormattedDate(a,n):"slider"===s?Lt()(a,"isRange")?"".concat(n.from," - ").concat(n.to):String(n):"file"===s?xt()(n,function(t){return t.url}):n;return ft()(o.a)&&(o.a=""),o});r=xt()(r,function(e){return Object(m["a"])({},e,{q:Pe(e.q,{utm:t.utm}),a:it()(e.a)?xt()(e.a,function(e){return Pe(e,{utm:t.utm})}):Pe(e.a,{utm:t.utm})})});var o={};if(lt()(e.result)||("content"===e.result.type?o={suitable:xt()(e.suitableResults,function(i){var n=Lt()(i,"formula")?Lt()(i,"formulaValue"):Lt()(t,"formula.value");return{id:i.id,title:i.internalName||i.title,text:i.text,cost:"formula"===Lt()(i,"costType")?n:Lt()(i,"cost",null),minCost:Lt()(i,"minCost",null),maxCost:Lt()(i,"maxCost",null),amount:e.resultAmount(i),discount:Lt()(i,"discount",null),formulaValue:n}}),selected:e.result.id}:"redirect"===e.result.type&&(o={suitable:xt()(e.suitableResults,function(t){return{id:t.id,link:t.link}}),selected:e.result.id})),t.results&&t.results.multiple&&(o.ids=xt()(e.suitableResults,"id"),o.multipleTitle=e.results.multipleTitle,o.multipleText=e.results.multipleText),t.fixedDiscount&&(n.discount=t.fixedDiscount,n.discountType=e.discountSettings.type,n.discountEffect=e.discountSettings.effect),!lt()(Lt()(t,"results.points"))){var u=Object(Bt["d"])(Lt()(t,"results.points"),t.answers);!1!==u&&(o.points=u)}t.abVariant&&(n.ab=t.abVariant);var c={quizId:t.id,raw:a,extra:n,result:o};return e.isBonusesEnabled&&Ct()(e.bonuses)>0&&(c.bonuses={enabled:e.isBonusesEnabled,items:e.bonuses,title:e.bonusesTitle}),i.customAnswerEndpoint?(c.answers=r,c.quiz={name:Lt()(t,"info.name")||Lt()(t,"info.title")}):c.answers2=r,t.projectId&&(c.projectId=t.projectId),c},resultsPosition:function(t){return!(!t.results||!Lt()(t.results,"items",[]).length)&&Lt()(t.results,"view","afterForm")},isMultipleResults:function(t){return Lt()(t.results,"multiple",!1)},result:function(t,e){if(t.selectedResult)return t.selectedResult;var i=e.suitableResults;return Lt()(i,0,{})},suitableResults:function(t,e){var i=Lt()(e,"results.items",[]),n=[],s=Object(Bt["d"])(Lt()(e,"results.points"),t.answers);return rt()(i,function(i){var a=Lt()(i,"display.conditions",[]),r=Lt()(i,"points"),o=0,u=!1;a.length?(o+=Ut(i.display,e.flatQuestions,t.answers),o>0&&(u=!0)):u=!0,!1!==s&&!lt()(r)&&u&&(u=Object(Bt["a"])(r,s)),u&&n.push(Object(m["a"])({},i,{_count:o}))}),n=tt()(n,["_count"],["desc"]),n},resultDiscount:function(t,e){return function(i){var n=i;i||(n=e.result);var s=Lt()(n,"discount");return s&&s.value?{type:s.type,value:s.value}:e.discountSettings&&e.discountSettings.value?Object(m["a"])({},e.discountSettings,{value:t.fixedDiscount||e.discountSettings.value}):void 0}},resultAmount:function(t,e){return function(t){var i=t;t||(i=e.result);var n=e.resultDiscount(i),s=function(t){return n?"percent"===n.type?t>0?t-t*n.value/100:0:t>0?t-n.value:0:Number(t)};return{cost:s(Lt()(i,"cost")),minCost:s(Lt()(i,"minCost")),maxCost:s(Lt()(i,"maxCost"))}}},isQuizEnable:function(t){return t.settings.enabled},buttonStyle:function(t){var e=Lt()(t.info,"design.buttonStyle","round"),i=J()(e,"outline"),n=J()(e,"square");return{outline:i,square:n}},animationStyle:function(t){return Lt()(t,"info.design.animationStyle","rightLeft")},fontFamily:function(t){var e=Lt()(t,"info.design.font",{name:"Gilroy"})||{name:"Gilroy"};return e},points:function(t){return Lt()(t,"results.points")||{}},isVerifyingEnabled:function(t,e){return!lt()(e.points)&&Lt()(t.info,"verifying.enabled",!1)},isVerifyingQuestion:function(t,e){if(!e.isVerifyingEnabled)return!1;var i="multiple"===Lt()(e.currentQuestion,"type")?Lt()(e.currentQuestion,"questions",[]):[e.currentQuestion];return Pt()(i,function(t){var i=Lt()(e.allCorrectAnswers,t.id);return Boolean(it()(i)?Ct()(i)>0:i)})},allCorrectAnswers:function(t,e){return e.isVerifyingEnabled?Y()(e.activeFlatQuestions,function(t,i){var n=Lt()(i,"answers",{});if(!Ct()(n))return t;var s=Object(re["a"])(i,e.points);return lt()(s)||(t[i.id]=s),t},{}):{}},isWidgetMode:function(t){return"widget"===t.mode},isDuplicateLead:function(t){var e=t.id;return!!$e.get(e)},isPreviewMode:function(t){var e=t.mode;return J()(["main_preview","preview"],e)},uploadedFileKeys:function(t,e){var i=[],n=vt()(e.activeFlatQuestions,{type:"file"});return G()(n,function(e){var n=t.answers[e.id];G()(n,function(t){return i.push(t.key)})}),i}},mutations:{saveState:function(t){Qt["f"].setItem("marquiz__quiz_state_".concat(t.id),JSON.stringify(t))},removeState:function(t){Qt["f"].removeItem("marquiz__quiz_state_".concat(t.id))},resetState:function(t){t.leadFormDisabled=!1,t.selectedResult=null,t.fixedDiscount=null},startQuiz:function(t){t.page=oe.page.QUESTIONS,t.activeQuestion=0,t.selectedResult=null,t.answers={},Q()(t,"settings.hasLinks")&&!lt()(t.quizCopy)&&(n["default"].set(t,"questions",H()(t.quizCopy.questions)),n["default"].set(t,"results",H()(t.quizCopy.results)),n["default"].set(t,"forms",H()(t.quizCopy.forms)))},setStartPage:function(t,e){t.startPage=e},setQuestions:function(t,e){t.questions=e},addQuestion:function(t,e){var i=e.question,n=e.index;t.questions.splice(n,0,i)},setActiveQuestion:function(t,e){t.activeQuestion=B()([j()([e,0]),t.questions.length])},setInfo:function(t,e){t.info=Object(m["a"])({},t.info,e)},setIsDemo:function(t){t.isDemo=!0},setId:function(t,e){t.id=e},setUserId:function(t,e){t.userId=e},setPersistent:function(t){t.persistent=!0},setWhiteLabelDate:function(t,e){t.whiteLabelDate=e?new Date(e):null},setRedirectParamsEnabled:function(t,e){t.redirectParamsEnabled=e},setLeadFormDisable:function(t,e){var i=e.leadFormDisableExpireAt,n=e.messengersEnabled,s=!!i&&new Date(i)>new Date;t.leadFormDisabled=!!s&&Lt()(t.info,"leadFormDisabled",s),t.leadFormDisabled&&t.results&&(t.results.view=n?"beforeForm":"afterForm")},setAnswer:function(t,e){var i=e.questionId,n=e.value,s={};s[i]=n,t.answers=R()({},t.answers,s)},resetAnswer:function(t,e){n["default"].delete(t.answers,e)},loaded:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t.loaded=e},updated:function(t,e){t.updated=e},setDiscount:function(t,e){t.discount=e},setCurrency:function(t,e){t.currency=e,Qt["d"].init({currency:e})},fixDiscount:function(t){var e=Lt()(t,"info.marketing.discount",{});"increasing"===e.effect?t.fixedDiscount=e.value:"melting"===e.effect?t.fixedDiscount=t.discount:t.fixedDiscount=t.discount||e.value},showPage:function(t,e){t.page=e},setPageActive:function(t){t.activePage=t.page},showLeadForm:function(t){t.page=oe.page.LEADFORM},showResults:function(t){t.page=oe.page.RESULTS},showResult:function(t,e){t.page=oe.page.RESULT,e&&(t.selectedResult=e)},showThanksPage:function(t){t.page=oe.page.THANKS},setResults:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.results=e},setResultPosition:function(t,e){t.results.view=e},setResultLoaderShown:function(t){t.resultLoaderShown=!0},setUniqueAnalytic:function(t,e){t.analyticUnique=e},setSettings:function(t,e){t.settings=Object(m["a"])({},t.settings,e)},selectResult:function(t,e){t.selectedResult=e},setMode:function(t,e){t.mode=e},setDomain:function(t,e){t.domain=e},setSubdomain:function(t,e){t.subdomain=e},showSwipeHint:function(t){t.isQuestionSwipeHintShow=!1},setProject:function(t,e){t.projectId=e},showRedirectLoading:function(t,e){t.redirectUrl=e},setButtonStyle:function(t,e){V()(t,"info.design.buttonStyle",e)},closeWidget:function(t){t.isWidgetOpen=!1},openWidget:function(t){t.isWidgetOpen=!0},closeModal:function(t){t.isModalOpen=!1},openModal:function(t){t.isModalOpen=!0,t.modalWasOpened=!0},setAbVariant:function(t,e){t.abVariant=e},enablePayment:function(t){t.payable=!0},savePercent:function(t,e){var i=e.id,s=e.percent,a=yt()(t.questions,{id:i});-1!==a&&n["default"].set(t.questions[a],"_percent",s)},removeSavedPercent:function(t,e){var i=yt()(t.questions,{id:e});-1!==i&&(t.questions[i]=M()(t.questions[i],"_percent"))},setFormulaValue:function(t,e){var i=e.resultId,s=e.value,a=st()(Lt()(t.results,"items",[]),{id:i});a&&n["default"].set(a,"formulaValue",s)},setPriceToResult:function(t,e){var i=e.resultId,s=e.price,a=st()(Lt()(t.results,"items",[]),{id:i});a&&n["default"].set(a,"cost",s)},setUtm:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=vt()(Lt()(t.info,"utm",[]),function(t){var e=t.internalTag;return e}),n={};rt()(i,function(t){var i=t.utmTag,s=t.internalTag,a=t.defaultValue;n[s]=e[i]||a||""}),t.utm=n},createQuizCopy:function(t){V()(t,"quizCopy.questions",H()(t.questions)),V()(t,"quizCopy.results",H()(t.results)),V()(t,"quizCopy.forms",H()(t.results)),V()(t,"quizCopy.info.assistant",H()(Lt()(t,"info.assistant",{})))},replaceIdsInQuestion:function(t,e){var i=e.nextQuestionIndex,s=e.answers;n["default"].set(t.questions,i,Ve(Lt()(t,"questions.".concat(i)),s)),Lt()(t,"info.assistant.enabled")&&n["default"].set(t.info,"assistant",Ve(Lt()(t,"info.assistant"),s))},replaceIdsInResults:function(t,e){n["default"].set(t,"results",Ve(t.results,e))},replaceIdsInLeadForm:function(t,e){n["default"].set(t.form,"forms",Ve(Lt()(t,"form.forms"),e))}},actions:{get:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e,i){var s,a,r,o,u,c,l,f,h,p,g,b,v,_,y,w,C,k,q,E,z,A,I,M,O,$,D,j,U,B,F,H;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(s=e.state,a=e.getters,r=e.commit,o=e.dispatch,u=i.id,c=i.groupId,l=i.domain,f=i.quiz,h=i.routeQuery,p=u,!f){t.next=7;break}b=f,t.next=41;break;case 7:if(!c){t.next=13;break}return r("setMode","vk"),t.next=11,n["default"].axios.get("v1/vkGroups/findOne",{params:{filter:{where:{groupId:c}}}});case 11:v=t.sent,p=Lt()(v,"data.quizId");case 13:if(!window.quizData){t.next=17;break}b=window.quizData,t.next=41;break;case 17:if(_=p&&S()(p.length,4,21),y=!!window.location.hostname.match(/.*((quiz-\d{1,6}-mrqz.website.yandexcloud|mrqz|quiz\.marquiz)\.\w{2,5}$|localhost)/gi),y||T()(l)){t.next=31;break}if(!p){t.next=26;break}return t.next=23,n["default"].axios.get("v1/Quizzes/findByProjectDomain?projectKey=".concat(p,"&projectDomain=").concat(l));case 23:g=t.sent,t.next=29;break;case 26:return t.next=28,n["default"].axios.get("v1/Quizzes/findByDomain?domain=".concat(l));case 28:g=t.sent;case 29:t.next=40;break;case 31:if(!y||!s.subdomain&&!_){t.next=37;break}return t.next=34,n["default"].axios.get("v1/Quizzes/findByKey?key=".concat(s.subdomain||p));case 34:g=t.sent,t.next=40;break;case 37:return t.next=39,n["default"].axios.get("v1/Quizzes/".concat(p));case 39:g=t.sent;case 40:b=g.data;case 41:if(b=Object(Qt["h"])(b),Lt()(b,"settings.persistent",!1)&&!J()(["preview","main_preview"],s.mode)&&r("setPersistent"),!s.persistent){t.next=61;break}try{w=JSON.parse(Qt["f"].getItem("marquiz__quiz_state_".concat(b.id)))}catch(N){}if(!w||b.updated!==w.updated){t.next=61;break}return w.abVariant&&console.info("QUIZ AB variant: %s",w.abVariant),C=st()(Object(Re["a"])(w.questions),function(t){return"file"===t.type}),k=Lt()(C,"groupId")||Lt()(C,"id"),q=yt()(w.questions,function(t,e){return w.activeQuestion>=e&&t.id===k}),-1!==q&&(R()(w,{page:"questions",activeQuestion:q,resultLoaderShown:!1}),delete w.answers[Lt()(C,"id")],E=xt()(Object(Re["a"])(L()(w.questions,q+1)),function(t){return t.id}),rt()(E,function(t){return delete w.answers[t]})),t.next=53,Qt["d"].init({lang:Lt()(w,"settings.lng","en"),currency:Lt()(w,"settings.currency","USD")});case 53:return R()(s,Object(m["a"])({},w,{isWidgetOpen:!1,mode:s.mode})),Lt()(b,"userId")&&r("setUserId",b.userId),Lt()(b,"readOnly.whiteLabelExpireAt")&&r("setWhiteLabelDate",b.readOnly.whiteLabelExpireAt),Lt()(b,"readOnly.leadFormDisableExpireAt")&&r("setLeadFormDisable",{leadFormDisableExpireAt:b.readOnly.leadFormDisableExpireAt,messengersEnabled:Lt()(a["form/form"],"messengers.enabled",!1)}),Lt()(b,"settings")&&r("setSettings",b.settings),o("initAnalytic",Lt()(b,"info.analytic",{})),Lt()(b,"settings.verification")&&a["form/mightHavePhoneField"]&&r("form/updateVerification",{hash:null}),t.abrupt("return");case 61:if(z=Lt()(b,"settings.lng")||Lt()(b,"info.design.lng"),!z){t.next=65;break}return t.next=65,d.i18next.changeLanguage(z);case 65:if(A=Lt()(b,"ab",{}),I=Lt()(A,"variants",[]),!lt()(I)&&!0!==A.disabled){if(M={key:"A",diff:null},I=vt()(I,function(t){return!0!==t.disabled}),I.push(M),O="marquiz__ab-variant_".concat(p),$=s.abVariant,$||($=Qt["f"].getItem(O)),D=$&&st()(I,{key:$}),D||(D=I[x()(I.length-1)]),$||Qt["f"].setItem(O,D.key),"A"!==D.key&&!lt()(D.diff))try{Qt["e"].patch(b,D.diff)}catch(N){D=M}console.info("QUIZ AB variant: %s",D.key),r("setAbVariant",D.key)}lt()(Lt()(b,"startPage"))||r("setStartPage",b.startPage),lt()(Lt()(b,"landing"))||r("landing/set",b.landing),V()(b,"questions",vt()(b.questions,function(t){return!t.disabled})),r("setQuestions",b.questions),Lt()(b,"results.items")&&V()(b,"results.items",vt()(b.results.items,function(t){return!t.disabled})),r("setResults",b.results),V()(b,"forms",vt()(b.forms,function(t){return!t.disabled})),r("form/setForms",b.forms),r("formula/set",Lt()(b,"results.formula","")),r("progress/set",Lt()(b.info,"design.progress",{})),r("setInfo",b.info),r("setId",b.id),r("setUserId",b.userId),r("setUtm",h),Q()(b,"settings.hasLinks")&&r("createQuizCopy"),j=Lt()(b,"info.payment"),U=!1,j&&(P()(j,function(t){t.enabled&&(U=!0)}),U&&r("enablePayment")),b.domain&&r("setDomain",b.domain),!0!==Lt()(b,"isActive")&&!0!==Lt()(b,"template.active")||r("setIsDemo"),"preview"===s.mode&&r("setIsDemo"),Lt()(b,"settings.customAnswerEndpoint")&&r("setCustomAnswerEndpoint",b.settings.customAnswerEndpoint,{root:!0}),Lt()(b,"settings.cookieNotice")&&r("showCookieNotice",null,{root:!0}),Lt()(b,"readOnly.whiteLabelExpireAt")&&r("setWhiteLabelDate",b.readOnly.whiteLabelExpireAt),Lt()(b,"readOnly.leadFormDisableExpireAt")&&r("setLeadFormDisable",{leadFormDisableExpireAt:b.readOnly.leadFormDisableExpireAt,messengersEnabled:Lt()(a["form/form"],"messengers.enabled",!1)}),B=Lt()(b,"info.startPageType"),t.t0=B,t.next="start-page"===t.t0?97:"landing"===t.t0?99:101;break;case 97:return r("showPage",oe.page.START),t.abrupt("break",102);case 99:return r("showPage",oe.page.LANDING),t.abrupt("break",102);case 101:r("startQuiz");case 102:if(Lt()(b,"settings")&&r("setSettings",b.settings),Lt()(b,"projectId")&&r("setProject",b.projectId),Lt()(b,"verifying")&&r("setVerifying",b.verifying),r("setRedirectParamsEnabled",Lt()(b,"readOnly.redirectParamsEnabled",!1)),F=Lt()(b,"settings.currency"),F||(F=Lt()(b,"info.marketing.discount.currency")),"RUR"===F&&(F="RUB"),F){t.next=119;break}t.t1=z,t.next="ru"===t.t1?113:"en"===t.t1?115:117;break;case 113:return F="RUB",t.abrupt("break",119);case 115:return F="USD",t.abrupt("break",119);case 117:return F="USD",t.abrupt("break",119);case 119:return F&&r("setCurrency",F),t.next=122,Qt["d"].init({lang:z,currency:F});case 122:return r("updated",Lt()(b,"updated")),r("loaded"),o("initAnalytic",Lt()(b,"info.analytic",{})),H=Lt()(b,"readOnly.marquizAnalyticExpireAt",!1),"preview"!==s.mode&&H&&new Date(H)>=new Date&&n["default"].analytic.initMarquizAnalytic(b.id),o("setInitialDiscount"),t.prev=128,t.next=131,n["default"].axios.post("v1/analytics/opening",{quizId:b.id,visitorId:ze(),isFormDisabled:s.leadFormDisabled});case 131:t.next=135;break;case 133:t.prev=133,t.t2=t["catch"](128);case 135:case"end":return t.stop()}},t,null,[[128,133]])}));function e(e,i){return t.apply(this,arguments)}return e}(),initAnalytic:function(t,e){var i=t.state,s=t.commit,a=t.dispatch,r=t.rootState,o={dummy:i.isDemo};i.abVariant&&(o.ab=i.abVariant);var u=new Promise(function(t){Nt()()&&t(),window.onmousemove=function(){t(),window.isActive=!0}}),c=[u];s("setUniqueAnalytic",Lt()(e,"unique",!1));var l=Lt()(e,"metrika.id");l&&c.push(n["default"].analytic.init({yaCounterId:l},Object(m["a"])({},o,{trustedDomains:Lt()(e,"metrika.trustedDomains",[]),webvisor:Lt()(e,"metrika.webvisor",!0),cdnSrc:"ru"!==r.lang&&!lt()(r.lang)})));var d=[],f=Lt()(e,"ga.id");n["default"].ab.setGAId("UA_113524925_1"),Lt()(i,"settings.internalAnalytic",!0)&&d.push("UA-113524925-1"),f&&d.push(f),d.length&&c.push(n["default"].analytic.init({gaIds:d},Object(m["a"])({},o,{abDimension:Lt()(e,"ga.abDimension")})));var h=Lt()(e,"fb.id");h&&c.push(n["default"].analytic.init({fb:h},o));var p=Lt()(e,"vk.id");p&&c.push(n["default"].analytic.init({vk:p},o));var g=Lt()(e,"mailru.id");g&&c.push(n["default"].analytic.init({mailru:g},o));var b=Lt()(e,"tiktok.id");b&&c.push(n["default"].analytic.init({tiktok:b},o));var v=Lt()(e,"roistat.id");v&&Ft(v),Promise.all(c).then(function(){a("analyticEvent","marquiz-start")})},setInitialDiscount:function(t){var e,i,n,s=t.state,a=t.getters,r=t.commit,o=a.discountSettings;if(o.value)switch(o.effect){case"melting":n=1e3,i=Math.round(o.value/60/a.countQuestions*1.5),0===i&&(i=1,n=1500),e=o.value,r("setDiscount",e),window.onblur=function(){window.isActive=!1},ui.discountInterval=setInterval(function(){window.isActive&&(e=s.discount-i>0?s.discount-i:0,r("setDiscount",e),(0===e||a.isLastStep)&&clearInterval(ui.discountInterval))},n);break;case"increasing":r("setDiscount",0);break;default:r("setDiscount",o.value)}},nextQuestion:C()(function(t){var e=t.state,i=t.getters,s=t.commit,a=t.dispatch,r=i.currentQuestion;if(i.isQuestionFilled||i.isQuestionNotRequired){if(i.isVerifyingEnabled&&i.isVerifyingQuestion&&!r.isExplanation){var o=vt()(Lt()(e.info,"verifying.questions",[]),function(t){var e=t.id;return!!i.allCorrectAnswers[e]}),u=Object(Bt["c"])(r,o,e.answers);u&&s("addQuestion",{question:u,index:e.activeQuestion+1})}!i.isQuestionFilled&&i.isQuestionNotRequired&&a("resetAnswer",r);var c=yt()(i.activeQuestions,{id:r.id}),l=i.activeQuestions[c+1],d=yt()(e.questions,{id:r.id})+1;if(Lt()(r,"isExplanation")||"statement"===Lt()(r,"type")||a("marquizAnalyticSetAnswer",r),a("analyticEvent","marquiz-step".concat(d)),n["default"].marquizAnalytic.event("step-".concat(r.id)),l){var f=yt()(e.questions,{id:l.id});s("setActiveQuestion",f),a("calculateDiscount"),Q()(e,"settings.hasLinks")&&s("replaceIdsInQuestion",{nextQuestionIndex:f,answers:i.answers})}else a("formula/evaluate"),Q()(e,"settings.hasLinks")&&s("replaceIdsInResults",i.answers),a("defineResult")}},500,{leading:!0,trailing:!1}),prevQuestion:function(t){var e=t.state,i=t.getters,n=t.commit,s=t.dispatch,a=yt()(i.activeQuestions,{id:i.currentQuestion.id});if(0===a)return!1;i.hasConditions&&s("resetAnswer",i.currentQuestion);var r=i.activeQuestions[a-1],o=yt()(e.questions,{id:r.id});if(Q()(e,"settings.hasLinks")){var u=y()(e.questions);u[a]=H()(e.quizCopy.questions[a]),u[a+1]&&(u[a+1]=H()(e.quizCopy.questions[a+1])),n("setQuestions",u)}n("removeSavedPercent",i.currentQuestion.id),n("setActiveQuestion",o),s("calculateDiscount")},defineResult:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e){var i,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:i=e.getters,n=e.dispatch,n("evaluateFormulas",i.suitableResults),n("setPricesToResults",i.suitableResults),t.t0=i.resultsPosition,t.next="beforeForm"===t.t0?6:"afterForm"===t.t0?14:16;break;case 6:if(!i.isMultipleResults||lt()(i.result)){t.next=9;break}return n("showResults"),t.abrupt("break",18);case 9:if(lt()(i.result)){t.next=12;break}return n("showResult"),t.abrupt("break",18);case 12:return n("showLeadForm"),t.abrupt("break",18);case 14:return n("showLeadForm"),t.abrupt("break",18);case 16:return n("showLeadForm"),t.abrupt("break",18);case 18:case"end":return t.stop()}},t)}));function e(e){return t.apply(this,arguments)}return e}(),showResults:function(t){var e=t.commit,i=t.dispatch,n=t.getters;n.suitableResults.length<2?i("showResult"):(e("showResults"),i("calculateDiscount",!0),i("analyticEvent","marquiz-results"))},showResult:function(t){var e=t.state,i=t.getters,s=t.commit,a=t.dispatch,r=Lt()(i,"result",{});a("calculateDiscount",!0),a("analyticEvent","marquiz-answer"),T()(r.id)?a("analyticEvent","marquiz-result-mismatch"):(a("analyticEvent","marquiz-result"),a("analyticEvent","marquiz-result-".concat(r.id))),"afterForm"===i.resultsPosition&&a("analyticEvent","marquiz-finish"),"afterForm"!==i.resultsPosition&&!e.leadFormDisabled||"redirect"!==r.type||!r.link?s("showResult"):n["default"].redirect(r.link,{contacts:{},result:r},!1,i.isMultipleResults&&i.suitableResults.length>1)},showLeadForm:function(t){var e=t.state,i=t.getters,n=t.commit,s=t.dispatch;if(e.leadFormDisabled)s("showDisableForm");else{if(Q()(e,"settings.hasLinks")&&n("replaceIdsInLeadForm",i.answers),n("showLeadForm"),s("calculateDiscount",!0),"email"===Lt()(e.results,"view")){i.suitableResults.length>1&&s("analyticEvent","marquiz-results");var a=Lt()(i,"result",{});T()(a.id)?s("analyticEvent","marquiz-result-mismatch"):(s("analyticEvent","marquiz-result"),s("analyticEvent","marquiz-result-".concat(a.id)))}s("analyticEvent","marquiz-form"),e.form.forms.length>1&&s("analyticEvent","marquiz-form-".concat(i["form/form"].id))}},showDisableForm:function(t){var e=t.state,i=t.getters,s=t.commit,a=t.dispatch;if(e.leadFormDisabled){if(s("setResultPosition",Lt()(i["form/form"],"messengers.enabled")?"beforeForm":"afterForm"),i.resultsPosition&&e.page!==oe.page.RESULTS&&e.page!==oe.page.RESULT){if(i.isMultipleResults&&!lt()(i.result))return void a("showResults");if(!lt()(i.result))return void a("showResult")}if(e.form.forms.length>1&&a("analyticEvent","marquiz-form-".concat(i["form/form"].id)),Lt()(i["form/form"],"messengers.enabled")&&!lt()(Lt()(i["form/form"],"messengers.chatBots")))return a("calculateDiscount",!0),Q()(e,"settings.hasLinks")&&s("replaceIdsInLeadForm",i.answers),void s("showLeadForm");a("analyticEvent","marquiz-finish");var r=Lt()(i["form/form"],"redirect");"redirect"===Lt()(i["form/form"],"endType")&&r&&n["default"].redirect(r),Lt()(e,"results.items",[]).length&<()(i.result)?a("showResult"):(Q()(e,"settings.hasLinks")&&s("replaceIdsInLeadForm",i.answers),a("calculateDiscount",!0),s("showThanksPage"))}},calculateDiscount:function(t){var e=t.state,i=t.getters,n=t.commit,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=i.discountSettings,r=i.countQuestions,o=v()([oe.page.LEADFORM,oe.page.RESULTS,oe.page.RESULT],e.page)>=0,u=i.questionNumber;if(!lt()(a)){if("number"===a.type)if("increasing"===a.effect){var c=0;if(1===u)n("setDiscount",0);else if(o)c=a.value;else{var l=u-2>0?Math.round(a.value/r*(u-2)):0;c=Math.round(l+(a.value-l)*(1/(r-u+2)))}Lt()(i.currentQuestion,"isExplanation",!1)||n("setDiscount",c)}else a.effect||n("setDiscount",a.value);else if("percent"===a.type)if("increasing"===a.effect){var d;if(o)d=a.value;else{var f=a.value/r;d=Math.floor(f*(u-1)*100)/100}n("setDiscount",d)}else a.effect||e.discount===a.value||n("setDiscount",a.value);s&&(ui.discountInterval&&clearInterval(ui.discountInterval),n("fixDiscount"))}},resetAnswer:function(t,e){var i=t.commit;"multiple"!==Lt()(e,"type")?i("resetAnswer",e.id):rt()(Lt()(e,"questions",[]),function(t){var e=t.id;return i("resetAnswer",e)})},analyticEvent:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e,i){var s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(s=e.state,"marquiz-finish"!==i||!s.analyticFinished){t.next=3;break}return t.abrupt("return");case 3:if("marquiz-finish"!==i){t.next=8;break}if(!s.leadFormDisabled){t.next=7;break}return t.next=7,n["default"].axios.post("v1/analytics/finish",{quizId:s.id});case 7:s.analyticFinished=!0;case 8:s.analyticUnique&&n["default"].analytic.event("".concat(i,"_").concat(s.id)),n["default"].analytic.event(i);case 10:case"end":return t.stop()}},t)}));function e(e,i){return t.apply(this,arguments)}return e}(),marquizAnalyticSetAnswer:function(t,e){var i=t.state,s=function(t){var e=[],s=i.answers[t.id];if(ft()(s)||""===s)e.push("marquiz-skip");else if(it()(s))G()(s,function(i){var n=!!st()(t.answers,{id:i});n?e.push(i):e.push("marquiz-other")});else{var a=!!st()(t.answers,{id:s});a?e.push(s):e.push("marquiz-other")}n["default"].marquizAnalytic.answer({question_id:t.id,answer:e})};"multiple"!==Lt()(e,"type")?s(e):rt()(Lt()(e,"questions",[]),s)},showPayment:function(t){var e=t.state,i=t.commit,n=t.getters;n.resultAmount().cost&&(e.page===oe.page.PAYMENT&&window.marquizPay?window.marquizPay():i("showPage",oe.page.PAYMENT))},evaluateFormulas:function(t){var e=t.state,i=t.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];G()(n,function(t){var n=Lt()(t,"formula");if(n){var s=Lt()(e.results,"calcs",{}),a=g()(_e(n,s,e.answers),2);i("setFormulaValue",{resultId:t.id,value:a})}})},setPricesToResults:function(t){var e=t.commit,i=t.rootState,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=Lt()(i.quiz.formula,"value");G()(n,function(t){var i=Lt()(t,"formula")?Lt()(t,"formulaValue"):s;"formula"===Lt()(t,"costType")&&e("setPriceToResult",{resultId:t.id,price:i})})}}};n["default"].use(f["a"]);var fi={setLang:function(t,e){t.lang=e,Qt["d"].init({lang:e})},setCustomAnswerEndpoint:function(t,e){t.customAnswerEndpoint=e},showCookieNotice:function(t){t.cookieNotice=!0},hideCookieNotice:function(t){t.cookieNotice=!1}},hi={baseLang:function(t){return/ru|be|by|uk|kz/i.test(t.lang)?"ru":"en"}},mi=new f["a"].Store({state:{lang:"ru",customAnswerEndpoint:null,cookieNotice:!1},getters:hi,mutations:fi,modules:{quiz:di}}),pi=mi,gi=i("3652"),bi=i.n(gi),vi=i("2955"),_i=i.n(vi),yi=i("5e93"),wi=i("58ca"),Ci=i("7618"),ki=i("bc3a"),Pi=i.n(ki),qi=(i("6b54"),function(t,e,i){console.info("Changing api server %s (%s)",i.region,i.url),t.defaults.baseURL=i.url,Qt["g"].set(i.region),e.baseURL=i.url,e.url=ii()(e.url).set("hostname",ii()(i.url).hostname).toString()}),xi={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:404,i=Qt["g"].get(),n=window.quizData&&window.apiUrl,s=0,a=[{region:"eu",url:"https://marquiz-backend.herokuapp.com",priority:"eu"===i?10:20},{region:"us",url:"https://marquiz-backend-us.herokuapp.com",priority:"us"===i?10:20}];a=tt()(vt()(a,"url"),"priority");var r=a[s];return n?console.info("Primary api server %s",window.apiUrl):console.info("Primary api server %s (%s)",r.region,r.url),t.defaults.baseURL=n?window.apiUrl:r.url,t.interceptors.response.use(function(t){return t},function(){var i=Object(h["a"])(regeneratorRuntime.mark(function i(n){var r,o;return regeneratorRuntime.wrap(function(i){while(1)switch(i.prev=i.next){case 0:if(!n||!n.response||n.response.status!==e){i.next=10;break}if(s+=1,r=a[s],o=Object(m["a"])({},n.config),r){i.next=8;break}return s=0,qi(t,o,a[s]),i.abrupt("return",Promise.reject(n));case 8:return qi(t,o,r),i.abrupt("return",t.request(o));case 10:return i.abrupt("return",Promise.reject(n));case 11:case"end":return i.stop()}},i)}));return function(t){return i.apply(this,arguments)}}()),t}},Ei={install:function(t){t.axios=t.prototype.$axios=xi.install(Pi.a.create({baseURL:Qt["f"].getItem("API_URL")||"https://marquiz-backend.herokuapp.com",timeout:6e4,params:{lng:navigator.language,tz:Intl.DateTimeFormat().resolvedOptions().timeZone}})),t.prototype.$axiosFileUpload=t.axiosFileUpload=function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"file",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("string"!==typeof e)throw new TypeError("Expected a string, got ".concat(Object(Ci["a"])(e)));var a=new FormData;return a.append(n,i),s&&P()(s,function(t,e){a.append(e,t)}),t.axios.post(e,a,{headers:{"Content-Type":"multipart/form-data boundary=".concat(a._boundary)}})}}},Li={install:function(t){t.directive("horizontal-scroll",{inserted:function(t){t.onwheel=function(e){t.scrollLeft+=3*e.deltaY,e.preventDefault()}}})}},zi=i("b9ad"),Ti=i.n(zi),Ai=function(t){return new Promise(function(e){(function(t,i,n){var s=t.createElement("script");s.async=!0,s.src="https://www.googletagmanager.com/gtag/js?id=".concat(n);var a=t.createElement("script");a.innerHTML="\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n ",t.getElementsByTagName("head")[0].prepend(s,a),e()})(document,window,t[0])})},Si=function(){!function(t,e,i,n,s,a,r){t.fbq||(s=t.fbq=function(){s.callMethod?s.callMethod.apply(s,arguments):s.queue.push(arguments)},t._fbq||(t._fbq=s),s.push=s,s.loaded=!0,s.version="2.0",s.queue=[],a=e.createElement(i),a.async=!0,a.src=n,r=e.getElementsByTagName(i)[0],r.parentNode.insertBefore(a,r))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js")},Ii=function(t){return new Promise(function(e){!function(){var i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src="https://vk.com/js/api/openapi.js?160",i.onload=function(){VK.Retargeting.Init(t),VK.Retargeting.Hit(),e()},document.head.appendChild(i)}()})},Mi=function(t){return new Promise(function(e){var i=window._tmr||(window._tmr=[]);i.push({id:t,type:"pageView",start:(new Date).getTime()}),function(t,i,n){if(!t.getElementById(n)){var s=t.createElement("script");s.type="text/javascript",s.async=!0,s.id=n,s.src="https://top-fwz1.mail.ru/js/code.js";var a=function(){var e=t.getElementsByTagName("script")[0];e.parentNode.insertBefore(s,e)};"[object Opera]"==i.opera?t.addEventListener("DOMContentLoaded",a,!1):a(),e()}}(document,window,"topmailru-code")})},Oi=function(t){return new Promise(function(e){(function(i){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://analytics.tiktok.com/i18n/pixel/sdk.js?sdkid=".concat(t);var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(n,s),e()})(window)})},Vi=i("5308"),$i=i("63ea"),Ri=i.n($i),Di=i("386c"),ji=i.n(Di),Ui=[],Bi=[],Fi=!1;function Hi(){var t=Le.a.get("visitor_id");return t||(t=xe()(),Le.a.set("visitor_id",t,{expires:1})),t}var Ni=0,Qi={requestPayload:{quiz_id:null,visitor_id:Hi(),time_zone:null},send:Pi.a.post,tick:function(){Ni+=1},isUniqueAnswer:function(t){var e=!0;return rt()(Ui,function(i){Ri()(t,i)&&(e=!1)}),!!e&&(Ui.push(t),!0)},isUniqueEvent:function(t){var e=v()(Bi,t);return!(e>=0)&&(Bi.push(t),!0)},isInited:function(){return Fi},requestApi:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=String("https://analytics.marquiz.ru"),n={visitor:"/api/visitor",answer:"/api/answer",event:"/api/event",lead:"/api/visitor/lead"};if(!T()(n[t])){var s="".concat(i).concat(n[t]),a=Object(m["a"])({},this.requestPayload);null!==e&&R()(a,e);try{this.send(s,a)}catch(r){console.log(r)}}},init:function(t){var e=new URLSearchParams(window.location.search);if(!e.get("test")){ji.a.every(1e3,this.tick),console.info("Marquiz Analytic inited");var i=new Date,n=i.getTimezoneOffset()/60;n=n<0?Math.abs(n):-1*n,Fi=!0,this.requestPayload.quiz_id=t,this.requestPayload.time_zone=n,this.requestApi("visitor")}},lead:function(){Fi&&(console.info("Marquiz Analytic lead"),this.requestApi("lead",{quiz_passing_time:Ni}))},event:function(t){Fi&&this.isUniqueEvent(t)&&(console.info("Marquiz Analytic event: ".concat(t)),this.requestApi("event",{event_tag:t}),"finish"===t&&this.lead())},answer:function(t){Fi&&this.isUniqueAnswer(t)&&(console.info("Marquiz Analytic answer: ".concat(t.question_id," => ").concat(t.answer)),this.requestApi("answer",{question_id:t.question_id,answer:t.answer}))}},Wi=function(){function t(e){Object(Wt["a"])(this,t),this.vue=e,this.yaCounters=[],this.isProd=!0}return Object(Gt["a"])(t,[{key:"event",value:function(t){var e=this;if(this.yaCounters.forEach(function(i){e.isProd?window[i]&&window[i].reachGoal(t):console.info("Metrika event: ".concat(t),i)}),this.gtag){var i=this.gtag,n=i.gaIds,s=i.ga4Ids,a="/".concat(t.replace("-","/")),r=te()(t,/-/g,"_");this.isProd?(this.gtag("event","page_view",{page_path:a,send_to:n,marquiz_ab:Lt()(this.gtag,"options.ab")}),this.gtag("event",r,{send_to:s})):(n.length&&console.info("GA pageview: ".concat(a),n),s.length&&console.info("GA4 event: ".concat(r),s))}if(this.fb){var o="ViewContent";"marquiz-finish"!==t&&"marquiz-contacts1"!==t&&"marquiz-contacts2"!==t||(o="Lead"),this.isProd?this.fb.event(o,{content_name:t}):console.log("FB pixel event",o,t)}if(this.vk&&(this.isProd?(this.vk.Retargeting.Event(t),"marquiz-finish"===t&&this.vk.Goal("lead")):(console.log("VK pixel event",t),"marquiz-finish"===t&&console.log("VK pixel goal - lead"))),this.mailru)if(this.isProd){var u=window._tmr||(window._tmr=[]);u.push({id:this.mailru.id,type:"reachGoal",goal:t})}else console.log("Mail ru event",t);if("step"!==t.replace("marquiz-","").substring(0,4)){var c=t.split("_");T()(c[1])&&Qi.event(t.replace("marquiz-",""))}}},{key:"hit",value:function(t){var e=this;this.yaCounters.forEach(function(i){e.isProd?window[i]&&window[i].hit(t):console.info("Metrika page hit: ".concat(t),i)})}},{key:"init",value:function(t){var e=t.yaCounterId,i=t.gaIds,n=t.fb,s=t.vk,a=t.mailru,r=t.tiktok,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Lt()(o,"dummy")&&(this.isProd=!1);var u=[];return e&&u.push(this.initMetrika(e,o)),Lt()(i,"length")&&u.push(this.initGA(i,o)),n&&u.push(this.initFB(n)),s&&u.push(this.initVK(s)),a&&u.push(this.initMailru(a)),r&&u.push(this.initTiktok(r)),Promise.all(u)}},{key:"initMarquizAnalytic",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==t&&Qi.init(t)}},{key:"initMetrika",value:function(t,e){var i=this;return new Promise(function(n){var s=i,a="yaCounter".concat(t),r={};if(e.ab&&(r.marquiz_ab=e.ab),!i.isProd)return s.yaCounters.push(a),console.info("Fake Metrika inited",t),void n();(function(i,o,u){(o[u]=o[u]||[]).push(function(){try{o[a]=new o.Ya.Metrika2({id:t,clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:Lt()(e,"webvisor",!0),trackHash:!0,trustedDomains:Lt()(e,"trustedDomains",[]),params:r}),s.yaCounters.push(a),n()}catch(i){console.log(i)}});var c=i.getElementsByTagName("script")[0],l=i.createElement("script"),d=function(){c.parentNode.insertBefore(l,c)};l.type="text/javascript",l.async=!0,l.src=Lt()(e,"cdnSrc",!1)?"https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js":"https://mc.yandex.ru/metrika/tag.js","[object Opera]"===o.opera?i.addEventListener("DOMContentLoaded",d,!1):d()})(document,window,"yandex_metrika_callbacks2")})}},{key:"initGA",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n){var s=vt()(t,function(t){return ie()(t,"UA-")}),a=vt()(t,function(t){return ie()(t,"G-")});if(!e.isProd)return console.info("Fake ga inited",t),e.gtag={gaIds:s,ga4Ids:a,options:i},n();Ai(t).then(function(){e.gtag=window.gtag,R()(e.gtag,{gaIds:s,ga4Ids:a,options:i});var t={cookie_flags:"SameSite=None;Secure"},r={cookie_flags:"SameSite=None;Secure"};if(i.ab){var o=Lt()(i,"abDimension",1);V()(t,"custom_map.dimension".concat(o),"marquiz_ab"),V()(r,"marquiz_ab",i.ab)}xt()(s,function(i){return e.gtag("config",i,t)}),xt()(a,function(t){return e.gtag("config",t,r)}),n()})})}},{key:"initFB",value:function(t){var e=this;return new Promise(function(i){if(!e.isProd)return console.info("Fake FB pixel inited",t,{external_id:Vi["a"].get("uuid")}),e.fb=!0,i();Si(),e.vue.use(Ti.a,{debug:!e.isProd}),e.vue.analytics.fbq.init(t,{external_id:Vi["a"].get("uuid")}),e.fb=e.vue.analytics.fbq,e.fb.event("PageView"),i()})}},{key:"initVK",value:function(t){var e=this;return new Promise(function(i){if(!e.isProd)return console.info("Fake VK pixel inited",t),e.vk=!0,i();Ii(t).then(function(){e.vk=window.VK,i()})})}},{key:"initMailru",value:function(t){var e=this;return new Promise(function(i){if(!e.isProd)return console.info("Fake Mailru inited",t),e.mailru=!0,i();Mi(t).then(function(){e.mailru=window._tmr,e.mailru.id=t,i()})})}},{key:"initTiktok",value:function(t){var e=this;return new Promise(function(i){if(!e.isProd)return console.info("Fake TikTok inited",t),e.tiktok=!0,i();Oi(t).then(function(){i()})})}}]),t}(),Gi={install:function(t){t.prototype.$analytic=new Wi(t),t.analytic=t.prototype.$analytic,t.marquizAnalytic=Qi,t.prototype.$marquizAnalytic=Qi}},Zi={install:function(t){t.quizFrame=t.prototype.$quizFrame={postMessage:function(t){window.parent.postMessage(JSON.stringify(t),"*")},changeHeight:function(t,e){this.postMessage({action:"setHeight",id:t,height:e})}}}},Yi=!1;function Ki(t){t&&t.focus&&(Yi||t.focus())}var Ji,Xi,tn={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{disabled:!1},i=e.disabled;!0===i&&(Yi=!0),t.directive("focus",{inserted:function(t){!1!==Yi&&Ki(t)}}),t.prototype.$focusInput=Ki,t.focusInput=Ki}},en=!1,nn=function(){},sn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.contacts,n=e.result,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=String(t);r.indexOf("://")<0&&(r="http://".concat(r));var o=!1;if(!lt()(i))for(var u in i)i[u]&&(J()(r,"{".concat(u,"}"))&&(o=!0),r=te()(r,"{".concat(u,"}"),i[u]));n&&(J()(r,"{result}")&&(o=!0),r=te()(r,"{result}",n.id));var c={},l=It.a.parse(window.location.search);P()(l,function(t,e){ie()(e,"utm_")&&(c[e]=t),v()(["_ga","yclid","ymclid","gclid","fbclid","ad"],e)>=0&&(c[e]=t)});var d=ae.get(),f=Lt()(d,"cookies.roistat_visit")||Le.a.get("roistat_visit")||Qt["f"].getItem("roistat_visit");f&&(c.roistat_visit=f);var h=new ii.a(r,"",!0),p=Object(m["a"])({},h.query,c);if(!o){for(var g in i)i[g]&&(p["marquiz_".concat(g)]=i[g]);n&&n.id&&(p.result=n.id)}if(h.set("query",p),en)console.log("Marquiz redirect",h.href);else if(a)window.open(h.href,"_blank");else{s?s(r):nn(r);var b=2e3;setTimeout(function(){window.top.location.href=h.href},b)}return r},an={install:function(t,e){e&&(e.dummy&&(en=!0),e.callback&&(nn=e.callback)),t.redirect=sn,t.prototype.$redirect=sn}},rn={},on={gaId:null,getVariant:function(t){var e="marquiz__ab-variant_".concat(t),i=rn[t]||Qt["f"].getItem(e);if(!i){var n=Lt()(this.list,t,[]);if(!n.length)return;if(i=n[x()(0,n.length-1)],rn[t]=i,Qt["f"].setItem(e,i),window.ga){var s="set";this.gaId&&(s="gtag_".concat(this.gaId,".set")),window.ga(s,"dimension1",i)}console.info("Marquiz Internal AB Variant: %s = %s",t,i)}return i},list:{social_auth:["show","hide"]},clearCache:function(){rn={}},setGAId:function(t){this.gaId=t}},un={install:function(t){t.prototype.$ab=on,t.ab=on}},cn={id:null,seconds:0},ln=function(t){cn.id&&clearInterval(cn.id),cn.seconds=t,cn.id=setInterval(function(){cn.seconds--,cn.seconds<=0&&clearInterval(cn.id)},1e3)},dn={install:function(t){t.observable(cn),t.prototype.$timer=t.timer=cn,t.prototype.$timer.set=t.timer.set=ln}},fn=function(){var t=Lt()(ae.get(),"cookies._ga");t&&Le.a.set("_ga",t)},hn=i("e28c"),mn=i("cdae"),pn=(i("5abe"),i("dfa4"),i("98f9"),i("7452"),i("660e")),gn=i("1642"),bn=i.n(gn),vn=i("5b6c"),_n=i.n(vn),yn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("Theme",{directives:[{name:"waitForT",rawName:"v-waitForT",value:!0,expression:"true"}]},[t.isQuizEnable?i("div",{staticClass:"app",class:{"app_widget-open":t.isWidgetOpen},attrs:{id:"app"}},[t.loaded?i("Layout",[t.isWidgetMode?i("WidgetPreview"):t._e(),!t.isWidgetMode||t.isWidgetOpen?[t.page===t.$const.page.START||t.page===t.$const.page.LANDING?i("div",{staticClass:"app__start",class:{"hide-scrollbar":t.isWidgetOpen},attrs:{id:"start"}},[t.page===t.$const.page.START?i("StartPage"):t.page===t.$const.page.LANDING?i("Landing"):t._e()],1):i("Quiz")]:t._e()],2):t._e(),t.isShowWelcomePage?t._e():[t.isLoading?i("div",{staticClass:"app__loading"}):t._e(),t.notFound?i("div",{staticClass:"app__not-found"},[i("div",{staticClass:"app__emoji"},[t._v("4️⃣ 0️⃣ 4️⃣")]),t._v(t._s(t.$t("this quiz does not exists"))+" 🙄")]):t._e(),t.loadingError?i("div",{staticClass:"app__loading-error"},[i("p",[t._v(t._s(t.$t("failed to load quiz"))+"..")]),i("div",{staticClass:"app__emoji"},[t._v("🤒")]),i("button",{staticClass:"app__retry-btn button",on:{click:t.retryLoad}},[t._v(t._s(t.$t("Try again")))])]):t._e(),"/agreement"===t.$route.path?i("router-view"):t._e()],t.isShowWelcomePage?i("Welcome"):t._e(),t.isVkGroupAdmin?i("VkGroupSettings",{attrs:{quizInfo:t.info,quizId:t.quizId},on:{"update:quizId":function(e){t.quizId=e},"update:quiz-id":function(e){t.quizId=e},loaded:t.load}}):t._e(),t.isPreviewMode?i("PreviewController",{on:{loaded:function(e){t.isLoading=!1}}}):t._e()],2):i("Disabled")],1)},wn=[],Cn=(i("7f7f"),i("6625")),kn=i.n(Cn),Pn=i("3065"),qn=i.n(Pn),xn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"layout"},[t._t("default")],2)},En=[],Ln=(i("895a"),i("2877")),zn={},Tn=Object(Ln["a"])(zn,xn,En,!1,null,null,null),An=Tn.exports,Sn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"welcome"},[t._e(),i("div",{staticClass:"hero is-fullheight"},[i("div",{staticClass:"hero-body"},[i("div",{staticClass:"columns"},[i("div",{staticClass:"welcome__info column is-6"},[i("div",[i("h1",{staticClass:"title"},[t._v(t._s(t.content[t.lang].title))]),"ru"===t.lang?i("h2",{staticClass:"subtitle"},[t._v(t._s("Получайте в разы больше заявок"))]):t._e(),i("div",{staticClass:"welcome__text"},["ru"===t.lang?i("p",[t._v(t._s("Квиз - это виджет опроса, который задаёт вопросы посетителю, а в конце предлагает оставить контакты."))]):t._e(),i("p",[t._v(t._s(t.content[t.lang].description))])]),i("div",{staticClass:"welcome__buttons"},[i("a",{staticClass:"button is-primary",attrs:{href:t.content[t.lang].href,target:"_blank"}},[t._v(t._s(t.content[t.lang].button))]),"ru"===t.lang?i("a",{staticClass:"button",attrs:{href:"https://www.marquiz.ru/#section-steps",target:"_blank"}},[t._v("Подробнее")]):t._e()])])]),i("div",{staticClass:"welcome__image column"},[i("img",{attrs:{src:t.content[t.lang].imgSrc}})])])])])])},In=[],Mn=i("56e2"),On={components:{RadioButtonGroup:Mn["a"]},data:function(){return{languages:[{value:"ru",label:"Русский",text:"RU"},{value:"en",label:"English",text:"EN"}],content:{ru:{title:"Marquiz - конструктор маркетинговых квизов",description:"Задавая нужные вопросы, он помогает определиться с выбором человеку. Поэтому квиз работает на более холодную аудиторию, за счёт чего вы получаете в разы больше заявок",button:"Создать квиз",imgSrc:"".concat(Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_ASSETS_PATH||"","/static/mrqz-image.png"),href:"https://panel.marquiz.ru/signup"},en:{title:"Create an online quiz in 10 minutes",description:"Get registrations and learn more about your audience through your website and social media — all without the help of designers or programmers",button:"Try for free",imgSrc:"".concat(Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_ASSETS_PATH||"","/static/mrqz-image-en.png"),href:"https://app.marquiz.io/signup"}}}},computed:{lang:{get:function(){return this.$store.getters.baseLang},set:function(t){this.$store.commit("setLang",t),this.$i18n.i18next.changeLanguage(t)}}}},Vn=On,$n=(i("4a1b"),Object(Ln["a"])(Vn,Sn,In,!1,null,null,null)),Rn=$n.exports,Dn={render:function(){return""},mounted:function(){var t=this;window.addEventListener("message",function(e){e.data&&e.data.quiz&&t.commit(e.data)})},computed:Object(m["a"])({},Object(f["d"])("quiz",["questions","results"]),Object(f["c"])("quiz",["resultsPosition","isMultipleResults"])),methods:{commit:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(){var e,i,n,s=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=s.length>0&&void 0!==s[0]?s[0]:{},this.$store.commit("quiz/resetState"),this.$store.commit("quiz/form/resetState"),t.next=5,this.$nextTick();case 5:if(e.abVariant&&this.$store.commit("quiz/setAbVariant",e.abVariant),!e.quiz){t.next=9;break}return t.next=9,this.$store.dispatch("quiz/get",{quiz:e.quiz});case 9:if(e.formId&&this.$store.commit("quiz/form/setCurrentFormId",e.formId),i=e.page,i){t.next=13;break}return t.abrupt("return");case 13:t.t0=i,t.next="leadform"===t.t0?16:"messengers"===t.t0?20:"start_page"===t.t0?23:"questions"===t.t0?32:"results"===t.t0?35:"thanks"===t.t0?42:"explanation"===t.t0?45:48;break;case 16:return e.formStep&&this.$store.commit("quiz/form/showStep",e.formStep),this.$store.dispatch("quiz/showLeadForm"),new Date(Lt()(e.quiz,"readOnly.leadFormDisableExpireAt",null))<=new Date&&this.$store.commit("quiz/form/hideMessengers"),t.abrupt("break",49);case 20:return this.$store.dispatch("quiz/showLeadForm"),this.$store.commit("quiz/form/showMessengers"),t.abrupt("break",49);case 23:t.t1=Lt()(e.quiz,"info.startPageType"),t.next="start-page"===t.t1?26:"landing"===t.t1?28:30;break;case 26:return this.$store.commit("quiz/showPage",this.$const.page.START),t.abrupt("break",31);case 28:return this.$store.commit("quiz/showPage",this.$const.page.LANDING),t.abrupt("break",31);case 30:this.$store.commit("quiz/showPage",this.$const.page.QUESTIONS);case 31:return t.abrupt("break",49);case 32:return this.$store.commit("quiz/startQuiz"),e.questionId&&this.$store.commit("quiz/setActiveQuestion",yt()(this.questions,{id:e.questionId})),t.abrupt("break",49);case 35:if(this.resultsPosition){t.next=37;break}return t.abrupt("break",49);case 37:if(!e.resultId){t.next=40;break}return this.$store.commit("quiz/showResult",st()(this.results.items,{id:e.resultId})),t.abrupt("break",49);case 40:return this.isMultipleResults?this.$store.commit("quiz/showResults"):this.$store.commit("quiz/showResult"),t.abrupt("break",49);case 42:return this.$store.dispatch("quiz/showLeadForm"),this.$store.commit("quiz/showThanksPage"),t.abrupt("break",49);case 45:return this.$store.commit("quiz/startQuiz"),e.questionId&&(n=yt()(this.questions,{id:e.questionId}),this.$store.commit("quiz/setActiveQuestion",n),this.$store.commit("quiz/setExplanationQuestion",{question:this.questions[n],explanation:e.explanation}),this.$store.commit("quiz/setActiveQuestion",n+1)),t.abrupt("break",49);case 48:return t.abrupt("break",49);case 49:this.$emit("loaded");case 50:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()}},jn=Dn,Un=Object(Ln["a"])(jn,Ji,Xi,!1,null,null,null),Bn=Un.exports,Fn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:["app-wrapper "+t.theme,{"dark-tone":t.isDarkBg}],style:t.styles},[t._t("default")],2)},Hn=[],Nn=i("a3e6"),Qn=i.n(Nn),Wn=i("27d6"),Gn=i.n(Wn),Zn={data:function(){return{colors:{},fonts:{},theme:null,isDarkBg:null,themes:{light:{main:"#d34085",buttonTextColor:"#ffffff",bgColor:"#ffffff",bgTextColor:"#363636",buttonStyle:"round",progress:{enabled:!0,type:"progress-bar"},font:{name:"Gilroy"}},dark:{main:"#d13980",buttonTextColor:"#ffffff",bgColor:"#303537",bgTextColor:"#ffffff",buttonStyle:"round",progress:{enabled:!0,type:"progress-bar"},font:{name:"Gilroy"}},"light-blue":{main:"#0054dd",buttonTextColor:"#ffffff",bgColor:"#ffffff",bgTextColor:"#000000",buttonStyle:"round-outline",progress:{enabled:!0,type:"circular-steps"},font:{name:"Inter",src:"Inter:400,600,700"}},"copper-red":{main:"#ce6c47",buttonTextColor:"#ffffff",bgColor:"#ffffff",bgTextColor:"#000000",buttonStyle:"round",progress:{enabled:!0,type:"steps"},font:{name:"Inter",src:"Inter:400,600,700"}},olive:{main:"#9e8b12",buttonTextColor:"#ffffff",bgColor:"#eeeae7",bgTextColor:"#31455d",buttonStyle:"round",progress:{enabled:!0,type:"dynamic-progress-bar"},font:{name:"Inter",src:"Inter:400,600,700"}},"red-crayola":{main:"#e64555",buttonTextColor:"#ffffff",bgColor:"#ffffff",bgTextColor:"#002642",buttonStyle:"round",progress:{enabled:!0,type:"circular"},font:{name:"Inter",src:"Inter:400,600,700"}},"green-creme":{main:"#fbcbbc",buttonTextColor:"#1a2e2a",bgColor:"#1e4941",bgTextColor:"#ffffff",buttonStyle:"round",progress:{enabled:!0,type:"circular"},font:{name:"Gilroy"},additionalFont:{name:"Times"},additionalFontStyle:"italic"},gunmetal:{main:"#f4e4ba",buttonTextColor:"#000000",bgColor:"#1b2432",bgTextColor:"#ffffff",buttonStyle:"round-outline",progress:{enabled:!0,type:"circular-steps"},font:{name:"Gilroy"},additionalFont:{name:"Times"},additionalFontStyle:"italic"},glaucous:{main:"#717ec3",buttonTextColor:"#ffffff",bgColor:"#37323e",bgTextColor:"#ffffff",buttonStyle:"square",progress:{enabled:!0,type:"dynamic-progress-bar"},font:{name:"Inter",src:"Inter:400,600,700"}}}}},computed:Object(m["a"])({},Object(f["d"])("quiz",["info"]),Object(f["c"])("quiz",["fontFamily","isWidgetMode"]),{styles:function(){return Object(m["a"])({},this.colors,this.fonts)}}),methods:{generateColors:function(t){var e,i,n,s,a,r,o,u;if(this.theme=Lt()(t,"theme","withoutTheme"),this.themes[this.theme]||"custom"===this.theme||(this.theme="withoutTheme"),"withoutTheme"===this.theme?(r=this.getValidColor(Lt()(t,"colors.main"),this.themes.light.main),s=H()(Qn()(r)).darken(7).dark(),a=this.getValidColor(Lt()(t,"colors.buttonTextColor"),"#ffffff"),o=a):"custom"===this.theme?(r=this.getValidColor(Lt()(t,"colors.main"),this.themes.light.main),s=H()(Qn()(r)).darken(7).dark(),a=this.getValidColor(Lt()(t,"colors.buttonTextColor"),s?"#ffffff":"#000000"),i=this.getValidColor(Lt()(t,"colors.bgColor"),this.themes.light.bgColor),n=this.getValidColor(Lt()(t,"colors.bgTextColor"),this.themes.light.bgTextColor),o=a,u="#ffffff"===i?i:""):(r=this.themes[this.theme].main,s=H()(Qn()(r)).darken(7).dark(),a=this.themes[this.theme].buttonTextColor,i=this.themes[this.theme].bgColor,n=this.themes[this.theme].bgTextColor,o=a),"light"!==this.theme&&"withoutTheme"!==this.theme){this.isDarkBg=Qn()(i).darken(10).dark(),e=this.isDarkBg?{"--color-bg-sidebar":Qn()(i).lighten(3).hex(),"--color-bg-1":Qn()(i).lighten(7).hex(),"--color-bg-2":Qn()(i).lighten(10).hex(),"--color-bg-3":Qn()(i).lighten(20).hex(),"--color-bg-4":Qn()(i).lighten(30).hex(),"--color-bg-5":Qn()(i).lighten(40).hex(),"--color-bg-6":Qn()(n).alpha(.7).rgbString(),"--color-bg-7":Qn()(i).lighten(7).hex(),"--color-bg-8":Qn()(i).lighten(15).hex(),"--color-bg-9":"#ffffff","--color-bg-10":Qn()(i).lighten(10).hex(),"--color-bg-11":Qn()(i).darken(20).hex(),"--color-bg-text":n,"--color-bg-quiz":i,"--color-bg-quiz-alpha55":Qn()(i).alpha(.55).rgbString(),"--color-bg-quiz-alpha8":Qn()(i).alpha(.8).rgbString(),"--color-bg-alpha0":Qn()(i).alpha(0).rgbString(),"--color-bg-alpha2":Qn()(n).alpha(.2).rgbString(),"--color-bg-alpha5":Qn()(n).alpha(.5).rgbString(),"--color-bg-alpha7":Qn()(n).alpha(.7).rgbString(),"--color-white-label":"#ffffff","--color-bg-sub-text":Qn()(i).lighten(35).hex()}:{"--color-bg-sidebar":Qn()(i).darken(3).hex(),"--color-bg-1":Qn()(i).darken(7).hex(),"--color-bg-2":Qn()(i).darken(10).hex(),"--color-bg-3":Qn()(i).darken(20).hex(),"--color-bg-4":Qn()(i).darken(30).hex(),"--color-bg-5":Qn()(i).darken(40).hex(),"--color-bg-6":Qn()(n).alpha(.7).rgbString(),"--color-bg-7":Qn()(i).darken(7).hex(),"--color-bg-8":Qn()(i).darken(15).hex(),"--color-bg-9":"#363636","--color-bg-text":n,"--color-bg-quiz":i,"--color-bg-quiz-alpha55":Qn()(i).alpha(.55).rgbString(),"--color-bg-quiz-alpha8":Qn()(i).alpha(.8).rgbString(),"--color-bg-alpha0":Qn()(i).alpha(0).rgbString(),"--color-bg-alpha2":Qn()(n).alpha(.2).rgbString(),"--color-bg-alpha5":Qn()(n).alpha(.5).rgbString(),"--color-bg-alpha7":Qn()(n).alpha(.7).rgbString(),"--color-white-label":"#ffffff","--color-exactly-white":u,"--color-bg-sub-text":Qn()(i).darken(35).hex()};try{this.isWidgetMode||(document.documentElement.style.backgroundColor=i,document.body.style.backgroundColor=i)}catch(c){console.log("marquiz-error: ".concat(c))}}this.colors=Object(m["a"])({},e,{"--color":r,"--color-lighten":Qn()(r).lighten(20).hex(),"--color-lighten10":Qn()(r).lighten(10).hex(),"--color-lighten2":Qn()(r).lighten(35).hex(),"--color-darken":Qn()(r).darken(20).hex(),"--color-darken10":Qn()(r).darken(10).hex(),"--color-alpha":Qn()(r).alpha(.5).rgbString(),"--color-alpha2":Qn()(r).alpha(.2).rgbString(),"--color-alpha3":Qn()(r).alpha(.05).rgbString(),"--color-text":a,"--color-text2":s?r:"#000000","--gradient-main":"331deg, ".concat(Qn()(r).darken(20).rgbString(),", ").concat(Qn()(r).lighten(20).rgbString()),"--color-primary-text-button":o})},getValidColor:function(t,e){if(!t)return e;var i,n=t;v()(n,"#")<0&&(n="#".concat(n));try{i=Qn()(n)}catch(s){i=null}return i?n:(console.log("Неправильный цвет: ".concat(n)),e)},setButtonStyle:function(){var t=Lt()(this.themes[this.theme],"buttonStyle","round");this.$store.commit("quiz/setButtonStyle",t)},setProgress:function(){var t={enabled:Lt()(this.themes[this.theme],"progress.enabled",!0),type:Lt()(this.themes[this.theme],"progress.type","progress-bar")};this.$store.commit("quiz/progress/set",t)},setFonts:function(){var t=this;this.fonts={};var e="custom"!==this.theme&&this.getSpecialThemeFont()||this.getThemeFont();if(this.loadFont(e,function(e){return t.generateFontVariable("--font","'".concat(e,"'"))}),"custom"!==this.theme){var i=Lt()(this.themes[this.theme],"additionalFont");i&&this.loadFont(i,function(e){return t.generateFontVariable("--additional-font","'".concat(e,"'"))});var n=Lt()(this.themes[this.theme],"additionalFontStyle");n&&this.generateFontVariable("--additional-font-style",n)}},generateFontVariable:function(t,e){this.$set(this.fonts,t,e)},loadFont:function(t,e){t.src?Gn.a.load({google:{families:[t.src]},timeout:2e3,inactive:function(){return e("Gilroy")},active:function(){return e(t.name)}}):e(t.name)},getSpecialThemeFont:function(){var t={ar:{name:"El Messiri"},he:{name:"Assistant"},ja:{name:"Noto Sans JP"}},e=Lt()(this.$store,"state.quiz.settings.lng");return Lt()(t,e,!1)},getThemeFont:function(){return"custom"===this.theme?this.fontFamily:Lt()(this.themes[this.theme],"font",{name:"Gilroy"})||{name:"Gilroy"}}},watch:{"info.design":{handler:function(t){this.generateColors(t),this.setFonts(),"custom"!==this.theme&&(this.setButtonStyle(),this.setProgress())},immediate:!0}}},Yn=Zn,Kn=Object(Ln["a"])(Yn,Fn,Hn,!1,null,null,null),Jn=Kn.exports,Xn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"disabled"},[i("img",{staticClass:"disabled__emoji",attrs:{src:t.staticPath+"/images/emoji/1f644.png"}}),i("span",{staticClass:"disabled__text"},[t._v(t._s(t.$t("Page inactive")))])])},ts=[],es={data:function(){return{staticPath:Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_STATIC_URL||"https://static.marquiz.ru"}}},is=es,ns=(i("103e"),Object(Ln["a"])(is,Xn,ts,!1,null,null,null)),ss=ns.exports,as=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-widget",class:["preview-widget_"+t.type,{"preview-widget_open":t.isWidgetOpen,"preview-widget_fixed":t.isFixed}],on:{click:t.openWidget}},[t.isPreviewVisible?i("div",{directives:[{name:"resize",rawName:"v-resize.throttle",value:t.onResize,expression:"onResize",modifiers:{throttle:!0}}]},[t.page===t.$const.page.START?i("div",{staticClass:"preview-widget__start-page"},[i("StartPagePreview",{attrs:{isMobile:t.isMobile,hasAssistant:t.hasAssistant}})],1):t.page===t.$const.page.LANDING?i("div",{staticClass:"preview-widget__landing"},[i("LandingPreview",{attrs:{isMobile:t.isMobile,isVideoMuted:t.isVideoMuted}})],1):t.page===t.$const.page.QUESTIONS?i("div",{staticClass:"preview-widget__question"},[i("QuestionPreview",{attrs:{isMobile:t.isMobile,hasAssistant:t.hasAssistant,isVideoMuted:t.isVideoMuted}})],1):t.page===t.$const.page.LEADFORM?i("div",{staticClass:"preview-widget__lead-form"},[i("LeadFormPreview",{attrs:{hasAssistant:t.hasAssistant}})],1):t.page===t.$const.page.RESULTS?i("div",{staticClass:"preview-widget__results"},[i("ResultsPreview",{attrs:{hasAssistant:t.hasAssistant}})],1):t.page===t.$const.page.RESULT?i("div",{staticClass:"preview-widget__result"},[i("ResultPreview",{attrs:{isMobile:t.isMobile,isVideoMuted:t.isVideoMuted}})],1):t.page===t.$const.page.THANKS?i("div",{staticClass:"preview-widget__thank-page"},[i("ThankPagePreview")],1):t._e()]):t._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:t.isWidgetOpen,expression:"isWidgetOpen"}],staticClass:"preview-widget__close",on:{click:function(e){return e.stopPropagation(),t.closeWidget(e)}}})])},rs=[],os=i("428d"),us=i.n(os),cs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-start-page",class:{"preview-start-page_large":!t.isMobile&&t.isBg}},[!t.isMobile&&t.isBg?["image"===t.bgType&&t.bgUrl||t.isVideoMobileBg?i("div",{staticClass:"preview-start-page__bg",style:{backgroundImage:"url("+t.bgUrl+")"}}):t._e(),t.isVideoBg&&!t.isVideoMobileBg?i("VideoPlayer",{staticClass:"preview-start-page__video-bg",attrs:{video:t.$video.parse(t.video),muted:t.isVideoMuted,loop:t.video.loop,controls:!1,autoplay:!0}}):t._e(),i("div",{staticClass:"preview-start-page__content",style:{backgroundImage:t.bgGradient}},[i("div",{staticClass:"preview-start-page__header"},[i("div",{staticClass:"preview-start-page__title"},[t._v(t._s(t.title))]),t.avatarUrl?i("div",{staticClass:"preview-start-page__assistant"},[i("img",{attrs:{src:t.avatarUrl}})]):t._e()]),t.isMobile?t._e():i("button",{staticClass:"preview-start-page__button button is-primary is-blicked has-light-shadow",class:{"is-outline":t.buttonStyle.outline&&"expanded"!==t.spTheme,"is-square":t.buttonStyle.square}},[t._v(t._s(t.buttonText||t.$t("Take the quiz")))])])]:i("SmallPreview",{attrs:{hasButton:!0,imageUrl:t.bgUrl,title:t.title}})],2)},ls=[],ds=i("1b0e"),fs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-small",class:{"preview-small_has-discount":t.discount,"preview-small_radius":t.bigRadius}},[i("div",{staticClass:"preview-small__content"},[t.imageUrl?i("div",{staticClass:"preview-small__bg",style:{backgroundImage:t.bgImage}}):t._e(),t.hasButton?i("button",{staticClass:"preview-small__button button is-primary is-blicked has-light-shadow"},[i("icon",{attrs:{icon:["mdi","mdi-arrow-up"]}})],1):t._e(),i("div",{staticClass:"preview-small__title"},[t._v(t._s(t.title))])]),t.discount?i("div",{staticClass:"preview-small__discount"},[i("DiscountLabel",[t._v("-"+t._s(t.$format.as("percent"===t.discountSettings.type?"percent":"currency",t.fixedDiscount||t.discountSettings.value)))])],1):t._e()])},hs=[],ms=i("2b3b"),ps={name:"SmallPreview",components:{Icon:mn["a"],DiscountLabel:ms["a"]},props:{imageUrl:String,title:String,hasButton:Boolean,bigRadius:Boolean},computed:Object(m["a"])({},Object(f["d"])("quiz",["info","fixedDiscount"]),Object(f["c"])("quiz",["discountSettings"]),{bgImage:function(){return"linear-gradient(to left, var(--color-bg-quiz, #fff), transparent 70%), url(".concat(this.imageUrl,")")},discount:function(){return this.fixedDiscount||this.discountSettings.value}})},gs=ps,bs=(i("f760"),Object(Ln["a"])(gs,fs,hs,!1,null,null,null)),vs=bs.exports,_s={name:"StartPagePreview",extends:ds["default"],components:{SmallPreview:vs},props:{isMobile:Boolean,hasAssistant:Boolean},computed:Object(m["a"])({},Object(f["d"])("quiz",["info"]),{bgGradient:function(){return"linear-gradient(0, rgba(48, 53, 55, 0) 0%, rgba(48, 53, 55, 0.792) 64.58%, rgba(48, 53, 55, 0.9) 100%)"},avatarUrl:function(){if(!this.hasAssistant)return null;var t=Lt()(this.info,"assistant",{}),e=t.avatar;return Lt()(e,"url",!1)||(e={name:"avatar",provider:"cloudinary"}),this.$image.url(e,{crop:"fill",gravity:"face",width:70,height:70})}})},ys=_s,ws=(i("2cf9"),Object(Ln["a"])(ys,cs,ls,!1,null,null,null)),Cs=ws.exports,ks=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-landing",class:{"preview-landing_large":t.isLargePreview}},[t.isLargePreview?[t.images.length>0?i("div",{staticClass:"preview-landing__bg",style:{backgroundImage:"url("+t.bgImage+")"}}):t.video?i("VideoPlayer",{staticClass:"preview-landing__video-bg",attrs:{video:t.video,muted:!0,controls:!1,autoplay:!0,loop:!0}}):t._e(),i("div",{staticClass:"preview-landing__content",style:{backgroundImage:t.bgGradient}},[i("div",{staticClass:"preview-landing__info",class:{"preview-landing__info_person":"person"===t.headerType}},["person"===t.headerType&&t.avatarUrl?i("img",{staticClass:"preview-landing__avatar",attrs:{src:t.avatarUrl}}):"company"===t.headerType&&t.logoUrl?i("img",{staticClass:"preview-landing__logo",attrs:{src:t.logoUrl}}):t._e(),i("div",{staticClass:"preview-landing__texts"},[i("div",{staticClass:"preview-landing__title"},[t._v(t._s(t.title))]),t.subtitle?i("div",{staticClass:"preview-landing__subtitle"},[t._v(t._s(t.subtitle))]):t._e()])]),i("button",{staticClass:"preview-landing__button button is-primary is-blicked has-light-shadow",class:{"is-square":t.buttonStyle.square}},[t._v(t._s(t.buttonText))])])]:i("SmallPreview",{attrs:{hasButton:!0,imageUrl:t.bgImage,title:t.title||t.buttonText}})],2)},Ps=[],qs={name:"LandingPreview",extends:ds["default"],components:{SmallPreview:vs},props:{isMobile:Boolean},computed:Object(m["a"])({},Object(f["c"])("quiz/landing",["header","blocks","transition"]),Object(f["c"])("quiz",["buttonStyle"]),{bgGradient:function(){return"linear-gradient(0, rgba(48, 53, 55, 0) 0%, rgba(48, 53, 55, 0.792) 64.58%, rgba(48, 53, 55, 0.9) 100%)"},images:function(){var t=Ge()(vt()(this.blocks,{type:"images"}));return Ge()(xt()(t,function(t){return t.images}))},bgImage:function(){if(this.images[0])return this.$image.url(this.images[0],{width:350,height:190})},video:function(){var t=Ge()(vt()(this.blocks,{type:"video"}));return Ct()(t)>0?this.$video.parse(t[0],!0):null},title:function(){return Lt()(this.header,"enabled")?Lt()(this.header,"title",""):""},subtitle:function(){return Lt()(this.header,"enabled")?Lt()(this.header,"subtitle",""):""},headerType:function(){return Lt()(this.header,"type","person")},avatarUrl:function(){return this.title&&"person"===this.headerType?this.$image.url(Lt()(this.header,"image",{}),{crop:"fill",gravity:"face",width:84,height:84}):""},logoUrl:function(){return this.title&&"company"===this.headerType?Lt()(this.header,"image.url"):""},isLargePreview:function(){return!this.isMobile&&(Ct()(this.images)>0||!!this.video)&&this.title},buttonText:function(){return Lt()(this.transition,"text")||this.$t("Take the quiz")}})},xs=qs,Es=(i("f358"),Object(Ln["a"])(xs,ks,Ps,!1,null,null,null)),Ls=Es.exports,zs=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-question",class:t.classes},[t.video&&!t.isMobile?[i("CustomVideoPlayer",{key:t.video.link,staticClass:"preview-question__video",attrs:{video:t.video,autoplay:t.autoplayVideo,muted:t.isVideoMuted,controllers:t.isWidgetOpen},on:{paused:function(e){t.autoplayVideo=!e}}}),i("div",{staticClass:"preview-question__description"},[t.hasConditions?t._e():i("div",{staticClass:"preview-question__number",domProps:{innerHTML:t._s(t.numberOfQuestion)}}),i("div",{staticClass:"preview-question__title"},[t._v(t._s(t.currentQuestion.title))])])]:i("BasePreview",{attrs:{title:t.currentQuestion.title,hasAssistant:t.hasAssistant}},[t.isWidgetOpen?t._e():i("div",{staticClass:"preview-question__emoji"},[t._v("👋")])])],2)},Ts=[],As=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-base"},[t.hasAssistant?i("AssistantPreview",{attrs:{assistant:t.info.assistant,text:t.title,isOpen:t.isWidgetOpen}},[t._t("default")],2):t.isWidgetOpen?t._e():i("TextPreview",{attrs:{title:t.title}},[t._t("default")],2)],1)},Ss=[],Is=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-assistant",class:{"preview-assistant_open":t.isOpen}},[t.imageUrl?i("div",{staticClass:"preview-assistant__person"},[i("img",{attrs:{src:t.imageUrl}})]):t._e(),i("div",{staticClass:"preview-assistant__text-container"},[i("div",{staticClass:"preview-assistant__name"},[i("div",{staticClass:"preview-assistant__title"},[t._v(t._s(t.firstName))]),t.assistant.title?i("div",{staticClass:"preview-assistant__subtitle"},[i("div",{staticClass:"preview-assistant__status"}),t._v(t._s(t.assistant.title))]):t._e()]),i("div",{staticClass:"preview-assistant__text-html"},[t._v(t._s(t.text))])]),i("div",{staticClass:"preview-assistant__slot"},[t._t("default")],2)])},Ms=[],Os=i("0ce4"),Vs={name:"AssistantPreview",extends:Os["a"],props:{assistant:Object,text:String,isOpen:Boolean}},$s=Vs,Rs=(i("ade4"),Object(Ln["a"])($s,Is,Ms,!1,null,null,null)),Ds=Rs.exports,js=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-text"},[i("div",{staticClass:"preview-text__title"},[t._v(t._s(t.title))]),i("div",{staticClass:"preview-text__slot"},[t._t("default")],2)])},Us=[],Bs={name:"TextPreview",props:{title:String}},Fs=Bs,Hs=(i("9ca6"),Object(Ln["a"])(Fs,js,Us,!1,null,null,null)),Ns=Hs.exports,Qs={name:"BasePreview",components:{AssistantPreview:Ds,TextPreview:Ns},props:{title:String,hasAssistant:Boolean},computed:Object(m["a"])({},Object(f["d"])("quiz",["info","isWidgetOpen"]))},Ws=Qs,Gs=Object(Ln["a"])(Ws,As,Ss,!1,null,null,null),Zs=Gs.exports,Ys=i("cfe3"),Ks={name:"QuestionPreview",components:{BasePreview:Zs,CustomVideoPlayer:Ys["a"]},props:{isMobile:Boolean,hasAssistant:Boolean,isVideoMuted:Boolean},data:function(){return{autoplayVideo:!0}},computed:Object(m["a"])({},Object(f["d"])("quiz",["isWidgetOpen","activeQuestion","questions"]),Object(f["c"])("quiz",["currentQuestion","hasConditions"]),{classes:function(){return{"preview-question_assistant":this.hasAssistant,"preview-question_open":this.isWidgetOpen,"preview-question_has-video":this.video&&!this.isMobile}},video:function(){var t=Lt()(this.currentQuestion,"hint",{});return"video"!==t.type?null:this.$video.parse(Lt()(t,"video",{}),!0)},numberOfQuestion:function(){return this.$t("Question {number} of {count}",{number:"".concat(this.activeQuestion+1,""),count:this.questions.length,interpolation:{escapeValue:!1}})}})},Js=Ks,Xs=(i("480d"),Object(Ln["a"])(Js,zs,Ts,!1,null,null,null)),ta=Xs.exports,ea=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-lead-form"},[i("BasePreview",{attrs:{title:t.title,hasAssistant:t.hasAssistant}})],1)},ia=[],na={name:"LeadFormPreview",components:{BasePreview:Zs},props:{hasAssistant:Boolean},computed:Object(m["a"])({},Object(f["d"])("quiz/form",["currentStep"]),Object(f["c"])("quiz/form",["form"]),{title:function(){var t=this.$t("Please, fill in the form to get your test results");return Lt()(this.form,"steps[".concat(this.currentStep-1,"].header"))||t}})},sa=na,aa=Object(Ln["a"])(sa,ea,ia,!1,null,null,null),ra=aa.exports,oa=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-results"},[i("BasePreview",{attrs:{title:t.title,hasAssistant:t.hasAssistant}},[i("div",{staticClass:"preview-results__count"},[t._v(t._s(t.count))])])],1)},ua=[],ca={name:"ResultsPreview",components:{BasePreview:Zs},props:{hasAssistant:Boolean},computed:Object(m["a"])({},Object(f["c"])("quiz",["results"]),{title:function(){return this.results.multipleTitle||this.$t("Your results")},count:function(){return Lt()(this.results,"items.length")}})},la=ca,da=(i("8201"),Object(Ln["a"])(la,oa,ua,!1,null,null,null)),fa=da.exports,ha=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-result",class:{"preview-result_large":!t.isMobile&&(t.isVideoBg||t.isImageBg)}},[t.isMobile||!t.isVideoBg&&!t.isImageBg?i("SmallPreview",{attrs:{imageUrl:t.imageUrls[0],title:t.result.title,bigRadius:!0}}):[t.isImageBg?i("div",{staticClass:"preview-result__bg",style:{backgroundImage:"url("+t.imageUrls[0]+")"}}):t._e(),t.isVideoBg?i("VideoPlayer",{staticClass:"preview-result__video-bg",attrs:{video:t.video,muted:t.mutedVideo,loop:!0,controls:!1,autoplay:!0}}):t._e(),i("div",{staticClass:"preview-result__content",style:{backgroundImage:t.bgGradient}},[i("div",{staticClass:"preview-result__title"},[t._v(t._s(t.result.title))]),t.fixedDiscount||t.discountSettings.value?i("div",{staticClass:"preview-result__discount"},[i("DiscountLabel",[t._v("-"+t._s(t.$format.as("percent"===t.discountSettings.type?"percent":"currency",t.fixedDiscount||t.discountSettings.value)))])],1):t._e()])]],2)},ma=[],pa=i("c463"),ga=i("270a"),ba={name:"ResultPreview",extends:pa["a"],components:{SmallPreview:vs,DiscountLabel:ms["a"],VideoPlayer:ga["a"]},props:{isMobile:Boolean},computed:Object(m["a"])({},Object(f["d"])("quiz",["fixedDiscount"]),Object(f["c"])("quiz",["discountSettings"]),{isVideoBg:function(){return this.video&&"video"===this.getMediaType},isImageBg:function(){return this.hasImages&&"image"===this.getMediaType},bgGradient:function(){return"linear-gradient(180deg, rgba(48, 53, 55, 0) 0%, rgba(48, 53, 55, 0.792) 64.58%, rgba(48, 53, 55, 0.9) 100%)"}})},va=ba,_a=(i("400e"),Object(Ln["a"])(va,ha,ma,!1,null,null,null)),ya=_a.exports,wa=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"preview-thank-page"},[i("BasePreview",{attrs:{title:t.title}})],1)},Ca=[],ka={name:"ThankPagePreview",components:{BasePreview:Zs},computed:Object(m["a"])({},Object(f["d"])("quiz/form",["contacts"]),Object(f["c"])("quiz/form",["form"]),{title:function(){return Lt()(this.form,"thanks.header","")||"".concat(this.$t("Спасибо"),"! 👏")}})},Pa=ka,qa=Object(Ln["a"])(Pa,wa,Ca,!1,null,null,null),xa=qa.exports,Ea={name:"WidgetPreview",components:{StartPagePreview:Cs,LandingPreview:Ls,QuestionPreview:ta,LeadFormPreview:ra,ResultsPreview:fa,ResultPreview:ya,ThankPagePreview:xa},directives:{resize:us.a},mounted:function(){var t=this;window.addEventListener("message",function(e){"closeWidget"===e.data.method&&t.$store.commit("quiz/closeWidget"),"openWidget"===e.data.method&&t.$store.commit("quiz/openWidget")}),document.documentElement.style.backgroundColor="transparent",document.documentElement.classList.add("hide-scrollbar")},data:function(){return{type:Lt()(this.$route,"query.widget-type"),isVideoMuted:!0}},computed:Object(m["a"])({},Object(f["d"])("quiz",["id","isWidgetOpen","page","info","leadForm"]),{isMobile:function(){return"desktop"!==this.type},isFixed:function(){return!(this.page!==this.$const.page.QUESTIONS||!this.isWidgetOpen||!this.hasAssistant)},hasAssistant:function(){var t=Lt()(this.info,"assistant.name");return!(!Lt()(this.info,"assistant.enabled",!!t)||!t)},isPreviewVisible:function(){return!this.isWidgetOpen||this.page===this.$const.page.QUESTIONS}}),methods:{onResize:function(t){var e=t.offsetHeight>50?t.offsetHeight:50;this.setPreviewHeight("".concat(e,"px"))},setPreviewHeight:function(t){this.$quizFrame.postMessage({id:this.id,action:"setPreviewHeight",height:t})},openWidget:function(){this.isWidgetOpen||(this.$quizFrame.postMessage({id:this.id,action:"openWidget"}),this.isVideoMuted=!1,this.$store.commit("quiz/openWidget"))},closeWidget:function(){var t=this;"mobile"!==this.type&&(this.$quizFrame.postMessage({id:this.id,action:"closeWidget"}),this.isVideoMuted=!0,setTimeout(function(){t.$store.commit("quiz/closeWidget")},400))}},watch:{isWidgetOpen:{handler:function(t){t?document.body.classList.add("disable-overscroll"):document.body.classList.remove("disable-overscroll")},immediate:!0}}},La=Ea,za=(i("2c22"),Object(Ln["a"])(La,as,rs,!1,null,null,null)),Ta=za.exports,Aa=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"vk-settings"},[i("button",{staticClass:"vk-settings__edit button is-small",on:{click:function(e){t.isEditMode=!0}}},[i("b-icon",{attrs:{icon:"pencil"}})],1),t.isEditMode?i("b-modal",{attrs:{active:t.isEditMode},on:{"update:active":function(e){t.isEditMode=e}}},[i("div",{staticClass:"card vk-settings__edit-card"},[i("div",{staticClass:"card-content"},[i("Install",{attrs:{quizId:t.quizId,request:t.request,quizTitle:t.quizInfo.name||t.quizInfo.title},on:{changed:t.closeAndReload}})],1)])]):t._e()],1)},Sa=[],Ia=i("c0ac"),Ma=i("61b7"),Oa=i("10bd"),Va=i("7f82"),$a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"install"},[t.quizId&&!t.edit?i("div",{staticClass:"install__edit"},[i("div",[t._v(t._s(t.$t('This group is linked to quiz "{title}"',{title:t.quizTitle})))]),i("div",[i("a",{staticClass:"button is-text",attrs:{href:"https://panel.marquiz.ru/quizzes/edit/"+t.quizId,target:"_blank"}},[i("i",{staticClass:"icon-pencil"}),t._v(t._s(t.$t("Edit quiz")))]),i("button",{staticClass:"button is-text",on:{click:function(e){t.edit=!0}}},[i("i",{staticClass:"icon-pencil"}),t._v(t._s(t.$t("Attach another quiz")))])])]):t._e(),!t.quizId||t.edit?[i("p",[t._v(t._s(t.$t('Enter quiz id and click "Attach" to attach quiz to vk group')))]),i("form",{on:{submit:function(e){return e.preventDefault(),t.setGroup(e)}}},[i("section",{staticClass:"mb-4"},[i("b-field",{attrs:{label:t.$t("Enter quiz id")}}),i("b-input",{ref:"quizId",attrs:{placeholder:"5aa7c2bb23fc0f00e7b75a49"},model:{value:t.id,callback:function(e){t.id="string"===typeof e?e.trim():e},expression:"id"}})],1),i("button",{staticClass:"install__attach-btn button is-danger",attrs:{type:"submit",disabled:!t.id}},[t._v(t._s(t.$t("Link")))])])]:t._e()],2)},Ra=[],Da={mounted:function(){this.$refs.quizId&&Lt()(this.$refs,"quizId.$refs.input")&&this.$focusInput(this.$refs.quizId.$refs.input)},props:{quizId:String,request:Object,quizTitle:String},data:function(){return{id:null,edit:!1}},methods:{setGroup:function(){var t=this;this.$axios.post("v1/vkGroups/setGroup",{request:this.request,quizId:this.id}).then(function(){t.$emit("changed")}).catch(function(e){t.$toast.open({message:e.message,type:"is-danger"})})}},watch:{edit:function(t){var e=this;t&&(this.id=this.quizId,this.$nextTick(function(){e.$focusInput(e.$refs.quizId.$refs.input)}))}}},ja=Da,Ua=Object(Ln["a"])(ja,$a,Ra,!1,null,null,null),Ba=Ua.exports;n["default"].use(Ia["a"]),n["default"].use(Ma["a"]),n["default"].use(Oa["a"]),n["default"].use(Va["a"]);var Fa={components:{Install:Ba},props:{quizInfo:Object,quizId:String},data:function(){return{isEditMode:!1,request:this.$route.query}},methods:{closeAndReload:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:this.isEditMode=!1,this.$emit("update:quizId",null),this.$emit("loaded");case 3:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()}},Ha=Fa,Na=(i("e487"),Object(Ln["a"])(Ha,Aa,Sa,!1,null,null,null)),Qa=Na.exports,Wa={components:{Layout:An,Welcome:Rn,PreviewController:Bn,Theme:Jn,Disabled:ss,StartPage:function(){return Promise.resolve().then(i.bind(null,"1b0e"))},Landing:function(){return Promise.all([i.e("chunk-218c9962"),i.e("landing")]).then(i.bind(null,"cdcf"))},WidgetPreview:Ta,VkGroupSettings:Qa,Quiz:function(){return Promise.all([i.e("quiz~swiper"),i.e("quiz")]).then(i.bind(null,"cb2c"))}},created:function(){var t=this;window.addEventListener("beforeunload",function(){t.persistent&&(J()(["start","thanks"],t.page)?t.$store.commit("quiz/removeState"):t.$store.commit("quiz/saveState"))}),this.$i18n.i18next.on("languageChanged",function(e){var i=e.split("-")[0];t.$store.commit("setLang",i),document.dir=t.$i18n.i18next.dir()})},beforeMount:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if("/agreement"!==this.$route.path){t.next=2;break}return t.abrupt("return");case 2:if(e=window.location.hostname,this.setDomain(e),this.isMrqz(e)&&!e.match(/^((quiz-\d{1,6}-mrqz.website.yandexcloud|mrqz|quiz\.marquiz)\.\w{2,5}$|localhost)/gi)&&this.$store.commit("quiz/setSubdomain",kn()(e,".")[0]),this.$route.query.ab&&this.$store.commit("quiz/setAbVariant",this.$route.query.ab),!this.showWelcomePage()){t.next=8;break}return t.abrupt("return");case 8:if(this.isPreviewMode){t.next=12;break}return t.next=11,this.load();case 11:return t.abrupt("return");case 12:this.loadPreview(),this.$quizFrame.postMessage({id:this.quizId,action:"start_preview"}),this.initSession(this.quizId);case 15:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),mounted:function(){var t=this;window.addEventListener("message",function(e){"closeModal"===e.data.method&&t.$store.commit("quiz/closeModal"),"openModal"===e.data.method&&t.$store.commit("quiz/openModal")})},metaInfo:function(){return{title:this.pageTitle,meta:this.meta}},data:function(){return{isLoading:!1,notFound:!1,loadingError:!1,groupId:this.$route.query.group_id,quizId:this.$route.params.id,isModal:!!Lt()(this.$route,"query.isModal",!0),isShowWelcomePage:!1,domain:null,assetsPath:Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_ASSETS_PATH||""}},computed:Object(m["a"])({},Object(f["d"])(["lang"]),Object(f["d"])("quiz",["page","loaded","info","id","settings","mode","isWidgetOpen","currency","questions","persistent","subdomain"]),Object(f["d"])("quiz/landing",{landing:function(t){return t}}),Object(f["c"])("quiz",["startPage","isQuizEnable","isWidgetMode","quizTitle","isPreviewMode"]),Object(f["c"])("quiz/landing",{landingPageTitle:"pageTitle"}),{isVkGroupAdmin:function(){return this.groupId&&"4"===this.$route.query.viewer_type},pageTitle:function(){if(this.isLoading)return"Loading...";var t=this.quizTitle||"Marquiz";switch(Lt()(this.info,"startPageType")){case"start-page":return Lt()(this.startPage,"pageTitle")||Lt()(this.startPage,"title")||t;case"landing":return this.landingPageTitle||t;default:return t}},favicon:function(){var t="".concat(this.assetsPath,"/static/favicon.png");switch(Lt()(this.info,"startPageType")){case"start-page":return this.$image.url(Lt()(this.startPage,"favicon"),{width:96,secure:!0})||t;case"landing":return this.$image.url(Lt()(this.landing,"favicon"),{width:96,secure:!0})||t;default:return t}},meta:function(){var t=[{property:"og:title",content:this.pageTitle}];return"landing"===Lt()(this.info,"startPageType")&&(t.push({property:"og:description",content:Lt()(this.landing,"meta.description")}),t.push({property:"og:image",content:this.$image.url(Lt()(this.landing,"meta.image"),{crop:"fill",width:1200,height:630})})),vt()(t,function(t){return t.content})}}),methods:{retryLoad:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.load();case 2:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),loadPreview:function(){var t=this;this.isLoading=!0,setTimeout(Object(h["a"])(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(t.isLoading){e.next=2;break}return e.abrupt("return");case 2:return t.isLoading=!1,e.next=5,t.load();case 5:case"end":return e.stop()}},e)})),2e3)},load:function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return this.notFound=!1,this.isLoading=!0,this.loadingError=!1,t.prev=3,t.next=6,this.$store.dispatch("quiz/get",{id:this.quizId,groupId:this.groupId,domain:this.domain,routeQuery:this.$route.query});case 6:this.setFavicon(this.favicon),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),this.groupId?this.isShowWelcomePage=!0:t.t0.response&&404===t.t0.response.status?this.notFound=!0:this.loadingError=!0;case 12:return t.prev=12,this.isLoading=!1,t.finish(12);case 15:this.initSession(this.quizId);case 16:case"end":return t.stop()}},t,this,[[3,9,12,15]])}));function e(){return t.apply(this,arguments)}return e}(),initSession:function(t){var e=Vi["a"].get("answerId");1===this.$route.query.test&&(e=null),Vi["a"].init(t),this.$store.commit("quiz/form/setSession",{answerId:e,uuid:Vi["a"].get("uuid")})},showWelcomePage:function(){return!this.quizId&&(!this.groupId&&(!this.domain&&(!this.subdomain&&(!("/"!==this.$route.path&&(!this.$route.query.viewer_id||this.groupId))&&(this.isShowWelcomePage=!0,!0)))))},setFavicon:function(t){var e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.type="image/x-icon",e.rel="shortcut icon",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)},setDomain:function(t){this.groupId||this.isMrqz(t)||(this.domain=qn()(te()(t,/www\./,"")))},getScripts:function(t){var e=new DOMParser,i=e.parseFromString(t,"text/html");return i.querySelectorAll("script")},createScriptElement:function(t){var e=document.createElement("script");return e.innerHTML=t.innerHTML,rt()(t.attributes,function(t){e.setAttribute(t.name,t.value)}),e},addScriptsToHead:function(t){var e=this,i=document.querySelector("head");rt()(t,function(t){i.appendChild(e.createScriptElement(t))})},isMrqz:function(t){return!!t.match(/.*((quiz-\d{1,6}-mrqz.website.yandexcloud|mrqz|quiz\.marquiz)\.\w{2,3}$|localhost)/gi)}},watch:{loaded:function(t){t&&this.$quizFrame.postMessage({id:this.quizId,action:"loaded"})},"settings.code":{handler:function(t){if(this.isQuizEnable&&!(0===Lt()(this.questions,"length",0)||t&&-1!==t.indexOf("window.location"))&&t){var e=this.getScripts(t);this.addScriptsToHead(e)}}},lang:function(t){this.$format.init({lang:t})},currency:function(t){this.$format.init({currency:t})}},name:"app"},Ga=Wa,Za=(i("7faf"),Object(Ln["a"])(Ga,yn,wn,!1,null,null,null)),Ya=Za.exports,Ka=i("8c4f"),Ja=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"agreement"},[i("h1",[t._v(t._s(t.$t("Terms of use")))]),i("div",{staticClass:"agreement__text"},[i("hr"),i("div",{staticClass:"agreement__links"},[t._l(t.agreements,function(e){return[i("p",[i("a",{attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.showPage(e.link)}}},[t._v(t._s(e.title))])]),i("hr")]})],2)])])},Xa=[],tr={name:"Agreement",beforeMount:function(){this.lang=this.$route.query.lang,this.lang&&this.$i18n.i18next.changeLanguage(this.lang)},mounted:function(){document.title=this.$t("Terms of use")},data:function(){return{customPolicy:this.$route.query.customPolicy,isModalOpen:!1,activeAgreement:null}},computed:{agreements:function(){var t=[];return"ru"===this.lang&&t.push({title:"Согласие на обработку персональных данных",link:"https://www.notion.so/marquiz/Marquiz-Personal-Data-Agreement-fc910e7fb857482d901d45a4a0e60e8c"}),this.customPolicy&&t.push({title:this.$t("Page Creator Privacy Policy"),link:this.customPolicy}),t.push({title:"Marquiz Privacy Policy",link:"https://marquiz.notion.site/Marketing-Quiz-LTD-Privacy-Policy-fad0d0029d554d33bb515d0dfc638843"}),t}},methods:{showPage:function(t){"mobile"===this.$mq&&/docs\.google\.com/.test(t)?document.location.href="".concat(t,"?embedded=true"):document.location.href=t},close:function(){window.close()}}},er=tr,ir=(i("de74"),Object(Ln["a"])(er,Ja,Xa,!1,null,null,null)),nr=ir.exports;n["default"].use(Ka["a"]);var sr=new Ka["a"]({mode:"history",routes:[{path:"/default/:id",name:"Default",component:Jn},{path:"/agreement",name:"Agreement",component:nr},{path:"/:id",name:"ID",component:Jn}]});yi["a"].setOptions({defaultIconComponent:mn["a"]}),fn();var ar=It.a.parse(window.location.search);n["default"].use(Ei),n["default"].use(_n.a),n["default"].use(Li),n["default"].use(Zi),n["default"].use(Qt["b"]),n["default"].use(Qt["c"]),n["default"].use(Qt["a"]),n["default"].use(ue),n["default"].use(tn,{disabled:"preview"===ar.mode}),n["default"].use(Gi,{}),n["default"].use(an,{dummy:"preview"===ar.mode,callback:function(t){pi.commit("quiz/showRedirectLoading",t)}}),n["default"].use(un),n["default"].use(dn),n["default"].use(bn.a),n["default"].use(pn["a"],{breakpoints:{mobile:819,desktop:1/0}}),n["default"].use(wi["a"]),n["default"].component("SvgIcon",hn["a"]),n["default"].config.productionTip=!1,ar.debug||bi.a.config("https://05d355e71d8f43d196781729691f9e5b@sentry.io/305073").addPlugin(_i.a,n["default"]).install(),new n["default"]({router:sr,store:pi,i18n:d,render:function(t){return t(Ya)}}).$mount("#app")},"56e2":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"radio-buttons"},t._l(t.list,function(e){return i("div",{staticClass:"radio-buttons__button",class:[{"radio-buttons__button_selected":e.value===t.value}],on:{click:function(i){return t.$emit("input",e.value)}}},[void 0!==e.icon?[i("div",{staticClass:"radio-buttons__icon",domProps:{innerHTML:t._s(e.icon)}})]:t._e(),void 0!==e.text?[i("div",{staticClass:"radio-buttons__text"},[t._v(t._s(e.text))])]:t._e()],2)}),0)},s=[],a={props:{list:{type:Array,default:function(){return[]}},value:String},computed:{selected:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}},r=a,o=(i("c7ba"),i("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);e["a"]=u.exports},5967:function(t,e,i){"use strict";var n=i("9a81"),s=i.n(n);s.a},"5a85":function(t,e,i){},"5c94":function(t,e,i){},"5f33":function(t,e,i){"use strict";var n=i("02ee"),s=i.n(n);s.a},"5f78":function(t,e,i){"use strict";var n=i("45d5"),s=i.n(n);s.a},"610c":function(t,e,i){},6162:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"arrows"},[i("svg",{staticClass:"arrow",class:{arrow_animation:t.hasAnimation},attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none"}},[t.down?[i("path",{attrs:{d:"M5 9.65686L0.757355 5.41421L2.17157 4L5 6.82843L7.82843 4L9.24265 5.41422L5 9.65686Z",fill:"tomato"}}),i("path",{attrs:{d:"M5 5.65686L0.757355 1.41421L2.17157 -6.18173e-07L5 2.82843L7.82843 -1.23635e-07L9.24265 1.41422L5 5.65686Z",fill:"tomato"}})]:[i("path",{attrs:{d:"M5 3.70904e-07L0.757355 4.24265L2.17157 5.65686L5 2.82843L7.82843 5.65686L9.24265 4.24265L5 3.70904e-07Z",fill:"#44bc75"}}),i("path",{attrs:{d:"M5 4L0.757355 8.24265L2.17157 9.65686L5 6.82843L7.82843 9.65686L9.24265 8.24265L5 4Z",fill:"#44bc75"}})]],2)])},s=[],a={props:{down:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!0}}},r=a,o=(i("d847"),i("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);e["a"]=u.exports},6217:function(t,e,i){"use strict";i.d(e,"b",function(){return x}),i.d(e,"d",function(){return E}),i.d(e,"a",function(){return L}),i.d(e,"c",function(){return T});var n=i("cebc"),s=(i("c5f6"),i("c228")),a=i.n(s),r=i("3092"),o=i.n(r),u=i("8a30"),c=i.n(u),l=i("9380"),d=i.n(l),f=i("dd61"),h=i.n(f),m=i("2769"),p=i.n(m),g=i("6747"),b=i.n(g),v=i("2768"),_=i.n(v),y=i("c641"),w=i.n(y),C=i("13ea"),k=i.n(C),P=i("9b02"),q=i.n(P);function x(t,e,i){var n=q()(t,"variants",{}),s="".concat(e,"__").concat(i);return Number(q()(n,s,0))}function E(t,e){var i=q()(t,"variants",{});if(k()(i))return!1;var n=0,s=function(e,i){var s=x(t,e,i);s&&(n+=s)};return w()(e,function(t,e){t&&(_()(t)||(b()(t)?w()(t,function(t){s(e,t)}):s(e,t)))}),n}function L(t,e){var i=Number(q()(t,"count.0")),n=Number(q()(t,"count.1"));switch(t.operator){case"less":if(e=i)return!0;break;case"equal":if(e===i)return!0;break;case"between":if(e>=i&&e<=n)return!0;break;default:break}return!1}var z=function(t,e){return{id:"".concat(t.id,"_explanation"),hint:q()(t,"hint"),title:q()(t,"title"),type:"statement",notRequired:!0,isExplanation:!0,options:{content:e},isNotCounting:!0}};function T(t,e,i){if("multiple"!==q()(t,"type")){var s=i[t.id];if(!k()(s)){var r=p()(e,{id:t.id}),u=q()(r,"explanation","");if(u)return z(t,u)}}else{var l=h()(q()(t,"questions",[]),function(t){return t.id}),f=d()(e,function(t){return c()(l,t.id)});if(o()(f,function(t){return i[t.id]&&t.explanation})){var m=h()(q()(t,"questions",[]),function(t){var e=q()(p()(f,{id:t.id}),"explanation");return e?z(t,e):null});return Object(n["a"])({},z(t),{type:"multiple",questions:a()(m)})}}return null}},"630b":function(t,e,i){},6457:function(t,e,i){},"65ee":function(t,e,i){},6629:function(t,e,i){"use strict";var n=i("65ee"),s=i.n(n);s.a},6711:function(t,e,i){},6810:function(t,e,i){var n={"./diff_match_patch_uncompressed":"4dcb","./diff_match_patch_uncompressed.js":"4dcb"};function s(t){var e=a(t);return i(e)}function a(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}s.keys=function(){return Object.keys(n)},s.resolve=a,t.exports=s,s.id="6810"},"6afd":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.totalDiscount?i("div",{staticClass:"discount-badge",class:{"discount-badge_without-title":!t.hasTitle,"discount-badge_has-effect":t.hasEffect}},[t.hasTitle?i("div",{staticClass:"discount-badge__title"},[t._v(t._s(t.discountSettings.title||t.$t("Your discount")+":"))]):t._e(),t.hasEffect?i("DiscountArrow",{staticClass:"discount-badge__arrows",attrs:{hasAnimation:!1,down:"melting"===t.discountSettings.effect}}):i("div",{staticClass:"discount-badge__value"},[t._v(t._s(t.discountValue))])],1):t._e()},s=[],a=i("cebc"),r=i("9b02"),o=i.n(r),u=i("2f62"),c=i("6162"),l={components:{DiscountArrow:c["a"]},props:{hasEffect:Boolean,hasTitle:{type:Boolean,default:!0}},computed:Object(a["a"])({},Object(u["d"])("quiz",["fixedDiscount","selectedResult"]),Object(u["c"])("quiz",["result","discountSettings","suitableResults","isMultipleResults"]),{totalDiscount:function(){if(!(this.suitableResults.length>1&&!this.selectedResult&&this.isMultipleResults)){var t=o()(this.result,"discount");if(t&&t.value&&(this.result.cost||this.result.maxCost||this.result.minCost))return{type:t.type,value:t.value}}if(this.discountSettings&&this.discountSettings.value)return Object(a["a"])({},this.discountSettings,{value:this.fixedDiscount||this.discountSettings.value})},discountValue:function(){var t="percent"===this.totalDiscount.type?"percent":"currency";return this.$format.as(t,this.totalDiscount.value)}})},d=l,f=(i("7691"),i("2877")),h=Object(f["a"])(d,n,s,!1,null,null,null);e["a"]=h.exports},"6cc2":function(t,e,i){},"6f9b":function(t,e,i){t.exports=i.p+"img/catalog.e4133177.png"},"71ac":function(t,e,i){},"72a1":function(t,e,i){},7452:function(t,e,i){},7691:function(t,e,i){"use strict";var n=i("6457"),s=i.n(n);s.a},"7d9e":function(t,e,i){"use strict";var n=i("2ac9"),s=i.n(n);s.a},"7faf":function(t,e,i){"use strict";var n=i("8fba"),s=i.n(n);s.a},8160:function(t,e,i){},8162:function(t,e,i){"use strict";i.d(e,"a",function(){return g}),i.d(e,"b",function(){return b});var n=i("8a30"),s=i.n(n),a=i("d173"),r=i.n(a),o=i("d623"),u=i.n(o),c=i("2769"),l=i.n(c),d=i("c641"),f=i.n(d),h=i("c5a2"),m=i.n(h),p=i("6217"),g=function(t,e){return m()(t.answers,function(i,n){var s=Object(p["b"])(e,t.id,n.id);return s>0&&i.push(n.id),i},[])},b=function(t,e,i){var n={};return f()(t,function(t,a){var o=i[a];if(o){var c=l()(e,{id:a});"many"===c.select?u()(r()(o,t))===u()(o)&&(n[a]=t):s()(o,t)&&(n[a]=t)}}),n}},8201:function(t,e,i){"use strict";var n=i("1eb5"),s=i.n(n);s.a},"83b4":function(t,e,i){"use strict";var n=i("ba5a"),s=i.n(n);s.a},8638:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"empty-result-notice"},[i("transition",{attrs:{name:"empty-result-notice_animation"}},[t.visible?i("div",{staticClass:"empty-result-notice__content"},[i("div",{staticClass:"empty-result-notice__text"},[t._v(t._s(t.getPhrase("emptyResults")))]),i("div",{staticClass:"empty-result-notice__icon"},[t._v(t._s(t.randomIcon))])]):t._e()])],1)},s=[],a=i("0f40"),r=i.n(a),o=i("1043"),u={name:"EmptyResultNotice",mixins:[o["a"]],created:function(){var t=this;setTimeout(function(){t.visible=!1,t.$emit("closed")},5e3)},data:function(){return{visible:!0,icons:["🙉","🙈","🙊"]}},computed:{randomIcon:function(){return this.icons[r()(0,this.icons.length-1)]}}},c=u,l=(i("7d9e"),i("2877")),d=Object(l["a"])(c,n,s,!1,null,null,null);e["a"]=d.exports},"895a":function(t,e,i){"use strict";var n=i("6711"),s=i.n(n);s.a},"8b38":function(t,e,i){"use strict";var n=i("9b68"),s=i.n(n);s.a},"8ea7":function(t,e,i){},"8eb6":function(t,e,i){"use strict";var n=i("8ea7"),s=i.n(n);s.a},"8fba":function(t,e,i){},"94b4":function(t,e,i){"use strict";var n=i("5c94"),s=i.n(n);s.a},"98f9":function(t,e,i){},"99d7":function(t,e,i){},"9a81":function(t,e,i){},"9b68":function(t,e,i){},"9ca6":function(t,e,i){"use strict";var n=i("6cc2"),s=i.n(n);s.a},"9fe3":function(t,e,i){"use strict";var n=i("8160"),s=i.n(n);s.a},a853:function(t,e,i){"use strict";var n=i("ed20"),s=i.n(n);s.a},aa5f:function(t,e,i){},abc1:function(t,e,i){},ade4:function(t,e,i){"use strict";var n=i("72a1"),s=i.n(n);s.a},aeca:function(t,e,i){},b9a3:function(t,e,i){},b9b4:function(t,e,i){},b9e3:function(t,e,i){t.exports=i.p+"img/catalog.150ec5dc.png"},ba5a:function(t,e,i){},be98:function(t,e,i){"use strict";i.d(e,"d",function(){return f}),i.d(e,"b",function(){return h}),i.d(e,"c",function(){return m}),i.d(e,"a",function(){return p});var n=i("cebc"),s=i("dd61"),a=i.n(s),r=i("4d8c"),o=i.n(r),u=i("8a30"),c=i.n(u),l=i("9b02"),d=i.n(l);function f(t){return!d()(t,"type")||c()(["answers","variants","images","select","one-image","emoji"],t.type)}function h(t){var e=["variants","images","select","file","emoji"];return"many"===d()(t,"select")&&c()(e,d()(t,"type"))}function m(t){return"statement"===d()(t,"type")||d()(t,"notRequired",!1)}function p(t){return o()(a()(t,function(t){if("multiple"===d()(t,"type")){var e=d()(t,"questions",[]);return a()(e,function(e){return Object(n["a"])({},e,{groupId:t.id})})}return t}))}},bf0f:function(t,e){t.exports={en:{translation:{"Your discount":"Your discount","Excellent. Last step!":"Excellent. Last step!","Total discount":"Total discount",Additionally:"Additionally","Get results":"Get results","Thank you":"Thank you",Done:"Done",Back:"Back",Next:"Next",Skip:"Skip","Last step":"Last step",Email:"Email",Name:"Name",Address:"Address","Phone number":"Phone number","For each answer":"For each answer",Discount:"Discount",Other:"Other","Select answer option on the left":"Select answer option on the left","Select option below":"Select option below",From:"From",To:"To",M:"M",Tu:"Tu",W:"W",Th:"Th",F:"F",S:"S",Su:"Su",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December","I don't have email":"I don't have email","Enter your name":"Enter your name","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Enter your address":"Enter your address","mail@google.com":"mail@google.com",Benny:"Benny","+1-202-555-0105":"+1-202-555-0105",Now:"Now",Reset:"Reset","Expires in":"Expires in","Get a free catalog":"Get a free catalog","Price list":"Price list","Excellent. The last step is left!":"Excellent. The last step is left!",'This group is linked to quiz "{title}"':'This group is linked to quiz "{title}"',"Edit quiz":"Edit quiz","Attach another quiz":"Attach another quiz",'Enter quiz id and click "Attach" to attach quiz to vk group':'Enter quiz id and click "Attach" to attach quiz to vk group',"Enter quiz id":"Enter quiz id","Use messenger":"Use messenger","Where do you want results?":"Where do you want results?","Back to contact info":"Back to contact info","Select another messenger":"Select another messenger","Enter your login":"Enter your login",Link:"Link","Your bonuses":"Your bonuses","Enter your login or id":"Enter your login or id","Enter your phone number or login":"Enter your phone number or login",Catalog:"Catalog","Made on [Marquiz]({link})":"Made on [Marquiz]({link})",Download:"Download","Take the quiz":"Take the quiz","Bonus for completing the quiz":"Bonus for completing the quiz","this quiz does not exists":"this quiz does not exists","failed to load quiz":"failed to load quiz","select one or more":"select one or more","can skip":"can skip","Results skipped because no matching auto-result found":"Results skipped because no matching auto-result found","Try again":"Try again","Send again":"Send again","Get your bonuses next step":"Get your bonuses next step",More:"More","Results calculation running":"Results calculation running","up to {count}":"up to {count}","from {count}":"from {count}","from {min} to {max}":"from {min} to {max}","Take again":"Take again","I do not know what to choose":"I do not know what to choose",or:"or","Your results":"Your results","Choose the option you are interested in":"Choose the option you are interested in","Redirecting to messenger":"Redirecting to messenger","Click [here](#) if it does not happen":"Click [here](#) if it does not happen",Loading:"Loading",Country:"Country","You need to select a country":"You need to select a country","For example":"For example","File uploading":"File uploading","Do not close a page":"Do not close a page","Click to upload file":"Click to upload file","Or drag it here":"Or drag it here","File {name} is too large":"File {name} is too large","Redirecting to {-url}":"Redirecting to {-url}","vk.com":"vk.com",share:"share",clear:"Clear",now:"now",apply:"Apply","Select time":"Select time",from:"from",to:"to",time:"time",date:"date","Scroll through all options":"Scroll through all options",Login:"Login","Enter Email":"Enter Email","Account link":"Account link","Copy the link":"Copy the link","I agree with the [Privacy policy]({link})":"I agree with the [Privacy policy]({link})","I agree with the [Page Creator Privacy Policy]({link})":"I agree with the [Page Creator Privacy Policy]({link})","I have read and agree with [Regulations on the processing of personal data]({link1}) and [Privacy policy]({link2})":"I have read and agree with [Regulations on the processing of personal data]({link1}) and [Privacy policy]({link2})",Free:"Free","Check phone number":"Check phone number","Wrong phone number":"Wrong phone number","Please, fill in the form to get your test results":"Please, fill in the form to get your test results","Please read and accept the Privacy Policy, check the box":"Please read and accept the Privacy Policy, check the box","Please read and accept the Page Creator's Privacy Policy by checking the box":"Please read and accept the Page Creator's Privacy Policy by checking the box","Please, read Regulations on personal data processing and Privacy policy, then tick the box to accept":"Please, read Regulations on personal data processing and Privacy policy, then tick the box to accept",Close:"Close","Terms of use":"Terms of use","We use cookies for our website's functionality.":"We use cookies for our website's functionality.",Accept:"Accept","You can [disable]({link1}) them or continue according to [Privacy policy]({link2})":"You can [disable]({link1}) them or continue according to [Privacy policy]({link2})","Page Creator Privacy Policy":"Page Creator Privacy Policy","Page inactive":"Page inactive","mail@example.com":"mail@example.com","Hold {key} to multiple select":"Hold {key} to multiple select","or press {key}":"or press {key}","All correct":"All correct","It's like that":"It's like that","Precisely!":"Precisely!","Yeah, correct":"Yeah, correct","Exactly!":"Exactly!","Oh, yeah":"Oh, yeah",Absolutely:"Absolutely",Actually:"Actually","{count1} of {count2} answers are correct":"{count1} of {count2} answers are correct","Steps {number} of {count}":"Steps {number} of {count}","Question {number} of {count}":"Question {number} of {count}","Questions left: {number}":"Questions left: {number}","Enter only numbers":"Enter only numbers","Enter a number":"Enter a number","Visit our site":"Visit our site","Privacy Policy":"Privacy Policy","Start quiz":"Start quiz","Phone number verification":"Phone number verification","Request a call":"Request a call","Request again":"Request again","Enter last 4 digits of the incoming phone number. You don’t need to answer the call":"Enter last 4 digits of the incoming phone number. You don’t need to answer the call","Request a call again in":"Request a call again in","Wrong last 4 digits of the number":"Wrong last 4 digits of the number","Number verified":"Number verified","Request call limit exceeded. Please, try again later":"Request call limit exceeded. Please, try again later","Unknown error. Please, contact our support team":"Unknown error. Please, contact our support team","Too many requests for this number. Please, try again in {seconds} seconds":"Too many requests for this number. Please, try again in {seconds} seconds","Invalid phone number. Check the number and try again":"Invalid phone number. Check the number and try again"}},ru:{translation:{"Your discount":"Ваша скидка","Excellent. Last step!":"Отлично. Последний шаг!","Total discount":"Итоговая скидка",Additionally:"Дополнительно","Get results":"Получить результаты","Thank you":"Спасибо",Done:"Готово",Back:"Назад",Next:"Далее",Skip:"Пропустить","Last step":"Последний шаг",Email:"Почта",Name:"Имя",Address:"Адрес","Phone number":"Телефон","For each answer":"За каждый ответ",Discount:"Скидка",Other:"Другое","Select answer option on the left":"Выберите вариант ответа слева","Select option below":"Выберите вариант ответа снизу",From:"От",To:"До",M:"Пн",Tu:"Вт",W:"Ср",Th:"Чт",F:"Пт",S:"Сб",Su:"Вс",January:"Январь",February:"Февраль",March:"Март",April:"Апрель",May:"Май",June:"Июнь",July:"Июль",August:"Август",September:"Сентябрь",October:"Октябрь",November:"Ноябрь",December:"Декабрь","I don't have email":"У меня нет email","Enter your name":"Введите имя","Enter your phone number":"Введите телефон","Enter your email":"Введите email","Enter your address":"Введите адрес","mail@google.com":"mail@mail.ru",Benny:"Игорь","+1-202-555-0105":"+7 (900) 000-00-00",Now:"Сейчас",Reset:"Сброс","Expires in":"Действует еще","Get a free catalog":"Каталог в подарок","Price list":"Прайс-лист","Excellent. The last step is left!":"Отлично. Остался последний шаг!",'This group is linked to quiz "{title}"':'К этой группе привязан квиз "{title}"',"Edit quiz":"Редактировать квиз","Attach another quiz":"Привязать другой квиз",'Enter quiz id and click "Attach" to attach quiz to vk group':'Чтобы привязать квиз к группе vk, введите его id и нажмите "Привязать"',"Enter quiz id":"Введите id квиза",Link:"Привязать","Your bonuses":"Ваши бонусы","Use messenger":"Использовать мессенджер","Where do you want results?":"Куда присылать результаты?","Back to contact info":"Вернуться к вводу контактов","Select another messenger":"Выбрать другой мессенджер","Enter your login":"Введите логин","Enter your login or id":"Введите логин или id","Enter your phone number or login":"Введите номер или логин",Catalog:"Каталог","Made on [Marquiz]({link})":"Сделано на [Marquiz]({link})",Download:"Скачать","Take the quiz":"Пройти тест","Bonus for completing the quiz":"Бонусы после прохождения теста","this quiz does not exists":"такой квиз не существует","failed to load quiz":"не удалось загрузить тест","Выберите один или несколько":"Выберите один или несколько","select one or more":"выберите один или несколько","can skip":"можно пропустить","Results skipped because no matching auto-result found":"Пропустили результаты, потому что не получилось их рассчитать автоматически","Try again":"Попробовать ещё раз","Send again":"Отправить ещё раз","Get your bonuses next step":"Получите ваши бонусы далее",More:"Узнать подробнее","Results calculation running":"Подсчёт результатов","up to {count}":"до {count}","from {count}":"от {count}","from {min} to {max}":"от {min} до {max}","Take again":"Пройти заново","I do not know what to choose":"Не знаю, что выбрать",or:"или","Your results":"Ваши результаты","Choose the option you are interested in":"Выберите интересующий вас вариант","Redirecting to messenger":"Идёт переадресация в мессенджер","Click [here](#) if it does not happen":"Нажмите [здесь](#), если этого не случилось",Loading:"Загрузка",Country:"Страна","You need to select a country":"Нужно выбрать страну","For example":"Например","File uploading":"Идёт загрузка файлов","Do not close a page":"Не закрывайте страницу","Click to upload file":"Нажмите, чтобы загрузить файл","Or drag it here":"Или перетяните его из папки в это поле","File {name} is too large":"Файл {name} слишком большой","Redirecting to {-url}":"Идёт переадресация на {-url}","vk.com":"ВКонтакте",share:"поделиться",clear:"Очистить",now:"Сейчас",apply:"Применить","Select time":"Выберите время",from:"от",to:"до",time:"время",date:"дата","Scroll through all options":"Пролистывайте все варианты",Login:"Логин","Enter Email":"Введите почту","Account link":"Ссылка на аккаунт","Copy the link":"Скопируйте ссылку","I agree with the [Privacy policy]({link})":"C [политикой конфиденциальности]({link}) ознакомлен(а)","I agree with the [Page Creator Privacy Policy]({link})":"С [Политикой конфиденциальности создателя страницы]({link}) ознакомлен","I have read and agree with [Regulations on the processing of personal data]({link1}) and [Privacy policy]({link2})":"С [Положением об обработке персональных данных]({link1}) и [Политикой конфиденциальности]({link2}) ознакомлен и согласен",Free:"Бесплатно","Check phone number":"Введите корректный номер телефона","Wrong phone number":"Неправильный номер","Please, fill in the form to get your test results":"Заполните форму, чтобы получить результаты теста","Please read and accept the Privacy Policy, check the box":"Пожалуйста, прочтите и примите Политику конфиденциальности, поставьте галочку","Please read and accept the Page Creator's Privacy Policy by checking the box":"Пожалуйта, ознакомьтесь и примите Политику конфиденциальности создателя страницы, поставив галочку","Please, read Regulations on personal data processing and Privacy policy, then tick the box to accept":"Пожалуйста, ознакомьтесь и примите Положение об обработке персональных данных и Политику конфиденциальности, поставив галочку",Close:"Закрыть","Terms of use":"Пользовательское соглашение","We use cookies for our website's functionality.":"Мы используем куки для работы сервиса.",Accept:"Принять","You can [disable]({link1}) them or continue according to [Privacy policy]({link2})":"Вы можете их [отключить]({link1}) или продолжить, согласно [политике конфиденциальности]({link2})","Page Creator Privacy Policy":"Политика конфиденциальности создателя страницы","Page inactive":"Страница отключена","mail@example.com":"mail@example.com","Hold {key} to multiple select":"Зажмите {key}, чтобы выбрать несколько","or press {key}":"или нажмите {key}","All correct":"Все правильно","It's like that":"Все так","Precisely!":"Именно!","Yeah, correct":"Да, верно","Exactly!":"Точно!","Oh, yeah":"О, да",Absolutely:"Абсолютно",Actually:"На самом деле","{count1} of {count2} answers are correct":"{count1} из {count2} ответов правильные","Steps {number} of {count}":"Шаг {number} из {count}","Question {number} of {count}":"Вопрос {number} из {count}","Questions left: {number}":"Осталось вопросов: {number}","Enter only numbers":"Вводите только числа","Enter a number":"Введите число","Visit our site":"Посетите наш сайт","Privacy Policy":"Политика конфиденциальности","Start quiz":"Пройти квиз","Phone number verification":"Верификация телефона","Request a call":"Запросить звонок","Request again":"Запросить повторно","Enter last 4 digits of the incoming phone number. You don’t need to answer the call":"Укажите последние 4 цифры номера, с которого вам поступит звонок. Отвечать на звонок не нужно","Request a call again in":"Запросить повторный звонок через","Wrong last 4 digits of the number":"Неверно указаны последние 4 цифры номера","Number verified":"Номер подтвержден","Request call limit exceeded. Please, try again later":"Лимит запросов превышен. Пожалуйста, повторите попытку позже","Unknown error. Please, contact our support team":"Неизвестная ошибка. Пожалуйста, обратитесь в службу поддержки","Too many requests for this number. Please, try again in {seconds} seconds":"Слишком много звонков на этот номер, повторите попытку через {seconds} секунд","Invalid phone number. Check the number and try again":"Некорректный телефон. Проверьте номер и запросите звонок ещё раз"}}}},bfc4:function(t,e,i){"use strict";var n=i("26df"),s=i.n(n);s.a},c463:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"result",class:{result_has_image:t.hasImages,result_has_scroll:t.hasScroll}},[t.hasResult?t._e():i("EmptyResultNotice",{staticClass:"result__empty-result-notice"}),t.result.type&&"content"!==t.result.type?t._e():i("div",{staticClass:"result__container"},[1===t.imageUrls.length&&t.result.mediaType&&"image"===t.result.mediaType||!t.result.mediaType&&1===t.totalMedia.length&&t.hasImages?i("div",{staticClass:"result__image",style:{backgroundImage:"url("+t.imageUrls[0]+")"}}):t.video&&(t.result.mediaType&&"video"===t.result.mediaType||!t.result.mediaType&&!t.hasImages)?i("VideoPlayer",{staticClass:"mb-4",attrs:{video:t.video,autoplay:t.result.video.autoplay,muted:!1}}):t.result.mediaType&&"video"===t.result.mediaType&&t.video||t.result.mediaType&&"image"===t.result.mediaType&&t.hasImages||!t.result.mediaType&&t.totalMedia.length?i("MediaSlider",{attrs:{imageUrls:t.imageUrls,video:t.result.mediaType&&"video"===t.result.mediaType||!t.result.mediaType?t.video:null,nested:!0},scopedSlots:t._u([t.result.mediaType&&"image"===t.result.mediaType||t.hasImages&&!t.result.mediaType?{key:"image",fn:function(t){var e=t.bgUrl;return[i("div",{staticClass:"result__image",style:{backgroundImage:"url("+e+")"}})]}}:null,{key:"video",fn:function(e){var n=e.video;return[i("VideoPlayer",{attrs:{video:n,autoplay:t.result.video.autoplay,muted:!1}})]}}],null,!0)}):t._e(),i("div",{staticClass:"result__content",class:{"result__content_empty-result":!t.hasResult}},[t.hasCorrectAnswers?i("div",{staticClass:"result__correct"},[i("b-icon",{attrs:{icon:"check"}}),i("p",{staticClass:"result__correct-amount",domProps:{innerHTML:t._s(t.$t("{count1} of {count2} answers are correct",{count1:t.numberOfCorrectAnswers,count2:t.numberOfAllQuestions}))}})],1):t._e(),t.hasCost?i("ResultPriceLabel",{attrs:{result:t.result}}):t._e(),t.result.title?i("h2",{staticClass:"result__title"},[t._v(t._s(t.result.title))]):t._e(),t.result.text?i("div",{staticClass:"result__text html-content",domProps:{innerHTML:t._s(t.result.text)}}):t._e(),t.hasResult&&t.isBonusesEnabled?i("div",{staticClass:"result__bonuses"},["afterForm"===t.results.view?i("div",{staticClass:"result__bonuses-title"},[t._v(t._s(t.bonusesTitle||t.$t("Your bonuses")))]):t._e(),"beforeForm"===t.results.view?i("div",{staticClass:"result__bonuses-title"},[t._v(t._s(t.bonusesTitle||t.$t("Get your bonuses next step")))]):t._e(),i("Bonuses",{attrs:{direction:"row"}})],1):t._e(),t.hasResult&&t.results.share?i("Share",{attrs:{networks:t.shareNetworks,url:t.shareUrl,title:t.title,description:t.text,media:t.getMediaShare}}):t._e(),!t.hasResult||t.results.retry&&!t.isVerifyingEnabled&&("beforeForm"===t.results.view||t.leadFormDisabled)?i("div",{staticClass:"result__retry",on:{click:t.reload}},[i("b-icon",{attrs:{icon:"reload"}}),t._v(t._s(t.getPhrase("takeAgainButton")))],1):t._e()],1),i("div",{staticClass:"result__navpad-place"},[i("div",{staticClass:"result__whitelabel"},[i("WhiteLabel")],1)])],1),t.hasButton||t.selectedResult?i("div",{staticClass:"result__navpad",class:{result__navpad_align_left:t.selectedResult&&!t.hasButton},attrs:{dir:"ltr"}},[t.backShown?i("button",{staticClass:"button is-outlined result__back-button",class:{"is-outline":t.buttonStyle.outline,"is-square":t.buttonStyle.square},on:{click:t.back}},[i("b-icon",{attrs:{icon:"arrow-left"}})],1):t._e(),t.hasButton?i("button",{staticClass:"button is-primary result__button has-hover-shadow",class:{"is-outline":t.buttonStyle.outline,"is-square":t.buttonStyle.square},on:{click:t.action}},[i("b-icon",{attrs:{icon:"checkbox-marked-circle-outline"}}),t._v(" "),i("div",{staticClass:"result__btn-text"},[t._v(t._s(t.buttonText))]),t.payable?i("div",{staticClass:"result__btn-price"},[t._v(t._s(t.$format.currency(t.amount)))]):t._e()],1):t._e(),i("div",{staticClass:"result__whitelabel"},[i("WhiteLabel")],1)]):t._e(),t.result&&"redirect"===t.result.type?i("div",{staticClass:"result__container"},[t.result.link?i("div",[t._v(t._s(t.$t("Redirecting to {-url}",{url:t.$format.site(t.result.link)}))),i("span",{staticClass:"u-points"})]):t._e()]):t._e()],1)},s=[],a=(i("b54a"),i("cebc")),r=i("8a30"),o=i.n(r),u=i("9380"),c=i.n(u),l=i("d623"),d=i.n(l),f=i("3482"),h=i.n(f),m=i("c228"),p=i.n(m),g=i("13ea"),b=i.n(g),v=i("dd61"),_=i.n(v),y=i("9b02"),w=i.n(y),C=i("2f62"),k=i("fb21"),P=i("dfbf"),q=i("0089"),x=i("8162"),E=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"price-label price-label_result"},[i("div",{staticClass:"price-label__container"},[t.hasTotalPrice?[i("div",{staticClass:"price-label__values"},[i("div",{staticClass:"price-label__number"},[t._v(t._s(t.getPriceLabel(t.totalPrice)))]),t.oldPrice?i("div",{staticClass:"price-label__old"},[t._v(t._s(t.getPriceLabel(t.oldPrice)))]):t._e()]),t.oldPrice?i("DiscountBadge",{staticClass:"price-label__discount"}):t._e()]:[i("div",{staticClass:"price-label__number"},[t._v(t._s(t.$t("Free")))])]],2)])},L=[],z=i("6afd"),T={name:"ResultPriceLabel",extends:k["a"],components:{DiscountBadge:z["a"]}},A=T,S=(i("e24e"),i("2877")),I=Object(S["a"])(A,E,L,!1,null,null,null),M=I.exports,O=i("270a"),V=i("8638"),$=i("1043"),R={mixins:[$["a"]],components:{PriceLabel:k["a"],Bonuses:P["a"],WhiteLabel:q["a"],Share:function(){return i.e("chunk-16ac490e").then(i.bind(null,"17a4"))},ResultPriceLabel:M,VideoPlayer:O["a"],MediaSlider:function(){return Promise.all([i.e("chunk-218c9962"),i.e("chunk-f5cb8fa6"),i.e("quiz~swiper"),i.e("swiper")]).then(i.bind(null,"4c1e"))},EmptyResultNotice:V["a"]},mounted:function(){this.hasScroll=(this.hasButton||this.selectedResult)&&window.document.body.scrollHeight>window.document.body.clientHeight,this.$emit("hasScroll",this.hasScroll)},data:function(){return{hasScroll:!1}},computed:Object(a["a"])({},Object(C["d"])("quiz",["results","selectedResult","leadFormDisabled","domain","answers","redirectParamsEnabled","settings"]),Object(C["d"])("quiz/form",["contacts","answerId"]),Object(C["d"])("quiz",{bonuses:function(t){return w()(t,"info.marketing.bonuses",[])}}),Object(C["c"])("quiz",["result","bonusesTitle","isBonusesEnabled","buttonStyle","activeFlatQuestions","allCorrectAnswers","isVerifyingEnabled","resultAmount"]),Object(C["c"])(["baseLang"]),{getMediaShare:function(){return"video"===this.getMediaType&&this.video&&this.video.link?this.video.link:"image"===this.getMediaType&&this.hasImages?this.$image.url(w()(this.result,"image"),{width:750}):null},getMediaType:function(){return w()(this.result,"mediaType",null)},video:function(){return this.$video.parse(this.result.video,!0)},hasCost:function(){return w()(this.result,"cost")||w()(this.result,"minCost")||w()(this.result,"maxCost")||0===w()(this.result,"cost")},shareUrl:function(){return this.domain?"https://".concat(this.domain):this.$route.query.href},payable:function(){return this.$store.state.quiz.payable&&this.amount},hasButton:function(){return!!this.hasResult&&("beforeForm"===this.results.view||"afterForm"===this.results.view&&(!!this.payable||!!this.result.link))},imageUrls:function(){var t=this;return this.hasImages?_()(this.result.images,function(e){return t.$image.url(e,{width:750})}):[]},hasImages:function(){return!b()(this.result.images)},totalMedia:function(){var t=w()(this.video,"link");return p()(h()(this.result.images,t))},buttonText:function(){return this.result.buttonText?this.result.buttonText:this.$t("More")},hasCorrectAnswers:function(){return!b()(this.allCorrectAnswers)},numberOfAllQuestions:function(){return d()(c()(this.activeFlatQuestions,function(t){return!t.isExplanation}))},numberOfCorrectAnswers:function(){if(this.isVerifyingEnabled)return d()(Object(x["b"])(this.answers,this.activeFlatQuestions,this.allCorrectAnswers))},shareNetworks:function(){var t=["ru","uk","be","kk"];return c()([{name:"vk",desc:this.$t("vk.com"),shown:o()(t,w()(this.settings,"lng",this.baseLang))},{name:"facebook",desc:"Facebook"},{name:"twitter",desc:"Twitter"},{name:"telegram",desc:"Telegram"}],function(t){return!1!==t.shown})},amount:function(){return this.resultAmount(this.result).cost},isPayment:function(){if(this.payable){if("afterForm"===this.results.view)return!0;if("beforeForm"===this.results.view&&this.answerId)return!0}return!1},backShown:function(){return("beforeForm"!==this.results.view||!this.isPayment)&&!!this.selectedResult},hasResult:function(){return!b()(this.result)}}),methods:{reload:function(){this.$store.dispatch("quiz/analyticEvent","marquiz-quiz-restart"),this.$store.commit("quiz/startQuiz")},action:function(){this.leadFormDisabled&&this.payable?this.$store.dispatch("quiz/showPayment"):this.isPayment?this.$store.dispatch("quiz/showPayment"):("beforeForm"===this.results.view&&this.$store.dispatch("quiz/showLeadForm"),"afterForm"===this.results.view&&this.redirect())},redirect:function(){if(this.result.link){var t=this.redirectParamsEnabled?{contacts:this.contacts,result:this.result}:{result:this.result};this.$redirect(this.result.link,t,!1,!0)}},back:function(){var t=this;this.$store.commit("quiz/showResults"),setTimeout(function(){t.$store.commit("quiz/selectResult",null)},300)}}},D=R,j=(i("8eb6"),Object(S["a"])(D,n,s,!1,null,null,null));e["a"]=j.exports},c7ba:function(t,e,i){"use strict";var n=i("db95"),s=i.n(n);s.a},c914:function(t,e,i){"use strict";var n=i("b9b4"),s=i.n(n);s.a},cb5b:function(t,e,i){},cdae:function(t,e,i){"use strict";var n,s,a=i("c641"),r=i.n(a),o=i("bba4"),u=i.n(o),c=i("6747"),l=i.n(c),d=i("9b02"),f=i.n(d),h=i("94ed"),m={mdiAccount:h["a"],mdiCheckboxMarkedCircleOutline:h["j"],mdiCheckCircleOutline:h["j"],mdiReload:h["F"],mdiArrowUp:h["e"],mdiArrowLeft:h["c"],mdiArrowRight:h["d"],mdiChevronLeft:h["l"],mdiChevronRight:h["m"],mdiClock:h["n"],mdiClockOutline:h["o"],mdiClose:h["p"],mdiCloseCircle:h["q"],mdiCloseCircleOutline:h["r"],mdiGift:h["v"],mdiCheckboxMultipleMarkedCircle:h["k"],mdiPencil:h["C"],mdiCalendarToday:h["g"],mdiAlertCircle:h["b"],mdiEmail:h["s"],mdiFileDocumentBoxOutline:h["u"],mdiPhone:h["D"],mdiLoading:h["z"],mdiCheckCircle:h["i"],mdiInformation:h["x"],mdiImageOutline:h["w"],mdiCalendarCheck:h["f"],mdiInstagram:h["y"],mdiVk:h["J"],mdiYoutube:h["N"],mdiTwitter:h["I"],mdiFacebook:h["t"],mdiTelegram:h["H"],mdiWechat:h["M"],mdiCalendarSearch:"M15.66 12.141a4.562 4.562 0 0 1 3.859 6.988l3.119 3.14-1.408 1.407-3.16-3.109a4.558 4.558 0 1 1-2.41-8.426m0 2.026a2.532 2.532 0 1 0 2.532 2.533 2.532 2.532 0 0 0-2.532-2.532m3.54-6.079H5.026V19.23h4.557a6.621 6.621 0 0 0 1.327 2.026H5.026A2.025 2.025 0 0 1 3 19.23V5.051a2.019 2.019 0 0 1 2.026-2.025h1.012V1h2.026v2.026h8.1V1h2.026v2.026h1.01a2.026 2.026 0 0 1 2.03 2.025v8.133a6.876 6.876 0 0 0-2.03-2.056z",mdiFileDocumentBoxCheckOutline:"M17,21L14.25,18L15.41,16.84L17,18.43L20.59,14.84L21.75,16.25M12.8,21H5C3.89,21 3,20.11 3,19V5C3,3.89 3.89,3 5,3H19C20.11,3 21,3.89 21,5V12.8C20.39,12.45 19.72,12.2 19,12.08V5H5V19H12.08C12.2,19.72 12.45,20.39 12.8,21M12,17H7V15H12M14.68,13H7V11H17V12.08C16.15,12.22 15.37,12.54 14.68,13M17,9H7V7H17",mdiPercent:"M8 10C9.10458 10 10 9.10457 10 8C10 6.89543 9.10458 6 8 6C6.89542 6 6 6.89543 6 8C6 9.10457 6.89542 10 8 10ZM8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12ZM16 19C17.1046 19 18 18.1046 18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17C14 18.1046 14.8954 19 16 19ZM16 21C18.2091 21 20 19.2091 20 17C20 14.7909 18.2091 13 16 13C13.7909 13 12 14.7909 12 17C12 19.2091 13.7909 21 16 21ZM18.435 7.41422L17.0208 6L5 18.0208L6.41422 19.435L18.435 7.41422Z",mdiCheck:h["h"],mdiPlay:h["E"],mdiPause:h["B"],mdiReplay:h["G"],mdiVolumeOff:h["L"],mdiVolumeHigh:h["K"],mdiMapMarker:h["A"],mdiRub:"M9 4H13C15.7614 4 18 6.23858 18 9C18 11.7614 15.7614 14 13 14H11V16H15V18H11V20H9V18H7V16H9V14H7V12H9V4ZM13 6L11 6V12H13C14.6569 12 16 10.6569 16 9C16 7.34315 14.6569 6 13 6Z",mdiByb:"M3 4H4H5H8V4.02747C8.16415 4.00932 8.33099 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 9.91364 12.3482 11.175 11.3287 12C12.3482 12.825 13 14.0864 13 15.5C13 17.9853 10.9853 20 8.5 20C8.33099 20 8.16415 19.9907 8 19.9725V20H5H4H3V4ZM5 18H8V17.95C8.16156 17.9828 8.32877 18 8.5 18C9.88071 18 11 16.8807 11 15.5C11 14.1193 9.88071 13 8.5 13C8.32877 13 8.16156 13.0172 8 13.05V13H5V18ZM8 10.95V11H5V6H8V6.05C8.16156 6.01721 8.32877 6 8.5 6C9.88071 6 11 7.11929 11 8.5C11 9.88071 9.88071 11 8.5 11C8.32877 11 8.16156 10.9828 8 10.95ZM15 12H15.0275C15.2762 9.75003 17.1837 8 19.5 8C19.669 8 19.8358 8.00932 20 8.02747V8H21V10H20V10.05C19.8384 10.0172 19.6712 10 19.5 10C18.1193 10 17 11.1193 17 12.5C17 12.6712 17.0172 12.8384 17.05 13H17V20H15V12.5V12Z",mdiUsd:"M11 3H13V5H16.3333V7H13V11C15.5773 11 17.6667 12.7909 17.6667 15C17.6667 17.1131 15.7551 18.8435 13.3333 18.99V19H13L13 21H11V19H8.33334V17H11V12.9595C8.73847 12.6822 7 11.0151 7 9C7 6.98487 8.73847 5.31778 11 5.04051V3ZM11 7.0598C9.6697 7.30891 9 8.28454 9 9C9 9.71546 9.6697 10.6911 11 10.9402V7.0598ZM13 17V13C14.7731 13 15.6667 14.1736 15.6667 15C15.6667 15.8264 14.7731 17 13 17Z",mdiUah:"M9 6V4H13V4.0113C15.4218 4.17611 17.3333 6.12279 17.3333 8.5C17.3333 8.669 17.3237 8.83583 17.3049 9H19V11H16.5475C15.7103 12.206 14.2847 13 12.6667 13C12.5546 13 12.4434 12.9962 12.3333 12.9887V13H12.6667H19V15H9.05474C9.01876 15.163 9 15.3305 9 15.5C9 16.8113 10.1221 17.9973 11.6613 18H11.672C11.9026 17.9996 12 18 12 18H12.3333H16V20L11.6667 20L11.5 20L11 19.9544C8.73847 19.6425 7 17.767 7 15.5C7 15.331 7.00966 15.1642 7.02848 15H6V13H7.78584C8.623 11.794 10.0487 11 11.6667 11C11.7787 11 11.8899 11.0038 12 11.0113V11H11.6667H6V9H15.2786C15.3146 8.83695 15.3333 8.66952 15.3333 8.5C15.3333 7.18722 14.2086 6 12.6667 6C12.4342 6 12.2111 5.94965 12 6H9Z",mdiKzt:"M6 7V5H12H13H18V7H13H12H6ZM13 9H12H6V11H11V21H13V11H18V9H13Z",mdiCny:"M10 10L4 4H6.82843L12.4498 9.62132L18.0711 4H20.8995L14.8995 10H18.4142V12H13.4142V13H18.4142V15H13.4142V20H11.4142V15H6.41422V13H11.4142V12H6.41422V10H10Z",mdiJpy:"M10 10L4 4H6.82843L12.4498 9.62132L18.0711 4H20.8995L14.8995 10H18.4142V12H13.4142V13H18.4142V15H13.4142V20H11.4142V15H6.41422V13H11.4142V12H6.41422V10H10Z",mdiEur:"M18 5V7L16 7V7.02242C14.0763 7.19577 12.4383 8.35959 11.5997 10L17 10V12L11.0224 12C11.0076 12.1647 11 12.3315 11 12.5C11 12.6685 11.0076 12.8353 11.0224 13L17 13V15H11.5997C12.4383 16.6404 14.0763 17.8042 16 17.9776V18H18V20H16V19.9836C12.9532 19.7831 10.4034 17.7631 9.42676 15H7V13H9.0164C9.00552 12.8347 9 12.668 9 12.5C9 12.332 9.00552 12.1653 9.0164 12H7V10H9.42676C10.4034 7.23689 12.9532 5.21694 16 5.0164V5H18Z",mdiIls:"M5 5V20H7V7H10C12 7 13 7.8 13 9V10V12V14V16H15V9C15 7 13 5 10 5H5ZM11 14V12V10H9V20H15C17 20 19 18 19 15V5H17V15C17 17 16.2 18 15 18H11V14Z",mdiThb:"M13 3H11V5H8V19H11V21H13V19C15.2091 19 17 17.2091 17 15C17 13.8053 16.4762 12.7329 15.6458 12C16.4762 11.2671 17 10.1947 17 9C17 6.79086 15.2091 5 13 5V3ZM13 7V11C14.1046 11 15 10.1046 15 9C15 7.89543 14.1046 7 13 7ZM13 13V17C14.1046 17 15 16.1046 15 15C15 13.8954 14.1046 13 13 13ZM11 17V13H10V17H11ZM11 11V7H10V11H11Z",mdiKgs:"M7 10C7 6.68629 9.68629 4 13 4H18V6H13C10.7909 6 9 7.79086 9 10C9 12.2091 10.7909 14 13 14H18V16H13C9.68629 16 7 13.3137 7 10ZM18 18V20H8V18H18Z",mdiCzk:"m2.80734,11.79704l0,6.73084l0.87011,-0.00784l0.86601,-0.01166l0.01994,-2.15385l0.01994,-2.15385l1.15337,-1.33053c0.63455,-0.72967 1.16549,-1.32671 1.18133,-1.32671s0.92192,1.52184 2.01547,3.3831c1.09355,1.86508 2.02348,3.43374 2.06336,3.49222l0.07585,0.10913l0.93794,0c0.6066,0 0.93404,-0.01567 0.93404,-0.03899c0,-0.02332 -1.10567,-1.89241 -2.45864,-4.1594c-1.35277,-2.26317 -2.44632,-4.13991 -2.4344,-4.17125c0.00801,-0.02733 0.96179,-1.17841 2.11536,-2.55175c1.15337,-1.37736 2.09933,-2.50894 2.09933,-2.5206c0,-0.01166 -0.43496,-0.01949 -0.9659,-0.01949l-0.96981,0.00382l-2.82576,3.33226c-1.55646,1.83393 -2.85352,3.35175 -2.88558,3.37908c-0.04789,0.03899 -0.05591,-0.4409 -0.05591,-3.33608l0,-3.37908l-0.87793,0l-0.87813,0l0,6.73065zm15.40591,-3.47254c-0.03186,0.00784 -0.19549,0.03516 -0.3593,0.05848c-1.70425,0.26928 -3.11703,1.50215 -3.68786,3.21128c-0.21152,0.63603 -0.27935,1.10808 -0.27935,1.95873c0,1.16675 0.14759,1.84559 0.59467,2.7314c0.76631,1.514 2.12729,2.36446 3.93124,2.46212c1.14946,0.05848 2.35073,-0.33942 3.34067,-1.11209l0.21152,-0.15996l-0.31121,-0.4409c-0.16773,-0.24195 -0.34718,-0.49174 -0.39117,-0.55404l-0.08777,-0.11314l-0.14368,0.12098c-1.19736,1.0301 -2.83768,1.15891 -3.99516,0.3161c-0.78234,-0.56971 -1.29314,-1.61548 -1.3729,-2.81721c-0.07585,-1.14343 0.15971,-2.19303 0.65449,-2.93054c0.21562,-0.32394 0.7104,-0.79981 1.00578,-0.96761c0.65859,-0.37458 1.43272,-0.49556 2.12729,-0.33158c0.37123,0.08581 1.09355,0.47606 1.30116,0.69852c0.03597,0.03899 0.09188,0.07415 0.11983,0.07415c0.04789,0 0.85408,-0.9871 0.85408,-1.04577c0,-0.04682 -0.45099,-0.39809 -0.73835,-0.57353c-0.30731,-0.19513 -0.75438,-0.38242 -1.15748,-0.48772c-0.24749,-0.06632 -0.459,-0.08982 -0.93794,-0.09747c-0.33917,-0.00803 -0.64647,-0.00803 -0.67853,-0.00019zm-2.09132,-4.35854c0.04398,0.05848 0.49087,0.71018 0.99385,1.44367l0.91801,1.33455l0.70649,0l0.70649,0l0.97782,-1.42418c0.53876,-0.78032 0.98173,-1.43202 0.98173,-1.44367s-0.27134,-0.01567 -0.6066,-0.01166l-0.6066,0.01166l-0.6625,0.88581c-0.36321,0.48772 -0.68655,0.91696 -0.72232,0.95213c-0.07976,0.07415 -0.02404,0.13665 -0.88614,-1.01845l-0.6107,-0.8195l-0.63064,-0.01166l-0.63064,-0.01166l0.07174,0.11295z",mdiPln:"m12.42972,16.4474l-5.79398,0c0.39781,-0.4694 0.75529,-0.9345 1.06271,-1.34281l4.84096,-6.42644c0.03359,-0.04468 0.05171,-0.09973 0.05171,-0.15614l0,-1.25352c0,-0.1415 -0.11214,-0.25607 -0.25069,-0.25607l-8.23202,0c-0.13852,0 -0.25047,0.11455 -0.25047,0.25607l0,1.59521c0,0.1415 0.11191,0.25607 0.25047,0.25607l5.35467,0c-0.36053,0.42678 -0.6977,0.84347 -1.11383,1.36544l-4.88518,6.49506c-0.03351,0.04479 -0.05182,0.09962 -0.05182,0.15621l0,1.16224c0,0.14155 0.11191,0.25609 0.25044,0.25609l8.76722,0c0.13878,0 0.25087,-0.11455 0.25087,-0.25609l0,-1.59529c-0.00022,-0.1415 -0.11235,-0.25602 -0.25106,-0.25602l-0.00001,0l0.00001,-0.00001zm7.6491,-9.84551c-0.22213,-0.30244 -0.64187,-0.36382 -0.93833,-0.13774l-1.67486,1.28149l0,-5.62767c0,-0.1414 -0.11214,-0.25609 -0.25069,-0.25609l-1.96346,0c-0.13834,0 -0.25047,0.11466 -0.25047,0.25609l0,7.51368l-2.72248,2.08282c-0.29606,0.22643 -0.3564,0.6557 -0.13462,0.95832c0.13199,0.1794 0.33334,0.27415 0.53715,0.27415c0.13982,0 0.28074,-0.04461 0.4014,-0.13687l1.91854,-1.4678l0,6.95616c0,0.14132 0.11214,0.25587 0.25047,0.25587l1.96346,0c0.13857,0 0.25069,-0.11455 0.25069,-0.25587l0,-8.8416l2.47857,-1.89652c0.29627,-0.22665 0.3567,-0.65588 0.13462,-0.95844l0,0.00001l0,0.00001z",mdiHuf:"m13.51263,4.55619l-7.90749,0c-0.1273,0 -0.2304,0.10285 -0.2304,0.23012l0,14.68285c0,0.12669 0.1031,0.22979 0.2304,0.22979l1.89501,0c0.1273,0 0.23016,-0.10261 0.23016,-0.22979l0,-6.41452l5.32506,0c0.1273,0 0.2304,-0.10285 0.2304,-0.23004l0,-1.56848c0,-0.12706 -0.1031,-0.23016 -0.2304,-0.23016l-5.32506,0l0,-4.41942l5.78232,0c0.12718,0 0.23024,-0.10285 0.23024,-0.23004l0,-1.5902c0.00004,-0.12726 -0.10306,-0.23012 -0.23024,-0.23012l0,0.00001zm7.69037,4.13902l-2.51462,0l0,-2.29751c0,-0.07152 -0.03321,-0.13884 -0.08961,-0.18232c-0.05636,-0.04336 -0.12959,-0.05791 -0.19988,-0.03998l-1.8737,0.00086c-0.10045,0.02685 -0.17074,0.11814 -0.17074,0.22221l0,2.29702l-1.40336,0c-0.12714,0 -0.23024,0.1031 -0.23024,0.23016l0,1.45964c0,0.12694 0.1031,0.23004 0.23024,0.23004l1.40332,0l0,5.52078c0,1.41025 0.25628,2.33329 0.79797,2.89617c0.50657,0.57878 1.28164,0.88469 2.2427,0.88469c0.71517,0 1.34982,-0.09902 1.78678,-0.27869c0.09079,-0.03733 0.14788,-0.12816 0.14185,-0.22645l-0.00603,-1.43796c-0.00481,-0.06911 -0.03949,-0.13268 -0.09589,-0.17294c-0.05636,-0.03994 -0.12714,-0.05298 -0.19458,-0.03513c-0.20522,0.05587 -0.63493,0.12286 -1.13135,0.12286c-0.62699,0 -1.20747,-0.22038 -1.20747,-1.81808l0,-5.45578l2.51414,0c0.12718,0 0.23024,-0.1031 0.23024,-0.23008l0,-1.45964c0.00004,-0.12677 -0.10257,-0.22987 -0.22975,-0.22987l-0.00002,0z",mdiGbp:"M6 19v-2c4-2 3.5-6 3.5-6H7v-2h2.5c-1-4.5.5-8 4.5-8c2 0 3 .5 3 .5v2c-6-2-6 2.5-5.5 5.5H16v2h-4.5s.5 4-2 6H18v2H6z",mdiBrl:"M12 15h2c0 1.08 1.37 2 3 2s3-.92 3-2c0-1.1-1.04-1.5-3.24-2.03C14.64 12.44 12 11.78 12 9c0-1.79 1.47-3.31 3.5-3.82V3h3v2.18C20.53 5.69 22 7.21 22 9h-2c0-1.08-1.37-2-3-2s-3 .92-3 2c0 1.1 1.04 1.5 3.24 2.03C19.36 11.56 22 12.22 22 15c0 1.79-1.47 3.31-3.5 3.82V21h-3v-2.18C13.47 18.31 12 16.79 12 15M2 3h3.5A5.5 5.5 0 0 1 11 8.5c0 2.19-1.29 4.09-3.14 4.97L11.64 21H9.4l-3.52-7H4v7H2V3m3.5 9A3.5 3.5 0 0 0 9 8.5A3.5 3.5 0 0 0 5.5 5H4v7h1.5z",mdiCad:["M 12.695312 13.644531 C 12.265625 15.898438 11.21875 17.691406 9.039062 18.464844 C 5.707031 19.640625 1.496094 18.507812 0.511719 13.859375 C 0.0546875 11.703125 0.132812 9.5625 1.054688 7.523438 C 2.09375 5.230469 4.382812 3.941406 6.890625 4.089844 C 8.199219 4.167969 9.4375 4.398438 10.515625 5.175781 C 11.730469 6.054688 12.425781 7.269531 12.695312 8.738281 C 12.742188 8.996094 12.671875 9.105469 12.382812 9.097656 C 11.59375 9.078125 10.800781 9.082031 10.011719 9.097656 C 9.769531 9.101562 9.699219 9 9.628906 8.792969 C 9.15625 7.386719 8.351562 6.722656 7.074219 6.652344 C 5.582031 6.566406 4.558594 7.136719 3.925781 8.457031 C 3.335938 9.6875 3.25 11.007812 3.347656 12.34375 C 3.402344 13.054688 3.53125 13.757812 3.835938 14.410156 C 4.722656 16.304688 7.117188 16.90625 8.648438 15.625 C 9.171875 15.183594 9.421875 14.578125 9.621094 13.953125 C 9.679688 13.765625 9.714844 13.636719 9.953125 13.640625 C 10.84375 13.652344 11.734375 13.644531 12.695312 13.644531 Z M 12.695312 13.644531 ","M 21.691406 11.214844 C 21.078125 10.914062 20.457031 10.621094 19.800781 10.433594 C 19.371094 10.308594 19.253906 10.101562 19.277344 9.667969 C 19.320312 8.851562 19.28125 8.03125 19.292969 7.210938 C 19.296875 6.988281 19.175781 6.636719 19.359375 6.5625 C 19.613281 6.457031 19.921875 6.632812 20.164062 6.804688 C 20.441406 6.992188 20.609375 7.261719 20.699219 7.578125 C 20.753906 7.789062 20.800781 8.003906 20.824219 8.21875 C 20.855469 8.472656 20.9375 8.589844 21.226562 8.578125 C 21.871094 8.550781 22.515625 8.550781 23.15625 8.574219 C 23.460938 8.585938 23.515625 8.480469 23.503906 8.203125 C 23.449219 6.398438 22.199219 4.890625 20.375 4.46875 C 20.035156 4.390625 19.585938 4.453125 19.371094 4.253906 C 19.128906 4.027344 19.320312 3.5625 19.285156 3.207031 C 19.273438 3.117188 19.328125 2.976562 19.167969 2.976562 C 18.890625 2.96875 18.585938 2.90625 18.34375 3.003906 C 18.132812 3.089844 18.265625 3.394531 18.261719 3.601562 C 18.246094 4.277344 18.257812 4.277344 17.542969 4.371094 C 15.621094 4.621094 14.320312 5.890625 14.0625 7.894531 C 13.839844 9.613281 14.457031 11.207031 16.410156 12.042969 C 16.921875 12.261719 17.449219 12.421875 17.976562 12.578125 C 18.097656 12.617188 18.265625 12.605469 18.261719 12.832031 C 18.253906 14.15625 18.257812 15.484375 18.257812 16.820312 C 17.113281 16.589844 16.777344 16.261719 16.550781 15.152344 C 16.507812 14.953125 16.484375 14.75 16.453125 14.550781 C 16.429688 14.394531 16.386719 14.292969 16.183594 14.292969 C 15.4375 14.304688 14.691406 14.300781 13.945312 14.300781 C 13.800781 14.300781 13.714844 14.3125 13.6875 14.5 C 13.46875 16.046875 14.5 17.898438 15.929688 18.523438 C 16.550781 18.792969 17.199219 18.953125 17.867188 19.019531 C 18.195312 19.046875 18.285156 19.160156 18.265625 19.472656 C 18.238281 19.882812 18.273438 20.292969 18.253906 20.703125 C 18.242188 20.964844 18.308594 21.089844 18.59375 21.050781 C 18.722656 21.035156 18.855469 21.035156 18.988281 21.050781 C 19.25 21.085938 19.300781 20.957031 19.292969 20.722656 C 19.277344 20.285156 19.300781 19.84375 19.285156 19.410156 C 19.273438 19.152344 19.320312 19.054688 19.625 19.019531 C 21.394531 18.800781 23.457031 17.914062 23.730469 15.210938 C 23.898438 13.527344 23.363281 12.027344 21.691406 11.214844 Z M 18.257812 8.277344 C 18.257812 8.746094 18.257812 9.214844 18.257812 9.679688 C 18.257812 9.824219 18.269531 9.929688 18.046875 9.871094 C 16.914062 9.574219 16.332031 8.492188 16.753906 7.425781 C 16.957031 6.917969 17.46875 6.574219 18.007812 6.550781 C 18.203125 6.542969 18.265625 6.589844 18.261719 6.785156 C 18.253906 7.285156 18.257812 7.78125 18.257812 8.277344 Z M 19.304688 16.769531 C 19.304688 15.507812 19.304688 14.289062 19.304688 13.066406 C 20.46875 13.304688 21.039062 14.050781 20.960938 15.203125 C 20.894531 16.171875 20.351562 16.691406 19.304688 16.769531 Z M 19.304688 16.769531 "],mdiVnd:["M 16.726562 21.816406 L 5.089844 21.816406 C 4.488281 21.816406 4 22.304688 4 22.910156 C 4 23.511719 4.488281 24 5.089844 24 L 16.726562 24 C 17.328125 24 17.820312 23.511719 17.820312 22.910156 C 17.820312 22.304688 17.328125 21.816406 16.726562 21.816406 Z M 16.726562 21.816406","M 18.910156 1.453125 L 17.820312 1.453125 L 17.820312 1.089844 C 17.820312 0.488281 17.328125 0 16.726562 0 C 16.125 0 15.636719 0.488281 15.636719 1.089844 L 15.636719 1.453125 L 14.546875 1.453125 C 13.941406 1.453125 13.453125 1.941406 13.453125 2.542969 C 13.453125 3.148438 13.941406 3.636719 14.546875 3.636719 L 15.636719 3.636719 L 15.636719 7.691406 C 14.398438 6.53125 12.734375 5.816406 10.910156 5.816406 C 7.097656 5.816406 4 8.917969 4 12.726562 C 4 16.535156 7.097656 19.636719 10.910156 19.636719 C 12.734375 19.636719 14.398438 18.921875 15.636719 17.761719 L 15.636719 18.546875 C 15.636719 19.148438 16.125 19.636719 16.726562 19.636719 C 17.328125 19.636719 17.820312 19.148438 17.820312 18.546875 L 17.820312 3.636719 L 18.910156 3.636719 C 19.511719 3.636719 20 3.148438 20 2.542969 C 20 1.941406 19.511719 1.453125 18.910156 1.453125 Z M 10.910156 17.453125 C 8.300781 17.453125 6.179688 15.332031 6.179688 12.726562 C 6.179688 10.121094 8.300781 8 10.910156 8 C 13.515625 8 15.636719 10.121094 15.636719 12.726562 C 15.636719 15.332031 13.515625 17.453125 10.910156 17.453125 Z M 10.910156 17.453125 "],mdiChf:["M 26 8.761719 L 26 6.574219 L 17.769531 6.574219 L 17.769531 19.441406 L 19.960938 19.441406 L 19.960938 14.363281 L 23.898438 14.363281 L 23.898438 12.175781 L 19.960938 12.175781 L 19.960938 8.761719 Z M 26 8.761719 ","M 10.769531 14.101562 L 14.53125 14.101562 L 14.53125 19.441406 L 16.71875 19.441406 L 16.71875 6.574219 L 14.53125 6.574219 L 14.53125 11.914062 L 10.769531 11.914062 L 10.769531 6.574219 L 8.578125 6.574219 L 8.578125 19.441406 L 10.769531 19.441406 Z M 10.769531 14.101562 ","M 3.789062 8.742188 C 4.664062 8.742188 5.390625 9.460938 5.390625 10.335938 L 7.578125 10.335938 C 7.578125 8.238281 5.871094 6.554688 3.789062 6.554688 C 1.707031 6.554688 0 8.242188 0 10.328125 L 0 15.65625 C 0 17.742188 1.707031 19.445312 3.789062 19.445312 C 5.871094 19.445312 7.578125 17.777344 7.578125 15.675781 L 5.390625 15.675781 C 5.390625 16.554688 4.664062 17.257812 3.789062 17.257812 C 2.914062 17.257812 2.1875 16.535156 2.1875 15.65625 L 2.1875 10.328125 C 2.1875 9.449219 2.914062 8.742188 3.789062 8.742188 Z M 3.789062 8.742188"],mdiAud:["M 5.167969 13.371094 C 5.761719 11.574219 6.347656 9.800781 6.972656 7.914062 C 7.578125 9.808594 8.144531 11.574219 8.71875 13.371094 C 7.515625 13.371094 6.363281 13.371094 5.167969 13.371094 Z M 13.585938 18.351562 C 11.992188 13.871094 10.402344 9.382812 8.824219 4.890625 C 8.730469 4.621094 8.59375 4.558594 8.328125 4.5625 C 7.453125 4.578125 6.574219 4.585938 5.703125 4.558594 C 5.386719 4.550781 5.261719 4.664062 5.160156 4.953125 C 3.761719 8.890625 2.355469 12.820312 0.953125 16.753906 C 0.714844 17.417969 0.484375 18.089844 0.238281 18.792969 C 1.25 18.792969 2.210938 18.785156 3.171875 18.800781 C 3.425781 18.804688 3.441406 18.625 3.492188 18.476562 C 3.746094 17.71875 4.003906 16.960938 4.234375 16.199219 C 4.308594 15.949219 4.421875 15.867188 4.683594 15.871094 C 6.191406 15.886719 7.695312 15.886719 9.203125 15.867188 C 9.476562 15.867188 9.566406 15.964844 9.636719 16.203125 C 9.863281 16.957031 10.117188 17.699219 10.339844 18.449219 C 10.417969 18.710938 10.539062 18.808594 10.820312 18.800781 C 11.640625 18.78125 12.457031 18.769531 13.277344 18.804688 C 13.691406 18.820312 13.707031 18.699219 13.585938 18.351562 Z M 13.585938 18.351562 , M 20.929688 15.570312 C 20.730469 16.21875 20.210938 16.621094 19.546875 16.660156 C 19.335938 16.675781 19.363281 16.550781 19.363281 16.421875 C 19.363281 15.28125 19.363281 14.136719 19.363281 12.988281 C 20.746094 13.339844 21.316406 14.289062 20.929688 15.570312 Z M 21.652344 11.15625 C 20.996094 10.839844 20.320312 10.570312 19.632812 10.328125 C 19.476562 10.273438 19.355469 10.234375 19.355469 10.019531 C 19.367188 8.886719 19.359375 7.753906 19.359375 6.621094 C 20.226562 6.707031 20.65625 7.066406 20.824219 7.828125 C 20.859375 7.996094 20.90625 8.167969 20.90625 8.335938 C 20.90625 8.554688 20.984375 8.636719 21.207031 8.632812 C 21.882812 8.621094 22.558594 8.625 23.230469 8.628906 C 23.445312 8.632812 23.515625 8.59375 23.503906 8.339844 C 23.425781 6.332031 22.175781 4.902344 20.148438 4.527344 C 19.359375 4.382812 19.335938 4.378906 19.371094 3.550781 C 19.386719 3.167969 19.253906 3.09375 18.914062 3.128906 C 18.640625 3.152344 18.363281 3.039062 18.394531 3.535156 C 18.449219 4.40625 18.40625 4.410156 17.546875 4.515625 C 15.9375 4.710938 14.613281 5.960938 14.320312 7.683594 C 14.027344 9.398438 14.511719 10.917969 16.152344 11.804688 C 16.769531 12.136719 17.433594 12.359375 18.113281 12.527344 C 18.339844 12.582031 18.425781 12.679688 18.421875 12.9375 C 18.402344 14.082031 18.40625 15.234375 18.421875 16.378906 C 18.421875 16.628906 18.371094 16.722656 18.109375 16.644531 C 17.425781 16.4375 16.890625 16.089844 16.765625 15.3125 C 16.722656 15.03125 16.632812 14.753906 16.613281 14.472656 C 16.597656 14.273438 16.523438 14.242188 16.347656 14.242188 C 15.617188 14.25 14.886719 14.25 14.152344 14.246094 C 14.03125 14.246094 13.957031 14.25 13.929688 14.417969 C 13.675781 16.035156 14.785156 17.890625 16.359375 18.460938 C 16.957031 18.675781 17.574219 18.792969 18.195312 18.875 C 18.386719 18.902344 18.421875 18.96875 18.417969 19.140625 C 18.40625 19.613281 18.410156 20.089844 18.417969 20.5625 C 18.421875 20.660156 18.363281 20.78125 18.542969 20.828125 C 19.128906 20.976562 19.363281 20.808594 19.363281 20.214844 C 19.363281 19.96875 19.363281 19.726562 19.363281 19.484375 C 19.363281 18.886719 19.367188 18.90625 19.957031 18.804688 C 21.707031 18.511719 23.414062 17.566406 23.703125 15.320312 C 23.941406 13.523438 23.457031 12.023438 21.652344 11.15625 Z M 18.398438 9.921875 C 17.292969 9.667969 16.703125 9.003906 16.78125 8.085938 C 16.839844 7.390625 17.167969 6.636719 18.398438 6.632812 C 18.398438 7.726562 18.398438 8.824219 18.398438 9.921875 Z M 18.398438 9.921875 "],mdiInr:"M 16.25 4.53125 C 16.164062 4.445312 16.054688 4.402344 15.921875 4.402344 L 13.496094 4.402344 C 13.332031 3.617188 13.03125 2.9375 12.585938 2.359375 L 15.894531 2.359375 C 16.027344 2.359375 16.136719 2.316406 16.222656 2.230469 C 16.304688 2.144531 16.347656 2.035156 16.347656 1.902344 L 16.347656 0.453125 C 16.347656 0.320312 16.304688 0.214844 16.222656 0.128906 C 16.136719 0.0429688 16.027344 0 15.894531 0 L 4.078125 0 C 3.945312 0 3.835938 0.0429688 3.75 0.128906 C 3.664062 0.214844 3.621094 0.320312 3.621094 0.453125 L 3.621094 2.34375 C 3.621094 2.464844 3.667969 2.574219 3.757812 2.664062 C 3.847656 2.753906 3.953125 2.796875 4.078125 2.796875 L 6.136719 2.796875 C 8.132812 2.796875 9.402344 3.332031 9.941406 4.402344 L 4.078125 4.402344 C 3.945312 4.402344 3.835938 4.445312 3.75 4.53125 C 3.664062 4.617188 3.621094 4.726562 3.621094 4.859375 L 3.621094 6.304688 C 3.621094 6.4375 3.664062 6.546875 3.75 6.632812 C 3.835938 6.71875 3.945312 6.761719 4.078125 6.761719 L 10.140625 6.761719 C 9.933594 7.539062 9.449219 8.128906 8.6875 8.535156 C 7.921875 8.945312 6.917969 9.148438 5.667969 9.148438 L 4.078125 9.148438 C 3.953125 9.148438 3.847656 9.191406 3.757812 9.28125 C 3.667969 9.371094 3.621094 9.480469 3.621094 9.601562 L 3.621094 11.40625 C 3.621094 11.53125 3.664062 11.632812 3.75 11.71875 C 5.566406 13.648438 7.925781 16.355469 10.824219 19.828125 C 10.910156 19.941406 11.027344 20 11.179688 20 L 13.949219 20 C 14.148438 20 14.285156 19.914062 14.359375 19.742188 C 14.457031 19.574219 14.4375 19.414062 14.304688 19.261719 C 11.539062 15.871094 9.367188 13.332031 7.785156 11.648438 C 9.394531 11.457031 10.699219 10.9375 11.703125 10.085938 C 12.707031 9.234375 13.320312 8.125 13.535156 6.761719 L 15.921875 6.761719 C 16.054688 6.761719 16.164062 6.71875 16.25 6.632812 C 16.335938 6.546875 16.378906 6.4375 16.378906 6.308594 L 16.378906 4.859375 C 16.378906 4.726562 16.335938 4.617188 16.25 4.53125 Z M 16.25 4.53125 ",mdiIdr:["M 7.605469 11.144531 C 8.871094 10.117188 9.683594 8.515625 9.683594 6.71875 C 9.683594 3.628906 7.273438 1.109375 4.308594 1.109375 L 0 1.117188 L 0 20.890625 L 1.777344 20.890625 L 1.777344 12.328125 L 5.199219 12.328125 C 7.179688 12.328125 8.792969 14.046875 8.792969 16.160156 L 8.792969 20.890625 L 10.570312 20.890625 L 10.570312 16.160156 C 10.570312 13.96875 9.363281 12.070312 7.605469 11.144531 Z M 1.777344 10.550781 L 1.777344 2.890625 L 4.3125 2.890625 C 6.292969 2.890625 7.90625 4.609375 7.90625 6.71875 C 7.90625 8.832031 6.292969 10.550781 4.3125 10.550781 Z M 1.777344 10.550781 ","M 16.71875 4.082031 C 15.375 4.082031 14.148438 4.585938 13.214844 5.414062 L 13.214844 4.222656 L 11.4375 4.222656 L 11.4375 20.890625 L 13.214844 20.890625 L 13.214844 15.171875 C 14.148438 16 15.375 16.503906 16.71875 16.503906 C 19.628906 16.503906 22 14.132812 22 11.222656 L 22 9.363281 C 22 6.449219 19.628906 4.082031 16.71875 4.082031 Z M 20.222656 11.222656 C 20.222656 13.152344 18.652344 14.726562 16.71875 14.726562 C 14.785156 14.726562 13.214844 13.152344 13.214844 11.222656 L 13.214844 9.363281 C 13.214844 7.429688 14.785156 5.859375 16.71875 5.859375 C 18.652344 5.859375 20.222656 7.429688 20.222656 9.363281 Z M 20.222656 11.222656 "],mdiNgn:["M 23.121094 13.273438 L 19.84375 13.273438 L 19.84375 10.121094 L 23.121094 10.121094 C 23.613281 10.121094 24.011719 9.722656 24.011719 9.230469 C 24.011719 8.738281 23.613281 8.339844 23.121094 8.339844 L 19.84375 8.339844 L 19.84375 3.96875 C 19.84375 3.328125 19.71875 2.859375 19.46875 2.574219 C 19.230469 2.304688 18.921875 2.175781 18.492188 2.175781 C 18.082031 2.175781 17.78125 2.304688 17.550781 2.574219 C 17.304688 2.859375 17.179688 3.328125 17.179688 3.96875 L 17.179688 8.339844 L 11.015625 8.339844 L 8.390625 4.371094 C 8.167969 4.015625 7.957031 3.6875 7.753906 3.367188 C 7.566406 3.082031 7.386719 2.847656 7.21875 2.671875 C 7.066406 2.519531 6.894531 2.398438 6.695312 2.308594 C 6.507812 2.222656 6.265625 2.179688 5.980469 2.179688 C 5.617188 2.179688 5.289062 2.277344 4.972656 2.480469 C 4.660156 2.683594 4.445312 2.933594 4.3125 3.246094 C 4.199219 3.542969 4.136719 3.996094 4.136719 4.582031 L 4.136719 8.339844 L 0.890625 8.339844 C 0.398438 8.339844 0 8.738281 0 9.230469 C 0 9.722656 0.398438 10.121094 0.890625 10.121094 L 4.136719 10.121094 L 4.136719 13.273438 L 0.890625 13.273438 C 0.398438 13.273438 0 13.671875 0 14.164062 C 0 14.65625 0.398438 15.054688 0.890625 15.054688 L 4.136719 15.054688 L 4.136719 20.046875 C 4.136719 20.664062 4.265625 21.128906 4.523438 21.421875 C 4.769531 21.703125 5.082031 21.835938 5.503906 21.835938 C 5.910156 21.835938 6.21875 21.703125 6.472656 21.421875 C 6.734375 21.132812 6.867188 20.671875 6.867188 20.046875 L 6.867188 15.054688 L 12.445312 15.054688 L 15.464844 19.683594 C 15.675781 19.992188 15.894531 20.300781 16.109375 20.601562 C 16.304688 20.875 16.515625 21.113281 16.742188 21.316406 C 16.945312 21.496094 17.160156 21.628906 17.386719 21.710938 C 17.617188 21.792969 17.890625 21.835938 18.191406 21.835938 C 19.007812 21.835938 19.84375 21.585938 19.84375 19.730469 L 19.84375 15.054688 L 23.121094 15.054688 C 23.613281 15.054688 24.011719 14.65625 24.011719 14.164062 C 24.011719 13.671875 23.613281 13.273438 23.121094 13.273438 Z M 17.179688 10.121094 L 17.179688 13.273438 L 14.273438 13.273438 L 12.191406 10.121094 Z M 6.867188 6.5 L 8.066406 8.339844 L 6.867188 8.339844 Z M 6.867188 13.273438 L 6.867188 10.121094 L 9.230469 10.121094 L 11.285156 13.273438 Z M 17.179688 17.667969 L 15.453125 15.054688 L 17.179688 15.054688 Z M 17.179688 17.667969 "],mdiGel:["M10.71 2.352l-.757.761.008.926.008.922-.23.078A8.672 8.672 0 007.116 6.48a9.562 9.562 0 00-1.113 1.043c-.387.442-.824 1.051-1.05 1.461-.243.434-.345.63-.415.801l-.172.418c-.164.395-.297.863-.449 1.555-.16.746-.207 1.785-.117 2.66a8.958 8.958 0 001.867 4.625 9.57 9.57 0 001.766 1.695l.199.14H5.219l-.739.75-.742.75H18.43l.73-.741.727-.746-3.961-.012c-2.89-.012-4.016-.02-4.172-.04-.23-.026-.8-.14-1.133-.222-.863-.222-1.953-.8-2.703-1.433a7.444 7.444 0 01-2.52-4.215 7.79 7.79 0 01.028-3.094c.078-.352.148-.594.344-1.129.16-.441.46-.988.832-1.531a6.22 6.22 0 01.875-1.027 6.956 6.956 0 012.222-1.5l.27-.122.011 3.473.008 3.473.742-.75.739-.75.008-2.922.003-2.922.184-.027c.371-.055 1.688-.032 1.922.035.035.011.039.21.043 3.672l.008 3.66.746-.738.742-.739V6.586l.047.012c.187.058.883.406 1.16.582a7.463 7.463 0 012.711 2.96c.48.962.738 1.95.781 2.997.008.175.024.336.028.347.007.016.27-.234.699-.668l.687-.695-.027-.176a9.678 9.678 0 00-.477-1.715 8.9 8.9 0 00-2.949-3.906 8.742 8.742 0 00-2.34-1.258l-.32-.113V3.281c0-.922-.008-1.676-.016-1.676-.007 0-.347.336-.75.747l-.734.742v1.55l-.078-.011c-.3-.04-.5-.051-1.02-.051-.515 0-.66.008-.98.05l-.067.009-.003-1.528-.008-1.527zm0 0"],mdiTiktok:['M21.1429 0H2.85714C1.28172 0 0 1.28172 0 2.85714V21.1429C0 22.7183 1.28172 24 2.85714 24H21.1429C22.7183 24 24 22.7183 24 21.1429V2.85714C24 1.28172 22.7183 0 21.1429 0ZM18.8605 10.4703C18.7309 10.4823 18.5995 10.4903 18.4664 10.4903C16.9674 10.4903 15.6503 9.71943 14.884 8.55429C14.884 11.6109 14.884 15.0886 14.884 15.1469C14.884 17.8377 12.7023 20.0195 10.0114 20.0195C7.32058 20.0195 5.13886 17.8377 5.13886 15.1469C5.13886 12.456 7.32058 10.2743 10.0114 10.2743C10.1131 10.2743 10.2126 10.2834 10.3126 10.2897V12.6909C10.2126 12.6788 10.1143 12.6605 10.0114 12.6605C8.63772 12.6605 7.52457 13.7738 7.52457 15.1474C7.52457 16.5212 8.63772 17.6343 10.0114 17.6343C11.3851 17.6343 12.5983 16.5519 12.5983 15.1783C12.5983 15.124 12.6223 3.98172 12.6223 3.98172H14.9171C15.1331 6.03372 16.7897 7.65315 18.8605 7.80172V10.4703Z"']},p={functional:!0,name:"icon",props:{icon:Array,size:String,fillRule:{type:String,default:"nonzero"},strokeWidth:{type:String,default:"0"},title:String},render:function(t,e){var i=f()(e,"props.icon.1"),n=l()(m[u()(i)])?m[u()(i)]:[m[u()(i)]],s=[];return r()(n,function(i){s.push(t("path",{attrs:{d:i,"stroke-width":e.props.strokeWidth,"fill-rule":e.props.fillRule}}))}),t("svg",{class:["mdi-icon",e.props.size],attrs:{viewBox:"0 0 24 24"}},[t("title",e.props.title||e.props.icon[1])].concat(s))}},g=p,b=(i("83b4"),i("2877")),v=Object(b["a"])(g,n,s,!1,null,null,null);e["a"]=v.exports},cfe3:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-player video-custom-player",class:{"video-custom-player_rounded":t.rounded},attrs:{tabindex:"0"},on:{keydown:[function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;t.isPause=!t.isPause,t.showControllers()},function(e){if(!e.type.indexOf("key")&&77!==e.keyCode)return null;t.isMuted=!t.isMuted,t.showControllers()}]}},[t.isLoading?i("div",{staticClass:"video-player__loading"}):t._e(),t.isStub||"coub"===t.video.provider?i("div",{staticClass:"video-player__stub"}):i(t.player,{tag:"component",attrs:{link:t.video.link,videoId:t.video.id,muted:t.isMuted,loop:t.loop,controls:!1,autoplay:t.autoplay,paused:t.isPause,progress:""},on:{"update:muted":function(e){t.isMuted=e},loaded:t.loaded,ended:t.ended,paused:function(e){return t.$emit("paused",e)},timeChanged:function(e){t.currentTime=e}}}),t.controllers?i("div",{staticClass:"video-custom-player__controllers custom-controllers",class:{"custom-controllers_hidden":!t.controllersVisible&&!t.controllersHovered},on:{click:function(e){e.stopPropagation(),t.isPause=!t.isPause},mousemove:t.showControllers}},[i("div",{staticClass:"custom-controllers__buttons"},[t.isEnd?t._e():[i("div",{staticClass:"custom-controllers__button",on:{click:function(e){e.stopPropagation(),t.isPause=!t.isPause},mousemove:function(e){t.controllersHovered=!0},mouseleave:function(e){t.controllersHovered=!1}}},[t.isPause?i("b-icon",{attrs:{icon:"play"}}):i("b-icon",{attrs:{icon:"pause"}})],1),i("div",{staticClass:"custom-controllers__button",on:{click:function(e){e.stopPropagation(),t.isMuted=!t.isMuted},mousemove:function(e){t.controllersHovered=!0},mouseleave:function(e){t.controllersHovered=!1}}},[t.isMuted?i("b-icon",{attrs:{icon:"volume-off"}}):i("b-icon",{attrs:{icon:"volume-high"}})],1)],t.isEnd&&!t.loop?i("div",{staticClass:"custom-controllers__button",on:{click:function(e){return e.stopPropagation(),t.play(e)},mousemove:function(e){t.controllersHovered=!0},mouseleave:function(e){t.controllersHovered=!1}}},[i("b-icon",{attrs:{icon:"replay"}})],1):t._e()],2),t.duration?i("div",{ref:"progress",staticClass:"custom-controllers__progress-bar",style:{"--progress":t.progress+"%"},on:{click:function(e){return e.stopPropagation(),t.setNewTime(e)},mousemove:function(e){t.controllersHovered=!0},mouseleave:function(e){t.controllersHovered=!1}}}):t._e()]):t._e()],1)},s=[],a=i("b4b0"),r=i.n(a),o=i("501e"),u=i.n(o),c=i("b69c"),l=i.n(c),d=i("2768"),f=i.n(d),h=i("cdae"),m=i("270a"),p={extends:m["a"],components:{Icon:h["a"]},props:{rounded:Boolean,controllers:{type:Boolean,default:!0}},data:function(){return{isEnd:!1,isMuted:this.muted,duration:null,currentTime:0,controllersHovered:!1,controllersVisible:!1}},computed:{progress:function(){return!f()(this.duration)&&f()(this.currentTime)?0:this.isEnd?100:l()(100*this.currentTime/this.duration*10)/10}},methods:{loaded:function(t){var e=t.duration;this.isLoading=!1,u()(e)&&(this.duration=r()(e)),this.showControllers()},ended:function(){this.isPause=!1,this.isEnd=!0},setNewTime:function(t){if(this.$refs.progress){var e=this.$refs.progress.offsetWidth;this.$emit("seekTo",l()(t.offsetX/e*this.duration))}},showControllers:function(){var t=this;this.controllersVisible||(this.controllersVisible=!0,setTimeout(function(){t.controllersVisible=!1},4e3))}}},g=p,b=(i("43ac"),i("2877")),v=Object(b["a"])(g,n,s,!1,null,null,null);e["a"]=v.exports},d2fa:function(t,e,i){"use strict";var n=i("daad"),s=i.n(n);s.a},d46a:function(t,e,i){t.exports=i.p+"img/cookie.a0fb1afb.png"},d66b:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-with-loader",class:[{"image-with-loader_loading":!t.imageLoaded}]},[i("img",{attrs:{src:t.src},on:{load:function(e){t.imageLoaded=!0}}})])},s=[],a={props:{src:String},data:function(){return{imageLoaded:!1}}},r=a,o=(i("a853"),i("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);e["a"]=u.exports},d74e:function(t,e,i){},d847:function(t,e,i){"use strict";var n=i("71ac"),s=i.n(n);s.a},daad:function(t,e,i){},db95:function(t,e,i){},de74:function(t,e,i){"use strict";var n=i("31f0"),s=i.n(n);s.a},dfbf:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bonuses",class:["bonuses_direction_"+t.direction,"bonuses_count_"+t.bonuses.length],style:{"--bonus-height":t.height+"px"}},t._l(t.bonuses,function(e,n){return i("Bonus",{key:"bonus_"+n,staticClass:"bonuses__bonus",class:{bonus_indent:n>0},attrs:{bonus:e,isLocked:t.isLock(e)}})}),1)},s=[],a=i("cebc"),r=(i("c5f6"),i("2f62")),o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"bonus",class:t.bonusClasses,attrs:{dir:"ltr"}},[i("div",{staticClass:"bonus__wrapper",style:{backgroundImage:"url("+t.imageUrl+")"},on:{click:t.download}},[i("div",{staticClass:"bonus__layer"}),t.text.length>0?i("span",{staticClass:"bonus__text"},[t._v(t._s(t.text))]):t._e(),"emoji"===t.type?i("ImageWithLoader",{staticClass:"bonus__emoji",attrs:{src:t.getEmojiLink()}}):t._e()],1),!t.isLocked&&t.bonus.link?[i("div",{staticClass:"bonus__unlock"},[i("DownArrowIcon")],1)]:t._e(),t.isLocked?[i("div",{staticClass:"bonus__lock-icon"},[i("LockIcon")],1),i("div",{staticClass:"bonus__lock"})]:t._e()],2)},u=[],c=(i("b54a"),i("7f7f"),i("8a30")),l=i.n(c),d=i("9b02"),f=i.n(d),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("svg",{attrs:{viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M2.99997 4.53334C3.14142 4.53334 3.27708 4.47715 3.37709 4.37713C3.47711 4.27711 3.5333 4.14145 3.5333 4C3.5333 3.704 3.2933 3.46667 2.99997 3.46667C2.85852 3.46667 2.72287 3.52286 2.62285 3.62288C2.52283 3.7229 2.46664 3.85855 2.46664 4C2.46664 4.14145 2.52283 4.27711 2.62285 4.37713C2.72287 4.47715 2.85852 4.53334 2.99997 4.53334ZM4.59997 2.13334C4.74142 2.13334 4.87708 2.18953 4.97709 2.28955C5.07711 2.38957 5.1333 2.52522 5.1333 2.66667V5.33334C5.1333 5.47479 5.07711 5.61044 4.97709 5.71046C4.87708 5.81048 4.74142 5.86667 4.59997 5.86667H1.39997C1.25852 5.86667 1.12287 5.81048 1.02285 5.71046C0.922828 5.61044 0.866638 5.47479 0.866638 5.33334V2.66667C0.866638 2.37067 1.10664 2.13334 1.39997 2.13334H1.66664V1.6C1.66664 1.24638 1.80711 0.907243 2.05716 0.657194C2.30721 0.407146 2.64635 0.26667 2.99997 0.26667C3.17507 0.26667 3.34845 0.301158 3.51022 0.368164C3.67198 0.43517 3.81897 0.533383 3.94278 0.657194C4.06659 0.781006 4.1648 0.927991 4.23181 1.08976C4.29882 1.25153 4.3333 1.42491 4.3333 1.6V2.13334H4.59997ZM2.99997 0.800004C2.7878 0.800004 2.58431 0.884289 2.43429 1.03432C2.28426 1.18435 2.19997 1.38783 2.19997 1.6V2.13334H3.79997V1.6C3.79997 1.38783 3.71569 1.18435 3.56566 1.03432C3.41563 0.884289 3.21214 0.800004 2.99997 0.800004Z"}})])},m=[],p=i("2877"),g={},b=Object(p["a"])(g,h,m,!1,null,null,null),v=b.exports,_=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("svg",{staticStyle:{"enable-background":"new 0 0 512.171 512.171"},attrs:{x:"0px",y:"0px",viewBox:"0 0 512.171 512.171","xml:space":"preserve"}},[i("g",[i("g",[i("path",{attrs:{d:"M479.046,283.925c-1.664-3.989-5.547-6.592-9.856-6.592H352.305V10.667C352.305,4.779,347.526,0,341.638,0H170.971\n c-5.888,0-10.667,4.779-10.667,10.667v266.667H42.971c-4.309,0-8.192,2.603-9.856,6.571c-1.643,3.989-0.747,8.576,2.304,11.627\n l212.8,213.504c2.005,2.005,4.715,3.136,7.552,3.136s5.547-1.131,7.552-3.115l213.419-213.504\n C479.793,292.501,480.71,287.915,479.046,283.925z"}})])])])},y=[],w=(i("5f33"),{}),C=Object(p["a"])(w,_,y,!1,null,"0833fa94",null),k=C.exports,P=i("d66b"),q=i("b9e3"),x=i.n(q),E=i("2ada"),L=i.n(E),z=i("6f9b"),T=i.n(z),A=i("0ab0"),S=i.n(A),I={components:{DownArrowIcon:k,LockIcon:v,ImageWithLoader:P["a"]},props:{bonus:Object,isLocked:{type:Boolean,default:!0},expanded:{type:Boolean,default:!1},unexpanded:{type:Boolean,default:!1},single:{type:Boolean,default:!1}},data:function(){return{staticPath:Object({VUE_APP_GOOGLE_CLIENT_ID:"326829450971-nfsjk6nv3ggdev3rteg09eooj2i82uku.apps.googleusercontent.com",VUE_APP_VK_APP_ID:"51524222",VUE_APP_INTEGRATION_ORIGINS:"https://mrqz.me&https://mrqz.to",VUE_APP_TELEGRAM_BOT_ID_IO:"MrqzToBot",VUE_APP_TELEGRAM_BOT_ID_RU:"MrqzMeBot",VUE_APP_LAMBDA_SEARCH_ADDRESS:"https://gs96tqye41.execute-api.eu-west-1.amazonaws.com/default/searchAddress",VUE_APP_API_URL_US:"https://marquiz-backend-us.herokuapp.com",VUE_APP_YANDEX_CLIENT_ID:"998336b056d34cf0954749ecb99d3aa6",VUE_APP_PRIVATE_FILE_UPLOAD_URL:"https://marquiz-private-file-upload-2.herokuapp.com",VUE_APP_API_URL:"https://marquiz-backend.herokuapp.com",VUE_APP_MARQUIZ_ANALYTICS_URL:"https://analytics.marquiz.ru",NODE_ENV:"production",BASE_URL:""}).VUE_APP_STATIC_URL||"https://static.marquiz.ru"}},computed:{bonusClasses:function(){return["bonus_type_".concat(this.type),{bonus_expanded:this.expanded||this.single,bonus_unexpanded:this.unexpanded&&!this.single,bonus_single:this.single,bonus_locked:this.isLocked,bonus_unlocked:!this.isLocked}]},images:function(){return{catalog:"ru"===this.$store.getters.baseLang?x.a:T.a,price:"ru"===this.$store.getters.baseLang?L.a:S.a}},type:function(){var t=f()(this.bonus,"image.id"),e=["price","catalog","emoji","icon"];return l()(e,t)?t:"custom"},text:function(){return this.bonus.name?this.bonus.name:"catalog"===this.type?this.$t("Catalog"):"price"===this.type?this.$t("Price list"):""},imageUrl:function(){if("custom"===this.type||"icon"===this.type){var t=f()(this.bonus,"image",{});return this.$image.url(t,{width:"icon"===this.type?70:250})}return this.images[this.type]}},methods:{download:function(){this.isLocked||this.bonus.link&&this.$redirect(this.bonus.link,{},!1,!0)},getEmojiLink:function(){var t=f()(this.bonus,"image.unified","1f381");return"".concat(this.staticPath,"/images/emoji/").concat(t,".png")}}},M=I,O=(i("5967"),Object(p["a"])(M,o,u,!1,null,null,null)),V=O.exports,$={components:{Bonus:V},props:{direction:{type:String,default:"column"},height:{type:Number,default:64}},computed:Object(a["a"])({},Object(r["d"])("quiz",["page"]),Object(r["d"])("quiz/form",["currentStep"]),Object(r["c"])("quiz",["bonuses","resultsPosition"])),methods:{isLock:function(t){return(this.page!==this.$const.page.RESULT||"afterForm"!==this.resultsPosition)&&(this.page!==this.$const.page.THANKS&&!(this.page===this.$const.page.LEADFORM&&this.currentStep>1&&"second"===t.step))}}},R=$,D=(i("6629"),Object(p["a"])(R,n,s,!1,null,null,null));e["a"]=D.exports},e1d3:function(t,e,i){"use strict";var n=i("b9a3"),s=i.n(n);s.a},e24e:function(t,e,i){"use strict";var n=i("aeca"),s=i.n(n);s.a},e28c:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",{staticClass:"svg-icon"},["upload"===t.name?i("svg",{staticClass:"svg-icon_upload",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35.629",height:"35.629",viewBox:"0 0 35.629 35.629"}},[i("g",{attrs:{id:"upload",transform:"translate(1.5 1.5)"}},[i("path",{attrs:{id:"Path_251",d:"M35.629 15v7.251A3.625 3.625 0 0 1 32 25.876H6.625A3.625 3.625 0 0 1 3 22.251V15","data-name":"Path 251",transform:"translate(-3 6.753)"}}),i("path",{attrs:{id:"Path_252",d:"M25.127 12.064L16.064 3 7 12.064","data-name":"Path 252",transform:"translate(.251 -3)"}}),i("path",{attrs:{id:"Line_86",d:"M0 0v21.753","data-name":"Line 86",transform:"translate(16.315)"}})])]):t._e(),"loading"===t.name?i("svg",{staticClass:"svg-icon_loading",attrs:{version:"1.1",id:"L5",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"}},[i("circle",{attrs:{fill:t.color,stroke:"none",cx:"6",cy:"50",r:"6"}},[i("animateTransform",{attrs:{attributeName:"transform",dur:"1s",type:"translate",values:"0 15 ; 0 -15; 0 15",repeatCount:"indefinite",begin:"0.1"}})],1),i("circle",{attrs:{fill:t.color,stroke:"none",cx:"30",cy:"50",r:"6"}},[i("animateTransform",{attrs:{attributeName:"transform",dur:"1s",type:"translate",values:"0 10 ; 0 -10; 0 10",repeatCount:"indefinite",begin:"0.2"}})],1),i("circle",{attrs:{fill:t.color,stroke:"none",cx:"54",cy:"50",r:"6"}},[i("animateTransform",{attrs:{attributeName:"transform",dur:"1s",type:"translate",values:"0 5 ; 0 -5; 0 5",repeatCount:"indefinite",begin:"0.3"}})],1)]):t._e()])},s=[],a={props:{color:String,name:{type:String,required:!0}}},r=a,o=(i("f1ad"),i("2877")),u=Object(o["a"])(r,n,s,!1,null,null,null);e["a"]=u.exports},e487:function(t,e,i){"use strict";var n=i("19a6"),s=i.n(n);s.a},e745:function(t,e,i){"use strict";i("6b54"),i("a481"),i("4917");var n=i("9b02"),s=i.n(n);e["a"]={getUserTimezone:function(){var t=(new Date).getTimezoneOffset()/60;return 0===t?0:t<0?Math.abs(t):-1*t},getFormattedDate:function(t,e){return t.isRange?t.hasTime?this._getRangeDateWithTime(e):this._getRangeDate(e):t.hasTime?this._getDateWithTime(e):this.getLocaleFormattedDate(e,this.localeDateString())},getPartsDate:function(t,e){var i=e||"dd.mm.yyyy",n=t.match(/(\d+)/g),s=0,a={};return i.replace(/(yyyy|dd|mm)/g,function(t){a[t]=s,s+=1}),null!==n?{year:n[a.yyyy],month:n[a.mm],day:n[a.dd]}:null},getDateObjectByParts:function(t){var e="yyyy-mm-ddT00:00:00";return e=e.replace("yyyy",t.year),e=e.replace("mm",t.month),e=e.replace("dd",t.day),new Date(e)},getLocaleFormattedDate:function(t,e){var i=e,n=new Date(t).getDate();n=n.toString().length>1?n:"0".concat(n.toString()),i=i.replace("dd",n);var s=new Date(t).getMonth()+1;s=s.toString().length>1?s:"0".concat(s.toString()),i=i.replace("mm",s);var a=new Date(t).getFullYear();return i=i.replace("yyyy",a),i},localeDateString:function(){var t=window.navigator?window.navigator.language||window.navigator.systemLanguage||window.navigator.userLanguage:null;return t=void 0!==t&&null!==t?t.substring(0,2):"ru",this._locales[t]||"dd.mm.yyyy"},_getRangeDateWithTime:function(t){var e=s()(t,"from",!1)?this.getLocaleFormattedDate(t.from,this.localeDateString()):"",i=s()(t,"to",!1)?this.getLocaleFormattedDate(t.to,this.localeDateString()):"",n=this._getTimeFrom(t),a=this._getTimeTo(t);return"".concat(e," ").concat(n," - ").concat(i," ").concat(a)},_getRangeDate:function(t){var e=s()(t,"from",!1)?this.getLocaleFormattedDate(t.from,this.localeDateString()):"",i=s()(t,"to",!1)?this.getLocaleFormattedDate(t.to,this.localeDateString()):"";return"".concat(e," - ").concat(i)},_getTimeFrom:function(t){if(null!==s()(t,"timeFrom",null)){var e="0".concat(t.timeFrom.getHours()).slice(-2),i="0".concat(t.timeFrom.getMinutes()).slice(-2);return"".concat(e,":").concat(i)}return""},_getTimeTo:function(t){if(null!==s()(t,"timeTo",null)){var e="0".concat(t.timeTo.getHours()).slice(-2),i="0".concat(t.timeTo.getMinutes()).slice(-2);return"".concat(e,":").concat(i)}return""},_getDateWithTime:function(t){var e=s()(t,"time",!1)?"0".concat(t.time.getHours()).slice(-2):"",i=s()(t,"time",!1)?"0".concat(t.time.getMinutes()).slice(-2):"",n="".concat(e,":").concat(i),a=s()(t,"date",!1)?this.getLocaleFormattedDate(t.date,this.localeDateString()):"";return"".concat(a," ").concat(n)},_locales:{en:"mm/dd/yyyy",fr:"dd/mm/yyyy",it:"dd/mm/yyyy",ja:"yyyy/mm/dd",ru:"dd.mm.yyyy",uk:"dd.mm.yyyy",be:"dd.mm.yyyy",hy:"dd.mm.yyyy",zh:"yyyy/mm/dd",de:"dd.mm.yyyy",es:"dd/mm/yyyy",kk:"dd.mm.yyyy"}}},e9ba:function(t,e,i){},ed20:function(t,e,i){},f1ad:function(t,e,i){"use strict";var n=i("2c90"),s=i.n(n);s.a},f358:function(t,e,i){"use strict";var n=i("610c"),s=i.n(n);s.a},f760:function(t,e,i){"use strict";var n=i("5a85"),s=i.n(n);s.a},fb21:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"price-label"},[t.oldPrice?i("div",{staticClass:"price-label__old"},[t._v(t._s(t.getPriceLabel(t.oldPrice)))]):t._e(),i("div",{staticClass:"price-label__container"},[t.hasTotalPrice?[i("div",{staticClass:"price-label__number"},[t._v(t._s(t.getPriceLabel(t.totalPrice)))]),t.oldPrice?i("DiscountLabel",{staticClass:"price-label__discount"},[[t._v("-"+t._s(t.$format.as("percent"===t.totalDiscount.type?"percent":"currency",t.totalDiscount.value)))]],2):t._e()]:[i("div",{staticClass:"price-label__number"},[t._v(t._s(t.$t("Free")))])]],2)])},s=[],a=i("cebc"),r=i("8a30"),o=i.n(r),u=i("9b02"),c=i.n(u),l=i("2f62"),d=i("2b3b"),f=i("cdae"),h={components:{DiscountLabel:d["a"],icon:f["a"]},props:{result:Object},computed:Object(a["a"])({},Object(l["c"])("quiz",["resultDiscount","resultAmount"]),{costs:function(){return{cost:c()(this.result,"cost",null),minCost:c()(this.result,"minCost",null),maxCost:c()(this.result,"maxCost",null)}},oldPrice:function(){return this.totalDiscount?this.costs:null},costType:function(){return c()(this.result,"costType","exact")},totalDiscount:function(){return this.resultDiscount(this.result)},totalPrice:function(){return this.resultAmount(this.result)},hasTotalPrice:function(){var t=this.totalPrice,e=t.cost,i=t.maxCost,n=t.minCost;return"range"===this.costType?n>0||i>0:e>0}}),methods:{getPriceLabel:function(t){var e=t.cost,i=t.minCost,n=t.maxCost;if(e&&(e=this.$format.currency(e)),i<0&&(i=0),n<0&&(n=0),e){if(o()(["exact","formula"],this.costType))return e;if("up"===this.costType)return this.$t("up to {count}",{count:e});if("from"===this.costType)return this.$t("from {count}",{count:e})}if("range"===this.costType){if(i&&(i=this.$format.currency(i)),n&&(n=this.$format.currency(n)),i&&n)return this.$t("from {min} to {max}",{min:i,max:n});if(i)return this.$t("from {count}",{count:i});if(n)return this.$t("up to {count}",{count:n})}}}},m=h,p=(i("e1d3"),i("2877")),g=Object(p["a"])(m,n,s,!1,null,null,null);e["a"]=g.exports}});