',a=t.indexOf(":"+e+":")>-1?":"+e+":":e;return t=t.replace(a,i),g}),"
"+t+"
"},buttons:function(){return this.message.context&&this.message.context.buttons||[]},expert:function(){var n=this;return"expert"!==this.message.from?null:this.$store.state.chat.conversation.experts.find(function(e){return e&&e.name===n.message.author})}},S("chat",["moduleEnabled"])),components:{VRuntimeTemplate:La,actionButton:Ka}},Pa={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"message-text",class:["-"+n.message.from]},["expert"===n.message.from?t("div",{staticClass:"avatar"},[n.expert&&n.expert.image?n._e():t("font-awesome-icon",{attrs:{icon:["fas","user"]}}),n._v(" "),n.expert&&n.expert.image?t("img",{attrs:{src:n.expert.image,alt:n.expert?n.expert.name:n.$t("Atendimento")}}):n._e()],1):n._e(),n._v(" "),t("div",{staticClass:"content"},[t("v-runtime-template",{attrs:{template:n.content}}),n._v(" "),n.buttons.length>0?t("div",{staticClass:"buttons"},n._l(n.buttons,function(n,e){return t("action-button",{key:e,attrs:{settings:n}})})):n._e()],1),n._v(" "),t("div",{staticClass:"info"},[n._v("\n "+n._s(n._f("moment")(n.message.date,"DD/MM/YYYY HH:mm:ss"))+" - "+n._s(n.moduleChatBot===n.moduleEnabled&&"customer"!==n.message.from?n.botName:n.message.author)+"\n\n "),"expert"!==n.message.from&&"warning"!==n.message.from?t("span",{staticClass:"status",class:{"-active":"read"===n.message.status}},[t("font-awesome-icon",{staticClass:"icon",attrs:{icon:"check"}}),n._v(" "),"read"===n.message.status?t("font-awesome-icon",{staticClass:"icon",attrs:{icon:"check"}}):n._e()],1):n._e()])])},staticRenderFns:[]};var qa=t("mUJo")(_a,Pa,!1,function(n){t("OEbt")},"data-v-7228ade8",null).exports,$a={name:"message-queue-position",props:{message:{required:!0,type:Object}},computed:a()({},S("chat/queue",["position"]))},nI={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-card",{staticClass:"card"},[t("p",[n._v("\n "+n._s(n.$t("Oi {name}!",{name:n.name}))+"\n "),t("strong",[n._v(n._s(n.$t("Voc\xea \xe9 o {position}\xba da fila",{position:n.position})))])]),n._v(" "),t("p",[n._v("\n "+n._s(n.$t("Em breve um de nossos atendentes ficar\xe1 dispon\xedvel para te atender :)"))+"\n ")]),n._v(" "),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("v-button",{attrs:{type:"button",layout:"secondary","text-lower":!0},on:{click:n.cancel}},[n._v(n._s(n.$t("Cancelar")))])],1)])},staticRenderFns:[]};var eI=t("mUJo")($a,nI,!1,function(n){t("W7BI")},"data-v-08984383",null).exports,tI={name:"survey-base",methods:{updateMessageAdditionalData:function(n){this.$store.commit("chat/SET_SURVEY_ADDITIONAL_DATA",{"Coment\xe1rio":n})},sendSurvey:function(){var n=this;return this.$store.dispatch("chat/sendSurvey").then(function(){n.$store.commit("chat/RESET_SURVEY"),n.$router.replace("/chat/final")}).catch(function(){return null})}},computed:a()({option:{get:function(){return this.$store.state.chat.survey.option},set:function(n){this.$store.commit("chat/SET_SURVEY_OPTION",n)}}},S("chat",{additionalData:function(n){return n.survey.additionalData}}))},cI={render:function(){var n=this.$createElement;return(this._self._c||n)("div")},staticRenderFns:[]};var gI=t("mUJo")(tI,cI,!1,function(n){t("FKrH")},"data-v-3e0ba6d9",null).exports,iI={name:"survey-stars",extends:gI},aI={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"survey-stars"},[t("h2",{staticClass:"title"},[n._v(n._s(n.$t("Voc\xea gostou do seu atendimento?")))]),n._v(" "),t("div",{staticClass:"rate"},[t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-answer-5",name:"Rate"},domProps:{value:5,checked:n._q(n.option,5)},on:{change:function(e){n.option=5}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":5===n.option},attrs:{for:"survey-answer-5",title:n.$t("Muito Satisfat\xf3rio")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-4",name:"Rate"},domProps:{value:4,checked:n._q(n.option,4)},on:{change:function(e){n.option=4}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":4===n.option},attrs:{for:"survey-option-4",title:n.$t("Satisfat\xf3rio")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-3",name:"Rate"},domProps:{value:3,checked:n._q(n.option,3)},on:{change:function(e){n.option=3}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":3===n.option},attrs:{for:"survey-option-3",title:n.$t("Razo\xe1vel")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-2",name:"Rate"},domProps:{value:2,checked:n._q(n.option,2)},on:{change:function(e){n.option=2}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":2===n.option},attrs:{for:"survey-option-2",title:n.$t("Indiferente")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-1",name:"Rate"},domProps:{value:1,checked:n._q(n.option,1)},on:{change:function(e){n.option=1}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":1===n.option},attrs:{for:"survey-option-1",title:n.$t("Pouco Satisfat\xf3rio")}})]),n._v(" "),n.option?t("div",{staticClass:"comment"},[t("h3",{staticClass:"title"},[n._v(n._s(n.$t("Obrigado pela avalia\xe7\xe3o")))]),n._v(" "),t("p",[n._v("\n "+n._s(n.$t("Quer deixar uma mensagem?"))+"\n ")]),n._v(" "),t("v-textarea",{staticClass:"field",attrs:{placeholder:n.$t("Deixe uma mensagem de avalia\xe7\xe3o"),value:n.additionalData["Coment\xe1rio"]},on:{input:function(e){n.updateMessageAdditionalData(e.target.value)}}}),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"primary",disabled:!n.option},on:{click:n.sendSurvey}},[n._v(n._s(n.$t("Enviar")))])],1)],1):n._e(),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"secondary",link:!0},on:{click:function(e){n.$router.replace("/chat/final")}}},[t("small",[n._v(n._s(n.$t("Concluir sem responder")))])])],1)])},staticRenderFns:[]};var II={name:"survey-faces",extends:gI},lI={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"survey-faces"},[t("h2",{staticClass:"title"},[n._v(n._s(n.$t("Voc\xea gostou do seu atendimento?")))]),n._v(" "),t("div",{staticClass:"rate"},[t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-answer-5",name:"Rate"},domProps:{value:5,checked:n._q(n.option,5)},on:{change:function(e){n.option=5}}}),n._v(" "),t("label",{staticClass:"answer -option5",class:{"-voted":5===n.option},attrs:{for:"survey-answer-5",title:n.$t("Muito Satisfat\xf3rio")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-4",name:"Rate"},domProps:{value:4,checked:n._q(n.option,4)},on:{change:function(e){n.option=4}}}),n._v(" "),t("label",{staticClass:"answer -option4",class:{"-voted":4===n.option},attrs:{for:"survey-option-4",title:n.$t("Satisfat\xf3rio")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-3",name:"Rate"},domProps:{value:3,checked:n._q(n.option,3)},on:{change:function(e){n.option=3}}}),n._v(" "),t("label",{staticClass:"answer -option3",class:{"-voted":3===n.option},attrs:{for:"survey-option-3",title:n.$t("Razo\xe1vel")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-2",name:"Rate"},domProps:{value:2,checked:n._q(n.option,2)},on:{change:function(e){n.option=2}}}),n._v(" "),t("label",{staticClass:"answer -option2",class:{"-voted":2===n.option},attrs:{for:"survey-option-2",title:n.$t("Indiferente")}}),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-1",name:"Rate"},domProps:{value:1,checked:n._q(n.option,1)},on:{change:function(e){n.option=1}}}),n._v(" "),t("label",{staticClass:"answer -option1",class:{"-voted":1===n.option},attrs:{for:"survey-option-1",title:n.$t("Pouco Satisfat\xf3rio")}})]),n._v(" "),n.option?t("div",{staticClass:"comment"},[t("h3",{staticClass:"title"},[n._v(n._s(n.$t("Obrigado pela avalia\xe7\xe3o")))]),n._v(" "),t("p",[n._v("\n "+n._s(n.$t("Quer deixar uma mensagem?"))+"\n ")]),n._v(" "),t("v-textarea",{staticClass:"field",attrs:{placeholder:n.$t("Deixe uma mensagem de avalia\xe7\xe3o"),value:n.additionalData["Coment\xe1rio"]},on:{input:function(e){n.updateMessageAdditionalData(e.target.value)}}}),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"primary",disabled:!n.option},on:{click:n.sendSurvey}},[n._v(n._s(n.$t("Enviar")))])],1)],1):n._e(),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"secondary",link:!0},on:{click:function(e){n.$router.replace("/chat/final")}}},[t("small",[n._v(n._s(n.$t("Concluir sem responder")))])])],1)])},staticRenderFns:[]};var rI={name:"survey-numbers",extends:gI},oI={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"survey-numbers"},[t("h2",{staticClass:"title"},[n._v(n._s(n.$t("Voc\xea gostou do seu atendimento?")))]),n._v(" "),t("div",{staticClass:"rate"},[t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-1",name:"Rate"},domProps:{value:1,checked:n._q(n.option,1)},on:{change:function(e){n.option=1}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":1===n.option},attrs:{for:"survey-option-1",title:1}},[n._v("1")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-2",name:"Rate"},domProps:{value:2,checked:n._q(n.option,2)},on:{change:function(e){n.option=2}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":2===n.option},attrs:{for:"survey-option-2",title:2}},[n._v("2")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-3",name:"Rate"},domProps:{value:3,checked:n._q(n.option,3)},on:{change:function(e){n.option=3}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":3===n.option},attrs:{for:"survey-option-3",title:3}},[n._v("3")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-4",name:"Rate"},domProps:{value:4,checked:n._q(n.option,4)},on:{change:function(e){n.option=4}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":4===n.option},attrs:{for:"survey-option-4",title:4}},[n._v("4")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-answer-5",name:"Rate"},domProps:{value:5,checked:n._q(n.option,5)},on:{change:function(e){n.option=5}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":5===n.option},attrs:{for:"survey-answer-5",title:5}},[n._v("5")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-6",name:"Rate"},domProps:{value:6,checked:n._q(n.option,6)},on:{change:function(e){n.option=6}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":6===n.option},attrs:{for:"survey-option-6",title:6}},[n._v("6")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-7",name:"Rate"},domProps:{value:7,checked:n._q(n.option,7)},on:{change:function(e){n.option=7}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":7===n.option},attrs:{for:"survey-option-7",title:7}},[n._v("7")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-8",name:"Rate"},domProps:{value:8,checked:n._q(n.option,8)},on:{change:function(e){n.option=8}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":8===n.option},attrs:{for:"survey-option-8",title:8}},[n._v("8")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-option-9",name:"Rate"},domProps:{value:9,checked:n._q(n.option,9)},on:{change:function(e){n.option=9}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":9===n.option},attrs:{for:"survey-option-9",title:9}},[n._v("9")]),n._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.option,expression:"option"}],staticClass:"field",attrs:{type:"radio",id:"survey-answer-10",name:"Rate"},domProps:{value:10,checked:n._q(n.option,10)},on:{change:function(e){n.option=10}}}),n._v(" "),t("label",{staticClass:"answer",class:{"-voted":10===n.option},attrs:{for:"survey-answer-10",title:10}},[n._v("10")])]),n._v(" "),n.option?t("div",{staticClass:"comment"},[t("h3",{staticClass:"title"},[n._v(n._s(n.$t("Obrigado pela avalia\xe7\xe3o")))]),n._v(" "),t("p",[n._v("\n "+n._s(n.$t("Quer deixar uma mensagem?"))+"\n ")]),n._v(" "),t("v-textarea",{staticClass:"field",attrs:{placeholder:n.$t("Deixe uma mensagem de avalia\xe7\xe3o"),value:n.additionalData["Coment\xe1rio"]},on:{input:function(e){n.updateMessageAdditionalData(e.target.value)}}}),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"primary",disabled:!n.option},on:{click:n.sendSurvey}},[n._v(n._s(n.$t("Enviar")))])],1)],1):n._e(),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"secondary",link:!0},on:{click:function(e){n.$router.replace("/chat/final")}}},[t("small",[n._v(n._s(n.$t("Concluir sem responder")))])])],1)])},staticRenderFns:[]};var CI={name:"message-survey",computed:{surveyComponent:function(){return{stars:"survey-stars",faces:"survey-faces",numbers:"survey-numbers"}[B.chat.survey.type]||null}},components:{surveyStars:t("mUJo")(iI,aI,!1,function(n){t("vyoP")},"data-v-6fdaed3c",null).exports,surveyFaces:t("mUJo")(II,lI,!1,function(n){t("MHS4")},"data-v-6a09e4bd",null).exports,surveyNumbers:t("mUJo")(rI,oI,!1,function(n){t("j5H+")},"data-v-386af754",null).exports}},BI={render:function(){var n=this.$createElement;return(this._self._c||n)(this.surveyComponent,this._g(this._b({tag:"component"},"component",this.$attrs,!1),this.$listeners))},staticRenderFns:[]},dI=t("mUJo")(CI,BI,!1,null,null,null).exports,sI={name:"message-system",props:{message:{required:!0,type:Object}},data:function(){}},bI={render:function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"message-system"},[e("div",{staticClass:"content"},[this._v("\n "+this._s(this.message.content)+"\n ")])])},staticRenderFns:[]};var uI=t("mUJo")(sI,bI,!1,function(n){t("kLIr")},"data-v-c3611e26",null).exports,AI={name:"message-warning",props:{message:{required:!0,type:Object}},components:{messageText:qa}},mI={render:function(){var n=this.$createElement;return(this._self._c||n)("message-text",{attrs:{message:this.message}})},staticRenderFns:[]};var GI=t("mUJo")(AI,mI,!1,function(n){t("XhY8")},"data-v-3f9f3584",null).exports,QI={name:"room",data:function(){return{autoScrollEnabled:!0,moduleChatBot:"ChatBot",botName:B.chat.bot.name,isOnline:!0}},methods:{messageComponent:function(n){return{text:"message-text",survey:"message-survey",system:"message-system","queue-position":"message-queue-position",warning:"message-warning"}[n.type]||null},toggleAutoScroll:function(){this.autoScrollEnabled=!this.autoScrollEnabled},online:function(){this.isOnline=!0},offline:function(){this.isOnline=!1}},computed:a()({},S({messages:function(n){return n.chat.conversation.messages}}),S("chat",["controls","moduleEnabled","socketReconnecting"]),S("chat/conversation",["showSendMessage","showExpertWriting","expert"])),directives:{autoScrollMessages:Aa},components:{connectionProblemsInformative:Ca,chatControls:Za,videoParticipants:Na,confirmStartVideoChat:Ya,sendMessage:wa,messageText:qa,messageQueuePosition:eI,messageSurvey:dI,messageSystem:uI,messageWarning:GI}},pI={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"chat-room",class:{"-videoroom":n.controls.videoChat}},[t("chat-controls",{staticClass:"controls"}),n._v(" "),n.controls.videoChat?t("video-participants"):n._e(),n._v(" "),t("div",{directives:[{name:"auto-scroll-messages",rawName:"v-auto-scroll-messages",value:{enabled:n.controls.autoScroll,messages:n.messages,delay:500,offsetTop:15},expression:"{enabled: controls.autoScroll, messages: messages, delay: 500, offsetTop: 15}"}],staticClass:"body"},[!n.isOnline||n.socketReconnecting?t("div",{staticClass:"reconnect-modal"},[t("connection-problems-informative",{on:{online:n.online,offline:n.offline}})],1):n._e(),n._v(" "),t("transition-group",{attrs:{name:"fade"}},n._l(n.messages,function(e){return t(n.messageComponent(e),{key:e.id,ref:"message-"+e.id,refInFor:!0,tag:"component",attrs:{message:e,id:"message-"+e.id}})}))],1),n._v(" "),t("div",{staticClass:"footer"},[n.showSendMessage?t("send-message"):n._e(),n._v(" "),n.showExpertWriting&&n.showSendMessage?t("p",{staticClass:"expertWriting"},[n._v("\n "+n._s(n.$t((n.moduleEnabled===n.moduleChatBot?n.botName:"Operador")+" digitando"))+"\n ")]):n._e()],1),n._v(" "),n.controls.confirmStartVideoChat?t("confirm-start-video-chat"):n._e()],1)},staticRenderFns:[]};var ZI=t("mUJo")(QI,pI,!1,function(n){t("eOCV")},"data-v-5912d98d",null).exports,hI={render:function(){var n=this.$createElement;return(this._self._c||n)("div",{staticClass:"row"},[this._t("default")],2)},staticRenderFns:[]};var FI=t("mUJo")({name:"row"},hI,!1,function(n){t("3twi")},"data-v-c9554336",null).exports,XI=t("ZRhR"),yI=t.n(XI),WI={methods:{propagateClick:function(){for(var n=arguments.length,e=Array(n),t=0;t0?t("p",[n._v(n._s(n.error.message.details))]):n._e()]),n._v(" "),t("div",{staticClass:"block"},[t("v-button",{attrs:{type:"button",layout:"secondary"},on:{click:n.redirectToChatForm}},[n._v(n._s(n.$t("Tentar novamente")))])],1)])},staticRenderFns:[]};var fI=t("mUJo")(NI,RI,!1,function(n){t("mImc")},"data-v-d0fcbfb4",null).exports,YI={props:{side:{required:!1,default:"bottom",type:String}}},HI={props:{layout:{required:!1,default:"default",type:String}}},TI={name:"btn-dropdown",props:{showCaretIcon:{required:!1,default:!0,type:Boolean}},mixins:[YI,HI],data:function(){return{showOptions:!1}},methods:{toggleShowOptionsAndNotifyClick:function(){this.showOptions=!this.showOptions;for(var n=arguments.length,e=Array(n),t=0;t5e3?(alert("Tamanho do arquivo muito grande!"),i()):t.$sdk.Chat.sendAttachment(e).then((a=fi()(Ni.a.mark(function e(g){var i,a;return Ni.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.file,e.next=3,c("formatMessage",{id:g.id,content:i.name,type:"text"});case 3:return a=e.sent,e.next=6,c("storeMessage",a);case 6:return e.abrupt("return",n());case 7:case"end":return e.stop()}},e,t)})),function(n){return a.apply(this,arguments)})).catch(i);var a})},sendMessageRead:function(n,e){var t=this;return qI()(n),new Ki.a(function(n,c){t.$sdk.Chat.sendMessageRead(e).then(n).catch(c)})},showStarted:function(n,e){var t=n.commit,c=n.dispatch,g=n.rootState,i=e.restored,a=e.expert;return new Ki.a(function(n,e){var I=g.chat.moduleEnabled,l=g.route.path;return t("chat/DISABLE_LOADING",null,{root:!0}),t("chat/queue/RESET_POSITION",null,{root:!0}),t("STORE_EXPERT",a),t("SHOW_SEND_MESSAGE"),"/chat/room"!==l&&Sl.replace("/chat/room"),"Chat"===I||i?n():c("chat/conversation/sendBlankMessage",null,{root:!0}).then(n).catch(e)})},showFinished:function(n){var e,t=this,c=n.dispatch,g=n.commit,i=n.rootState;return new Ki.a((e=fi()(Ni.a.mark(function n(e){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if("ChatBot"!==i.chat.moduleEnabled){n.next=12;break}if(B.chat.bot.survey){n.next=4;break}return Sl.replace({path:"/chat/final",query:{fromBot:!0}}),n.abrupt("return",e());case 4:if(!i.chat.ignoreNextSurvey){n.next=7;break}return g("chat/REMOVE_IGNORE_NEXT_SURVEY",null,{root:!0}),n.abrupt("return",e());case 7:return n.next=9,g("HIDE_SEND_MESSAGE");case 9:return n.next=11,c("chat/showSurveyMessage",null,{root:!0});case 11:return n.abrupt("return",e());case 12:if(B.chat.survey.enable){n.next=15;break}return Sl.replace({path:"/chat/final"}),n.abrupt("return",e());case 15:if(!i.chat.ignoreNextSurvey){n.next=18;break}return g("chat/REMOVE_IGNORE_NEXT_SURVEY",null,{root:!0}),n.abrupt("return",e());case 18:return n.next=20,g("HIDE_SEND_MESSAGE");case 20:return n.next=22,c("chat/showSurveyMessage",null,{root:!0});case 22:return n.abrupt("return",e());case 23:case"end":return n.stop()}},n,t)})),function(n){return e.apply(this,arguments)}))},hideSendMessageUntilNextMessage:function(n){var e=this,t=n.state,c=n.commit;return new Ki.a(function(n){c("SET_DISABLE_SEND_MESSAGE",!0);var g=e.watch(function(){return t.messages},function(){return c("SET_DISABLE_SEND_MESSAGE",!1),g()});return n()})},redirectToExpert:function(n){var e=this,t=n.state,c=n.commit,g=n.dispatch,i=n.rootState;return new Ki.a(function(n,I){return c("chat/queue/SET_MODULE_THAT_ENQUEUED","ChatBot",{root:!0}),c("chat/SET_MODULE_ENABLED","Chat",{root:!0}),c("chat/IGNORE_NEXT_SURVEY",null,{root:!0}),e.$sdk.ChatBot.stopConversation(),g("start",a()({},i.customer.form,{chatBotProtocol:t.protocol,chatBotId:t.idBot,chatBotContext:t.context,fromChatBot:!0})).then(n).catch(I)})},stop:function(n){var e,t=this,c=n.dispatch,g=n.rootState;return new Ki.a((e=fi()(Ni.a.mark(function n(e,i){var a;return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!g.chat.controls.videoChat){n.next=3;break}return n.next=3,c("chat/video/hangup",{local:!0},{root:!0});case 3:return a=g.chat.moduleEnabled,n.abrupt("return",t.$sdk[a].stopConversation().then(e).catch(i));case 5:case"end":return n.stop()}},n,t)})),function(n,t){return e.apply(this,arguments)}))}}},nl={namespaced:!0,state:{position:0,moduleThatEnqueued:B.chat.initialModule},getters:{},mutations:{SET_POSITION:function(n,e){n.position=parseInt(e)},RESET_POSITION:function(n){n.position=0},SET_MODULE_THAT_ENQUEUED:function(n,e){n.moduleThatEnqueued=e}},actions:{sendPositionMessage:function(n){var e,t=this,c=n.commit,g=n.dispatch;return new Ki.a((e=fi()(Ni.a.mark(function n(e){var i;return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,g("chat/conversation/formatMessage",{content:"",type:"queue-position",from:"system"},{root:!0});case 2:return i=n.sent,c("chat/conversation/STORE_MESSAGE",i,{root:!0}),n.abrupt("return",e());case 5:case"end":return n.stop()}},n,t)})),function(n){return e.apply(this,arguments)}))},showEnqueued:function(n,e){var t=n.state,c=n.commit,g=(n.dispatch,e.position);return new Ki.a(function(n,e){t.moduleThatEnqueued;return c("SET_POSITION",g),c("chat/DISABLE_LOADING",null,{root:!0}),Sl.replace("/chat/queue"),n()})},showEnqueuedFailed:function(n,e){var t,c=this,g=(n.state,n.commit),i=(n.dispatch,e.error);return new Ki.a((t=fi()(Ni.a.mark(function n(e,t){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return g("chat/SET_ERROR",i,{root:!0}),g("chat/DISABLE_LOADING",null,{root:!0}),Sl.replace("/chat/stopped"),n.abrupt("return",e());case 4:case"end":return n.stop()}},n,c)})),function(n,e){return t.apply(this,arguments)}))},showDequeued:function(n){(0,n.commit)("RESET_POSITION"),Sl.replace({path:"/chat/final",query:{fromQueue:1}})}}},el={STORE_PARTICIPANT:function(n,e){var t=n.participants;I.default.set(t,e.identity,e)},RESET_PARTICIPANTS:function(n){n.participants={}}},tl=t("WxTP"),cl=t.n(tl),gl={namespaced:!0,state:DI,getters:{},mutations:LI,actions:jI,modules:{buttons:MI,conversation:$I,queue:nl,video:{namespaced:!0,state:{participants:{}},getters:{},mutations:el,actions:{start:function(n,e){var t=n.commit;return new Ki.a(function(n){return t("chat/SET_VALUE_CONTROLS_ITEM",{item:"videoChat",value:!0},{root:!0}),t("STORE_PARTICIPANT",a()({},e.localParticipant,{identity:"local",local:!0})),n()})},hangup:function(n){var e,t=this,c=n.commit,g=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).local;return new Ki.a((e=fi()(Ni.a.mark(function n(e){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!g){n.next=3;break}return n.next=3,t.$sdk.Chat.Video.turnOff();case 3:return c("chat/SET_VALUE_CONTROLS_ITEM",{item:"videoChat",value:!1},{root:!0}),c("RESET_PARTICIPANTS"),n.abrupt("return",e());case 6:case"end":return n.stop()}},n,t)})),function(n){return e.apply(this,arguments)}))},showInvite:function(n){var e=n.commit;return new Ki.a(function(n){return e("chat/SET_VALUE_CONTROLS_ITEM",{item:"confirmStartVideoChat",value:!0},{root:!0}),n()})},abortInvite:function(n){var e=n.commit;return new Ki.a(function(n){return e("chat/SET_VALUE_CONTROLS_ITEM",{item:"confirmStartVideoChat",value:!1},{root:!0}),n()})},acceptInvite:function(n){var e=this,t=n.commit;return new Ki.a(function(n,c){e.$sdk.Chat.Video.accept().then(function(){return n()}).catch(c).finally(function(){t("chat/SET_VALUE_CONTROLS_ITEM",{item:"confirmStartVideoChat",value:!1},{root:!0})})})},rejectInvite:function(n){var e=this,t=n.commit;return new Ki.a(function(n,c){e.$sdk.Chat.Video.reject().then(function(){return n()}).catch(c).finally(function(){t("chat/SET_VALUE_CONTROLS_ITEM",{item:"confirmStartVideoChat",value:!1},{root:!0})})})},mute:function(n,e){var t,c=this,g=n.commit;return new Ki.a((t=fi()(Ni.a.mark(function n(t){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.local){n.next=3;break}return n.next=3,c.$sdk.Chat.Video.mute();case 3:return g("chat/SET_VALUE_CONTROLS_ITEM",{item:"sound",value:!1},{root:!0}),n.abrupt("return",t());case 5:case"end":return n.stop()}},n,c)})),function(n){return t.apply(this,arguments)}))},unmute:function(n,e){var t,c=this,g=n.commit;return new Ki.a((t=fi()(Ni.a.mark(function n(t){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.local){n.next=3;break}return n.next=3,c.$sdk.Chat.Video.unmute();case 3:return g("chat/SET_VALUE_CONTROLS_ITEM",{item:"sound",value:!0},{root:!0}),n.abrupt("return",t());case 5:case"end":return n.stop()}},n,c)})),function(n){return t.apply(this,arguments)}))},hide:function(n,e){var t,c=this,g=n.commit;return new Ki.a((t=fi()(Ni.a.mark(function n(t){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.local){n.next=3;break}return n.next=3,c.$sdk.Chat.Video.hide();case 3:return g("chat/SET_VALUE_CONTROLS_ITEM",{item:"video",value:!1},{root:!0}),n.abrupt("return",t());case 5:case"end":return n.stop()}},n,c)})),function(n){return t.apply(this,arguments)}))},unhide:function(n,e){var t,c=this,g=n.commit;return new Ki.a((t=fi()(Ni.a.mark(function n(t){return Ni.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.local){n.next=3;break}return n.next=3,c.$sdk.Chat.Video.unhide();case 3:return g("chat/SET_VALUE_CONTROLS_ITEM",{item:"video",value:!0},{root:!0}),n.abrupt("return",t());case 5:case"end":return n.stop()}},n,c)})),function(n){return t.apply(this,arguments)}))},fullscreen:function(){var n=["webkit","moz","ms","o",""];return function(e,t){for(var c=0,g=null;c=1?"upload-delete-self-form":"v-upload"}},k("customer",{addsAttachmentFile:"CREATE_FORM_ATTACHMENT",removeAttachmentFile:"REMOVE_FORM_ATTACHMENT",setAttachmentValue:"SET_FORM_ATTACHMENT_VALUE",concatAttachments:"CONCAT_ATTACHMENTS"}),{submit:function(){var n=this;return fi()(Ni.a.mark(function e(){return Ni.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.validationCounter=0,e.prev=1,e.next=4,n.validateFields();case 4:if(e.sent){e.next=7;break}return e.abrupt("return");case 7:e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return");case 12:n.loading=!0,n.error=!1,n.concatenateQuestion(),n.concatAttachments(),n.$sdk.Email.submit(n.form).then(function(e){n.loading=!1,n.resetUpload=!0,n.$store.commit("email/SET_PROTOCOL",e.protocol),n.$router.replace("/email/final")}).catch(function(e){n.loading=!1,n.error=e.message||!1,e.code===n.$sdk.Errors.EMAIL.CODES.VALIDATION_ERROR&&n.showSubmitValidationErrors(e.errors)});case 17:case"end":return e.stop()}},e,n,[[1,9]])}))()},updateConcatQuestion:function(n,e){this.concatQuestion[n].value=e,this.updateFormField(n,e)},concatenateQuestion:function(){var n=this;return fi()(Ni.a.mark(function e(){var t,c;return Ni.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=Fa()(n.concatQuestion)){e.next=2;break}return e.abrupt("return");case 2:for(c in t="",n.concatQuestion)""!=n.concatQuestion[c].value&&null!=n.concatQuestion[c].value&&(t+=n.$t(n.concatQuestion[c].label)+": "+n.concatQuestion[c].value+"
");return t+="
"+n.$t("Mensagem")+":
"+n.form.question,n.updateFormField("question",t),e.next=8,n.$store.commit("customer/SET_FORM_FIELD",{field:"question",value:t});case 8:case"end":return e.stop()}},e,n)}))()},showSubmitValidationErrors:function(n){var e=this;n.forEach(function(n,t){var c=n[0],g=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e.errors.add(g,c)})},resetRadioChilds:function(n){var e=this,t=[];return!!(n&&(n.forEach(function(n){n.children&&t.push(n.children)}),t.length>0))&&(t.forEach(function(n){e.$store.commit("customer/SET_FORM_FIELD",{field:n,value:null})}),!0)}}),computed:a()({canShowAlertError:function(){return Boolean(this.error)},obrigatorioRequired:function(){return this.form.subAttachments.obrigatorioAttachment.filter(function(n){return n.name}).length!==this.form.subAttachments.obrigatorioAttachment.length?"required":""}},S({pageType:function(n){return n.customer.pageType},thirdLevel:function(n){return n.email.thirdLevel},form:function(n){return n.customer.form},attachmentCounter:function(n){return n.customer.attachmentCounter},categories:function(n){return n.email.categories},subCategories:function(n){return n.email.subCategories[n.customer.form.mainCategory]}})),mounted:function(){this.$store.commit("email/RESET_PROTOCOL")},created:function(){var n={pt_BR:{name:"Nome",email:"E-mail",FieldU:"CPF",FieldA:"Telefone",question:"Mensagem",thirdLevel:"Sub-assunto"},es:{name:"Nombre",email:"E-mail",FieldA:"Tel\xe9fono",FieldU:"Documento",mainCategory:"Asunto",reclamacaoCategories:"Asunto secundario",question:"Mesaje"},en:{name:"Name",email:"E-mail",FieldA:"Phone",FieldU:"Document",mainCategory:"Subject",reclamacaoCategories:"Second Subject",question:"Message"}},e=this.$root.locale;this.$validator.localize("pt_BR",{attributes:n.pt_BR}),this.$validator.localize("en",{attributes:n.en}),this.$validator.localize("es",{attributes:n.es}),this.$validator.localize(e)},components:{uploadDeleteSelfForm:Il}},rl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"email-form"},[t("p",{staticClass:"_textsmall"},[t("i",[n._v("\n "+n._s(n.$t("Ol\xe1! Preencha o formul\xe1rio e retornaremos seu e-mail!"))+"\n ")])]),n._v(" "),n.errors.count()>0?t("v-alert",{attrs:{layout:"danger"}},[n._v("\n "+n._s(n.$t("Ocorreu algum erro no envio de seu e-mail."))+"\n "),t("br"),n._v("\n "+n._s(n.$t("Por favor, verifique se existe algum erro nos campos abaixo e tente novamente!"))+"\n ")]):n._e(),n._v(" "),n.error?t("v-alert",{attrs:{layout:"danger"}},[n._v("\n "+n._s(n.$t(n.error))+"\n ")]):n._e(),n._v(" "),t("form",{staticClass:"form",on:{submit:function(e){return e.preventDefault(),n.submit(e)}}},[t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Nome"))+"*")]),n._v(" "),t("v-input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],attrs:{id:"name",name:"name",placeholder:n.$t("Digite seu Nome"),value:n.form.name},on:{input:function(e){n.updateFormField("name",e.target.value)}}}),n._v(" "),n.errors.has("name")?t("v-field-error",[n._v(n._s(n.errors.first("name")))]):n._e()],1),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("CPF"))+"*")]),n._v(" "),t("v-input",{directives:[{name:"mask",rawName:"v-mask",value:["###.###.###-##"],expression:"['###.###.###-##']"},{name:"validate",rawName:"v-validate",value:"required|cpfcnpj",expression:"'required|cpfcnpj'"}],attrs:{id:"FieldU",name:"FieldU",type:"text",placeholder:n.$t("Digite seu CPF"),value:n.form.FieldU},on:{input:function(e){n.updateFormField("FieldU",e.target.value)}}}),n._v(" "),n.errors.has("FieldU")?t("v-field-error",[n._v(n._s(n.errors.first("FieldU")))]):n._e()],1),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("E-mail"))+"*")]),n._v(" "),t("v-input",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3|email",expression:"'required|min:3|email'"}],attrs:{id:"email",name:"email",type:"email",placeholder:n.$t("Digite seu E-mail"),value:n.form.email},on:{input:function(e){n.updateFormField("email",e.target.value)}}}),n._v(" "),n.errors.has("email")?t("v-field-error",[n._v(n._s(n.errors.first("email")))]):n._e()],1),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Telefone"))+"*")]),n._v(" "),t("v-input",{directives:[{name:"mask",rawName:"v-mask",value:["(##) ####-####","(##) #####-####"],expression:"['(##) ####-####', '(##) #####-####']"},{name:"validate",rawName:"v-validate",value:"required|phone",expression:"'required|phone'"}],attrs:{id:"FieldA",name:"FieldA",placeholder:n.$t("Digite seu Telefone"),value:n.form.FieldA},on:{input:function(e){n.updateFormField("FieldA",e.target.value)}}}),n._v(" "),n.errors.has("FieldA")?t("v-field-error",[n._v(n._s(n.errors.first("FieldA")))]):n._e()],1),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Voce quer falar sobre alguma experi\xeancia na:"))+"*")]),n._v(" "),t("v-select2",{attrs:{id:"mainCategory",name:"mainCategory",value:n.form.mainCategory,placeholder:n.$t("Escolha uma op\xe7\xe3o"),hasError:n.errors.has("mainCategory"),options:n.categories,validate:"select"},on:{input:function(e){n.updateSelectField("mainCategory",e)}}}),n._v(" "),n.errors.has("mainCategory")?t("v-field-error",[n._v("O campo acima \xe9 obrigat\xf3rio")]):n._e()],1),n._v(" "),n.form.mainCategory?t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Assunto"))+"*")]),n._v(" "),t("v-select2",{key:n.form.mainCategory,attrs:{id:"subCategories",name:"subCategories",value:n.form.subCategories,placeholder:n.$t("Escolha um Assunto"),hasError:n.errors.has("subCategories"),options:n.subCategories,validate:"select"},on:{input:function(e){n.updateSelectField("subCategories",e)}}}),n._v(" "),n.errors.has("subCategories")?t("v-field-error",[n._v("O campo Assunto \xe9 obrigat\xf3rio")]):n._e()],1):n._e(),n._v(" "),n.form.subCategories?t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Sub-assunto"))+"*")]),n._v(" "),t("v-select2",{key:"thirdLevel-"+n.form.subCategories,attrs:{id:"thirdLevel",name:"thirdLevel",value:n.form.thirdLevel,placeholder:n.$t("Escolha um sub-assunto"),hasError:n.errors.has("thirdLevel"),options:n.thirdLevel[n.form.subCategories],validate:"select"},on:{input:function(e){n.updateSelectField("thirdLevel",e)}}}),n._v(" "),n.errors.has("thirdLevel")?t("v-field-error",[n._v(n._s(n.errors.first("thirdLevel")))]):n._e()],1):n._e(),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Mensagem"))+"*")]),n._v(" "),t("v-textarea",{directives:[{name:"validate",rawName:"v-validate",value:"required|min:3",expression:"'required|min:3'"}],staticClass:"fieldQuestion",attrs:{id:"question",name:"question",value:n.form.question,placeholder:n.$t("Digite aqui sua mensagem")},on:{input:function(e){n.updateFormField("question",e.target.value)}}}),n._v(" "),n.errors.has("question")?t("v-field-error",[n._v(n._s(n.errors.first("question")))]):n._e()],1),n._v(" "),t("v-field-container",[t("v-label",[n._v(n._s(n.$t("Anexos"))+" "),t("span",{staticClass:"warning"},[n._v("(Limite m\xe1ximo 20MG)")])]),n._v(" "),t("v-field-container",{attrs:{"no-margin":!0,group:!0}},[n._l(n.form.subAttachments.opcionalAttachment,function(e,c){return t(n.attachmentComponent(c),{key:c,tag:"component",attrs:{id:"attachments-"+c,file:e,name:"opcionalAttachment",placeholder:n.$t("Adicione alguma foto ou arquivo"),"reset-upload":n.resetUpload},on:{select:function(e){n.setAttachmentValue({name:"opcionalAttachment",key:c,value:e})},delete:function(e){n.removeAttachmentFile({name:"opcionalAttachment",key:c})}}})}),n._v(" "),t("v-button",{directives:[{name:"show",rawName:"v-show",value:n.form.subAttachments&&n.form.subAttachments.opcionalAttachment.length<=4,expression:"form.subAttachments && form.subAttachments.opcionalAttachment.length <= 4"}],staticClass:"_floatright",attrs:{type:"button",link:!0,layout:"primary",size:"small"},on:{click:function(e){n.addsAttachmentFile("opcionalAttachment")}}},[n._v(n._s(n.$t("Adicionar mais")))]),n._v(" "),n.errors.has("opcionalAttachment")?t("v-field-error",[n._v(n._s(n.errors.first("opcionalAttachment")))]):n._e()],2)],1),n._v(" "),t("v-field-container",{attrs:{submit:!0}},[t("p",{staticClass:"_infotext"},[n._v("* "+n._s(n.$t("Campos de preenchimento obrigat\xf3rio")))]),n._v(" "),t("v-button",{attrs:{type:"submit",icon:n.loading?["fas","spinner"]:null,"pulse-icon":!0,layout:"secondary",disabled:n.loading}},[n._v(n._s(n.$t("Enviar")))])],1)],1)],1)},staticRenderFns:[]};var ol=t("mUJo")(ll,rl,!1,function(n){t("6RMU")},"data-v-ba99c7f8",null).exports,Cl={name:"email-final",methods:{sendNewEmail:function(){this.$store.commit("email/RESET_PROTOCOL"),this.$store.commit("customer/RESET_FORM"),ta.a.$emit("resetSelecion"),this.$router.replace("/email")}},computed:a()({},S("email",["protocol"]),S("customer",{name:function(n){return n.form.name}}))},Bl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"email-final"},[t("v-alert",{attrs:{layout:"success"}},[n._v("\n "+n._s(n.$t("Muito obrigado, {name},",{name:n.name}))+"\n "),n.protocol?t("span",[n._v(n._s(n.$t("o seu n\xfamero de protocolo \xe9 {protocol},",{protocol:n.protocol})))]):n._e(),n._v("\n "+n._s(n.$t(" sua mensagem foi recebida com sucesso, responderemos em breve."))+"\n ")]),n._v(" "),t("div",{staticClass:"actions"},[t("v-button",{attrs:{layout:"secondary",icon:["fas","envelope"]},on:{click:function(e){n.sendNewEmail()}}},[t("i",[n._v(n._s(n.$t("Enviar outro e-mail")))])])],1)],1)},staticRenderFns:[]};var dl=[{path:"/email",component:ol,meta:{name:"email",title:"Fale conosco!",titleIcon:["far","envelope"]}},{path:"/email/final",component:t("mUJo")(Cl,Bl,!1,function(n){t("ihBl")},"data-v-64d66346",null).exports,meta:{name:"email",title:"Fale conosco!",titleIcon:["far","envelope"]}}],sl={namespaced:!0,state:{categories:[{value:"compraPeloSite",label:"Compra pelo site",enableSubItems:!0},{value:"compraEstabelecimentos",label:"Compra em outros estabelecimentos",enableSubItems:!0},{value:398408,label:"Revenda na minha loja"},{value:398416,label:"Eventos e patroc\xednios"}],subCategories:{compraPeloSite:[{value:"falarSobrePedido",label:"Falar sobre pedido",enableSubItems:!0},{value:"falarSobreProduto",label:"Falar sobre um produto",enableSubItems:!0}],compraEstabelecimentos:[{value:"sobreProduto",label:"Falar sobre um produto",enableSubItems:!0}]},thirdLevel:{falarSobrePedido:[{value:398554,label:"Rastrear meu pedido"},{value:398658,label:"D\xfavidas sobre compra"},{value:398662,label:"Experi\xeancia no site"},{value:398664,label:"D\xfavidas de suplementa\xe7\xe3o"},{value:398668,label:"Trocas e devolu\xe7\xf5es"},{value:398672,label:"Sugest\xf5es"},{value:398676,label:"Reclama\xe7\xf5es suplementos"},{value:398680,label:"D\xfavidas sobre composi\xe7\xe3o"}],falarSobreProduto:[{value:398686,label:"Rastrear meu pedido"},{value:398690,label:"D\xfavidas sobre compra"},{value:398694,label:"Experi\xeancia no site"},{value:398698,label:"D\xfavidas de suplementa\xe7\xe3o"},{value:398700,label:"Trocas e devolu\xe7\xf5es"},{value:398704,label:"Sugest\xf5es"},{value:398708,label:"Reclama\xe7\xf5es suplementos"},{value:398712,label:"D\xfavidas sobre composi\xe7\xe3o"}],sobrePedido:[{value:398582,label:"Rastrear meu pedido"},{value:398588,label:"D\xfavidas sobre compra"},{value:398590,label:"Experi\xeancia no site"},{value:398594,label:"D\xfavidas de suplementa\xe7\xe3o"},{value:398598,label:"Trocas e devolu\xe7\xf5es"},{value:398602,label:"Sugest\xf5es"},{value:398606,label:"Reclama\xe7\xf5es suplementos"},{value:398612,label:"D\xfavidas sobre composi\xe7\xe3o"}],sobreProduto:[{value:398616,label:"Rastrear meu pedido"},{value:398620,label:"D\xfavidas sobre compra"},{value:398624,label:"Experi\xeancia no site"},{value:398628,label:"D\xfavidas de suplementa\xe7\xe3o"},{value:398632,label:"Trocas e devolu\xe7\xf5es"},{value:398636,label:"Sugest\xf5es"},{value:398640,label:"Reclama\xe7\xf5es suplementos"},{value:398644,label:"D\xfavidas sobre composi\xe7\xe3o"}]},protocol:0},getters:{},mutations:{SET_PROTOCOL:function(n,e){n.protocol=e},RESET_PROTOCOL:function(n){n.protocol=0}},actions:{}},bl={formUpdate:{name:"form-update",namespaced:!0,directive:{bind:function(n,e,t){var c="select"===n.tagName.toLowerCase()?"change":"input";n.addEventListener(c,function(){return t.context.$store.commit("customer/SET_FORM_FIELD",{field:e.arg,value:n.value})})}}}},ul=t("6eYa"),Al=t.n(ul),ml={namespaced:!0,state:{pageType:"",form:{subAttachments:{obrigatorioAttachment:[{name:"",content:""}],opcionalAttachment:[{name:"",content:""}]}},error:{}},getters:{},mutations:{SET_FORM_FIELD:function(n,e){var t=e.field,c=e.value;I.default.set(n.form,t,c)},CREATE_FORM_ATTACHMENT:function(n,e){n.form.subAttachments[e].length>=5||n.form.subAttachments[e].push({name:"",content:""})},REMOVE_FORM_ATTACHMENT:function(n,e){var t=e.name,c=e.key;if(n.form.subAttachments[t]){var g=[].concat(yI()(n.form.subAttachments[t]));g.splice(c,1),I.default.set(n.form.subAttachments,t,g)}},SET_FORM_ATTACHMENT_VALUE:function(n,e){var t=e.name,c=e.key,g=e.value;n.form.subAttachments[t]||I.default.set(n.form.subAttachments,t,[]),I.default.set(n.form.subAttachments[t],c,g)},CONCAT_ATTACHMENTS:function(n){n.form.attachments=Al()(n.form.subAttachments).reduce(function(n,e){return[].concat(yI()(n),yI()(e))},[])},RESET_FORM:function(n){var e=n.form.subAttachments,t=Fa()(e);n.form={},n.form.subAttachments=e,t.forEach(function(e){n.form.subAttachments[e]=[{nome:"",content:""}]})},SET_ERROR:function(n,e){n.error=e},SET_PAGE_TYPE:function(n,e){n.pageType=e}},actions:{}},Gl={name:"error",computed:{error:function(){return this.$store.state.customer.error}},methods:{redirectToStartPage:function(){var n=this.$localStorage.get("lastPage");n&&"error"!==n||(n=B.startModule),this.$router.replace("/"+n+"/")}},mounted:function(){this.error.code||this.redirectToStartPage()}},Ql={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"error"},[t("h1",{staticClass:"title"},[n._v(n._s(n.$t("Um erro foi encontrado"))+"!")]),n._v(" "),t("p",[t("strong",[n._v(n._s(n.$t("C\xf3digo"))+":")]),n._v("\n "+n._s(n.error.code)+"\n ")]),n._v(" "),t("p",[t("strong",[n._v(n._s(n.$t("Mensagem"))+":")]),n._v("\n "+n._s(n.error.msg)+"\n ")])])},staticRenderFns:[]};var pl=[{path:"/error",component:t("mUJo")(Gl,Ql,!1,function(n){t("Zosi")},"data-v-8d2577ac",null).exports,meta:{name:"error",layout:{empty:!0,fluid:!0}}}],Zl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"phone-page"},[t("p",{staticClass:"_textsmall"},[t("i",[n._v(n._s(n.$t("Entre em contato ligando para qualquer um dos n\xfameros abaixo:")))])]),n._v(" "),t("div",{staticClass:"phone-block"},[t("div",{staticClass:"title"},[n._v(n._s(n.$t("Telefones")))]),n._v(" "),n._m(0),n._v(" "),n._m(1)]),n._v(" "),t("div",{staticClass:"phone-block"},[t("div",{staticClass:"title"},[n._v(n._s(n.$t("Whatsapp")))]),n._v(" "),n._m(2)]),n._v(" "),t("p",[n._v(n._s(n.$t("Segunda a Sexta-feira: 9h \xe0s 20h "))),t("br"),n._v(n._s(n.$t("S\xe1bado: 9h \xe0s 18h")))])])},staticRenderFns:[function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"phone"},[e("a",{attrs:{href:"tel://11-3323-3456"}},[this._v("+55 (11) 3323-3456")])])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"phone"},[e("a",{attrs:{href:"tel://11-3323-3457"}},[this._v("+55 (11) 3323-3457")])])},function(){var n=this.$createElement,e=this._self._c||n;return e("div",{staticClass:"phone"},[e("a",{attrs:{href:"https://api.whatsapp.com/send?phone=+5511999999999"}},[this._v("+55 (11) 99999-9999")])])}]};var hl=[{path:"/telefone",component:t("mUJo")({name:"telefone"},Zl,!1,function(n){t("/l7t")},"data-v-2de3b0e1",null).exports,meta:{name:"telefone",title:"Nossos Telefones",titleIcon:["fas","phone"]}}],Fl={ai:_i,chat:gl,email:sl,customer:ml,telefone:{namespaced:!0,state:{},getters:{},mutations:{},actions:{}}},Xl={methods:{enterLink:function(){return this.$sdk.Chat.enqueued?"/chat/queue":this.$sdk.Chat.talking||this.$sdk.ChatBot.Authentication.authenticated?"/chat/room":"/chat"}}},yl={name:"avatar",mixins:[Xl,ka]},Wl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"central-avatar",class:{"-isSafari":n.isSafari}},[t("v-button",{staticClass:"action",attrs:{shadow:!0},on:{click:function(e){n.$router.replace(n.enterLink())}}},[n._v(n._s(n.$t("Precisa de Ajuda?")))])],1)},staticRenderFns:[]};var Vl={name:"avatar",mixins:[Xl,ka]},vl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"central-avatar",class:{"-isSafari":n.isSafari}},[t("v-button",{staticClass:"action",attrs:{shadow:!0,size:"small"},on:{click:function(e){n.$router.replace(n.enterLink())}}},[n._v(n._s(n.$t("Ajuda?")))])],1)},staticRenderFns:[]};var Ul={name:"avatar-icon",mixins:[Xl]},Nl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"central-avatar"},[t("v-button",{staticClass:"action",attrs:{shadow:!0,icon:["far","comment"],onlyIcon:!0,size:"large"},on:{click:function(e){n.$router.replace(n.enterLink())}}})],1)},staticRenderFns:[]};var Rl={name:"avatar",mixins:[Xl]},fl={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"central-avatar"},[t("v-button",{staticClass:"action",attrs:{shadow:!0,icon:["far","comment"]},on:{click:function(e){n.$router.replace(n.enterLink())}}},[n._v(n._s(n.$t("Precisa de Ajuda?")))])],1)},staticRenderFns:[]};var Yl={name:"avatar",computed:{avatarComponent:function(){return{text:"avatar-text",icon:"avatar-icon","text-icon":"avatar-text-icon",mini:"avatar-text-mini"}[B.isMobile?"mini":B.avatar.type]||null}},components:{avatarText:t("mUJo")(yl,Wl,!1,function(n){t("NRx2")},"data-v-15d56ae0",null).exports,avatarTextMini:t("mUJo")(Vl,vl,!1,function(n){t("MPJh")},"data-v-7ea13648",null).exports,avatarIcon:t("mUJo")(Ul,Nl,!1,function(n){t("KSsm")},"data-v-7f4b0bee",null).exports,avatarTextIcon:t("mUJo")(Rl,fl,!1,function(n){t("Loag")},"data-v-d5854fb4",null).exports}},Hl={render:function(){var n=this.$createElement;return(this._self._c||n)(this.avatarComponent,this._g(this._b({tag:"component"},"component",this.$attrs,!1),this.$listeners))},staticRenderFns:[]},Tl=[{path:"/avatar",component:t("mUJo")(Yl,Hl,!1,null,null,null).exports,meta:{name:"avatar",layout:{empty:!0,fluid:!0}}}],xl=[].concat(yI()(Li),yI()(wI),yI()(dl),yI()(Tl),yI()(hl),yI()(pl)),Jl={customer:bl,chat:$i};I.default.use(vi);var Sl=new vi({routes:xl}),kl=function(n){Object.defineProperty(n,"$sdk",{get:function(){return ln}})},El=function n(e,t){if(!n._vm)throw"Vm not defined";return e(n._vm,t)},Ol=El;El.install=function(n){n.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(n.prototype,"$dispatcher",{get:function(){return this._dispatcherRoot._dispatcher}})},I.default.use(Ol);var zl=Ol,wl=[kl,function(n){Object.defineProperty(n,"$dispatcher",{get:function(){return zl}})}];I.default.use(L);var Dl=new L.Store({modules:Fl,plugins:wl}),Ll=t("rkdX"),jl=t.n(Ll),Ml=t("afBD"),Kl=t.n(Ml),_l=(t("eZEL"),[]),Pl={"change-route":function(n,e){return n.$router.replace(e)},"set-form":function(n,e,t){return n.$store.commit("customer/SET_FORM_FIELD",{field:e,value:t})},"submit-question":function(n,e){return n.$store.commit("ai/SET_QUERY",e),n.$store.dispatch("ai/search",e)},"set-locale":function(n,e){n.$root.locale=e,n.$validator.localize(e)}};window.iFrameResizer={widthCalculationMethod:"taggedElement",heightCalculationMethod:"taggedElement",onReady:function(){window.parentIFrame.getId();_l.forEach(function(n){var e;return(e=window.parentIFrame).sendMessage.apply(e,yI()(n))})},onMessage:function(n){var e=n.split(":");if("eaction"===e[0]){var t=e[1];Pl[t]&&Pl[t].apply(Pl,[window.iFrameResizer.$vue].concat(yI()(e.slice(2))))}}};var ql=function(){function n(){jl()(this,n)}return Kl()(n,[{key:"sendMessage",value:function(){for(var n,e=arguments.length,t=Array(e),c=0;c",data:function(){return{locale:"pt_BR"}}}))},NKiq:function(n,e){n.exports={avatarMobileHeight:"35px",avatarMobileWidth:"70px"}},NRj4:function(n,e){e.f={}.propertyIsEnumerable},NRx2:function(n,e){},Nlbk:function(n,e,t){"use strict";(function(n){t("nA7w"),t("5KUS"),t("twe5"),t("2sfl"),t("+PtA"),t("Pnj1"),t("6cR/"),t("0D7Z"),t("Rzz8"),t("oZhM"),t("VuXv"),n._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),n._babelPolyfill=!0}).call(e,t("GTd5"))},NpQ8:function(n,e,t){var c=t("zakI"),g=t("HNVq").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(n){return a&&"[object Window]"==i.call(n)?function(n){try{return g(n)}catch(n){return a.slice()}}(n):g(c(n))}},O0lf:function(n,e,t){"use strict";var c=t("Vobs"),g=t("tMyS")(1);c(c.P+c.F*!t("TiCE")([].map,!0),"Array",{map:function(n){return g(this,n,arguments[1])}})},O1Qa:function(n,e){e.read=function(n,e,t,c,g){var i,a,I=8*g-c-1,l=(1<>1,o=-7,C=t?g-1:0,B=t?-1:1,d=n[e+C];for(C+=B,i=d&(1<<-o)-1,d>>=-o,o+=I;o>0;i=256*i+n[e+C],C+=B,o-=8);for(a=i&(1<<-o)-1,i>>=-o,o+=c;o>0;a=256*a+n[e+C],C+=B,o-=8);if(0===i)i=1-r;else{if(i===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,c),i-=r}return(d?-1:1)*a*Math.pow(2,i-c)},e.write=function(n,e,t,c,g,i){var a,I,l,r=8*i-g-1,o=(1<>1,B=23===g?Math.pow(2,-24)-Math.pow(2,-77):0,d=c?0:i-1,s=c?1:-1,b=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(I=isNaN(e)?1:0,a=o):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+C>=1?B/l:B*Math.pow(2,1-C))*l>=2&&(a++,l/=2),a+C>=o?(I=0,a=o):a+C>=1?(I=(e*l-1)*Math.pow(2,g),a+=C):(I=e*Math.pow(2,C-1)*Math.pow(2,g),a=0));g>=8;n[t+d]=255&I,d+=s,I/=256,g-=8);for(a=a<0;n[t+d]=255&a,d+=s,a/=256,r-=8);n[t+d-s]|=128*b}},O5S5:function(n,e,t){var c=t("6zZR")("keys"),g=t("XQtG");n.exports=function(n){return c[n]||(c[n]=g(n))}},OEbt:function(n,e){},OI80:function(n,e,t){var c=t("Vobs");c(c.S,"Object",{is:t("wc3+")})},OWmJ:function(n,e,t){"use strict";var c=t("Vobs"),g=t("fXgB");c(c.P+c.F*!t("TiCE")([].reduce,!0),"Array",{reduce:function(n){return g(this,n,arguments.length,arguments[1],!1)}})},OaTR:function(n,e,t){var c=t("Vobs"),g=t("BI7s"),i=t("3V0R"),a=/"/g,I=function(n,e,t,c){var g=String(i(n)),I="<"+e;return""!==t&&(I+=" "+t+'="'+String(c).replace(a,""")+'"'),I+">"+g+""+e+">"};n.exports=function(n,e){var t={};t[n]=e(I),c(c.P+c.F*g(function(){var e=""[n]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",t)}},OcUk:function(n,e,t){t("4db7"),t("+Rib"),n.exports=t("b5sM").f("iterator")},Ot1h:function(n,e,t){t("059N"),n.exports=t("WsAY").Object.values},"P/Mg":function(n,e,t){var c=t("Vobs");c(c.S,"Number",{isNaN:function(n){return n!=n}})},PECj:function(n,e){n.exports=function(n,e){return{value:e,done:!!n}}},"PXK+":function(n,e,t){"use strict";var c=t("Vobs"),g=t("tMyS")(2);c(c.P+c.F*!t("TiCE")([].filter,!0),"Array",{filter:function(n){return g(this,n,arguments[1])}})},Pm3s:function(n,e){n.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},PmIB:function(n,e,t){"use strict";var c=t("Vobs"),g=t("0KLz"),i=t("6dpx"),a="".endsWith;c(c.P+c.F*t("Z7lT")("endsWith"),"String",{endsWith:function(n){var e=i(this,n,"endsWith"),t=arguments.length>1?arguments[1]:void 0,c=g(e.length),I=void 0===t?c:Math.min(g(t),c),l=String(n);return a?a.call(e,l,I):e.slice(I-l.length,I)===l}})},Pnj1:function(n,e,t){t("ovdg"),n.exports=t("6DcE").Object.getOwnPropertyDescriptors},Q8en:function(n,e){n.exports={avatarMobileHeight:"35px",avatarMobileWidth:"70px"}},QI3t:function(n,e,t){"use strict";var c=t("SZ/P"),g=t("WsAY"),i=t("W9uE"),a=t("nuYf"),I=t("knjp");c(c.P+c.R,"Promise",{finally:function(n){var e=a(this,g.Promise||i.Promise),t="function"==typeof n;return this.then(t?function(t){return I(e,n()).then(function(){return t})}:n,t?function(t){return I(e,n()).then(function(){throw t})}:n)}})},QKlW:function(n,e){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},QXjR:function(n,e,t){"use strict";var c=t("2XMZ"),g=t("tPLG"),i=t("0KLz");n.exports=[].copyWithin||function(n,e){var t=c(this),a=i(t.length),I=g(n,a),l=g(e,a),r=arguments.length>2?arguments[2]:void 0,o=Math.min((void 0===r?a:g(r,a))-l,a-I),C=1;for(l0;)l in t?t[I]=t[l]:delete t[I],I+=C,l+=C;return t}},QtM0:function(n,e,t){"use strict";var c=t("W9uE"),g=t("DVK/"),i=t("V5XO"),a=t("SZ/P"),I=t("36xL"),l=t("UGBX").KEY,r=t("gHxa"),o=t("6zZR"),C=t("fL6e"),B=t("XQtG"),d=t("Imef"),s=t("b5sM"),b=t("VA2M"),u=t("HuhR"),A=t("t4Wa"),m=t("ToFw"),G=t("GJ5T"),Q=t("buEK"),p=t("scWE"),Z=t("Te4x"),h=t("9F6d"),F=t("YxkS"),X=t("rLEW"),y=t("qQMF"),W=t("WFAk"),V=X.f,v=y.f,U=F.f,N=c.Symbol,R=c.JSON,f=R&&R.stringify,Y=d("_hidden"),H=d("toPrimitive"),T={}.propertyIsEnumerable,x=o("symbol-registry"),J=o("symbols"),S=o("op-symbols"),k=Object.prototype,E="function"==typeof N,O=c.QObject,z=!O||!O.prototype||!O.prototype.findChild,w=i&&r(function(){return 7!=h(v({},"a",{get:function(){return v(this,"a",{value:7}).a}})).a})?function(n,e,t){var c=V(k,e);c&&delete k[e],v(n,e,t),c&&n!==k&&v(k,e,c)}:v,D=function(n){var e=J[n]=h(N.prototype);return e._k=n,e},L=E&&"symbol"==typeof N.iterator?function(n){return"symbol"==typeof n}:function(n){return n instanceof N},j=function(n,e,t){return n===k&&j(S,e,t),m(n),e=p(e,!0),m(t),g(J,e)?(t.enumerable?(g(n,Y)&&n[Y][e]&&(n[Y][e]=!1),t=h(t,{enumerable:Z(0,!1)})):(g(n,Y)||v(n,Y,Z(1,{})),n[Y][e]=!0),w(n,e,t)):v(n,e,t)},M=function(n,e){m(n);for(var t,c=u(e=Q(e)),g=0,i=c.length;i>g;)j(n,t=c[g++],e[t]);return n},K=function(n){var e=T.call(this,n=p(n,!0));return!(this===k&&g(J,n)&&!g(S,n))&&(!(e||!g(this,n)||!g(J,n)||g(this,Y)&&this[Y][n])||e)},_=function(n,e){if(n=Q(n),e=p(e,!0),n!==k||!g(J,e)||g(S,e)){var t=V(n,e);return!t||!g(J,e)||g(n,Y)&&n[Y][e]||(t.enumerable=!0),t}},P=function(n){for(var e,t=U(Q(n)),c=[],i=0;t.length>i;)g(J,e=t[i++])||e==Y||e==l||c.push(e);return c},q=function(n){for(var e,t=n===k,c=U(t?S:Q(n)),i=[],a=0;c.length>a;)!g(J,e=c[a++])||t&&!g(k,e)||i.push(J[e]);return i};E||(I((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var n=B(arguments.length>0?arguments[0]:void 0),e=function(t){this===k&&e.call(S,t),g(this,Y)&&g(this[Y],n)&&(this[Y][n]=!1),w(this,n,Z(1,t))};return i&&z&&w(k,n,{configurable:!0,set:e}),D(n)}).prototype,"toString",function(){return this._k}),X.f=_,y.f=j,t("Jh2P").f=F.f=P,t("hOZK").f=K,t("rXIM").f=q,i&&!t("q9/b")&&I(k,"propertyIsEnumerable",K,!0),s.f=function(n){return D(d(n))}),a(a.G+a.W+a.F*!E,{Symbol:N});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nn=0;$.length>nn;)d($[nn++]);for(var en=W(d.store),tn=0;en.length>tn;)b(en[tn++]);a(a.S+a.F*!E,"Symbol",{for:function(n){return g(x,n+="")?x[n]:x[n]=N(n)},keyFor:function(n){if(!L(n))throw TypeError(n+" is not a symbol!");for(var e in x)if(x[e]===n)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!E,"Object",{create:function(n,e){return void 0===e?h(n):M(h(n),e)},defineProperty:j,defineProperties:M,getOwnPropertyDescriptor:_,getOwnPropertyNames:P,getOwnPropertySymbols:q}),R&&a(a.S+a.F*(!E||r(function(){var n=N();return"[null]"!=f([n])||"{}"!=f({a:n})||"{}"!=f(Object(n))})),"JSON",{stringify:function(n){for(var e,t,c=[n],g=1;arguments.length>g;)c.push(arguments[g++]);if(t=e=c[1],(G(e)||void 0!==n)&&!L(n))return A(e)||(e=function(n,e){if("function"==typeof t&&(e=t.call(this,n,e)),!L(e))return e}),c[1]=e,f.apply(R,c)}}),N.prototype[H]||t("KktU")(N.prototype,H,N.prototype.valueOf),C(N,"Symbol"),C(Math,"Math",!0),C(c.JSON,"JSON",!0)},Qz2Q:function(n,e){n.exports=function(n,e,t,c){if(!(n instanceof e)||void 0!==c&&c in n)throw TypeError(t+": incorrect invocation!");return n}},RECM:function(n,e,t){"use strict";t("OaTR")("fontcolor",function(n){return function(e){return n(this,"font","color",e)}})},RG8K:function(n,e,t){var c=t("1087");n.exports=function(n,e,t,g){try{return g?e(c(t)[0],t[1]):e(t)}catch(e){var i=n.return;throw void 0!==i&&c(i.call(n)),e}}},RIKd:function(n,e,t){"use strict";var c=t("Vobs"),g=t("m0x4"),i=t("KrKR");c(c.P+c.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(n){return g(this,n,arguments.length>1?arguments[1]:void 0,!1)}})},Reod:function(n,e){},RpZ9:function(n,e,t){var c=t("2XMZ"),g=t("+huX");t("gG9K")("keys",function(){return function(n){return g(c(n))}})},RtH9:function(n,e,t){"use strict";t("OaTR")("blink",function(n){return function(){return n(this,"blink","","")}})},Rzz8:function(n,e,t){"use strict";t("M+wl"),t("q6pY"),n.exports=t("6DcE").Promise.finally},S072:function(n,e,t){t("jVdc")&&"g"!=/./g.flags&&t("gGgn").f(RegExp.prototype,"flags",{configurable:!0,get:t("3BaN")})},S47x:function(n,e,t){var c=t("WFAk"),g=t("buEK"),i=t("hOZK").f;n.exports=function(n){return function(e){for(var t,a=g(e),I=c(a),l=I.length,r=0,o=[];l>r;)i.call(a,t=I[r++])&&o.push(n?[t,a[t]]:a[t]);return o}}},S7GM:function(n,e,t){var c=t("/2t/");n.exports=function(n,e){if(!c(n))return n;var t,g;if(e&&"function"==typeof(t=n.toString)&&!c(g=t.call(n)))return g;if("function"==typeof(t=n.valueOf)&&!c(g=t.call(n)))return g;if(!e&&"function"==typeof(t=n.toString)&&!c(g=t.call(n)))return g;throw TypeError("Can't convert object to primitive value")}},SAmk:function(n,e,t){n.exports=!t("V5XO")&&!t("gHxa")(function(){return 7!=Object.defineProperty(t("2hHA")("div"),"a",{get:function(){return 7}}).a})},"SZ/P":function(n,e,t){var c=t("W9uE"),g=t("WsAY"),i=t("yhwo"),a=t("KktU"),I=t("DVK/"),l=function(n,e,t){var r,o,C,B=n&l.F,d=n&l.G,s=n&l.S,b=n&l.P,u=n&l.B,A=n&l.W,m=d?g:g[e]||(g[e]={}),G=m.prototype,Q=d?c:s?c[e]:(c[e]||{}).prototype;for(r in d&&(t=e),t)(o=!B&&Q&&void 0!==Q[r])&&I(m,r)||(C=o?Q[r]:t[r],m[r]=d&&"function"!=typeof Q[r]?t[r]:u&&o?i(C,c):A&&Q[r]==C?function(n){var e=function(e,t,c){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,c)}return n.apply(this,arguments)};return e.prototype=n.prototype,e}(C):b&&"function"==typeof C?i(Function.call,C):C,b&&((m.virtual||(m.virtual={}))[r]=C,n&l.R&&G&&!G[r]&&a(G,r,C)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,n.exports=l},Siee:function(n,e,t){n.exports={default:t("UUO9"),__esModule:!0}},TVdo:function(n,e,t){var c=t("/2t/"),g=t("JI5q"),i=t("I5XL")("species");n.exports=function(n){var e;return g(n)&&("function"!=typeof(e=n.constructor)||e!==Array&&!g(e.prototype)||(e=void 0),c(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},Te4x:function(n,e){n.exports=function(n,e){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:e}}},TiCE:function(n,e,t){"use strict";var c=t("BI7s");n.exports=function(n,e){return!!n&&c(function(){e?n.call(null,function(){},1):n.call(null)})}},ToFw:function(n,e,t){var c=t("GJ5T");n.exports=function(n){if(!c(n))throw TypeError(n+" is not an object!");return n}},TqUy:function(n,e,t){"use strict";var c=t("Vobs"),g=t("QKlW"),i=t("2XMZ"),a=t("BI7s"),I=[].sort,l=[1,2,3];c(c.P+c.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!t("TiCE")(I)),"Array",{sort:function(n){return void 0===n?I.call(i(this)):I.call(i(this),g(n))}})},TrQi:function(n,e){},TuHS:function(n,e,t){var c=t("H5R/"),g=t("I5XL")("iterator"),i=Array.prototype;n.exports=function(n){return void 0!==n&&(c.Array===n||i[g]===n)}},"U/D3":function(n,e,t){var c=t("8QiI").parseInt,g=t("JIX2").trim,i=t("Pm3s"),a=/^[-+]?0[xX]/;n.exports=8!==c(i+"08")||22!==c(i+"0x16")?function(n,e){var t=g(String(n),3);return c(t,e>>>0||(a.test(t)?16:10))}:c},U3MC:function(n,e,t){"use strict";var c=t("Vobs"),g=t("0KLz"),i=t("6dpx"),a="".startsWith;c(c.P+c.F*t("Z7lT")("startsWith"),"String",{startsWith:function(n){var e=i(this,n,"startsWith"),t=g(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),c=String(n);return a?a.call(e,c,t):e.slice(t,t+c.length)===c}})},U7JI:function(n,e){},UGBX:function(n,e,t){var c=t("XQtG")("meta"),g=t("GJ5T"),i=t("DVK/"),a=t("qQMF").f,I=0,l=Object.isExtensible||function(){return!0},r=!t("gHxa")(function(){return l(Object.preventExtensions({}))}),o=function(n){a(n,c,{value:{i:"O"+ ++I,w:{}}})},C=n.exports={KEY:c,NEED:!1,fastKey:function(n,e){if(!g(n))return"symbol"==typeof n?n:("string"==typeof n?"S":"P")+n;if(!i(n,c)){if(!l(n))return"F";if(!e)return"E";o(n)}return n[c].i},getWeak:function(n,e){if(!i(n,c)){if(!l(n))return!0;if(!e)return!1;o(n)}return n[c].w},onFreeze:function(n){return r&&C.NEED&&l(n)&&!i(n,c)&&o(n),n}}},URTo:function(n,e,t){"use strict";var c=t("Vobs"),g=t("g07e");c(c.S+c.F*t("BI7s")(function(){function n(){}return!(Array.of.call(n)instanceof n)}),"Array",{of:function(){for(var n=0,e=arguments.length,t=new("function"==typeof this?this:Array)(e);e>n;)g(t,n,arguments[n++]);return t.length=e,t}})},UUO9:function(n,e,t){t("+Rib"),t("4db7"),n.exports=t("fd6J")},UgUY:function(n,e,t){"use strict";var c=t("qQMF"),g=t("Te4x");n.exports=function(n,e,t){e in n?c.f(n,e,g(0,t)):n[e]=t}},Ui7t:function(n,e,t){"use strict";var c=t("Vobs"),g=t("HDWL"),i=t("3+Dr"),a=t("tPLG"),I=t("0KLz"),l=[].slice;c(c.P+c.F*t("BI7s")(function(){g&&l.call(g)}),"Array",{slice:function(n,e){var t=I(this.length),c=i(this);if(e=void 0===e?t:e,"Array"==c)return l.call(this,n,e);for(var g=a(n,t),r=a(e,t),o=I(r-g),C=new Array(o),B=0;B-1}}},computed:{sizeClass:function(){return"-size"+(this.size.charAt(0).toUpperCase()+this.size.substr(1))}}},a=["normal","left","right"],I={props:{position:{required:!1,default:"normal",type:String,validator:function(n){return a.indexOf(n)>-1}}},computed:{positionClass:function(){return"-position"+(this.position.charAt(0).toUpperCase()+this.position.substr(1))}}},l={name:"v-button",mixins:[c.a,i,I],props:{link:{required:!1,default:!1,type:Boolean},icon:{required:!1,default:null,type:Array},pulseIcon:{required:!1,default:!1,type:Boolean},onlyIcon:{required:!1,default:null,type:Boolean},disabled:{required:!1,default:!1,type:Boolean},shadow:{required:!1,default:!1,type:Boolean},textLower:{required:!1,default:!1,type:Boolean}},computed:{linkClass:function(){return this.link?"-link":""},disabledClass:function(){return this.disabled?"-disabled":""},shadowClass:function(){return this.shadow?"-shadow":""},textLowerClass:function(){return this.textLower?"-textLower":""},onlyIconClass:function(){return this.onlyIcon?"-onlyIcon":""}}},r={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("button",n._g(n._b({staticClass:"v-button",class:[n.layoutClass,n.linkClass,n.sizeClass,n.positionClass,n.disabledClass,n.shadowClass,n.textLowerClass,n.onlyIconClass],attrs:{disabled:n.disabled}},"button",n.$attrs,!1),n.$listeners),[n.icon?t("span",{staticClass:"icon"},[t("font-awesome-icon",{attrs:{icon:n.icon,pulse:n.pulseIcon}})],1):n._e(),n._v(" "),t("span",{staticClass:"title"},[n._t("default")],2)])},staticRenderFns:[]};var o=t("mUJo")(l,r,!1,function(n){t("wwtz")},"data-v-193cfda1",null);e.default=o.exports},"V+L0":function(n,e){},V5XO:function(n,e,t){n.exports=!t("gHxa")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},VA2M:function(n,e,t){var c=t("W9uE"),g=t("WsAY"),i=t("q9/b"),a=t("b5sM"),I=t("qQMF").f;n.exports=function(n){var e=g.Symbol||(g.Symbol=i?{}:c.Symbol||{});"_"==n.charAt(0)||n in e||I(e,n,{value:a.f(n)})}},VK5J:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c={name:"v-checkbox",mixins:[t("x9Du").a],props:{placeholder:{required:!1,default:null,type:String}}},g={render:function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"v-checkbox"},[t("label",{staticClass:"label"},[t("span",{staticClass:"title"},[n._v(n._s(n.placeholder))]),n._v(" "),t("input",n._g(n._b({staticClass:"field",attrs:{type:"checkbox"},domProps:{value:n.value},on:{input:n.updateValue}},"input",n.$attrs,!1),n.$listeners)),n._v(" "),t("span",{staticClass:"indicator"})])])},staticRenderFns:[]};var i=t("mUJo")(c,g,!1,function(n){t("HOWx")},"data-v-4bbd668e",null);e.default=i.exports},VdYW:function(n,e,t){var c=t("qQMF"),g=t("ToFw"),i=t("WFAk");n.exports=t("V5XO")?Object.defineProperties:function(n,e){g(n);for(var t,a=i(e),I=a.length,l=0;I>l;)c.f(n,t=a[l++],e[t]);return n}},Vobs:function(n,e,t){var c=t("8QiI"),g=t("6DcE"),i=t("nCfi"),a=t("jDrK"),I=t("W8bf"),l=function(n,e,t){var r,o,C,B,d=n&l.F,s=n&l.G,b=n&l.S,u=n&l.P,A=n&l.B,m=s?c:b?c[e]||(c[e]={}):(c[e]||{}).prototype,G=s?g:g[e]||(g[e]={}),Q=G.prototype||(G.prototype={});for(r in s&&(t=e),t)C=((o=!d&&m&&void 0!==m[r])?m:t)[r],B=A&&o?I(C,c):u&&"function"==typeof C?I(Function.call,C):C,m&&a(m,r,C,n&l.U),G[r]!=C&&i(G,r,B),u&&Q[r]!=C&&(Q[r]=C)};c.core=g,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,n.exports=l},Vod2:function(n,e,t){t("1sXG")("Uint16",2,function(n){return function(e,t,c){return n(this,e,t,c)}})},VqD6:function(n,e,t){"use strict";var c=t("Vobs"),g=t("zl/6"),i=t("78hF"),a=t("1087"),I=t("tPLG"),l=t("0KLz"),r=t("/2t/"),o=t("8QiI").ArrayBuffer,C=t("othv"),B=i.ArrayBuffer,d=i.DataView,s=g.ABV&&o.isView,b=B.prototype.slice,u=g.VIEW;c(c.G+c.W+c.F*(o!==B),{ArrayBuffer:B}),c(c.S+c.F*!g.CONSTR,"ArrayBuffer",{isView:function(n){return s&&s(n)||r(n)&&u in n}}),c(c.P+c.U+c.F*t("BI7s")(function(){return!new B(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(n,e){if(void 0!==b&&void 0===e)return b.call(a(this),n);for(var t=a(this).byteLength,c=I(n,t),g=I(void 0===e?t:e,t),i=new(C(this,B))(l(g-c)),r=new d(this),o=new d(i),s=0;c=0;--i){var a=this.tryEntries[i],I=a.completion;if("root"===a.tryLoc)return c("end");if(a.tryLoc<=this.prev){var l=g.call(a,"catchLoc"),r=g.call(a,"finallyLoc");if(l&&r){if(this.prev=0;--t){var c=this.tryEntries[t];if(c.tryLoc<=this.prev&&g.call(c,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===n)return this.complete(t.completion,t.afterLoc),v(t),b}},catch:function(n){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===n){var c=t.completion;if("throw"===c.type){var g=c.arg;v(t)}return g}}throw new Error("illegal catch attempt")},delegateYield:function(n,e,c){return this.delegate={iterator:N(n),resultName:e,nextLoc:c},"next"===this.method&&(this.arg=t),b}}}function Q(n,e,t,c){var g=e&&e.prototype instanceof Z?e:Z,i=Object.create(g.prototype),a=new U(c||[]);return i._invoke=function(n,e,t){var c=C;return function(g,i){if(c===d)throw new Error("Generator is already running");if(c===s){if("throw"===g)throw i;return R()}for(t.method=g,t.arg=i;;){var a=t.delegate;if(a){var I=W(a,t);if(I){if(I===b)continue;return I}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(c===C)throw c=s,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);c=d;var l=p(n,e,t);if("normal"===l.type){if(c=t.done?s:B,l.arg===b)continue;return{value:l.arg,done:t.done}}"throw"===l.type&&(c=s,t.method="throw",t.arg=l.arg)}}}(n,t,a),i}function p(n,e,t){try{return{type:"normal",arg:n.call(e,t)}}catch(n){return{type:"throw",arg:n}}}function Z(){}function h(){}function F(){}function X(n){["next","throw","return"].forEach(function(e){n[e]=function(n){return this._invoke(e,n)}})}function y(n){var e;this._invoke=function(t,c){function i(){return new Promise(function(e,i){!function e(t,c,i,a){var I=p(n[t],n,c);if("throw"!==I.type){var l=I.arg,r=l.value;return r&&"object"==typeof r&&g.call(r,"__await")?Promise.resolve(r.__await).then(function(n){e("next",n,i,a)},function(n){e("throw",n,i,a)}):Promise.resolve(r).then(function(n){l.value=n,i(l)},a)}a(I.arg)}(t,c,e,i)})}return e=e?e.then(i,i):i()}}function W(n,e){var c=n.iterator[e.method];if(c===t){if(e.delegate=null,"throw"===e.method){if(n.iterator.return&&(e.method="return",e.arg=t,W(n,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var g=p(c,n.iterator,e.arg);if("throw"===g.type)return e.method="throw",e.arg=g.arg,e.delegate=null,b;var i=g.arg;return i?i.done?(e[n.resultName]=i.value,e.next=n.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,b):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function V(n){var e={tryLoc:n[0]};1 in n&&(e.catchLoc=n[1]),2 in n&&(e.finallyLoc=n[2],e.afterLoc=n[3]),this.tryEntries.push(e)}function v(n){var e=n.completion||{};e.type="normal",delete e.arg,n.completion=e}function U(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(V,this),this.reset(!0)}function N(n){if(n){var e=n[a];if(e)return e.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var c=-1,i=function e(){for(;++c=e.length?{value:void 0,done:!0}:(n=c(e,t),this._i+=n.length,{value:n,done:!1})})},WZRw:function(n,e,t){"use strict";var c=t("W8bf"),g=t("Vobs"),i=t("2XMZ"),a=t("RG8K"),I=t("TuHS"),l=t("0KLz"),r=t("g07e"),o=t("um4Z");g(g.S+g.F*!t("zP7t")(function(n){Array.from(n)}),"Array",{from:function(n){var e,t,g,C,B=i(n),d="function"==typeof this?this:Array,s=arguments.length,b=s>1?arguments[1]:void 0,u=void 0!==b,A=0,m=o(B);if(u&&(b=c(b,s>2?arguments[2]:void 0,2)),void 0==m||d==Array&&I(m))for(t=new d(e=l(B.length));e>A;A++)r(t,A,u?b(B[A],A):B[A]);else for(C=m.call(B),t=new d;!(g=C.next()).done;A++)r(t,A,u?a(C,b,[g.value,A],!0):g.value);return t.length=A,t}})},WgmG:function(n,e){n.exports={avatarMobileHeight:"35px",avatarMobileWidth:"70px"}},WhIp:function(n,e,t){t("3Ygt"),t("4db7"),t("+Rib"),t("oEbX"),t("QI3t"),t("ZRWD"),n.exports=t("WsAY").Promise},Wk5d:function(n,e){},WsAY:function(n,e){var t=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},WxTP:function(n,e,t){"use strict";e.__esModule=!0;var c=a(t("DiG7")),g=a(t("LGng")),i="function"==typeof g.default&&"symbol"==typeof c.default?function(n){return typeof n}:function(n){return n&&"function"==typeof g.default&&n.constructor===g.default&&n!==g.default.prototype?"symbol":typeof n};function a(n){return n&&n.__esModule?n:{default:n}}e.default="function"==typeof g.default&&"symbol"===i(c.default)?function(n){return void 0===n?"undefined":i(n)}:function(n){return n&&"function"==typeof g.default&&n.constructor===g.default&&n!==g.default.prototype?"symbol":void 0===n?"undefined":i(n)}},X3LC:function(n,e,t){"use strict";t("OaTR")("sup",function(n){return function(){return n(this,"sup","","")}})},X7pO:function(n,e){n.exports=function(n){try{return{e:!1,v:n()}}catch(n){return{e:!0,v:n}}}},X9e9:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n){var t=Object.freeze({});function c(n){return void 0===n||null===n}function g(n){return void 0!==n&&null!==n}function i(n){return!0===n}function a(n){return"string"==typeof n||"number"==typeof n||"symbol"==typeof n||"boolean"==typeof n}function I(n){return null!==n&&"object"==typeof n}var l=Object.prototype.toString;function r(n){return"[object Object]"===l.call(n)}function o(n){return"[object RegExp]"===l.call(n)}function C(n){var e=parseFloat(String(n));return e>=0&&Math.floor(e)===e&&isFinite(n)}function B(n){return null==n?"":"object"==typeof n?JSON.stringify(n,null,2):String(n)}function d(n){var e=parseFloat(n);return isNaN(e)?n:e}function s(n,e){for(var t=Object.create(null),c=n.split(","),g=0;g-1)return n.splice(t,1)}}var m=Object.prototype.hasOwnProperty;function G(n,e){return m.call(n,e)}function Q(n){var e=Object.create(null);return function(t){return e[t]||(e[t]=n(t))}}var p=/-(\w)/g,Z=Q(function(n){return n.replace(p,function(n,e){return e?e.toUpperCase():""})}),h=Q(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),F=/\B([A-Z])/g,X=Q(function(n){return n.replace(F,"-$1").toLowerCase()});var y=Function.prototype.bind?function(n,e){return n.bind(e)}:function(n,e){function t(t){var c=arguments.length;return c?c>1?n.apply(e,arguments):n.call(e,t):n.call(e)}return t._length=n.length,t};function W(n,e){e=e||0;for(var t=n.length-e,c=new Array(t);t--;)c[t]=n[t+e];return c}function V(n,e){for(var t in e)n[t]=e[t];return n}function v(n){for(var e={},t=0;t0,P=M&&M.indexOf("edge/")>0,q=(M&&M.indexOf("android"),M&&/iphone|ipad|ipod|ios/.test(M)||"ios"===j),$=(M&&/chrome\/\d+/.test(M),{}.watch),nn=!1;if(D)try{var en={};Object.defineProperty(en,"passive",{get:function(){nn=!0}}),window.addEventListener("test-passive",null,en)}catch(n){}var tn=function(){return void 0===z&&(z=!D&&!L&&void 0!==n&&"server"===n.process.env.VUE_ENV),z},cn=D&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function gn(n){return"function"==typeof n&&/native code/.test(n.toString())}var an,In="undefined"!=typeof Symbol&&gn(Symbol)&&"undefined"!=typeof Reflect&&gn(Reflect.ownKeys);an="undefined"!=typeof Set&&gn(Set)?Set:function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(n){return!0===this.set[n]},n.prototype.add=function(n){this.set[n]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var ln=U,rn=0,on=function(){this.id=rn++,this.subs=[]};on.prototype.addSub=function(n){this.subs.push(n)},on.prototype.removeSub=function(n){A(this.subs,n)},on.prototype.depend=function(){on.target&&on.target.addDep(this)},on.prototype.notify=function(){for(var n=this.subs.slice(),e=0,t=n.length;e-1)if(i&&!G(g,"default"))a=!1;else if(""===a||a===X(n)){var l=On(String,g.type);(l<0||I0&&(Ce((r=n(r,(t||"")+"_"+l))[0])&&Ce(C)&&(I[o]=An(C.text+r[0].text),r.shift()),I.push.apply(I,r)):a(r)?Ce(C)?I[o]=An(C.text+r):""!==r&&I.push(An(r)):Ce(r)&&Ce(C)?I[o]=An(C.text+r.text):(i(e._isVList)&&g(r.tag)&&c(r.key)&&g(t)&&(r.key="__vlist"+t+"_"+l+"__"),I.push(r)));return I}(n):void 0}function Ce(n){return g(n)&&g(n.text)&&!1===n.isComment}function Be(n,e){return(n.__esModule||In&&"Module"===n[Symbol.toStringTag])&&(n=n.default),I(n)?e.extend(n):n}function de(n){return n.isComment&&n.asyncFactory}function se(n){if(Array.isArray(n))for(var e=0;eUe&&Xe[t].id>n.id;)t--;Xe.splice(t+1,0,n)}else Xe.push(n);Ve||(Ve=!0,ee(Ne))}}(this)},fe.prototype.run=function(){if(this.active){var n=this.get();if(n!==this.value||I(n)||this.deep){var e=this.value;if(this.value=n,this.user)try{this.cb.call(this.vm,n,e)}catch(n){zn(n,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,n,e)}}},fe.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fe.prototype.depend=function(){for(var n=this.deps.length;n--;)this.deps[n].depend()},fe.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||A(this.vm._watchers,this);for(var n=this.deps.length;n--;)this.deps[n].removeSub(this);this.active=!1}};var Ye={enumerable:!0,configurable:!0,get:U,set:U};function He(n,e,t){Ye.get=function(){return this[e][t]},Ye.set=function(n){this[e][t]=n},Object.defineProperty(n,t,Ye)}function Te(n){n._watchers=[];var e=n.$options;e.props&&function(n,e){var t=n.$options.propsData||{},c=n._props={},g=n.$options._propKeys=[];n.$parent&&hn(!1);var i=function(i){g.push(i);var a=Sn(i,e,t,n);Vn(c,i,a),i in n||He(n,"_props",i)};for(var a in e)i(a);hn(!0)}(n,e.props),e.methods&&function(n,e){n.$options.props;for(var t in e)n[t]=null==e[t]?U:y(e[t],n)}(n,e.methods),e.data?function(n){var e=n.$options.data;r(e=n._data="function"==typeof e?function(n,e){Bn();try{return n.call(e,e)}catch(n){return zn(n,e,"data()"),{}}finally{dn()}}(e,n):e||{})||(e={});var t=Object.keys(e),c=n.$options.props,g=(n.$options.methods,t.length);for(;g--;){var i=t[g];0,c&&G(c,i)||k(i)||He(n,"_data",i)}Wn(e,!0)}(n):Wn(n._data={},!0),e.computed&&function(n,e){var t=n._computedWatchers=Object.create(null),c=tn();for(var g in e){var i=e[g],a="function"==typeof i?i:i.get;0,c||(t[g]=new fe(n,a||U,U,xe)),g in n||Je(n,g,i)}}(n,e.computed),e.watch&&e.watch!==$&&function(n,e){for(var t in e){var c=e[t];if(Array.isArray(c))for(var g=0;g=0||t.indexOf(n[g])<0)&&c.push(n[g]);return c}return n}function Bt(n){this._init(n)}function dt(n){n.cid=0;var e=1;n.extend=function(n){n=n||{};var t=this,c=t.cid,g=n._Ctor||(n._Ctor={});if(g[c])return g[c];var i=n.name||t.options.name;var a=function(n){this._init(n)};return(a.prototype=Object.create(t.prototype)).constructor=a,a.cid=e++,a.options=xn(t.options,n),a.super=t,a.options.props&&function(n){var e=n.options.props;for(var t in e)He(n.prototype,"_props",t)}(a),a.options.computed&&function(n){var e=n.options.computed;for(var t in e)Je(n.prototype,t,e[t])}(a),a.extend=t.extend,a.mixin=t.mixin,a.use=t.use,x.forEach(function(n){a[n]=t[n]}),i&&(a.options.components[i]=a),a.superOptions=t.options,a.extendOptions=n,a.sealedOptions=V({},a.options),g[c]=a,a}}function st(n){return n&&(n.Ctor.options.name||n.tag)}function bt(n,e){return Array.isArray(n)?n.indexOf(e)>-1:"string"==typeof n?n.split(",").indexOf(e)>-1:!!o(n)&&n.test(e)}function ut(n,e){var t=n.cache,c=n.keys,g=n._vnode;for(var i in t){var a=t[i];if(a){var I=st(a.componentOptions);I&&!e(I)&&At(t,i,c,g)}}}function At(n,e,t,c){var g=n[e];!g||c&&g.tag===c.tag||g.componentInstance.$destroy(),n[e]=null,A(t,e)}!function(n){n.prototype._init=function(n){var e=this;e._uid=rt++,e._isVue=!0,n&&n._isComponent?function(n,e){var t=n.$options=Object.create(n.constructor.options),c=e._parentVnode;t.parent=e.parent,t._parentVnode=c,t._parentElm=e._parentElm,t._refElm=e._refElm;var g=c.componentOptions;t.propsData=g.propsData,t._parentListeners=g.listeners,t._renderChildren=g.children,t._componentTag=g.tag,e.render&&(t.render=e.render,t.staticRenderFns=e.staticRenderFns)}(e,n):e.$options=xn(ot(e.constructor),n||{},e),e._renderProxy=e,e._self=e,function(n){var e=n.$options,t=e.parent;if(t&&!e.abstract){for(;t.$options.abstract&&t.$parent;)t=t.$parent;t.$children.push(n)}n.$parent=t,n.$root=t?t.$root:n,n.$children=[],n.$refs={},n._watcher=null,n._inactive=null,n._directInactive=!1,n._isMounted=!1,n._isDestroyed=!1,n._isBeingDestroyed=!1}(e),function(n){n._events=Object.create(null),n._hasHookEvent=!1;var e=n.$options._parentListeners;e&&Ae(n,e)}(e),function(n){n._vnode=null,n._staticTrees=null;var e=n.$options,c=n.$vnode=e._parentVnode,g=c&&c.context;n.$slots=me(e._renderChildren,g),n.$scopedSlots=t,n._c=function(e,t,c,g){return lt(n,e,t,c,g,!1)},n.$createElement=function(e,t,c,g){return lt(n,e,t,c,g,!0)};var i=c&&c.data;Vn(n,"$attrs",i&&i.attrs||t,null,!0),Vn(n,"$listeners",e._parentListeners||t,null,!0)}(e),Fe(e,"beforeCreate"),function(n){var e=Ee(n.$options.inject,n);e&&(hn(!1),Object.keys(e).forEach(function(t){Vn(n,t,e[t])}),hn(!0))}(e),Te(e),function(n){var e=n.$options.provide;e&&(n._provided="function"==typeof e?e.call(n):e)}(e),Fe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Bt),function(n){var e={get:function(){return this._data}},t={get:function(){return this._props}};Object.defineProperty(n.prototype,"$data",e),Object.defineProperty(n.prototype,"$props",t),n.prototype.$set=vn,n.prototype.$delete=Un,n.prototype.$watch=function(n,e,t){if(r(e))return ke(this,n,e,t);(t=t||{}).user=!0;var c=new fe(this,n,e,t);return t.immediate&&e.call(this,c.value),function(){c.teardown()}}}(Bt),function(n){var e=/^hook:/;n.prototype.$on=function(n,t){if(Array.isArray(n))for(var c=0,g=n.length;c1?W(t):t;for(var c=W(arguments,1),g=0,i=t.length;gparseInt(this.max)&&At(a,I[0],I,this._vnode)),e.data.keepAlive=!0}return e||n&&n[0]}}};!function(n){var e={get:function(){return S}};Object.defineProperty(n,"config",e),n.util={warn:ln,extend:V,mergeOptions:xn,defineReactive:Vn},n.set=vn,n.delete=Un,n.nextTick=ee,n.options=Object.create(null),x.forEach(function(e){n.options[e+"s"]=Object.create(null)}),n.options._base=n,V(n.options.components,Gt),function(n){n.use=function(n){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(n)>-1)return this;var t=W(arguments,1);return t.unshift(this),"function"==typeof n.install?n.install.apply(n,t):"function"==typeof n&&n.apply(null,t),e.push(n),this}}(n),function(n){n.mixin=function(n){return this.options=xn(this.options,n),this}}(n),dt(n),function(n){x.forEach(function(e){n[e]=function(n,t){return t?("component"===e&&r(t)&&(t.name=t.name||n,t=this.options._base.extend(t)),"directive"===e&&"function"==typeof t&&(t={bind:t,update:t}),this.options[e+"s"][n]=t,t):this.options[e+"s"][n]}})}(n)}(Bt),Object.defineProperty(Bt.prototype,"$isServer",{get:tn}),Object.defineProperty(Bt.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Bt,"FunctionalRenderContext",{value:nt}),Bt.version="2.5.17";var Qt=s("style,class"),pt=s("input,textarea,option,select,progress"),Zt=function(n,e,t){return"value"===t&&pt(n)&&"button"!==e||"selected"===t&&"option"===n||"checked"===t&&"input"===n||"muted"===t&&"video"===n},ht=s("contenteditable,draggable,spellcheck"),Ft=s("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Xt="http://www.w3.org/1999/xlink",yt=function(n){return":"===n.charAt(5)&&"xlink"===n.slice(0,5)},Wt=function(n){return yt(n)?n.slice(6,n.length):""},Vt=function(n){return null==n||!1===n};function vt(n){for(var e=n.data,t=n,c=n;g(c.componentInstance);)(c=c.componentInstance._vnode)&&c.data&&(e=Ut(c.data,e));for(;g(t=t.parent);)t&&t.data&&(e=Ut(e,t.data));return function(n,e){if(g(n)||g(e))return Nt(n,Rt(e));return""}(e.staticClass,e.class)}function Ut(n,e){return{staticClass:Nt(n.staticClass,e.staticClass),class:g(n.class)?[n.class,e.class]:e.class}}function Nt(n,e){return n?e?n+" "+e:n:e||""}function Rt(n){return Array.isArray(n)?function(n){for(var e,t="",c=0,i=n.length;c-1?cc(n,e,t):Ft(e)?Vt(t)?n.removeAttribute(e):(t="allowfullscreen"===e&&"EMBED"===n.tagName?"true":e,n.setAttribute(e,t)):ht(e)?n.setAttribute(e,Vt(t)||"false"===t?"false":"true"):yt(e)?Vt(t)?n.removeAttributeNS(Xt,Wt(e)):n.setAttributeNS(Xt,e,t):cc(n,e,t)}function cc(n,e,t){if(Vt(t))n.removeAttribute(e);else{if(K&&!_&&"TEXTAREA"===n.tagName&&"placeholder"===e&&!n.__ieph){var c=function(e){e.stopImmediatePropagation(),n.removeEventListener("input",c)};n.addEventListener("input",c),n.__ieph=!0}n.setAttribute(e,t)}}var gc={create:ec,update:ec};function ic(n,e){var t=e.elm,i=e.data,a=n.data;if(!(c(i.staticClass)&&c(i.class)&&(c(a)||c(a.staticClass)&&c(a.class)))){var I=vt(e),l=t._transitionClasses;g(l)&&(I=Nt(I,Rt(l))),I!==t._prevClass&&(t.setAttribute("class",I),t._prevClass=I)}}var ac,Ic,lc,rc,oc,Cc,Bc={create:ic,update:ic},dc=/[\w).+\-_$\]]/;function sc(n){var e,t,c,g,i,a=!1,I=!1,l=!1,r=!1,o=0,C=0,B=0,d=0;for(c=0;c=0&&" "===(b=n.charAt(s));s--);b&&dc.test(b)||(r=!0)}}else void 0===g?(d=c+1,g=n.slice(0,c).trim()):u();function u(){(i||(i=[])).push(n.slice(d,c).trim()),d=c+1}if(void 0===g?g=n.slice(0,c).trim():0!==d&&u(),i)for(c=0;c-1?{exp:n.slice(0,rc),key:'"'+n.slice(rc+1)+'"'}:{exp:n,key:null};Ic=n,rc=oc=Cc=0;for(;!Vc();)vc(lc=Wc())?Nc(lc):91===lc&&Uc(lc);return{exp:n.slice(0,oc),key:n.slice(oc+1,Cc)}}(n);return null===t.key?n+"="+e:"$set("+t.exp+", "+t.key+", "+e+")"}function Wc(){return Ic.charCodeAt(++rc)}function Vc(){return rc>=ac}function vc(n){return 34===n||39===n}function Uc(n){var e=1;for(oc=rc;!Vc();)if(vc(n=Wc()))Nc(n);else if(91===n&&e++,93===n&&e--,0===e){Cc=rc;break}}function Nc(n){for(var e=n;!Vc()&&(n=Wc())!==e;);}var Rc,fc="__r",Yc="__c";function Hc(n,e,t,c,g){var i;e=(i=e)._withTask||(i._withTask=function(){Pn=!0;var n=i.apply(null,arguments);return Pn=!1,n}),t&&(e=function(n,e,t){var c=Rc;return function g(){null!==n.apply(null,arguments)&&Tc(e,g,t,c)}}(e,n,c)),Rc.addEventListener(n,e,nn?{capture:c,passive:g}:c)}function Tc(n,e,t,c){(c||Rc).removeEventListener(n,e._withTask||e,t)}function xc(n,e){if(!c(n.data.on)||!c(e.data.on)){var t=e.data.on||{},i=n.data.on||{};Rc=e.elm,function(n){if(g(n[fc])){var e=K?"change":"input";n[e]=[].concat(n[fc],n[e]||[]),delete n[fc]}g(n[Yc])&&(n.change=[].concat(n[Yc],n.change||[]),delete n[Yc])}(t),Ie(t,i,Hc,Tc,e.context),Rc=void 0}}var Jc={create:xc,update:xc};function Sc(n,e){if(!c(n.data.domProps)||!c(e.data.domProps)){var t,i,a=e.elm,I=n.data.domProps||{},l=e.data.domProps||{};for(t in g(l.__ob__)&&(l=e.data.domProps=V({},l)),I)c(l[t])&&(a[t]="");for(t in l){if(i=l[t],"textContent"===t||"innerHTML"===t){if(e.children&&(e.children.length=0),i===I[t])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===t){a._value=i;var r=c(i)?"":String(i);kc(a,r)&&(a.value=r)}else a[t]=i}}}function kc(n,e){return!n.composing&&("OPTION"===n.tagName||function(n,e){var t=!0;try{t=document.activeElement!==n}catch(n){}return t&&n.value!==e}(n,e)||function(n,e){var t=n.value,c=n._vModifiers;if(g(c)){if(c.lazy)return!1;if(c.number)return d(t)!==d(e);if(c.trim)return t.trim()!==e.trim()}return t!==e}(n,e))}var Ec={create:Sc,update:Sc},Oc=Q(function(n){var e={},t=/:(.+)/;return n.split(/;(?![^(]*\))/g).forEach(function(n){if(n){var c=n.split(t);c.length>1&&(e[c[0].trim()]=c[1].trim())}}),e});function zc(n){var e=wc(n.style);return n.staticStyle?V(n.staticStyle,e):e}function wc(n){return Array.isArray(n)?v(n):"string"==typeof n?Oc(n):n}var Dc,Lc=/^--/,jc=/\s*!important$/,Mc=function(n,e,t){if(Lc.test(e))n.style.setProperty(e,t);else if(jc.test(t))n.style.setProperty(e,t.replace(jc,""),"important");else{var c=_c(e);if(Array.isArray(t))for(var g=0,i=t.length;g-1?e.split(/\s+/).forEach(function(e){return n.classList.add(e)}):n.classList.add(e);else{var t=" "+(n.getAttribute("class")||"")+" ";t.indexOf(" "+e+" ")<0&&n.setAttribute("class",(t+e).trim())}}function ng(n,e){if(e&&(e=e.trim()))if(n.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return n.classList.remove(e)}):n.classList.remove(e),n.classList.length||n.removeAttribute("class");else{for(var t=" "+(n.getAttribute("class")||"")+" ",c=" "+e+" ";t.indexOf(c)>=0;)t=t.replace(c," ");(t=t.trim())?n.setAttribute("class",t):n.removeAttribute("class")}}function eg(n){if(n){if("object"==typeof n){var e={};return!1!==n.css&&V(e,tg(n.name||"v")),V(e,n),e}return"string"==typeof n?tg(n):void 0}}var tg=Q(function(n){return{enterClass:n+"-enter",enterToClass:n+"-enter-to",enterActiveClass:n+"-enter-active",leaveClass:n+"-leave",leaveToClass:n+"-leave-to",leaveActiveClass:n+"-leave-active"}}),cg=D&&!_,gg="transition",ig="animation",ag="transition",Ig="transitionend",lg="animation",rg="animationend";cg&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ag="WebkitTransition",Ig="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lg="WebkitAnimation",rg="webkitAnimationEnd"));var og=D?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(n){return n()};function Cg(n){og(function(){og(n)})}function Bg(n,e){var t=n._transitionClasses||(n._transitionClasses=[]);t.indexOf(e)<0&&(t.push(e),$c(n,e))}function dg(n,e){n._transitionClasses&&A(n._transitionClasses,e),ng(n,e)}function sg(n,e,t){var c=ug(n,e),g=c.type,i=c.timeout,a=c.propCount;if(!g)return t();var I=g===gg?Ig:rg,l=0,r=function(){n.removeEventListener(I,o),t()},o=function(e){e.target===n&&++l>=a&&r()};setTimeout(function(){l0&&(t=gg,o=a,C=i.length):e===ig?r>0&&(t=ig,o=r,C=l.length):C=(t=(o=Math.max(a,r))>0?a>r?gg:ig:null)?t===gg?i.length:l.length:0,{type:t,timeout:o,propCount:C,hasTransform:t===gg&&bg.test(c[ag+"Property"])}}function Ag(n,e){for(;n.length1}function hg(n,e){!0!==e.data.show&&Gg(e)}var Fg=function(n){var e,t,I={},l=n.modules,r=n.nodeOps;for(e=0;es?G(n,c(t[A+1])?null:t[A+1].elm,t,d,A,i):d>A&&p(0,e,B,s)}(l,d,s,t,a):g(s)?(g(n.text)&&r.setTextContent(l,""),G(l,null,s,0,s.length-1,t)):g(d)?p(0,d,0,d.length-1):g(n.text)&&r.setTextContent(l,""):n.text!==e.text&&r.setTextContent(l,e.text),g(B)&&g(o=B.hook)&&g(o=o.postpatch)&&o(n,e)}}}function X(n,e,t){if(i(t)&&g(n.parent))n.parent.data.pendingInsert=e;else for(var c=0;c-1,a.selected!==i&&(a.selected=i);else if(f(vg(a),c))return void(n.selectedIndex!==I&&(n.selectedIndex=I));g||(n.selectedIndex=-1)}}function Vg(n,e){return e.every(function(e){return!f(e,n)})}function vg(n){return"_value"in n?n._value:n.value}function Ug(n){n.target.composing=!0}function Ng(n){n.target.composing&&(n.target.composing=!1,Rg(n.target,"input"))}function Rg(n,e){var t=document.createEvent("HTMLEvents");t.initEvent(e,!0,!0),n.dispatchEvent(t)}function fg(n){return!n.componentInstance||n.data&&n.data.transition?n:fg(n.componentInstance._vnode)}var Yg={model:Xg,show:{bind:function(n,e,t){var c=e.value,g=(t=fg(t)).data&&t.data.transition,i=n.__vOriginalDisplay="none"===n.style.display?"":n.style.display;c&&g?(t.data.show=!0,Gg(t,function(){n.style.display=i})):n.style.display=c?i:"none"},update:function(n,e,t){var c=e.value;!c!=!e.oldValue&&((t=fg(t)).data&&t.data.transition?(t.data.show=!0,c?Gg(t,function(){n.style.display=n.__vOriginalDisplay}):Qg(t,function(){n.style.display="none"})):n.style.display=c?n.__vOriginalDisplay:"none")},unbind:function(n,e,t,c,g){g||(n.style.display=n.__vOriginalDisplay)}}},Hg={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Tg(n){var e=n&&n.componentOptions;return e&&e.Ctor.options.abstract?Tg(se(e.children)):n}function xg(n){var e={},t=n.$options;for(var c in t.propsData)e[c]=n[c];var g=t._parentListeners;for(var i in g)e[Z(i)]=g[i];return e}function Jg(n,e){if(/\d-keep-alive$/.test(e.tag))return n("keep-alive",{props:e.componentOptions.propsData})}var Sg={name:"transition",props:Hg,abstract:!0,render:function(n){var e=this,t=this.$slots.default;if(t&&(t=t.filter(function(n){return n.tag||de(n)})).length){0;var c=this.mode;0;var g=t[0];if(function(n){for(;n=n.parent;)if(n.data.transition)return!0}(this.$vnode))return g;var i=Tg(g);if(!i)return g;if(this._leaving)return Jg(n,g);var I="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?I+"comment":I+i.tag:a(i.key)?0===String(i.key).indexOf(I)?i.key:I+i.key:i.key;var l=(i.data||(i.data={})).transition=xg(this),r=this._vnode,o=Tg(r);if(i.data.directives&&i.data.directives.some(function(n){return"show"===n.name})&&(i.data.show=!0),o&&o.data&&!function(n,e){return e.key===n.key&&e.tag===n.tag}(i,o)&&!de(o)&&(!o.componentInstance||!o.componentInstance._vnode.isComment)){var C=o.data.transition=V({},l);if("out-in"===c)return this._leaving=!0,le(C,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Jg(n,g);if("in-out"===c){if(de(i))return r;var B,d=function(){B()};le(l,"afterEnter",d),le(l,"enterCancelled",d),le(C,"delayLeave",function(n){B=n})}}return g}}},kg=V({tag:String,moveClass:String},Hg);function Eg(n){n.elm._moveCb&&n.elm._moveCb(),n.elm._enterCb&&n.elm._enterCb()}function Og(n){n.data.newPos=n.elm.getBoundingClientRect()}function zg(n){var e=n.data.pos,t=n.data.newPos,c=e.left-t.left,g=e.top-t.top;if(c||g){n.data.moved=!0;var i=n.elm.style;i.transform=i.WebkitTransform="translate("+c+"px,"+g+"px)",i.transitionDuration="0s"}}delete kg.mode;var wg={Transition:Sg,TransitionGroup:{props:kg,render:function(n){for(var e=this.tag||this.$vnode.data.tag||"span",t=Object.create(null),c=this.prevChildren=this.children,g=this.$slots.default||[],i=this.children=[],a=xg(this),I=0;I-1?Jt[n]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Jt[n]=/HTMLUnknownElement/.test(e.toString())},V(Bt.options.directives,Yg),V(Bt.options.components,wg),Bt.prototype.__patch__=D?Fg:U,Bt.prototype.$mount=function(n,e){return function(n,e,t){return n.$el=e,n.$options.render||(n.$options.render=un),Fe(n,"beforeMount"),new fe(n,function(){n._update(n._render(),t)},U,null,!0),t=!1,null==n.$vnode&&(n._isMounted=!0,Fe(n,"mounted")),n}(this,n=n&&D?kt(n):void 0,e)},D&&setTimeout(function(){S.devtools&&cn&&cn.emit("init",Bt)},0);var Dg=/\{\{((?:.|\n)+?)\}\}/g,Lg=/[-.*+?^${}()|[\]\/\\]/g,jg=Q(function(n){var e=n[0].replace(Lg,"\\$&"),t=n[1].replace(Lg,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+t,"g")});function Mg(n,e){var t=e?jg(e):Dg;if(t.test(n)){for(var c,g,i,a=[],I=[],l=t.lastIndex=0;c=t.exec(n);){(g=c.index)>l&&(I.push(i=n.slice(l,g)),a.push(JSON.stringify(i)));var r=sc(c[1].trim());a.push("_s("+r+")"),I.push({"@binding":r}),l=g+c[0].length}return l\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ci="[a-zA-Z_][\\w\\-\\.]*",gi="((?:"+ci+"\\:)?"+ci+")",ii=new RegExp("^<"+gi),ai=/^\s*(\/?)>/,Ii=new RegExp("^<\\/"+gi+"[^>]*>"),li=/^]+>/i,ri=/^",""":'"',"&":"&","
":"\n"," ":"\t"},bi=/&(?:lt|gt|quot|amp);/g,ui=/&(?:lt|gt|quot|amp|#10|#9);/g,Ai=s("pre,textarea",!0),mi=function(n,e){return n&&Ai(n)&&"\n"===e[0]};function Gi(n,e){var t=e?ui:bi;return n.replace(t,function(n){return si[n]})}var Qi,pi,Zi,hi,Fi,Xi,yi,Wi,Vi=/^@|^v-on:/,vi=/^v-|^@|^:/,Ui=/([^]*?)\s+(?:in|of)\s+([^]*)/,Ni=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ri=/^\(|\)$/g,fi=/:(.*)$/,Yi=/^:|^v-bind:/,Hi=/\.[^.]+/g,Ti=Q(qg);function xi(n,e,t){return{type:1,tag:n,attrsList:e,attrsMap:function(n){for(var e={},t=0,c=n.length;t]*>)","i")),B=n.replace(C,function(n,t,c){return r=c.length,Bi(o)||"noscript"===o||(t=t.replace(//g,"$1").replace(//g,"$1")),mi(o,t)&&(t=t.slice(1)),e.chars&&e.chars(t),""});l+=n.length-B.length,n=B,y(o,l-r,l)}else{var d=n.indexOf("<");if(0===d){if(ri.test(n)){var s=n.indexOf("--\x3e");if(s>=0){e.shouldKeepComment&&e.comment(n.substring(4,s)),h(s+3);continue}}if(oi.test(n)){var b=n.indexOf("]>");if(b>=0){h(b+2);continue}}var u=n.match(li);if(u){h(u[0].length);continue}var A=n.match(Ii);if(A){var m=l;h(A[0].length),y(A[1],m,l);continue}var G=F();if(G){X(G),mi(c,n)&&h(1);continue}}var Q=void 0,p=void 0,Z=void 0;if(d>=0){for(p=n.slice(d);!(Ii.test(p)||ii.test(p)||ri.test(p)||oi.test(p)||(Z=p.indexOf("<",1))<0);)d+=Z,p=n.slice(d);Q=n.substring(0,d),h(d)}d<0&&(Q=n,n=""),e.chars&&Q&&e.chars(Q)}if(n===t){e.chars&&e.chars(n);break}}function h(e){l+=e,n=n.substring(e)}function F(){var e=n.match(ii);if(e){var t,c,g={tagName:e[1],attrs:[],start:l};for(h(e[0].length);!(t=n.match(ai))&&(c=n.match(ti));)h(c[0].length),g.attrs.push(c);if(t)return g.unarySlash=t[1],h(t[0].length),g.end=l,g}}function X(n){var t=n.tagName,l=n.unarySlash;i&&("p"===c&&ei(t)&&y(c),I(t)&&c===t&&y(t));for(var r=a(t)||!!l,o=n.attrs.length,C=new Array(o),B=0;B=0&&g[a].lowerCasedTag!==I;a--);else a=0;if(a>=0){for(var r=g.length-1;r>=a;r--)e.end&&e.end(g[r].tag,t,i);g.length=a,c=a&&g[a-1].tag}else"br"===I?e.start&&e.start(n,[],!0,t,i):"p"===I&&(e.start&&e.start(n,[],!1,t,i),e.end&&e.end(n,t,i))}y()}(n,{warn:Qi,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(n,i,r){var o=c&&c.ns||Wi(n);K&&"svg"===o&&(i=function(n){for(var e=[],t=0;t-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Zc(n,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(c?"_n("+g+")":g)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+yc(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+yc(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+yc(e,"$$c")+"}",null,!0)}(n,c,g);else if("input"===i&&"radio"===a)!function(n,e,t){var c=t&&t.number,g=hc(n,"value")||"null";mc(n,"checked","_q("+e+","+(g=c?"_n("+g+")":g)+")"),Zc(n,"change",yc(e,g),null,!0)}(n,c,g);else if("input"===i||"textarea"===i)!function(n,e,t){var c=n.attrsMap.type,g=t||{},i=g.lazy,a=g.number,I=g.trim,l=!i&&"range"!==c,r=i?"change":"range"===c?fc:"input",o="$event.target.value";I&&(o="$event.target.value.trim()"),a&&(o="_n("+o+")");var C=yc(e,o);l&&(C="if($event.target.composing)return;"+C),mc(n,"value","("+e+")"),Zc(n,r,C,null,!0),(I||a)&&Zc(n,"blur","$forceUpdate()")}(n,c,g);else if(!S.isReservedTag(i))return Xc(n,c,g),!1;return!0},text:function(n,e){e.value&&mc(n,"textContent","_s("+e.value+")")},html:function(n,e){e.value&&mc(n,"innerHTML","_s("+e.value+")")}},isPreTag:function(n){return"pre"===n},isUnaryTag:$g,mustUseProp:Zt,canBeLeftOpenTag:ni,isReservedTag:Tt,getTagNamespace:xt,staticKeys:function(n){return n.reduce(function(n,e){return n.concat(e.staticKeys||[])},[]).join(",")}(Li)},_i=Q(function(n){return s("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(n?","+n:""))});function Pi(n,e){n&&(ji=_i(e.staticKeys||""),Mi=e.isReservedTag||N,function n(e){e.static=function(n){if(2===n.type)return!1;if(3===n.type)return!0;return!(!n.pre&&(n.hasBindings||n.if||n.for||b(n.tag)||!Mi(n.tag)||function(n){for(;n.parent;){if("template"!==(n=n.parent).tag)return!1;if(n.for)return!0}return!1}(n)||!Object.keys(n).every(ji)))}(e);if(1===e.type){if(!Mi(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,c=e.children.length;t|^function\s*\(/,$i=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,na={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ea={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},ta=function(n){return"if("+n+")return null;"},ca={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ta("$event.target !== $event.currentTarget"),ctrl:ta("!$event.ctrlKey"),shift:ta("!$event.shiftKey"),alt:ta("!$event.altKey"),meta:ta("!$event.metaKey"),left:ta("'button' in $event && $event.button !== 0"),middle:ta("'button' in $event && $event.button !== 1"),right:ta("'button' in $event && $event.button !== 2")};function ga(n,e,t){var c=e?"nativeOn:{":"on:{";for(var g in n)c+='"'+g+'":'+ia(g,n[g])+",";return c.slice(0,-1)+"}"}function ia(n,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ia(n,e)}).join(",")+"]";var t=$i.test(e.value),c=qi.test(e.value);if(e.modifiers){var g="",i="",a=[];for(var I in e.modifiers)if(ca[I])i+=ca[I],na[I]&&a.push(I);else if("exact"===I){var l=e.modifiers;i+=ta(["ctrl","shift","alt","meta"].filter(function(n){return!l[n]}).map(function(n){return"$event."+n+"Key"}).join("||"))}else a.push(I);return a.length&&(g+=function(n){return"if(!('button' in $event)&&"+n.map(aa).join("&&")+")return null;"}(a)),i&&(g+=i),"function($event){"+g+(t?"return "+e.value+"($event)":c?"return ("+e.value+")($event)":e.value)+"}"}return t||c?e.value:"function($event){"+e.value+"}"}function aa(n){var e=parseInt(n,10);if(e)return"$event.keyCode!=="+e;var t=na[n],c=ea[n];return"_k($event.keyCode,"+JSON.stringify(n)+","+JSON.stringify(t)+",$event.key,"+JSON.stringify(c)+")"}var Ia={on:function(n,e){n.wrapListeners=function(n){return"_g("+n+","+e.value+")"}},bind:function(n,e){n.wrapData=function(t){return"_b("+t+",'"+n.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:U},la=function(n){this.options=n,this.warn=n.warn||uc,this.transforms=Ac(n.modules,"transformCode"),this.dataGenFns=Ac(n.modules,"genData"),this.directives=V(V({},Ia),n.directives);var e=n.isReservedTag||N;this.maybeComponent=function(n){return!e(n.tag)},this.onceId=0,this.staticRenderFns=[]};function ra(n,e){var t=new la(e);return{render:"with(this){return "+(n?oa(n,t):'_c("div")')+"}",staticRenderFns:t.staticRenderFns}}function oa(n,e){if(n.staticRoot&&!n.staticProcessed)return Ca(n,e);if(n.once&&!n.onceProcessed)return Ba(n,e);if(n.for&&!n.forProcessed)return function(n,e,t,c){var g=n.for,i=n.alias,a=n.iterator1?","+n.iterator1:"",I=n.iterator2?","+n.iterator2:"";0;return n.forProcessed=!0,(c||"_l")+"(("+g+"),function("+i+a+I+"){return "+(t||oa)(n,e)+"})"}(n,e);if(n.if&&!n.ifProcessed)return da(n,e);if("template"!==n.tag||n.slotTarget){if("slot"===n.tag)return function(n,e){var t=n.slotName||'"default"',c=ua(n,e),g="_t("+t+(c?","+c:""),i=n.attrs&&"{"+n.attrs.map(function(n){return Z(n.name)+":"+n.value}).join(",")+"}",a=n.attrsMap["v-bind"];!i&&!a||c||(g+=",null");i&&(g+=","+i);a&&(g+=(i?"":",null")+","+a);return g+")"}(n,e);var t;if(n.component)t=function(n,e,t){var c=e.inlineTemplate?null:ua(e,t,!0);return"_c("+n+","+sa(e,t)+(c?","+c:"")+")"}(n.component,n,e);else{var c=n.plain?void 0:sa(n,e),g=n.inlineTemplate?null:ua(n,e,!0);t="_c('"+n.tag+"'"+(c?","+c:"")+(g?","+g:"")+")"}for(var i=0;i':'',ha.innerHTML.indexOf("
")>0}var ya=!!D&&Xa(!1),Wa=!!D&&Xa(!0),Va=Q(function(n){var e=kt(n);return e&&e.innerHTML}),va=Bt.prototype.$mount;Bt.prototype.$mount=function(n,e){if((n=n&&kt(n))===document.body||n===document.documentElement)return this;var t=this.$options;if(!t.render){var c=t.template;if(c)if("string"==typeof c)"#"===c.charAt(0)&&(c=Va(c));else{if(!c.nodeType)return this;c=c.innerHTML}else n&&(c=function(n){if(n.outerHTML)return n.outerHTML;var e=document.createElement("div");return e.appendChild(n.cloneNode(!0)),e.innerHTML}(n));if(c){0;var g=Fa(c,{shouldDecodeNewlines:ya,shouldDecodeNewlinesForHref:Wa,delimiters:t.delimiters,comments:t.comments},this),i=g.render,a=g.staticRenderFns;t.render=i,t.staticRenderFns=a}}return va.call(this,n,e)},Bt.compile=Fa,e.default=Bt}.call(e,t("GTd5"))},XQtG:function(n,e){var t=0,c=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++t+c).toString(36))}},XVW8:function(n,e,t){n.exports={default:t("oDy/"),__esModule:!0}},XhY8:function(n,e){},"Xjk/":function(n,e,t){var c=t("Vobs");c(c.S,"Array",{isArray:t("JI5q")})},Y0Wb:function(n,e,t){"use strict";var c,g=t("tMyS")(0),i=t("jDrK"),a=t("nxhn"),I=t("v89L"),l=t("3y1p"),r=t("/2t/"),o=t("BI7s"),C=t("yRub"),B=a.getWeak,d=Object.isExtensible,s=l.ufstore,b={},u=function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},A={get:function(n){if(r(n)){var e=B(n);return!0===e?s(C(this,"WeakMap")).get(n):e?e[this._i]:void 0}},set:function(n,e){return l.def(C(this,"WeakMap"),n,e)}},m=n.exports=t("J5Ss")("WeakMap",u,A,l,!0,!0);o(function(){return 7!=(new m).set((Object.freeze||Object)(b),7).get(b)})&&(I((c=l.getConstructor(u,"WeakMap")).prototype,A),a.NEED=!0,g(["delete","has","get","set"],function(n){var e=m.prototype,t=e[n];i(e,n,function(e,g){if(r(e)&&!d(e)){this._f||(this._f=new c);var i=this._f[n](e,g);return"set"==n?this:i}return t.call(this,e,g)})}))},YBdf:function(n,e,t){"use strict";var c=t("8QiI"),g=t("gGgn"),i=t("jVdc"),a=t("I5XL")("species");n.exports=function(n){var e=c[n];i&&e&&!e[a]&&g.f(e,a,{configurable:!0,get:function(){return this}})}},YxkS:function(n,e,t){var c=t("buEK"),g=t("Jh2P").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(n){return a&&"[object Window]"==i.call(n)?function(n){try{return g(n)}catch(n){return a.slice()}}(n):g(c(n))}},"Z+ck":function(n,e,t){"use strict";var c=t("ke6T"),g=t("PECj"),i=t("H5R/"),a=t("zakI");n.exports=t("MKcl")(Array,"Array",function(n,e){this._t=a(n),this._i=0,this._k=e},function(){var n=this._t,e=this._k,t=this._i++;return!n||t>=n.length?(this._t=void 0,g(1)):g(0,"keys"==e?t:"values"==e?n[t]:[t,n[t]])},"values"),i.Arguments=i.Array,c("keys"),c("values"),c("entries")},"Z/Ab":function(n,e,t){var c=t("Vobs");c(c.P,"String",{repeat:t("0Lz3")})},Z7lT:function(n,e,t){var c=t("I5XL")("match");n.exports=function(n){var e=/./;try{"/./"[n](e)}catch(t){try{return e[c]=!1,!"/./"[n](e)}catch(n){}}return!0}},Z836:function(n,e){},ZBH0:function(n,e,t){var c=t("Vobs");c(c.P,"Array",{fill:t("hOOH")}),t("ke6T")("fill")},ZIrZ:function(n,e){n.exports=Math.sign||function(n){return 0==(n=+n)||n!=n?n:n<0?-1:1}},ZKGF:function(n,e,t){t("1sXG")("Float64",8,function(n){return function(e,t,c){return n(this,e,t,c)}})},ZRWD:function(n,e,t){"use strict";var c=t("SZ/P"),g=t("zYZI"),i=t("e1Cu");c(c.S,"Promise",{try:function(n){var e=g.f(this),t=i(n);return(t.e?e.reject:e.resolve)(t.v),e.promise}})},ZRhR:function(n,e,t){"use strict";e.__esModule=!0;var c,g=t("XVW8"),i=(c=g)&&c.__esModule?c:{default:c};e.default=function(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e=0||Object.prototype.hasOwnProperty.call(n,c)&&(t[c]=n[c]);return t};function C(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},g=(e.children||[]).map(C.bind(null,n)),i=Object.keys(e.attributes||{}).reduce(function(n,t){var c=e.attributes[t];switch(t){case"class":n.class=c.split(/\s+/).reduce(function(n,e){return n[e]=!0,n},{});break;case"style":n.style=c.split(";").map(function(n){return n.trim()}).filter(function(n){return n}).reduce(function(n,e){var t=e.indexOf(":"),c=a.camelize(e.slice(0,t)),g=e.slice(t+1).trim();return n[c]=g,n},{});break;default:n.attrs[t]=c}return n},{class:{},style:{},attrs:{}}),I=c.class,l=void 0===I?{}:I,B=c.style,d=void 0===B?{}:B,s=c.attrs,b=void 0===s?{}:s,u=o(c,["class","style","attrs"]);return"string"==typeof e?e:n(e.tag,r({class:function(){for(var n=arguments.length,e=Array(n),t=0;t0||!Array.isArray(e)&&e?l({},n,e):{}}function s(n){return null===n?null:"object"===(void 0===n?"undefined":I(n))&&n.prefix&&n.iconName?n:Array.isArray(n)&&2===n.length?{prefix:n[0],iconName:n[1]}:"string"==typeof n?{prefix:"fas",iconName:n}:void 0}var b={name:"FontAwesomeIcon",functional:!0,props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:String,default:null,validator:function(n){return["horizontal","vertical","both"].indexOf(n)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(n){return["right","left"].indexOf(n)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:Number,default:null,validator:function(n){return[90,180,270].indexOf(n)>-1}},size:{type:String,default:null,validator:function(n){return["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(n)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1}},render:function(n,e){var t=e.props,g=t.icon,i=t.mask,a=t.symbol,I=s(g),o=d("classes",function(n){var e,t=(e={"fa-spin":n.spin,"fa-pulse":n.pulse,"fa-fw":n.fixedWidth,"fa-border":n.border,"fa-li":n.listItem,"fa-flip-horizontal":"horizontal"===n.flip||"both"===n.flip,"fa-flip-vertical":"vertical"===n.flip||"both"===n.flip},l(e,"fa-"+n.size,null!==n.size),l(e,"fa-rotate-"+n.rotation,null!==n.rotation),l(e,"fa-pull-"+n.pull,null!==n.pull),e);return Object.keys(t).map(function(n){return t[n]?n:null}).filter(function(n){return n})}(t)),b=d("transform","string"==typeof t.transform?c.d.transform(t.transform):t.transform),u=d("mask",s(i)),A=Object(c.b)(I,r({},o,b,u,{symbol:a}));if(!A)return function(){var n;!B&&console&&"function"==typeof console.error&&(n=console).error.apply(n,arguments)}("Could not find one or more icon(s)",I,u);var m=A.abstract;return C.bind(null,n)(m[0],{},e.data)}},u={name:"FontAwesomeLayers",functional:!0,props:{fixedWidth:{type:Boolean,default:!1}},render:function(n,e){var t,g,i=c.a.familyPrefix,a=e.data.staticClass,I=[i+"-layers"].concat(function(n){if(Array.isArray(n)){for(var e=0,t=Array(n.length);e 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from) {\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\n to[j] = from[i];\n return to;\n};\nvar constants = __webpack_require__(1);\nvar E = constants.typeErrors, trackPriority = constants.trackPriority;\nvar util = __webpack_require__(2);\n/**\n * Return the given {@link LocalTrack} or a new {@link LocalTrack} for the\n * given MediaStreamTrack.\n * @param {LocalTrack|MediaStreamTrack} track\n * @param {object} options\n * @returns {LocalTrack}\n * @throws {TypeError}\n */\nfunction asLocalTrack(track, options) {\n if (track instanceof options.LocalAudioTrack\n || track instanceof options.LocalVideoTrack\n || track instanceof options.LocalDataTrack) {\n return track;\n }\n if (track instanceof options.MediaStreamTrack) {\n return track.kind === 'audio'\n ? new options.LocalAudioTrack(track, options)\n : new options.LocalVideoTrack(track, options);\n }\n /* eslint new-cap:0 */\n throw E.INVALID_TYPE('track', 'LocalAudioTrack, LocalVideoTrack, LocalDataTrack, or MediaStreamTrack');\n}\n/**\n * Create a new {@link LocalTrackPublication} for the given {@link LocalTrack}.\n * @param {LocalTrack} track\n * @param {LocalTrackPublicationSignaling} signaling\n * @param {function(track: LocalTrackPublication): void} unpublish\n * @param {object} options\n */\nfunction asLocalTrackPublication(track, signaling, unpublish, options) {\n var LocalTrackPublication = {\n audio: options.LocalAudioTrackPublication,\n video: options.LocalVideoTrackPublication,\n data: options.LocalDataTrackPublication\n }[track.kind];\n return new LocalTrackPublication(signaling, track, unpublish, options);\n}\n/**\n * Capitalize a word.\n * @param {string} word\n * @returns {string} capitalized\n */\nfunction capitalize(word) {\n return word[0].toUpperCase() + word.slice(1);\n}\n/**\n * Log deprecation warnings for the given events of an EventEmitter.\n * @param {string} name\n * @param {EventEmitter} emitter\n * @param {Map} events\n * @param {Log} log\n */\nfunction deprecateEvents(name, emitter, events, log) {\n var warningsShown = new Set();\n emitter.on('newListener', function newListener(event) {\n if (events.has(event) && !warningsShown.has(event)) {\n log.deprecated(name + \"#\" + event + \" has been deprecated and scheduled for removal in twilio-video.js@2.0.0.\" + (events.get(event)\n ? \" Use \" + name + \"#\" + events.get(event) + \" instead.\"\n : ''));\n warningsShown.add(event);\n }\n if (warningsShown.size >= events.size) {\n emitter.removeListener('newListener', newListener);\n }\n });\n}\n/**\n * Finds the items in list1 that are not in list2.\n * @param {Array<*>|Map<*>|Set<*>} list1\n * @param {Array<*>|Map<*>|Set<*>} list2\n * @returns {Set}\n */\nfunction difference(list1, list2) {\n list1 = Array.isArray(list1) ? new Set(list1) : new Set(list1.values());\n list2 = Array.isArray(list2) ? new Set(list2) : new Set(list2.values());\n var difference = new Set();\n list1.forEach(function (item) {\n if (!list2.has(item)) {\n difference.add(item);\n }\n });\n return difference;\n}\n/**\n * Filter out the keys in an object with a given value.\n * @param {object} object - Object to be filtered\n * @param {*} [filterValue] - Value to be filtered out; If not specified, then\n * filters out all keys which have an explicit value of \"undefined\"\n * @returns {object} - Filtered object\n */\nfunction filterObject(object, filterValue) {\n return Object.keys(object).reduce(function (filtered, key) {\n if (object[key] !== filterValue) {\n filtered[key] = object[key];\n }\n return filtered;\n }, {});\n}\n/**\n * Map a list to an array of arrays, and return the flattened result.\n * @param {Array<*>|Set<*>|Map<*>} list\n * @param {function(*): Array<*>} [mapFn]\n * @returns Array<*>\n */\nfunction flatMap(list, mapFn) {\n var listArray = list instanceof Map || list instanceof Set\n ? Array.from(list.values())\n : list;\n mapFn = mapFn || function mapFn(item) {\n return item;\n };\n return listArray.reduce(function (flattened, item) {\n var mapped = mapFn(item);\n return flattened.concat(mapped);\n }, []);\n}\n/**\n * Get the user agent string, or return \"Unknown\".\n * @returns {string}\n */\nfunction getUserAgent() {\n return typeof navigator !== 'undefined' && navigator.userAgent\n ? navigator.userAgent\n : 'Unknown';\n}\n/**\n * Get the platform component of the user agent string.\n * Example:\n * Input - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36\n * Output - macintosh\n * @returns {string}\n */\nfunction getPlatform() {\n var userAgent = getUserAgent();\n var _a = __read(userAgent.match(/\\(([^)]+)\\)/) || [], 2), _b = _a[1], match = _b === void 0 ? 'unknown' : _b;\n var _c = __read(match.split(';').map(function (entry) { return entry.trim(); }), 1), platform = _c[0];\n return platform.toLowerCase();\n}\n/**\n * Create a unique identifier.\n * @returns {string}\n */\nfunction makeUUID() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = Math.random() * 16 | 0;\n var v = c === 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n });\n}\n/**\n * Ensure that the given function is called once per tick.\n * @param {function} fn - Function to be executed\n * @returns {function} - Schedules the given function to be called on the next tick\n */\nfunction oncePerTick(fn) {\n var timeout = null;\n function nextTick() {\n timeout = null;\n fn();\n }\n return function scheduleNextTick() {\n if (timeout) {\n clearTimeout(timeout);\n }\n timeout = setTimeout(nextTick);\n };\n}\nfunction promiseFromEvents(operation, eventEmitter, successEvent, failureEvent) {\n return new Promise(function (resolve, reject) {\n function onSuccess() {\n var args = [].slice.call(arguments);\n if (failureEvent) {\n eventEmitter.removeListener(failureEvent, onFailure);\n }\n resolve.apply(void 0, __spreadArray([], __read(args)));\n }\n function onFailure() {\n var args = [].slice.call(arguments);\n eventEmitter.removeListener(successEvent, onSuccess);\n reject.apply(void 0, __spreadArray([], __read(args)));\n }\n eventEmitter.once(successEvent, onSuccess);\n if (failureEvent) {\n eventEmitter.once(failureEvent, onFailure);\n }\n operation();\n });\n}\n/**\n * Traverse down multiple nodes on an object and return null if\n * any link in the path is unavailable.\n * @param {Object} obj - Object to traverse\n * @param {String} path - Path to traverse. Period-separated.\n * @returns {Any|null}\n */\nfunction getOrNull(obj, path) {\n return path.split('.').reduce(function (output, step) {\n if (!output) {\n return null;\n }\n return output[step];\n }, obj);\n}\n/**\n * @typedef {object} Deferred\n * @property {Promise} promise\n * @property {function} reject\n * @property {function} resolve\n */\n/**\n * Create a {@link Deferred}.\n * @returns {Deferred}\n */\nfunction defer() {\n var deferred = {};\n deferred.promise = new Promise(function (resolve, reject) {\n deferred.resolve = resolve;\n deferred.reject = reject;\n });\n return deferred;\n}\n/**\n * Copy a method from a `source` prototype onto a `wrapper` prototype. Invoking\n * the method on the `wrapper` prototype will invoke the corresponding method\n * on an instance accessed by `target`.\n * @param {object} source\n * @param {object} wrapper\n * @param {string} target\n * @param {string} methodName\n * @returns {undefined}\n */\nfunction delegateMethod(source, wrapper, target, methodName) {\n if (methodName in wrapper) {\n // Skip any methods already set.\n return;\n }\n else if (methodName.match(/^on[a-z]+$/)) {\n // Skip EventHandlers (these are handled in the constructor).\n return;\n }\n var type;\n try {\n type = typeof source[methodName];\n }\n catch (error) {\n // NOTE(mroberts): Attempting to check the type of non-function members\n // on the prototype throws an error for some types.\n }\n if (type !== 'function') {\n // Skip non-function members.\n return;\n }\n /* eslint no-loop-func:0 */\n wrapper[methodName] = function () {\n var _a;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return (_a = this[target])[methodName].apply(_a, __spreadArray([], __read(args)));\n };\n}\n/**\n * Copy methods from a `source` prototype onto a `wrapper` prototype. Invoking\n * the methods on the `wrapper` prototype will invoke the corresponding method\n * on an instance accessed by `target`.\n * @param {object} source\n * @param {object} wrapper\n * @param {string} target\n * @returns {undefined}\n */\nfunction delegateMethods(source, wrapper, target) {\n for (var methodName in source) {\n delegateMethod(source, wrapper, target, methodName);\n }\n}\n/**\n * Determine whether two values are deeply equal.\n * @param {*} val1\n * @param {*} val2\n * @returns {boolean}\n */\nfunction isDeepEqual(val1, val2) {\n if (val1 === val2) {\n return true;\n }\n if (typeof val1 !== typeof val2) {\n return false;\n }\n if (val1 === null) {\n return val2 === null;\n }\n if (val2 === null) {\n return false;\n }\n if (Array.isArray(val1)) {\n return Array.isArray(val2)\n && val1.length === val2.length\n && val1.every(function (val, i) { return isDeepEqual(val, val2[i]); });\n }\n if (typeof val1 === 'object') {\n var val1Keys = Object.keys(val1).sort();\n var val2Keys = Object.keys(val2).sort();\n return !Array.isArray(val2)\n && isDeepEqual(val1Keys, val2Keys)\n && val1Keys.every(function (key) { return isDeepEqual(val1[key], val2[key]); });\n }\n return false;\n}\n/**\n * Whether the given argument is a non-array object.\n * @param {*} object\n * @return {boolean}\n */\nfunction isNonArrayObject(object) {\n return typeof object === 'object' && !Array.isArray(object);\n}\n/**\n * For each property name on the `source` prototype, add getters and/or setters\n * to `wrapper` that proxy to `target`.\n * @param {object} source\n * @param {object} wrapper\n * @param {string} target\n * @returns {undefined}\n */\nfunction proxyProperties(source, wrapper, target) {\n Object.getOwnPropertyNames(source).forEach(function (propertyName) {\n proxyProperty(source, wrapper, target, propertyName);\n });\n}\n/**\n * For the property name on the `source` prototype, add a getter and/or setter\n * to `wrapper` that proxies to `target`.\n * @param {object} source\n * @param {object} wrapper\n * @param {string} target\n * @param {string} propertyName\n * @returns {undefined}\n */\nfunction proxyProperty(source, wrapper, target, propertyName) {\n if (propertyName in wrapper) {\n // Skip any properties already set.\n return;\n }\n else if (propertyName.match(/^on[a-z]+$/)) {\n Object.defineProperty(wrapper, propertyName, {\n value: null,\n writable: true\n });\n target.addEventListener(propertyName.slice(2), function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n wrapper.dispatchEvent.apply(wrapper, __spreadArray([], __read(args)));\n });\n return;\n }\n Object.defineProperty(wrapper, propertyName, {\n enumerable: true,\n get: function () {\n return target[propertyName];\n }\n });\n}\n/**\n * This is a function for turning a Promise into the kind referenced in the\n * Legacy Interface Extensions section of the WebRTC spec.\n * @param {Promise<*>} promise\n * @param {function<*>} onSuccess\n * @param {function} onFailure\n * @returns {Promise}\n */\nfunction legacyPromise(promise, onSuccess, onFailure) {\n if (onSuccess) {\n return promise.then(function (result) {\n onSuccess(result);\n }, function (error) {\n onFailure(error);\n });\n }\n return promise;\n}\n/**\n * Build the {@link LogLevels} object.\n * @param {String|LogLevel} logLevel - Log level name or object\n * @returns {LogLevels}\n */\nfunction buildLogLevels(logLevel) {\n if (typeof logLevel === 'string') {\n return {\n default: logLevel,\n media: logLevel,\n signaling: logLevel,\n webrtc: logLevel\n };\n }\n return logLevel;\n}\n/**\n * Get the {@link Track}'s derived class name\n * @param {Track} track\n * @param {?boolean} [local=undefined]\n * @returns {string}\n */\nfunction trackClass(track, local) {\n local = local ? 'Local' : '';\n return local + (track.kind || '').replace(/\\w{1}/, function (m) { return m.toUpperCase(); }) + \"Track\";\n}\n/**\n * Get the {@link TrackPublication}'s derived class name\n * @param {TrackPublication} publication\n * @param {?boolean} [local=undefined]\n * @returns {string}\n */\nfunction trackPublicationClass(publication, local) {\n local = local ? 'Local' : '';\n return local + (publication.kind || '').replace(/\\w{1}/, function (m) { return m.toUpperCase(); }) + \"TrackPublication\";\n}\n/**\n * Sets all underscore-prefixed properties on `object` non-enumerable.\n * @param {Object} object\n * @returns {void}\n */\nfunction hidePrivateProperties(object) {\n Object.getOwnPropertyNames(object).forEach(function (name) {\n if (name.startsWith('_')) {\n hideProperty(object, name);\n }\n });\n}\n/**\n * Creates a new subclass which, in the constructor, sets all underscore-prefixed\n * properties and the given public properties non-enumerable. This is useful for\n * patching up classes like EventEmitter which may set properties like `_events`\n * and `domain`.\n * @param {Function} klass\n * @param {Array} props\n * @returns {Function} subclass\n */\nfunction hidePrivateAndCertainPublicPropertiesInClass(klass, props) {\n // NOTE(mroberts): We do this to avoid giving the class a name.\n return /** @class */ (function (_super) {\n __extends(class_1, _super);\n function class_1() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var _this = _super.apply(this, __spreadArray([], __read(args))) || this;\n hidePrivateProperties(_this);\n hidePublicProperties(_this, props);\n return _this;\n }\n return class_1;\n }(klass));\n}\n/**\n * Hide a property of an object.\n * @param {object} object\n * @param {string} name\n */\nfunction hideProperty(object, name) {\n var descriptor = Object.getOwnPropertyDescriptor(object, name);\n descriptor.enumerable = false;\n Object.defineProperty(object, name, descriptor);\n}\n/**\n * Hide the given public properties of an object.\n * @param {object} object\n * @param {Array} [props=[]]\n */\nfunction hidePublicProperties(object, props) {\n if (props === void 0) { props = []; }\n props.forEach(function (name) {\n // eslint-disable-next-line no-prototype-builtins\n if (object.hasOwnProperty(name)) {\n hideProperty(object, name);\n }\n });\n}\n/**\n * Convert an Array of values to an Array of JSON values by calling\n * `valueToJSON` on each value.\n * @param {Array<*>} array\n * @returns {Array<*>}\n */\nfunction arrayToJSON(array) {\n return array.map(valueToJSON);\n}\n/**\n * Convert a Set of values to an Array of JSON values by calling `valueToJSON`\n * on each value.\n * @param {Set<*>} set\n * @returns {Array<*>}\n */\nfunction setToJSON(set) {\n return arrayToJSON(__spreadArray([], __read(set)));\n}\n/**\n * Convert a Map from strings to values to an object of JSON values by calling\n * `valueToJSON` on each value.\n * @param {Map} map\n * @returns {object}\n */\nfunction mapToJSON(map) {\n return __spreadArray([], __read(map.entries())).reduce(function (json, _a) {\n var _b;\n var _c = __read(_a, 2), key = _c[0], value = _c[1];\n return Object.assign((_b = {}, _b[key] = valueToJSON(value), _b), json);\n }, {});\n}\n/**\n * Convert an object to a JSON value by calling `valueToJSON` on its enumerable\n * keys.\n * @param {object} object\n * @returns {object}\n */\nfunction objectToJSON(object) {\n return Object.entries(object).reduce(function (json, _a) {\n var _b;\n var _c = __read(_a, 2), key = _c[0], value = _c[1];\n return Object.assign((_b = {}, _b[key] = valueToJSON(value), _b), json);\n }, {});\n}\n/**\n * Convert a value into a JSON value.\n * @param {*} value\n * @returns {*}\n */\nfunction valueToJSON(value) {\n if (Array.isArray(value)) {\n return arrayToJSON(value);\n }\n else if (value instanceof Set) {\n return setToJSON(value);\n }\n else if (value instanceof Map) {\n return mapToJSON(value);\n }\n else if (value && typeof value === 'object') {\n return objectToJSON(value);\n }\n return value;\n}\nfunction createRoomConnectEventPayload(connectOptions) {\n function boolToString(val) {\n return val ? 'true' : 'false';\n }\n var payload = {\n // arrays props converted to lengths.\n iceServers: (connectOptions.iceServers || []).length,\n audioTracks: (connectOptions.tracks || []).filter(function (track) { return track.kind === 'audio'; }).length,\n videoTracks: (connectOptions.tracks || []).filter(function (track) { return track.kind === 'video'; }).length,\n dataTracks: (connectOptions.tracks || []).filter(function (track) { return track.kind === 'data'; }).length,\n };\n // boolean properties.\n [['audio'], ['automaticSubscription'], ['enableDscp'], ['eventListener'], ['preflight'], ['video'], ['dominantSpeaker', 'enableDominantSpeaker']].forEach(function (_a) {\n var _b = __read(_a, 2), prop = _b[0], eventProp = _b[1];\n eventProp = eventProp || prop;\n payload[eventProp] = boolToString(!!connectOptions[prop]);\n });\n // numbers and string properties.\n [['maxVideoBitrate'], ['maxAudioBitrate'], ['iceTransportPolicy'], ['region'], ['name', 'roomName']].forEach(function (_a) {\n var _b = __read(_a, 2), prop = _b[0], eventProp = _b[1];\n eventProp = eventProp || prop;\n if (typeof connectOptions[prop] === 'number' || typeof connectOptions[prop] === 'string') {\n payload[eventProp] = connectOptions[prop];\n }\n });\n // array props stringified.\n ['preferredAudioCodecs', 'preferredVideoCodecs'].forEach(function (prop) {\n if (prop in connectOptions) {\n payload[prop] = JSON.stringify(connectOptions[prop]);\n }\n });\n if ('networkQuality' in connectOptions) {\n payload.networkQualityConfiguration = {};\n if (isNonArrayObject(connectOptions.networkQuality)) {\n ['local', 'remote'].forEach(function (prop) {\n if (typeof connectOptions.networkQuality[prop] === 'number') {\n payload.networkQualityConfiguration[prop] = connectOptions.networkQuality[prop];\n }\n });\n }\n else {\n payload.networkQualityConfiguration.remote = 0;\n payload.networkQualityConfiguration.local = connectOptions.networkQuality ? 1 : 0;\n }\n }\n if (connectOptions.bandwidthProfile && connectOptions.bandwidthProfile.video) {\n var videoBPOptions_1 = connectOptions.bandwidthProfile.video || {};\n payload.bandwidthProfileOptions = {};\n ['mode', 'maxTracks', 'trackSwitchOffMode', 'dominantSpeakerPriority', 'maxSubscriptionBitrate', 'renderDimensions', 'contentPreferencesMode', 'clientTrackSwitchOffControl'].forEach(function (prop) {\n if (typeof videoBPOptions_1[prop] === 'number' || typeof videoBPOptions_1[prop] === 'string') {\n payload.bandwidthProfileOptions[prop] = videoBPOptions_1[prop];\n }\n else if (typeof videoBPOptions_1[prop] === 'boolean') {\n payload.bandwidthProfileOptions[prop] = boolToString(videoBPOptions_1[prop]);\n }\n else if (typeof videoBPOptions_1[prop] === 'object') {\n payload.bandwidthProfileOptions[prop] = JSON.stringify(videoBPOptions_1[prop]);\n }\n });\n }\n return {\n group: 'room',\n name: 'connect',\n level: 'info',\n payload: payload\n };\n}\n/**\n * Create the bandwidth profile payload included in an RSP connect message.\n * @param {BandwidthProfileOptions} bandwidthProfile\n * @returns {object}\n */\nfunction createBandwidthProfilePayload(bandwidthProfile) {\n return createRSPPayload(bandwidthProfile, [\n { prop: 'video', type: 'object', transform: createBandwidthProfileVideoPayload }\n ]);\n}\n/**\n * Create the bandwidth profile video payload included in an RSP connect message.\n * @param {VideoBandwidthProfileOptions} bandwidthProfileVideo\n * @returns {object}\n */\nfunction createBandwidthProfileVideoPayload(bandwidthProfileVideo) {\n return createRSPPayload(bandwidthProfileVideo, [\n { prop: 'dominantSpeakerPriority', type: 'string', payloadProp: 'active_speaker_priority' },\n { prop: 'maxSubscriptionBitrate', type: 'number', payloadProp: 'max_subscription_bandwidth' },\n { prop: 'maxTracks', type: 'number', payloadProp: 'max_tracks' },\n { prop: 'mode', type: 'string' },\n { prop: 'renderDimensions', type: 'object', payloadProp: 'render_dimensions', transform: createRenderDimensionsPayload },\n { prop: 'trackSwitchOffMode', type: 'string', payloadProp: 'track_switch_off' }\n ]);\n}\n/**\n * Create the Media Signaling payload included in an RSP connect message.\n * @param {boolean} dominantSpeaker - whether to enable the Dominant Speaker\n * protocol or not\n * @param {boolean} networkQuality - whether to enable the Network Quality\n * protocol or not\n * @param {boolean} trackPriority - whether to enable the Track Priority\n * protocol or not\n * @param {boolean} trackSwitchOff - whether to enable the Track Switch-Off\n * protocol or not.\n * @param {boolean} renderHints - whether to enable the renderHints\n * protocol or not.\n * @returns {object}\n */\nfunction createMediaSignalingPayload(dominantSpeaker, networkQuality, trackPriority, trackSwitchOff, renderHints) {\n var transports = { transports: [{ type: 'data-channel' }] };\n return Object.assign(dominantSpeaker\n // eslint-disable-next-line\n ? { active_speaker: transports }\n : {}, networkQuality\n // eslint-disable-next-line\n ? { network_quality: transports }\n : {}, renderHints\n // eslint-disable-next-line\n ? { render_hints: transports }\n : {}, trackPriority\n // eslint-disable-next-line\n ? { track_priority: transports }\n : {}, trackSwitchOff\n // eslint-disable-next-line\n ? { track_switch_off: transports }\n : {});\n}\n/**\n * Create {@link VideoTrack.Dimensions} RSP payload.\n * @param {VideoTrack.Dimensions} [dimensions]\n * @returns {object}\n */\nfunction createDimensionsPayload(dimensions) {\n return createRSPPayload(dimensions, [\n { prop: 'height', type: 'number' },\n { prop: 'width', type: 'number' }\n ]);\n}\n/**\n * Create {@link VideoRenderDimensions} RSP payload.\n * @param renderDimensions\n * @returns {object}\n */\nfunction createRenderDimensionsPayload(renderDimensions) {\n var PRIORITY_HIGH = trackPriority.PRIORITY_HIGH, PRIORITY_LOW = trackPriority.PRIORITY_LOW, PRIORITY_STANDARD = trackPriority.PRIORITY_STANDARD;\n return createRSPPayload(renderDimensions, [\n { prop: PRIORITY_HIGH, type: 'object', transform: createDimensionsPayload },\n { prop: PRIORITY_LOW, type: 'object', transform: createDimensionsPayload },\n { prop: PRIORITY_STANDARD, type: 'object', transform: createDimensionsPayload }\n ]);\n}\n/**\n * Create an RSP payload for the given object.\n * @param {object} object - object for which RSP payload is to be generated\n * @param {Array