'},title:"Cadastre-se",fixedArticles:{concat:!0,list:[]}},{category:460734,open:!1,media:{type:"icon",content:"icon-1",svg:''},title:"Configura\xe7\xe3o da Loja",fixedArticles:{concat:!0,list:[]}},{category:460736,open:!1,media:{type:"icon",content:"icon-2",svg:''},title:"Configura\xe7\xe3o de Frete",fixedArticles:{concat:!0,list:[]}},{category:460740,open:!1,media:{type:"icon",content:"icon-10",svg:''},title:"Cataloga\xe7\xe3o de produtos",fixedArticles:{concat:!0,list:[]}},{category:460738,open:!1,media:{type:"icon",content:"icon-5",svg:''},title:"Portal do Seller",fixedArticles:{concat:!0,list:[]}},{category:460742,open:!1,media:{type:"icon",content:"icon-15",svg:''},title:"Gest\xe3o de Vendas",fixedArticles:{concat:!0,list:[]}},{category:460744,open:!1,media:{type:"icon",content:"icon-19",svg:''},title:"Performance e Qualidade",fixedArticles:{concat:!0,list:[]}},{category:460748,open:!1,media:{type:"icon",content:"icon-7",svg:''},title:"Repasse Financeiro",fixedArticles:{concat:!0,list:[]}},{category:460750,open:!1,media:{type:"icon",content:"icon-23",svg:''},title:"Atendimento e Suporte",fixedArticles:{concat:!0,list:[]}},{category:460746,open:!1,media:{type:"icon",content:"icon-12",svg:''},title:"Ads e Promo\xe7\xf5es",fixedArticles:{concat:!0,list:[]}}]},s=[];!function t(n){n.forEach(function(n){n.fixedArticles&&n.fixedArticles.list.length>0&&n.fixedArticles.list.forEach(function(t){s.push({type:"article",id:t})}),n.items&&n.items.length>0&&t(n.items)})}(l.topics);var u,I,d={startModule:"ai",showModulesFooterAfterNotFindingAi:!0,showHistory:!0,clientAuth:!0,isMobile:(I=!1,u=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(u.substr(0,4)))&&(I=!0),I),autoResize:{desktop:!0,mobile:!0},sdk:{appKey:"9b8b9a9510d48e23911e7379bfd1c9b3",load:["field","category","question"],question:[].concat(s,[{type:"article",id:219938285},{type:"category",limit:50,id:460732},{type:"category",limit:50,id:460734},{type:"category",limit:50,id:460736},{type:"category",limit:50,id:460740},{type:"category",limit:50,id:460738},{type:"category",limit:50,id:460742},{type:"category",limit:50,id:460744},{type:"category",limit:50,id:460748},{type:"category",limit:50,id:460750},{type:"category",limit:50,id:460746}]),central:{ai:{help:{limitInput:3},categoryFilter:"460732,460734,460736,460740,460738,460742,460744,460748,460750,460746",layout:{topicList:"menu",topicItem:"square"}},chat:{mode:"popup",appKey:"4bed9865f6cffc2e8e8f5b8070d62e48",popup:{name:"Chat",width:"400",height:"520"}}},dev:{enable:!1,port:9078,rt:"https://rt-minhaporta.homologa.neoassist.com:9878"}},tag:{target:"NeoassistCentral",sizeWidth:!1}},B=e("bJ9Y"),C=e.n(B),b=function(t){this.apps=this.apps||[],this.app=this.app||null,this.apps.push(t),this.app||(this.app=t)},m=C.a;C.a.install=function(t){t.mixin({beforeCreate:function(){this.$options.sdk?(this._sdkRoot=this,this._sdk=this.$options.sdk,this._sdk.init||(this._sdk.init=b),this._sdk.init(this)):this._sdkRoot=this.$parent&&this.$parent._sdkRoot||this}}),Object.defineProperty(t.prototype,"$sdk",{get:function(){return this._sdkRoot._sdk}})},a.default.use(m);var p=new m(d.sdk),Q={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"navigation-container"},[this._t("title"),this._v(" "),n("ul",{staticClass:"navigation-modules"},[this._t("default")],2)],2)},staticRenderFns:[]};var A=e("mUJo")({name:"navigation-container"},Q,!1,function(t){e("aP+q")},null,null).exports,h={render:function(){var t=this.$createElement,n=this._self._c||t;return n("a",this._g(this._b({staticClass:"navigation-module"},"a",this.$attrs,!1),this.$listeners),[n("span",{staticClass:"icon"},[this._t("icon")],2),this._v(" "),n("div",{staticClass:"title"},[this._t("default")],2)])},staticRenderFns:[]};var G=e("mUJo")({name:"navigation-module"},h,!1,function(t){e("txHt")},null,null).exports,F=e("8d0V"),f={name:"button-container",props:{loading:{type:Boolean,default:!1,required:!1}}},Z={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("button",t._g({staticClass:"button-container",class:{"-loading":t.loading}},t.$listeners),[e("span",{staticClass:"icon",class:{loader:t.loading}},[t.loading?e("font-awesome-icon",{attrs:{icon:["fas","spinner"],pulse:!0}}):t._e(),t._v(" "),t._t("icon")],2),t._v(" "),t.loading?t._e():e("span",{staticClass:"title"},[t._t("default")],2),t._v(" "),t._t("description")],2)},staticRenderFns:[]};var y=e("mUJo")(f,Z,!1,function(t){e("3YRO")},null,null).exports,X={name:"module-breadcrumb",computed:r()({showBreadcrumb:function(){return!0},currentPage:function(){return"ai"===this.$route.meta.name?this.lastQuery?this.lastQuery:this.openTopic?this.openTopic.title:"frequentes":this.$route.meta.title}},Object(g.d)("ai",["commonQuestions","query","lastQuery"]),Object(g.b)("ai",["openTopic"])),methods:{pushPage:function(t){this.$store.commit("ai/SET_QUERY",""),this.$store.commit("ai/SET_ALL_TOPICS_CLOSED"),this.$store.commit("ai/DISABLE_ERROR_NO_RESULTS"),this.$store.commit("ai/SET_RESULTS",this.commonQuestions),this.$router.replace("/"+t+"/")}}},v={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("ul",{staticClass:"module-navpage"},[e("li",{staticClass:"page"},[e("a",{staticClass:"module-breadcrumb",attrs:{href:"#"},on:{click:function(n){return t.pushPage("ai")}}},[t._v("\n "+t._s(t.$t("T\xf3picos Frequentes"))+"\n ")])]),t._v(" "),t.showBreadcrumb&&"frequentes"!=t.currentPage?e("li",{staticClass:"divider"},[t._v("\n >\n ")]):t._e(),t._v(" "),t.showBreadcrumb&&"frequentes"!=t.currentPage?e("li",{staticClass:"page"},[e("a",{staticClass:"module-breadcrumb",attrs:{href:"#"}},[t._v("\n "+t._s(t.currentPage)+"\n ")])]):t._e()])},staticRenderFns:[]};var U=e("mUJo")(X,v,!1,function(t){e("Fj5K")},null,null).exports,V={name:"field-container",props:{group:{type:Boolean,default:!1,required:!1}}},N={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"field-container",class:{"field-group":this.group}},[n("span",{staticClass:"iconField"},[this._t("icon")],2),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var W=e("mUJo")(V,N,!1,function(t){e("TJzd")},null,null).exports,R={name:"search-form",data:function(){return{lastQuery:"",loading:!1}},computed:{query:function(){return this.$store.state.ai.query}},methods:{submit:function(){var t=this;this.query&&this.lastQuery!==this.query&&(this.loading=!0,this.lastQuery=this.query,this.$store.dispatch("ai/search",this.query).then(function(){t.loading=!1,t.$store.commit("ai/SET_QUERY",t.query),t.$store.commit("ai/SET_LAST_QUERY",t.query),"ai"!==t.$route.meta.name&&t.$router.push("/ai/")}).catch(function(n){t.loading=!1}))},updateQuery:function(t){return this.$store.commit("ai/SET_QUERY",t)}},components:{buttonContainer:y,fieldContainer:W}},x={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("form",{staticClass:"search-form",on:{submit:function(n){return n.preventDefault(),t.submit.apply(null,arguments)}}},[e("field-container",{staticClass:"-primary -border -enableButton"},[e("input",{staticClass:"field",attrs:{type:"text",placeholder:t.$t("Digite sua d\xfavida aqui")},domProps:{value:t.query},on:{input:function(n){return t.updateQuery(n.target.value)}}}),t._v(" "),e("button-container",{staticClass:"-primary",attrs:{loading:t.loading}},[t.loading?t._e():e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","search"]},slot:"icon"})],1)],1)],1)},staticRenderFns:[]};var Y=e("mUJo")(R,x,!1,function(t){e("7Whb")},null,null).exports,H={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"module-social _container"},[e("p",[t._v(t._s(t.$t("Fique ligado nas nossas redes sociais")))]),t._v(" "),e("ul",[e("li",[e("a",{staticClass:"-instagram",attrs:{href:"https://www.instagram.com/carrefour.marketplace/",target:"_blank"}},[e("img",{attrs:{src:"https://carrefour.neoassist.com/clients/carrefour/images/social/instagram-icon.svg",alt:t.$t("\xcdcone Instagram")}})])]),t._v(" "),e("li",[e("a",{staticClass:"-youtube",attrs:{href:"https://www.youtube.com/c/carrefourmarketplace",target:"_blank"}},[e("img",{attrs:{src:"https://carrefour.neoassist.com/clients/carrefour/images/social/youtube-icon.svg",alt:t.$t("\xcdcone Youtube")}})])]),t._v(" "),e("li",[e("a",{staticClass:"-linkedin",attrs:{href:"https://www.linkedin.com/company/37381598/",target:"_blank"}},[e("img",{attrs:{src:"https://carrefour.neoassist.com/clients/carrefour/images/social/linkedin-icon.svg",alt:t.$t("\xcdcone Linkedin")}})])]),t._v(" "),e("li",[e("a",{staticClass:"-facebook",attrs:{href:"https://www.facebook.com/carrefour.marketplace",target:"_blank"}},[e("img",{attrs:{src:"https://carrefour.neoassist.com/clients/carrefour/images/social/facebook-icon.svg",alt:t.$t("\xcdcone Facebook")}})])])])])},staticRenderFns:[]};var T=e("mUJo")({name:"module-social"},H,!1,function(t){e("pVlY")},"data-v-815ec5cc",null).exports,E={name:"App",data:function(){return{loading:!1,supportsTouch:!1,showHistory:d.showHistory,clientAuth:d.clientAuth}},components:{buttonContainer:y,searchForm:Y,navigationContainer:A,navigationModule:G,moduleSocial:T},computed:r()({startpageMode:function(){return"startpage"===this.$route.meta.name}},Object(g.d)("ai",["commonQuestions","topics","articleToBeOpen","articlesByCategory"]),Object(g.d)("history",["auth","customerName"])),methods:{redirectToStartPage:function(){var t=d.startModule;this.$router.replace("/"+t+"/")},authenticateUser:function(){var t=this;this.$sdk.addEventListener("initialize",function(){var n=t.$store.state.customer.form.authToken;n&&t.$sdk.History.clientLogin(n).then(function(n){t.$store.commit("history/LOGIN",n.data)}).catch(function(n){t.loading=!1,t.error=n.message||!1})})},getTopicArticles:function(){var t=this;this.$sdk.addEventListener("initialize",function(n){n.question.forEach(function(n){"category"===n.type&&(n.articles.forEach(function(n){t.$store.commit("ai/ADD_COMMON_QUESTION",n),t.$store.commit("ai/ADD_RESULT",n)}),t.$store.commit("ai/SET_TOPIC_ARTICLES",{category:n.id,articles:n.articles})),"article"===n.type&&(t.topics.find(function(t){return t.category==n.article.category_id})||t.$store.commit("ai/ADD_TOPIC_ARTICLE",{category:n.article.category_id,article:n.article}))}),n.security.captcha.enabled&&(t.$store.commit("customer/ENABLE_RECAPTCHA"),a.default.use(F.VueReCaptcha,{siteKey:n.security.captcha.siteKey,loaderOptions:{useRecaptchaNet:!1,autoHideBadge:!0}})),t.articleToBeOpen&&t.openArticle(),t.loading=!1})},changeRoute:function(t){"history"==t&&(t=this.auth||this.clientAuth?"history/list":"history",this.loginOpen=!1),this.$route.path!="/"+t+"/"&&(this.$store.commit("customer/RESET_FORM"),this.$router.push("/"+t+"/"))},openChat:function(){"frame"!=d.sdk.central.chat.mode?window.open("https://cdn.atendimen.to/widget/"+d.sdk.central.chat.appKey+"/current#/chat?onlyChat=1",d.sdk.central.chat.popup.name,"Location =NO,status=no,scrollbars=no,width="+d.sdk.central.chat.popup.width+",height="+d.sdk.central.chat.popup.height+",resizable=no,top=30,left=30,scrollbars=no,Titlebar=no,maximized=no"):this.$iframe.sendMessage({event:"loadWidget",data:{app_id:d.sdk.central.chat.appKey,target:"body",mode:"current",page:"chat"}})},openArticle:function(){var t=this,n=this.articlesByCategory,e=void 0,i=void 0;o()(n).forEach(function(r){var a=n[r].find(function(t){return t.article_id==id});a&&(e=a,i=t.topics.find(function(t){return t.category==r}))}),e&&(this.$store.commit("ai/SET_ALL_TOPICS_CLOSED"),this.$store.commit("ai/SET_QUERY",""),this.$store.commit("ai/SET_LAST_QUERY",""),this.$store.commit("ai/DISABLE_ERROR_NO_RESULTS"),this.$store.commit("ai/RESET_BREADCRUMB"),i?(this.$store.commit("ai/SET_TOPIC_OPEN",i),this.$store.commit("ai/SET_ALL_RESULTS_CLOSE"),this.$store.commit("ai/SET_RESULTS",n[i.category]),this.$store.commit("ai/PUSH_BREADCRUMB",i)):this.$store.commit("ai/SET_RESULTS",[e]),this.$store.commit("ai/SET_RESULT_OPEN",e),"ai"!==this.$route.meta.name&&this.$router.push("/ai/"))}},watch:{$route:function(t,n){"ai"!==t.meta.name&&this.$store.commit("ai/SET_ALL_TOPICS_CLOSED")}},mounted:function(){this.supportsTouch=d.isMobile,this.loading=!0,"/"===this.$route.path&&this.redirectToStartPage();var t=this;this.$sdk.addEventListener("initializeFailed",function(n){t.loading=!1,t.$store.commit("error/SET_ERROR",n),t.$router.replace("/error")}),this.getTopicArticles(),localStorage.getItem("authCustomer")&&this.$store.commit("history/LOGIN",JSON.parse(localStorage.getItem("authCustomer"))),this.clientAuth?this.authenticateUser():"/"===this.$route.path&&this.redirectToStartPage(),this.$iframe.sendMessage({event:"setCss",data:{width:"100%"}}),this.$iframe.sendMessage({event:"resize"})}},S={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"central-main",class:{"-loading":t.loading},attrs:{"data-iframe-height":"","data-iframe-width":""}},["error"!==t.$route.meta.name&&"email"!==t.$route.meta.name?e("div",{staticClass:"central-header _container"},[e("h2",{staticClass:"central-subtitle"},[e("span",{staticClass:"text"},[t._v(t._s(t.$t("Este \xe9 um canal exclusivo dos parceiros Marketplace do Carrefour. Digite sua d\xfavida ou escolha uma das op\xe7\xf5es abaixo:")))])]),t._v(" "),t.startpageMode?t._e():e("search-form")],1):t._e(),t._v(" "),"email"===t.$route.meta.name?e("div",{staticClass:"central-header _container"},[e("h2",{staticClass:"central-subtitle bold"},[e("span",{staticClass:"text"},[t._v(t._s(t.$t("Abrir um chamado")))])])]):t._e(),t._v(" "),e("div",{staticClass:"central-content _container"},[e("router-view")],1),t._v(" "),"email"==t.$route.meta.name?e("navigation-container",{staticClass:"_container"},[e("h3",{staticClass:"title -primary",attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(t.$t("Canais de atendimento e Dicas:"))+"\n ")]),t._v(" "),"ai"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/ai/")}}},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","search"]},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("D\xfavidas")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir FAQ")))])],1)],1):t._e(),t._v(" "),"email"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/email/")}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/email-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("E-mail")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir formul\xe1rio")))])])],1):t._e(),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.openChat()}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/chat-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Chat")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir chat")))])])],1),t._v(" "),t.showHistory?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.changeRoute("history")}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/portal-do-seller-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Meus Chamados")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir Chamados")))])])],1):t._e()]):t._e(),t._v(" "),"email"==t.$route.meta.name?e("module-social",{staticClass:"mb-30"}):t._e(),t._v(" "),"error"!==t.$route.meta.name?e("div",{staticClass:"central-footer -primary"},[e("div",{staticClass:"central-logo _container",class:{"-startpage":t.startpageMode}},[t._m(0)])]):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,n=this._self._c||t;return n("span",{staticClass:"logo"},[n("img",{attrs:{src:"https://cdn.atendimen.to/clients/neoassist/central/images/neoassist-powered-by-vt.png"}})])}]};var J=e("mUJo")(E,S,!1,function(t){e("0JnV")},null,null).exports,O=function(t){return bt(["text","password","search","email","tel","url","textarea","number"],t.type)},w=function(t){return bt(["radio","checkbox"],t.type)},D=function(t,n){return t.getAttribute("data-vv-"+n)},k=function(t){return"isNaN"in Number?Number.isNaN(t):"number"==typeof t&&t!=t},L=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t.every(function(t){return null===t||void 0===t})},z=function(t,n){if(t instanceof RegExp&&n instanceof RegExp)return z(t.source,n.source)&&z(t.flags,n.flags);if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;for(var e=0;e0;)n[e]=arguments[e+1];if(nt(Object.assign))return Object.assign.apply(Object,[t].concat(n));if(null==t)throw new TypeError("Cannot convert undefined or null to object");var i=Object(t);return n.forEach(function(t){null!=t&&Object.keys(t).forEach(function(n){i[n]=t[n]})}),i},ot=0,gt="{id}",lt=function(t,n){for(var e=Array.isArray(t)?t:rt(t),i=0;i=0&&t.maxLength<524288&&(n=M("max:"+t.maxLength,n)),t.minLength>0&&(n=M("min:"+t.minLength,n)),"number"===t.type&&(n=M("decimal",n),""!==t.min&&(n=M("min_value:"+t.min,n)),""!==t.max&&(n=M("max_value:"+t.max,n))),n;if(function(t){return bt(["date","week","month","datetime-local","time"],t.type)}(t)){var e=t.step&&Number(t.step)<60?"HH:mm:ss":"HH:mm";if("date"===t.type)return M("date_format:yyyy-MM-dd",n);if("datetime-local"===t.type)return M("date_format:yyyy-MM-ddT"+e,n);if("month"===t.type)return M("date_format:yyyy-MM",n);if("week"===t.type)return M("date_format:yyyy-[W]WW",n);if("time"===t.type)return M("date_format:"+e,n)}return n},Ct=function(t){return nt(Object.values)?Object.values(t):Object.keys(t).map(function(n){return t[n]})},bt=function(t,n){return-1!==t.indexOf(n)},mt=function(t){return Array.isArray(t)&&0===t.length},pt=function(t,n,e){Object.defineProperty(t,n,{configurable:!1,writable:!0,value:e})},Qt="en",At=function(t){void 0===t&&(t={}),this.container={},this.merge(t)},ht={locale:{configurable:!0}};ht.locale.get=function(){return Qt},ht.locale.set=function(t){Qt=t||"en"},At.prototype.hasLocale=function(t){return!!this.container[t]},At.prototype.setDateFormat=function(t,n){this.container[t]||(this.container[t]={}),this.container[t].dateFormat=n},At.prototype.getDateFormat=function(t){return this.container[t]&&this.container[t].dateFormat?this.container[t].dateFormat:null},At.prototype.getMessage=function(t,n,e){var i=null;return i=this.hasMessage(t,n)?this.container[t].messages[n]:this._getDefaultMessage(t),nt(i)?i.apply(void 0,e):i},At.prototype.getFieldMessage=function(t,n,e,i){if(!this.hasLocale(t))return this.getMessage(t,e,i);var r=this.container[t].custom&&this.container[t].custom[n];if(!r||!r[e])return this.getMessage(t,e,i);var a=r[e];return nt(a)?a.apply(void 0,i):a},At.prototype._getDefaultMessage=function(t){return this.hasMessage(t,"_default")?this.container[t].messages._default:this.container.en.messages._default},At.prototype.getAttribute=function(t,n,e){return void 0===e&&(e=""),this.hasAttribute(t,n)?this.container[t].attributes[n]:e},At.prototype.hasMessage=function(t,n){return!!(this.hasLocale(t)&&this.container[t].messages&&this.container[t].messages[n])},At.prototype.hasAttribute=function(t,n){return!!(this.hasLocale(t)&&this.container[t].attributes&&this.container[t].attributes[n])},At.prototype.merge=function(t){dt(this.container,t)},At.prototype.setMessage=function(t,n,e){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].messages||(this.container[t].messages={}),this.container[t].messages[n]=e},At.prototype.setAttribute=function(t,n,e){this.hasLocale(t)||(this.container[t]={messages:{},attributes:{}}),this.container[t].attributes[n]=e},Object.defineProperties(At.prototype,ht);var Gt={default:new At({en:{messages:{},attributes:{},custom:{}}})},Ft="default",ft=function(){};ft._checkDriverName=function(t){if(!t)throw $("you must provide a name to the dictionary driver")},ft.setDriver=function(t,n){void 0===n&&(n=null),this._checkDriverName(t),n&&(Gt[t]=n),Ft=t},ft.getDriver=function(){return Gt[Ft]};var Zt=function t(n,e){void 0===n&&(n=null),void 0===e&&(e=null),this.vmId=e||null,this.items=n&&n instanceof t?n.items:[]};Zt.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,n=0;return{next:function(){return{value:t.items[n++],done:n>t.items.length}}}},Zt.prototype.add=function(t){var n;(n=this.items).push.apply(n,this._normalizeError(t))},Zt.prototype._normalizeError=function(t){var n=this;return Array.isArray(t)?t.map(function(t){return t.scope=L(t.scope)?null:t.scope,t.vmId=L(t.vmId)?n.vmId||null:t.vmId,t}):(t.scope=L(t.scope)?null:t.scope,t.vmId=L(t.vmId)?this.vmId||null:t.vmId,[t])},Zt.prototype.regenerate=function(){this.items.forEach(function(t){t.msg=nt(t.regenerate)?t.regenerate():t.msg})},Zt.prototype.update=function(t,n){var e=st(this.items,function(n){return n.id===t});if(e){var i=this.items.indexOf(e);this.items.splice(i,1),e.scope=n.scope,this.items.push(e)}},Zt.prototype.all=function(t){var n=this;return this.items.filter(function(e){var i=!0,r=!0;return L(t)||(i=e.scope===t),L(n.vmId)||(r=e.vmId===n.vmId),r&&i}).map(function(t){return t.msg})},Zt.prototype.any=function(t){var n=this;return!!this.items.filter(function(e){var i=!0,r=!0;return L(t)||(i=e.scope===t),L(n.vmId)||(r=e.vmId===n.vmId),r&&i}).length},Zt.prototype.clear=function(t){var n=this,e=L(this.vmId)?function(){return!0}:function(t){return t.vmId===n.vmId},i=function(n){return n.scope===t};0===arguments.length?i=function(){return!0}:L(t)&&(t=null);for(var r=0;r=9999&&(ot=0,gt=gt.replace("{id}","_{id}")),ot++,gt.replace("{id}",String(ot))),this.el=t.el,this.updated=!1,this.vmId=t.vmId,pt(this,"dependencies",[]),pt(this,"watchers",[]),pt(this,"events",[]),this.delay=0,this.rules={},this.forceRequired=!1,this._cacheId(t),this.classNames=ct({},Lt.classNames),t=ct({},Lt,t),this._delay=L(t.delay)?0:t.delay,this.validity=t.validity,this.aria=t.aria,this.flags=t.flags||{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},pt(this,"vm",t.vm),pt(this,"componentInstance",t.component),this.ctorConfig=this.componentInstance?j("$options.$_veeValidate",this.componentInstance):void 0,this.update(t),this.initialValue=this.value,this.updated=!1},_t={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};_t.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){return Promise.resolve(!0)}}},_t.isRequired.get=function(){return!!this.rules.required||this.forceRequired},_t.isDisabled.get=function(){return!(!this.el||!this.el.disabled)},_t.alias.get=function(){if(this._alias)return this._alias;var t=null;return this.ctorConfig&&this.ctorConfig.alias&&(t=nt(this.ctorConfig.alias)?this.ctorConfig.alias.call(this.componentInstance):this.ctorConfig.alias),!t&&this.el&&(t=D(this.el,"as")),!t&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:t},_t.value.get=function(){if(nt(this.getter))return this.getter()},_t.bails.get=function(){return this._bails},_t.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},zt.prototype.matches=function(t){var n=this;return!t||(t.id?this.id===t.id:!!(L(t.vmId)?function(){return!0}:function(t){return t===n.vmId})(t.vmId)&&(void 0===t.name&&void 0===t.scope||(void 0===t.scope?this.name===t.name:void 0===t.name?this.scope===t.scope:t.name===this.name&&t.scope===this.scope)))},zt.prototype._cacheId=function(t){this.el&&!t.targetOf&&(this.el._veeValidateId=this.id)},zt.prototype.waitFor=function(t){this._waitingFor=t},zt.prototype.isWaitingFor=function(t){return this._waitingFor===t},zt.prototype.update=function(t){var n,e,i,r=this;if(this.targetOf=t.targetOf||null,this.immediate=t.immediate||this.immediate||!1,this.persist=t.persist||this.persist||!1,!L(t.scope)&&t.scope!==this.scope&&nt(this.validator.update)&&this.validator.update(this.id,{scope:t.scope}),this.scope=L(t.scope)?L(this.scope)?null:this.scope:t.scope,this.name=(L(t.name)?t.name:String(t.name))||this.name||null,this.rules=void 0!==t.rules?P(t.rules):this.rules,this._bails=void 0!==t.bails?t.bails:this._bails,this.model=t.model||this.model,this.listen=void 0!==t.listen?t.listen:this.listen,this.classes=!(!t.classes&&!this.classes)&&!this.componentInstance,this.classNames=tt(t.classNames)?dt(this.classNames,t.classNames):this.classNames,this.getter=nt(t.getter)?t.getter:this.getter,this._alias=t.alias||this._alias,this.events=t.events?wt(t.events):this.events,this.delay=(n=this.events,e=t.delay||this.delay,i=this._delay,"number"==typeof e?n.reduce(function(t,n){return t[n]=e,t},{}):n.reduce(function(t,n){return"object"==typeof e&&n in e?(t[n]=e[n],t):"number"==typeof i?(t[n]=i,t):(t[n]=i&&i[n]||0,t)},{})),this.updateDependencies(),this.addActionListeners(),void 0!==t.rules&&(this.flags.required=this.isRequired),0===Object.keys(t.rules||{}).length&&this.updated){var a=this.flags.validated;this.validator.validate("#"+this.id).then(function(){r.flags.validated=a})}this.flags.validated&&void 0!==t.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},zt.prototype.reset=function(){var t=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var n={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter(function(t){return"required"!==t}).forEach(function(e){t.flags[e]=n[e]}),this.initialValue=this.value,this.flags.changed=!1,this.addValueListeners(),this.addActionListeners(),this.updateClasses(!0),this.updateAriaAttrs(),this.updateCustomValidity()},zt.prototype.setFlags=function(t){var n=this,e={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(t).forEach(function(i){n.flags[i]=t[i],e[i]&&void 0===t[e[i]]&&(n.flags[e[i]]=!t[i])}),void 0===t.untouched&&void 0===t.touched&&void 0===t.dirty&&void 0===t.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},zt.prototype.updateDependencies=function(){var t=this;this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[];var n=Object.keys(this.rules).reduce(function(n,e){return St.isTargetRule(e)&&n.push({selector:t.rules[e][0],name:e}),n},[]);n.length&&this.vm&&this.vm.$el&&n.forEach(function(n){var e=n.selector,i=n.name,r=t.vm.$refs[e],a=Array.isArray(r)?r[0]:r;if(a){var c={vm:t.vm,classes:t.classes,classNames:t.classNames,delay:t.delay,scope:t.scope,events:t.events.join("|"),immediate:t.immediate,targetOf:t.id};nt(a.$watch)?(c.component=a,c.el=a.$el,c.getter=Tt.resolveGetter(a.$el,a.$vnode)):(c.el=a,c.getter=Tt.resolveGetter(a,{})),t.dependencies.push({name:i,field:new zt(c)})}})},zt.prototype.unwatch=function(t){if(void 0===t&&(t=null),!t)return this.watchers.forEach(function(t){return t.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(n){return t.test(n.tag)}).forEach(function(t){return t.unwatch()}),this.watchers=this.watchers.filter(function(n){return!t.test(n.tag)})},zt.prototype.updateClasses=function(t){var n=this;if(void 0===t&&(t=!1),this.classes&&!this.isDisabled){var e=function(e){it(e,n.classNames.dirty,n.flags.dirty),it(e,n.classNames.pristine,n.flags.pristine),it(e,n.classNames.touched,n.flags.touched),it(e,n.classNames.untouched,n.flags.untouched),t&&(it(e,n.classNames.valid,!1),it(e,n.classNames.invalid,!1)),!L(n.flags.valid)&&n.flags.validated&&it(e,n.classNames.valid,n.flags.valid),!L(n.flags.invalid)&&n.flags.validated&&it(e,n.classNames.invalid,n.flags.invalid)};if(w(this.el)){var i=document.querySelectorAll('input[name="'+this.el.name+'"]');rt(i).forEach(e)}else e(this.el)}},zt.prototype.addActionListeners=function(){var t=this;if(this.unwatch(/class/),this.el){var n=function(){t.flags.touched=!0,t.flags.untouched=!1,t.classes&&(it(t.el,t.classNames.touched,!0),it(t.el,t.classNames.untouched,!1)),t.unwatch(/^class_blur$/)},e=O(this.el)?"input":"change",i=function(){t.flags.dirty=!0,t.flags.pristine=!1,t.classes&&(it(t.el,t.classNames.pristine,!1),it(t.el,t.classNames.dirty,!0)),t.unwatch(/^class_input$/)};if(this.componentInstance&&nt(this.componentInstance.$once))return this.componentInstance.$once("input",i),this.componentInstance.$once("blur",n),this.watchers.push({tag:"class_input",unwatch:function(){t.componentInstance.$off("input",i)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){t.componentInstance.$off("blur",n)}});if(this.el){kt(this.el,e,i);var r=w(this.el)?"change":"blur";kt(this.el,r,n),this.watchers.push({tag:"class_input",unwatch:function(){t.el.removeEventListener(e,i)}}),this.watchers.push({tag:"class_blur",unwatch:function(){t.el.removeEventListener(r,n)}})}}},zt.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!O(this.el))&&this.value!==this.initialValue},zt.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":O(this.el)?"input":"change"},zt.prototype._determineEventList=function(t){var n=this;return!this.events.length||this.componentInstance||O(this.el)?[].concat(this.events).map(function(t){return"input"===t&&n.model&&n.model.lazy?"change":t}):this.events.map(function(n){return"input"===n?t:n})},zt.prototype.addValueListeners=function(){var t=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var n={cancelled:!1},e=this.targetOf?function(){var n=t.validator._resolveField("#"+t.targetOf);n&&n.flags.validated&&t.validator.validate("#"+t.targetOf)}:function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];(0===e.length||Ot(e[0]))&&(e[0]=t.value),t.flags.pending=!0,t._cancellationToken=n,t.validator.validate("#"+t.id,e[0])},i=this._determineInputEvent(),r=this._determineEventList(i);if(bt(r,i)){var a=null,c=null,o=!1;if(this.model&&this.model.expression&&(a=this.vm,c=this.model.expression,o=!0),!c&&this.componentInstance&&this.componentInstance.$options.model&&(a=this.componentInstance,c=this.componentInstance.$options.model.prop||"value"),a&&c){var g=K(e,this.delay[i],n),l=a.$watch(c,g);this.watchers.push({tag:"input_model",unwatch:function(){t.vm.$nextTick(function(){l()})}}),o&&(r=r.filter(function(t){return t!==i}))}}r.forEach(function(i){var r=K(e,t.delay[i],n);t._addComponentEventListener(i,r),t._addHTMLEventListener(i,r)})}},zt.prototype._addComponentEventListener=function(t,n){var e=this;this.componentInstance&&(this.componentInstance.$on(t,n),this.watchers.push({tag:"input_vue",unwatch:function(){e.componentInstance.$off(t,n)}}))},zt.prototype._addHTMLEventListener=function(t,n){var e=this;if(this.el&&!this.componentInstance){var i=function(i){kt(i,t,n),e.watchers.push({tag:"input_native",unwatch:function(){i.removeEventListener(t,n)}})};if(i(this.el),w(this.el)){var r=document.querySelectorAll('input[name="'+this.el.name+'"]');rt(r).forEach(function(t){t._veeValidateId&&t!==e.el||i(t)})}}},zt.prototype.updateAriaAttrs=function(){var t=this;if(this.aria&&this.el&&nt(this.el.setAttribute)){var n=function(n){n.setAttribute("aria-required",t.isRequired?"true":"false"),n.setAttribute("aria-invalid",t.flags.invalid?"true":"false")};if(w(this.el)){var e=document.querySelectorAll('input[name="'+this.el.name+'"]');rt(e).forEach(n)}else n(this.el)}},zt.prototype.updateCustomValidity=function(){this.validity&&this.el&&nt(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},zt.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(t){return t.field.destroy()}),this.dependencies=[]},Object.defineProperties(zt.prototype,_t);var jt=function(t){void 0===t&&(t=[]),this.items=t||[],this.itemsById=this.items.reduce(function(t,n){return t[n.id]=n,t},{})},Kt={length:{configurable:!0}};jt.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var t=this,n=0;return{next:function(){return{value:t.items[n++],done:n>t.items.length}}}},Kt.length.get=function(){return this.items.length},jt.prototype.find=function(t){return st(this.items,function(n){return n.matches(t)})},jt.prototype.findById=function(t){return this.itemsById[t]||null},jt.prototype.filter=function(t){return Array.isArray(t)?this.items.filter(function(n){return t.some(function(t){return n.matches(t)})}):this.items.filter(function(n){return n.matches(t)})},jt.prototype.map=function(t){return this.items.map(t)},jt.prototype.remove=function(t){var n=null;if(!(n=t instanceof zt?t:this.find(t)))return null;var e=this.items.indexOf(n);return this.items.splice(e,1),delete this.itemsById[n.id],n},jt.prototype.push=function(t){if(!(t instanceof zt))throw $("FieldBag only accepts instances of Field that has an id defined.");if(!t.id)throw $("Field id must be defined.");if(this.findById(t.id))throw $("Field with id "+t.id+" is already added.");this.items.push(t),this.itemsById[t.id]=t},Object.defineProperties(jt.prototype,Kt);var Mt=function(t,n){this.id=n._uid,this._base=t,this._paused=!1,this.errors=new Zt(t.errors,this.id)},Pt={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Pt.flags.get=function(){var t=this;return this._base.fields.items.filter(function(n){return n.vmId===t.id}).reduce(function(t,n){return n.scope&&(t["$"+n.scope]||(t["$"+n.scope]={}),t["$"+n.scope][n.name]=n.flags),t[n.name]=n.flags,t},{})},Pt.rules.get=function(){return this._base.rules},Pt.fields.get=function(){return new jt(this._base.fields.filter({vmId:this.id}))},Pt.dictionary.get=function(){return this._base.dictionary},Pt.locale.get=function(){return this._base.locale},Pt.locale.set=function(t){this._base.locale=t},Mt.prototype.localize=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base).localize.apply(t,n)},Mt.prototype.update=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base).update.apply(t,n)},Mt.prototype.attach=function(t){var n=ct({},t,{vmId:this.id});return this._base.attach(n)},Mt.prototype.pause=function(){this._paused=!0},Mt.prototype.resume=function(){this._paused=!1},Mt.prototype.remove=function(t){return this._base.remove(t)},Mt.prototype.detach=function(t,n){return this._base.detach(t,n,this.id)},Mt.prototype.extend=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base).extend.apply(t,n)},Mt.prototype.validate=function(t,n,e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validate(t,n,ct({},{vmId:this.id},e||{}))},Mt.prototype.verify=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base).verify.apply(t,n)},Mt.prototype.validateAll=function(t,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validateAll(t,ct({},{vmId:this.id},n||{}))},Mt.prototype.validateScopes=function(t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateScopes(ct({},{vmId:this.id},t||{}))},Mt.prototype.destroy=function(){delete this.id,delete this._base},Mt.prototype.reset=function(t){return this._base.reset(Object.assign({},t||{},{vmId:this.id}))},Mt.prototype.flag=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base).flag.apply(t,n.concat([this.id]))},Mt.prototype._resolveField=function(){for(var t,n=[],e=arguments.length;e--;)n[e]=arguments[e];return(t=this._base)._resolveField.apply(t,n)},Object.defineProperties(Mt.prototype,Pt);var qt=null,$t=function(){return qt},tn={provide:function(){return this.$validator&&!ut(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!ut(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||Ut(this.$options.$_veeValidate||{});var t=Xt(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Mt($t(),this));var n,e=(n=this.$options.inject,!(!tt(n)||!n.$validator));if(this.$validator||!t.inject||e||(this.$validator=new Mt($t(),this)),e||this.$validator){if(!e&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[t.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[t.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce(function(t,n){return n.scope?(t["$"+n.scope]||(t["$"+n.scope]={}),t["$"+n.scope][n.name]=n.flags,t):(t[n.name]=n.flags,t)},{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function nn(t,n){return n&&n.$validator?n.$validator.fields.findById(t._veeValidateId):null}var en={bind:function(t,n,e){var i=e.context.$validator;if(i){var r=Tt.generate(t,n,e);i.attach(r)}},inserted:function(t,n,e){var i=nn(t,e.context),r=Tt.resolveScope(t,n,e);i&&r!==i.scope&&(i.update({scope:r}),i.updated=!1)},update:function(t,n,e){var i=nn(t,e.context);if(!(!i||i.updated&&z(n.value,n.oldValue))){var r=Tt.resolveScope(t,n,e),a=Tt.resolveRules(t,n,e);i.update({scope:r,rules:a})}},unbind:function(t,n,e){var i=e.context,r=nn(t,i);r&&i.$validator.detach(r)}},rn=function(t,n,e){void 0===n&&(n={fastExit:!0}),void 0===e&&(e=null),this.errors=new Zt,this.fields=new jt,this._createFields(t),this.paused=!1,this.fastExit=!!L(n&&n.fastExit)||n.fastExit,this.$vee=e||{_vm:{$nextTick:function(t){return nt(t)?t():Promise.resolve()},$emit:function(){},$off:function(){}}}},an={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},cn={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};cn.rules.get=function(){return St.rules},an.rules.get=function(){return St.rules},an.dictionary.get=function(){return ft.getDriver()},cn.dictionary.get=function(){return ft.getDriver()},an.flags.get=function(){return this.fields.items.reduce(function(t,n){var e;return n.scope?(t["$"+n.scope]=((e={})[n.name]=n.flags,e),t):(t[n.name]=n.flags,t)},{})},an.locale.get=function(){return rn.locale},an.locale.set=function(t){rn.locale=t},cn.locale.get=function(){return ft.getDriver().locale},cn.locale.set=function(t){var n=t!==ft.getDriver().locale;ft.getDriver().locale=t,n&&rn.$vee&&rn.$vee._vm&&rn.$vee._vm.$emit("localeChanged")},rn.create=function(t,n){return new rn(t,n)},rn.extend=function(t,n,e){void 0===e&&(e={}),rn._guardExtend(t,n);var i=n.options||{};rn._merge(t,{validator:n,paramNames:e&&e.paramNames||n.paramNames,options:ct({hasTarget:!1,immediate:!0},i,e||{})})},rn.remove=function(t){St.remove(t)},rn.prototype.localize=function(t,n){rn.localize(t,n)},rn.localize=function(t,n){var e;if(tt(t))ft.getDriver().merge(t);else{if(n){var i=t||n.name;n=ct({},n),ft.getDriver().merge(((e={})[i]=n,e))}t&&(rn.locale=t)}},rn.prototype.attach=function(t){var n=this,e={name:t.name,scope:t.scope,persist:!0},i=t.persist?this.fields.find(e):null;i&&(t.flags=i.flags,i.destroy(),this.fields.remove(i));var r=t.initialValue,a=new zt(t);return this.fields.push(a),a.immediate?this.$vee._vm.$nextTick(function(){return n.validate("#"+a.id,r||a.value,{vmId:t.vmId})}):this._validate(a,r||a.value,{initial:!0}).then(function(t){a.flags.valid=t.valid,a.flags.invalid=!t.valid}),a},rn.prototype.flag=function(t,n,e){void 0===e&&(e=null);var i=this._resolveField(t,void 0,e);i&&n&&i.setFlags(n)},rn.prototype.detach=function(t,n,e){var i=nt(t.destroy)?t:this._resolveField(t,n,e);i&&(i.persist||(i.destroy(),this.errors.remove(i.name,i.scope,i.vmId),this.fields.remove(i)))},rn.prototype.extend=function(t,n,e){void 0===e&&(e={}),rn.extend(t,n,e)},rn.prototype.reset=function(t){var n=this;return this.$vee._vm.$nextTick().then(function(){return n.$vee._vm.$nextTick()}).then(function(){n.fields.filter(t).forEach(function(e){e.waitFor(null),e.reset(),n.errors.remove(e.name,e.scope,t&&t.vmId)})})},rn.prototype.update=function(t,n){var e=n.scope;this._resolveField("#"+t)&&this.errors.update(t,{scope:e})},rn.prototype.remove=function(t){rn.remove(t)},rn.prototype.validate=function(t,n,e){var i=this;void 0===e&&(e={});var r=e.silent,a=e.vmId;if(this.paused)return Promise.resolve(!0);if(L(t))return this.validateScopes({silent:r,vmId:a});if("*"===t)return this.validateAll(void 0,{silent:r,vmId:a});if(/^(.+)\.\*$/.test(t)){var c=t.match(/^(.+)\.\*$/)[1];return this.validateAll(c)}var o=this._resolveField(t);if(!o)return this._handleFieldNotFound(t);r||(o.flags.pending=!0),void 0===n&&(n=o.value);var g=this._validate(o,n);return o.waitFor(g),g.then(function(t){return!r&&o.isWaitingFor(g)&&(o.waitFor(null),i._handleValidationResults([t],a)),t.valid})},rn.prototype.pause=function(){return this.paused=!0,this},rn.prototype.resume=function(){return this.paused=!1,this},rn.prototype.validateAll=function(t,n){var e=this;void 0===n&&(n={});var i=n.silent,r=n.vmId;if(this.paused)return Promise.resolve(!0);var a=null,c=!1;return"string"==typeof t?a={scope:t,vmId:r}:tt(t)?(a=Object.keys(t).map(function(t){return{name:t,vmId:r,scope:null}}),c=!0):a=Array.isArray(t)?t.map(function(t){return"object"==typeof t?Object.assign({vmId:r},t):{name:t,vmId:r}}):{scope:null,vmId:r},Promise.all(this.fields.filter(a).map(function(n){return e._validate(n,c?t[n.name]:n.value)})).then(function(t){return i||e._handleValidationResults(t,r),t.every(function(t){return t.valid})})},rn.prototype.validateScopes=function(t){var n=this;void 0===t&&(t={});var e=t.silent,i=t.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:i}).map(function(t){return n._validate(t,t.value)})).then(function(t){return e||n._handleValidationResults(t,i),t.every(function(t){return t.valid})})},rn.prototype.verify=function(t,n,e){void 0===e&&(e={});var i={name:e&&e.name||"{field}",rules:P(n),bails:j("bails",e,!0),forceRequired:!1,get isRequired(){return!!this.rules.required||this.forceRequired}},r=Object.keys(i.rules).filter(St.isTargetRule);return r.length&&e&&tt(e.values)&&(i.dependencies=r.map(function(t){var n=i.rules[t][0];return{name:t,field:{value:e.values[n]}}})),this._validate(i,t).then(function(t){var n=[],e={};return t.errors.forEach(function(t){n.push(t.msg),e[t.rule]=t.msg}),{valid:t.valid,errors:n,failedRules:e}})},rn.prototype.destroy=function(){this.$vee._vm.$off("localeChanged")},rn.prototype._createFields=function(t){var n=this;t&&Object.keys(t).forEach(function(e){var i=ct({},{name:e,rules:t[e]});n.attach(i)})},rn.prototype._getDateFormat=function(t){var n=null;return t.date_format&&Array.isArray(t.date_format)&&(n=t.date_format[0]),n||ft.getDriver().getDateFormat(this.locale)},rn.prototype._formatErrorMessage=function(t,n,e,i){void 0===e&&(e={}),void 0===i&&(i=null);var r=this._getFieldDisplayName(t),a=this._getLocalizedParams(n,i);return ft.getDriver().getFieldMessage(this.locale,t.name,n.name,[r,a,e])},rn.prototype._convertParamObjectToArray=function(t,n){if(Array.isArray(t))return t;var e=St.getParamNames(n);return e&&tt(t)?e.reduce(function(n,e){return e in t&&n.push(t[e]),n},[]):t},rn.prototype._getLocalizedParams=function(t,n){void 0===n&&(n=null);var e=this._convertParamObjectToArray(t.params,t.name);return t.options.hasTarget&&e&&e[0]?[n||ft.getDriver().getAttribute(this.locale,e[0],e[0])].concat(e.slice(1)):e},rn.prototype._getFieldDisplayName=function(t){return t.alias||ft.getDriver().getAttribute(this.locale,t.name,t.name)},rn.prototype._convertParamArrayToObj=function(t,n){var e=St.getParamNames(n);if(!e)return t;if(tt(t)){if(e.some(function(n){return-1!==Object.keys(t).indexOf(n)}))return t;t=[t]}return t.reduce(function(t,n,i){return t[e[i]]=n,t},{})},rn.prototype._test=function(t,n,e){var i=this,r=St.getValidatorMethod(e.name),a=Array.isArray(e.params)?rt(e.params):e.params;a||(a=[]);var c=null;if(!r||"function"!=typeof r)return Promise.reject($("No such validator '"+e.name+"' exists."));if(e.options.hasTarget&&t.dependencies){var o=st(t.dependencies,function(t){return t.name===e.name});o&&(c=o.field.alias,a=[o.field.value].concat(a.slice(1)))}else"required"===e.name&&t.rejectsFalse&&(a=a.length?a:[!0]);if(e.options.isDate){var g=this._getDateFormat(t.rules);"date_format"!==e.name&&a.push(g)}var l=r(n,this._convertParamArrayToObj(a,e.name));return nt(l.then)?l.then(function(n){var r=!0,a={};return Array.isArray(n)?r=n.every(function(t){return tt(t)?t.valid:t}):(r=tt(n)?n.valid:n,a=n.data),{valid:r,data:l.data,errors:r?[]:[i._createFieldError(t,e,a,c)]}}):(tt(l)||(l={valid:l,data:{}}),{valid:l.valid,data:l.data,errors:l.valid?[]:[this._createFieldError(t,e,l.data,c)]})},rn._merge=function(t,n){var e=n.validator,i=n.options,r=n.paramNames,a=nt(e)?e:e.validate;e.getMessage&&ft.getDriver().setMessage(rn.locale,t,e.getMessage),St.add(t,{validate:a,options:i,paramNames:r})},rn._guardExtend=function(t,n){if(!nt(n)&&!nt(n.validate))throw $("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")},rn.prototype._createFieldError=function(t,n,e,i){var r=this;return{id:t.id,vmId:t.vmId,field:t.name,msg:this._formatErrorMessage(t,n,e,i),rule:n.name,scope:t.scope,regenerate:function(){return r._formatErrorMessage(t,n,e,i)}}},rn.prototype._resolveField=function(t,n,e){if("#"===t[0])return this.fields.findById(t.slice(1));if(!L(n))return this.fields.find({name:t,scope:n,vmId:e});if(bt(t,".")){var i=t.split("."),r=i[0],a=i.slice(1),c=this.fields.find({name:a.join("."),scope:r,vmId:e});if(c)return c}return this.fields.find({name:t,scope:null,vmId:e})},rn.prototype._handleFieldNotFound=function(t,n){var e=L(n)?t:(L(n)?"":n+".")+t;return Promise.reject($('Validating a non-existent field: "'+e+'". Use "attach()" first.'))},rn.prototype._handleValidationResults=function(t,n){var e=this,i=t.map(function(t){return{id:t.id}});this.errors.removeById(i.map(function(t){return t.id})),t.forEach(function(t){e.errors.remove(t.field,t.scope,n)});var r=t.reduce(function(t,n){return t.push.apply(t,n.errors),t},[]);this.errors.add(r),this.fields.filter(i).forEach(function(n){var e=st(t,function(t){return t.id===n.id});n.setFlags({pending:!1,valid:e.valid,validated:!0})})},rn.prototype._shouldSkip=function(t,n){return!1!==t.bails&&(!(!t.isDisabled||!vt().useConstraintAttrs)||!t.isRequired&&(L(n)||""===n||mt(n)))},rn.prototype._shouldBail=function(t){return void 0!==t.bails?t.bails:this.fastExit},rn.prototype._validate=function(t,n,e){var i=this;void 0===e&&(e={});var r=e.initial,a=Object.keys(t.rules).filter(St.isRequireRule);if(t.forceRequired=!1,a.forEach(function(e){var r=St.getOptions(e),a=i._test(t,n,{name:e,params:t.rules[e],options:r});if(nt(a.then))throw $("Require rules cannot be async");if(!tt(a))throw $("Require rules has to return an object (see docs)");!0===a.data.required&&(t.forceRequired=!0)}),this._shouldSkip(t,n))return Promise.resolve({valid:!0,id:t.id,field:t.name,scope:t.scope,errors:[]});var c=[],o=[],g=!1;return nt(t.checkValueChanged)&&(t.flags.changed=t.checkValueChanged()),Object.keys(t.rules).filter(function(t){return!r||!St.has(t)||St.isImmediate(t)}).some(function(e){var r=St.getOptions(e),a=i._test(t,n,{name:e,params:t.rules[e],options:r});return nt(a.then)?c.push(a):!a.valid&&i._shouldBail(t)?(o.push.apply(o,a.errors),g=!0):c.push(new Promise(function(t){return t(a)})),g}),g?Promise.resolve({valid:!1,errors:o,id:t.id,field:t.name,scope:t.scope}):Promise.all(c).then(function(n){return n.reduce(function(t,n){var e;return n.valid||(e=t.errors).push.apply(e,n.errors),t.valid=t.valid&&n.valid,t},{valid:!0,errors:o,id:t.id,field:t.name,scope:t.scope})})},Object.defineProperties(rn.prototype,an),Object.defineProperties(rn,cn);var on=function(t){return tt(t)?Object.keys(t).reduce(function(n,e){return n[e]=on(t[e]),n},{}):nt(t)?t("{0}",["{1}","{2}","{3}"]):t},gn=function(t,n){this.i18n=t,this.rootKey=n},ln={locale:{configurable:!0}};ln.locale.get=function(){return this.i18n.locale},ln.locale.set=function(t){q("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},gn.prototype.getDateFormat=function(t){return this.i18n.getDateTimeFormat(t||this.locale)},gn.prototype.setDateFormat=function(t,n){this.i18n.setDateTimeFormat(t||this.locale,n)},gn.prototype.getMessage=function(t,n,e){var i=this.rootKey+".messages."+n,r=e;return Array.isArray(e)&&(r=[].concat.apply([],e)),this.i18n.te(i)?this.i18n.t(i,r):this.i18n.te(i,this.i18n.fallbackLocale)?this.i18n.t(i,this.i18n.fallbackLocale,r):this.i18n.t(this.rootKey+".messages._default",r)},gn.prototype.getAttribute=function(t,n,e){void 0===e&&(e="");var i=this.rootKey+".attributes."+n;return this.i18n.te(i)?this.i18n.t(i):e},gn.prototype.getFieldMessage=function(t,n,e,i){var r=this.rootKey+".custom."+n+"."+e;return this.i18n.te(r)?this.i18n.t(r,i):this.getMessage(t,e,i)},gn.prototype.merge=function(t){var n=this;Object.keys(t).forEach(function(e){var i,r=dt({},j(e+"."+n.rootKey,n.i18n.messages,{})),a=dt(r,function(t){var n={};return t.messages&&(n.messages=on(t.messages)),t.custom&&(n.custom=on(t.custom)),t.attributes&&(n.attributes=t.attributes),L(t.dateFormat)||(n.dateFormat=t.dateFormat),n}(t[e]));n.i18n.mergeLocaleMessage(e,((i={})[n.rootKey]=a,i)),a.dateFormat&&n.i18n.setDateTimeFormat(e,a.dateFormat)})},gn.prototype.setMessage=function(t,n,e){var i,r;this.merge(((r={})[t]={messages:(i={},i[n]=e,i)},r))},gn.prototype.setAttribute=function(t,n,e){var i,r;this.merge(((r={})[t]={attributes:(i={},i[n]=e,i)},r))},Object.defineProperties(gn.prototype,ln);var sn,un,In,dn={aggressive:function(){return{on:["input"]}},eager:function(t){return t.errors.length?{on:["input"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change"]}}},Bn=function(t,n){var e;this.configure(t),In=this,n&&(sn=n),this._validator=(e=new rn(null,{fastExit:t&&t.fastExit},this),qt=e,e),this._initVM(this.config),this._initI18n(this.config)},Cn={i18nDriver:{configurable:!0},config:{configurable:!0}},bn={i18nDriver:{configurable:!0},config:{configurable:!0}};Bn.setI18nDriver=function(t,n){ft.setDriver(t,n)},Bn.configure=function(t){Ut(t)},Bn.setMode=function(t,n){if(Ut({mode:t}),n){if(!nt(n))throw new Error("A mode implementation must be a function");dn[t]=n}},Bn.use=function(t,n){return void 0===n&&(n={}),nt(t)?In?void t({Validator:rn,ErrorBag:Zt,Rules:rn.rules},n):(un||(un=[]),void un.push({plugin:t,options:n})):q("The plugin must be a callable function")},Bn.install=function(t,n){sn&&t===sn||(sn=t,In=new Bn(n),rn.$vee=In,function(){try{var t=Object.defineProperty({},"passive",{get:function(){Dt=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(t){Dt=!1}}(),sn.mixin(tn),sn.directive("validate",en),un&&(un.forEach(function(t){var n=t.plugin,e=t.options;Bn.use(n,e)}),un=null))},Cn.i18nDriver.get=function(){return ft.getDriver()},bn.i18nDriver.get=function(){return ft.getDriver()},Cn.config.get=function(){return vt()},bn.config.get=function(){return vt()},Bn.prototype._initVM=function(t){var n=this;this._vm=new sn({data:function(){return{errors:n._validator.errors,fields:n._validator.fields}}})},Bn.prototype._initI18n=function(t){var n=this,e=t.dictionary,i=t.i18n,r=t.i18nRootKey,a=t.locale,c=function(){e&&n.i18nDriver.merge(e),n._validator.errors.regenerate()};i?(Bn.setI18nDriver("i18n",new gn(i,r)),i._vm.$watch("locale",c)):"undefined"!=typeof window&&this._vm.$on("localeChanged",c),e&&this.i18nDriver.merge(e),a&&!i&&this._validator.localize(a)},Bn.prototype.configure=function(t){Ut(t)},Object.defineProperties(Bn.prototype,Cn),Object.defineProperties(Bn,bn),Bn.mixin=tn,Bn.directive=en,Bn.Validator=rn,Bn.ErrorBag=Zt;var mn,pn={name:"en",messages:{_default:function(t){return"The "+t+" value is not valid"},after:function(t,n){var e=n[0];return"The "+t+" must be after "+(n[1]?"or equal to ":"")+e},alpha:function(t){return"The "+t+" field may only contain alphabetic characters"},alpha_dash:function(t){return"The "+t+" field may contain alpha-numeric characters as well as dashes and underscores"},alpha_num:function(t){return"The "+t+" field may only contain alpha-numeric characters"},alpha_spaces:function(t){return"The "+t+" field may only contain alphabetic characters as well as spaces"},before:function(t,n){var e=n[0];return"The "+t+" must be before "+(n[1]?"or equal to ":"")+e},between:function(t,n){return"The "+t+" field must be between "+n[0]+" and "+n[1]},confirmed:function(t){return"The "+t+" confirmation does not match"},credit_card:function(t){return"The "+t+" field is invalid"},date_between:function(t,n){return"The "+t+" must be between "+n[0]+" and "+n[1]},date_format:function(t,n){return"The "+t+" must be in the format "+n[0]},decimal:function(t,n){void 0===n&&(n=[]);var e=n[0];return void 0===e&&(e="*"),"The "+t+" field must be numeric and may contain"+(e&&"*"!==e?" "+e:"")+" decimal points"},digits:function(t,n){return"The "+t+" field must be numeric and contains exactly "+n[0]+" digits"},dimensions:function(t,n){return"The "+t+" field must be "+n[0]+" pixels by "+n[1]+" pixels"},email:function(t){return"The "+t+" field must be a valid email"},excluded:function(t){return"The "+t+" field must be a valid value"},ext:function(t){return"The "+t+" field must be a valid file"},image:function(t){return"The "+t+" field must be an image"},included:function(t){return"The "+t+" field must be a valid value"},integer:function(t){return"The "+t+" field must be an integer"},ip:function(t){return"The "+t+" field must be a valid ip address"},ip_or_fqdn:function(t){return"The "+t+" field must be a valid ip address or FQDN"},length:function(t,n){var e=n[0],i=n[1];return i?"The "+t+" length must be between "+e+" and "+i:"The "+t+" length must be "+e},max:function(t,n){return"The "+t+" field may not be greater than "+n[0]+" characters"},max_value:function(t,n){return"The "+t+" field must be "+n[0]+" or less"},mimes:function(t){return"The "+t+" field must have a valid file type"},min:function(t,n){return"The "+t+" field must be at least "+n[0]+" characters"},min_value:function(t,n){return"The "+t+" field must be "+n[0]+" or more"},numeric:function(t){return"The "+t+" field may only contain numeric characters"},regex:function(t){return"The "+t+" field format is invalid"},required:function(t){return"The "+t+" field is required"},required_if:function(t,n){return"The "+t+" field is required when the "+n[0]+" field has this value"},size:function(t,n){return"The "+t+" size must be less than "+function(t){var n=0==(t=1024*Number(t))?0:Math.floor(Math.log(t)/Math.log(1024));return 1*(t/Math.pow(1024,n)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}(n[0])},url:function(t){return"The "+t+" field is not a valid URL"}},attributes:{}};function Qn(t){if(null===t||!0===t||!1===t)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((mn={})[pn.name]=pn,mn));var An=6e4;function hn(t){var n=new Date(t.getTime()),e=n.getTimezoneOffset();n.setSeconds(0,0);var i=n.getTime()%An;return e*An+i}var Gn=36e5,Fn=6e4,fn=2,Zn={dateTimeDelimeter:/[T ]/,plainTime:/:/,timeZoneDelimeter:/[Z ]/i,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function yn(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===t)return new Date(NaN);var e=n||{},i=null==e.additionalDigits?fn:Qn(e.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if(t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))return new Date(t.getTime());if("number"==typeof t||"[object Number]"===Object.prototype.toString.call(t))return new Date(t);if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var r=function(t){var n,e={},i=t.split(Zn.dateTimeDelimeter);Zn.plainTime.test(i[0])?(e.date=null,n=i[0]):(e.date=i[0],n=i[1],Zn.timeZoneDelimeter.test(e.date)&&(e.date=t.split(Zn.timeZoneDelimeter)[0],n=t.substr(e.date.length,t.length)));if(n){var r=Zn.timezone.exec(n);r?(e.time=n.replace(r[1],""),e.timezone=r[1]):e.time=n}return e}(t),a=function(t,n){var e,i=Zn.YYY[n],r=Zn.YYYYY[n];if(e=Zn.YYYY.exec(t)||r.exec(t)){var a=e[1];return{year:parseInt(a,10),restDateString:t.slice(a.length)}}if(e=Zn.YY.exec(t)||i.exec(t)){var c=e[1];return{year:100*parseInt(c,10),restDateString:t.slice(c.length)}}return{year:null}}(r.date,i),c=a.year,o=function(t,n){if(null===n)return null;var e,i,r,a;if(0===t.length)return(i=new Date(0)).setUTCFullYear(n),i;if(e=Zn.MM.exec(t))return i=new Date(0),r=parseInt(e[1],10)-1,Nn(n,r)?(i.setUTCFullYear(n,r),i):new Date(NaN);if(e=Zn.DDD.exec(t)){i=new Date(0);var c=parseInt(e[1],10);return function(t,n){if(n<1)return!1;var e=Vn(t);if(e&&n>366)return!1;if(!e&&n>365)return!1;return!0}(n,c)?(i.setUTCFullYear(n,0,c),i):new Date(NaN)}if(e=Zn.MMDD.exec(t)){i=new Date(0),r=parseInt(e[1],10)-1;var o=parseInt(e[2],10);return Nn(n,r,o)?(i.setUTCFullYear(n,r,o),i):new Date(NaN)}if(e=Zn.Www.exec(t))return a=parseInt(e[1],10)-1,Wn(n,a)?Xn(n,a):new Date(NaN);if(e=Zn.WwwD.exec(t)){a=parseInt(e[1],10)-1;var g=parseInt(e[2],10)-1;return Wn(n,a,g)?Xn(n,a,g):new Date(NaN)}return null}(a.restDateString,c);if(isNaN(o))return new Date(NaN);if(o){var g,l=o.getTime(),s=0;if(r.time&&(s=function(t){var n,e,i;if(n=Zn.HH.exec(t))return Rn(e=parseFloat(n[1].replace(",",".")))?e%24*Gn:NaN;if(n=Zn.HHMM.exec(t))return e=parseInt(n[1],10),i=parseFloat(n[2].replace(",",".")),Rn(e,i)?e%24*Gn+i*Fn:NaN;if(n=Zn.HHMMSS.exec(t)){e=parseInt(n[1],10),i=parseInt(n[2],10);var r=parseFloat(n[3].replace(",","."));return Rn(e,i,r)?e%24*Gn+i*Fn+1e3*r:NaN}return null}(r.time),isNaN(s)))return new Date(NaN);if(r.timezone){if(g=function(t){var n,e,i;if(n=Zn.timezoneZ.exec(t))return 0;if(n=Zn.timezoneHH.exec(t))return i=parseInt(n[2],10),xn()?(e=i*Gn,"+"===n[1]?-e:e):NaN;if(n=Zn.timezoneHHMM.exec(t)){i=parseInt(n[2],10);var r=parseInt(n[3],10);return xn(i,r)?(e=i*Gn+r*Fn,"+"===n[1]?-e:e):NaN}return 0}(r.timezone),isNaN(g))return new Date(NaN)}else g=hn(new Date(l+s)),g=hn(new Date(l+s+g));return new Date(l+s+g)}return new Date(NaN)}function Xn(t,n,e){n=n||0,e=e||0;var i=new Date(0);i.setUTCFullYear(t,0,4);var r=7*n+e+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+r),i}var vn=[31,28,31,30,31,30,31,31,30,31,30,31],Un=[31,29,31,30,31,30,31,31,30,31,30,31];function Vn(t){return t%400==0||t%4==0&&t%100!=0}function Nn(t,n,e){if(n<0||n>11)return!1;if(null!=e){if(e<1)return!1;var i=Vn(t);if(i&&e>Un[n])return!1;if(!i&&e>vn[n])return!1}return!0}function Wn(t,n,e){return!(n<0||n>52)&&(null==e||!(e<0||e>6))}function Rn(t,n,e){return(null==t||!(t<0||t>=25))&&((null==n||!(n<0||n>=60))&&(null==e||!(e<0||e>=60)))}function xn(t,n){return null==n||!(n<0||n>59)}function Yn(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n);return!isNaN(e)}var Hn={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Tn(t){return function(n){var e=n||{},i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}var En={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Sn(t){return function(n,e){var i=e||{},r=i.width?String(i.width):t.defaultWidth;return("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues?t.formattingValues[r]||t.formattingValues[t.defaultFormattingWidth]:t.values[r]||t.values[t.defaultWidth])[t.argumentCallback?t.argumentCallback(n):n]}}function Jn(t){return function(n,e){var i=String(n),r=e||{},a=r.width,c=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],o=i.match(c);if(!o)return null;var g,l=o[0],s=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth];return g="[object Array]"===Object.prototype.toString.call(s)?s.findIndex(function(t){return t.test(i)}):function(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e}(s,function(t){return t.test(i)}),g=t.valueCallback?t.valueCallback(g):g,{value:g=r.valueCallback?r.valueCallback(g):g,rest:i.slice(l.length)}}}var On,wn={formatDistance:function(t,n,e){var i;return e=e||{},i="string"==typeof Hn[t]?Hn[t]:1===n?Hn[t].one:Hn[t].other.replace("{{count}}",n),e.addSuffix?e.comparison>0?"in "+i:i+" ago":i},formatLong:{date:Tn({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Tn({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Tn({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:function(t,n,e,i){return En[t]},localize:{ordinalNumber:function(t,n){var e=Number(t),i=e%100;if(i>20||i<10)switch(i%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},era:Sn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Sn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaulFormattingWidth:"wide"})},match:{ordinalNumber:(On={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,n){var e=String(t),i=n||{},r=e.match(On.matchPattern);if(!r)return null;var a=r[0],c=e.match(On.parsePattern);if(!c)return null;var o=On.valueCallback?On.valueCallback(c[0]):c[0];return{value:o=i.valueCallback?i.valueCallback(o):o,rest:e.slice(a.length)}}),era:Jn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Jn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Jn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Jn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Jn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},Dn=864e5;function kn(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n),i=e.getUTCDay(),r=(i<1?7:0)+i-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function Ln(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n),i=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var a=kn(r,n),c=new Date(0);c.setUTCFullYear(i,0,4),c.setUTCHours(0,0,0,0);var o=kn(c,n);return e.getTime()>=a.getTime()?i+1:e.getTime()>=o.getTime()?i:i-1}var zn=6048e5;function _n(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n),i=kn(e,n).getTime()-function(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=Ln(t,n),i=new Date(0);return i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0),kn(i,n)}(e,n).getTime();return Math.round(i/zn)+1}function jn(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=n||{},i=e.locale,r=i&&i.options&&i.options.weekStartsOn,a=null==r?0:Qn(r),c=null==e.weekStartsOn?a:Qn(e.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var o=yn(t,e),g=o.getUTCDay(),l=(g=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=new Date(0);l.setUTCFullYear(i+1,0,g),l.setUTCHours(0,0,0,0);var s=jn(l,n),u=new Date(0);u.setUTCFullYear(i,0,g),u.setUTCHours(0,0,0,0);var I=jn(u,n);return e.getTime()>=s.getTime()?i+1:e.getTime()>=I.getTime()?i:i-1}var Mn=6048e5;function Pn(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n),i=jn(e,n).getTime()-function(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=n||{},i=e.locale,r=i&&i.options&&i.options.firstWeekContainsDate,a=null==r?1:Qn(r),c=null==e.firstWeekContainsDate?a:Qn(e.firstWeekContainsDate),o=Kn(t,n),g=new Date(0);return g.setUTCFullYear(o,0,c),g.setUTCHours(0,0,0,0),jn(g,n)}(e,n).getTime();return Math.round(i/Mn)+1}var qn="midnight",$n="noon",te="morning",ne="afternoon",ee="evening",ie="night",re={G:function(t,n,e){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return e.era(i,{width:"abbreviated"});case"GGGGG":return e.era(i,{width:"narrow"});case"GGGG":default:return e.era(i,{width:"wide"})}},y:function(t,n,e,i){var r=t.getUTCFullYear(),a=r>0?r:1-r;return"yy"===n?ae(a%100,2):"yo"===n?e.ordinalNumber(a,{unit:"year"}):ae(a,n.length)},Y:function(t,n,e,i){var r=Kn(t,i),a=r>0?r:1-r;return"YY"===n?ae(a%100,2):"Yo"===n?e.ordinalNumber(a,{unit:"year"}):ae(a,n.length)},R:function(t,n,e,i){return ae(Ln(t,i),n.length)},u:function(t,n,e,i){return ae(t.getUTCFullYear(),n.length)},Q:function(t,n,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return ae(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,n,e,i){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return ae(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,n,e,i){var r=t.getUTCMonth();switch(n){case"M":return String(r+1);case"MM":return ae(r+1,2);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(t,n,e,i){var r=t.getUTCMonth();switch(n){case"L":return String(r+1);case"LL":return ae(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(t,n,e,i){var r=Pn(t,i);return"wo"===n?e.ordinalNumber(r,{unit:"week"}):ae(r,n.length)},I:function(t,n,e,i){var r=_n(t,i);return"Io"===n?e.ordinalNumber(r,{unit:"week"}):ae(r,n.length)},d:function(t,n,e,i){var r=t.getUTCDate();return"do"===n?e.ordinalNumber(r,{unit:"date"}):ae(r,n.length)},D:function(t,n,e,i){var r=function(t,n){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var e=yn(t,n),i=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=i-e.getTime();return Math.floor(r/Dn)+1}(t,i);return"Do"===n?e.ordinalNumber(r,{unit:"dayOfYear"}):ae(r,n.length)},E:function(t,n,e,i){var r=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});case"EEEE":default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(t,n,e,i){var r=t.getUTCDay(),a=(r-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return ae(a,2);case"eo":return e.ordinalNumber(a,{unit:"day"});case"eee":return e.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(r,{width:"short",context:"formatting"});case"eeee":default:return e.day(r,{width:"wide",context:"formatting"})}},c:function(t,n,e,i){var r=t.getUTCDay(),a=(r-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return ae(a,n.length);case"co":return e.ordinalNumber(a,{unit:"day"});case"ccc":return e.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(r,{width:"narrow",context:"standalone"});case"cccccc":return e.day(r,{width:"short",context:"standalone"});case"cccc":default:return e.day(r,{width:"wide",context:"standalone"})}},i:function(t,n,e,i){var r=t.getUTCDay(),a=0===r?7:r;switch(n){case"i":return String(a);case"ii":return ae(a,n.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});case"iiii":default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(t,n,e){var i=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":case"aaa":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaaaa":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,n,e){var i,r=t.getUTCHours();switch(i=12===r?$n:0===r?qn:r/12>=1?"pm":"am",n){case"b":case"bb":case"bbb":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbbbb":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,n,e){var i,r=t.getUTCHours();switch(i=r>=17?ee:r>=12?ne:r>=4?te:ie,n){case"B":case"BB":case"BBB":return e.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,n,e,i){var r=t.getUTCHours()%12;return 0===r&&(r=12),"ho"===n?e.ordinalNumber(r,{unit:"hour"}):ae(r,n.length)},H:function(t,n,e,i){var r=t.getUTCHours();return"Ho"===n?e.ordinalNumber(r,{unit:"hour"}):ae(r,n.length)},K:function(t,n,e,i){var r=t.getUTCHours()%12;return"Ko"===n?e.ordinalNumber(r,{unit:"hour"}):ae(r,n.length)},k:function(t,n,e,i){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===n?e.ordinalNumber(r,{unit:"hour"}):ae(r,n.length)},m:function(t,n,e,i){var r=t.getUTCMinutes();return"mo"===n?e.ordinalNumber(r,{unit:"minute"}):ae(r,n.length)},s:function(t,n,e,i){var r=t.getUTCSeconds();return"so"===n?e.ordinalNumber(r,{unit:"second"}):ae(r,n.length)},S:function(t,n,e,i){var r=n.length,a=t.getUTCMilliseconds();return ae(Math.floor(a*Math.pow(10,r-3)),r)},X:function(t,n,e,i){var r=(i._originalDate||t).getTimezoneOffset();if(0===r)return"Z";switch(n){case"X":return oe(r);case"XXXX":case"XX":return ce(r);case"XXXXX":case"XXX":default:return ce(r,":")}},x:function(t,n,e,i){var r=(i._originalDate||t).getTimezoneOffset();switch(n){case"x":return oe(r);case"xxxx":case"xx":return ce(r);case"xxxxx":case"xxx":default:return ce(r,":")}},O:function(t,n,e,i){var r=(i._originalDate||t).getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+ge(r,":");case"OOOO":default:return"GMT"+ce(r,":")}},z:function(t,n,e,i){var r=(i._originalDate||t).getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+ge(r,":");case"zzzz":default:return"GMT"+ce(r,":")}},t:function(t,n,e,i){var r=i._originalDate||t;return ae(Math.floor(r.getTime()/1e3),n.length)},T:function(t,n,e,i){return ae((i._originalDate||t).getTime(),n.length)}};function ae(t,n){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length0?"-":"+",r=Math.abs(t);return i+ae(Math.floor(r/60),2)+e+ae(r%60,2)}function oe(t,n){return t%60==0?(t>0?"-":"+")+ae(Math.abs(t)/60,2):ce(t,n)}function ge(t,n){var e=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),a=i%60;if(0===a)return e+String(r);var c=n||"";return e+String(r)+c+ae(a,2)}function le(t,n,e){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}}function se(t,n,e){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}}var ue={p:se,P:function(t,n,e){var i,r=t.match(/(P+)(p+)?/),a=r[1],c=r[2];if(!c)return le(t,n);switch(a){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"})}return i.replace("{{date}}",le(a,n)).replace("{{time}}",se(c,n))}};function Ie(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return function(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=yn(t,e).getTime(),r=Qn(n);return new Date(i+r)}(t,-Qn(n),e)}var de=["D","DD","YY","YYYY"];function Be(t){return-1!==de.indexOf(t)}function Ce(t){throw new RangeError("`options.awareOfUnicodeTokens` must be set to `true` to use `"+t+"` token; see: https://git.io/fxCyr")}var be=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,me=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pe=/^'(.*?)'?$/,Qe=/''/g;function Ae(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=String(n),r=e||{},a=r.locale||wn,c=a.options&&a.options.firstWeekContainsDate,o=null==c?1:Qn(c),g=null==r.firstWeekContainsDate?o:Qn(r.firstWeekContainsDate);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=a.options&&a.options.weekStartsOn,s=null==l?0:Qn(l),u=null==r.weekStartsOn?s:Qn(r.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!a.localize)throw new RangeError("locale must contain localize property");if(!a.formatLong)throw new RangeError("locale must contain formatLong property");var I=yn(t,r);if(!Yn(I,r))return"Invalid Date";var d=Ie(I,hn(I),r),B={firstWeekContainsDate:g,weekStartsOn:u,locale:a,_originalDate:I};return i.match(me).map(function(t){var n=t[0];return"p"===n||"P"===n?(0,ue[n])(t,a.formatLong,B):t}).join("").match(be).map(function(t){if("''"===t)return"'";var n=t[0];if("'"===n)return t.match(pe)[1].replace(Qe,"'");var e=re[n];return e?(!r.awareOfUnicodeTokens&&Be(t)&&Ce(t),e(d,t,a.localize,B)):t}).join("")}function he(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=yn(t,e),r=yn(n,e);return i.getTime()>r.getTime()}function Ge(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=yn(t,e),r=yn(n,e);return i.getTime()=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=yn(t,e),l=Qn(n),s=g.getUTCDay(),u=((l%7+7)%70,r=i?n:1-n;if(r<=50)e=t||100;else{var a=r+50;e=t+100*Math.floor(a/100)-(t>=a%100?100:0)}return i?e:1-e}var Oe=[31,28,31,30,31,30,31,31,30,31,30,31],we=[31,29,31,30,31,30,31,31,30,31,30,31];function De(t){return t%400==0||t%4==0&&t%100!=0}var ke={G:{priority:140,parse:function(t,n,e,i){switch(n){case"G":case"GG":case"GGG":return e.era(t,{width:"abbreviated"})||e.era(t,{width:"narrow"});case"GGGGG":return e.era(t,{width:"narrow"});case"GGGG":default:return e.era(t,{width:"wide"})||e.era(t,{width:"abbreviated"})||e.era(t,{width:"narrow"})}},set:function(t,n,e){return t.setUTCFullYear(1===n?10:-9,0,1),t.setUTCHours(0,0,0,0),t}},y:{priority:130,parse:function(t,n,e,i){var r=function(t){return{year:t,isTwoDigitYear:"yy"===n}};switch(n){case"y":return Te(4,t,r);case"yo":return e.ordinalNumber(t,{unit:"year",valueCallback:r});default:return Te(n.length,t,r)}},validate:function(t,n,e){return n.isTwoDigitYear||n.year>0},set:function(t,n,e){var i=Kn(t,e);if(n.isTwoDigitYear){var r=Je(n.year,i);return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}var a=i>0?n.year:1-n.year;return t.setUTCFullYear(a,0,1),t.setUTCHours(0,0,0,0),t}},Y:{priority:130,parse:function(t,n,e,i){var r=function(t){return{year:t,isTwoDigitYear:"YY"===n}};switch(n){case"Y":return Te(4,t,r);case"Yo":return e.ordinalNumber(t,{unit:"year",valueCallback:r});default:return Te(n.length,t,r)}},validate:function(t,n,e){return n.isTwoDigitYear||n.year>0},set:function(t,n,e){var i=t.getUTCFullYear();if(n.isTwoDigitYear){var r=Je(n.year,i);return t.setUTCFullYear(r,0,e.firstWeekContainsDate),t.setUTCHours(0,0,0,0),jn(t,e)}var a=i>0?n.year:1-n.year;return t.setUTCFullYear(a,0,e.firstWeekContainsDate),t.setUTCHours(0,0,0,0),jn(t,e)}},R:{priority:130,parse:function(t,n,e,i){return Ee("R"===n?4:n.length,t)},set:function(t,n,e){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),kn(i)}},u:{priority:130,parse:function(t,n,e,i){return Ee("u"===n?4:n.length,t)},set:function(t,n,e){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}},Q:{priority:120,parse:function(t,n,e,i){switch(n){case"Q":case"QQ":return Te(n.length,t);case"Qo":return e.ordinalNumber(t,{unit:"quarter"});case"QQQ":return e.quarter(t,{width:"abbreviated",context:"formatting"})||e.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return e.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(t,{width:"wide",context:"formatting"})||e.quarter(t,{width:"abbreviated",context:"formatting"})||e.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,n,e){return n>=1&&n<=4},set:function(t,n,e){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}},q:{priority:120,parse:function(t,n,e,i){switch(n){case"q":case"qq":return Te(n.length,t);case"qo":return e.ordinalNumber(t,{unit:"quarter"});case"qqq":return e.quarter(t,{width:"abbreviated",context:"standalone"})||e.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return e.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(t,{width:"wide",context:"standalone"})||e.quarter(t,{width:"abbreviated",context:"standalone"})||e.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,n,e){return n>=1&&n<=4},set:function(t,n,e){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t}},M:{priority:110,parse:function(t,n,e,i){var r=function(t){return t-1};switch(n){case"M":return xe(ve.month,t,r);case"MM":return Te(2,t,r);case"Mo":return e.ordinalNumber(t,{unit:"month",valueCallback:r});case"MMM":return e.month(t,{width:"abbreviated",context:"formatting"})||e.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return e.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(t,{width:"wide",context:"formatting"})||e.month(t,{width:"abbreviated",context:"formatting"})||e.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,n,e){return n>=0&&n<=11},set:function(t,n,e){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}},L:{priority:110,parse:function(t,n,e,i){var r=function(t){return t-1};switch(n){case"L":return xe(ve.month,t,r);case"LL":return Te(2,t,r);case"Lo":return e.ordinalNumber(t,{unit:"month",valueCallback:r});case"LLL":return e.month(t,{width:"abbreviated",context:"standalone"})||e.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return e.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(t,{width:"wide",context:"standalone"})||e.month(t,{width:"abbreviated",context:"standalone"})||e.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,n,e){return n>=0&&n<=11},set:function(t,n,e){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}},w:{priority:100,parse:function(t,n,e,i){switch(n){case"w":return xe(ve.week,t);case"wo":return e.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=1&&n<=53},set:function(t,n,e){return jn(function(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=yn(t,e),r=Qn(n),a=Pn(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*a),i}(t,n,e),e)}},I:{priority:100,parse:function(t,n,e,i){switch(n){case"I":return xe(ve.week,t);case"Io":return e.ordinalNumber(t,{unit:"week"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=1&&n<=53},set:function(t,n,e){return kn(function(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=yn(t,e),r=Qn(n),a=_n(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*a),i}(t,n,e),e)}},d:{priority:90,parse:function(t,n,e,i){switch(n){case"d":return xe(ve.date,t);case"do":return e.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}},validate:function(t,n,e){var i=De(t.getUTCFullYear()),r=t.getUTCMonth();return i?n>=1&&n<=we[r]:n>=1&&n<=Oe[r]},set:function(t,n,e){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}},D:{priority:90,parse:function(t,n,e,i){switch(n){case"D":case"DD":return xe(ve.dayOfYear,t);case"Do":return e.ordinalNumber(t,{unit:"date"});default:return Te(n.length,t)}},validate:function(t,n,e){return De(t.getUTCFullYear())?n>=1&&n<=366:n>=1&&n<=365},set:function(t,n,e){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}},E:{priority:90,parse:function(t,n,e,i){switch(n){case"E":case"EE":case"EEE":return e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return e.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return e.day(t,{width:"wide",context:"formatting"})||e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,n,e){return n>=0&&n<=6},set:function(t,n,e){return(t=fe(t,n,e)).setUTCHours(0,0,0,0),t}},e:{priority:90,parse:function(t,n,e,i){var r=function(t){var n=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+n};switch(n){case"e":case"ee":return Te(n.length,t,r);case"eo":return e.ordinalNumber(t,{unit:"day",valueCallback:r});case"eee":return e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"eeeee":return e.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return e.day(t,{width:"wide",context:"formatting"})||e.day(t,{width:"abbreviated",context:"formatting"})||e.day(t,{width:"short",context:"formatting"})||e.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,n,e){return n>=0&&n<=6},set:function(t,n,e){return(t=fe(t,n,e)).setUTCHours(0,0,0,0),t}},c:{priority:90,parse:function(t,n,e,i){var r=function(t){var n=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+n};switch(n){case"c":case"cc":return Te(n.length,t,r);case"co":return e.ordinalNumber(t,{unit:"day",valueCallback:r});case"ccc":return e.day(t,{width:"abbreviated",context:"standalone"})||e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"});case"ccccc":return e.day(t,{width:"narrow",context:"standalone"});case"cccccc":return e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return e.day(t,{width:"wide",context:"standalone"})||e.day(t,{width:"abbreviated",context:"standalone"})||e.day(t,{width:"short",context:"standalone"})||e.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,n,e){return n>=0&&n<=6},set:function(t,n,e){return(t=fe(t,n,e)).setUTCHours(0,0,0,0),t}},i:{priority:90,parse:function(t,n,e,i){var r=function(t){return 0===t?7:t};switch(n){case"i":case"ii":return Te(n.length,t);case"io":return e.ordinalNumber(t,{unit:"day"});case"iii":return e.day(t,{width:"abbreviated",context:"formatting",valueCallback:r})||e.day(t,{width:"short",context:"formatting",valueCallback:r})||e.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return e.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return e.day(t,{width:"short",context:"formatting",valueCallback:r})||e.day(t,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return e.day(t,{width:"wide",context:"formatting",valueCallback:r})||e.day(t,{width:"abbreviated",context:"formatting",valueCallback:r})||e.day(t,{width:"short",context:"formatting",valueCallback:r})||e.day(t,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(t,n,e){return n>=1&&n<=7},set:function(t,n,e){return(t=function(t,n,e){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var i=Qn(n);i%7==0&&(i-=7);var r=yn(t,e),a=r.getUTCDay(),c=((i%7+7)%7<1?7:0)+i-a;return r.setUTCDate(r.getUTCDate()+c),r}(t,n,e)).setUTCHours(0,0,0,0),t}},a:{priority:80,parse:function(t,n,e,i){switch(n){case"a":case"aa":case"aaa":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,n,e){return t.setUTCHours(Se(n),0,0,0),t}},b:{priority:80,parse:function(t,n,e,i){switch(n){case"b":case"bb":case"bbb":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,n,e){return t.setUTCHours(Se(n),0,0,0),t}},B:{priority:80,parse:function(t,n,e,i){switch(n){case"B":case"BB":case"BBB":return e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return e.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(t,{width:"wide",context:"formatting"})||e.dayPeriod(t,{width:"abbreviated",context:"formatting"})||e.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,n,e){return t.setUTCHours(Se(n),0,0,0),t}},h:{priority:70,parse:function(t,n,e,i){switch(n){case"h":return xe(ve.hour12h,t);case"ho":return e.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=1&&n<=12},set:function(t,n,e){var i=t.getUTCHours()>=12;return i&&n<12?t.setUTCHours(n+12,0,0,0):i||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}},H:{priority:70,parse:function(t,n,e,i){switch(n){case"H":return xe(ve.hour23h,t);case"Ho":return e.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=0&&n<=23},set:function(t,n,e){return t.setUTCHours(n,0,0,0),t}},K:{priority:70,parse:function(t,n,e,i){switch(n){case"K":return xe(ve.hour11h,t);case"Ko":return e.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=0&&n<=11},set:function(t,n,e){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}},k:{priority:70,parse:function(t,n,e,i){switch(n){case"k":return xe(ve.hour24h,t);case"ko":return e.ordinalNumber(t,{unit:"hour"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=1&&n<=24},set:function(t,n,e){var i=n<=24?n%24:n;return t.setUTCHours(i,0,0,0),t}},m:{priority:60,parse:function(t,n,e,i){switch(n){case"m":return xe(ve.minute,t);case"mo":return e.ordinalNumber(t,{unit:"minute"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=0&&n<=59},set:function(t,n,e){return t.setUTCMinutes(n,0,0),t}},s:{priority:50,parse:function(t,n,e,i){switch(n){case"s":return xe(ve.second,t);case"so":return e.ordinalNumber(t,{unit:"second"});default:return Te(n.length,t)}},validate:function(t,n,e){return n>=0&&n<=59},set:function(t,n,e){return t.setUTCSeconds(n,0),t}},S:{priority:40,parse:function(t,n,e,i){return Te(n.length,t,function(t){return Math.floor(t*Math.pow(10,3-n.length))})},set:function(t,n,e){return t.setUTCMilliseconds(n),t}},X:{priority:20,parse:function(t,n,e,i){switch(n){case"X":return Ye(Ue,t);case"XX":return Ye(Ve,t);case"XXXX":return Ye(Ne,t);case"XXXXX":return Ye(Re,t);case"XXX":default:return Ye(We,t)}},set:function(t,n,e){return new Date(t.getTime()-n)}},x:{priority:20,parse:function(t,n,e,i){switch(n){case"x":return Ye(Ue,t);case"xx":return Ye(Ve,t);case"xxxx":return Ye(Ne,t);case"xxxxx":return Ye(Re,t);case"xxx":default:return Ye(We,t)}},set:function(t,n,e){return new Date(t.getTime()-n)}},t:{priority:10,parse:function(t,n,e,i){return He(t)},set:function(t,n,e){return new Date(1e3*n)}},T:{priority:10,parse:function(t,n,e,i){return He(t)},set:function(t,n,e){return new Date(n)}}},Le=20,ze=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_e=/^'(.*?)'?$/,je=/''/g,Ke=/\S/;function Me(t){var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}function Pe(t,n){if("string"!=typeof t)return Yn(t)?t:null;var e=function(t,n,e,i){if(arguments.length<3)throw new TypeError("3 arguments required, but only "+arguments.length+" present");var r=String(t),a=String(n),c=i||{},o=c.locale||wn;if(!o.match)throw new RangeError("locale must contain match property");var g=o.options&&o.options.firstWeekContainsDate,l=null==g?1:Qn(g),s=null==c.firstWeekContainsDate?l:Qn(c.firstWeekContainsDate);if(!(s>=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=o.options&&o.options.weekStartsOn,I=null==u?0:Qn(u),d=null==c.weekStartsOn?I:Qn(c.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===a)return""===r?yn(e,c):new Date(NaN);var B,C={firstWeekContainsDate:s,weekStartsOn:d,locale:o},b=[{priority:Le,set:Me,index:0}],m=a.match(ze);for(B=0;B0&&Ke.test(r))return new Date(NaN);var G=b.map(function(t){return t.priority}).sort(function(t,n){return n-t}).filter(function(t,n,e){return e.indexOf(t)===n}).map(function(t){return b.filter(function(n){return n.priority===t}).reverse()}).map(function(t){return t[0]}),F=yn(e,c);if(isNaN(F))return new Date(NaN);var f=Ie(F,hn(F));for(B=0;B=t},di={validate:Ii,paramNames:["min","max"]},Bi={validate:function(t,n){var e=n.targetValue;return String(t)===String(e)},options:{hasTarget:!0},paramNames:["targetValue"]};function Ci(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function bi(t,n){return t(n={exports:{}},n.exports),n.exports}var mi=bi(function(t,n){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){if(!("string"==typeof t||t instanceof String)){var n;throw n=null===t?"null":"object"===(n=e(t))&&t.constructor&&t.constructor.hasOwnProperty("name")?t.constructor.name:"a ".concat(n),new TypeError("Expected string but received ".concat(n,"."))}},t.exports=n.default,t.exports.default=n.default});Ci(mi);var pi=Ci(bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){(0,i.default)(t);var n=t.replace(/[- ]+/g,"");if(!r.test(n))return!1;for(var e,a,c,o=0,g=n.length-1;g>=0;g--)e=n.substring(g,g+1),a=parseInt(e,10),o+=c&&(a*=2)>=10?a%10+1:a,c=!c;return!(o%10!=0||!n)};var e,i=(e=mi)&&e.__esModule?e:{default:e};var r=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;t.exports=n.default,t.exports.default=n.default})),Qi={validate:function(t){return pi(String(t))}},Ai={validate:function(t,n){void 0===n&&(n={});var e=n.min,i=n.max,r=n.inclusivity;void 0===r&&(r="()");var a=n.format;void 0===a&&(a=r,r="()");var c=Pe(String(e),a),o=Pe(String(i),a),g=Pe(String(t),a);return!!(c&&o&&g)&&("()"===r?he(g,c)&&Ge(g,o):"(]"===r?he(g,c)&&(Fe(g,o)||Ge(g,o)):"[)"===r?Ge(g,o)&&(Fe(g,c)||he(g,c)):Fe(g,o)||Fe(g,c)||Ge(g,o)&&he(g,c))},options:{isDate:!0},paramNames:["min","max","inclusivity","format"]},hi={validate:function(t,n){return!!Pe(t,n.format)},options:{isDate:!0},paramNames:["format"]},Gi=function(t,n){void 0===n&&(n={});var e=n.decimals;void 0===e&&(e="*");var i=n.separator;if(void 0===i&&(i="."),L(t)||""===t)return!1;if(Array.isArray(t))return t.every(function(t){return Gi(t,{decimals:e,separator:i})});if(0===Number(e))return/^-?\d*$/.test(t);if(!new RegExp("^[-+]?\\d*(\\"+i+"\\d"+("*"===e?"+":"{1,"+e+"}")+")?([eE]{1}[-]?\\d+)?$").test(t))return!1;var r=parseFloat(t);return r==r},Fi={validate:Gi,paramNames:["decimals","separator"]},fi=function(t,n){var e=n[0];if(Array.isArray(t))return t.every(function(t){return fi(t,[e])});var i=String(t);return/^[0-9]*$/.test(i)&&i.length===Number(e)},Zi={validate:fi},yi=/\.(jpg|svg|jpeg|png|bmp|gif)$/i,Xi={validate:function(t,n){var e=n[0],i=n[1],r=at(t).filter(function(t){return yi.test(t.name)});return 0!==r.length&&Promise.all(r.map(function(t){return function(t,n,e){var i=window.URL||window.webkitURL;return new Promise(function(r){var a=new Image;a.onerror=function(){return r({valid:!1})},a.onload=function(){return r({valid:a.width===Number(n)&&a.height===Number(e)})},a.src=i.createObjectURL(t)})}(t,e,i)}))}},vi=bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;for(var e in n)void 0===t[e]&&(t[e]=n[e]);return t},t.exports=n.default,t.exports.default=n.default});Ci(vi);var Ui=bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n){var e,a;(0,i.default)(t),"object"===r(n)?(e=n.min||0,a=n.max):(e=arguments[1],a=arguments[2]);var c=encodeURI(t).split(/%..|./).length-1;return c>=e&&(void 0===a||c<=a)};var e,i=(e=mi)&&e.__esModule?e:{default:e};function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=n.default,t.exports.default=n.default});Ci(Ui);var Vi=bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n){(0,e.default)(t),(n=(0,i.default)(n,a)).allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));for(var r=t.split("."),c=0;c63)return!1;if(n.require_tld){var o=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(o))return!1}for(var g,l=0;l1&&void 0!==arguments[1]?arguments[1]:"";(0,i.default)(n);e=String(e);if(!e)return t(n,4)||t(n,6);if("4"===e){if(!r.test(n))return!1;var c=n.split(".").sort(function(t,n){return t-n});return c[3]<=255}if("6"===e){var o=n.split(":"),g=!1,l=t(o[o.length-1],4),s=l?7:8;if(o.length>s)return!1;if("::"===n)return!0;"::"===n.substr(0,2)?(o.shift(),o.shift(),g=!0):"::"===n.substr(n.length-2)&&(o.pop(),o.pop(),g=!0);for(var u=0;u0&&u=1:o.length===s}return!1};var e,i=(e=mi)&&e.__esModule?e:{default:e};var r=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,a=/^[0-9A-F]{1,4}$/i;t.exports=n.default,t.exports.default=n.default}),Ri=Ci(Wi),xi=Ci(bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n){if((0,e.default)(t),(n=(0,i.default)(n,g)).require_display_name||n.allow_display_name){var o=t.match(l);if(o)t=o[1];else if(n.require_display_name)return!1}var C=t.split("@"),b=C.pop(),m=C.join("@"),p=b.toLowerCase();if(n.domain_specific_validation&&("gmail.com"===p||"googlemail.com"===p)){var Q=(m=m.toLowerCase()).split("+")[0];if(!(0,r.default)(Q.replace(".",""),{min:6,max:30}))return!1;for(var A=Q.split("."),h=0;h$/i,s=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,u=/^[a-z\d]+$/,I=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,B=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=n.default,t.exports.default=n.default}));var Yi={validate:function(t,n){void 0===n&&(n={});var e=n.multiple;void 0===e&&(e=!1);var i=function(t,n){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&-1===n.indexOf(i)&&(e[i]=t[i]);return e}(n,["multiple"]);e&&!Array.isArray(t)&&(t=String(t).split(",").map(function(t){return t.trim()}));var r=ct({},i);return Array.isArray(t)?t.every(function(t){return xi(String(t),r)}):xi(String(t),r)}},Hi=function(t,n){return Array.isArray(t)?t.every(function(t){return Hi(t,n)}):rt(n).some(function(n){return n==t})},Ti={validate:Hi},Ei={validate:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return!Hi.apply(void 0,t)}},Si={validate:function(t,n){var e=new RegExp(".("+n.join("|")+")$","i");return at(t).every(function(t){return e.test(t.name)})}},Ji={validate:function(t){return(Array.isArray(t)?t:[t]).every(function(t){return/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(t.name)})}},Oi={validate:function(t){return Array.isArray(t)?t.every(function(t){return/^-?[0-9]+$/.test(String(t))}):/^-?[0-9]+$/.test(String(t))}},wi={validate:function(t,n){void 0===n&&(n={});var e=n.version;return void 0===e&&(e=4),L(t)&&(t=""),Array.isArray(t)?t.every(function(t){return Ri(t,e)}):Ri(t,e)},paramNames:["version"]},Di={validate:function(t){return L(t)&&(t=""),Array.isArray(t)?t.every(function(t){return Ri(t,"")||Ni(t)}):Ri(t,"")||Ni(t)}},ki={validate:function(t,n){return void 0===n&&(n=[]),t===n[0]}},Li={validate:function(t,n){return void 0===n&&(n=[]),t!==n[0]}},zi={validate:function(t,n){var e=n[0],i=n[1];return void 0===i&&(i=void 0),!L(t)&&(e=Number(e),"number"==typeof t&&(t=String(t)),t.length||(t=rt(t)),function(t,n,e){return void 0===e?t.length===n:(e=Number(e),t.length>=n&&t.length<=e)}(t,e,i))}},_i=function(t,n){var e=n[0];return L(t)?e>=0:Array.isArray(t)?t.every(function(t){return _i(t,[e])}):String(t).length<=e},ji={validate:_i},Ki=function(t,n){var e=n[0];return!L(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every(function(t){return Ki(t,[e])}):Number(t)<=e)},Mi={validate:Ki},Pi={validate:function(t,n){var e=new RegExp(n.join("|").replace("*",".+")+"$","i");return at(t).every(function(t){return e.test(t.type)})}},qi=function(t,n){var e=n[0];return!L(t)&&(Array.isArray(t)?t.every(function(t){return qi(t,[e])}):String(t).length>=e)},$i={validate:qi},tr=function(t,n){var e=n[0];return!L(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every(function(t){return tr(t,[e])}):Number(t)>=e)},nr={validate:tr},er=/^[\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669]+$/,ir=/^[0-9]+$/,rr={validate:function(t){var n=function(t){var n=String(t);return ir.test(n)||er.test(n)};return Array.isArray(t)?t.every(n):n(t)}},ar=function(t,n){var e=n.expression;return"string"==typeof e&&(e=new RegExp(e)),Array.isArray(t)?t.every(function(t){return ar(t,{expression:e})}):e.test(String(t))},cr={validate:ar,paramNames:["expression"]},or={validate:function(t,n){void 0===n&&(n=[]);var e=n[0];return void 0===e&&(e=!1),!(L(t)||mt(t)||!1===t&&e||!String(t).trim().length)}},gr={validate:function(t,n){void 0===n&&(n=[]);var e=n[0],i=n.slice(1).includes(String(e).trim());if(!i)return{valid:!0,data:{required:i}};var r=mt(t)||[!1,null,void 0].includes(t);return{valid:!(r=r||!String(t).trim().length),data:{required:i}}},options:{hasTarget:!0,computesRequired:!0}},lr={validate:function(t,n){var e=n[0];if(isNaN(e))return!1;var i=1024*Number(e);return at(t).every(function(t){return t.size<=i})}},sr=Ci(bi(function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n){if((0,e.default)(t),!t||t.length>=2083||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;var c,s,u,I,d,B,C,b;if(n=(0,a.default)(n,o),C=t.split("#"),t=C.shift(),C=t.split("?"),t=C.shift(),(C=t.split("://")).length>1){if(c=C.shift().toLowerCase(),n.require_valid_protocol&&-1===n.protocols.indexOf(c))return!1}else{if(n.require_protocol)return!1;if("//"===t.substr(0,2)){if(!n.allow_protocol_relative_urls)return!1;C[0]=t.substr(2)}}if(""===(t=C.join("://")))return!1;if(C=t.split("/"),""===(t=C.shift())&&!n.require_host)return!0;if((C=t.split("@")).length>1){if(n.disallow_auth)return!1;if((s=C.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1}I=C.join("@"),B=null,b=null;var m=I.match(g);m?(u="",b=m[1],B=m[2]||null):(C=I.split(":"),u=C.shift(),C.length&&(B=C.join(":")));if(null!==B&&(d=parseInt(B,10),!/^[0-9]+$/.test(B)||d<=0||d>65535))return!1;if(!((0,r.default)(u)||(0,i.default)(u,n)||b&&(0,r.default)(b,6)))return!1;if(u=u||b,n.host_whitelist&&!l(u,n.host_whitelist))return!1;if(n.host_blacklist&&l(u,n.host_blacklist))return!1;return!0};var e=c(mi),i=c(Vi),r=c(Wi),a=c(vi);function c(t){return t&&t.__esModule?t:{default:t}}var o={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},g=/^\[([^\]]+)\](?::([0-9]+))?$/;function l(t,n){for(var e=0;e0&&this.syncValue(n[0]),this.validateSilent().then(function(n){return t.applyResult(n),n})},validateSilent:function(){var t,n,e=this;return this.setFlags({pending:!0}),Cr.verify(this.value,this.rules,{name:this.name,values:(t=this,n=t.$_veeObserver.refs,t.fieldDeps.reduce(function(t,e){return n[e]?(t[e]=n[e].value,t):t},{})),bails:this.bails}).then(function(t){return e.setFlags({pending:!1}),e.isRequired||e.setFlags({valid:t.valid,invalid:!t.valid}),t})},applyResult:function(t){var n=t.errors,e=t.failedRules;this.messages=n,this.failedRules=ct({},e),this.setFlags({valid:!n.length,changed:this.value!==this.initialValue,invalid:!!n.length,validated:!0})},registerField:function(){Cr||(Cr=$t()||new rn(null,{fastExit:vt().fastExit})),function(t){L(t.id)&&t.id===t.vid&&(t.id=br,br++);var n=t.id,e=t.vid;if(t.isDeactivated||n===e&&t.$_veeObserver.refs[n])return;n!==e&&t.$_veeObserver.refs[n]===t&&t.$_veeObserver.unsubscribe({vid:n});t.$_veeObserver.subscribe(t),t.id=e}(this)}}};function pr(t){return{errors:t.messages,flags:t.flags,classes:t.classes,valid:t.isValid,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];return t.validate.apply(t,n)},aria:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false"}}}function Qr(t){return(nt(t.mode)?t.mode:dn[t.mode])({errors:t.messages,value:t.value,flags:t.flags})}function Ar(t){this.initialized||(this.initialValue=t.value);var n=function(t,n){return!(t._ignoreImmediate||!t.immediate)||t.value!==n.value||!!t._needsValidation||!t.initialized&&void 0===n.value}(this,t);this._needsValidation=!1,this.value=t.value,this._ignoreImmediate=!0,n&&this.validateSilent().then(this.immediate||this.flags.validated?this.applyResult:function(t){return t})}function hr(t){var n=t.$veeHandler,e=Qr(t);return n&&t.$veeDebounce===t.debounce||(n=K(function(){t.$nextTick(function(){var n=t.validateSilent();t._pendingValidation=n,n.then(function(e){n===t._pendingValidation&&(t.applyResult(e),t._pendingValidation=null)})})},e.debounce||t.debounce),t.$veeHandler=n,t.$veeDebounce=t.debounce),{onInput:function(n){t.syncValue(n),t.setFlags({dirty:!0,pristine:!1})},onBlur:function(){t.setFlags({touched:!0,untouched:!1})},onValidate:n}}var Gr={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"};var Fr=0,fr={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},slim:{type:Boolean,default:!1}},data:function(){return{vid:"obs_"+Fr++,refs:{},observers:[],persistedStore:{}}},computed:{ctx:function(){var t=this,n={errors:{},validate:function(n){var e=t.validate(n);return{then:function(t){return e.then(function(n){return n&&nt(t)?Promise.resolve(t()):Promise.resolve(n)})}}},reset:function(){return t.reset()}};return Ct(this.refs).concat(Object.keys(this.persistedStore).map(function(n){return{vid:n,flags:t.persistedStore[n].flags,messages:t.persistedStore[n].errors}}),this.observers).reduce(function(t,n){return Object.keys(Gr).forEach(function(e){var i,r,a=n.flags||n.ctx;e in t?t[e]=(i=t[e],r=a[e],[i,r][Gr[e]](function(t){return t})):t[e]=a[e]}),t.errors[n.vid]=n.messages||Ct(n.ctx.errors).reduce(function(t,n){return t.concat(n)},[]),t},n)}},created:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},activated:function(){this.$_veeObserver&&this.$_veeObserver.subscribe(this,"observer")},deactivated:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},beforeDestroy:function(){this.$_veeObserver&&this.$_veeObserver.unsubscribe(this,"observer")},render:function(t){var n=this.$slots.default||this.$scopedSlots.default||[];return nt(n)&&(n=n(this.ctx)),this.slim?Ht(t,n):t(this.tag,{on:this.$listeners,attrs:this.$attrs},n)},methods:{subscribe:function(t,n){var e;void 0===n&&(n="provider"),"observer"!==n?(this.refs=Object.assign({},this.refs,((e={})[t.vid]=t,e)),t.persist&&this.persistedStore[t.vid]&&this.restoreProviderState(t)):this.observers.push(t)},unsubscribe:function(t,n){var e=t.vid;void 0===n&&(n="provider"),"provider"===n&&this.removeProvider(e);var i=lt(this.observers,function(t){return t.vid===e});-1!==i&&this.observers.splice(i,1)},validate:function(t){void 0===t&&(t={silent:!1});var n=t.silent;return Promise.all(Ct(this.refs).map(function(t){return t[n?"validateSilent":"validate"]().then(function(t){return t.valid})}).concat(this.observers.map(function(t){return t.validate({silent:n})}))).then(function(t){return t.every(function(t){return t})})},reset:function(){var t=this;return Object.keys(this.persistedStore).forEach(function(n){t.$delete(t.persistedStore,n)}),Ct(this.refs).concat(this.observers).forEach(function(t){return t.reset()})},restoreProviderState:function(t){var n=this.persistedStore[t.vid];t.setFlags(n.flags),t.applyResult(n),this.$delete(this.persistedStore,t.vid)},removeProvider:function(t){var n,e=this.refs[t];e&&e.persist&&(this.persistedStore=ct({},this.persistedStore,((n={})[t]={flags:e.flags,errors:e.messages,failedRules:e.failedRules},n))),this.$delete(this.refs,t)}}};Object.keys(Ir).forEach(function(t){rn.extend(t,Ir[t].validate,ct({},Ir[t].options,{paramNames:Ir[t].paramNames}))}),rn.localize({en:pn});Bn.version="2.2.15",Bn.mapFields=function(t){if(!t)return function(){return Br(this.$validator.flags)};var n=function(t){return Array.isArray(t)?t.reduce(function(t,n){return bt(n,".")?t[n.split(".")[1]]=n:t[n]=n,t},{}):t}(t);return Object.keys(n).reduce(function(t,e){var i=n[e];return t[e]=function(){if(this.$validator.flags[i])return this.$validator.flags[i];if("*"===n[e])return Br(this.$validator.flags,!1);if(i.indexOf(".")<=0)return{};var t=i.split("."),r=t[0],a=t.slice(1);return r=this.$validator.flags["$"+r],"*"===(a=a.join("."))&&r?Br(r):r&&r[a]?r[a]:{}},t},{})},Bn.ValidationProvider=mr,Bn.ValidationObserver=fr,Bn.withValidation=function(t,n){void 0===n&&(n=null);var e=nt(t)?t.options:t;e.$__veeInject=!1;var i={name:(e.name||"AnonymousHoc")+"WithValidation",props:ct({},mr.props),data:mr.data,computed:ct({},mr.computed),methods:ct({},mr.methods),$__veeInject:!1,beforeDestroy:mr.beforeDestroy,inject:mr.inject};n||(n=function(t){return t});var r=e.model&&e.model.event||"input";return i.render=function(t){var i;this.registerField();var a=pr(this),c=ct({},this.$listeners),o=Vt(this.$vnode);this._inputEventName=this._inputEventName||Yt(this.$vnode,o),Ar.call(this,o);var g=hr(this),l=g.onInput,s=g.onBlur,u=g.onValidate;Rt(c,r,l),Rt(c,"blur",s),this.normalizedEvents.forEach(function(t,n){Rt(c,t,u)});var I,d,B=(Wt(this.$vnode)||{prop:"value"}).prop,C=ct({},this.$attrs,((i={})[B]=o.value,i),n(a));return t(e,{attrs:this.$attrs,props:C,on:c},(I=this.$slots,d=this.$vnode.context,Object.keys(I).reduce(function(t,n){return I[n].forEach(function(t){t.context||(I[n].context=d,t.data||(t.data={}),t.data.slot=n)}),t.concat(I[n])},[])))},i};var Zr=Bn;var yr=function(t){for(var n=function(t){return t.replace(/[^\d]/g,"")}(t),e=n.substring(0,9),i=n.substring(9,11),r=0;r<10;r++)if(e+i===Array(12).join(r))return!1;var a=function(t){for(var n=null,e=0;e<9;++e)n+=t.toString().charAt(e)*(10-e);var i=n%11;return i<2?0:11-i}(e),c=function(t){for(var n=null,e=0;e<10;++e)n+=t.toString().charAt(e)*(11-e);var i=n%11;return i<2?0:11-i}(""+e+a);return i.toString()===a.toString()+c.toString()},Xr={getMessage:function(t,n){return"Invalid CPF"},validate:function(t,n){return yr(t)}};var vr=function(t){if(""==(t=t.replace(/[^\d]+/g,"")))return!1;if(14!=t.length)return!1;if("00000000000000"==t||"11111111111111"==t||"22222222222222"==t||"33333333333333"==t||"44444444444444"==t||"55555555555555"==t||"66666666666666"==t||"77777777777777"==t||"88888888888888"==t||"99999999999999"==t)return!1;for(var n=t.length-2,e=t.substring(0,n),i=t.substring(n),r=0,a=n-7,c=n;c>=1;c--)r+=e.charAt(n-c)*a--,a<2&&(a=9);var o=r%11<2?0:11-r%11;if(o!=i.charAt(0))return!1;for(n+=1,e=t.substring(0,n),r=0,a=n-7,c=n;c>=1;c--)r+=e.charAt(n-c)*a--,a<2&&(a=9);return(o=r%11<2?0:11-r%11)==i.charAt(1)},Ur={getMessage:function(t,n){return"CNPJ inv\xe1lido"},validate:function(t,n){return vr(t)}},Vr={getMessage:function(t,n){return"Documento inv\xe1lido."},validate:function(t,n){return t.length>14?vr(t):yr(t)}};var Nr=function(t){return""!=(t=t.replace(/[^\d]+/g,""))&&!(t.length<10)&&0!=new RegExp("^((1[1-9])|([2-9][0-9]))((3[0-9]{3}[0-9]{4})|(9[0-9]{3}[0-9]{5}))$").test(t)},Wr={getMessage:function(t,n){return"Telefone inv\xe1lido"},validate:function(t,n){return Nr(t)}};var Rr=function(t){return null!=t.value},xr={getMessage:function(t,n){return"O campo categoryId \xe9 obrigat\xf3rio."},validate:function(t,n){return Rr(t)}},Yr=e("I2X8"),Hr=e.n(Yr),Tr=e("gC+M"),Er=e.n(Tr),Sr=e("odKw");function Jr(t,n){for(var e in n)t[e]=n[e];return t}var Or=/[!'()*]/g,wr=function(t){return"%"+t.charCodeAt(0).toString(16)},Dr=/%2C/g,kr=function(t){return encodeURIComponent(t).replace(Or,wr).replace(Dr,",")};function Lr(t){try{return decodeURIComponent(t)}catch(t){0}return t}var zr=function(t){return null==t||"object"==typeof t?t:String(t)};function _r(t){var n={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),i=Lr(e.shift()),r=e.length>0?Lr(e.join("=")):null;void 0===n[i]?n[i]=r:Array.isArray(n[i])?n[i].push(r):n[i]=[n[i],r]}),n):n}function jr(t){var n=t?Object.keys(t).map(function(n){var e=t[n];if(void 0===e)return"";if(null===e)return kr(n);if(Array.isArray(e)){var i=[];return e.forEach(function(t){void 0!==t&&(null===t?i.push(kr(n)):i.push(kr(n)+"="+kr(t)))}),i.join("&")}return kr(n)+"="+kr(e)}).filter(function(t){return t.length>0}).join("&"):null;return n?"?"+n:""}var Kr=/\/?$/;function Mr(t,n,e,i){var r=i&&i.options.stringifyQuery,a=n.query||{};try{a=Pr(a)}catch(t){}var c={name:n.name||t&&t.name,meta:t&&t.meta||{},path:n.path||"/",hash:n.hash||"",query:a,params:n.params||{},fullPath:$r(n,r),matched:t?function(t){var n=[];for(;t;)n.unshift(t),t=t.parent;return n}(t):[]};return e&&(c.redirectedFrom=$r(e,r)),Object.freeze(c)}function Pr(t){if(Array.isArray(t))return t.map(Pr);if(t&&"object"==typeof t){var n={};for(var e in t)n[e]=Pr(t[e]);return n}return t}var qr=Mr(null,{path:"/"});function $r(t,n){var e=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+(n||jr)(i)+r}function ta(t,n,e){return n===qr?t===n:!!n&&(t.path&&n.path?t.path.replace(Kr,"")===n.path.replace(Kr,"")&&(e||t.hash===n.hash&&na(t.query,n.query)):!(!t.name||!n.name)&&(t.name===n.name&&(e||t.hash===n.hash&&na(t.query,n.query)&&na(t.params,n.params))))}function na(t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),!t||!n)return t===n;var e=Object.keys(t).sort(),i=Object.keys(n).sort();return e.length===i.length&&e.every(function(e,r){var a=t[e];if(i[r]!==e)return!1;var c=n[e];return null==a||null==c?a===c:"object"==typeof a&&"object"==typeof c?na(a,c):String(a)===String(c)})}function ea(t){for(var n=0;n=0&&(n=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{path:t,query:e,hash:n}}(r.path||""),l=n&&n.path||"/",s=g.path?aa(g.path,l,e||r.append):l,u=function(t,n,e){void 0===n&&(n={});var i,r=e||_r;try{i=r(t||"")}catch(t){i={}}for(var a in n){var c=n[a];i[a]=Array.isArray(c)?c.map(zr):zr(c)}return i}(g.query,r.query,i&&i.options.parseQuery),I=r.hash||g.hash;return I&&"#"!==I.charAt(0)&&(I="#"+I),{_normalized:!0,path:s,query:u,hash:I}}var ya,Xa=[String,Object],va=[String,Array],Ua=function(){},Va={name:"RouterLink",props:{to:{type:Xa,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:va,default:"click"}},render:function(t){var n=this,e=this.$router,i=this.$route,r=e.resolve(this.to,i,this.append),a=r.location,c=r.route,o=r.href,g={},l=e.options.linkActiveClass,s=e.options.linkExactActiveClass,u=null==l?"router-link-active":l,I=null==s?"router-link-exact-active":s,d=null==this.activeClass?u:this.activeClass,B=null==this.exactActiveClass?I:this.exactActiveClass,C=c.redirectedFrom?Mr(null,Za(c.redirectedFrom),null,e):c;g[B]=ta(i,C,this.exactPath),g[d]=this.exact||this.exactPath?g[B]:function(t,n){return 0===t.path.replace(Kr,"/").indexOf(n.path.replace(Kr,"/"))&&(!n.hash||t.hash===n.hash)&&function(t,n){for(var e in n)if(!(e in t))return!1;return!0}(t.query,n.query)}(i,C);var b=g[B]?this.ariaCurrentValue:null,m=function(t){Na(t)&&(n.replace?e.replace(a,Ua):e.push(a,Ua))},p={click:Na};Array.isArray(this.event)?this.event.forEach(function(t){p[t]=m}):p[this.event]=m;var Q={class:g},A=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:c,navigate:m,isActive:g[d],isExactActive:g[B]});if(A){if(1===A.length)return A[0];if(A.length>1||!A.length)return 0===A.length?t():t("span",{},A)}if("a"===this.tag)Q.on=p,Q.attrs={href:o,"aria-current":b};else{var h=function t(n){if(n)for(var e,i=0;i-1&&(o.params[I]=e.params[I]);return o.path=fa(s.path,o.params),g(s,o,c)}if(o.path){o.params={};for(var d=0;d-1}function gc(t,n){return oc(t)&&t._isRouter&&(null==n||t.type===n)}function lc(t,n,e){var i=function(r){r>=t.length?e():t[r]?n(t[r],function(){i(r+1)}):i(r+1)};i(0)}function sc(t){return function(n,e,i){var r=!1,a=0,c=null;uc(t,function(t,n,e,o){if("function"==typeof t&&void 0===t.cid){r=!0,a++;var g,l=Bc(function(n){var r;((r=n).__esModule||dc&&"Module"===r[Symbol.toStringTag])&&(n=n.default),t.resolved="function"==typeof n?n:ya.extend(n),e.components[o]=n,--a<=0&&i()}),s=Bc(function(t){var n="Failed to resolve async component "+o+": "+t;c||(c=oc(t)?t:new Error(n),i(c))});try{g=t(l,s)}catch(t){s(t)}if(g)if("function"==typeof g.then)g.then(l,s);else{var u=g.component;u&&"function"==typeof u.then&&u.then(l,s)}}}),r||i()}}function uc(t,n){return Ic(t.map(function(t){return Object.keys(t.components).map(function(e){return n(t.components[e],t.instances[e],t,e)})}))}function Ic(t){return Array.prototype.concat.apply([],t)}var dc="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Bc(t){var n=!1;return function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];if(!n)return n=!0,t.apply(this,e)}}var Cc=function(t,n){this.router=t,this.base=function(t){if(!t)if(Ra){var n=document.querySelector("base");t=(t=n&&n.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(n),this.current=qr,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function bc(t,n,e,i){var r=uc(t,function(t,i,r,a){var c=function(t,n){"function"!=typeof t&&(t=ya.extend(t));return t.options[n]}(t,n);if(c)return Array.isArray(c)?c.map(function(t){return e(t,i,r,a)}):e(c,i,r,a)});return Ic(i?r.reverse():r)}function mc(t,n){if(n)return function(){return t.apply(n,arguments)}}Cc.prototype.listen=function(t){this.cb=t},Cc.prototype.onReady=function(t,n){this.ready?t():(this.readyCbs.push(t),n&&this.readyErrorCbs.push(n))},Cc.prototype.onError=function(t){this.errorCbs.push(t)},Cc.prototype.transitionTo=function(t,n,e){var i,r=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(n){n(t)}),t}var a=this.current;this.confirmTransition(i,function(){r.updateRoute(i),n&&n(i),r.ensureURL(),r.router.afterHooks.forEach(function(t){t&&t(i,a)}),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){e&&e(t),t&&!r.ready&&(gc(t,ec.redirected)&&a===qr||(r.ready=!0,r.readyErrorCbs.forEach(function(n){n(t)})))})},Cc.prototype.confirmTransition=function(t,n,e){var i=this,r=this.current;this.pending=t;var a,c,o=function(t){!gc(t)&&oc(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(n){n(t)}):console.error(t)),e&&e(t)},g=t.matched.length-1,l=r.matched.length-1;if(ta(t,r)&&g===l&&t.matched[g]===r.matched[l])return this.ensureURL(),t.hash&&ka(this.router,r,t,!1),o(((c=ac(a=r,t,ec.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",c));var s=function(t,n){var e,i=Math.max(t.length,n.length);for(e=0;e0)){var n=this.router,e=n.options.scrollBehavior,i=$a&&e;i&&this.listeners.push(Da());var r=function(){var e=t.current,r=Qc(t.base);t.current===qr&&r===t._startLocation||t.transitionTo(r,function(t){i&&ka(n,t,e,!0)})};window.addEventListener("popstate",r),this.listeners.push(function(){window.removeEventListener("popstate",r)})}},n.prototype.go=function(t){window.history.go(t)},n.prototype.push=function(t,n,e){var i=this,r=this.current;this.transitionTo(t,function(t){tc(ca(i.base+t.fullPath)),ka(i.router,t,r,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var i=this,r=this.current;this.transitionTo(t,function(t){nc(ca(i.base+t.fullPath)),ka(i.router,t,r,!1),n&&n(t)},e)},n.prototype.ensureURL=function(t){if(Qc(this.base)!==this.current.fullPath){var n=ca(this.base+this.current.fullPath);t?tc(n):nc(n)}},n.prototype.getCurrentLocation=function(){return Qc(this.base)},n}(Cc);function Qc(t){var n=window.location.pathname,e=n.toLowerCase(),i=t.toLowerCase();return!t||e!==i&&0!==e.indexOf(ca(i+"/"))||(n=n.slice(t.length)),(n||"/")+window.location.search+window.location.hash}var Ac=function(t){function n(n,e,i){t.call(this,n,e),i&&function(t){var n=Qc(t);if(!/^\/#/.test(n))return window.location.replace(ca(t+"/#"+n)),!0}(this.base)||hc()}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var n=this.router.options.scrollBehavior,e=$a&&n;e&&this.listeners.push(Da());var i=function(){var n=t.current;hc()&&t.transitionTo(Gc(),function(i){e&&ka(t.router,i,n,!0),$a||Zc(i.fullPath)})},r=$a?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push(function(){window.removeEventListener(r,i)})}},n.prototype.push=function(t,n,e){var i=this,r=this.current;this.transitionTo(t,function(t){fc(t.fullPath),ka(i.router,t,r,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var i=this,r=this.current;this.transitionTo(t,function(t){Zc(t.fullPath),ka(i.router,t,r,!1),n&&n(t)},e)},n.prototype.go=function(t){window.history.go(t)},n.prototype.ensureURL=function(t){var n=this.current.fullPath;Gc()!==n&&(t?fc(n):Zc(n))},n.prototype.getCurrentLocation=function(){return Gc()},n}(Cc);function hc(){var t=Gc();return"/"===t.charAt(0)||(Zc("/"+t),!1)}function Gc(){var t=window.location.href,n=t.indexOf("#");return n<0?"":t=t.slice(n+1)}function Fc(t){var n=window.location.href,e=n.indexOf("#");return(e>=0?n.slice(0,e):n)+"#"+t}function fc(t){$a?tc(Fc(t)):window.location.hash=t}function Zc(t){$a?nc(Fc(t)):window.location.replace(Fc(t))}var yc=function(t){function n(n,e){t.call(this,n,e),this.stack=[],this.index=-1}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.push=function(t,n,e){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,n&&n(t)},e)},n.prototype.replace=function(t,n,e){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),n&&n(t)},e)},n.prototype.go=function(t){var n=this,e=this.index+t;if(!(e<0||e>=this.stack.length)){var i=this.stack[e];this.confirmTransition(i,function(){var t=n.current;n.index=e,n.updateRoute(i),n.router.afterHooks.forEach(function(n){n&&n(i,t)})},function(t){gc(t,ec.duplicated)&&(n.index=e)})}},n.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},n.prototype.ensureURL=function(){},n}(Cc),Xc=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ya(t.routes||[],this);var n=t.mode||"hash";switch(this.fallback="history"===n&&!$a&&!1!==t.fallback,this.fallback&&(n="hash"),Ra||(n="abstract"),this.mode=n,n){case"history":this.history=new pc(this,t.base);break;case"hash":this.history=new Ac(this,t.base,this.fallback);break;case"abstract":this.history=new yc(this,t.base);break;default:0}},vc={currentRoute:{configurable:!0}};Xc.prototype.match=function(t,n,e){return this.matcher.match(t,n,e)},vc.currentRoute.get=function(){return this.history&&this.history.current},Xc.prototype.init=function(t){var n=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var e=n.apps.indexOf(t);e>-1&&n.apps.splice(e,1),n.app===t&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=t;var e=this.history;if(e instanceof pc||e instanceof Ac){var i=function(t){e.setupListeners(),function(t){var i=e.current,r=n.options.scrollBehavior;$a&&r&&"fullPath"in t&&ka(n,t,i,!1)}(t)};e.transitionTo(e.getCurrentLocation(),i,i)}e.listen(function(t){n.apps.forEach(function(n){n._route=t})})}},Xc.prototype.beforeEach=function(t){return Vc(this.beforeHooks,t)},Xc.prototype.beforeResolve=function(t){return Vc(this.resolveHooks,t)},Xc.prototype.afterEach=function(t){return Vc(this.afterHooks,t)},Xc.prototype.onReady=function(t,n){this.history.onReady(t,n)},Xc.prototype.onError=function(t){this.history.onError(t)},Xc.prototype.push=function(t,n,e){var i=this;if(!n&&!e&&"undefined"!=typeof Promise)return new Promise(function(n,e){i.history.push(t,n,e)});this.history.push(t,n,e)},Xc.prototype.replace=function(t,n,e){var i=this;if(!n&&!e&&"undefined"!=typeof Promise)return new Promise(function(n,e){i.history.replace(t,n,e)});this.history.replace(t,n,e)},Xc.prototype.go=function(t){this.history.go(t)},Xc.prototype.back=function(){this.go(-1)},Xc.prototype.forward=function(){this.go(1)},Xc.prototype.getMatchedComponents=function(t){var n=t?t.matched?t:this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(t){return Object.keys(t.components).map(function(n){return t.components[n]})})):[]},Xc.prototype.resolve=function(t,n,e){var i=Za(t,n=n||this.history.current,e,this),r=this.match(i,n),a=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,n,e){var i="hash"===e?"#"+n:n;return t?ca(t+"/"+i):i}(this.history.base,a,this.mode),normalizedTo:i,resolved:r}},Xc.prototype.getRoutes=function(){return this.matcher.getRoutes()},Xc.prototype.addRoute=function(t,n){this.matcher.addRoute(t,n),this.history.current!==qr&&this.history.transitionTo(this.history.getCurrentLocation())},Xc.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==qr&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Xc.prototype,vc);var Uc=Xc;function Vc(t,n){return t.push(n),function(){var e=t.indexOf(n);e>-1&&t.splice(e,1)}}Xc.install=Wa,Xc.version="3.6.5",Xc.isNavigationFailure=gc,Xc.NavigationFailureType=ec,Xc.START_LOCATION=qr,Ra&&window.Vue&&window.Vue.use(Xc);var Nc=e("ZRhR"),Wc=e.n(Nc),Rc={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",this._g(this._b({staticClass:"central-card"},"div",this.$attrs,!1),this.$listeners),[n("div",{staticClass:"media -icon"},[this._t("icon")],2),this._v(" "),this._t("default")],2)},staticRenderFns:[]};var xc={name:"startpage",methods:{pushPage:function(t){this.$router.replace("/"+t+"/")}},components:{cardContainer:e("mUJo")({name:"card-container"},Rc,!1,function(t){e("IIqD")},null,null).exports}},Yc={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"startoptions"},[e("card-container",{on:{click:function(n){return t.pushPage("email")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["fas","laptop"]},slot:"icon"}),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.$t("Servi\xe7os Online")))]),t._v(" "),e("div",{staticClass:"description"},[t._v("\n Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam alias nam hic odio.\n ")])],1),t._v(" "),e("card-container",{on:{click:function(n){return t.pushPage("email")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["fas","user-tie"]},slot:"icon"}),t._v(" "),e("div",{staticClass:"title"},[t._v(t._s(t.$t("Servi\xe7o Presencial")))]),t._v(" "),e("div",{staticClass:"description"},[t._v("\n Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam alias nam hic odio.\n ")])],1)],1)},staticRenderFns:[]};var Hc=[{path:"/startpage",component:e("mUJo")(xc,Yc,!1,function(t){e("ouPz")},null,null).exports,meta:{name:"startpage",title:"P\xe1gina inicial",titleIcon:["fas","phone"]}}],Tc={render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"alert-container"},[n("div",{staticClass:"message"},[this._t("default")],2),this._v(" "),n("div",{staticClass:"actions"},[this._t("actions")],2)])},staticRenderFns:[]};var Ec=e("mUJo")({name:"alert-container"},Tc,!1,function(t){e("VZhs")},null,null).exports,Sc={name:"module-content",computed:{moduleClass:function(){return"ai"===this.module?"-aiModule":"-otherModules"}},props:{module:{type:String,required:!0}}},Jc={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"module-content",class:this.moduleClass},[this._t("default")],2)},staticRenderFns:[]};var Oc=e("mUJo")(Sc,Jc,!1,function(t){e("rbGy")},null,null).exports,wc={name:"question",data:function(){return{vote:null,articleVotes:{yes:201466723,no:201466873}}},methods:{toggleOpen:function(){var t=!this.item.open;this.$store.commit("ai/SET_ALL_RESULTS_CLOSE"),t&&this.$store.commit("ai/SET_RESULT_OPEN",this.item)},voteAnswer:function(t){this.vote=t,this.$sdk.AI.registerVote(this.articleVotes[t],this.item.article_id)},registerClick:function(t){this.$sdk.AI.registerClick(t)}},computed:{oneItemIsOpen:function(){return this.$store.state.ai.oneItemIsOpen}},props:{item:{type:Object,required:!0},onlyQuestion:{type:Boolean,default:!1,required:!1}},components:{buttonContainer:y},watch:{item:{deep:!0,handler:function(t){t.open&&this.registerClick(this.item),this.vote=null}}},mounted:function(){this.item.open&&this.registerClick(this.item)}},Dc={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.item.open||!t.oneItemIsOpen?e("li",t._g({staticClass:"result-container"},t.$listeners),[e("a",{staticClass:"question-container",on:{click:t.toggleOpen}},[e("span",{staticClass:"title"},[t._v("\n "+t._s(t.item.title)+"\n ")]),t._v(" "),e("span",{staticClass:"icon"},[t.item.open?t._e():e("font-awesome-icon",{attrs:{icon:["fas","plus"]}}),t._v(" "),t.item.open?e("font-awesome-icon",{attrs:{icon:["fas","minus"]}}):t._e()],1)]),t._v(" "),t.item.open&&!t.onlyQuestion?e("div",{staticClass:"answer"},[e("div",{staticClass:"content"},[e("span",{domProps:{innerHTML:t._s(t.item.body)}})]),t._v(" "),e("div",{staticClass:"survey-dialog _textlight _textsmall"},[t.vote?t._e():e("div",{staticClass:"options"},[e("p",[t._v(t._s(t.$t("Esta resposta foi \xfatil para voc\xea?")))]),t._v(" "),e("button-container",{staticClass:"-link -active",on:{click:function(n){return t.voteAnswer("yes")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["far","thumbs-up"]},slot:"icon"}),t._v("\n "+t._s(t.$t("SIM"))+"\n ")],1),t._v(" "),e("button-container",{staticClass:"-link -active",on:{click:function(n){return t.voteAnswer("no")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["far","thumbs-down"]},slot:"icon"}),t._v("\n "+t._s(t.$t("N\xc3O"))+"\n ")],1)],1),t._v(" "),"yes"===t.vote?e("div",{staticClass:"votedMessage _textsuccess"},[e("p",[t._v(t._s(t.$t("Que bom! Obrigado pela resposta.")))])]):t._e(),t._v(" "),"no"===t.vote?e("div",{staticClass:"votedMessage _textdanger"},[e("p",[t._v(t._s(t.$t("Poxa, que pena que n\xe3o conseguimos te ajudar.")))]),t._v(" "),e("p",[t._v(t._s(t.$t("Voc\xea pode entrar em contato atrav\xe9s de qualquer um dos nossos canais de atendimento.")))])]):t._e()])]):t._e()]):t._e()},staticRenderFns:[]};var kc=e("mUJo")(wc,Dc,!1,function(t){e("ngQJ")},null,null).exports,Lc={name:"subject",computed:r()({},Object(g.b)("ai",["categoriesWithArticles"]),Object(g.d)("ai",["articlesByCategory"])),methods:{toggleOpen:function(){var t=this.item.category;if(this.$store.commit("ai/SET_TOPIC_OPEN",this.item),this.$store.commit("ai/PUSH_BREADCRUMB",this.item),this.categoriesWithArticles.includes(t.toString())){var n=this.articlesByCategory[t];this.$store.commit("ai/SET_RESULTS",n)}else this.$store.commit("ai/SET_RESULTS",this.item.items)}},props:{item:{type:Object,required:!0}}},zc={render:function(){var t=this.$createElement,n=this._self._c||t;return n("li",this._g({staticClass:"result-container"},this.$listeners),[n("a",{staticClass:"question-container",on:{click:this.toggleOpen}},[n("span",{staticClass:"icon"},[n("font-awesome-icon",{attrs:{icon:["fas","angle-right"]}})],1),this._v(" "),n("span",{staticClass:"title"},[this._v("\n "+this._s(this.item.title)+"\n ")])])])},staticRenderFns:[]};var _c=e("mUJo")(Lc,zc,!1,function(t){e("6+jr")},null,null).exports,jc={name:"result-container",data:function(){return{vote:null,articleVotes:{yes:201466723,no:201466873}}},methods:{toggleOpen:function(){var t=!this.article.open;this.$store.commit("ai/SET_ALL_RESULTS_CLOSE"),this.$store.commit("ai/SET_ONE_ITEM_IS_OPEN",!1),t&&(this.$store.commit("ai/SET_RESULT_OPEN",this.article),this.$store.commit("ai/SET_ONE_ITEM_IS_OPEN",!0))},voteAnswer:function(t){this.vote=t,this.$sdk.AI.registerVote(this.articleVotes[t],this.article.article_id)},registerClick:function(t){this.$sdk.AI.registerClick(t)}},computed:{oneItemIsOpen:function(){return this.$store.state.ai.oneItemIsOpen}},props:{article:{type:Object,required:!0},onlyQuestion:{type:Boolean,default:!1,required:!1}},components:{buttonContainer:y},watch:{article:{deep:!0,handler:function(t){t.open&&this.registerClick(this.article),this.vote=null}}},mounted:function(){this.article.open&&this.registerClick(this.article)}},Kc={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.article.open||!t.oneItemIsOpen?e("li",t._g({staticClass:"result-container"},t.$listeners),[e("a",{staticClass:"question-container",on:{click:t.toggleOpen}},[e("span",{staticClass:"title"},[t._v("\n "+t._s(t.article.title)+"\n ")]),t._v(" "),e("span",{staticClass:"icon"},[t.article.open?t._e():e("font-awesome-icon",{attrs:{icon:["fas","plus"]}}),t._v(" "),t.article.open?e("font-awesome-icon",{attrs:{icon:["fas","minus"]}}):t._e()],1)]),t._v(" "),t.article.open&&!t.onlyQuestion?e("div",{staticClass:"answer"},[e("div",{staticClass:"content"},[e("span",{domProps:{innerHTML:t._s(t.article.body)}})]),t._v(" "),e("div",{staticClass:"survey-dialog _textlight _textsmall"},[t.vote?t._e():e("div",{staticClass:"options"},[e("p",[t._v(t._s(t.$t("Esta resposta foi \xfatil para voc\xea?")))]),t._v(" "),e("button-container",{staticClass:"-link -active",on:{click:function(n){return t.voteAnswer("yes")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["far","thumbs-up"]},slot:"icon"}),t._v("\n "+t._s(t.$t("SIM"))+"\n ")],1),t._v(" "),e("button-container",{staticClass:"-link -active",on:{click:function(n){return t.voteAnswer("no")}}},[e("font-awesome-icon",{staticClass:"icon",attrs:{slot:"icon",icon:["far","thumbs-down"]},slot:"icon"}),t._v("\n "+t._s(t.$t("N\xc3O"))+"\n ")],1)],1),t._v(" "),"yes"===t.vote?e("div",{staticClass:"votedMessage _textsuccess"},[e("p",[t._v(t._s(t.$t("Que bom! Obrigado pela resposta.")))])]):t._e(),t._v(" "),"no"===t.vote?e("div",{staticClass:"votedMessage _textdanger"},[e("p",[t._v(t._s(t.$t("Poxa, que pena que n\xe3o conseguimos te ajudar.")))]),t._v(" "),e("p",[t._v(t._s(t.$t("Voc\xea pode entrar em contato atrav\xe9s de qualquer um dos nossos canais de atendimento.")))])]):t._e()])]):t._e()]):t._e()},staticRenderFns:[]};var Mc=e("mUJo")(jc,Kc,!1,function(t){e("Bji6")},null,null).exports,Pc={name:"topic-item",props:{active:{type:Boolean,default:!1,required:!1},topic:{type:Object,required:!0}},data:function(){return{isHovering:!1}},components:{resultContainer:Mc},computed:r()({type:function(){return d.sdk.central.ai.layout.topicItem}},Object(g.b)("ai",["categoriesWithArticles"]),Object(g.d)("ai",["articlesByCategory"])),methods:{selectArticle:function(t){this.$store.commit("ai/SET_RESULTS",[t]),this.$store.commit("ai/SET_ALL_RESULTS_CLOSE"),this.$store.commit("ai/SET_RESULT_OPEN",t),this.$store.commit("ai/SET_QUERY",""),"ai"!==this.$route.meta.name&&this.$router.replace("/ai/")},selectTopic:function(){if("article"!==this.type){var t=this.categoriesWithArticles.includes(this.topic.category.toString())?this.articlesByCategory[this.topic.category]:this.topic.items;this.$store.commit("ai/SET_ALL_TOPICS_CLOSED"),this.$store.commit("ai/SET_QUERY",""),this.$store.commit("ai/SET_LAST_QUERY",""),this.$store.commit("ai/SET_TOPIC_OPEN",this.topic),this.$store.commit("ai/SET_RESULTS",t),this.$store.commit("ai/DISABLE_ERROR_NO_RESULTS"),this.$store.commit("ai/RESET_BREADCRUMB"),this.$store.commit("ai/PUSH_BREADCRUMB",this.topic),"ai"!==this.$route.meta.name&&this.$router.push("/ai/"),scrollTo(0,0),this.$iframe.sendMessage({event:"scrollTo",data:{xCoord:0,yCoord:0}})}}}},qc={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"topic-item",class:[t.topic.open?"-active":"",t.type?"-"+t.type:""],on:{click:function(n){return t.selectTopic()},mouseover:function(n){t.isHovering=!0},mouseout:function(n){t.isHovering=!1}}},[t.topic.media.svg?e("div",{staticClass:"media -icon -svg",domProps:{innerHTML:t._s(t.topic.media.svg)}}):e("div",{staticClass:"media -icon"},[e("img",{attrs:{src:"https://cdn.atendimen.to/clients/carrefour/images/"+(t.isHovering||t.topic.open?"white-":"")+t.topic.media.content+".png"}})]),t._v(" "),e("div",{staticClass:"title"},[t._v("\n "+t._s(t.topic.title)+"\n ")]),t._v(" "),"article"===t.type?e("ul",{staticClass:"search-content"},t._l(t.topic.articles,function(n){return e("result-container",{key:n.article_id,attrs:{article:n,onlyQuestion:"article"===t.type},on:{click:function(e){return t.selectArticle(n)}}})}),1):t._e()])},staticRenderFns:[]};var $c=e("mUJo")(Pc,qc,!1,function(t){e("4S5P")},null,null).exports,to={name:"topic-list",computed:{layout:function(){return"-"+d.sdk.central.ai.layout.topicList}}},no={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"topic-list",class:this.layout},[this._t("default")],2)},staticRenderFns:[]};var eo=e("mUJo")(to,no,!1,function(t){e("+KHX")},null,null).exports,io={name:"ai",data:function(){return{clientAuth:d.clientAuth}},components:{alertContainer:Ec,moduleBreadcrumb:U,moduleContent:Oc,moduleSocial:T,navigationContainer:A,navigationModule:G,subject:_c,question:kc,topicItem:$c,topicList:eo},computed:r()({startpageMode:function(){return"startpage"===this.$route.meta.name}},Object(g.b)("ai",["openTopic"]),Object(g.d)({query:function(t){return t.ai.query},lastQuery:function(t){return t.ai.lastQuery},topics:function(t){return t.ai.topics},totalresults:function(t){return t.ai.results},totalItemsPresented:function(t){return t.ai.totalItemsPresented},noResults:function(t){return t.ai.errors.noResults},commonQuestions:function(t){return t.ai.commonQuestions}}),{results:function(){return this.$store.state.ai.results.slice(0,this.totalItemsPresented)},subtitle:function(){return this.lastQuery?'Resultado(s) para "'+this.lastQuery+'"':this.openTopic?this.openTopic.title:"Perguntas frequentes"},oneItemIsOpen:function(){return this.$store.state.ai.oneItemIsOpen}}),methods:r()({},Object(g.c)("ai",{setResultOpen:"SET_RESULT_OPEN"}),{pushPage:function(t){this.$store.commit("ai/SET_QUERY",""),this.$store.commit("ai/SET_ALL_TOPICS_CLOSED"),this.$store.commit("ai/DISABLE_ERROR_NO_RESULTS"),this.$store.commit("ai/SET_RESULTS",this.commonQuestions),"ai"!==this.$route.meta.name&&this.$router.replace("/"+t+"/")},changeRoute:function(t){"history"==t&&(t=this.auth||this.clientAuth?"history/list":"history",this.loginOpen=!1),this.$route.path!="/"+t+"/"&&(this.$store.commit("customer/RESET_FORM"),this.$router.push("/"+t+"/"))},closeArticle:function(){this.$store.commit("ai/SET_ALL_RESULTS_CLOSE"),this.$store.commit("ai/SET_ONE_ITEM_IS_OPEN",!1)},loadMoreItems:function(){this.$store.commit("ai/ADD_TOTAL_ITEMS_VISIBLE")},openChat:function(){"frame"!=d.sdk.central.chat.mode?window.open("https://cdn.atendimen.to/widget/"+d.sdk.central.chat.appKey+"/current#/chat?onlyChat=1",d.sdk.central.chat.popup.name,"Location =NO,status=no,scrollbars=no,width="+d.sdk.central.chat.popup.width+",height="+d.sdk.central.chat.popup.height+",resizable=no,top=30,left=30,scrollbars=no,Titlebar=no,maximized=no"):this.$iframe.sendMessage({event:"loadWidget",data:{app_id:d.sdk.central.chat.appKey,target:"body",mode:"current",page:"chat"}})},scroll:function(){this.$refs.scroll&&d.isMobile?(scrollTo(0,this.$refs.scroll.offsetHeight),this.$iframe.sendMessage({event:"scrollTo",data:{xCoord:0,yCoord:this.$refs.scroll.offsetHeight}})):this.$refs.scroll&&!d.isMobile&&(scrollTo(0,0),this.$iframe.sendMessage({event:"scrollTo",data:{xCoord:0,yCoord:0}}))}})},ro={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("module-content",{class:[t.results.length>0||t.noResults?"-modulecolumns":"-modulefull"],attrs:{module:"ai"}},[e("topic-list",[t._l(t.topics,function(n,i){return e("topic-item",{key:i,staticClass:"_textprimaryOut",attrs:{topic:n},on:{scroll:t.scroll}})}),t._v(" "),e("navigation-container",{staticClass:"_container"},[e("h3",{staticClass:"title -primary -custom",attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(t.$t("Canais de atendimento do Carrefour marketplace"))+"\n ")]),t._v(" "),"ai"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/ai/")}}},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","search"]},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("D\xfavidas")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir FAQ")))])],1)],1):t._e(),t._v(" "),"email"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/email/")}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/email-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Abrir chamado")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir formul\xe1rio")))])])],1):t._e(),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.openChat()}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/chat-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Chat")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir chat")))])])],1),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.changeRoute("history")}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/portal-do-seller-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Meus Chamados")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir Chamados")))])])],1)]),t._v(" "),e("module-social")],2),t._v(" "),t.results.length>0&&!t.noResults?e("div",{ref:"scroll",staticClass:"topic-result"},[e("h2",{key:t.subtitle,staticClass:"central-subtitle -primary"},[e("span",{staticClass:"text"},[t._v(t._s(t.subtitle))])]),t._v(" "),e("ul",{key:"result-"+t.subtitle,staticClass:"search-content"},t._l(t.results,function(t,n){return e("article"==t.type?"question":t.type,{key:n,tag:"component",attrs:{item:t}})}),1),t._v(" "),t.oneItemIsOpen?e("a",{staticClass:"back-to-topics",on:{click:t.closeArticle}},[e("div",{staticClass:"media -icon"},[e("font-awesome-icon",{attrs:{icon:["fas","angle-left"]}})],1),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Voltar")))])]):t._e(),t._v(" "),t.results.length>0&&!t.noResults&&t.results.length");return""!=e&&(e+=" Mensagem: "),e+=t.form.fquestion,t.updateFormField("question",e),n.next=9,t.$store.commit("customer/SET_FORM_FIELD",{field:"question",value:e});case 9:case"end":return n.stop()}},n,t)}))()},updateFormField:function(t,n){return this.$store.commit("customer/SET_FORM_FIELD",{field:t,value:n})},updateSelectField:function(t,n,e){var i=this;if(null===n&&(n={value:null}),"undefined"!=t){if(e&&e.forEach(function(t){i.form[t]&&i.$store.commit("customer/SET_FORM_FIELD",{field:t,value:null})}),[354355,363097,363099].indexOf(n.value)>-1){var r=this.$store.state.email.duvidas[n.value];this.updateConcatQuestion("duvidas",r[0])}if(!n.enableSubItems)return this.$store.commit("customer/SET_FORM_FIELD",{field:t,value:null}),void this.updateFormField("categoryId",n.value);this.$store.commit("customer/SET_FORM_FIELD",{field:"categoryId",value:null}),this.updateFormField(t,n.value)}},updateRadioField:function(t,n,e,i){this.resetRadioChilds(e);"concat"!=i?this.updateFormField(t,n):this.updateConcatQuestion(t,n)},submit:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.selectErrors=[],n.prev=1,n.next=4,t.validateFields();case 4:if(n.sent){n.next=7;break}return n.abrupt("return");case 7:if(t.loading=!0,t.error=!1,!t.recaptchaEnabled){n.next=13;break}return n.next=12,t.recaptcha();case 12:t.$store.commit("customer/SET_FORM_FIELD",{field:"responseKey",value:t.recaptchaToken});case 13:t.concatenateQuestion(),t.concatAttachments(),t.$sdk.Email.submit(t.form).then(function(n){t.loading=!1,t.$store.commit("email/SET_PROTOCOL",n.protocol),t.emailSent=!0,t.selectErrors=[]}).catch(function(n){t.loading=!1,n.errors?t.error=n.errors[o()(n.errors)[0]][0]||!1:t.error=n.message||!1,n.code===t.$sdk.Errors.EMAIL.CODES.VALIDATION_ERROR&&t.showSubmitValidationErrors(n.errors)}),n.next=21;break;case 18:return n.prev=18,n.t0=n.catch(1),n.abrupt("return");case 21:case"end":return n.stop()}},n,t,[[1,18]])}))()},sendNewEmail:function(){this.emailSent=!1,this.resetProtocol(),this.resetForm()},showSubmitValidationErrors:function(t){var n=this;t.forEach(function(t,e){var i=t[0],r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();n.errors.add(r,i)})},validateFields:function(){this.errors.clear();var t=this.$validator.validate();return Io.$emit("veeValidate"),t},recaptcha:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$recaptchaLoaded();case 3:return n.next=5,t.$recaptcha();case 5:t.recaptchaToken=n.sent,n.next=13;break;case 8:throw n.prev=8,n.t0=n.catch(0),t.recaptchaToken="",t.error="Captcha inv\xe1lido",n.t0;case 13:case"end":return n.stop()}},n,t,[[0,8]])}))()},resetRadioChilds:function(t){var n=this,e=[];return!!(t&&(t.forEach(function(t){t.children&&e.push(t.children)}),e.length>0))&&(e.forEach(function(t){n.$store.commit("customer/SET_FORM_FIELD",{field:t,value:null})}),!0)},resetFormField:function(t){for(var n in t)this.$store.commit("customer/SET_FORM_FIELD",{field:t[n],value:null}),this.concatQuestion[t[n]]&&(this.concatQuestion[t[n]].value="")},addSelectErrors:function(t){var n=this;t.items.map(function(t){"select"===t.rule&&-1===n.selectErrors.indexOf(t.field)&&n.selectErrors.push(t.field)})},updateCheckboxField:function(t,n,e){"concat"==e&&(this.concatQuestion[t].value=n),this.updateFormField(t,n)}}),components:(xo={alertContainer:Ec,buttonContainer:y,radioContainer:Xo,fieldContainer:W,selectContainer:po,uploadContainer:ho,moduleContent:Oc,moduleHeader:fo,navigationContainer:A,navigationModule:G,topicList:eo,topicItem:$c},oo()(xo,"radioContainer",Xo),oo()(xo,"checkboxContainer",Wo),oo()(xo,"recaptchaWarning",Yo),xo),mounted:function(){if(this.externalActions)return Io.$emit("customSelect",{field:this.externalActions.field,value:this.externalActions.value}),this.$store.commit("customer/SET_FORM_FIELD",{field:this.externalActions.field,value:this.externalActions.value})},created:function(){this.$validator.localize("pt_BR",{attributes:{name:"Nome",email:"E-mail",fquestion:"Mensagem",FieldB:"Id da Loja",FieldC:"CNPJ",FieldD:"Telefone",privacyPolicy:"Pol\xedtica de privacidade",ProtocoloFieldA:"Nome da Loja",ProtocoloFieldC:"Novo Integrador",ProtocoloFieldD:"CEP de origem",ProtocoloFieldE:"Chave de API",ProtocoloFieldF:"Motivo",ProtocoloFieldI:"Troca de SKU",ProtocoloFieldJ:"Nova URL"}})}},To={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("module-content",{attrs:{module:"email"}},[e("div",{staticClass:"main"},[t.emailSent?e("alert-container",{staticClass:"_textsuccess"},[t._v("\n "+t._s(t.$t("Agradecemos seu contato {name}",{name:t.name}))+" "),e("br"),t._v("\n "+t._s(t.$t("O seu n\xfamero de protocolo \xe9 {protocol}. Orientamos que acompanhe nosso retorno atrav\xe9s do e-mail informado.",{protocol:t.protocol}))+" "),e("br"),t._v("\n "+t._s(t.$t("A resposta do chamado e suas intera\xe7\xf5es devem ocorrer atrav\xe9s do e-mail informado."))+"\n "),e("button-container",{staticClass:"-primary",attrs:{slot:"actions"},on:{click:function(n){return t.sendNewEmail()}},slot:"actions"},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","envelope"]},slot:"icon"}),t._v("\n "+t._s(t.$t("Enviar outro e-mail"))+"\n ")],1)],1):t._e(),t._v(" "),t.emailSent?t._e():e("div",{},[t.errors.count()>0?e("alert-container",{staticClass:"_textdanger"},[t._v("\n "+t._s(t.$t("Ocorreu algum erro no envio de seu e-mail."))+" "),e("br"),t._v("\n "+t._s(t.$t("Por favor, verifique se existe algum erro nos campos abaixo e tente novamente."))+"\n ")]):t._e(),t._v(" "),t.error?e("alert-container",{staticClass:"_textdanger"},[t._v("\n "+t._s(t.$t(t.error))+"\n ")]):t._e(),t._v(" "),e("p",{staticClass:"infoText"},[t._v("* "+t._s(t.$t("Os campos com um * s\xe3o obrigat\xf3rios")))]),t._v(" "),e("form",{on:{submit:function(n){return n.preventDefault(),t.submit.apply(null,arguments)}}},[e("field-container",{staticClass:"-selectField",class:{"-hasError":t.selectErrors.indexOf("mainCategory")>-1},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("Assunto"))+"*\n ")]),t._v(" "),e("select-container",{key:"mainCategory",attrs:{name:"mainCategory",value:t.form.mainCategory,hasError:t.selectErrors.indexOf("mainCategory")>-1,options:t.categories},on:{input:function(n){return t.updateSelectField("mainCategory",n,["duvidas","duvidaResolvida"])},validated:t.addSelectErrors}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.$t("O campo Assunto \xe9 obrigat\xf3rio."))+"\n ")])],1),t._v(" "),!t.form.categoryId||[354355,363097,363099].indexOf(t.form.categoryId)>-1?t._e():e("field-container",{staticClass:"-selectField",class:{"-hasError":t.selectErrors.indexOf("duvidas")>-1},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("D\xfavidas"))+"*\n ")]),t._v(" "),e("select-container",{key:t.form.categoryId,attrs:{name:"duvidas",value:t.form.duvidas,hasError:t.selectErrors.indexOf("duvidas")>-1,options:t.duvidas},on:{input:function(n){return t.updateConcatQuestion("duvidas",n,["duvidaResolvida"])},validated:t.addSelectErrors}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.$t("O campo Assunto \xe9 obrigat\xf3rio."))+"\n ")])],1),t._v(" "),t.form.duvidas?e("field-container",{staticClass:"resposta"},[e("p",{domProps:{innerHTML:t._s(t.resposta)}})]):t._e(),t._v(" "),t.form.duvidas&&363093!=t.form.categoryId?e("field-container",{class:{"-hasError":t.errors.has("duvidaResolvida")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("Sua d\xfavida foi resolvida?"))+"*\n ")]),t._v(" "),e("radio-container",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],key:t.form.duvidas,ref:"duvidaResolvida",attrs:{options:t.simNao,name:"duvidaResolvida"},on:{input:function(n){return t.updateRadioField("duvidaResolvida",n,t.$refs.duvidaResolvida.options)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("duvidaResolvida"))+"\n ")])],1):t._e(),t._v(" "),"Sim"==t.form.duvidaResolvida?e("field-container",{staticClass:"contato"},[e("p",[t._v(" "+t._s(t.$t("Obrigado pelo contato!")))])]):t._e(),t._v(" "),"N\xe3o"==t.form.duvidaResolvida?e("div",[e("div",{staticClass:"half"},[e("field-container",{class:{"-hasError":t.errors.has("name")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("Nome Completo"))+"*\n ")]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],key:"name",staticClass:"field",attrs:{name:"name",placeholder:t.$t("Nome e sobrenome")},domProps:{value:t.form.name},on:{input:function(n){return t.updateFormField("name",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("name"))+"\n ")])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("ProtocoloFieldA")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("Nome da Loja no Marketplace"))+"*\n ")]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],key:"ProtocoloFieldA",staticClass:"field",attrs:{name:"ProtocoloFieldA",placeholder:t.$t("")},domProps:{value:t.form.ProtocoloFieldA},on:{input:function(n){return t.updateFormField("ProtocoloFieldA",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("ProtocoloFieldA"))+"\n ")])])],1),t._v(" "),e("div",{staticClass:"half"},[e("field-container",{class:{"-hasError":t.errors.has("FieldB")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v("\n "+t._s(t.$t("ID da Loja"))+"*\n "),e("span",{staticClass:"icon"},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","question-circle"]},on:{click:function(n){t.locateID=!t.locateID}},slot:"icon"})],1)]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.locateID,expression:"locateID"}],staticClass:"modal"},[e("p",{staticClass:"locateID bold"},[t._v("\n "+t._s(t.$t("Como localizar meu ID?"))+"\n ")]),t._v(" "),e("p",{staticClass:"locateID"},[t._v("\n "+t._s(t.$t("Acesse sua conta > Administra\xe7\xe3o > Minha Loja > Identifica\xe7\xe3o: n\xfamero com 4 d\xedgitos."))+"\n ")])]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"field",attrs:{name:"FieldB",placeholder:t.$t("Digite o ID da Loja")},domProps:{value:t.form.FieldB},on:{input:function(n){return t.updateFormField("FieldB",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("FieldB"))+"\n ")])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("email")},attrs:{group:!0}},[t.input_message?e("div",{staticClass:"input-message"},[t._v("\n "+t._s(t.$t("Certifique-se de que o e-mail informado est\xe1 correto. A resposta do chamado e suas intera\xe7\xf5es ser\xe3o atrav\xe9s do e-mail informado."))+"\n ")]):t._e(),t._v(" "),e("label",{staticClass:"label"},[t._v(t._s(t.$t("E-mail"))+"*")]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],staticClass:"field",attrs:{name:"email",placeholder:t.$t("nome@dominio.com")},domProps:{value:t.form.email},on:{focus:function(n){t.input_message=!0},blur:function(n){t.input_message=!1},input:function(n){return t.updateFormField("email",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("email"))+"\n ")])])],1),t._v(" "),e("div",{staticClass:"half"},[e("field-container",{class:{"-hasError":t.errors.has("FieldD")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Telefone")))]),t._v(" "),e("input",{directives:[{name:"mask",rawName:"v-mask",value:["(##)####-####","(##)#####-####"],expression:"['(##)####-####', '(##)#####-####']"}],staticClass:"field",attrs:{name:"FieldD",placeholder:t.$t("(00) 00000-0000")},domProps:{value:t.form.FieldD},on:{input:function(n){return t.updateFormField("FieldD",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("FieldD"))+"\n ")])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("FieldC")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("CNPJ"))+"*")]),t._v(" "),e("input",{directives:[{name:"mask",rawName:"v-mask",value:["##.###.###/####-##"],expression:"['##.###.###/####-##']"},{name:"validate",rawName:"v-validate",value:"required|cnpj",expression:"'required|cnpj'"}],staticClass:"field",attrs:{name:"FieldC",placeholder:t.$t("00.000.000/0000-00")},domProps:{value:t.form.FieldC},on:{input:function(n){return t.updateFormField("FieldC",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("FieldC"))+"\n ")])])],1),t._v(" "),e("field-container",{staticClass:"-uploadField",class:{"-hasError":t.errors.has("opcional")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Anexo")))]),t._v(" "),e("ul",{staticClass:"uploader"},t._l(t.form.subAttachments.opcionalAttachment,function(n,i){return e("upload-container",{key:i,attrs:{name:"opcional",showRemoveButton:i>=1,file:n,placeholder:t.$t("Adicione alguma foto ou arquivo")},on:{select:function(n){return t.setAttachmentValue({name:"opcionalAttachment",key:i,value:n})},delete:function(n){return t.removeAttachmentFile({name:"opcionalAttachment",key:i})}}})}),1),t._v(" "),e("button-container",{directives:[{name:"show",rawName:"v-show",value:t.form.subAttachments&&t.form.subAttachments.opcionalAttachment.length<=4,expression:"form.subAttachments && form.subAttachments.opcionalAttachment.length <= 4"}],staticClass:"-primary -link -small -addUploader _floatright",attrs:{type:"button"},on:{click:function(n){return t.addAttachmentFile("opcionalAttachment")}}},[t._v(t._s(t.$t("Adicionar mais")))]),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.has("opcional")))])],1),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("fquestion")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Mensagem"))+"*")]),t._v(" "),e("textarea",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],staticClass:"field",attrs:{name:"fquestion",placeholder:t.$t("")},domProps:{value:t.form.fquestion},on:{input:function(n){return t.updateFormField("fquestion",n.target.value)}}}),t._v(" "),e("p",{staticClass:"errorText _textdanger"},[t._v("\n "+t._s(t.errors.first("fquestion"))+"\n ")])]),t._v(" "),e("p",{staticClass:"privacy-policy"},[t._v("\n Caso queira saber mais sobre como os dados pessoais s\xe3o tratados no Carrefour, acesse a nossa\n "),e("a",{attrs:{href:"https://www.carrefour.com.br/central-de-privacidade",target:"_blank"}},[t._v("Central de Privacidade")])]),t._v(" "),t.recaptchaEnabled?e("recaptcha-warning"):t._e(),t._v(" "),e("field-container",{staticClass:"-submit -hasInfo"},[e("button-container",{staticClass:"-onlyTitle",attrs:{type:"submit",loading:t.loading}},[t._v("\n "+t._s(t.$t("Enviar"))+"\n ")])],1)],1):t._e()],1)],1)],1)])],1)},staticRenderFns:[]};var Eo=[{path:"/email",component:e("mUJo")(Ho,To,!1,function(t){e("5u59")},null,null).exports,meta:{name:"email",title:"E-mail",titleIcon:["far","envelope"]}}],So={name:"error",computed:{error:function(){return this.$store.state.error.error}},methods:{redirectToStartPage:function(){var t=this.$localStorage.get("lastPage");t&&"error"!==t||(t=d.startModule),this.$router.replace("/"+t+"/")}},mounted:function(){this.error.code||this.redirectToStartPage()}},Jo={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"error"},[e("h1",{staticClass:"title"},[t._v(t._s(t.$t("Um erro foi encontrado!")))]),t._v(" "),e("p",[e("strong",[t._v(t._s(t.$t("C\xf3digo"))+":")]),t._v("\n "+t._s(t.error.code)+"\n ")]),t._v(" "),e("p",[e("strong",[t._v(t._s(t.$t("Mensagem"))+":")]),t._v("\n "+t._s(t.error.msg)+"\n ")])])},staticRenderFns:[]};var Oo=[{path:"/error",component:e("mUJo")(So,Jo,!1,function(t){e("kRDj")},"data-v-181e5768",null).exports,meta:{name:"error",title:"Erro",titleIcon:"far fa-envelope"}}],wo={name:"history-base",computed:r()({},Object(g.d)("ai",["topics"])),methods:{openChat:function(){"frame"!=d.sdk.central.chat.mode?window.open("https://cdn.atendimen.to/widget/"+d.sdk.central.chat.appKey+"/current#/chat?onlyChat=1",d.sdk.central.chat.popup.name,"Location =NO,status=no,scrollbars=no,width="+d.sdk.central.chat.popup.width+",height="+d.sdk.central.chat.popup.height+",resizable=no,top=30,left=30,scrollbars=no,Titlebar=no,maximized=no"):this.$iframe.sendMessage({event:"loadWidget",data:{app_id:d.sdk.central.chat.appKey,target:"body",mode:"current",page:"chat"}})}},components:{moduleContent:Oc,topicItem:$c,topicList:eo,navigationContainer:A,navigationModule:G}},Do={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("module-content",{staticClass:"-modulecolumns",attrs:{module:"ai"}},[e("topic-list",[t._l(t.topics,function(t,n){return e("topic-item",{key:n,attrs:{topic:t}})}),t._v(" "),e("navigation-container",{staticClass:"_container"},[e("h3",{staticClass:"title -primary -custom",attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(t.$t("Canais de atendimento do Carrefour marketplace"))+"\n ")]),t._v(" "),"ai"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/ai/")}}},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","search"]},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("D\xfavidas")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir FAQ")))])],1)],1):t._e(),t._v(" "),"email"!==t.$route.meta.name?e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.$router.replace("/email/")}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/email-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Abrir chamado")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir formul\xe1rio")))])])],1):t._e(),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{staticClass:"-primary",on:{click:function(n){return t.openChat()}}},[e("img",{attrs:{slot:"icon",src:"https://carrefour.neoassist.com/clients/carrefour/images/chat-icon.svg"},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("Chat")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir chat")))])])],1)])],2),t._v(" "),e("router-view")],1)},staticRenderFns:[]};var ko=e("mUJo")(wo,Do,!1,function(t){e("7JKm")},null,null).exports,Lo={data:function(){return{loading:!1}},computed:r()({},Object(g.d)({form:function(t){return t.customer.form},auth:function(t){return t.history.auth}})),methods:{updateFormField:function(t,n){return this.$store.commit("customer/SET_FORM_FIELD",{field:t,value:n})},validateFields:function(){var t=this.$validator.validate();return Io.$emit("veeValidate"),t}}},zo={name:"login",data:function(){return{clientAuth:d.clientAuth}},mixins:[Lo],computed:r()({},Object(g.d)({auth:function(t){return t.history.auth}})),methods:r()({},Object(g.c)("customer",{resetForm:"RESET_FORM"}),{submit:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.errors.clear(),n.prev=1,n.next=4,t.validateFields();case 4:if(n.sent){n.next=7;break}return n.abrupt("return");case 7:n.next=12;break;case 9:return n.prev=9,n.t0=n.catch(1),n.abrupt("return");case 12:t.loading=!0,t.error=!1,t.$sdk.History.login(t.form).then(function(n){t.loading=!1,t.$store.commit("history/LOGIN",n.data),t.resetForm(),t.$router.replace("/history/list/")}).catch(function(n){t.loading=!1,t.errors.add({field:"loginError",msg:n.response.data.message,rule:"required",scope:null}),t.error=n.message||!1});case 15:case"end":return n.stop()}},n,t,[[1,9]])}))()}}),mounted:function(){(this.clientAuth||this.auth)&&this.$router.replace("/history/list/")},created:function(){this.$validator.localize("pt_BR",{attributes:{email:"E-mail",password:"Senha"}})},components:{moduleHeader:fo,alertContainer:Ec,buttonContainer:y,fieldContainer:W}},_o={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"history-login"},[e("module-header",{staticClass:"-primary"},[e("span",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[t._v(t._s(t.$t("Fa\xe7a seu login")))])]),t._v(" "),e("div",{staticClass:"_smallcontainer"},[t.errors.count()>0?e("alert-container",{staticClass:"_textdanger"},[t._v("\n "+t._s(t.$t("E-mail ou senha inv\xe1lido."))+" "),e("br"),t._v("\n "+t._s(t.$t("Por favor, verifique se j\xe1 possui cadastro e tente novamente."))+"\n ")]):t._e(),t._v(" "),e("form",{on:{submit:function(n){return n.preventDefault(),t.submit.apply(null,arguments)}}},[e("field-container",{class:{"-hasError":t.errors.has("email")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("E-mail")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],staticClass:"field",attrs:{name:"email",placeholder:t.$t("Digite seu e-mail")},domProps:{value:t.form.email},on:{input:function(n){return t.updateFormField("email",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("email"),expression:"errors.has('email')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("email")))])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("password")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Senha")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:8",expression:"'required|min:8'"}],staticClass:"field",attrs:{name:"password",type:"password",autocomplete:"off",placeholder:t.$t("Digite sua senha")},domProps:{value:t.form.password},on:{input:function(n){return t.updateFormField("password",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("password"),expression:"errors.has('password')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("password")))])]),t._v(" "),e("field-container",{staticClass:"-submit -hasInfo"},[e("button-container",{staticClass:"-primary -onlyTitle",attrs:{type:"submit",disabled:t.loading,loading:t.loading}},[t._v("\n "+t._s(t.$t("Entrar"))+"\n ")])],1)],1),t._v(" "),e("p",{staticClass:"text"},[t._v("\n Ainda n\xe3o possui conta?\n "),e("button-container",{staticClass:"-primary -onlyTitle -link",on:{click:function(n){return t.$router.replace("/history/sigin/")}}},[t._v("\n "+t._s(t.$t("Cadastre-se"))+"\n ")])],1)],1)],1)},staticRenderFns:[]};var jo=e("mUJo")(zo,_o,!1,function(t){e("3bPy")},"data-v-74322265",null).exports,Ko={name:"sigin",data:function(){return{tokenSent:!1,autenticatedToken:!1}},mixins:[Lo],methods:r()({},Object(g.c)("customer",{resetForm:"RESET_FORM"}),{sendToken:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.errors.clear(),n.prev=1,n.next=4,t.$validator.validate("firstStep.*");case 4:if(n.sent){n.next=7;break}return n.abrupt("return");case 7:n.next=12;break;case 9:return n.prev=9,n.t0=n.catch(1),n.abrupt("return");case 12:t.loading=!0,t.$sdk.History.requestRegister(t.form).then(function(n){t.loading=!1,t.tokenSent=n.data.success}).catch(function(n){t.loading=!1,t.errors.add({field:"registerError",msg:n.response.data.message,rule:"required",scope:null})});case 14:case"end":return n.stop()}},n,t,[[1,9]])}))()},validateToken:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t.errors.clear(),n.prev=1,n.next=4,t.$validator.validate("secondStep.*");case 4:if(n.sent){n.next=7;break}return n.abrupt("return");case 7:n.next=12;break;case 9:return n.prev=9,n.t0=n.catch(1),n.abrupt("return");case 12:t.loading=!0,t.$sdk.History.validateToken(t.form.token).then(function(n){t.loading=!1,t.autenticatedToken=n.data.isValid,n.data.isValid||t.errors.add({field:"validToken",msg:"C\xf3digo inv\xe1lido. Favor verifique o c\xf3digo digitado.",rule:"required",scope:null})}).catch(function(n){t.loading=!1});case 14:case"end":return n.stop()}},n,t,[[1,9]])}))()},submit:function(){var t=this;return uo()(lo.a.mark(function n(){return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$validator.validate("thirdStep.*");case 3:if(n.sent){n.next=6;break}return n.abrupt("return");case 6:n.next=11;break;case 8:return n.prev=8,n.t0=n.catch(0),n.abrupt("return");case 11:t.loading=!0,t.error=!1,t.$sdk.History.registerCustomer(t.form).then(function(n){t.login()}).catch(function(n){t.loading=!1,t.error=n.message||!1});case 14:case"end":return n.stop()}},n,t,[[0,8]])}))()},login:function(){var t=this;this.$sdk.History.login(this.form).then(function(n){t.loading=!1,t.$store.commit("history/LOGIN",n.data),t.resetForm(),t.$router.replace("/history/list/")}).catch(function(n){t.loading=!1,t.error=n.message||!1})}}),components:{moduleHeader:fo,alertContainer:Ec,buttonContainer:y,fieldContainer:W},created:function(){this.$validator.localize("pt_BR",{attributes:{name:"Nome",email:"E-mail",token:"C\xf3digo",password:"Senha",confirmPassword:"Confirmar senha"}})}},Mo={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"history-sigin"},[e("module-header",{staticClass:"-primary"},[e("span",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[t._v(t._s(t.$t("Criar uma nova conta")))])]),t._v(" "),e("div",{staticClass:"_smallcontainer"},[t.errors.count()>0?e("alert-container",{staticClass:"_textdanger"},[t._v("\n "+t._s(t.$t("Ocorreu um erro."))+" "),e("br"),t._v(" "),t.errors.has("registerError")?e("p",[t._v(t._s(t.errors.first("registerError"))+".")]):t._e(),t._v("\n "+t._s(t.$t("Por favor, verifique as informa\xe7\xf5es digitadas e tente novamente."))+"\n ")]):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.tokenSent,expression:"!tokenSent"}]},[e("field-container",{class:{"-hasError":t.errors.has("name")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Nome")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],staticClass:"field",attrs:{name:"name",placeholder:t.$t("Digite seu nome"),"data-vv-scope":"firstStep"},domProps:{value:t.form.name},on:{input:function(n){return t.updateFormField("name",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("name"),expression:"errors.has('name')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("name")))])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("email")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("E-mail")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],staticClass:"field",attrs:{name:"email",placeholder:t.$t("Digite seu e-mail"),"data-vv-scope":"firstStep"},domProps:{value:t.form.email},on:{input:function(n){return t.updateFormField("email",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("email"),expression:"errors.has('email')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("email")))])]),t._v(" "),e("field-container",{staticClass:"-hasInfo"},[e("button-container",{staticClass:"-primary -onlyTitle",attrs:{disabled:t.loading,loading:t.loading},on:{click:function(n){return t.sendToken()}}},[t._v("\n "+t._s(t.$t("Cadastre-se"))+"\n ")])],1)],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.tokenSent&&!t.autenticatedToken,expression:"tokenSent && !autenticatedToken"}]},[e("p",[t._v("Para continuar seu cadastro, confirme seu e-mail inserindo o c\xf3digo enviado para: "),e("strong",[t._v(t._s(t.form.email))])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("token")||t.errors.has("validToken")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("C\xf3digo")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:6|max:8",expression:"'required|min:6|max:8'"}],staticClass:"field",attrs:{name:"token",maxlength:"8",placeholder:t.$t("Insira o c\xf3digo recebido em seu e-mail"),"data-vv-scope":"secondStep"},domProps:{value:t.form.token},on:{input:function(n){return t.updateFormField("token",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("token"),expression:"errors.has('token')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("token")))]),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("validToken"),expression:"errors.has('validToken')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("validToken")))])]),t._v(" "),e("field-container",[e("p",[t._v("N\xe3o recebeu?\n "),e("button-container",{staticClass:"-primary -onlyTitle -link",on:{click:function(n){return t.sendToken()}}},[t._v("\n "+t._s(t.$t("Enviar e-mail novamente"))+"\n ")])],1)]),t._v(" "),e("field-container",{staticClass:"-submit -hasInfo"},[e("button-container",{staticClass:"-onlyTitle",attrs:{disabled:t.loading,loading:t.loading},on:{click:function(n){return t.validateToken()}}},[t._v("\n "+t._s(t.$t("Confirmar"))+"\n ")])],1)],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.autenticatedToken,expression:"autenticatedToken"}]},[e("field-container",{class:{"-hasError":t.errors.has("password")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Senha")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:8|max:12",expression:"'required|min:8|max:12'"}],ref:"password",staticClass:"field",attrs:{name:"password",type:"password",placeholder:t.$t("Nova senha"),"data-vv-scope":"thirdStep"},domProps:{value:t.form.password},on:{input:function(n){return t.updateFormField("password",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("password"),expression:"errors.has('password')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("password")))])]),t._v(" "),e("field-container",{class:{"-hasError":t.errors.has("confirmPassword")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Confirme a senha")))]),t._v(" "),e("input",{directives:[{name:"validate",rawName:"v-validate",value:"required|confirmed:password",expression:"'required|confirmed:password'"}],staticClass:"field",attrs:{name:"confirmPassword",type:"password","data-vv-as":"password",placeholder:t.$t("Repita sua senha"),"data-vv-scope":"thirdStep"},domProps:{value:t.form.confirmPassword},on:{input:function(n){return t.updateFormField("confirmPassword",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("confirmPassword"),expression:"errors.has('confirmPassword')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("confirmPassword")))])]),t._v(" "),e("field-container",{staticClass:"-submit -hasInfo"},[e("button-container",{staticClass:"-primary -onlyTitle",attrs:{disabled:t.loading,loading:t.loading},on:{click:function(n){return t.submit()}}},[t._v("\n "+t._s(t.$t("Finalizar cadastro"))+"\n ")])],1)],1)],1)],1)},staticRenderFns:[]};var Po=e("mUJo")(Ko,Mo,!1,function(t){e("Fqj6")},"data-v-493b1805",null).exports,qo={name:"history-item",computed:{date:function(){var t=new Date(this.item.date);return t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()},time:function(){var t=new Date(this.item.date);return t.getHours()+":"+t.getMinutes()},preview:function(){return""==this.item.preview?"-":this.item.preview},status:function(){return["3","4"].indexOf(this.item.resolution)>-1||["5","6"].indexOf(this.item.status)>-1?"Encerrado":this.item.workflowStatus>0?"Em tratativa interna":this.item.statusText}},methods:{openDetail:function(){this.$store.commit("history/SET_OPEN_PROTOCOL",this.item),this.$router.replace("/history/detail")}},props:{item:{type:Object,required:!0}}},$o={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"history-item"},[e("div",{staticClass:"box-info"},[e("p",[e("strong",[t._v(t._s(t.item.origin))])]),t._v(" "),e("p",[e("span",[t._v(t._s(t.date))])]),t._v(" "),e("p",[e("span",[t._v(t._s(t.time))])])]),t._v(" "),e("div",{staticClass:"main-info"},[e("p",[e("span",{staticClass:"label"},[t._v("Assunto: ")]),t._v(t._s(t.item.category))]),t._v(" "),e("p",{staticClass:"long-text"},[e("span",{staticClass:"label"},[t._v("Mensagem: ")]),t._v(t._s(t.preview))]),t._v(" "),e("a",{staticClass:"link",on:{click:function(n){return t.openDetail(t.item)}}},[t._v("Visualizar detalhes do atendimento")])]),t._v(" "),e("div",{staticClass:"info"},[e("p",{staticClass:"title"},[t._v("Protocolo")]),t._v(" "),e("p",[t._v(t._s(t.item.protocol))])]),t._v(" "),e("div",{staticClass:"info"},[e("p",{staticClass:"title"},[t._v("Situa\xe7\xe3o")]),t._v(" "),e("p",[t._v(t._s(t.status))])])])},staticRenderFns:[]};var tg=e("mUJo")(qo,$o,!1,function(t){e("xwb6")},null,null).exports,ng={name:"list",data:function(){return{clientAuth:d.clientAuth,currentPage:1,totalPages:1,loading:!0}},computed:r()({},Object(g.d)({historico:function(t){return t.history.list},auth:function(t){return t.history.auth},origins:function(t){return t.history.origins},limit:function(t){return t.history.limit}})),components:{alertContainer:Ec,moduleHeader:fo,historyItem:tg},methods:{onChangePage:function(t){this.pageOfItems=t},getHistory:function(t){var n=this;this.loading=!0,this.$sdk.History.getHistory(t,this.origins,this.limit).then(function(t){n.loading=!1,n.currentPage=t.page,n.totalPages=t.totalPages,n.$store.commit("history/SET_HISTORY_LIST",t.protocols)}).catch(function(t){n.loading=!1,localStorage.getItem("authCustomer")||(n.$store.commit("history/LOGOUT"),n.$router.replace("/history/")),n.error=t.message||!1})}},watch:{auth:function(){if(null!=this.auth){if(this.clientAuth&&!this.auth)return void(this.loading=!1);if(!this.auth)return void this.$router.replace("/history/");this.getHistory(1)}}},mounted:function(){!this.clientAuth||this.auth?this.auth?this.getHistory(1):this.$router.replace("/history/"):this.loading=!1}},eg={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"history-list"},[e("module-header",{staticClass:"-primary"},[e("span",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[t._v(t._s(t.$t("Meu Hist\xf3rico")))])]),t._v(" "),t.loading?e("div",{staticClass:"loading"},[e("font-awesome-icon",{staticClass:"icon",attrs:{icon:["fas","spinner"],pulse:!0}})],1):t._e(),t._v(" "),t.loading?t._e():e("div",[t.historico.length>0?e("ul",{staticClass:"list"},t._l(t.historico,function(t){return e("history-item",{key:t.protocol,attrs:{item:t}})}),1):t.auth?e("alert-container",[t._v("\n "+t._s(t.$t("Ol\xe1! Voc\xea ainda n\xe3o possui nenhum protocolo aberto para visualizar em seu hist\xf3rico."))+" "),e("br"),t._v("\n "+t._s(t.$t("Por favor, entre em contato atrav\xe9s de nossos canais de atendimento primeiro."))+"\n ")]):e("alert-container",{staticClass:"_textdanger"},[t._v("\n "+t._s(t.$t("Ol\xe1! Tivemos um problema para recuperar seu hist\xf3rico."))+" "),e("br"),t._v("\n "+t._s(t.$t("Por favor, aguarde alguns instantes e tente novamente. Caso o erro persista, entre em contato com o administrador da p\xe1gina reportando o ocorrido."))+"\n ")]),t._v(" "),t.totalPages>1?e("ul",{staticClass:"pagination"},t._l(t.totalPages,function(n,i){return e("li",{key:i,staticClass:"page-item"},[e("a",{staticClass:"page-link",on:{click:function(n){return t.getHistory(i+1)}}},[t._v(t._s(i+1))])])}),0):t._e()],1)],1)},staticRenderFns:[]};var ig=e("mUJo")(ng,eg,!1,function(t){e("C72+")},null,null).exports,rg={name:"message-email",data:function(){return{open:!1}},computed:{date:function(){var t=new Date(this.message.date);return t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()},time:function(){var t=new Date(this.message.date);return t.getHours()+":"+t.getMinutes()},messageFiltered:function(){return this.message.message.replace(/<[^>]*>/g,"")},sender:function(){return this.message.sender?this.message.sender:this.$store.state.history.customerName}},methods:{toggleOpen:function(){this.open=!this.open}},props:{message:{type:Object,required:!0}}},ag={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"message",on:{click:function(n){return t.toggleOpen()}}},[e("p",{staticClass:"label -sender"},[t._v(t._s(t.$t(t.sender.Type))+" - "+t._s(t.sender.Name))]),t._v(" "),e("div",{staticClass:"message-box"},[e("div",{staticClass:"content"},[""!=t.message.subject?e("p",[e("label",{staticClass:"label"},[t._v("Assunto:")]),t._v(" "+t._s(t.message.subject))]):t._e(),t._v(" "),t.open?t._e():e("p",{staticClass:"long-text -closed",class:{"-closed":!t.open}},[e("label",{staticClass:"label"},[t._v("Mensagem:")]),t._v(" "+t._s(t.messageFiltered))]),t._v(" "),t.open?e("p",[e("label",{staticClass:"label"},[t._v("Mensagem:")])]):t._e(),t._v(" "),t.open?e("p",{staticClass:"long-text",domProps:{innerHTML:t._s(t.message.message)}}):t._e(),t._v(" "),t.open&&t.message.attachments?e("p",[e("label",{staticClass:"label"},[t._v("Anexo:")])]):t._e(),t._v(" "),t._l(t.message.attachments,function(n,i){return t.open&&t.message.attachments?e("p",{key:i},[t._v(t._s(n.FileName))]):t._e()})],2),t._v(" "),e("div",{staticClass:"date"},[e("p",[t._v(t._s(t.date))]),t._v(" "),e("p",[t._v(t._s(t.time))])])])])},staticRenderFns:[]};var cg=e("mUJo")(rg,ag,!1,function(t){e("KYnV")},"data-v-a6d7fdf4",null).exports,og={name:"message-chat",data:function(){return{}},computed:{date:function(){var t=new Date(this.message.date);return t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()},time:function(){var t=new Date(this.message.date);return t.getHours()+":"+t.getMinutes()},sender:function(){return this.message.sender?this.message.sender:this.$store.state.history.customerName}},methods:{toggleOpen:function(){this.open=!this.open}},props:{message:{type:Object,required:!0}}},gg={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"message",on:{click:function(n){return t.toggleOpen()}}},[e("p",{staticClass:"label"},[t._v(t._s(t.sender))]),t._v(" "),e("div",{staticClass:"message-box"},[e("div",{staticClass:"content"},[e("p",{staticClass:"long-text",domProps:{innerHTML:t._s(t.message.message)}})]),t._v(" "),e("div",{staticClass:"date"},[e("p",[t._v(t._s(t.date))]),t._v(" "),e("p",[t._v(t._s(t.time))])])])])},staticRenderFns:[]};var lg=e("mUJo")(og,gg,!1,function(t){e("/GjT")},null,null).exports,sg=oo()({name:"message-phone",data:function(){return{open:!1}},props:{message:{required:!0,type:Object}},computed:{date:function(){var t=new Date(this.message.date);return t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()},time:function(){var t=new Date(this.message.date);return t.getHours()+":"+t.getMinutes()},messageFiltered:function(){return this.message.message.replace(/<[^>]*>/g,"")},sender:function(){return this.message.sender?this.message.sender:this.$store.state.history.customerName}},methods:{toggleOpen:function(){this.open=!this.open}}},"props",{message:{type:Object,required:!0}}),ug={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"message",on:{click:function(n){return t.toggleOpen()}}},[e("p",{staticClass:"label"},[t._v(t._s(t.sender))]),t._v(" "),e("div",{staticClass:"message-box"},[e("div",{staticClass:"content"},[t._l(t.message.audios,function(n){return t.message.audios?e("audio",{attrs:{controls:""}},[e("source",{attrs:{src:n,type:"audio/mpeg"}}),t._v("\n\t\t\t\t Seu navegador n\xe3o suporta o palyer de audio.\n\t\t\t\t")]):t._e()}),t._v(" "),t.message.message&&!t.open?e("p",{staticClass:"long-text -closed",class:{"-closed":!t.open}},[e("label",{staticClass:"label"},[t._v("Mensagem:")]),t._v(" "+t._s(t.messageFiltered))]):t._e(),t._v(" "),t.message.message&&t.open?e("p",[e("label",{staticClass:"label"},[t._v("Mensagem:")])]):t._e(),t._v(" "),t.message.message&&t.open?e("p",{staticClass:"long-text",domProps:{innerHTML:t._s(t.message.message)}}):t._e(),t._v(" "),t.open&&t.message.attachments?e("p",[e("label",{staticClass:"label"},[t._v("Anexo:")])]):t._e(),t._v(" "),t._l(t.message.attachments,function(n,i){return t.open&&t.message.attachments?e("p",{key:i},[t._v(t._s(n.FileName))]):t._e()})],2),t._v(" "),t.message.date?e("div",{staticClass:"date"},[e("p",[t._v(t._s(t.date))]),t._v(" "),e("p",[t._v(t._s(t.time))])]):t._e()])])},staticRenderFns:[]};var Ig=e("mUJo")(sg,ug,!1,function(t){e("+S/L")},null,null).exports,dg={name:"message-whatsapp",data:function(){return{}},computed:{date:function(){var t=new Date(this.message.date);return t.getDate()+"/"+(t.getMonth()+1)+"/"+t.getFullYear()},time:function(){var t=new Date(this.message.date);return t.getHours()+":"+t.getMinutes()},sender:function(){return this.message.sender?this.message.sender:this.$store.state.history.customerName}},methods:{toggleOpen:function(){this.open=!this.open}},props:{message:{type:Object,required:!0}}},Bg={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"message",on:{click:function(n){return t.toggleOpen()}}},[e("p",{staticClass:"label"},[t._v(t._s(t.sender))]),t._v(" "),e("div",{staticClass:"message-box"},[e("div",{staticClass:"content"},[t.message.message?e("p",{staticClass:"long-text",domProps:{innerHTML:t._s(t.message.message)}}):t._e(),t._v(" "),t.message.attachment?e("p",["image"==t.message.attachment.Type?e("img",{attrs:{src:t.message.attachment.S3Link}}):"audio"==t.message.attachment.Type?e("audio",{attrs:{controls:""}},[e("source",{attrs:{src:t.message.attachment.S3Link,type:"audio/mpeg"}}),t._v("\n\t\t\t\t\t Seu navegador n\xe3o suporta o palyer de audio.\n\t\t\t\t\t")]):e("a",{attrs:{href:t.message.attachment.S3Link,target:"_blank"}},[t._v(t._s(t.message.attachment.FileName))])]):t._e()]),t._v(" "),e("div",{staticClass:"date"},[e("p",[t._v(t._s(t.date))]),t._v(" "),e("p",[t._v(t._s(t.time))])])])])},staticRenderFns:[]};var Cg=e("mUJo")(dg,Bg,!1,function(t){e("HXCZ")},null,null).exports,bg={name:"detail",data:function(){return oo()({loading:!1,emailSent:!1,protocol:{}},"emailSent",!1)},mixins:[Lo],computed:r()({},Object(g.d)({openProtocol:function(t){return t.history.openProtocol.protocol},origin:function(t){return t.history.openProtocol.origin},auth:function(t){return t.history.auth},form:function(t){return t.customer.form},customerName:function(t){return t.history.customerName},attachmentCounter:function(t){return t.customer.attachmentCounter}}),{allowReply:function(){return"E-mail"==this.protocol.origin&&-1==["3","4"].indexOf(this.protocol.resolution)&&-1==["5","6"].indexOf(this.protocol.status)}}),mounted:function(){this.auth||this.$router.replace("/history/"),null==this.openProtocol?this.$router.replace("/history/list/"):this.getDetail()},methods:r()({},Object(g.c)("customer",{addAttachmentFile:"CREATE_FORM_ATTACHMENT",removeAttachmentFile:"REMOVE_FORM_ATTACHMENT",setAttachmentValue:"SET_FORM_ATTACHMENT_VALUE",resetForm:"RESET_FORM",concatAttachments:"CONCAT_ATTACHMENTS"}),{submit:function(){var t=this;return uo()(lo.a.mark(function n(){var e;return lo.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.validateFields();case 3:if(n.sent){n.next=6;break}return n.abrupt("return");case 6:n.next=11;break;case 8:return n.prev=8,n.t0=n.catch(0),n.abrupt("return");case 11:e=t.form.question.replace(/\r?\n/g," "),t.$store.commit("customer/SET_FORM_FIELD",{field:"question",value:e}),t.loading=!0,t.error=!1,t.concatAttachments(),t.$sdk.History.submit(r()({},t.form,{protocol:t.openProtocol})).then(function(n){t.loading=!1,t.emailSent=!0,t.resetForm()}).catch(function(n){t.error=n.message||!1});case 17:case"end":return n.stop()}},n,t,[[0,8]])}))()},getDetail:function(){var t=this;this.loading=!0,this.$sdk.History.getDetail(this.openProtocol).then(function(n){t.loading=!1,t.protocol=n}).catch(function(n){t.loading=!1,localStorage.getItem("authCustomer")||(t.$store.commit("history/LOGOUT"),t.$router.replace("/history/")),t.error=n.message||!1})},validateFields:function(){var t=this.$validator.validate();return Io.$emit("veeValidate"),t},messageComponent:function(t){return{"E-mail":"message-email",Chat:"message-chat",Chatbot:"message-chat",Whatsapp:"message-whatsapp",Telefonia:"message-phone"}[t]||null}}),created:function(){this.$validator.localize("pt_BR",{attributes:{question:"Resposta"}})},components:{moduleHeader:fo,alertContainer:Ec,buttonContainer:y,fieldContainer:W,uploadContainer:ho,messageEmail:cg,messageChat:lg,messagePhone:Ig,messageWhatsapp:Cg}},mg={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"history-detail"},[e("module-header",{staticClass:"-primary"},[e("span",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[t._v(t._s(t.$t(t.origin+": "+t.openProtocol)))])]),t._v(" "),t.loading?e("div",{staticClass:"loading"},[e("font-awesome-icon",{attrs:{icon:["fas","spinner"],pulse:!0}})],1):t._e(),t._v(" "),t.loading?t._e():e("div",[t._l(t.protocol.messages,function(n,i){return e(t.messageComponent(t.protocol.origin),{key:i,tag:"component",attrs:{message:n}})}),t._v(" "),t.allowReply?t._e():e("p",{staticClass:"text"},[t._v(t._s("E-mail"==t.protocol.origin?t.$t("Esse atendimento j\xe1 foi encerrado. "):t.$t("N\xe3o \xe9 poss\xedvel responder este tipo de chamado."))+"\n "),e("button-container",{staticClass:"-primary -link -onlyTitle",attrs:{type:"button"},on:{click:function(n){return t.$router.replace("/history/list/")}}},[t._v("\n "+t._s(t.$t("Voltar ao hist\xf3rico"))+"\n ")])],1),t._v(" "),t.emailSent?e("alert-container",{staticClass:"_textsuccess"},[t._v("\n "+t._s(t.$t("Muito obrigado, {customerName}!",{customerName:t.customerName}))+" "),e("br"),t._v("\n "+t._s(t.$t("Sua resposta ao protocolo {openProtocol} foi recebida com sucesso, responderemos em breve.",{openProtocol:t.openProtocol}))+"\n\n "),e("button-container",{staticClass:"-primary -onlyTitle",attrs:{slot:"actions",type:"button"},on:{click:function(n){return t.$router.replace("/history/list/")}},slot:"actions"},[t._v("\n "+t._s(t.$t("Voltar ao hist\xf3rico"))+"\n ")])],1):t._e(),t._v(" "),t.allowReply&&!t.emailSent?e("form",{on:{submit:function(n){return n.preventDefault(),t.submit.apply(null,arguments)}}},[e("field-container",{class:{"-hasError":t.errors.has("question")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Resposta"))+"*")]),t._v(" "),e("textarea",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],staticClass:"field",attrs:{name:"question",placeholder:t.$t("Escreva aqui sua resposta")},domProps:{value:t.form.question},on:{input:function(n){return t.updateFormField("question",n.target.value)}}}),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("question"),expression:"errors.has('question')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("question")))])]),t._v(" "),e("field-container",{staticClass:"-uploadField",class:{"-hasError":t.errors.has("opcional")},attrs:{group:!0}},[e("label",{staticClass:"label"},[t._v(t._s(t.$t("Anexos")))]),t._v(" "),e("ul",{staticClass:"uploader"},t._l(t.form.subAttachments.opcionalAttachment,function(n,i){return e("upload-container",{key:i,attrs:{name:"opcional",showRemoveButton:i>=1,file:n,placeholder:t.$t("Adicione alguma foto ou arquivo")},on:{select:function(n){return t.setAttachmentValue({name:"opcionalAttachment",key:i,value:n})},delete:function(n){return t.removeAttachmentFile({name:"opcionalAttachment",key:i})}}})}),1),t._v(" "),e("button-container",{directives:[{name:"show",rawName:"v-show",value:t.form.subAttachments&&t.form.subAttachments.opcionalAttachment.length<=4,expression:"form.subAttachments && form.subAttachments.opcionalAttachment.length <= 4"}],staticClass:"-primary -link -small -addUploader _floatright",attrs:{type:"button"},on:{click:function(n){return t.addAttachmentFile("opcionalAttachment")}}},[t._v(t._s(t.$t("Adicionar mais")))]),t._v(" "),e("p",{directives:[{name:"show",rawName:"v-show",value:t.errors.has("opcional"),expression:"errors.has('opcional')"}],staticClass:"errorText _textdanger"},[t._v(t._s(t.errors.first("opcional")))])],1),t._v(" "),e("field-container",{staticClass:"-submit -hasInfo"},[e("button-container",{staticClass:"-primary -link -onlyTitle",attrs:{type:"button"},on:{click:function(n){return t.$router.replace("/history/list/")}}},[t._v("\n "+t._s(t.$t("Voltar ao hist\xf3rico"))+"\n ")]),t._v(" "),e("button-container",{staticClass:"-primary -onlyTitle",attrs:{type:"submit"}},[t._v("\n "+t._s(t.$t("Enviar"))+"\n ")])],1)],1):t._e()],2)],1)},staticRenderFns:[]};var pg=[{path:"/history",component:ko,meta:{name:"history"},children:[{path:"/history",component:jo,meta:{name:"history"}},{path:"/history/sigin",component:Po,meta:{name:"history"}},{path:"/history/list",component:ig,meta:{name:"history"}},{path:"/history/detail",component:e("mUJo")(bg,mg,!1,function(t){e("rCTP")},null,null).exports,meta:{name:"history"}}]}],Qg={name:"telefone",computed:r()({},Object(g.d)("ai",["topics"])),methods:{openChat:function(){"frame"!=d.sdk.central.chat.mode?window.open("https://cdn.atendimen.to/widget/"+d.sdk.central.chat.appKey+"/current#/chat?onlyChat=1",d.sdk.central.chat.popup.name,"Location =NO,status=no,scrollbars=no,width="+d.sdk.central.chat.popup.width+",height="+d.sdk.central.chat.popup.height+",resizable=no,top=30,left=30,scrollbars=no,Titlebar=no,maximized=no"):this.$iframe.sendMessage({event:"loadWidget",data:{app_id:d.sdk.central.chat.appKey,target:"body",mode:"current",page:"chat"}})}},components:{moduleContent:Oc,moduleHeader:fo,navigationContainer:A,navigationModule:G,topicItem:$c,topicList:eo}},Ag={render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("module-content",{staticClass:"-modulecolumns",attrs:{module:"email"}},[e("topic-list",[e("h2",{staticClass:"central-subtitle -primary"},[e("span",{staticClass:"text"},[t._v(t._s(t.$t("T\xf3picos Frequentes")))])]),t._v(" "),t._l(t.topics,function(t,n){return e("topic-item",{key:n,attrs:{topic:t}})})],2),t._v(" "),e("div",{staticClass:"main"},[e("module-header",{staticClass:"-primary"},[e("span",{staticClass:"text",attrs:{slot:"text"},slot:"text"},[t._v(t._s(t.$t("Nossos Telefones")))])]),t._v(" "),e("div",{staticClass:"phones-container"},[e("p",[t._v(t._s(t.$t("Entre em contato ligando para qualquer um dos n\xfameros abaixo:")))]),t._v(" "),e("div",{staticClass:"phone-block"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("Telefones")))]),t._v(" "),e("div",{staticClass:"phone"},[e("a",{attrs:{href:"tel://11-3323-3456"}},[t._v("+55 (11) 3323-3456")])]),t._v(" "),e("div",{staticClass:"phone"},[e("a",{attrs:{href:"tel://11-3323-3457"}},[t._v("+55 (11) 3323-3457")])])]),t._v(" "),e("div",{staticClass:"phone-block"},[e("div",{staticClass:"title"},[t._v("Whatsapp")]),t._v(" "),e("div",{staticClass:"phone"},[t._v("\n +55 (11) 99999-9999\n ")])]),t._v(" "),e("p",[t._v("\n Segunda a Sexta-feira: 9h \xe0s 20h\n "),e("br"),t._v("\n S\xe1bado: 9h \xe0s 18h\n ")])])],1)],1),t._v(" "),e("navigation-container",[e("h3",{staticClass:"title -primary",attrs:{slot:"title"},slot:"title"},[t._v("\n "+t._s(t.$t("Canais de atendimento e Dicas:"))+"\n ")]),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{on:{click:function(n){return t.$router.replace("/ai/")}}},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["fas","search"]},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("D\xfavidas")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir FAQ")))])],1)],1),t._v(" "),e("li",{staticClass:"navItem"},[e("navigation-module",{on:{click:function(n){return t.$router.replace("/email/")}}},[e("font-awesome-icon",{attrs:{slot:"icon",icon:["far","envelope"]},slot:"icon"}),t._v(" "),e("span",{staticClass:"title"},[t._v(t._s(t.$t("E-mail")))]),t._v(" "),e("span",{staticClass:"description"},[t._v(t._s(t.$t("Abrir formul\xe1rio")))])],1)],1)])],1)},staticRenderFns:[]};var hg=[{path:"/telefone",component:e("mUJo")(Qg,Ag,!1,function(t){e("FJep")},null,null).exports,meta:{name:"telefone",title:"Telefone",titleIcon:["fas","phone"]}}],Gg=[].concat(Wc()(Hc),Wc()(ao),Wc()(Eo),Wc()(Oo),Wc()(pg),Wc()(hg));a.default.use(Uc);var Fg=new Uc({routes:Gg,scrollBehavior:function(t,n,e){return{x:0,y:0}}}),fg=function(t){Object.defineProperty(t,"$sdk",{get:function(){return p}})},Zg=function t(n,e){if(!t._vm)throw"Vm not defined";return n(t._vm,e)},yg=Zg;Zg.install=function(t){t.mixin({beforeCreate:function(){this.$options.dispatcher?(this._dispatcherRoot=this,this._dispatcher=this.$options.dispatcher,this._dispatcher._vm||(this._dispatcher._vm=this._dispatcherRoot)):this._dispatcherRoot=this.$parent&&this.$parent._dispatcherRoot||this}}),Object.defineProperty(t.prototype,"$dispatcher",{get:function(){return this._dispatcherRoot._dispatcher}})},a.default.use(yg);var Xg=yg,vg=[fg,function(t){Object.defineProperty(t,"$dispatcher",{get:function(){return Xg}})}],Ug={openTopic:function(t){return t.topics.find(function(t){return t.open})},categoriesWithArticles:function(t){var n=t.articlesByCategory;return o()(n)}},Vg={PUSH_BREADCRUMB:function(t,n){t.breadcrumb.push(n)},REMOVE_FROM_BREADCRUMB:function(t,n){for(var e=t.breadcrumb.indexOf(n),i=[],r=0;r=5||t.form.subAttachments[n].push({nome:"",content:""})},REMOVE_FORM_ATTACHMENT:function(t,n){var e=n.name,i=n.key;t.form.subAttachments[e]&&t.form.subAttachments[e].splice(i,1)},SET_FORM_ATTACHMENT_VALUE:function(t,n){var e=n.name,i=n.key,r=n.value;t.form.subAttachments[e]||a.default.set(t.form.subAttachments,e,[]),t.form.subAttachments[e][i]=r},CONCAT_ATTACHMENTS:function(t){t.form.attachments=Yg()(t.form.subAttachments).reduce(function(t,n){return[].concat(Wc()(t),Wc()(n))},[])},RESET_FORM:function(t){var n=t.form.subAttachments,e=o()(n);t.form={},t.form.subAttachments=n,e.forEach(function(n){t.form.subAttachments[n]=[{name:"",content:""}]})},ENABLE_RECAPTCHA:function(t){t.recaptchaEnabled=!0}}},email:{namespaced:!0,state:{externalActions:null,simNao:[{label:"Sim",value:"Sim"},{label:"N\xe3o",value:"N\xe3o"}],categories:[{label:"Administra\xe7\xe3o de Usu\xe1rios",value:346327},{label:"Setup - Configura\xe7\xe3o inicial da loja",value:422937},{label:"Dados cadastrais",value:346325},{label:"Financeiro",value:346341},{label:"Frete",value:346323},{label:"Integra\xe7\xe3o",value:346331},{label:"Migra\xe7\xe3o de Integrador",value:363093},{label:"Jur\xeddico",value:354349},{label:"Cat\xe1logo",value:363095},{label:"Pedidos",value:350113},{label:"Treinamento",value:354355},{label:"Inativa\xe7\xe3o de Loja",value:363097},{label:"Reativa\xe7\xe3o de Loja",value:363099},{label:"Comercial",value:475100}],privacyPolicy:[{label:"Autorizo o compartilhamento dos meus dados.",value:"Aceitou enviar todas as informa\xe7\xf5es.",link:'Aceito a Pol\xedtica de Privacidade'}],duvidas:{346327:[{label:"Reset de Senha Portal Mirakl",value:"resetSenha"},{label:"Como incluir um novo usu\xe1rio?",value:"incluirUsuario"},{label:"Como excluir um usu\xe1rio?",value:"excluirUsuario"},{label:"Reset de Senha, Cria\xe7\xe3o de usu\xe1rio M\xf3dulo Comissionamento",value:"moduloComissionamento"},{label:"Como recebo o c\xf3digo de seguran\xe7a para logar no portal?",value:"codigoSegurancaLogar"}],422937:[{label:"Deseja vender no Carrefour?",value:"desejaVenderCarrefour"}],346325:[{label:"Altera\xe7\xe3o de CNPJ e Raz\xe3o Social",value:"alteracaoCnpj"},{label:"Altera\xe7\xe3o de Dados Banc\xe1rios",value:"alteracaoDadosBancarios"},{label:"Altera\xe7\xe3o de endere\xe7o",value:"alteracaoEndereco"}],346341:[{label:"Como confirmo se meu repasse foi feito?",value:"confirmarRepasse"},{label:"Qual a taxa de comiss\xe3o \xe9 cobrada da minha loja?",value:"comissaoCobrada"},{label:"Como funciona o ciclo de pagamento?",value:"cicloPagamento"},{label:"Como consultar os pedidos que foram pagos?",value:"consultarPedidos"},{label:"Como consultar determinada fatura?",value:"consultarDeterminadaPedidos"},{label:"Como consultar quais pedidos que foram pagos em determinada fatura?",value:"consultarFaturas"}],346323:[{label:"Problemas com minha URL de frete ",value:"problemUrlFrete"},{label:"Carrefour Envios \u2013 Emiss\xe3o da Etiqueta Rever",value:"carregourEnviosEtiquetaRever"},{label:"O que \xe9 uma tabela de conting\xeancia?",value:"tabelaContingencia"},{label:"Diverg\xeancia na cobran\xe7a de Frete",value:"cobrancaFrete"},{label:"Quais op\xe7\xf5es de entrega est\xe3o dispon\xedveis?",value:"opcaoEntrega"},{label:"O que \xe9 Intelipost e como se cadastrar?",value:"intelipost"},{label:"O que \xe9 Carrefour Envios e como se cadastrar?",value:"cadastrarEnvios"}],346331:[{label:"Problema no envio na carga de Produtos",value:"problemaEnvioCargaProdutos"},{label:"Problema de atualiza\xe7\xe3o Pre\xe7o/Estoque",value:"problemaAtualizacaoPrecoEstoque"},{label:"Como integrar com Bling no marketplace do Carrefour?",value:"integrarBling"},{label:"Como integrar com Tiny no marketplace do Carrefour?",value:"integrarTiny"},{label:"Como integrar Vtex ao marketplace do Carrefour?",value:"integrarVtex"},{label:"Como integrar com Ideris no marketplace do Carrefour?",value:"integrarIderis"},{label:"Como integrar com Gubee no marketplace do Carrefour?",value:"integrarGubee"},{label:"Como integrar Openk ao marketplace Carrefour?",value:"integrarOpenk"},{label:"Como integrar com AnyMarket no marketplace do Carrefour?",value:"integrarAnyMarket"},{label:"Como integrar com 00K no marketplace do Carrefour?",value:"integrar00k"},{label:"Como cadastrar produtos com variantes?",value:"produtosVariantes"},{label:"Enviei minha carga de produtos, mas elas sumiram. O que fazer?",value:"cargaProdutos"},{label:"O que significa cada status da carga?",value:"statusCarga"},{label:"Como saber em qual status minha carga de produto se encontra?",value:"statusCargaProduto"}],354349:[{label:"Processos Jur\xeddicos em andamento ou conclu\xeddo",value:"processoJuridico"}],363095:[{label:"Ajuste Ficha T\xe9cnica de produtos",value:"fichaTecnica"},{label:"Dados Inv\xe1lidos / Erros de Publica\xe7\xe3o",value:"dadosInvalidosErros"},{label:"Desativar itens de cataloga\xe7\xe3o",value:"itensCatalogacao"},{label:"Como funciona o processo de cataloga\xe7\xe3o do meu produto?",value:"processoCatalogacao"},{label:"Como evitar que meus produtos sejam rejeitados? ",value:"comoEvitarProdutosRejeitados"},{label:"Como corrigir meus produtos rejeitados?",value:"comoCorrigirProdutosRejeitados"},{label:"Status no processo de Cataloga\xe7\xe3o",value:"statusCatalogacao"}],350113:[{label:"Como atualizar meus pedidos?",value:"meusPedidos"},{label:"O que significam os status do pedido?",value:"statusPedido"},{label:"Como realizar a baixa manual dos pedidos?",value:"manualPedidos"},{label:"Como confirmar o envio do pedido?",value:"envioPedido"},{label:"O que \xe9 um incidente?",value:"incidente"},{label:"Como checar meus pedidos?",value:"checarPedidos"}],354355:[{label:"Treinamento",value:"treinamento"}],363097:[{label:"Inativa\xe7\xe3o de loja",value:"inativacaoLoja"}],363099:[{label:"Reativa\xe7\xe3o de loja",value:"reativacaoLoja"}],363093:[{label:"Processo de Migra\xe7\xe3o com mudan\xe7a de SKU ",value:"processoMigracaoComMudancaSku"},{label:"Processo de Migra\xe7\xe3o SEM mudan\xe7a de SKU ",value:"processoMigracaoSemMudancaSku"}],475100:[{label:"Como potencializar o interesse de compra dos meus clientes?",value:"comoPotencializarInteresseCompra"}]},respostas:{resetSenha:'Para recuperar ou alterar a senha de acesso ao portal Mirakl, clique em esqueci minha senha na p\xe1gina de login, e certifique-se de n\xe3o ter recebido o link para reset da senha. Caso n\xe3o tenha recebido, voc\xea deve entrar em contato com o suporte ao seller. Prossiga neste atendimento para abertura do chamado, selecionando o assunto "administra\xe7\xe3o de usu\xe1rios \u2013 Reset de Senha".',incluirUsuario:'Para incluir um novo usu\xe1rio, a partir da tela inicial do Portal, o seller deve acessar: 1- Administra\xe7\xe3o > Gerenciamento de usu\xe1rios. Na tela seguinte ser\xe3o apresentados todos os usu\xe1rios. Do lado superior direito, o seller deve: 2. Clicar no bot\xe3o "+ Adicionar um usu\xe1rio loja" > Na tela de cadastro, informar todos os dados e permiss\xf5es > Clicar em "Salvar".',excluirUsuario:'Caso queira retirar os acessos de determinado usu\xe1rio, de antem\xe3o, voc\xea pode acessar: 1- Administra\xe7\xe3o > Gerenciamento de usu\xe1rios. Na tela seguinte ser\xe3o apresentados todos os usu\xe1rios. Desmarque todas as op\xe7\xf5es de acesso liberado para este usu\xe1rio e clique em "Salvar". Para excluir definitivamente um usu\xe1rio do portal, voc\xea deve entrar em contato com o suporte ao seller. Prossiga neste atendimento para abertura do chamado, selecionando o assunto \u201cadministra\xe7\xe3o de usu\xe1rio\u201d e \u201ccomo excluir um usu\xe1rio\u201d.',moduloComissionamento:"Para Reset e/ou cria\xe7\xe3o de usu\xe1rio para o m\xf3dulo de comissionamento, acione o suporte ao seller prosseguindo neste atendimento e informe um e-mail login na abertura do chamado. Aten\xe7\xe3o: o M\xf3dulo de comissionamento deve ser utilizado apenas para consultar pedidos no per\xedodo do dia 26/12/2019 at\xe9 26/04/2021, para os demais per\xedodos a consulta deve ser feita na Mirakl.",codigoSegurancaLogar:'Nosso portal passou por um refor\xe7o de seguran\xe7a, agora para voc\xea realizar o login ser\xe1 enviado um c\xf3digo de seguran\xe7a para o seu email. Localize facilmente buscando em seu email p\xf4r no-reply@mirakl.net.
Voc\xea tem a op\xe7\xe3o de flegar a mensagem \u201cRemember this device for 30 days\u201d dessa forma o sistema ficar\xe1 30 dias sem solicitar novamente o c\xf3digo. Ap\xf3s esse per\xedodo ser\xe1 necess\xe1ria uma nova valida\xe7\xe3o.',alteracaoCnpj:'Para altera\xe7\xe3o de CNPJ e Raz\xe3o Social \xe9 fundamental que na abertura do chamado envie as seguintes documenta\xe7\xf5es: 1- Consulta CNPJ - Comprovante de Situa\xe7\xe3o Cadastral Gr\xe1tis (Receita Federal) 2 - Contrato Social - contendo CNPJ ou endere\xe7o do fornecedor que ser\xe1 cadastrado (Receita Federal) 3 -Certid\xe3o Negativa da Faz. Estadual ou Termo 4-Consulta P\xfablica ao Cadastro ICMS (Sintegra) 5-Comprovante Banc\xe1rio (Folha de cheque ou comprovante internet banking). Obs: O comprovante deve estar leg\xedvel, ter CNPJ ou Raz\xe3o social 6-Carta Social e \xc9tica com os dados da empresa assinada pelo representante legal da empresa ( anexo ) 7-Termo de responsabilidade reconhecido firma ( anexo ) 8-CRFORN ( anexo ) Prossiga neste atendimento para abertura do chamado, selecionando o assunto "Dados Cadastrais" e \u201cAltera\xe7\xe3o de CNPJ e Raz\xe3o Social".',alteracaoDadosBancarios:"Para altera\xe7\xe3o dos dados banc\xe1rios \xe9 fundamental que na abertura do chamado envie um comprovante da conta banc\xe1ria contendo o nome da Loja.",alteracaoEndereco:"Para altera\xe7\xe3o do endere\xe7o, \xe9 importante ressaltar que o endere\xe7o deve ser o mesmo presente na Receita Federal. Na abertura do chamado envie um comprovante da Receita Federal.",confirmarRepasse:'\xc9 importante ressaltar que o pagamento \xe9 realizado atrav\xe9s do Banco Carrefour e tamb\xe9m pela Pagar.me. Portanto, caso trabalhe com outras lojas atente-se ao extrato recebido pela pagar.me Os pagamentos dos ciclos 268 at\xe9 o ciclo 374, voc\xea deve consultar no m\xf3dulo de Comissionamento, na aba Repasse. Os pagamentos que antecederam o ciclo 268 e posterior ao 374 devem ser consultados no Portal Mirakl, em Administra\xe7\xe3o > Hist\xf3rico de Transa\xe7\xe3o. S\xe3o contemplados no valor do repasse todos os pedidos que estejam com status "recebido" no portal Carrefour, ou seja, todos os pedidos que foram entregues aos clientes e possuem a confirma\xe7\xe3o de entrega registrada no sistema. E que n\xe3o possuem incidentes em aberto. Caso permane\xe7am d\xfavidas, preencha a planilha em anexo para prosseguir com abertura do chamado. (ANEXO) ',comissaoCobrada:'A taxa de comiss\xe3o \xe9 negociada entre o seller e o Carrefour e pode ser consultada no contrato. Para calcular sua comiss\xe3o consulte o contrato ou calcule da seguinte forma: Comiss\xe3o / Venda = % de Comiss\xe3o trabalhada Comiss\xe3o = Valor descontado no repasse Venda = (Produto + Frete) Caso permane\xe7am d\xfavidas, preencha a planilha em anexo para prosseguir com a abertura o chamado. (ANEXO)',cicloPagamento:'\u2022 O ciclo de pagamento \xe9 a maneira como s\xe3o organizados os repasses feitos aos nossos sellers referente \xe0s vendas realizadas. S\xe3o contemplados no valor do repasse todos os pedidos que estejam com status "recebido" no portal Carrefour, ou seja, todos os pedidos que foram entregues aos clientes e possuem a confirma\xe7\xe3o de entrega registrada no sistema. O pagamento \xe9 realizado atrav\xe9s de transfer\xeancia banc\xe1ria. \u2022 Os ciclos de pagamento t\xeam dura\xe7\xe3o de 15 dias e os pagamentos s\xe3o feitos em duas datas no m\xeas: - 1\xba ciclo \xe9 referente aos pedidos entregues do dia 11 ao 25 e seu pagamento \xe9 feito no dia 10. - 2\xba ciclo \xe9 referente aos pedidos entregues entre os dias 26 e 10 e seu pagamento \xe9 feito no dia 20. Importante: O pagamento sempre \xe9 realizado via transfer\xeancia, ent\xe3o caso sua conta sofra altera\xe7\xf5es, \xe9 necess\xe1rio que nos informe. Caso permane\xe7am d\xfavidas, preencha a planilha em anexo para prosseguir com abertura do chamado. (ANEXO)',consultarPedidos:'No portal Mirakl com o n\xfamero do pedido siga os seguintes passos: Administra\xe7\xe3o > Hist\xf3rico de Transa\xe7\xe3o. Assim voc\xea consegue localizar o n\xfamero da fatura, abrindo o arquivo poder\xe1 constatar o valor pago e o per\xedodo. Aten\xe7\xe3o: Apenas os pedidos dentro das datas 26/12/2019 at\xe9 26/04/2021 estar\xe3o modulo de comissionamento. Para os demais per\xedodos a consulta deve ser feita dentro da Mirakl.
Caso permane\xe7am d\xfavidas, preencha a planilha em anexo para prosseguir com abertura do chamado. (ANEXO)',consultarDeterminadaPedidos:'Para consultar os pedidos que foram pagos, certifique \u2013se em qual ciclo eles est\xe3o para verificar se est\xe3o no m\xf3dulo de comissionamento ou no Portal Mirakl.
No portal Mirakl siga os seguintes passos: Administra\xe7\xe3o > Meus Documentos Cont\xe1beis > Na aba Accounting documents > na \xfaltima coluna Montante a ser pago clique no filtro e seleciona a op\xe7\xe3o> Transaction History . No m\xf3dulo de Comissionamento siga os seguintes passos: Menu > Repasse > no ciclo em que deseja validar, clique Detalhado na \xfaltima coluna. Neste arquivo, ser\xe1 poss\xedvel constatar todos os pedidos que entraram no fluxo de repasse desse ciclo.',consultarFaturas:'Para consultar os pedidos que foram pagos, certifique-se em qual ciclo eles est\xe3o para verificar se est\xe3o no m\xf3dulo de comissionamento ou no Portal Mirakl. No portal Mirakl siga os seguintes passos: Administra\xe7\xe3o > Meus Documentos Cont\xe1beis > Na aba Accounting documents > na \xfaltima coluna Montante a ser pago clique no filtro e seleciona a op\xe7\xe3o> Transaction History . No m\xf3dulo de Comissionamento siga os seguintes passos: Menu > Repasse > no ciclo em que deseja validar, clique Detalhado na \xfaltima coluna. Neste arquivo, ser\xe1 poss\xedvel constatar todos os pedidos que entraram no fluxo de repasse desse ciclo.',problemUrlFrete:"Para que sua URL de frete esteja funcionando, \xe9 necess\xe1rio que ela esteja configurada corretamente com seu integrador dentro dos par\xe2metros que o Carrefour necessita receber o retorno das informa\xe7\xf5es. Esses par\xe2metros o seu integrador j\xe1 tem acesso atrav\xe9s do manual de integra\xe7\xe3o. Dessa forma sua tabela de frete deve estar configurada dentro do seu integrador, onde para o Carrefour s\xf3 ser\xe1 necess\xe1rio nos informar a URL de frete para cadastro. Caso ap\xf3s verificar junto ao seu integrador a URL ainda n\xe3o esteja cotando corretamente, orientamos seguir com a abertura deste chamado.",carregourEnviosEtiquetaRever:"Ap\xf3s a inclus\xe3o da NF etiqueta deve ser emitida no prazo de at\xe9 5 minutos. Em dados adicionais do pedido, \xe9 poss\xedvel constatar. O que impede de a etiqueta ser emitida; Aten\xe7\xe3o: \xc9 importante que na subida das informa\xe7\xf5es de NF n\xe3o seja alterado o status do pedido, caso isso ocorra, orientamos que abra um chamado com o time de apoio ao seller, \xe9 extremamente restrito enviar o pedido por conta pr\xf3pria.",tabelaContingencia:'\u2022 A tabela de conting\xeancia \xe9 utilizada para calcular o frete caso a API apresente alguma indisponibilidade ou erro. Dessa forma \xe9 poss\xedvel atender o cliente e n\xe3o perder a venda. Para cadastrar ou corrigir a tabela de conting\xeancia consulte o Manual clicando AQUI, e para acesso a tabela clique AQUI.',cobrancaFrete:"Se identificou uma diverg\xeancia na cota\xe7\xe3o de seu frete, verifique se n\xe3o h\xe1 instabilidade em sua API de frete e se as dimens\xf5es do produto cotado no pedido est\xe3o corretas ( as dimens\xf5es devem ser em cent\xedmetros e o peso em gramas ). Ap\xf3s ter feito as devidas valida\xe7\xf5es e n\xe3o ter identificado o motivo da diverg\xeancia, acione o suporte ao seller, na abertura do chamado informe o pedido, produto, valor cobrado e valor correto da cota\xe7\xe3o do frete. ",opcaoEntrega:"\u2022 O Carrefour Marketplace trabalha com as tr\xeas principais modalidades de entrega de produtos dispon\xedveis no mercado: - Padr\xe3o: (PAC ou Via transportadora); - Expressa: Prazo de entrega menor com envio via Sedex; - Agendada: Essa modalidade est\xe1 dispon\xedvel para clientes residentes no estado de S\xe3o Paulo, conforme a lei federal 13.747/09, a Lei da Entrega. \xc9 importante que o seller ofere\xe7a no m\xednimo os modelos de entrega padr\xe3o. Caso o seller tamb\xe9m opte pela agendada (dispon\xedvel apenas no estado S\xe3o Paulo), dever\xe1 configurar previamente em sua plataforma, ou cadastrar na Intelipost. ",intelipost:'N\xf3s temos o diferencial de oferecer gratuitamente \xe0 voc\xea, nosso lojista, o benef\xedcio da integra\xe7\xe3o com a Intelipost!
Dessa forma, ser\xe1 poss\xedvel cadastrar at\xe9 3 tabelas de fretes diferentes, possibilitando ter fretes mais competitivos, utilizando sempre a melhor cota\xe7\xe3o considerando o pre\xe7o, o prazo e valor do frete e sem qualquer cobran\xe7a adicional.
Com o objetivo de garantir a qualidade da integra\xe7\xe3o, tamb\xe9m utilizamos a Intelipost como reposit\xf3rio da sua tabela conting\xeancia.
Recomendamos que todos os lojistas cadastrem suas tabelas.
Ap\xf3s preenchimento do formul\xe1rio, o time da Intelipost entrar\xe1 em contato em at\xe9 48hrs disponibilizando o seu acesso.',cadastrarEnvios:'O Carrefour Envios \xe9 a solu\xe7\xe3o log\xedstica do Carrefour Marketplace para ajudar voc\xea lojista a otimizar suas entregas e assim focar nas suas vendas. Com o Carrefour Envios voc\xea n\xe3o precisa se preocupar com contratos de transportadores, assim que receber uma venda n\xf3s disponibilizaremos a etiqueta para que voc\xea possa enviar seus pacotes com maior agilidade e facilidade. Voc\xea e seu comprador v\xe3o poder acompanhar o envio do produto, monitorando seu trajeto, entregas mais r\xe1pidas, valores de fretes mais competitivos, rastreamento e envios mais seguros. Aten\xe7\xe3o: Para cadastrar o Carrefour Envios, seus produtos devem pesar at\xe9 30kg e respeitar as dimens\xf5es m\xe1ximas de 100cm de cada lado e at\xe9 200cm a soma dos 3 lados (altura, comprimento, largura). Considere as dimens\xf5es do produto embalado. As medidas s\xe3o fornecidas pelos Correios e podem sofrer altera\xe7\xf5es. Ao iniciar a configura\xe7\xe3o da sua loja no Portal do Seller voc\xea pode selecionar o Carrefour Envios como sua modalidade log\xedstica. Lembre-se de cadastrar corretamente seu endere\xe7o de postagem (de onde seus produtos ser\xe3o enviados). Assim que sua loja estiver online, a cada venda realizada ser\xe1 disponibilizada uma etiqueta de envio, basta ent\xe3o imprimi-la, colar no seu pacote e ir at\xe9 a ag\xeancia de Correios mais pr\xf3xima para enviar. O custo de envio vai depender do peso e tamanho de cada pacote. N\xf3s trabalhamos para conseguir os melhores custos de envio para cada regi\xe3o do pa\xeds! Para algumas cidades disponibilizamos tamb\xe9m a possibilidade de coleta diretamente no seu endere\xe7o, conforme uma quantidade m\xednima de pedidos di\xe1rios. *Se o servi\xe7o de Coleta estiver dispon\xedvel para sua regi\xe3o voc\xea poder\xe1 selecionar na configura\xe7\xe3o da loja. No portal do Seller em Servi\xe7os > Carrefour Envios > Cadastrar Preencha com o endere\xe7o de sua loja. O endere\xe7o informado deve ser o mesmo utilizado para envio e recebimento de mercadorias. \xc9 importante que veja atentamente o Contrato de Ades\xe3o , dispon\xedvel na mesma aba em que preenche os dados da loja.',problemaEnvioCargaProdutos:"Na abertura do chamado, \xe9 importante informar o ID da carga e o print do erro apresentado.",problemaAtualizacaoPrecoEstoque:'Para abertura do chamado, fa\xe7a upload do arquivo clicando aqui e preencha as devidas informa\xe7\xf5es , anexe ao chamado juntamente com um print do erro apresentado.',desejaVenderCarrefour:'\xc9 importante validar se o seu integrador \xe9 homologado no Carrefour, voc\xea pode consultar clicando aqui. Se sim, d\xea in\xedcio ao cadastro da sua loja clicando aqui. Se n\xe3o, comunique ao seu integrador o seu interesse para que ele entre em contato com nosso time t\xe9cnico para realizar a homologa\xe7\xe3o.',integrarBling:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integrando com Bling no Carrefour Webinar Bling | Como vender no Carrefour Marketplace Sucesso e boas vendas!',integrarTiny:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integrando Tiny ao Carrefour Sucesso e boas vendas! ',integrarVtex:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Intregra\xe7\xe3o Vtex- Carrefour Sucesso e boas vendas!',integrarIderis:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integra\xe7\xe3o Ideris Carrefour Sucesso e boas vendas!',integrarGubee:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Intregrando Gubee ao Carrefour Sucesso e boas vendas!',integrarOpenk:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integra\xe7\xe3o OpenK Sucesso e boas vendas!',integrarAnyMarket:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integra\xe7\xe3o AnyMarket Sucesso e boas vendas!',integrar00k:'\u2022 Ol\xe1, Parceiro! Juntamos os artigos do seu integrador em nossa FAQ para que voc\xea n\xe3o fique com d\xfavidas em nenhuma das etapas. Integrando 00K com Carrefour Sucesso e boas vendas!',processoJuridico:"Para posicionamento a respeito de processos jur\xeddicos, a intera\xe7\xe3o deve ser realizada atrav\xe9s do portal Mirakl via incidente e/ou mensagem. Prossiga com a abertura deste chamado em caso de d\xfavidas ou contesta\xe7\xf5es a respeito de processos finalizados.",fichaTecnica:'Sabia que voc\xea pode fazer isso de forma pr\xe1tica e independente?\ud83d\ude00 Veja abaixo o passo a passo:
ATEN\xc7\xc3O! Se atente as regras abaixo antes de iniciar o processo de altera\xe7\xe3o. NUNCA altere produtos direto na ferramenta de cataloga\xe7\xe3o \u2013 Fa\xe7a o envio pelo integrador. NUNCA reaproveite sku de produto para modificar todas as caracter\xedsticas do item. Ex.: Se foi enviado um Smartphone, este sku N\xc3O pode ser reaproveitado para envio de um Smartwatch, pois s\xe3o produtos completamente diferentes. Produtos com MATCH s\xf3 podem ser alterados se foi voc\xea quem enviou a informa\xe7\xe3o anteriormente. \xc9 permitido que informa\xe7\xf5es n\xe3o preenchidas sejam acrescentadas ao an\xfancio. N\xe3o incluir texto institucional no descritivo dos produtos (textos que promovem a marca, mas n\xe3o descrevem o produto) Obs.: Este fluxo \xe9 v\xe1lido para itens cujo c\xf3digo Carrefour inicie por MP92, e apenas para altera\xe7\xf5es de T\xedtulo, Imagem e Descri\xe7\xe3o Comercial. Caso tenha d\xfavidas de como extrair o MP de seus produtos clique aqui. Para altera\xe7\xf5es de Atributos (informa\xe7\xf5es do produto) e altera\xe7\xf5es de produtos diferentes de MP92, utilize o link: https://storage.googleapis.com/br-digitalcomm-prd-product-images/NEOASSIST/306013254_nova-planilha-de-ajuste-3p.xlsx',itensCatalogacao:'As ofertas n\xe3o poder\xe3o ser exclu\xeddas, apenas desativadas. Para isso, basta que envie uma carga zerando as ofertas (pre\xe7o e estoque) dos MPS que n\xe3o deseja mais trabalhar. Caso encontre alguma dificuldade prossiga com a abertura deste chamado, \xe9 imprescind\xedvel que envie os SKUs no arquivo clicando AQUI',comoCorrigirProdutosRejeitados:"No processo de cataloga\xe7\xe3o dos produtos Carrefour, temos 2 tipos de rejei\xe7\xf5es:
Rejei\xe7\xe3o Autom\xe1tica A carga de produtos \xe9 enviada pelo integrador e chega em nosso portal (Mirakl). Por\xe9m, cont\xe9m produtos que n\xe3o est\xe3o dentro dos crit\xe9rios exigidos durante a valida\xe7\xe3o autom\xe1tica da Mirakl, e por este motivo s\xe3o rejeitados automaticamente.
Rejei\xe7\xe3o Manual A carga de produtos \xe9 enviada pelo integrador, chega em nosso portal (Mirakl) e os produtos passam pela valida\xe7\xe3o autom\xe1tica da Mirakl.",comoPotencializarInteresseCompra:'O Carrefour tem algumas dicas de boas pr\xe1ticas para voc\xea (t\xedtulo, imagem e descri\xe7\xe3o).
- Treinamento de Farming + Material de Ads',processoCatalogacao:'Antes de qualquer coisa, precisamos saber. Voc\xea j\xe1 assistiu o treinamento que preparamos para voc\xea sobre este tema ? \ud83d\ude0a Vem aqui d\xe1 uma conferida. ;) \u2022\tNosso processo de cataloga\xe7\xe3o ocorre da seguinte forma: 1 \u2013 Trajet\xf3ria do Produto:
Para produtos j\xe1 catalogados, \xe9 poss\xedvel inserir a varia\xe7\xe3o no t\xedtulo do produto. Para isto precisamos que nos encaminhe estas informa\xe7\xf5es, utilizando a planilha modelo INCLUIR NOVA PLANILHA. \xc9 importante que o arquivo esteja devidamente preenchido, contendo todas as informa\xe7\xf5es relevantes para seguirmos com a tratativa. https://docs.google.com/spreadsheets/d/1z6y4c-s1aK2EGMtA_7v6l5oE4yd0SlVM/edit#gid=971787261 ',statusCatalogacao:"- Produtos com status pendente: S\xe3o produtos que est\xe3o na fila aguardando cataloga\xe7\xe3o. - Produtos com erro de publica\xe7\xe3o: S\xe3o produtos que sofreram algum problema no processo de publica\xe7\xe3o (vide sub assunto Dados Inv\xe1lidos/Erro de Publica\xe7\xe3o). - Produtos com status Publicado: Itens que j\xe1 foram catalogados e foram criados com sucesso. - Rejeitado: Produtos que foram rejeitados pelo time de Cat\xe1logo. Neste caso, entre em contato conosco, via Apoio ao Seller. ",meusPedidos:"Atualiza\xe7\xe3o do status do pedido \xe9 feita diretamente via Integrador, com exce\xe7\xe3o apenas para os pedidos que precisam de tratativas de incidentes (pedidos atrasados/ruptura de estoque/produto extraviado e insucesso). O integrador faz a baixa de entrega de forma autom\xe1tica. Caso isso n\xe3o ocorra por erro de integra\xe7\xe3o ou por n\xe3o ser uma fun\xe7\xe3o contratada, a baixa de entrega deve ser feita de forma manual.",statusPedido:'',manualPedidos:'Para realizar a baixa manual do pedido, o seller deve seguir o passo-a-passo: 1. Clique em Meus Pedidos > Todos os Pedidos > Clique no pedido > Em Informa\xe7\xf5es Adicionais, no primeiro campo, altere a Confirma\xe7\xe3o de Entrega > Clique no l\xe1pis, selecione "SIM" e clique em salvar. ',envioPedido:'No portal Mirakl, voc\xea deve acessar; 1. Meus Pedidos > Todos os pedidos > Ao lado esquerdo da tela, em "Filtrar", selecione o Estado do pedido como ENVIADO > Clique em ATUALIZAR. 2. Selecione o pedido > Preencha as informa\xe7\xf5es necess\xe1rias: - N\xfamero da NFe - Data NFe - Serie da NFe - C\xf3digo NF O envio do rastreio deve ser feito na aba \u201cEnvio\u201d ainda na tela do pedido, conforme o passo-a-passo: 1. Pedidos > Todos os pedidos > Selecione o pedido > Clique em Envio. 2. No campo Envio, selecione uma transportadora. Caso seja "Correios", apenas informe o N\xfamero de rastreamento. Caso seja alguma transportadora, selecione "Outros" > Preencha o Nome > URL de rastreamento > N\xfamero de rastreamento. Caso lojista seja integrado n\xe3o \xe9 necess\xe1rio que esta a\xe7\xe3o seja realizada.
Em casos de cart\xe3o: o time de central de solu\xe7\xf5es efetivar\xe1 o estorno. Em caso de boleto: o time de central de solu\xe7\xf5es entrar\xe1 em contato com o cliente para coletar dados e realizar o dep\xf3sito em conta. Caso n\xe3o seja poss\xedvel o contato com o cliente, o Carrefour ir\xe1 gerar uma ordem de pagamento no banco Bradesco, onde somente o titular da compra poder\xe1 resgatar o valor. Qual a maneira correta de enviar NF-e? \u2022 Para concluir o processo de venda e atualizar o status de seu pedido, \xe9 necess\xe1rio incluir a NF-e referente \xe0 ele. Se voc\xea utiliza integra\xe7\xe3o manual, deve realizar o seguinte passo-a-passo: 1. Meus Pedidos > Todos os pedidos > Ao lado esquerdo da tela, em "Filtrar", selecione o Estado do pedido como DETALHADO > No campo abaixo, selecione a op\xe7\xe3o ENVIADO > Clique em ATUALIZAR.
3. Selecione o pedido > Preencha as informa\xe7\xf5es necess\xe1rias: - N\xfamero da NFe - Data NFe - Serie da NFe - C\xf3digo NF
Se voc\xea utilizar integrador o upload da nota fiscal \xe9 feito via API, somente das informa\xe7\xf5es da nota fiscal.',incidente:"Incidente \xe9 uma reclama\xe7\xe3o pois algo est\xe1 errado com o pedido, ele sempre ser\xe1 aberto por uma solicita\xe7\xe3o do cliente, e neste caso \xe9 necess\xe1rio tratar o caso mais breve poss\xedvel para que possamos resolver o problema dele.
\xc9 importante se atentar qual \xe9 o tipo de incidnete pois possu\xedmos prazos diferenciados.