(window.webpackJsonpPop=window.webpackJsonpPop||[]).push([["chunk-e740d896"],{"0f77":function(t,e,i){"use strict";var a={props:["widgetData","prizeForWinner"],name:"TextReward",computed:{rewardtextStyle(){return{fontSize:"1.5rem",color:this.widgetData.popup.text_color_1+"!important"}},rewardvalueStyle(){const t={fontSize:"1.875rem",color:this.widgetData.popup.reward_value_color+"!important",filter:"drop-shadow(0.04em 0.075em 0.1em "+this.widgetData.popup.text_color_2+")!important"};return 2===this.widgetData.config.game_id?t.marginBottom="2rem":t.flexGrow="1",t},rewarddescriptionStyle(){return{color:this.widgetData.popup.text_color_3+"!important"}}}},o=i("2877"),s=Object(o.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"center pcwtitle mt-0",style:t.rewardtextStyle,attrs:{rewardtext:""},on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Selecionou texto do prêmio]")}}},[t._v("\n "+t._s(6!==t.widgetData.config.game_id?t.widgetData.popup.reward_text:"")+"\n "),i("br"),i("span",{staticClass:"reward text-center",style:t.rewardvalueStyle,attrs:{rewardvalue:""}},[t._v(t._s(t.prizeForWinner.data.text))]),i("div",{staticClass:"text-center",style:t.rewarddescriptionStyle,attrs:{rewarddescription:""}},[t._v("\n "+t._s(t.prizeForWinner.data.description)+"\n ")])])}),[],!1,null,null,null);e.a=s.exports},a0c3:function(t,e,i){var a=i("a711");a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i("499e").default)("009e2e6d",a,!0,{sourceMap:!1,shadowMode:!1})},a711:function(t,e,i){(t.exports=i("2350")(!1)).push([t.i,'#pcw-app.pcw-widgets button#slot-trigger{border-radius:100%!important;width:113px;height:113px;overflow-wrap:break-word;font-size:14px!important;-webkit-box-shadow:0 3px 0 #b70900;box-shadow:0 3px 2px 1px rgba(122,17,8,.8);padding:5px;text-transform:uppercase}#pcw-app.pcw-widgets .button-frame{background:#c00;border-radius:50%;-webkit-box-shadow:0 0 .25em rgba(0,0,0,.9),inset 0 .25em .125em hsla(0,0%,100%,.3),inset 0 -.25em .125em rgba(0,0,0,.3);box-shadow:0 0 .25em rgba(0,0,0,.9),inset 0 .25em .125em hsla(0,0%,100%,.3),inset 0 -.25em .125em rgba(0,0,0,.3);display:block;height:6.8em;margin:-3.4em auto 0;padding:.55em;position:relative;top:50%;width:6.8em;z-index:20}#pcw-app.pcw-widgets .plastic{background:b01e1e;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-weight:900;overflow:hidden;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word}#pcw-app.pcw-widgets #play-btn{overflow:visible;height:110px;padding:0!important}#pcw-app.pcw-widgets .isSideGame.test #play-btn{position:absolute;left:auto;right:8vw;max-width:39%;overflow:visible;bottom:8vw;height:110px;padding:0}#pcw-app.pcw-widgets .the-button{border-radius:50%;-webkit-box-shadow:0 0 .5em #000,inset 0 .25em .3em hsla(0,0%,100%,.3),inset 0 -.25em .3em rgba(0,0,0,.5);box-shadow:0 0 .5em #000,inset 0 .25em .3em hsla(0,0%,100%,.3),inset 0 -.25em .3em rgba(0,0,0,.5);cursor:pointer;font:inherit;height:100%;padding:0;position:relative;width:100%}#pcw-app.pcw-widgets .the-button:before{background:transparent;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,.14)),color-stop(50%,hsla(0,0%,100%,0)),to(hsla(0,0%,100%,0)));background:linear-gradient(180deg,hsla(0,0%,100%,.14) 0,hsla(0,0%,100%,0) 50%,hsla(0,0%,100%,0));border-radius:50%;content:" ";height:80%;left:10%;position:absolute;top:10%;width:80%}#pcw-app.pcw-widgets .the-button:active{-webkit-box-shadow:0 0 .5em #000,inset 0 .1em .3em rgba(0,0,0,.5),inset 0 -.1em .3em rgba(0,0,0,.5);box-shadow:0 0 .5em #000,inset 0 .1em .3em rgba(0,0,0,.5),inset 0 -.1em .3em rgba(0,0,0,.5)}#pcw-app.pcw-widgets .the-button:active:before{top:11.5%}',""])},b4fc:function(t,e,i){"use strict";i("a0c3")},b89b:function(t,e,i){"use strict";var a=i("2877"),o=Object(a.a)({},(function(t,e){var i=e._c;return i("svg",{staticClass:"feather feather-x",style:{stroke:e.props.color+"!important"},attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",stroke:e.props.color+"!important","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[i("path",{attrs:{d:"M18 6L6 18M6 6l12 12"}})])}),[],!0,null,null,null);e.a=o.exports},cf98:function(t,e,i){(t.exports=i("2350")(!1)).push([t.i,"#pcw-app.pcw-widgets .widget_fullscreen.isSideGame.pcw-w[data-v-e9224ecc]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;padding:0;overflow:visible}#pcw-app.pcw-widgets .isSideGame .popup-height[data-v-e9224ecc]{padding-left:51vh!important;margin:0}#pcw-app.pcw-widgets .isSideGame .left-section[data-v-e9224ecc]{left:-43vh}#pcw-app.pcw-widgets .popup-height[data-v-e9224ecc]{height:100%;margin:auto;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}#pcw-app.pcw-widgets .isSideGame #popconvert-iframe-pcw-container[data-v-e9224ecc]{max-width:100vh;margin-left:0;min-width:50vw;padding:6px}#pcw-app.pcw-widgets .powered-by[data-v-e9224ecc]{height:1.7rem}#pcw-app.pcw-widgets .widget_fullscreen.pcw-w:not(.isSideGame) .popupContent[data-v-e9224ecc]{height:100%}#pcw-app.pcw-widgets .popupContent[data-v-e9224ecc]{position:relative;min-height:360px;margin:0;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}@media only screen and (max-width:480px){#pcw-app.pcw-widgets .popupContent[data-v-e9224ecc]{min-height:auto;overflow:auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:center!important;-ms-flex-pack:center!important;justify-content:center!important}#pcw-app.pcw-widgets .isSideGame.test .sidegameHelper[data-v-e9224ecc]{display:block}#pcw-app.pcw-widgets .isSideGame.test .isFlexMobile .btn-optin[data-v-e9224ecc]{border-radius:100%!important;font-size:0;height:55px;width:55px;padding:0}#pcw-app.pcw-widgets .isSideGame .popup-height[data-v-e9224ecc]{margin:auto;padding-bottom:0;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start;padding-left:18px!important;height:auto;min-height:calc(82vh - 1.7rem)!important}#pcw-app.pcw-widgets .isSideGame.test#popconvert-iframe-pcw-container[data-v-e9224ecc]{max-width:780px}#pcw-app.pcw-widgets .widget_fullscreen.pcw-w[data-v-e9224ecc]{-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:normal;padding:initial;overflow:hidden}#pcw-app.pcw-widgets .isSideGame.test .left-section[data-v-e9224ecc]{left:0}#pcw-app.pcw-widgets .close[data-v-e9224ecc]{-webkit-transform:translate(-12px,12px);transform:translate(-12px,12px)}#pcw-app.pcw-widgets .isSideGame.test .formContent[data-v-e9224ecc]{position:absolute;left:54%;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:45%;padding-right:12px;padding-bottom:12px;padding-top:45px}#pcw-app.pcw-widgets .isSideGame.test .btn[data-v-e9224ecc]{padding:7px 8px}#pcw-app.pcw-widgets .isSideGame.test .error[data-v-e9224ecc]{position:absolute;top:0;padding-left:20%;margin:0!important}#pcw-app.pcw-widgets .isSideGame.test .isFlexMobile[data-v-e9224ecc]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:space-evenly;-ms-flex-pack:space-evenly;justify-content:space-evenly}#pcw-app.pcw-widgets .isSideGame.test #fb-checkbox-place[data-v-e9224ecc]{margin-left:-44px!important}#pcw-app.pcw-widgets .isSideGame.test .error[data-v-e9224ecc]{font-size:11px;margin-bottom:8px}#pcw-app.pcw-widgets .isSideGame.test .codeText[data-v-e9224ecc]{line-height:32px;height:32px;font-size:.8em}#pcw-app.pcw-widgets .hasError.input[data-v-e9224ecc]{background:rgba(255,0,0,.12156862745098039)}#pcw-app.pcw-widgets .isSideGame.test .reward-wrapper[data-v-e9224ecc]{bottom:50vh;position:absolute}#pcw-app.pcw-widgets .isSideGame.test .isSide-text-right[data-v-e9224ecc]{text-align:right}#pcw-app.pcw-widgets .isSideGame.test .fixedHeightMobile[data-v-e9224ecc]{min-height:160px}#pcw-app.pcw-widgets .isSideGame:not(.test) .fixedHeightMobile[data-v-e9224ecc]{z-index:9999;overflow:auto}#pcw-app.pcw-widgets .isSideGame.test .input[data-v-e9224ecc]{width:133.333333333%;font-size:16px;-webkit-transform:scale(.75);transform:scale(.75);-webkit-transform-origin:left top;transform-origin:left top;margin-bottom:-10px;margin-right:-33.333333%}#pcw-app.pcw-widgets .close_circle[data-v-e9224ecc]{top:-10px;right:-10px}}@media only screen and (min-width:1000px){#pcw-app.pcw-widgets .isSideGame #popconvert-iframe-pcw-container[data-v-e9224ecc]{min-width:auto}}#pcw-app.pcw-widgets .hasBackground[data-v-e9224ecc]{max-width:100%;padding:8px 6px 4px 6px;border-radius:6px;max-height:70vh;overflow:auto;z-index:999}#pcw-app.pcw-widgets .formInner[data-v-e9224ecc]:not(.hasBackground){background-color:transparent!important}#pcw-app.pcw-widgets .pcw-mini-popup[data-v-e9224ecc]{height:80px;width:80px;position:absolute;top:auto;bottom:90px;left:8px;max-width:16vw;max-height:16vw;cursor:pointer}#pcw-app.pcw-widgets .pcw-mini-popup *[data-v-e9224ecc]{cursor:pointer}#pcw-app.pcw-widgets .formInner.hasBackground[data-v-e9224ecc]{max-height:17em;overflow:auto}#pcw-app.pcw-widgets .waiting-spin[data-v-e9224ecc]{-webkit-animation-name:waiting-spin-data-v-e9224ecc;-webkit-animation-duration:40s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:waiting-spin-data-v-e9224ecc;-moz-animation-duration:40s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:waiting-spin-data-v-e9224ecc;animation-duration:40s;animation-iteration-count:infinite;animation-timing-function:linear}@-webkit-keyframes waiting-spin-data-v-e9224ecc{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(-1turn)}}@keyframes waiting-spin-data-v-e9224ecc{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}#pcw-app.pcw-widgets .pcw-mini-popup[data-v-e9224ecc]:hover{-webkit-transform:scale(1.15);transform:scale(1.15);-webkit-transition-duration:.3s;transition-duration:.3s}#pcw-app.pcw-widgets .pcw-mini-popup[data-v-e9224ecc]{-webkit-transition-duration:.2s;transition-duration:.2s}#pcw-app.pcw-widgets .btn-loading span[data-v-e9224ecc]{display:none!important;font-size:0}#pcw-app.pcw-widgets #popup[data-v-e9224ecc]{height:100%;position:fixed;pointer-events:none;top:0;left:0;right:0;bottom:0}#pcw-app.pcw-widgets #popup #top-popup-text[data-v-e9224ecc]{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}#pcw-app.pcw-widgets #popup .center-game[data-v-e9224ecc]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}#pcw-app.pcw-widgets .warning[data-v-e9224ecc]{color:#856404;background-color:#fff3cd;border-color:#ffeeba;padding:1rem;margin:1rem;text-align:center}#pcw-app.pcw-widgets .hint[data-v-e9224ecc]{-webkit-animation:tada;animation:tada;-webkit-animation-duration:1s;animation-duration:1s}",""])},d7f1:function(t,e,i){"use strict";i("f294")},f294:function(t,e,i){var a=i("cf98");a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i("499e").default)("66126752",a,!0,{sourceMap:!1,shadowMode:!1})},f612:function(t,e,i){"use strict";var a=i("b89b"),o={props:{widgetData:Object,prizeForWinner:Object,copyCodeButtonIsVisible:{type:Boolean,default:!0}},components:{Closebtn:a.a},data:()=>({copyStatus:!1,closeStatus:!1}),methods:{copyText(){this.$root.$emit("trackHandler","Popup","clique[Copiou código]");const t=document.querySelector("#widgetRewardCode");t.setAttribute("type","text"),t.select(),document.execCommand("copy"),this.copyStatus=!0,this.closeStatus=!0,t.setAttribute("type","hidden"),window.getSelection().removeAllRanges()},closeToShowCouponBar(){this.$root.$emit("trackHandler","Popup","clique[Fechou Popup após ganhar prêmio]"),this.$root.$emit("hide-popup"),this.$root.$emit("checkTriggers","launchCouponBar")},launchExternalUrl(){window.open(this.widgetData.triggers.redirect_after_game_url,"_blank").focus()}}},s=i("2877"),r=Object(s.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"formContent",staticStyle:{"z-index":"999"}},[i("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animated flash4s","leave-active-class":"animated fadeOut"}},[i("div",{staticClass:"center reward-wrapper",staticStyle:{display:"flex","flex-direction":"column","max-width":"100%"}},[i("div",{staticClass:"btn-wide ma code flex max-h-full mb-2 text-base",staticStyle:{width:"fit-content","max-width":"100%"},style:{"border-radius":t.widgetData.popup.elements_border_radius+"px!important","border-color":t.widgetData.popup.theme_color+"!important",color:t.widgetData.popup.theme_color+"!important","background-color":t.widgetData.popup.theme_contrast+"!important"},on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Selecionou código]")}}},[i("textarea",{staticClass:"codeText",style:{"border-radius":t.widgetData.popup.elements_border_radius+"px+!important",overflow:"hidden"},attrs:{id:"widgetRewardCode",readonly:""}},[t._v(t._s(t.prizeForWinner.data.coupon))])])])]),i("div",{staticClass:"center text-center",staticStyle:{"margin-bottom":"30px"}},[t.closeStatus?[i("button",{staticClass:"pcwbtn w-auto text-sm sm:text-base",staticStyle:{background:"none"},style:{"border-radius":t.widgetData.popup.elements_border_radius+"px!important",color:t.widgetData.popup.text_color_2+"!important"},on:{click:t.closeToShowCouponBar}},[[t._v("\n OK\n "),i("closebtn",{staticStyle:{width:"1em",transform:"translateY(-2px)","margin-left":"0",overflow:"visible"},attrs:{color:t.widgetData.popup.text_color_2}})]],2)]:[t.widgetData.triggers.redirect_after_game?i("button",{staticClass:"pcwbtn w-auto text-sm sm:text-base",style:{"border-radius":t.widgetData.popup.elements_border_radius+"px+!important",background:t.widgetData.popup.theme_color+"!important",color:t.widgetData.popup.theme_contrast+"!important"},on:{click:t.launchExternalUrl}},[t._v("\n "+t._s(t.widgetData.popup.redirect_after_game_button)+"\n ")]):t.copyCodeButtonIsVisible?i("button",{staticClass:"pcwbtn w-auto text-sm sm:text-base",style:{"border-radius":t.widgetData.popup.elements_border_radius+"px!important",background:t.widgetData.popup.theme_color+"!important",color:t.widgetData.popup.theme_contrast+"!important"},on:{click:t.copyText}},[t.copyStatus?[i("svg",{staticClass:"feather feather-check",staticStyle:{display:"flex","margin-top":"-6px"},style:{color:t.widgetData.popup.theme_contrast+"!important",stroke:t.widgetData.popup.theme_contrast+"!important"},attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[i("polyline",{attrs:{points:"20 6 9 17 4 12"}})])]:[t._v("\n "+t._s(t.widgetData.popup.copy_button_text)+"\n "),i("svg",{staticStyle:{width:"1em",transform:"translateY(2px)","margin-left":"6px"},style:{fill:t.widgetData.popup.theme_contrast+"!important"},attrs:{fill:t.widgetData.popup.theme_contrast+"!important",viewBox:"-40 0 512 512",width:"1em",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"m271 512h-191c-44.113281 0-80-35.886719-80-80v-271c0-44.113281 35.886719-80 80-80h191c44.113281 0 80 35.886719 80 80v271c0 44.113281-35.886719 80-80 80zm-191-391c-22.054688 0-40 17.945312-40 40v271c0 22.054688 17.945312 40 40 40h191c22.054688 0 40-17.945312 40-40v-271c0-22.054688-17.945312-40-40-40zm351 261v-302c0-44.113281-35.886719-80-80-80h-222c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20h222c22.054688 0 40 17.945312 40 40v302c0 11.046875 8.953125 20 20 20s20-8.953125 20-20zm0 0"}})])]],2):t._e()]],2)],1)}),[],!1,null,null,null);e.a=r.exports},ff5d:function(t,e,i){"use strict";i.r(e);var a=i("a026"),o={props:["gameStarted","widgetData"],name:"BtnPlayGame"},s=(i("b4fc"),i("2877")),r=Object(s.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"p-5 block center p0 mb-3",attrs:{id:"play-btn"}},[i("div",{staticClass:"button-frame plastic",staticStyle:{margin:"auto",top:"0"},style:{background:t.widgetData.popup.text_color_1+"!important",color:t.widgetData.popup.theme_contrast+"!important"},attrs:{id:"slot-trigger"},on:{click:function(e){return t.$root.$emit("startGame")}}},[i("div",{staticClass:"the-button plastic",style:{background:t.widgetData.popup.highlight_color+"!important",color:t.widgetData.popup.theme_contrast+"!important"}},[i("span",{staticClass:"text-center",style:{color:t.widgetData.popup.theme_contrast+"!important"}},[t.gameStarted?[t._v(t._s(t.widgetData.popup.game_play_again_text))]:[t._v("\n "+t._s(t.widgetData.popup.play_button_text)+"\n ")]],2)])])])}),[],!1,null,null,null).exports,n=i("0f77"),p=Object(s.a)({},(function(t,e){e._c;return e._m(0)}),[function(t,e){var i=e._c;return i("div",{staticClass:"center link mt-xs visible text-sm font-semibold text-light mt-1"},[e._v("\n Powered By "),i("a",{staticClass:"inline",attrs:{href:"https://popconvert.com.br/",target:"_blank"}},[i("img",{staticClass:"pic icons inline powered-by",staticStyle:{"margin-left":"4px","margin-bottom":"-0.6rem"},attrs:{alt:"PopConvert",height:"25",width:"120",src:"https://cdn.popconvert.com.br/widget/img/logo-full-pop-convert-light.svg"}})])])}],!0,null,null,null).exports,c=i("6b58"),l=i("b89b"),d=i("f612");const g={name:"name",email:"mail",gender:"gender",phone:"phone"};var m={name:"Popup",components:{BtnPlayGame:r,BtnGoogle:()=>i.e("chunk-2d0e5ed9").then(i.bind(null,"9727")),BtnFacebook:()=>i.e("chunk-2d21080b").then(i.bind(null,"b7bb")),TextReward:n.a,Countdown:()=>i.e("chunk-7bdcbcb0").then(i.bind(null,"50a0")),PoweredBy:p,Closebtn:l.a,PickAGift:()=>i.e("chunk-85a50088").then(i.bind(null,"6ff2")),XplodIt:()=>i.e("chunk-a73bcdf6").then(i.bind(null,"6764")),Spin:()=>i.e("chunk-a05901ee").then(i.bind(null,"e506")),Slots:()=>i.e("chunk-b46d4bbc").then(i.bind(null,"e161")),ScratchCard:()=>i.e("chunk-67e57110").then(i.bind(null,"3377")),RewardButton:d.a},props:["isFBRendered","isMobileDevice","animations","widgetData","showFbCheckboxPlaces","userAccountData","isFbMessengerChecked","campaignId","checkbox_optin_text","widthForMessengerBtn","localStorageObj","formOptinIsInUse","facebookOptinIsInUse","googleOptinIsInUse","formOptinIsActive","facebookOptinIsActive","googleOptinIsActive","campaignIsInDemoMode","gameImages"],data(){const t={gdrpCheckbox1:!0,gdrpCheckbox2:!0};return{googleOAuth:{promptParentId:"pcw-google-oauth-iframe",account:null,scriptInserted:!1,promiseToInsertScript:null,buttonIsDisabled:!1},gameHasLoaded:!1,regexPhone:"",usrlang:navigator.language||navigator.userLanguage,loadings:{isLoadingGoogle:!1,isLoadingFacebook:!1},fbtestdata:!1,gdrpCheckbox1:t.gdrpCheckbox1,gdrpCheckbox2:t.gdrpCheckbox2,prizeForWinner:null,gameResult:null,location:window.location.href,show:!1,showMiniPopup:!1,gameStarted:!1,step1:!0,step2playing:!1,step3:!1,leadData:{},winnerPrize:!1,key:"",lead:{name:"",mail:"",url:"",source:0,picture:"",birthday:"",gender:"",profile:"",phone:"",gdpr_checkboxes:[t.gdrpCheckbox1,t.gdrpCheckbox2]},form:{hintActive:!1,showForm:!1,mailCheck:!0,nameCheck:!0,phoneCheck:!0,genderCheck:null,showSocialLogin:!0,socialLogininfoMessage:!1,showSocialLoginError:!1,showFormError:!1,infoMessage:"",nameInputisDisabled:!1,isLoading:!1,usaUnbounce:!1,showMessengerCheckboxError:!1},inviteIsVisible:!1,couponbarIsVisible:!1,invitebarIsVisible:!1,appEndPoint:"https://app.popconvert.com",visitorPassesCaptcha:!0,visitorCaptchaToken:null}},mounted(){this.captchaIsUsed&&(this.visitorPassesCaptcha=this.doCaptchaTest());this.gameStarted=!1,this.lead.url=document.URL,!this.formOptinIsActive||this.facebookOptinIsActive||this.googleOptinIsActive||(this.form.showForm=!0),this.$root.$on("gameLoaded",()=>{this.gameHasLoaded=!0}),this.$root.$on("hintFillForm",()=>{this.form.hintActive=!0,a.a.nextTick().then(()=>{setTimeout(()=>{this.form.hintActive=!1},2e3)})}),this.$root.$on("startwithFacebookLogin",()=>{const t=this;FB.login((function(e){t.lead.source=1,e.authResponse?t.fetchFbUserData():(t.handleErrorsOnForm(t.widgetData.popup.facebook_optin_error,t.widgetData.popup.facebook_optin_error),t.loadings.isLoadingFacebook=!1)}),{scope:"public_profile, email"})}),this.$root.$on("startFromFacebook",()=>{const t=this;t.$root.$emit("closeAllWidgetsBut","popup"),a.a.nextTick().then(()=>{setTimeout(()=>{t.show=!0},500)}),t.startFromFacebook()}),this.$root.$on("startFromMessenger",()=>{const t=this;this.gdprConditionIsSatisfied&&(t.$root.$emit("closeAllWidgetsBut","popup"),a.a.nextTick().then(()=>{setTimeout(()=>{t.show=!0},500)}))}),this.$root.$on("startFromGoogle",()=>{this.$root.$emit("closeAllWidgetsBut","popup"),a.a.nextTick().then(()=>{setTimeout(()=>{this.show=!0},500)}),this.googleOAuth.scriptInserted?this.promptGoogleOauth():this.googleOAuth.promiseToInsertScript&&this.googleOAuth.promiseToInsertScript.then(()=>{this.promptGoogleOauth()})}),this.$root.$on("startFromForm",t=>{const e=this;e.form.showForm=!0,t&&(e.lead.mail=t),e.$root.$emit("closeAllWidgetsBut","popup"),a.a.nextTick().then(()=>{setTimeout(()=>{e.show=!0},500)})}),this.$root.$on("closeAllWidgetsBut",t=>{"popup"!==t&&this.$root.$emit("hide-popup")}),this.$root.$on("show-popup",async t=>{if(!this.campaignIsInDemoMode){if(this.captchaIsUsed&&!await this.visitorPassesCaptcha)return void console.log("🔴PCW: Captcha test was not passed.");if(this.inviteIsVisible||this.couponbarIsVisible||this.invitebarIsVisible)return;if("bypassBlock"!==t&&(0!==this.localStorageObj.popupLaunched||this.show))return void console.log("🔴PCW: Popup already launched in this session")}this.$root.$emit("popup-shown"),this.showMiniPopup=!1,this.$root.$emit("trackHandler","Popup","evento[Popup Exibido]"),!this.isFBRendered&&this.$root.$emit("refreshMessengerPositionByLogin"),this.$root.$emit("closeAllWidgetsBut","popup"),a.a.nextTick().then(()=>{setTimeout(()=>{this.show=!0},500)}),this.campaignIsInDemoMode||this.$root.$emit("toLocalStg","popupLaunched",1)}),this.$root.$on("winnerAnimation",()=>{const t=this;t.gameResult=1,t.isMobileDevice||t.winnerAnimation(),t.winnerPrize=!0,setTimeout(()=>{t.goToStep3Result()},3900)}),this.$root.$on("loseGame",()=>{this.gameStarted=!0,this.gameResult=0}),this.$root.$on("hide-popup",()=>{this.show=!1}),this.$root.$on("invite-shown",()=>{this.inviteIsVisible=!0}),this.$root.$on("hide-invite",()=>{this.inviteIsVisible=!1}),this.$root.$on("couponbar-shown",()=>{this.couponbarIsVisible=!0}),this.$root.$on("hide-couponbar",()=>{this.couponbarIsVisible=!1}),1===this.widgetData.config.game_id&&this.$root.$emit("gameLoaded"),this.googleOptinIsInUse&&(this.googleOAuth.promiseToInsertScript=this.insertGoogleApiScript())},watch:{show:function(t){t&&(this.$root.$emit("campaignViewed"),a.a.nextTick().then(this.setUpPopupSizes));const e=document.body;this.isMobileDevice&&(e.style=!0===t?" overflow: hidden;position: absolute;width: 100%;height: 100%;":"position: initial;height: 100%;width: 100%;")}},computed:{gdprConditionIsSatisfied(){return!this.widgetData.popup.require_gdpr_consent||this.gdrpCheckbox1&&this.gdrpCheckbox2},responsysIntegration(){return this.userAccountData.integrations.responsys},captchaIsUsed(){return this.userAccountData.captcha&&this.widgetData.config.form_captcha},iframeContainerStyle(){const t={};return 6===this.widgetData.config.game_id&&Object.assign(t,{maxWidth:"45rem"}),t},textRewardStyle(){const t={};return 5===this.widgetData.config.game_id&&Object.assign(t,{backgroundColor:this.widgetData.popup.background_color,borderRadius:[this.widgetData.popup.elements_border_radius+"px",this.widgetData.popup.elements_border_radius+"px","0","0"].join(" "),padding:"0.5rem 0 !important",width:"100%",marginBottom:"0 !important"}),t},topRewardButtonStyle(){const t={};return 5===this.widgetData.config.game_id&&Object.assign(t,{backgroundColor:this.widgetData.popup.background_color,padding:"0.5rem 0 !important",width:"100%"}),t},popupTextContentStyle(){let t=Object.assign({},this.popupContentStyle);return 5===this.widgetData.config.game_id?Object.assign(t,{height:"100%"}):6===this.widgetData.config.game_id&&(t={width:"40%",maxWidth:"fit-content",flexDirection:"column"}),t},popupContentStyle(){const t={flexDirection:"column"};return 2===this.widgetData.config.game_id?Object.assign(t,{overflow:"visible"}):5===this.widgetData.config.game_id?Object.assign(t,{height:"98% !important",overflow:"hidden",border:"0.2rem solid "+this.widgetData.popup.theme_contrast,borderRadius:this.widgetData.popup.elements_border_radius+"px",backgroundColor:this.widgetData.popup.theme_contrast}):6===this.widgetData.config.game_id&&Object.assign(t,{flexDirection:"row",overflow:"visible",justifyContent:"normal !important"}),t},popupTitleStyle(){const t={color:this.widgetData.popup.text_color_1+"!important",minHeight:"1em"};return 5===this.widgetData.config.game_id&&Object.assign(t,{marginTop:this.widgetData.popup.game_image_url?"3.3rem !important":""}),t},formInnerStyle(){const t={backgroundColor:this.widgetData.popup.background_color+"66"};6===this.widgetData.config.game_id&&Object.assign(t,{padding:"12px 6px 12px"})},gameImageStyleForTreasureHunt:()=>({height:"18rem",margin:"auto"}),gameImageStyle:()=>({height:"4rem"}),gameImageWrapperStyle(){return{textAlign:"center",position:"absolute",top:"0%",zIndex:"1",backgroundColor:this.widgetData.popup.theme_color,border:"4px solid "+this.widgetData.popup.theme_color,borderRadius:"0 0 25px 25px"}},topPopupTextStyle(){const t={};return 5===this.widgetData.config.game_id&&Object.assign(t,{backgroundColor:this.widgetData.popup.background_color,width:"100%",padding:"0.5rem 0 !important",marginBottom:"0 !important"}),t},formContentStyle(){const t={zIndex:"1",padding:"12px 6px 12px",flexGrow:"0",flexShrink:"0"};return 5===this.widgetData.config.game_id?Object.assign(t,{backgroundColor:this.widgetData.popup.theme_contrast,padding:"5px 1.5rem 0px"}):6===this.widgetData.config.game_id&&Object.assign(t,{flexShrink:"1"}),t},useCompactFormLayout(){return this.isMobileDevice&&this.numberOfFormFields>2&&6!==this.widgetData.config.game_id},numberOfFormFields(){return 1+[this.popupFormHasOptinNameTrigger,this.popupFormHasOptinPhoneTrigger,this.popupFormHasOptinGenderTrigger].filter(t=>t).length},isSideGame(){return 3===this.widgetData.config.game_id},popupHasFormOptinTrigger(){return this.isMobileDevice?this.widgetData.triggers.popup_show_mobile_form_optin:this.widgetData.triggers.popup_show_desktop_form_optin},popupFormHasOptinNameTrigger(){return this.isMobileDevice?this.widgetData.triggers.popup_form_mobile_optin_name:this.widgetData.triggers.popup_form_desktop_optin_name},popupFormHasOptinPhoneTrigger(){return this.isMobileDevice?this.widgetData.triggers.popup_form_mobile_optin_phone:this.widgetData.triggers.popup_form_desktop_optin_phone},popupFormHasOptinGenderTrigger(){return this.isMobileDevice?this.widgetData.triggers.popup_form_mobile_optin_gender:this.widgetData.triggers.popup_form_desktop_optin_gender},showSocialOptins(){return!this.form.showForm&&this.form.showSocialLogin||this.widgetData.popup.show_all_optins},styleSocialOptins(){const t={defaultOne:{display:"grid",gridTemplateColumns:this.googleOptinIsActive&&this.facebookOptinIsActive?"repeat(2, 1fr)":"1fr",gridTemplateRows:"1fr",gridAutoFlow:"dense",gap:"0px 10px",gridTemplateAreas:". .",marginBottom:"10px"},mobileAccess:{display:"grid",gridTemplateColumns:this.googleOptinIsActive&&this.facebookOptinIsActive?"repeat(2, 1fr)":"1fr",gridTemplateRows:"1fr",gridAutoFlow:"dense",gap:"0px 10px",gridTemplateAreas:". .",marginBottom:"10px"},defaultDesktop:{display:"grid",gridTemplateColumns:"1fr",gridTemplateRows:"repeat(auto, 1fr)",gridAutoFlow:"dense",gap:"10px 0px",gridTemplateAreas:". .",marginBottom:"10px"}};return this.isMobileDevice?t[this.popupLayout]:t.defaultDesktop},stylePopup(){const t={backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center",height:"89vh",borderRadius:this.widgetData.popup.elements_border_radius+"px!important",backgroundColor:this.widgetData.popup.background_color+"!important",backgroundImage:"url("+this.backgroundImageUrl+")!important"};return 5===this.widgetData.config.game_id?Object.assign(t,{backgroundColor:this.widgetData.popup.theme_color}):6===this.widgetData.config.game_id&&delete t.height,t},backgroundImageUrl(){const t=this.widgetData.popup.background_image,e=this.widgetData.popup.background_image_mobile;return e&&"https://cdn.popconvert.com.br/widget/img/background-popup.webp"!==e&&this.isMobileDevice?e:t},popupWrapperClass(){const t=["block","popup-height"];return 5!==this.widgetData.config.game_id&&t.push("p-lg","px-3","pt-3","sm:px-8","sm:pt-8"),t.join(" ")},popupWrapperStyle(){const t={defaultOne:{alignItems:"center",justifyContent:"center",flexDirection:"column"},mobileAccess:{alignItems:"end",justifyContent:"end",flexDirection:"column-reverse"}},e={display:"flex!important",paddingTop:"16px"};return this.isMobileDevice&&Object.assign(e,t[this.popupLayout]),Object.assign(e,{padding:"0 18px",minHeight:"82vh !important"}),5===this.widgetData.config.game_id?Object.assign(e,{margin:"0 0.45rem",borderRadius:this.widgetData.popup.elements_border_radius+"px",padding:"0"}):6===this.widgetData.config.game_id&&Object.assign(e,{minHeight:""}),e},stylePopupInnerForm(){const t={mobile:{overflow:"visible",zIndex:9999,alignItems:"center",display:"flex!important",justifyContent:"center!important",height:"100%!important"},desktop:{overflow:"visible",zIndex:9999}};return this.isMobileDevice?t.mobile:t.desktop},styleSpinnerWrapper(){return this.isMobileDevice?{defaultOne:{display:"relative!important",top:"auto",left:"-40vw",bottom:"-10vw"},mobileAccess:{display:"relative!important",bottom:"0",top:"auto",left:"-30vw",marginTop:"calc(-20vh)"}}[this.popupLayout]:""},popupLayout(){if(this.isMobileDevice){if(1===this.widgetData.popup.layout)return"defaultOne";if(2===this.widgetData.popup.layout)return"mobileAccess"}return"defaultOne"},userChoseAGameImage(){return"https://cdn.popconvert.com.br/widget/img/icons/default.webp"!==this.widgetData.popup.game_image_url}},methods:{setUpPopupSizes(){6===this.widgetData.config.game_id&&(this.fixElementMinHeight(this.$refs.pcwPopup),this.fixElementMinHeight(this.$refs.popupContent))},fixElementMinHeight(t){t&&(t.style.minHeight=t.getBoundingClientRect().height+"px")},async doCaptchaTest(){const{VueReCaptcha:t}=await i.e("chunk-5b4243a6").then(i.t.bind(null,"760d",7));a.a.use(t,{siteKey:this.userAccountData.captcha_token}),await this.$recaptchaLoaded(),this.visitorCaptchaToken=await this.$recaptcha("popup");return(await axios.get(this.appEndPoint+"/api/campaign/captcha",{headers:{Accept:"application/json","Access-Control-Allow-Headers":"*","Access-Control-Allow-Origin":"*",Authorization:a.a.localStorage.get("sQdih4UMDGd9"),"cache-control":"no-cache","pop-referer":String(location)},params:{token:this.visitorCaptchaToken}})).data.result},doClickMiniPopup(){this.$root.$emit("trackHandler","Popup","clique[Mini-Popup]"),this.showMiniPopup=!1,this.$root.$emit("show-popup","bypassBlock")},changeName(){this.form.nameCheck=Boolean(this.lead.name.match(/[a-zA-Z]{1,44}/)),this.form.showFormError=!1},changeMail(){this.lead.mail=this.lead.mail.trim(),this.form.mailCheck=Boolean(this.lead.mail.match(/^\w+([-+.']\w+)*@\w+([-+.]\w+)*\.\w+([-+.]\w+)*$/)),this.form.showFormError=!1},changePhone(){this.lead.phone=this.lead.phone.trim(),this.form.phoneCheck=Boolean(this.lead.phone.match(/^\d+/)),this.form.showFormError=!1},changeGender(){this.form.genderCheck=""!==this.lead.gender,this.form.showFormError=!1},changeGdprCheckbox(){this.lead.gdpr_checkboxes=[this.gdrpCheckbox1,this.gdrpCheckbox2]},startFromForm(){this.changeMail();let t=this.form.mailCheck;this.popupFormHasOptinNameTrigger&&(this.changeName(),t=t&&this.form.nameCheck),this.popupFormHasOptinPhoneTrigger&&(this.changePhone(),t=t&&this.form.phoneCheck),this.popupFormHasOptinGenderTrigger&&(this.changeGender(),t=t&&this.form.genderCheck),t&&(this.form.isLoading=!0,this.lead.source=6,this.$root.$emit("trackHandler","Popup","clique[Continuar com E-mail]"),this.createLead())},sendLeadToIntegrationPlatforms(){const t={integration:this.responsysIntegration,lead:this.lead,reward:this.prizeForWinner,campaignId:this.userAccountData.campaign,url:document.URL};this.responsysIntegration&&function({integration:t,lead:e,reward:i,campaignId:a,url:o}){const s=[];try{for(const r of t.customFields){if(!r.customName)continue;let t;if("coupon"===r.name)t=i;else if("url"===r.name)t=o;else if("campaignId"===r.name)t=a;else{if(!g[r.name])continue;t=e[g[r.name]]}s.push([r.customName,t])}for(const{name:e,value:i}of t.fixedFields)s.push([e,i]);const r=document.createElement("div");r.innerHTML=t.html;for(const t of r.querySelectorAll("input"))s.push([t.name,t.value]);fetch(t.url+"?"+s.map(t=>t.join("=")).join("&"),{headers:{"Content-Type":"text/plain;charset=UTF-8"}})}catch(t){console.error("Error in Responsys integration with Popconvert.")}}(t)},insertGoogleApiScript(){return new Promise(t=>{const e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.defer=!0,e.onreadystatechange=e.onload=()=>{this.googleOAuth.scriptInserted=!0,google.accounts.id.initialize({cancel_on_tap_outside:!1,client_id:this.userAccountData.google_app_id+".apps.googleusercontent.com",context:"use",prompt_parent_id:this.googleOAuth.promptParentId,itp_support:!0,callback:t=>{this.signIntoGoogle(JSON.parse(atob(t.credential.split(".")[1])))}}),t()},document.getElementsByTagName("head")[0].appendChild(e)})},promptGoogleOauth(){window.google.accounts.id.prompt(t=>{"suppressed_by_user"===t.getNotDisplayedReason()&&(this.googleOAuth.buttonIsDisabled=!0),console.log(["googleNotification",t.getMomentType(),t.getDismissedReason(),t.getSkippedReason(),t.getNotDisplayedReason()]);const e=document.querySelector("#credential_picker_iframe");e&&(console.log(["googleIframe",e]),this.$refs.googleOAuthPromptParent.appendChild(e),e.style.marginBottom="1rem")})},async signIntoGoogle(t){this.loadings.isLoadingGoogle=!0;if(!(this.widgetData.config.checkbox_optin&&this.widgetData.triggers.popup_show_messenger_optin&&this.widgetData.triggers.popup_mandatory_messenger)||this.isFbMessengerChecked){this.form.showMessengerCheckboxError=!1,this.$root.$emit("trackHandler","Popup","clique[Continuar com Google]");try{this.lead.source=3,this.lead.name=t.name,this.lead.picture=t.profile,this.lead.birthday="",this.lead.profile="",this.lead.gender="",this.lead.mail=t.email,this.createLead()}catch(t){this.handleErrorsOnForm(this.widgetData.popup.general_optin_error,this.widgetData.popup.general_optin_error)}}else this.form.showMessengerCheckboxError=!0},startFromFacebook(){this.loadings.isLoadingFacebook=!0,this.form.showMessengerCheckboxError=!1,this.$root.$emit("trackHandler","Popup","clique[Continuar com Facebook]"),this.$root.$emit("loadFacebookSDK",1)},fetchFbUserData(){FB.api("/me",{fields:"name,email,link,gender,picture,birthday"},t=>{this.lead.name=t.name,this.lead.picture=t.picture.data.url,this.lead.birthday=t.birthday,this.lead.profile=t.link,this.lead.gender=t.gender,this.lead.mail=t.email,this.createLead()})},async createLead(){if(window._edrone&&(_edrone.action_type="subscribe",this.lead.name&&(_edrone.first_name=this.lead.name.match(/\S+/)[0]),_edrone.email=this.lead.mail,_edrone.customer_tags="Popconvert","function"==typeof _edrone.init&&_edrone.init(),setTimeout(()=>{1!==_edrone.send_status&&"function"==typeof _edrone.init&&_edrone.init()},2e3)),this.lead.name.length>0&&(this.form.nameInputisDisabled=!0),this.campaignIsInDemoMode){const t={success:"OK",data:{coupon:"41WV3GFK2SYR",text:"10% OFF!"},message:"OK"};return this.$root.$emit("winnerPrize",t),this.prizeForWinner=t,void(1===this.widgetData.config.game_id?this.goToStep3Result():this.goTostep2playing())}if(c.f()){const t={success:"OK",data:{coupon:"41WV3GFK2SYR",text:"10% de Desconto!"},message:"OK"};this.$root.$emit("winnerPrize",t),this.$root.$emit("trackHandler","popup","evento[Lead Convertido]"),this.prizeForWinner=t,this.$root.$emit("toLocalStg","lastSessionDate",Date.now()),this.$root.$emit("toLocalStg","prizeForWinner",this.prizeForWinner),this.$root.$emit("toLocalStg","lead",this.lead),1===this.widgetData.config.game_id?this.goToStep3Result():this.goTostep2playing()}const t=new FormData;t.append("lead_name",this.lead.name?this.lead.name:this.lead.mail),t.append("lead_email",this.lead.mail),t.append("lead_url",document.URL),t.append("lead_source",this.lead.source),t.append("lead_campaign",this.userAccountData.campaign),t.append("lead_picture",this.lead.picture),t.append("lead_birthday",this.lead.birthday?this.lead.birthday:""),t.append("lead_gender",this.lead.gender?this.lead.gender:""),t.append("lead_profile",this.lead.profile?this.lead.profile:""),t.append("lead_city",this.lead.city?this.lead.city:""),t.append("lead_state",this.lead.state?this.lead.state:""),t.append("lead_country",this.lead.country?this.lead.country:""),t.append("lead_phone",this.lead.phone?this.lead.phone:""),t.append("lead_gdpr_checkboxes",this.lead.gdpr_checkboxes),this.captchaIsUsed&&t.append("captcha_token",this.visitorCaptchaToken);try{const e=await fetch(this.appEndPoint+"/api/campaign/join",{method:"POST",headers:new Headers({"Access-Control-Allow-Headers":"*","Access-Control-Allow-Origin":"*",Accept:"application/json",Authorization:c.f()?Object({NODE_ENV:"production",VUE_APP_CDN_ENV:"",VUE_APP_HOSTNAME_QR_CAMPAIGNS_HOSTING:"qr-campaigns.popconvert.com",VUE_APP_END_POINT:"https://app.popconvert.com",VUE_APP_VERSION:"1.7.24",BASE_URL:"https://cdn.popconvert.com.br/widget/dist/"}).VUE_APP_KEY:a.a.localStorage.get("sQdih4UMDGd9"),"cache-control":"no-cache"}),body:t}),i=await e.json();switch(i.message){case"OK":this.$root.$emit("winnerPrize",i),this.$root.$emit("toLocalStg","popupLaunched",1),this.$root.$emit("trackHandler","Popup","evento[Lead Convertido]"),this.prizeForWinner=i,this.$root.$emit("toLocalStg","lastSessionDate",Date.now()),this.$root.$emit("toLocalStg","prizeForWinner",this.prizeForWinner),this.$root.$emit("toLocalStg","lead",this.lead),1===this.widgetData.config.game_id?this.goToStep3Result():this.goTostep2playing();break;case"not-found":this.$root.$emit("trackHandler","Popup","erro[createLead-NaoEncontrado]"),this.handleErrorsOnForm(this.widgetData.popup.general_error_500,this.widgetData.popup.general_error_500);break;case"quota-reached":this.$root.$emit("trackHandler","Popup","erro[createLead-LimiteAtingido]"),this.handleErrorsOnForm(this.widgetData.popup.limit_joins_reached_error,this.widgetData.popup.limit_joins_reached_error);break;case"invalid-email":this.form.mailCheck=!1;break;case"duplicated-lead":this.$root.$emit("trackHandler","Popup","erro[createLead-Duplicado]"),this.$root.$emit("toLocalStg","lastSessionDate",Date.now()),this.form.nameInputisDisabled=!1,this.handleErrorsOnForm(this.widgetData.popup.limit_already_joined_error,this.widgetData.popup.limit_already_joined_error);break;case"The given data was invalid.":this.$root.$emit("trackHandler","Popup","erro[createLead-Invalido]"),this.handleErrorsOnForm(this.widgetData.popup.general_field_error,this.widgetData.popup.general_field_error);break;default:this.$root.$emit("trackHandler","Popup","erro[createLead-Geral]"),this.handleErrorsOnForm(this.widgetData.popup.general_error,this.widgetData.popup.general_error)}this.form.isLoading=!1,this.loadings.isLoadingFacebook=!1,this.loadings.isLoadingGoogle=!1,this.sendLeadToIntegrationPlatforms()}catch(t){console.error(t),this.form.showSocialLogin=!1,this.form.showForm=!0,this.form.infoMessage=this.widgetData.popup.general_error,this.form.showFormError=!0,this.form.isLoading=!1,this.loadings.isLoadingFacebook=!1,this.loadings.isLoadingGoogle=!1}},handleErrorsOnForm(t,e){this.$root.$emit("trackHandler","Popup","erro[formulario-preenchimento]",t),this.formOptinIsActive?(this.form.showSocialLogin=!1,this.form.showForm=!0,this.form.infoMessage=t,this.form.showFormError=!0,this.form.isLoading=!1):(this.form.showSocialLoginError=!0,this.form.socialLogininfoMessage=e)},goToStep3Result(){this.step2playing=!1,this.step3=!0},goTostep2playing(){this.step1=!1,this.step2playing=!0},closeToShowCouponBar(){this.$root.$emit("trackHandler","Popup","clique[Fechou Popup após ganhar prêmio]"),this.$root.$emit("hide-popup"),this.$root.$emit("checkTriggers","launchCouponBar")},winnerAnimation(){a.a.nextTick().then(()=>{let t=window.innerWidth,e=window.innerHeight;const i=document.getElementById("winner-canvas"),a=i.getContext("2d"),o=[],s=["DodgerBlue","OliveDrab","Gold","Pink","SlateBlue","LightBlue","Gold","Violet","PaleGreen","SteelBlue","SandyBrown","Chocolate","Crimson"];function r(){var i,o;this.x=Math.random()*t,this.y=Math.random()*e-e,this.r=(i=11,o=33,Math.floor(Math.random()*(o-i+1)+i)),this.d=150*Math.random()+11,this.color=s[Math.floor(Math.random()*s.length)],this.tilt=Math.floor(33*Math.random())-11,this.tiltAngleIncremental=.07*Math.random()+.05,this.tiltAngle=0,this.draw=()=>(a.beginPath(),a.lineWidth=this.r/2,a.strokeStyle=this.color,a.moveTo(this.x+this.tilt+this.r/3,this.y),a.lineTo(this.x+this.tilt,this.y+this.tilt+this.r/5),a.stroke())}window.addEventListener("resize",()=>{t=window.innerWidth,e=window.innerHeight,i.width=window.innerWidth,i.height=window.innerHeight},!1);for(let t=0;t<150;t++)o.push(new r);i.width=t,i.height=e,function i(){const s=[];requestAnimationFrame(i),a.clearRect(0,0,t,window.innerHeight);for(let t=0;t<150;t++)s.push(o[t].draw());let r={};for(let i=0;i<150;i++)r=o[i],r.tiltAngle+=r.tiltAngleIncremental,r.y+=(Math.cos(r.d)+3+r.r/2)/2,r.tilt=15*Math.sin(r.tiltAngle-i/3),r.y<=e&&0,(r.x>t+30||r.x<-30||r.y>e)&&(r.x=Math.random()*t,r.y=-30,r.tilt=Math.floor(10*Math.random())-20);return s}()})},doClickCloseBtn(){1===this.gameResult?this.closeToShowCouponBar():this.closePopuptoTryLater()},closePopuptoTryLater(){this.$root.$emit("trackHandler","Popup","clique[Fechou Popup]"),this.$root.$emit("hide-popup"),this.widgetData&&this.widgetData.fullpopup&&this.widgetData.fullpopup.design.popupShowMini&&(this.showMiniPopup=!0),this.$root.$emit("checkTriggers","launchInviteBar")}}},h=(i("d7f1"),Object(s.a)(m,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"popup",popupLayout:t.popupLayout}},[i("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"}},[t.show?i("div",{directives:[{name:"show",rawName:"v-show",value:t.gameHasLoaded,expression:"gameHasLoaded"}],staticClass:"overlay",on:{click:t.closePopuptoTryLater}}):t._e()]),i("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animated "+this.animations[t.widgetData.popup.in_animation-1].name,"leave-active-class":"animated "+this.animations[t.widgetData.popup.out_animation-1].name}},[t.show?i("div",{staticClass:"pcw-w widget_fullscreen open animate p-0",class:{isSideGame:t.isSideGame},staticStyle:{margin:"0 auto auto auto"},style:t.gameHasLoaded?{}:{top:"9999rem"}},[!t.step3&&!t.step2playing||1===t.widgetData.config.game_id||t.isMobileDevice?t._e():i("canvas",{attrs:{id:"winner-canvas"}}),t.step3&&1!==t.widgetData.config.game_id&&!t.isMobileDevice?i("div",{staticClass:"winner-background"}):t._e(),i("div",{staticClass:"pcw-container pcw-container_md",style:t.iframeContainerStyle,attrs:{id:"popconvert-iframe-pcw-container"}},[i("div",{ref:"pcwPopup",staticClass:"item item_bg visible overflow-hidden",staticStyle:{"background-position":"center","background-repeat":"no-repeat","background-size":"cover",width:"100%!important"},style:t.stylePopup,attrs:{pcwPopup:""}},[i("div",{ref:"googleOAuthPromptParent",staticStyle:{position:"absolute","z-index":"99999999"},attrs:{id:t.googleOAuth.promptParentId}}),i("button",{staticClass:"close close_circle",staticStyle:{"z-index":"99999"},style:{color:t.widgetData.popup.text_color_2+"!important"},on:{click:t.doClickCloseBtn}},[i("closebtn",{attrs:{color:t.widgetData.popup.text_color_2}})],1),i("div",{class:t.popupWrapperClass,style:t.popupWrapperStyle,attrs:{popupWrapper:""}},[i("div",{staticClass:"center w-full h-full fixedHeightMobile flex flex-col justify-start sm:justify-center",style:t.stylePopupInnerForm,attrs:{popupInnerForm:""}},[5===t.widgetData.config.game_id&&t.userChoseAGameImage?i("div",{style:t.gameImageWrapperStyle},[i("img",{style:t.gameImageStyle,attrs:{src:t.widgetData.popup.game_image_url,height:"4",width:"8"}})]):t._e(),i("div",{ref:"popupContent",staticClass:"p-lg p-0 popupContent",style:t.popupContentStyle},[i("div",{staticClass:"p-lg p-0 popupContent",style:t.popupTextContentStyle},[i("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animated jackInTheBox","leave-active-class":"animated fadeOut"}},[!t.winnerPrize&&!t.step3||[5,6].includes(t.widgetData.config.game_id)?t._e():i("text-reward",{style:t.textRewardStyle,attrs:{"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner}})],1),!t.winnerPrize&&!t.step3||[2,5,6].includes(t.widgetData.config.game_id)?t._e():i("reward-button",{style:t.topRewardButtonStyle,attrs:{"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner}}),t.winnerPrize||0==t.gameResult||t.step3?t._e():i("div",{staticClass:"center mb-3",style:t.topPopupTextStyle,attrs:{id:"top-popup-text"}},[i("div",{staticClass:"pcwtitle text-center mt-0 text-2x1 sm:text-2xl pr-3 pl-3 sm:pr-0 sm:pl-0",style:t.popupTitleStyle,attrs:{popupTitle:""}},[t._v("\n "+t._s(t.widgetData.popup.title)+"\n ")]),i("div",{staticClass:"pcwcontent text-center mb-2 sm:mb-3 text-sm sm:text-base",style:{color:t.widgetData.popup.text_color_2+"!important",minHeight:"1em"}},[t._v("\n "+t._s(t.widgetData.popup.call_text)+"\n ")])]),t.winnerPrize||0!==t.gameResult?t._e():i("div",{staticClass:"center"},[i("div",{staticClass:"pcwtitle text-center text-2x1 sm:text-2xl pr-3 pl-3 sm:pr-0 sm:pl-0",style:{color:t.widgetData.popup.text_color_1+"!important"}},[t._v("\n "+t._s(t.widgetData.popup.title_lose)+"\n ")]),i("div",{staticClass:"pcwcontent text-center mb-2 sm:mb-3 text-sm sm:text-base",style:{color:t.widgetData.popup.text_color_2+"!important"}},[t._v("\n "+t._s(t.widgetData.popup.call_text_lose)+"\n ")])]),2===t.widgetData.config.game_id?i("div",{staticClass:"center-game",staticStyle:{overflow:"visible",width:"100%"}},[i("slots",{attrs:{step2playing:t.step2playing,"widget-data":t.widgetData,"device-is-mobile":t.isMobileDevice}}),t.winnerPrize||t.step3?i("reward-button",{staticStyle:{"margin-top":"1.5rem"},attrs:{"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner}}):t._e()],1):[4,7].includes(t.widgetData.config.game_id)?i("div",{staticClass:"center-game"},[i("pick-a-gift",{attrs:{step2playing:t.step2playing,"widget-data":t.widgetData}})],1):5===t.widgetData.config.game_id?i("div",{staticClass:"center-game"},[i("xplod-it",{attrs:{step2playing:t.step2playing,"widget-data":t.widgetData}}),t.winnerPrize||t.step3?i("div",{staticStyle:{position:"relative",top:"-70%"}},[i("text-reward",{attrs:{"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner}}),i("reward-button",{staticStyle:{"margin-top":"1.5rem"},attrs:{"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner}})],1):t._e()],1):t.widgetData.config.game_config.countdownData?i("div",{staticClass:"center-game",staticStyle:{display:"flex"}},[i("countdown",{attrs:{"widget-data":t.widgetData}})],1):t._e(),!t.step2playing||t.winnerPrize||[2,4,7,5,6].includes(t.widgetData.config.game_id)?t._e():i("btn-play-game",{attrs:{"widget-data":t.widgetData,"game-started":t.gameStarted}}),t.step1&&!t.step3?i("div",{staticClass:"form center formContent mt-0 w-full",class:{hint:t.form.hintActive},style:t.formContentStyle,attrs:{id:"formContent"}},[i("div",{staticClass:"formInner block center pcwbtn_wide",class:{hasBackground:t.isMobileDevice&&(t.widgetData.popup.show_all_optins||t.widgetData.popup.show_gdpr_consent)},staticStyle:{"max-width":"100%",overflow:"visible"},style:t.formInnerStyle},[i("div",{class:{isFlexMobile:3===t.widgetData.config.game_id}},[t.showSocialOptins?i("div",{style:t.styleSocialOptins,attrs:{socialOptins:""}},[t.facebookOptinIsActive?i("btn-facebook",{attrs:{loadings:t.loadings,"widget-data":t.widgetData,"gdpr-condition-is-satisfied":t.gdprConditionIsSatisfied}}):t._e(),t.googleOptinIsActive?i("btn-google",{style:{visibility:t.googleOAuth.buttonIsDisabled?"hidden":"visible",pointerEvents:t.googleOAuth.buttonIsDisabled?"none":"auto"},attrs:{loadings:t.loadings,"widget-data":t.widgetData,"gdpr-condition-is-satisfied":t.gdprConditionIsSatisfied}}):t._e()],1):t._e()]),"informative"===t.widgetData.config.type?i("div",[i("img",{style:t.gameImageStyleForTreasureHunt,attrs:{src:t.widgetData.popup.game_image_url,height:"10",width:"20"}})]):t.formOptinIsActive?i("div",[t.form.showForm||t.widgetData.popup.show_all_optins?i("form",{attrs:{action:"javascript:void(0);"}},[t.widgetData.popup.show_all_optins&&t.widgetData.popup.help_text_2?i("div",{staticClass:"pcwcontent text-center mb-2 sm:mb-3 text-sm sm:text-base",staticStyle:{"font-size":"0.7em!important"},style:{color:t.widgetData.popup.text_color_3+"!important"}},[t._v("\n "+t._s(t.widgetData.popup.help_text_2)+"\n ")]):t._e(),i("div",{style:t.useCompactFormLayout?{display:"grid"}:{}},[i("div",{style:t.useCompactFormLayout?{gridColumnStart:1}:{}},[t.popupFormHasOptinNameTrigger?i("div",{staticClass:"field",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no campo Nome]")}}},[i("div",{staticClass:"group",class:{"has-error":!t.form.nameCheck&&t.popupFormHasOptinNameTrigger}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.lead.name,expression:"lead.name"}],staticClass:"input",style:{"text-align":"center","border-radius":t.widgetData.popup.elements_border_radius+"px!important"},attrs:{type:"text",disabled:t.form.nameInputisDisabled,placeholder:t.widgetData.popup.form_name_placeholder},domProps:{value:t.lead.name},on:{keyup:function(e){return t.changeName()},input:function(e){e.target.composing||t.$set(t.lead,"name",e.target.value)}}})])]):t._e(),t.popupHasFormOptinTrigger?i("div",{staticClass:"field",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no campo E-mail]")}}},[i("div",{staticClass:"group",class:{"has-error":!t.form.mailCheck}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.lead.mail,expression:"lead.mail"}],staticClass:"input",style:{"text-align":"center","border-radius":t.widgetData.popup.elements_border_radius+"px!important"},attrs:{type:"text",placeholder:t.widgetData.popup.form_email_placeholder},domProps:{value:t.lead.mail},on:{keyup:function(e){return t.changeMail()},input:function(e){e.target.composing||t.$set(t.lead,"mail",e.target.value)}}})])]):t._e()]),i("div",{style:t.useCompactFormLayout?{gridColumnStart:2,marginLeft:"8px"}:{}},[t.popupFormHasOptinPhoneTrigger?i("div",{staticClass:"field",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no campo Whatsapp]")}}},[i("div",{staticClass:"group",class:{"has-error":!t.form.phoneCheck}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.lead.phone,expression:"lead.phone"}],staticClass:"input",style:{"text-align":"center","border-radius":t.widgetData.popup.elements_border_radius+"px!important"},attrs:{type:"text",placeholder:t.widgetData.popup.form_phone_placeholder},domProps:{value:t.lead.phone},on:{keyup:function(e){return t.changePhone()},input:function(e){e.target.composing||t.$set(t.lead,"phone",e.target.value)}}})])]):t._e(),t.popupFormHasOptinGenderTrigger?i("div",{staticClass:"field",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no campo Gênero]")}}},[i("div",{staticClass:"group",class:{"has-error":!1===t.form.genderCheck}},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.lead.gender,expression:"lead.gender"}],staticClass:"select",style:{"text-align":"center","border-radius":t.widgetData.popup.elements_border_radius+"px!important","padding-top":"10px",overflow:"clip"},on:{change:[function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.lead,"gender",e.target.multiple?i:i[0])},function(e){return t.changeGender()}]}},[i("option",{attrs:{value:"",disabled:"",selected:""}},[t._v(t._s(this.widgetData.popup.form_gender_placeholder))]),i("option",{style:{"font-weight":"normal"},attrs:{value:"male"}},[t._v(t._s(this.widgetData.popup.male_gender_option))]),i("option",{style:{"font-weight":"normal"},attrs:{value:"female"}},[t._v(t._s(this.widgetData.popup.female_gender_option))]),i("option",{style:{"font-weight":"normal"},attrs:{value:"other"}},[t._v(t._s(this.widgetData.popup.other_gender_option))])])])]):t._e()])]),i("button",{staticClass:"pcwbtn pcwbtn_wide mb-2 sm:mb-3 text-sm sm:text-base",class:{"btn-loading":t.form.isLoading},style:{"border-radius":t.widgetData.popup.elements_border_radius+"px!important",background:t.widgetData.popup.theme_color+"!important",color:t.widgetData.popup.theme_contrast+"!important"},attrs:{type:"submit",disabled:!t.gdprConditionIsSatisfied},on:{click:t.startFromForm}},[t.form.isLoading?i("i",{staticClass:"icons icons-loading"},[i("svg",{staticClass:"icons-spin",style:{stroke:t.widgetData.popup.theme_contrast+"!important"},attrs:{viewBox:"0 0 1024 1024","data-icon":"loading",width:"1em",height:"1em",fill:t.widgetData.popup.theme_contrast,stroke:t.widgetData.popup.theme_contrast,"aria-hidden":"true"}},[i("path",{attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}})])]):t._e(),t.form.isLoading?t._e():[t._v("\n "+t._s(t.widgetData.popup.form_button_text)+"\n ")]],2),!t.form.mailCheck||!t.form.phoneCheck||!1===t.form.genderCheck||!t.form.nameCheck&&t.popupFormHasOptinNameTrigger?i("span",{staticClass:"help-block error mb-2 sm:mb-3 text-xs",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no erro do form]")}}},[!t.form.nameCheck&&t.popupFormHasOptinNameTrigger?[t._v("\n "+t._s(t.widgetData.popup.name_field_error)+"\n ")]:t._e(),t.form.mailCheck?t._e():[t._v("\n "+t._s(t.widgetData.popup.email_field_error)+"\n ")],t.form.phoneCheck?t._e():[t._v("\n "+t._s(t.widgetData.popup.phone_field_error)+"\n ")],!1===t.form.genderCheck?[t._v("\n "+t._s(t.widgetData.popup.gender_field_error)+"\n ")]:t._e()],2):t._e(),t.form.showFormError?i("span",{staticClass:"help-block error mb-2 sm:mb-3 text-xs",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no erro do form]")}}},[t._v(t._s(t.form.infoMessage))]):t._e()]):t._e()]):t._e(),t.form.showSocialLoginError?i("span",{staticClass:"help-block error mb-2 text-xs",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no erro do form]")}}},[t._v(t._s(t.form.socialLogininfoMessage))]):t._e(),t.form.showMessengerCheckboxError?i("span",{staticClass:"help-block error mb-2 text-xs",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no erro do form]")}}},[t._v(t._s(t.widgetData.popup.required_messenger_optin))]):t._e(),t.widgetData.popup.show_help_text_1?i("div",{staticClass:"block center pcwbtn_wide mb-2 sm:mb-3"},[i("div",{staticClass:"pcwcontent text-center mb-2 sm:mb-3 text-sm",staticStyle:{"font-size":"0.7em"},style:{color:t.widgetData.popup.text_color_3+"!important"}},[t._v("\n "+t._s(t.widgetData.popup.help_text_1)+"\n ")])]):t._e(),t.widgetData.popup.show_gdpr_consent?[i("div",{staticClass:"help-block"},[i("label",{staticClass:"label-cbx w-full",attrs:{for:"gdrpCheckbox1"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.gdrpCheckbox1,expression:"gdrpCheckbox1"}],staticClass:"invisible",attrs:{id:"gdrpCheckbox1",type:"checkbox"},domProps:{checked:Array.isArray(t.gdrpCheckbox1)?t._i(t.gdrpCheckbox1,null)>-1:t.gdrpCheckbox1},on:{change:[function(e){var i=t.gdrpCheckbox1,a=e.target,o=!!a.checked;if(Array.isArray(i)){var s=t._i(i,null);a.checked?s<0&&(t.gdrpCheckbox1=i.concat([null])):s>-1&&(t.gdrpCheckbox1=i.slice(0,s).concat(i.slice(s+1)))}else t.gdrpCheckbox1=o},t.changeGdprCheckbox]}}),i("div",{staticClass:"checkbox"},[i("svg",{attrs:{width:"16px",height:"16px",viewBox:"0 0 20 20"}},[i("path",{style:{fill:t.widgetData.popup.theme_color+"!important",stroke:t.widgetData.popup.theme_color+"!important"},attrs:{d:"M3,1 L17,1 L17,1 C18.1045695,1 19,1.8954305 19,3 L19,17 L19,17 C19,18.1045695 18.1045695,19 17,19 L3,19 L3,19 C1.8954305,19 1,18.1045695 1,17 L1,3 L1,3 C1,1.8954305 1.8954305,1 3,1 Z"}}),i("polyline",{style:{stroke:t.widgetData.popup.theme_contrast+"!important"},attrs:{points:"4 11 8 15 16 6"}})])]),i("span",{staticClass:"pcwcontent",style:Object.assign({color:t.widgetData.popup.text_color_3+"!important"},t.widgetData.popup.style.gdpr)},[t._v(t._s(t.widgetData.popup.gdrp_checkbox1_text))])])]),i("div",{staticClass:"help-block"},[i("label",{staticClass:"label-cbx w-full",attrs:{for:"gdrpCheckbox2"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.gdrpCheckbox2,expression:"gdrpCheckbox2"}],staticClass:"invisible",attrs:{id:"gdrpCheckbox2",type:"checkbox"},domProps:{checked:Array.isArray(t.gdrpCheckbox2)?t._i(t.gdrpCheckbox2,null)>-1:t.gdrpCheckbox2},on:{change:[function(e){var i=t.gdrpCheckbox2,a=e.target,o=!!a.checked;if(Array.isArray(i)){var s=t._i(i,null);a.checked?s<0&&(t.gdrpCheckbox2=i.concat([null])):s>-1&&(t.gdrpCheckbox2=i.slice(0,s).concat(i.slice(s+1)))}else t.gdrpCheckbox2=o},t.changeGdprCheckbox]}}),i("div",{staticClass:"checkbox"},[i("svg",{attrs:{width:"16px",height:"16px",viewBox:"0 0 20 20"}},[i("path",{style:{fill:t.widgetData.popup.theme_color+"!important",stroke:t.widgetData.popup.theme_color+"!important"},attrs:{d:"M3,1 L17,1 L17,1 C18.1045695,1 19,1.8954305 19,3 L19,17 L19,17 C19,18.1045695 18.1045695,19 17,19 L3,19 L3,19 C1.8954305,19 1,18.1045695 1,17 L1,3 L1,3 C1,1.8954305 1.8954305,1 3,1 Z"}}),i("polyline",{style:{stroke:t.widgetData.popup.theme_contrast+"!important"},attrs:{points:"4 11 8 15 16 6"}})])]),i("span",{staticClass:"pcwcontent",style:Object.assign({color:t.widgetData.popup.text_color_3+"!important"},t.widgetData.popup.style.gdpr)},[t._v(t._s(t.widgetData.popup.gdrp_checkbox2_text))])])]),i("div",{staticClass:"pcwcontent",style:Object.assign({color:t.widgetData.popup.text_color_3+"!important"},t.widgetData.popup.style.gdpr),on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[GDPR-clicou na descrição]")}}},[t._v("\n "+t._s(t.widgetData.popup.gdrp_compliance_text)+"\n ")])]:t._e()],2)]):t._e()],1),6===t.widgetData.config.game_id?i("scratch-card",{staticClass:"center-game",attrs:{step2playing:t.step2playing,step3:t.step3,"widget-data":t.widgetData,"prize-for-winner":t.prizeForWinner,"winner-prize":t.winnerPrize,"game-image":t.gameImages.scratchCard}}):t._e()],1)]),3===t.widgetData.config.game_id?i("spin",{style:t.styleSpinnerWrapper,attrs:{"is-mobile-device":t.isMobileDevice,"prize-for-winner":t.prizeForWinner,form:t.form,"widget-data":t.widgetData}}):t._e()],1)]),i("div",{staticClass:"md:visible",on:{click:function(e){return t.$root.$emit("trackHandler","Popup","clique[Clicou no PoweredBy]")}}},[i("powered-by")],1)])]):t._e()]),i("transition",{attrs:{name:"custom-classes-transition","enter-active-class":"animated fadeIn","leave-active-class":"animated fadeOut"}},[t.showMiniPopup?i("div",{staticClass:"pcw-mini-popup",on:{click:t.doClickMiniPopup}},[i("svg",{staticClass:"waiting-spin",staticStyle:{"enable-background":"new 0 0 300 300"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",id:"pcw-mini-spinner",x:"0px",y:"0px",viewBox:"0 0 300 300"}},[i("g",[i("path",{staticClass:"st0",style:{fill:t.widgetData.popup.text_color_1},attrs:{d:"M148.1,0h2.5c4.4,1.6,2.3,6.5,1.5,9.8c23,0.3,45.9,6.4,66,17.6c0.8-2.5,1-5.4,2.7-7.5c2.6-1.7,6.4,0.1,6.5,3.3 c-0.6,2.9-3.3,4.6-5.2,6.7c19.7,11.8,36.2,28.6,48,48.3c1.9-1.8,3.5-3.9,5.8-5.2c3.5-1.1,6.4,3.6,4.2,6.4c-2.1,1.8-5.1,2-7.7,2.8 c11,20,17.1,42.7,17.3,65.5c3.3-0.8,8.1-3.2,10.2,0.9v2.7c-1.7,4.5-6.8,2-10.2,1.3c-0.2,22.6-6.3,45.1-17,65 c2.7,0.9,6.9,0.9,7.5,4.5c-0.2,1.9-1.2,3.9-3.2,4.4c-3.1,0.6-4.9-2.7-6.9-4.3c-11.7,19.5-28.1,36.1-47.5,47.9 c1.4,1.4,2.8,2.8,3.9,4.4c1.3,3-2.2,6.2-5.1,5.1c-2.8-1-2.6-4.4-3.5-6.7c-20,11-42.7,17.1-65.5,17.5c0.9,3.3,3.1,8.3-1.5,9.7h-2.1 c-4.4-1.5-2.2-6.5-1.5-9.7c-22.8-0.3-45.3-6.5-65.3-17.3c-0.9,2.4-0.7,6.7-4.1,7c-2.8,0.6-5.5-2.1-4.7-4.9c1.1-1.8,2.8-3.3,4.2-4.8 c-19.5-11.8-36-28.4-47.7-48c-1.8,1.8-3.5,3.9-5.7,5.2c-3.6,1-6.4-3.8-4.1-6.6c2.2-1.6,5-1.9,7.5-2.7c-11-20.1-17.3-42.9-17.4-65.8 c-3.3,0.7-8.4,3.2-10.1-1.4v-2.3c1.6-4.7,6.6-1.9,10.1-1.7c0.2-22.7,6.4-45.3,17.3-65.1c-2.3-0.8-4.9-0.9-6.9-2.4 c-2.7-2.5,0.1-7.4,3.6-6.8c2.4,0.9,3.9,3.2,5.8,4.8C41.7,58,58.2,41.4,77.8,29.7c-1.7-2.2-4.6-3.8-5.1-6.7c0.3-3.1,4-5,6.6-3.2 c1.8,2,1.9,4.9,2.8,7.4c19.9-10.9,42.3-17,65-17.4C146.1,6.5,144,1.9,148.1,0 M148.2,12.1c-1.4,1.2-0.9,3.8,0.9,4.3 c1.8,0.7,3.9-1.7,2.9-3.3C151.5,11.6,149.4,11.1,148.2,12.1 M84,35.7C64,46.9,47.2,64,35.8,83.9C24.1,103.8,18,127,18.1,150.1 c-0.2,23,6.1,46,17.6,66c11.4,19.9,28.3,36.6,48,48.3c20.1,11.4,43.1,17.9,66.3,17.7c23,0.1,45.8-6.2,65.8-17.5 c19.9-11.7,36.9-28.5,48.3-48.5c11.6-19.9,17.7-43.1,17.6-66.1c0.2-23-6-46-17.6-66c-11.5-20-28.3-36.9-48.3-48.4 C196,24,173,17.9,149.9,17.9C126.9,17.9,103.7,23.8,84,35.7 M80.3,30.1c-2.7,2.1,1.3,6.3,3.4,3.6C85.8,31.6,82.5,28.2,80.3,30.1 M216.2,30.3c-2.6,2,1.5,6.3,3.4,3.5C222,31.6,218.4,28.1,216.2,30.3 M31.4,79.4c-2.9,1-1.5,6,1.6,4.7 C36.2,83.4,34.3,78.4,31.4,79.4 M266,80c-1.8,1.4-0.4,5.1,2,4.3c2.2-0.2,2.2-2.5,1.7-4.1C268.5,79.6,267.1,78.9,266,80 M13.5,147.4 c-3.4,0.5-1.8,6.4,1.4,4.7C17.8,151.3,16.2,146.7,13.5,147.4 M284.2,148.2c-2.7,2.1,1.4,6.2,3.5,3.6 C289.7,149.5,286.5,146.2,284.2,148.2 M267.2,215.5c-2.9,0.6-2.3,5.4,0.8,5C271.4,220.2,270.4,214.7,267.2,215.5 M30.4,216.4 c-1,1.3-0.7,3.6,1,4.1c1.7,0.8,4-1.3,3.2-3.1C34.2,215.5,31.7,215.3,30.4,216.4 M81.2,265.4c-3,0.6-2.3,5.6,0.9,5 C85.3,270,84.3,264.8,81.2,265.4 M217.4,265.5c-3.1,0.8-1.4,6.1,1.6,4.6C222.1,269.2,220.2,264.5,217.4,265.5 M148.2,284.1 c-2.3,1.7,0.4,5.6,2.8,3.9C154.1,286.7,150.8,281.6,148.2,284.1z"}}),i("path",{staticClass:"st0",style:{fill:t.widgetData.popup.background_color},attrs:{d:"M133.6,121.5c5-2.8,10.7-4.3,16.4-4.3c5.7,0.1,11.4,1.6,16.4,4.5c4.9,2.9,9,7,11.8,11.9 c2.8,5,4.2,10.6,4.3,16.3c0,5.7-1.6,11.4-4.4,16.3c-3,5.1-7.4,9.5-12.7,12.2c-4.6,2.8-10.1,4-15.5,4.1c-5.7-0.1-11.3-1.5-16.3-4.3 c-4.9-2.9-9.1-6.9-11.9-11.9c-2.9-5-4.4-10.6-4.6-16.4c0.1-5.7,1.5-11.4,4.4-16.4C124.4,128.7,128.6,124.5,133.6,121.5z"}})]),i("g",[i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M148.2,12.1c1.2-0.9,3.3-0.5,3.8,1c1,1.7-1.1,4.1-2.9,3.3C147.2,15.9,146.7,13.3,148.2,12.1z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M149.9,17.9c23-0.1,46,6.1,65.9,17.7c-16.5,28.7-33.2,57.4-49.5,86.2c-5-2.9-10.6-4.4-16.4-4.5 C149.9,84.1,150,51,149.9,17.9z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M80.3,30.1c2.3-1.9,5.5,1.4,3.4,3.6C81.6,36.4,77.6,32.3,80.3,30.1z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M216.2,30.3c2.2-2.1,5.8,1.4,3.4,3.5C217.8,36.5,213.6,32.2,216.2,30.3z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M35.8,83.9C47.2,64,64,46.9,84,35.7c16.7,28.5,33,57.3,49.6,85.8c-5,3-9.2,7.1-12.1,12.2 C93.1,116.8,64.3,100.6,35.8,83.9z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M31.4,79.4c2.9-1,4.8,4,1.6,4.7C29.9,85.5,28.5,80.4,31.4,79.4z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M266,80c1.1-1.1,2.6-0.4,3.7,0.2c0.5,1.6,0.5,3.9-1.7,4.1C265.6,85,264.2,81.4,266,80z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M178.1,133.7c28.7-16.5,57.3-33.2,86-49.7c11.5,19.9,17.7,42.9,17.6,66c-33.1,0-66.2,0-99.2,0 C182.4,144.3,180.9,138.6,178.1,133.7z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M13.5,147.4c2.7-0.8,4.3,3.9,1.4,4.7C11.7,153.8,10.1,147.9,13.5,147.4z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M284.2,148.2c2.3-2,5.5,1.3,3.5,3.6C285.6,154.4,281.5,150.3,284.2,148.2z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M18.1,150.1c33-0.3,66,0,99,0c0.1,5.7,1.7,11.4,4.6,16.4c-28.7,16.4-57.3,33.1-86,49.7 C24.2,196.1,18,173.1,18.1,150.1z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M165.3,178.5c5.3-2.7,9.7-7.1,12.7-12.2c28.7,16.6,57.4,33.1,86,49.8c-11.4,20.1-28.4,36.8-48.3,48.5 c-15.5-27.8-31.8-55.2-47.5-82.9C167.5,180.4,166.9,178.9,165.3,178.5z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M133.6,178.3c5,2.8,10.6,4.2,16.3,4.3c0.1,33.1,0,66.3,0,99.5c-23.2,0.2-46.2-6.3-66.3-17.7 c1.5-1.6,2.4-3.6,3.5-5.4C102.6,232.1,118.2,205.2,133.6,178.3z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M267.2,215.5c3.2-0.8,4.2,4.7,0.8,5C265,220.9,264.3,216.1,267.2,215.5z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M30.4,216.4c1.3-1.1,3.8-0.9,4.2,1c0.8,1.8-1.5,3.9-3.2,3.1C29.7,220,29.4,217.7,30.4,216.4z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M81.2,265.4c3.1-0.5,4.1,4.6,0.9,5C78.9,271,78.2,265.9,81.2,265.4z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M217.4,265.5c2.8-1,4.7,3.7,1.6,4.6C215.9,271.6,214.3,266.3,217.4,265.5z"}}),i("path",{staticClass:"st1",style:{fill:t.widgetData.popup.theme_color},attrs:{d:"M148.2,284.1c2.6-2.6,5.9,2.6,2.8,3.9C148.5,289.7,145.9,285.9,148.2,284.1z"}})]),i("g",[i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M84,35.7c19.7-11.9,42.9-17.8,65.9-17.8c0,33.1,0,66.2,0,99.3c-5.7,0-11.4,1.5-16.4,4.3 C117,93,100.7,64.2,84,35.7z"}}),i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M182.4,149.9c33.1-0.1,66.2,0,99.2,0c0.1,23.1-6,46.2-17.6,66.1c-28.6-16.6-57.3-33.2-86-49.8 C180.9,161.3,182.4,155.7,182.4,149.9z"}}),i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M35.7,216.1c28.7-16.5,57.2-33.2,86-49.7c2.9,4.9,7.1,9,11.9,11.9c-15.4,26.9-31,53.8-46.4,80.7 c-1.1,1.9-2,3.8-3.5,5.4C64,252.7,47.1,236,35.7,216.1z"}})]),i("g",[i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M166.3,121.7c16.4-28.8,33-57.4,49.5-86.2c20,11.5,36.8,28.4,48.3,48.4c-28.7,16.5-57.3,33.2-86,49.7 C175.3,128.8,171.2,124.6,166.3,121.7z"}}),i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M18.1,150.1C18,127,24.1,103.8,35.8,83.9c28.5,16.7,57.3,33,85.7,49.8c-2.9,4.9-4.3,10.7-4.4,16.4 C84.1,150.1,51.1,149.8,18.1,150.1z"}}),i("path",{staticClass:"st2",style:{fill:t.widgetData.popup.alt_color_1},attrs:{d:"M149.9,182.6c5.4-0.1,10.8-1.3,15.5-4.1c1.5,0.4,2.1,1.9,2.9,3.2c15.7,27.7,32,55.1,47.5,82.9 c-20,11.3-42.8,17.6-65.8,17.5C149.9,248.9,150,215.8,149.9,182.6z"}})])])]):t._e()])],1)}),[],!1,null,"e9224ecc",null));e.default=h.exports}}]);