(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d104b6a4"],{"0bc6":function(t,e,i){},1681:function(t,e,i){},"1b43":function(t,e,i){"use strict";i("5089")},"2bfd":function(t,e,i){},"2c64":function(t,e,i){},"326d":function(t,e,i){"use strict";var s=i("e449");e["a"]=s["a"]},"34ef":function(t,e,i){"use strict";var s=i("cc20");e["a"]=s["a"]},"3a60":function(t,e,i){(function(e,i){t.exports=i()})(0,(function(){return function(t){function e(s){if(i[s])return i[s].exports;var n=i[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,s){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=".",e(e.s=10)}([function(t,e){t.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},"!":{escape:!0}}},function(t,e,i){"use strict";function s(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}var n=i(2),a=i(0),o=i.n(a);e.a=function(t,e){var a=e.value;if((Array.isArray(a)||"string"==typeof a)&&(a={mask:a,tokens:o.a}),"INPUT"!==t.tagName.toLocaleUpperCase()){var r=t.getElementsByTagName("input");if(1!==r.length)throw new Error("v-mask directive requires 1 input, found "+r.length);t=r[0]}t.oninput=function(e){if(e.isTrusted){var o=t.selectionEnd,r=t.value[o-1];for(t.value=i.i(n.a)(t.value,a.mask,!0,a.tokens);o2&&void 0!==arguments[2])||arguments[2],o=arguments[3];return Array.isArray(e)?i.i(n.a)(s.a,e,o)(t,e,a,o):i.i(s.a)(t,e,a,o)}},function(t,e,i){"use strict";function s(t){t.component(l.a.name,l.a),t.directive("mask",o.a)}Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),a=i.n(n),o=i(1),r=i(7),l=i.n(r);i.d(e,"TheMask",(function(){return l.a})),i.d(e,"mask",(function(){return o.a})),i.d(e,"tokens",(function(){return a.a})),i.d(e,"version",(function(){return u}));var u="0.11.1";e.default=s,"undefined"!=typeof window&&window.Vue&&window.Vue.use(s)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i(1),n=i(0),a=i.n(n),o=i(2);e.default={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:function(){return a.a}}},directives:{mask:s.a},data:function(){return{lastValue:null,display:this.value}},watch:{value:function(t){t!==this.lastValue&&(this.display=t)},masked:function(){this.refresh(this.display)}},computed:{config:function(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput:function(t){t.isTrusted||this.refresh(t.target.value)},refresh:function(t){this.display=t;t=i.i(o.a)(t,this.mask,this.masked,this.tokens);t!==this.lastValue&&(this.lastValue=t,this.$emit("input",t))}}}},function(t,e,i){"use strict";function s(t,e,i){return e=e.sort((function(t,e){return t.length-e.length})),function(s,n){for(var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=0;or.length))return t(s,r,a,i)}return""}}e.a=s},function(t,e,i){"use strict";function s(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments[3];t=t||"",e=e||"";for(var n=0,a=0,o="";n({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))}):i.valid=e(t),i},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const i=this.watchers.find(t=>t._uid===e._uid);i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}})},5089:function(t,e,i){},5311:function(t,e,i){"use strict";i("14d9");var s=i("5607"),n=i("2b0e");e["a"]=n["a"].extend({name:"rippleable",directives:{ripple:s["a"]},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(t={}){return this.ripple?(t.staticClass="v-input--selection-controls__ripple",t.directives=t.directives||[],t.directives.push({name:"ripple",value:{center:!0}}),this.$createElement("div",t)):null}}})},"67b6":function(t,e,i){"use strict";i("2c64");var s=i("ba87"),n=i("9d26"),a=i("c37a"),o=i("7e2b"),r=i("a9ad"),l=i("4e82"),u=i("5311"),c=i("7560"),h=i("fe09"),d=i("80d2"),p=i("58df"),m=i("d9f7");const v=Object(p["a"])(o["a"],r["a"],u["a"],Object(l["a"])("radioGroup"),c["a"]);e["a"]=v.extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:Boolean,id:String,label:String,name:String,offIcon:{type:String,default:"$radioOff"},onIcon:{type:String,default:"$radioOn"},readonly:Boolean,value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){if(!this.isDisabled)return h["a"].options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return a["a"].options.computed.computedId.call(this)},hasLabel:a["a"].options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){return this.disabled||!!this.radioGroup&&this.radioGroup.isDisabled},isReadonly(){return this.readonly||!!this.radioGroup&&this.radioGroup.isReadonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||"radio-"+this.radioGroup._uid},rippleState(){return h["a"].options.computed.rippleState.call(this)},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(t){return h["a"].options.methods.genInput.call(this,"radio",t)},genLabel(){return this.hasLabel?this.$createElement(s["a"],{on:{click:h["b"]},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},Object(d["n"])(this,"label")||this.label):null},genRadio(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(n["a"],this.setTextColor(this.validationState,{props:{dense:this.radioGroup&&this.radioGroup.dense}}),this.computedIcon),this.genInput({name:this.computedName,value:this.value,...e}),this.genRipple(this.setTextColor(this.rippleState))])},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(t){const e={staticClass:"v-radio",class:this.classes,on:Object(m["b"])({click:this.onChange},this.listeners$),attrs:{title:this.attrs$.title}};return t("div",e,[this.genRadio(),this.genLabel()])}})},"68dd":function(t,e,i){},"6ca7":function(t,e,i){},9542:function(t,e,i){},ac7c:function(t,e,i){"use strict";i("6ca7"),i("ec29");var s=i("9d26"),n=i("c37a"),a=i("fe09");e["a"]=a["a"].extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick(()=>this.inputIndeterminate=t)},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(s["a"],this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},aeae:function(t,e,i){"use strict";var s,n,a={data:t=>({errorMessages:[{email:"",cpf:""}],requiredRules:[e=>{if(e)return!0;const i=t.$t("errors.required");return i}],emailRules:[e=>{if(e&&e.length>0)return!0;const i=t.$t("errors.required");return i},e=>{if(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e))return!0;const i="Email"+t.$t("errors.invalid");return i}],passwordRules:[e=>{if(e)return!0;const i=t.$t("errors.required");return i},t=>{if(t.length>5)return!0;const e="Senha tem que ter pelo menos 6 caracteres";return e}],cnpjRules:[e=>{if(e)return!0;const i=t.$t("errors.required");return i},e=>{if(e&&e.length){if(e=e.replace(/[^\d]+/g,""),14!==e.length)return"CNPJ"+t.$t("errors.invalid");if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return"CNPJ"+t.$t("errors.invalid");let i=e.length-2,s=e.substring(0,i),n=e.substring(i),a=0,o=i-7;for(let t=i;t>=1;t--)a+=s.charAt(i-t)*o--,o<2&&(o=9);let r=a%11<2?0:11-a%11;if(parseInt(r)!==parseInt(n.charAt(0)))return"CNPJ"+t.$t("errors.invalid");i+=1,s=e.substring(0,i),a=0,o=i-7;for(let t=i;t>=1;t--)a+=s.charAt(i-t)*o--,o<2&&(o=9);return r=a%11<2?0:11-a%11,parseInt(r)===parseInt(n.charAt(1))||"CNPJ"+t.$t("errors.invalid")}return!0}],cpfRules:[e=>{if(e)return!0;const i=t.$t("errors.required");return i},e=>{let i,s,n,a,o,r;if(r=1,e&&e.length){if(e=e.replace(/-|\./g,""),0!==e.length&&e.length<11)return"CPF"+t.$t("errors.invalid");for(a=0;a1;a--)n+=i.charAt(10-a)*a;if(o=n%11<2?0:11-n%11,o!==parseInt(s.charAt(0)))return"CPF"+t.$t("errors.invalid");for(i=e.substring(0,10),n=0,a=11;a>1;a--)n+=i.charAt(11-a)*a;return o=n%11<2?0:11-n%11,o===parseInt(s.charAt(1))||"CPF"+t.$t("errors.invalid")}return!0}],dateValidRules:[e=>{let i=!1;if(e&&-1===e.indexOf("/")&&8===e.length){const t=e.substr(0,2),s=Number(e.substr(2,2))-1,n=e.substr(4,8);i=[n,s,t]}return t.$moment(i).isValid()||t.$t("errors.invalidDate")}],rulesValidation:{required:e=>!!e||t.$t("errors.required"),minChar:e=>!!e&&e.length>=6||t.$t("errors.sixCharacters"),email:e=>{const i=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return!!e&&i.test(e)||"E-mail"+t.$t("errors.invalid")},dateValid:t=>{if(!t)return!0;if("string"!==typeof t||10!==t.length)return"Data inválida.";const e=t.split("/"),i=parseInt(e[0],10),s=parseInt(e[1],10)-1,n=parseInt(e[2],10),a=new Date(n,s,i);return!(isNaN(a.getTime())||a.getDate()!==i||a.getMonth()!==s||a.getFullYear()!==n||a.getFullYear()>(new Date).getFullYear()+120||a.getFullYear()<(new Date).getFullYear()-120)||"Data inválida."},ageThreshold:e=>{const i=(e||"").replace(/(\d{2})(\d{2})(\d{4})/,"$3,$2,$1").split(",").map((t,e)=>1===e?Number(t)-1:t),s=t.$moment().year()-t.$moment(i).year();return s<=100&&s>=15||t.$t("errors.invalidDate")}}}),methods:{validate(t){return this.$refs[t].validate()},reset(t){this.$refs[t].reset()},resetValidation(t){this.$refs[t].resetValidation()}}},o=a,r=i("2877"),l=Object(r["a"])(o,s,n,!1,null,null,null);e["a"]=l.exports},b810:function(t,e,i){"use strict";var s=i("ce7e");e["a"]=s["a"]},b974:function(t,e,i){"use strict";i.d(e,"b",(function(){return A}));i("13d5"),i("14d9"),i("4ff9"),i("68dd");var s=i("34ef"),n=i("326d"),a=(i("3c65"),i("cf36"),i("5607")),o=i("2b0e"),r=i("132d"),l=i("a9ad"),u=i("7560"),c=i("d9f7"),h=i("80d2"),d=o["a"].extend({name:"v-simple-checkbox",functional:!0,directives:{Ripple:a["a"]},props:{...l["a"].options.props,...u["a"].options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:i,listeners:s}){const n=[];let o=e.offIcon;if(e.indeterminate?o=e.indeterminateIcon:e.value&&(o=e.onIcon),n.push(t(r["a"],l["a"].options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),o)),e.ripple&&!e.disabled){const i=t("div",l["a"].options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{def:a["a"],name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",Object(c["a"])(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&Object(h["x"])(i.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}}),p=i("b810"),m=(i("0bc6"),i("58df")),v=Object(m["a"])(u["a"]).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}}),f=v,g=i("da13"),b=i("1800"),y=i("5d23"),I=i("8860"),k=Object(m["a"])(l["a"],u["a"]).extend({name:"v-select-list",directives:{ripple:a["a"]},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(g["a"],t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(b["a"],[this.$createElement(d,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(p["a"],{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return t;const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return[e,this.genHighlight(i),s]},genHeader(t){return this.$createElement(f,{props:t},t.header)},genHighlight(t){return this.$createElement("span",{staticClass:"v-list-item__mask"},t)},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};const s=t.slice(0,i),n=t.slice(i,i+e.length),a=t.slice(i+e.length);return{start:s,middle:n,end:a}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(g["a"],n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const a=this,o=this.$scopedSlots.item({parent:a,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(o)?this.$createElement(g["a"],n,o):o},genTileContent(t,e=0){return this.$createElement(y["a"],[this.$createElement(y["b"],[this.genFilteredText(this.getText(t))])])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(Object(h["m"])(t,this.itemDisabled,!1))},getText(t){return String(Object(h["m"])(t,this.itemText,t))},getValue(t){return Object(h["m"])(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>A},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...x["a"].options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!==(t=this.getText(this.selectedItems[0]))&&void 0!==t?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&Object(D["b"])("assert: staticList should not be called if slots are used"),this.$createElement(k,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...A,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null===(t=this.$refs.menu)||void 0===t||t.updateDimensions()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){x["a"].options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;ithis.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),n=!i&&this.isInteractive;return this.$createElement(s["a"],{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&n,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{n&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=$["a"].options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=Object(c["a"])(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=x["a"].options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=Object(c["a"])(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":Object(h["l"])(this.$refs.menu,"activeTile.id"),autocomplete:Object(h["l"])(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=x["a"].options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(k,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(n["a"],{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return Object(h["m"])(t,this.itemDisabled,!1)},getText(t){return Object(h["m"])(t,this.itemText,t)},getValue(t){return Object(h["m"])(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,i=performance.now();i-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=i;const s=this.allItems.findIndex(t=>{var e;const i=(null!==(e=this.getText(t))&&void 0!==e?e:"").toString();return i.toLowerCase().startsWith(this.keyboardLookupPrefix)}),n=this.allItems[s];-1!==s&&(this.lastItem=Math.max(this.lastItem,s+5),this.setValue(this.returnObject?n:this.getValue(n)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(s)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==h["r"].tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[h["r"].up,h["r"].down,h["r"].home,h["r"].end,h["r"].enter].includes(e)&&this.$nextTick(()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)}),[h["r"].enter,h["r"].space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[h["r"].up,h["r"].down,h["r"].home,h["r"].end].includes(e)?this.onUpDown(t):e===h["r"].esc?this.onEscDown(t):e===h["r"].tab?this.onTabDown(t):e===h["r"].space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;tthis.isMenuActive=!this.isMenuActive),x["a"].options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>this.getContent().scrollTop=0)},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case h["r"].up:e.prevTile();break;case h["r"].down:e.nextTile();break;case h["r"].home:e.firstTile();break;case h["r"].end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(i)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}})},c6a6:function(t,e,i){"use strict";i("2bfd");var s=i("b974"),n=i("8654"),a=i("d9f7"),o=i("80d2");const r={...s["b"],offsetY:!0,offsetOverflow:!0,transition:!1};e["a"]=s["a"].extend({name:"v-autocomplete",props:{allowOverflow:{type:Boolean,default:!0},autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(t,e,i)=>i.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:s["a"].options.props.menuProps.type,default:()=>r},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...s["a"].options.computed.classes.call(this),"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1}},computedItems(){return this.filteredItems},selectedValues(){return this.selectedItems.map(t=>this.getValue(t))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some(t=>!this.hasItem(t)):this.filteredItems.length>0},currentRange(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter(t=>{const e=Object(o["m"])(t,this.itemText),i=null!=e?String(e):"";return this.filter(t,String(this.internalSearch),i)})},internalSearch:{get(){return this.lazySearch},set(t){this.lazySearch!==t&&(this.lazySearch=t,this.$emit("update:search-input",t))}},isAnyValueAllowed(){return!1},isDirty(){return this.searchIsDirty||this.selectedItems.length>0},isSearching(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!this.hideNoData)},$_menuProps(){const t=s["a"].options.computed.$_menuProps.call(this);return t.contentClass=("v-autocomplete__content "+(t.contentClass||"")).trim(),{...r,...t}},searchIsDirty(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem(){return this.multiple?null:this.selectedItems.find(t=>this.valueComparator(this.getValue(t),this.getValue(this.internalValue)))},listData(){const t=s["a"].options.computed.listData.call(this);return t.props={...t.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},t}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(t){t?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(t){!t&&this.hasSlot&&(this.lazySearch=null)},items(t,e){e&&e.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!t.length||this.activateMenu()},searchInput(t){this.lazySearch=t},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(t,e){if(t!==e){if(!this.autoSelectFirst){const i=e[this.$refs.menu.listIndex];i?this.setMenuIndex(t.findIndex(t=>t===i)):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick(()=>{this.internalSearch&&(1===t.length||this.autoSelectFirst)&&(this.$refs.menu.getTiles(),this.autoSelectFirst&&t.length&&(this.setMenuIndex(0),this.$emit("update:list-index",this.$refs.menu.listIndex)))})}},onInternalSearchChanged(){this.updateMenuDimensions()},updateMenuDimensions(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex(t){this.searchIsDirty||(this.multiple&&t===o["r"].left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&t===o["r"].right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:t!==o["r"].backspace&&t!==o["r"].delete||this.deleteCurrentItem())},deleteCurrentItem(){const t=this.selectedIndex,e=this.selectedItems[t];if(!this.isInteractive||this.getDisabled(e))return;const i=this.selectedItems.length-1;if(-1===this.selectedIndex&&0!==i)return void(this.selectedIndex=i);const s=this.selectedItems.length,n=t!==s-1?t:t-1,a=this.selectedItems[n];a?this.selectItem(e):this.setValue(this.multiple?[]:null),this.selectedIndex=n},clearableCallback(){this.internalSearch=null,s["a"].options.methods.clearableCallback.call(this)},genInput(){const t=n["a"].options.methods.genInput.call(this);return t.data=Object(a["a"])(t.data,{attrs:{"aria-activedescendant":Object(o["l"])(this.$refs.menu,"activeTile.id"),autocomplete:Object(o["l"])(t.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),t},genInputSlot(){const t=s["a"].options.methods.genInputSlot.call(this);return t.data.attrs.role="combobox",t},genSelections(){return this.hasSlot||this.multiple?s["a"].options.methods.genSelections.call(this):[]},onClick(t){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(t.target)||this.activateMenu())},onInput(t){if(this.selectedIndex>-1||!t.target)return;const e=t.target,i=e.value;e.value&&this.activateMenu(),this.multiple||""!==i||this.deleteCurrentItem(),this.internalSearch=i,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[o["r"].home,o["r"].end].includes(e)||s["a"].options.methods.onKeyDown.call(this,t),this.changeSelectedIndex(e)},onSpaceDown(t){},onTabDown(t){s["a"].options.methods.onTabDown.call(this,t),this.updateSelf()},onUpDown(t){t.preventDefault(),this.activateMenu()},selectItem(t){s["a"].options.methods.selectItem.call(this,t),this.setSearch()},setSelectedItems(){s["a"].options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch(){this.$nextTick(()=>{this.multiple&&this.internalSearch&&this.isMenuActive||(this.internalSearch=!this.selectedItems.length||this.multiple||this.hasSlot?null:this.getText(this.selectedItem))})},updateSelf(){(this.searchIsDirty||this.internalValue)&&(this.multiple||this.valueComparator(this.internalSearch,this.getValue(this.internalValue))||this.setSearch())},hasItem(t){return this.selectedValues.indexOf(this.getValue(t))>-1},onCopy(t){var e,i;if(-1===this.selectedIndex)return;const s=this.selectedItems[this.selectedIndex],n=this.getText(s);null===(e=t.clipboardData)||void 0===e||e.setData("text/plain",n),null===(i=t.clipboardData)||void 0===i||i.setData("text/vnd.vuetify.autocomplete.item+plain",n),t.preventDefault()}}})},cf36:function(t,e,i){},dee3:function(t,e,i){"use strict";i("9542")},ec29:function(t,e,i){},ecb8:function(t,e,i){"use strict";i.r(e);var s=i("62ad"),n=i("0fd9"),a=function(){var t=this,e=t._self._c;return e("div",{class:t.paymentScreen?"":"pb-12"},[e(n["a"],{attrs:{"no-gutters":""}},[e(s["a"],{class:t.$vuetify.breakpoint.mdAndUp||t.paymentScreen?"":"px-6",attrs:{id:"participants",order:t.$vuetify.breakpoint.mdAndUp?"0":"1",cols:!t.$vuetify.breakpoint.mdAndUp||t.$route.query.embed||t.paymentScreen?"12":"8"}},[e("Nomination",{attrs:{paymentScreen:t.paymentScreen}})],1),t.paymentScreen||t.$route.query.embed?t._e():e(s["a"],{style:t.$vuetify.breakpoint.mdAndUp?"":"background-color: #eee;",attrs:{order:t.$vuetify.breakpoint.mdAndUp?"1":"0",cols:t.$vuetify.breakpoint.mdAndUp?"4":"12"}},[e("Summary",{staticStyle:{position:"sticky",top:"65px"}})],1)],1)],1)},o=[],r=(i("14d9"),i("dfd9")),l=i("8336"),u=i("4bd4"),c=i("2fa4"),h=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mt-6"},[e(n["a"],{attrs:{"no-gutters":""}},[e(s["a"],[e(n["a"],{staticClass:"checkout-h6",staticStyle:{"font-weight":"700"},attrs:{"no-gutters":""}},[t._v(" "+t._s(t.$t("participants.participants"))+" ")]),e(n["a"],{staticClass:"checkout-h5 accent--text",attrs:{"no-gutters":""}},[t._v(" "+t._s(t.$t("participants.details"))+" ")])],1),e(c["a"]),t.paymentScreen||t.eventDetails.checkout_nomeacao_obrigatoria||t.isCourtesy?t._e():e(l["a"],{attrs:{text:"",color:"primary",rounded:""},on:{click:t.goPayment}},[t._v(t._s(t.$t("participants.jump")))])],1),t.paymentScreen&&!t.eventDetails.checkout_nomeacao_obrigatoria?e(n["a"],{staticClass:"mt-4",attrs:{"no-gutters":""}},[e("span",{staticClass:"checkout-h4 accent--text"},[t._v(t._s(t.$t("participants.optional")))])]):t._e(),t.orderDetails?e("div",{staticClass:"mt-4"},[e(u["a"],{ref:"form",model:{value:t.valid,callback:function(e){t.valid=e},expression:"valid"}},t._l(t.orderDetails.ingressos,(function(i,s){return e("div",{key:s,class:t.paymentScreen?"":"mb-6"},[e(n["a"],{staticClass:"pb-6",attrs:{align:"center","no-gutters":""}},[e("div",{staticClass:"circle-number"},[t._v(t._s(s+1))]),e("span",{staticClass:"checkout-h3"},[t._v(t._s(i.nome_produto)+" - "+t._s(i.tipo))])]),t._l(i.dados_extras,(function(t,i){return e("NominationForm",{key:i,attrs:{option:t}})}))],2)})),0)],1):t._e(),t.paymentScreen?t._e():e(n["a"],{attrs:{"no-gutters":"",justify:"center"}},[t.$route.query.order_hash?t._e():e(l["a"],{staticClass:"mr-2",attrs:{rounded:"",outlined:"",color:"primary",width:"100",height:"40"},on:{click:t.backCart}},[t._v(t._s(t.$t("participants.back")))]),e(s["a"],[e(l["a"],{attrs:{loading:t.loading,rounded:"",depressed:"",disabled:!t.valid,width:"100%",height:"40",color:"primary"},on:{click:t.saveNomination}},[t._v(t._s(t.$t("participants.continue")))])],1)],1)],1)},d=[],p=i("2f62"),m=i("c6a6"),v=i("ac7c"),f=i("67b6"),g=i("43a6"),b=i("b974"),y=i("8654"),I=(i("1681"),i("58df"));const k=Object(I["a"])(y["a"]);var $=k.extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:t=>!isNaN(parseFloat(t))},rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseInt(t,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...y["a"].options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{autoGrow(t){this.$nextTick(()=>{var e;t?this.calculateInputHeight():null===(e=this.$refs.input)||void 0===e||e.style.removeProperty("height")})},lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout(()=>{this.autoGrow&&this.calculateInputHeight()},0)},methods:{calculateInputHeight(){const t=this.$refs.input;if(!t)return;t.style.height="0";const e=t.scrollHeight,i=parseInt(this.rows,10)*parseFloat(this.rowHeight);t.style.height=Math.max(i,e)+"px"},genInput(){const t=y["a"].options.methods.genInput.call(this);return t.tag="textarea",delete t.data.attrs.type,t.data.attrs.rows=this.rows,t},onInput(t){y["a"].options.methods.onInput.call(this,t),this.autoGrow&&this.calculateInputHeight()},onKeyDown(t){this.isFocused&&13===t.keyCode&&t.stopPropagation(),this.$emit("keydown",t)}}}),x=function(){var t=this,e=t._self._c;return e("div",["secao"!==t.option.tipo?e(n["a"],{staticClass:"checkout-h3 accent--text mt-n2",attrs:{"no-gutters":""}},[t._v(t._s(t.option.obrigatorio?t.option.titulo+" *":t.option.titulo))]):t._e(),"secao"===t.option.tipo?e("div",{staticClass:"identification-tag"},[t._v(" "+t._s(t.option.titulo)+" ")]):"cpf"!==t.option.tipo&&"cnpj"!==t.option.tipo&&"localidade"!==t.option.tipo&&"email"!==t.option.tipo&&"multipla_escolha"!==t.option.tipo&&"data"!==t.option.tipo&&"caixa_selecao"!==t.option.tipo&&"lista_suspensa"!==t.option.tipo&&"resposta_longa"!==t.option.tipo&&"upload_arquivo"!==t.option.tipo&&"termo_responsabilidade"!==t.option.tipo&&"paragrafo"!==t.option.tipo&&"upload_imagem"!==t.option.tipo&&"horario"!==t.option.tipo&&"telefone"!==t.option.tipo&&"documentos"!==t.option.tipo?e(y["a"],{ref:"ticketName",staticClass:"rounded-lg",attrs:{rules:t.option.obrigatorio?[t.rulesValidation.required]:[],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):"horario"===t.option.tipo||"telefone"===t.option.tipo?e(y["a"],{directives:[{name:"mask",rawName:"v-mask",value:t.getMask(t.option.tipo),expression:"getMask(option.tipo)"}],ref:"ticketName",staticClass:"rounded-lg",attrs:{rules:t.option.obrigatorio?[t.rulesValidation.required]:[],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):t._e(),"cpf"===t.option.tipo?e(y["a"],{directives:[{name:"mask",rawName:"v-mask",value:t.getMask(t.option.tipo),expression:"getMask(option.tipo)"}],ref:"ticketName",staticClass:"rounded-lg",attrs:{rules:t.option.obrigatorio?[t.rulesValidation.required,t.cpfRules[1]]:[t.cpfRules[1]],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):t._e(),"cnpj"===t.option.tipo?e(y["a"],{directives:[{name:"mask",rawName:"v-mask",value:t.getMask(t.option.tipo),expression:"getMask(option.tipo)"}],ref:"ticketName",staticClass:"rounded-lg",attrs:{rules:t.option.obrigatorio?[t.rulesValidation.required,t.cnpjRules[1]]:[t.cnpjRules[1]],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):t._e(),"email"===t.option.tipo?e(y["a"],{ref:"ticketName",staticClass:"rounded-lg",attrs:{type:"email",maxlength:"60",rules:t.option.obrigatorio?[t.rulesValidation.required,t.rulesValidation.email]:[],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):t._e(),"data"===t.option.tipo?e("div",[e(y["a"],{directives:[{name:"mask",rawName:"v-mask",value:t.getMask(t.option.tipo),expression:"getMask(option.tipo)"}],staticClass:"rounded-lg",attrs:{"background-color":"white",outlined:"",rules:t.option.obrigatorio?[t.rulesValidation.required,t.rulesValidation.dateValid]:[t.rulesValidation.dateValid],"return-masked-value":""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})],1):t._e(),"multipla_escolha"===t.option.tipo?e("div",[e(g["a"],{attrs:{mandatory:!0,rules:t.option.obrigatorio?[t.rulesValidation.required]:[]},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}},t._l(t.option.opcoes,(function(t,i){return e(f["a"],{key:i,attrs:{label:t,color:"primary",value:t}})})),1)],1):t._e(),"caixa_selecao"===t.option.tipo?e("div",{staticClass:"pb-8"},t._l(t.option.opcoes,(function(i,s){return e(v["a"],{key:s,staticStyle:{height:"25px"},attrs:{rules:t.option.obrigatorio?[t=>t&&t.length>=1||""]:[],color:"primary",label:i,value:i},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})})),1):t._e(),"lista_suspensa"===t.option.tipo?e("div",[e(b["a"],{staticClass:"rounded-lg",attrs:{"background-color":"white",items:t.option.opcoes,"item-text":"text","item-value":"value",outlined:"",rules:t.option.obrigatorio?[t.rulesValidation.required]:[]},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})],1):t._e(),"documentos"===t.option.tipo?e("div",[e(n["a"],{attrs:{"no-gutters":""}},[e(s["a"],{class:t.$vuetify.breakpoint.mdAndUp?"pr-2":"",attrs:{cols:t.$vuetify.breakpoint.mdAndUp?"4":"12"}},[e(b["a"],{staticClass:"rounded-lg",attrs:{items:t.getDocumentsItems(t.option.opcoes),"background-color":"white",outlined:"",rules:t.option.obrigatorio?[t.rulesValidation.required]:[]},model:{value:t.selectedDocument,callback:function(e){t.selectedDocument=e},expression:"selectedDocument"}})],1),e(s["a"],{class:t.$vuetify.breakpoint.mdAndUp?"pl-2":"mt-n4",attrs:{cols:t.$vuetify.breakpoint.mdAndUp?"8":"12"}},[e(y["a"],{directives:[{name:"mask",rawName:"v-mask",value:t.getMask(t.selectedDocument?t.selectedDocument.toLowerCase():""),expression:"\n getMask(selectedDocument ? selectedDocument.toLowerCase() : '')\n "},{name:"tokens",rawName:"v-tokens",value:t.tokensx,expression:"tokensx"}],ref:"ticketName",staticClass:"rounded-lg",attrs:{rules:t.option.obrigatorio?"CPF"===t.selectedDocument?[t.rulesValidation.required,t.cpfRules[1]]:[t.rulesValidation.required]:"CPF"===t.selectedDocument?[t.cpfRules[1]]:[],outlined:""},on:{keypress:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.$emit("save")}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})],1)],1)],1):t._e(),"resposta_longa"===t.option.tipo?e("div",[e($,{staticClass:"rounded-lg",attrs:{"background-color":"white",outlined:"","auto-grow":"",rules:t.option.obrigatorio?[t.rulesValidation.required]:[]},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})],1):t._e(),e("div",{attrs:{id:"google-place"}}),e("div",{attrs:{id:"google-autocomplete"}}),"localidade"===t.option.tipo?e("div",[e(m["a"],{staticClass:"rounded-lg",attrs:{"background-color":"white",outlined:"","item-text":"description","item-value":t.valueFormated,items:t.eventPlaces?t.eventPlaces:[],loading:!t.eventPlaces,"cache-items":"","no-data-text":"Digite para buscar o local",rules:t.option.obrigatorio?[t.rulesValidation.required]:[],"search-input":t.location},on:{"update:searchInput":function(e){t.location=e},"update:search-input":function(e){t.location=e}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}})],1):t._e(),"termo_responsabilidade"===t.option.tipo||"paragrafo"===t.option.tipo?e("div",[e("div",{staticClass:"termo-responsabilidade-item pa-2",domProps:{innerHTML:t._s(t.option.conteudo)}}),t.option.obrigatorio?e(v["a"],{attrs:{rules:[t=>!!t||"Você precisa aceitar os termos!"],color:"primary",label:"Li e aceito os termos"},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}):t._e()],1):t._e(),"upload_arquivo"===t.option.tipo||"upload_imagem"===t.option.tipo?e("div",[e(y["a"],{staticClass:"rounded-lg",attrs:{"background-color":"white",outlined:"","append-icon":"publish"},on:{click:function(e){return t.onPickFile(t.option)},"click:append":function(e){return t.onPickFile(t.option)}},model:{value:t.option.valor,callback:function(e){t.$set(t.option,"valor",e)},expression:"option.valor"}}),e("input",{staticStyle:{display:"none"},attrs:{type:"file",id:"fileInput-"+t.option.tipo},on:{change:t.onFileSelected}})],1):t._e()],1)},S=[],C=i("aeae"),_=i("3a60"),w={props:["option"],directives:{mask:_["mask"],tokens:_["tokens"]},mixins:[C["a"]],data(){return{selectedOption:null,isWaitingNameTicket:!1,order_hash:null,location:"",locations:[],selectedDocument:null,tokensx:{F:{pattern:/[0-9a-fA-F]/,transform:t=>t.toLocaleUpperCase()}}}},mounted(){var t;if("documentos"===(null===(t=this.option)||void 0===t?void 0:t.tipo)){let t=this.getDocumentsItems(this.option.opcoes);this.selectedDocument=t[0]}},watch:{location(t){t&&t.length>=3?this.searchLocation(t):this.$store.commit("SET_ALL_EVENT_PLACES",[])}},computed:{...Object(p["b"])(["eventPlaces"])},methods:{onPickFile(t){this.selectedOption=t,setTimeout((function(){document.getElementById("fileInput-"+t.tipo).click()}),200)},valueFormated(t){let e=t.description.replace(", "," - ").split(" - ");return`${e[0]}/${e[1]}/${e[2]}`},async searchLocation(t){await this.$store.dispatch("getGlobalPlaces",t)},onFileSelected(t){"upload_arquivo"===this.option.tipo&&(this.option.valor=t.target.value,this.option.file=t.target.files[0]),"upload_imagem"===this.option.tipo&&(this.option.valor=t.target.value,this.option.image=t.target.files[0]),this.selectedOption=null,this.$forceUpdate()},getDocumentsItems(t){return t.map(t=>"rg"===t||"cpf"===t?t.toUpperCase():"passaporte"===t?"Passaporte":t)},getMask(t){switch(t){case"telefone":return"(##) #########";case"data":return"##/##/####";case"horario":return"##:##";case"cnpj":return"##.###.###/####-##";case"cpf":return"###.###.###-##";case"rg":return{mask:"FFFFFFFFFF",tokens:{F:{pattern:/[0-9a-zA-Z\s]/}}};case"passaporte":return{mask:"FFFFFFFFFF",tokens:{F:{pattern:/[0-9a-zA-Z]/}}};default:return""}},returnMaked(t){switch(t){case"telefone":return!1;case"data":return!1;case"horario":return!1;case"cnpj":return!0;case"cpf":return!0;default:return!1}},async saveNameTicket(){this.$emit("save")}}},D=w,A=(i("dee3"),i("2877")),V=Object(A["a"])(D,x,S,!1,null,null,null),T=V.exports,O={props:["paymentScreen"],components:{NominationForm:T},data(){return{loading:!1,valid:!1}},computed:{...Object(p["b"])(["orderDetails","productsDetails","noSectorList","canPurchase","eventDetails","selectedSector","productsTotal","buyer"]),isCourtesy(){return 0===this.productsTotal}},watch:{valid(t){this.$store.commit("SET_NOMINATION_VALID",t)}},methods:{backCart(){this.$store.commit("SET_ORDER_DETAILS",null),localStorage.removeItem("cart-order-route-"+this.$route.params.event),this.$router.push({name:"Cart",params:{event:this.$route.params.event},query:this.$route.query})},setStorage(){let t={order:this.orderDetails,productsDetails:this.productsDetails,cart:this.noSectorList,selectedSector:this.selectedSector,route:"Payment"};localStorage.setItem("cart-order-route-"+this.$route.params.event,JSON.stringify(t))},goPayment(){this.setStorage();let t={name:"Payment",params:{event:this.$route.params.event},query:this.$route.query};this.$router.push(t)},async goToFinishedScreen(){let t={buyer:{...this.buyer,customer_phone:""},event:this.$route.params.event,order:this.orderDetails.codigo};await this.$store.dispatch("confirmOrder",t).then(t=>{t&&t.success&&this.$router.push({name:"Finished",params:{event:this.$route.params.event},query:this.$route.query})}).catch(t=>{t.response&&410===t.response.status&&(this.loading=!1)}),this.loading=!1},async saveNomination(){this.loading=!0,await this.$store.dispatch("saveNamedTicket",this.orderDetails.ingressos),this.isCourtesy&&await this.goToFinishedScreen(),this.isCourtesy||this.goPayment(),this.loading=!1}}},F=O,M=(i("1b43"),Object(A["a"])(F,h,d,!1,null,"1b90bc00",null)),E=M.exports,P={props:["paymentScreen"],components:{Summary:r["a"],Nomination:E},computed:{...Object(p["b"])(["orderDetails"])},async mounted(){let t=await JSON.parse(localStorage.getItem("cart-order-route-"+this.$route.params.event));this.orderDetails||t||this.$router.push({name:"Cart",params:{event:this.$route.params.event},query:this.$route.query}),this.handleScrollTo("#participants",this.$vuetify.breakpoint.mdAndUp?-64:-40)},methods:{handleScrollTo(t,e){this.$scrollTo(t,500,{offset:e})}}},j=P,L=Object(A["a"])(j,a,o,!1,null,null,null);e["default"]=L.exports},fe09:function(t,e,i){"use strict";i.d(e,"b",(function(){return r}));i("14d9");var s=i("c37a"),n=i("5311"),a=i("8547"),o=i("58df");function r(t){t.preventDefault()}e["a"]=Object(o["a"])(s["a"],n["a"],a["a"]).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some(e=>this.valueComparator(e,t)):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=s["a"].options.methods.genLabel.call(this);return t?(t.data.on={click:r},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:r},ref:"input"})},onClick(t){this.onChange(),this.$emit("click",t)},onChange(){if(!this.isInteractive)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const i=e.length;e=e.filter(e=>!this.valueComparator(e,t)),e.length===i&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onKeydown(t){}}})}}]); //# sourceMappingURL=chunk-d104b6a4.4b30f5a4.js.map