@twab/visualization 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  * (c) 2019-present prica25 <pricagamer@gmail.com>
5
5
  * Released under the MIT License.
6
6
  */
7
- !function(t,n){e.exports=n()}(0,(function(){"use strict";var e=function(e){try{return!!e()}catch(e){return!0}},t=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function i(e,t){return e(t={exports:{}},t.exports),t.exports}var o=function(e){return e&&e.Math==Math&&e},a=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||Function("return this")(),s=/#|\.prototype\./,l=function(t,n){var r=u[c(t)];return r==d||r!=f&&("function"==typeof n?e(n):!!n)},c=l.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=l.data={},f=l.NATIVE="N",d=l.POLYFILL="P",p=l,h=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=a.document,v=h(m)&&h(m.createElement),g=function(e){return v?m.createElement(e):{}},y=!t&&!e((function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a})),b=function(e){if(!h(e))throw TypeError(String(e)+" is not an object");return e},_=function(e,t){if(!h(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!h(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!h(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!h(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,x={f:t?w:function(e,t,n){if(b(e),t=_(t,!0),b(n),y)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=t?function(e,t,n){return x.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},O={}.hasOwnProperty,C=function(e,t){return O.call(e,t)},T=function(e,t){try{k(a,e,t)}catch(r){a[e]=t}return t},E=a["__core-js_shared__"]||T("__core-js_shared__",{}),A=Function.toString;"function"!=typeof E.inspectSource&&(E.inspectSource=function(e){return A.call(e)});var P,L,j,D=E.inspectSource,R=a.WeakMap,z="function"==typeof R&&/native code/.test(D(R)),N=i((function(e){(e.exports=function(e,t){return E[e]||(E[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),$=0,M=Math.random(),B=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++$+M).toString(36)},I=N("keys"),F=function(e){return I[e]||(I[e]=B(e))},H={},V=a.WeakMap;if(z){var U=new V,W=U.get,q=U.has,Y=U.set;P=function(e,t){return Y.call(U,e,t),t},L=function(e){return W.call(U,e)||{}},j=function(e){return q.call(U,e)}}else{var X=F("state");H[X]=!0,P=function(e,t){return k(e,X,t),t},L=function(e){return C(e,X)?e[X]:{}},j=function(e){return C(e,X)}}var G,K={set:P,get:L,has:j,enforce:function(e){return j(e)?L(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!h(t)||(n=L(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},J=i((function(e){var t=K.get,n=K.enforce,r=String(String).split("String");(e.exports=function(e,t,i,o){var s=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof t||C(i,"name")||k(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e!==a?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:k(e,t,i)):l?e[t]=i:T(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||D(this)}))})),Q={}.toString,Z=function(e){return Q.call(e).slice(8,-1)},ee=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!h(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),te="".split,ne=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Z(e)?te.call(e,""):Object(e)}:Object,re=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},ie=function(e){return ne(re(e))},oe=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?ae:oe)(e)},le=Math.min,ce=function(e){return e>0?le(se(e),9007199254740991):0},ue=Math.max,fe=Math.min,de=function(e){return function(t,n,r){var i,o=ie(t),a=ce(o.length),s=function(e,t){var n=se(e);return n<0?ue(n+t,0):fe(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},pe={includes:de(!0),indexOf:de(!1)}.indexOf,he=function(e,t){var n,r=ie(e),i=0,o=[];for(n in r)!C(H,n)&&C(r,n)&&o.push(n);for(;t.length>i;)C(r,n=t[i++])&&(~pe(o,n)||o.push(n));return o},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ve=Object.keys||function(e){return he(e,me)},ge=t?Object.defineProperties:function(e,t){b(e);for(var n,r=ve(t),i=r.length,o=0;i>o;)x.f(e,n=r[o++],t[n]);return e},ye=a,be=function(e){return"function"==typeof e?e:void 0},_e=function(e,t){return arguments.length<2?be(ye[e])||be(a[e]):ye[e]&&ye[e][t]||a[e]&&a[e][t]},we=_e("document","documentElement"),xe=F("IE_PROTO"),Se=function(){},ke=function(e){return"<script>"+e+"<\/script>"},Oe=function(){try{G=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Oe=G?function(e){e.write(ke("")),e.close();var t=e.parentWindow.Object;return e=null,t}(G):((t=g("iframe")).style.display="none",we.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ke("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete Oe.prototype[me[n]];return Oe()};H[xe]=!0;var Ce=Object.create||function(e,t){var n;return null!==e?(Se.prototype=b(e),n=new Se,Se.prototype=null,n[xe]=e):n=Oe(),void 0===t?n:ge(n,t)},Te=me.concat("length","prototype"),Ee={f:Object.getOwnPropertyNames||function(e){return he(e,Te)}},Ae={}.propertyIsEnumerable,Pe=Object.getOwnPropertyDescriptor,Le={f:Pe&&!Ae.call({1:2},1)?function(e){var t=Pe(this,e);return!!t&&t.enumerable}:Ae},je=Object.getOwnPropertyDescriptor,De={f:t?je:function(e,t){if(e=ie(e),t=_(t,!0),y)try{return je(e,t)}catch(e){}if(C(e,t))return S(!Le.f.call(e,t),e[t])}},Re="[\t\n\v\f\r                 \u2028\u2029\ufeff]",ze=RegExp("^"+Re+Re+"*"),Ne=RegExp(Re+Re+"*$"),$e=function(e){return function(t){var n=String(re(t));return 1&e&&(n=n.replace(ze,"")),2&e&&(n=n.replace(Ne,"")),n}},Me={start:$e(1),end:$e(2),trim:$e(3)},Be=Ee.f,Ie=De.f,Fe=x.f,He=Me.trim,Ve=a.Number,Ue=Ve.prototype,We="Number"==Z(Ce(Ue)),qe=function(e){var t,n,r,i,o,a,s,l,c=_(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=He(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+c};if(p("Number",!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Ye,Xe=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof Xe&&(We?e((function(){Ue.valueOf.call(r)})):"Number"!=Z(r))?function(e,t,n){var r,i;return ee&&"function"==typeof(r=t.constructor)&&r!==n&&h(i=r.prototype)&&i!==n.prototype&&ee(e,i),e}(new Ve(qe(n)),r,Xe):qe(n)},Ge=t?Be(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ke=0;Ge.length>Ke;Ke++)C(Ve,Ye=Ge[Ke])&&!C(Xe,Ye)&&Fe(Xe,Ye,Ie(Ve,Ye));Xe.prototype=Ue,Ue.constructor=Xe,J(a,"Number",Xe)}var Je=function(e,t,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);var u,f="function"==typeof n?n.options:n;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),r&&(f._scopeId=r),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=u):t&&(u=a?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(f.functional){var d=f.render;f.render=function(e,t){return u.call(t),d(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return n},Qe=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 50 50","xml:space":"preserve"}},[t("path",{attrs:{fill:this.color,d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),Ze=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 40 40","enable-background":"new 0 0 40 40","xml:space":"preserve"}},[t("path",{attrs:{opacity:"0.2",fill:this.color,d:"M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946\n s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634\n c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"}}),this._v(" "),t("path",{attrs:{fill:this.color,d:"M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0\n C22.32,8.481,24.301,9.057,26.013,10.047z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 20 20",to:"360 20 20",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"ring",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),et=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 50 50","xml:space":"preserve"}},[t("path",{attrs:{fill:this.color,d:"M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"mini-spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),tt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"10",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"20",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"line-wave",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),nt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"10",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"20",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"line-scale",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),rt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 24","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"10",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"20",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"line-down",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),it=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"7",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"14",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"bar-fade",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),ot=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"8",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"16",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"bar-fade-scale",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),at={f:Object.getOwnPropertySymbols},st=_e("Reflect","ownKeys")||function(e){var t=Ee.f(b(e)),n=at.f;return n?t.concat(n(e)):t},lt=function(e,t){for(var n=st(t),r=x.f,i=De.f,o=0;o<n.length;o++){var a=n[o];C(e,a)||r(e,a,i(t,a))}},ct=De.f;function ut(e,t){return RegExp(e,t)}var ft,dt,pt={UNSUPPORTED_Y:e((function(){var e=ut("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:e((function(){var e=ut("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},ht=RegExp.prototype.exec,mt=String.prototype.replace,vt=ht,gt=(ft=/a/,dt=/b*/g,ht.call(ft,"a"),ht.call(dt,"a"),0!==ft.lastIndex||0!==dt.lastIndex),yt=pt.UNSUPPORTED_Y||pt.BROKEN_CARET,bt=void 0!==/()??/.exec("")[1];(gt||bt||yt)&&(vt=function(e){var t,n,r,i,o=this,a=yt&&o.sticky,s=function(){var e=b(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),bt&&(n=new RegExp("^"+l+"$(?!\\s)",s)),gt&&(t=o.lastIndex),r=ht.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:gt&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),bt&&r&&r.length>1&&mt.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var _t=vt;!function(e,t){var n,r,i,o,s,l=e.target,c=e.global,u=e.stat;if(n=c?a:u?a[l]||T(l,{}):(a[l]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(s=ct(n,r))&&s.value:n[r],!p(c?r:l+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;lt(o,i)}(e.sham||i&&i.sham)&&k(o,"sham",!0),J(n,r,o,e)}}({target:"RegExp",proto:!0,forced:/./.exec!==_t},{exec:_t});var wt=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())})),xt=wt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=N("wks"),kt=a.Symbol,Ot=xt?kt:kt&&kt.withoutSetter||B,Ct=function(e){return C(St,e)||(wt&&C(kt,e)?St[e]=kt[e]:St[e]=Ot("Symbol."+e)),St[e]},Tt=Ct("species"),Et=!e((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),At="$0"==="a".replace(/./,"$0"),Pt=Ct("replace"),Lt=!!/./[Pt]&&""===/./[Pt]("a","$0"),jt=!e((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Dt=function(e){return Object(re(e))},Rt=function(e){return function(t,n){var r,i,o=String(re(t)),a=se(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},zt={codeAt:Rt(!1),charAt:Rt(!0)}.charAt,Nt=function(e,t,n){return t+(n?zt(e,t).length:1)},$t=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==Z(e))throw TypeError("RegExp#exec called on incompatible receiver");return _t.call(e,t)},Mt=Math.max,Bt=Math.min,It=Math.floor,Ft=/\$([$&'`]|\d\d?|<[^>]*>)/g,Ht=/\$([$&'`]|\d\d?)/g;!function(t,n,r,i){var o=Ct(t),a=!e((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),s=a&&!e((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Tt]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!a||!s||"replace"===t&&(!Et||!At||Lt)||"split"===t&&!jt){var l=/./[o],c=r(o,""[t],(function(e,t,n,r,i){return t.exec===_t?a&&!i?{done:!0,value:l.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:At,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Lt}),u=c[0],f=c[1];J(String.prototype,t,u),J(RegExp.prototype,o,2==n?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}i&&k(RegExp.prototype[o],"sham",!0)}("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=re(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=b(e),u=String(this),f="function"==typeof r;f||(r=String(r));var d=c.global;if(d){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=$t(c,u);if(null===m)break;if(h.push(m),!d)break;""===String(m[0])&&(c.lastIndex=Nt(u,ce(c.lastIndex),p))}for(var v,g="",y=0,_=0;_<h.length;_++){m=h[_];for(var w=String(m[0]),x=Mt(Bt(se(m.index),u.length),0),S=[],k=1;k<m.length;k++)S.push(void 0===(v=m[k])?v:String(v));var O=m.groups;if(f){var C=[w].concat(S,x,u);void 0!==O&&C.push(O);var T=String(r.apply(void 0,C))}else T=s(w,u,x,S,O,r);x>=y&&(g+=u.slice(y,x)+T,y=x+w.length)}return g+u.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=Ht;return void 0!==o&&(o=Dt(o),c=Ft),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var f=It(u/10);return 0===f?t:f<=l?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var Vt={Spinner:Qe,Ring:Ze,MiniSpinner:et,LineWave:tt,LineScale:nt,LineDown:rt,BarFade:it,BarFadeScale:ot,Custom:Je({render:function(){var e=this.$createElement;return(this._self._c||e)("div",{domProps:{innerHTML:this._s(this.svgCode)}})},staticRenderFns:[]},void 0,{name:"spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"},svg:{type:String,default:'<svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="{size}" height="{size}" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><path fill="{color}" d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"><animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="{duration}" repeatCount="indefinite" /></path></svg>'}},computed:{svgCode:function(){return this.svg.replace(/{color}/g,this.color).replace(/{size}/g,this.size).replace(/{duration}/g,this.duration)}}},void 0,!1,void 0,void 0,void 0)},Ut={name:"cog",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.4s"}}},Wt="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()),qt=document.head||document.getElementsByTagName("head")[0],Yt={},Xt=function(e){return function(e,t){return function(e,t){var n=Wt?t.media||"default":e,r=Yt[n]||(Yt[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),qt.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var o=r.ids.size-1,a=document.createTextNode(i),s=r.element.childNodes;s[o]&&r.element.removeChild(s[o]),s.length?r.element.insertBefore(a,s[o]):r.element.appendChild(a)}}}(e,t)}},Gt={Cog:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:this.size,width:this.size,viewBox:"0 0 640 512"}},[t("path",{attrs:{fill:this.color,d:"M 493.14258 0.11328125 C 491.69414 0.11953125 490.22578 0.37539062 488.80078 0.90039062 C 477.10078 5.3003906 466.19922 11.6 456.69922 19.5 C 451.99922 23.3 450.90039 29.999219 453.90039 35.199219 L 462.09961 49.5 C 455.19961 57.5 449.79922 66.800391 446.19922 76.900391 L 429.69922 76.900391 C 423.69922 76.900391 418.5 81.300781 417.5 87.300781 C 415.4 99.800781 415.5 112.40039 417.5 124.40039 C 418.5 130.40039 423.69922 134.69922 429.69922 134.69922 L 446.19922 134.69922 C 449.79922 144.79922 455.19961 154.09961 462.09961 162.09961 L 453.90039 176.40039 C 450.90039 181.60039 452.09922 188.29961 456.69922 192.09961 C 466.19922 199.99961 477.00078 206.29922 488.80078 210.69922 C 494.50078 212.79922 500.90039 210.60078 503.90039 205.30078 L 512.09961 191 C 522.59961 192.9 533.40078 192.9 543.80078 191 L 552 205.30078 C 555 210.60078 561.39961 212.79922 567.09961 210.69922 C 578.79961 206.29922 589.69922 199.99961 599.19922 192.09961 C 603.89922 188.29961 605 181.60039 602 176.40039 L 593.80078 162.09961 C 600.70078 154.09961 606.09922 144.79922 609.69922 134.69922 L 626.19922 134.69922 C 632.19922 134.69922 637.40039 130.30078 638.40039 124.30078 C 640.50039 111.80078 640.40039 99.199219 638.40039 87.199219 C 637.40039 81.199219 632.19922 76.900391 626.19922 76.900391 L 609.69922 76.900391 C 606.09922 66.800391 600.70078 57.5 593.80078 49.5 L 602 35.199219 C 605 29.999219 603.79922 23.3 599.19922 19.5 C 589.69922 11.6 578.89961 5.3003906 567.09961 0.90039062 C 561.39961 -1.1996094 555 1.0007813 552 6.3007812 L 543.80078 20.599609 C 533.30078 18.699609 522.59961 18.699609 512.09961 20.599609 L 503.90039 6.3007812 C 501.65039 2.3257813 497.48789 0.09453125 493.14258 0.11328125 z M 527.45508 69.642578 C 536.05597 69.52626 545.37695 72.439453 554.40039 79.400391 C 584.00039 117.90039 540.09961 161.79922 501.59961 132.19922 C 478.93711 102.72266 499.35883 70.022549 527.45508 69.642578 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 528 108",to:"-360 528 108",dur:"1s",repeatCount:"indefinite"}})],1),this._v(" "),t("path",{attrs:{fill:this.color,d:"M 215.26172 30.363281 C 202.52422 30.400781 189.89961 31.499609 177.59961 33.599609 C 166.19961 35.599609 158 45.599609 158 57.099609 L 158 90.800781 C 137.7 97.900781 119.09961 108.8 103.09961 122.5 L 74 105.69922 C 63.9 99.899219 51.099219 102.1 43.699219 111 C 27.499219 130.4 10.4 152.60078 1.5 176.80078 C -2.6 187.70078 1.9 200.00078 12 205.80078 L 45.300781 222.69922 C 41.400781 243.69922 41.400781 265.19961 45.300781 286.09961 L 12 302.90039 C 1.9 308.80039 -2.5 321.1 1.5 332 C 10.4 356.1 27.499219 378.29922 43.699219 397.69922 C 51.099219 406.59922 64 408.8 74 403 L 103.09961 386.30078 C 119.09961 400.00078 137.7 410.8 158 418 L 158 451.59961 C 158 463.29961 166.5 473.19922 178 475.19922 C 203.5 479.59922 229.30039 479.39922 253.90039 475.19922 C 265.30039 473.19922 273.59961 463.19961 273.59961 451.59961 L 273.59961 418 C 293.89961 410.9 312.5 400.00078 328.5 386.30078 L 357.59961 403.09961 C 367.69961 408.89961 380.50039 406.70078 387.90039 397.80078 C 404.10039 378.40078 421.6 356.2 430.5 332 C 434.5 321 430.1 308.70039 420 302.90039 L 386.30078 286.09961 C 390.20078 265.09961 390.20078 243.59961 386.30078 222.59961 L 420 205.80078 C 430.1 199.90078 434 187.59922 430 176.69922 C 421.1 152.49922 404.10039 130.30039 387.90039 110.90039 C 380.50039 102.00039 367.59961 99.799609 357.59961 105.59961 L 328.5 122.40039 C 312.5 108.70039 293.89961 97.899219 273.59961 90.699219 L 273.59961 57.099609 C 273.59961 45.399609 265.09961 35.5 253.59961 33.5 C 240.84961 31.35 227.99922 30.325781 215.26172 30.363281 z M 216.90234 182.08203 C 273.12232 182.90426 314.02422 248.24609 268.69922 307.19922 C 191.69922 366.39922 103.8 278.5 163 201.5 C 181.04688 187.625 199.69215 181.83033 216.90234 182.08203 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 216 257",to:"360 216 257",dur:"3.8s",repeatCount:"indefinite"}})],1),this._v(" "),t("path",{attrs:{fill:this.color,d:"M 493.14258 299.01172 C 491.69414 299.01797 490.22578 299.27578 488.80078 299.80078 C 477.10078 304.20078 466.19922 310.50039 456.69922 318.40039 C 451.99922 322.20039 450.90039 328.89961 453.90039 334.09961 L 462.09961 348.40039 C 455.19961 356.40039 449.79922 365.70078 446.19922 375.80078 L 429.69922 375.80078 C 423.69922 375.80078 418.5 380.19922 417.5 386.19922 C 415.4 398.69922 415.5 411.30078 417.5 423.30078 C 418.5 429.30078 423.69922 433.59961 429.69922 433.59961 L 446.19922 433.59961 C 449.79922 443.69961 455.19961 453 462.09961 461 L 453.90039 475.30078 C 450.90039 480.50078 452.09922 487.2 456.69922 491 C 466.19922 498.9 477.00078 505.19961 488.80078 509.59961 C 494.50078 511.69961 500.90039 509.49922 503.90039 504.19922 L 512.09961 489.90039 C 522.59961 491.80039 533.40078 491.80039 543.80078 489.90039 L 552 504.19922 C 555 509.49922 561.39961 511.69961 567.09961 509.59961 C 578.79961 505.19961 589.69922 498.9 599.19922 491 C 603.89922 487.2 605 480.50078 602 475.30078 L 593.80078 461 C 600.70078 453 606.09922 443.69961 609.69922 433.59961 L 626.19922 433.59961 C 632.19922 433.59961 637.40039 429.19922 638.40039 423.19922 C 640.50039 410.69922 640.40039 398.09961 638.40039 386.09961 C 637.40039 380.09961 632.19922 375.80078 626.19922 375.80078 L 609.69922 375.80078 C 606.09922 365.70078 600.70078 356.40039 593.80078 348.40039 L 602 334.09961 C 605 328.89961 603.79922 322.20039 599.19922 318.40039 C 589.69922 310.50039 578.89961 304.20078 567.09961 299.80078 C 561.39961 297.70078 555 299.89922 552 305.19922 L 543.80078 319.5 C 533.30078 317.6 522.59961 317.6 512.09961 319.5 L 503.90039 305.19922 C 501.65039 301.22422 497.48789 298.99297 493.14258 299.01172 z M 527.45508 368.48438 C 536.05597 368.36273 545.37695 371.26172 554.40039 378.19922 C 584.00039 416.69922 540.09961 460.6 501.59961 431 C 478.93711 401.52344 499.35883 368.88175 527.45508 368.48438 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 528 406",to:"-360 528 406",dur:"1s",repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},(function(e){e&&e("data-v-26edad70_0",{source:"svg[data-v-26edad70]{margin-right:4px}",map:void 0,media:void 0})}),Ut,"data-v-26edad70",!1,void 0,Xt,void 0),Check:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{height:this.size,width:this.size,viewBox:"0 0 512 512"}},[t("path",{attrs:{fill:this.color,d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}})])},staticRenderFns:[]},(function(e){e&&e("data-v-6cebadfb_0",{source:"svg[data-v-6cebadfb]{margin-right:4px}",map:void 0,media:void 0})}),{name:"check",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.6s"}}},"data-v-6cebadfb",!1,void 0,Xt,void 0),Error:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{height:this.size,width:this.size,viewBox:"0 0 352 512"}},[t("path",{attrs:{fill:this.color,d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}})])},staticRenderFns:[]},(function(e){e&&e("data-v-5b9d6835_0",{source:"svg[data-v-5b9d6835]{margin-right:4px}",map:void 0,media:void 0})}),{name:"error",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.6s"}}},"data-v-5b9d6835",!1,void 0,Xt,void 0)},Kt=Object.freeze({});function Jt(e){return null==e}function Qt(e){return null!=e}function Zt(e){return!0===e}function en(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function tn(e){return null!==e&&"object"==typeof e}var nn=Object.prototype.toString;function rn(e){return"[object Object]"===nn.call(e)}function on(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function an(e){return Qt(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function sn(e){return null==e?"":Array.isArray(e)||rn(e)&&e.toString===nn?JSON.stringify(e,null,2):String(e)}function ln(e){var t=parseFloat(e);return isNaN(t)?e:t}function cn(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}cn("slot,component",!0);var un=cn("key,ref,slot,slot-scope,is");function fn(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var dn=Object.prototype.hasOwnProperty;function pn(e,t){return dn.call(e,t)}function hn(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var mn=/-(\w)/g,vn=hn((function(e){return e.replace(mn,(function(e,t){return t?t.toUpperCase():""}))})),gn=hn((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),yn=/\B([A-Z])/g,bn=hn((function(e){return e.replace(yn,"-$1").toLowerCase()})),_n=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function wn(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function xn(e,t){for(var n in t)e[n]=t[n];return e}function Sn(e){for(var t={},n=0;n<e.length;n++)e[n]&&xn(t,e[n]);return t}function kn(e,t,n){}var On=function(e,t,n){return!1},Cn=function(e){return e};function Tn(e,t){if(e===t)return!0;var n=tn(e),r=tn(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return Tn(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return Tn(e[n],t[n])}))}catch(e){return!1}}function En(e,t){for(var n=0;n<e.length;n++)if(Tn(e[n],t))return n;return-1}function An(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var Pn="data-server-rendered",Ln=["component","directive","filter"],jn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Dn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:On,isReservedAttr:On,isUnknownElement:On,getTagNamespace:kn,parsePlatformTagName:Cn,mustUseProp:On,async:!0,_lifecycleHooks:jn};function Rn(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var zn,Nn=new RegExp("[^"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+".$_\\d]"),$n="__proto__"in{},Mn="undefined"!=typeof window,Bn="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,In=Bn&&WXEnvironment.platform.toLowerCase(),Fn=Mn&&window.navigator.userAgent.toLowerCase(),Hn=Fn&&/msie|trident/.test(Fn),Vn=Fn&&Fn.indexOf("msie 9.0")>0,Un=Fn&&Fn.indexOf("edge/")>0,Wn=(Fn&&Fn.indexOf("android"),Fn&&/iphone|ipad|ipod|ios/.test(Fn)||"ios"===In),qn=(Fn&&/chrome\/\d+/.test(Fn),Fn&&/phantomjs/.test(Fn),Fn&&Fn.match(/firefox\/(\d+)/)),Yn={}.watch,Xn=!1;if(Mn)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){Xn=!0}}),window.addEventListener("test-passive",null,Gn)}catch(e){}var Kn=function(){return void 0===zn&&(zn=!Mn&&!Bn&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),zn},Jn=Mn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Qn(e){return"function"==typeof e&&/native code/.test(e.toString())}var Zn,er="undefined"!=typeof Symbol&&Qn(Symbol)&&"undefined"!=typeof Reflect&&Qn(Reflect.ownKeys);Zn="undefined"!=typeof Set&&Qn(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var tr=kn,nr=0,rr=function(){this.id=nr++,this.subs=[]};rr.prototype.addSub=function(e){this.subs.push(e)},rr.prototype.removeSub=function(e){fn(this.subs,e)},rr.prototype.depend=function(){rr.target&&rr.target.addDep(this)},rr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},rr.target=null;var ir=[];function or(e){ir.push(e),rr.target=e}function ar(){ir.pop(),rr.target=ir[ir.length-1]}var sr=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},lr={child:{configurable:!0}};lr.child.get=function(){return this.componentInstance},Object.defineProperties(sr.prototype,lr);var cr=function(e){void 0===e&&(e="");var t=new sr;return t.text=e,t.isComment=!0,t};function ur(e){return new sr(void 0,void 0,void 0,String(e))}function fr(e){var t=new sr(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var dr=Array.prototype,pr=Object.create(dr);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=dr[e];Rn(pr,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var hr=Object.getOwnPropertyNames(pr),mr=!0;function vr(e){mr=e}var gr=function(e){var t;this.value=e,this.dep=new rr,this.vmCount=0,Rn(e,"__ob__",this),Array.isArray(e)?($n?(t=pr,e.__proto__=t):function(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];Rn(e,o,t[o])}}(e,pr,hr),this.observeArray(e)):this.walk(e)};function yr(e,t){var n;if(tn(e)&&!(e instanceof sr))return pn(e,"__ob__")&&e.__ob__ instanceof gr?n=e.__ob__:mr&&!Kn()&&(Array.isArray(e)||rn(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new gr(e)),t&&n&&n.vmCount++,n}function br(e,t,n,r,i){var o=new rr,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!i&&yr(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return rr.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!l||(l?l.call(e,t):n=t,c=!i&&yr(t),o.notify())}})}}function _r(e,t,n){if(Array.isArray(e)&&on(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(br(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function wr(e,t){if(Array.isArray(e)&&on(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||pn(e,t)&&(delete e[t],n&&n.dep.notify())}}gr.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)br(e,t[n])},gr.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)yr(e[t])};var xr=Dn.optionMergeStrategies;function Sr(e,t){if(!t)return e;for(var n,r,i,o=er?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],pn(e,n)?r!==i&&rn(r)&&rn(i)&&Sr(r,i):_r(e,n,i));return e}function kr(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Sr(r,i):i}:t?e?function(){return Sr("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Or(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Cr(e,t,n,r){var i=Object.create(e||null);return t?xn(i,t):i}xr.data=function(e,t,n){return n?kr(e,t,n):t&&"function"!=typeof t?e:kr(e,t)},jn.forEach((function(e){xr[e]=Or})),Ln.forEach((function(e){xr[e+"s"]=Cr})),xr.watch=function(e,t,n,r){if(e===Yn&&(e=void 0),t===Yn&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in xn(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},xr.props=xr.methods=xr.inject=xr.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return xn(i,e),t&&xn(i,t),i},xr.provide=kr;var Tr=function(e,t){return void 0===t?e:t};function Er(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[vn(i)]={type:null});else if(rn(n))for(var a in n)i=n[a],o[vn(a)]=rn(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(rn(n))for(var o in n){var a=n[o];r[o]=rn(a)?xn({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Er(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Er(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)pn(e,o)||s(o);function s(r){var i=xr[r]||Tr;a[r]=i(e[r],t[r],n,r)}return a}function Ar(e,t,n,r){if("string"==typeof n){var i=e[t];if(pn(i,n))return i[n];var o=vn(n);if(pn(i,o))return i[o];var a=gn(o);return pn(i,a)?i[a]:i[n]||i[o]||i[a]}}function Pr(e,t,n,r){var i=t[e],o=!pn(n,e),a=n[e],s=Dr(Boolean,i.type);if(s>-1)if(o&&!pn(i,"default"))a=!1;else if(""===a||a===bn(e)){var l=Dr(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(pn(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Lr(t.type)?r.call(e):r}}(r,i,e);var c=mr;vr(!0),yr(a),vr(c)}return a}function Lr(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function jr(e,t){return Lr(e)===Lr(t)}function Dr(e,t){if(!Array.isArray(t))return jr(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(jr(t[n],e))return n;return-1}function Rr(e,t,n){or();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Nr(e,r,"errorCaptured hook")}}Nr(e,t,n)}finally{ar()}}function zr(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&an(o)&&!o._handled&&(o.catch((function(e){return Rr(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(e){Rr(e,r,i)}return o}function Nr(e,t,n){if(Dn.errorHandler)try{return Dn.errorHandler.call(null,e,t,n)}catch(t){t!==e&&$r(t,null,"config.errorHandler")}$r(e,t,n)}function $r(e,t,n){if(!Mn&&!Bn||"undefined"==typeof console)throw e;console.error(e)}var Mr,Br=!1,Ir=[],Fr=!1;function Hr(){Fr=!1;var e=Ir.slice(0);Ir.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&Qn(Promise)){var Vr=Promise.resolve();Mr=function(){Vr.then(Hr),Wn&&setTimeout(kn)},Br=!0}else if(Hn||"undefined"==typeof MutationObserver||!Qn(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Mr="undefined"!=typeof setImmediate&&Qn(setImmediate)?function(){setImmediate(Hr)}:function(){setTimeout(Hr,0)};else{var Ur=1,Wr=new MutationObserver(Hr),qr=document.createTextNode(String(Ur));Wr.observe(qr,{characterData:!0}),Mr=function(){Ur=(Ur+1)%2,qr.data=String(Ur)},Br=!0}function Yr(e,t){var n;if(Ir.push((function(){if(e)try{e.call(t)}catch(e){Rr(e,t,"nextTick")}else n&&n(t)})),Fr||(Fr=!0,Mr()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var Xr=new Zn;function Gr(e){!function e(t,n){var r,i,o=Array.isArray(t);if(!(!o&&!tn(t)||Object.isFrozen(t)||t instanceof sr)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}}(e,Xr),Xr.clear()}var Kr=hn((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Jr(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return zr(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)zr(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function Qr(e,t,n,r,i,o){var a,s,l,c;for(a in e)s=e[a],l=t[a],c=Kr(a),Jt(s)||(Jt(l)?(Jt(s.fns)&&(s=e[a]=Jr(s,o)),Zt(c.once)&&(s=e[a]=i(c.name,s,c.capture)),n(c.name,s,c.capture,c.passive,c.params)):s!==l&&(l.fns=s,e[a]=l));for(a in t)Jt(e[a])&&r((c=Kr(a)).name,t[a],c.capture)}function Zr(e,t,n){var r;e instanceof sr&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),fn(r.fns,o)}Jt(i)?r=Jr([o]):Qt(i.fns)&&Zt(i.merged)?(r=i).fns.push(o):r=Jr([i,o]),r.merged=!0,e[t]=r}function ei(e,t,n,r,i){if(Qt(t)){if(pn(t,n))return e[n]=t[n],i||delete t[n],!0;if(pn(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ti(e){return en(e)?[ur(e)]:Array.isArray(e)?function e(t,n){var r,i,o,a,s=[];for(r=0;r<t.length;r++)Jt(i=t[r])||"boolean"==typeof i||(o=s.length-1,a=s[o],Array.isArray(i)?i.length>0&&(ni((i=e(i,(n||"")+"_"+r))[0])&&ni(a)&&(s[o]=ur(a.text+i[0].text),i.shift()),s.push.apply(s,i)):en(i)?ni(a)?s[o]=ur(a.text+i):""!==i&&s.push(ur(i)):ni(i)&&ni(a)?s[o]=ur(a.text+i.text):(Zt(t._isVList)&&Qt(i.tag)&&Jt(i.key)&&Qt(n)&&(i.key="__vlist"+n+"_"+r+"__"),s.push(i)));return s}(e):void 0}function ni(e){return Qt(e)&&Qt(e.text)&&!1===e.isComment}function ri(e,t){if(e){for(var n=Object.create(null),r=er?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&pn(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}}return n}}function ii(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(oi)&&delete n[c];return n}function oi(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ai(e,t,n){var r,i=Object.keys(t).length>0,o=e?!!e.$stable:!i,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==Kt&&a===n.$key&&!i&&!n.$hasNormal)return n;for(var s in r={},e)e[s]&&"$"!==s[0]&&(r[s]=si(t,s,e[s]))}else r={};for(var l in t)l in r||(r[l]=li(t,l));return e&&Object.isExtensible(e)&&(e._normalized=r),Rn(r,"$stable",o),Rn(r,"$key",a),Rn(r,"$hasNormal",i),r}function si(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ti(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function li(e,t){return function(){return e[t]}}function ci(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(tn(e))if(er&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),l=s.next();!l.done;)n.push(t(l.value,n.length)),l=s.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return Qt(n)||(n=[]),n._isVList=!0,n}function ui(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=xn(xn({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function fi(e){return Ar(this.$options,"filters",e)||Cn}function di(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function pi(e,t,n,r,i){var o=Dn.keyCodes[t]||n;return i&&r&&!Dn.keyCodes[t]?di(i,r):o?di(o,e):r?bn(r)!==t:void 0}function hi(e,t,n,r,i){if(n&&tn(n)){var o;Array.isArray(n)&&(n=Sn(n));var a=function(a){if("class"===a||"style"===a||un(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||Dn.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=vn(a),c=bn(a);l in o||c in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function mi(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||gi(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function vi(e,t,n){return gi(e,"__once__"+t+(n?"_"+n:""),!0),e}function gi(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&yi(e[r],t+"_"+r,n);else yi(e,t,n)}function yi(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function bi(e,t){if(t&&rn(t)){var n=e.on=e.on?xn({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}return e}function _i(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?_i(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function wi(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function xi(e,t){return"string"==typeof e?t+e:e}function Si(e){e._o=vi,e._n=ln,e._s=sn,e._l=ci,e._t=ui,e._q=Tn,e._i=En,e._m=mi,e._f=fi,e._k=pi,e._b=hi,e._v=ur,e._e=cr,e._u=_i,e._g=bi,e._d=wi,e._p=xi}function ki(e,t,n,r,i){var o,a=this,s=i.options;pn(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);var l=Zt(s._compiled),c=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||Kt,this.injections=ri(s.inject,r),this.slots=function(){return a.$slots||ai(e.scopedSlots,a.$slots=ii(n,r)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ai(e.scopedSlots,this.slots())}}),l&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=ai(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,i){var a=Di(o,e,t,n,i,c);return a&&!Array.isArray(a)&&(a.fnScopeId=s._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,r){return Di(o,e,t,n,r,c)}}function Oi(e,t,n,r,i){var o=fr(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Ci(e,t){for(var n in t)e[vn(n)]=t[n]}Si(ki.prototype);var Ti={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ti.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return Qt(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,Vi)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var o=r.data.scopedSlots,a=e.$scopedSlots,s=!!(o&&!o.$stable||a!==Kt&&!a.$stable||o&&e.$scopedSlots.$key!==o.$key),l=!!(i||e.$options._renderChildren||s);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||Kt,e.$listeners=n||Kt,t&&e.$options.props){vr(!1);for(var c=e._props,u=e.$options._propKeys||[],f=0;f<u.length;f++){var d=u[f],p=e.$options.props;c[d]=Pr(d,p,t,e)}vr(!0),e.$options.propsData=t}n=n||Kt;var h=e.$options._parentListeners;e.$options._parentListeners=n,Hi(e,n,h),l&&(e.$slots=ii(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Yi(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Gi.push(t)):qi(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if((!n||(t._directInactive=!0,!Wi(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Yi(t,"deactivated")}}(t,!0):t.$destroy())}},Ei=Object.keys(Ti);function Ai(e,t,n,r,i){if(!Jt(e)){var o=n.$options._base;if(tn(e)&&(e=o.extend(e)),"function"==typeof e){var a;if(Jt(e.cid)&&void 0===(e=function(e,t){if(Zt(e.error)&&Qt(e.errorComp))return e.errorComp;if(Qt(e.resolved))return e.resolved;var n=zi;if(n&&Qt(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),Zt(e.loading)&&Qt(e.loadingComp))return e.loadingComp;if(n&&!Qt(e.owners)){var r=e.owners=[n],i=!0,o=null,a=null;n.$on("hook:destroyed",(function(){return fn(r,n)}));var s=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==o&&(clearTimeout(o),o=null),null!==a&&(clearTimeout(a),a=null))},l=An((function(n){e.resolved=Ni(n,t),i?r.length=0:s(!0)})),c=An((function(t){Qt(e.errorComp)&&(e.error=!0,s(!0))})),u=e(l,c);return tn(u)&&(an(u)?Jt(e.resolved)&&u.then(l,c):an(u.component)&&(u.component.then(l,c),Qt(u.error)&&(e.errorComp=Ni(u.error,t)),Qt(u.loading)&&(e.loadingComp=Ni(u.loading,t),0===u.delay?e.loading=!0:o=setTimeout((function(){o=null,Jt(e.resolved)&&Jt(e.error)&&(e.loading=!0,s(!1))}),u.delay||200)),Qt(u.timeout)&&(a=setTimeout((function(){a=null,Jt(e.resolved)&&c(null)}),u.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(a=e,o)))return function(e,t,n,r,i){var o=cr();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(a,t,n,r,i);t=t||{},vo(e),Qt(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],a=t.model.callback;Qt(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(e.options,t);var s=function(e,t,n){var r=t.options.props;if(!Jt(r)){var i={},o=e.attrs,a=e.props;if(Qt(o)||Qt(a))for(var s in r){var l=bn(s);ei(i,a,s,l,!0)||ei(i,o,s,l,!1)}return i}}(t,e);if(Zt(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},s=o.props;if(Qt(s))for(var l in s)a[l]=Pr(l,s,t||Kt);else Qt(n.attrs)&&Ci(a,n.attrs),Qt(n.props)&&Ci(a,n.props);var c=new ki(n,a,i,r,e),u=o.render.call(null,c._c,c);if(u instanceof sr)return Oi(u,n,c.parent,o);if(Array.isArray(u)){for(var f=ti(u)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=Oi(f[p],n,c.parent,o);return d}}(e,s,t,n,r);var l=t.on;if(t.on=t.nativeOn,Zt(e.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Ei.length;n++){var r=Ei[n],i=t[r],o=Ti[r];i===o||i&&i._merged||(t[r]=i?Pi(o,i):o)}}(t);var u=e.options.name||i;return new sr("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:l,tag:i,children:r},a)}}}function Pi(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var Li=1,ji=2;function Di(e,t,n,r,i,o){return(Array.isArray(n)||en(n))&&(i=r,r=n,n=void 0),Zt(o)&&(i=ji),function(e,t,n,r,i){if(Qt(n)&&Qt(n.__ob__))return cr();if(Qt(n)&&Qt(n.is)&&(t=n.is),!t)return cr();var o,a,s;(Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),i===ji?r=ti(r):i===Li&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t)?(a=e.$vnode&&e.$vnode.ns||Dn.getTagNamespace(t),o=Dn.isReservedTag(t)?new sr(Dn.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!Qt(s=Ar(e.$options,"components",t))?new sr(t,n,r,void 0,void 0,e):Ai(s,n,e,r,t)):o=Ai(t,n,e,r);return Array.isArray(o)?o:Qt(o)?(Qt(a)&&function e(t,n,r){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,r=!0),Qt(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];Qt(a.tag)&&(Jt(a.ns)||Zt(r)&&"svg"!==a.tag)&&e(a,n,r)}}(o,a),Qt(n)&&function(e){tn(e.style)&&Gr(e.style),tn(e.class)&&Gr(e.class)}(n),o):cr()}(e,t,n,r,i)}var Ri,zi=null;function Ni(e,t){return(e.__esModule||er&&"Module"===e[Symbol.toStringTag])&&(e=e.default),tn(e)?t.extend(e):e}function $i(e){return e.isComment&&e.asyncFactory}function Mi(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(Qt(n)&&(Qt(n.componentOptions)||$i(n)))return n}}function Bi(e,t){Ri.$on(e,t)}function Ii(e,t){Ri.$off(e,t)}function Fi(e,t){var n=Ri;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Hi(e,t,n){Ri=e,Qr(t,n||{},Bi,Ii,Fi,e),Ri=void 0}var Vi=null;function Ui(e){var t=Vi;return Vi=e,function(){Vi=t}}function Wi(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function qi(e,t){if(t){if(e._directInactive=!1,Wi(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)qi(e.$children[n]);Yi(e,"activated")}}function Yi(e,t){or();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)zr(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ar()}var Xi=[],Gi=[],Ki={},Ji=!1,Qi=!1,Zi=0,eo=0,to=Date.now;if(Mn&&!Hn){var no=window.performance;no&&"function"==typeof no.now&&to()>document.createEvent("Event").timeStamp&&(to=function(){return no.now()})}function ro(){var e,t;for(eo=to(),Qi=!0,Xi.sort((function(e,t){return e.id-t.id})),Zi=0;Zi<Xi.length;Zi++)(e=Xi[Zi]).before&&e.before(),t=e.id,Ki[t]=null,e.run();var n=Gi.slice(),r=Xi.slice();Zi=Xi.length=Gi.length=0,Ki={},Ji=Qi=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,qi(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Yi(r,"updated")}}(r),Jn&&Dn.devtools&&Jn.emit("flush")}var io=0,oo=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++io,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Zn,this.newDepIds=new Zn,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!Nn.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=kn)),this.value=this.lazy?void 0:this.get()};oo.prototype.get=function(){var e;or(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Rr(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Gr(e),ar(),this.cleanupDeps()}return e},oo.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},oo.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},oo.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Ki[t]){if(Ki[t]=!0,Qi){for(var n=Xi.length-1;n>Zi&&Xi[n].id>e.id;)n--;Xi.splice(n+1,0,e)}else Xi.push(e);Ji||(Ji=!0,Yr(ro))}}(this)},oo.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||tn(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Rr(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},oo.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},oo.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},oo.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||fn(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ao={enumerable:!0,configurable:!0,get:kn,set:kn};function so(e,t,n){ao.get=function(){return this[t][n]},ao.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ao)}function lo(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&vr(!1);var o=function(o){i.push(o);var a=Pr(o,t,n,e);br(r,o,a),o in e||so(e,"_props",o)};for(var a in t)o(a);vr(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?kn:_n(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;rn(t=e._data="function"==typeof t?function(e,t){or();try{return e.call(t,t)}catch(e){return Rr(e,t,"data()"),{}}finally{ar()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),i=e.$options.props,o=(e.$options.methods,r.length);o--;){var a=r[o];i&&pn(i,a)||(n=void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&so(e,"_data",a))}yr(t,!0)}(e):yr(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Kn();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new oo(e,a||kn,kn,co)),i in e||uo(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Yn&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)ho(e,n,r[i]);else ho(e,n,r)}}(e,t.watch)}var co={lazy:!0};function uo(e,t,n){var r=!Kn();"function"==typeof n?(ao.get=r?fo(t):po(n),ao.set=kn):(ao.get=n.get?r&&!1!==n.cache?fo(t):po(n.get):kn,ao.set=n.set||kn),Object.defineProperty(e,t,ao)}function fo(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),rr.target&&t.depend(),t.value}}function po(e){return function(){return e.call(this,this)}}function ho(e,t,n,r){return rn(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var mo=0;function vo(e){var t=e.options;if(e.super){var n=vo(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&xn(e.extendOptions,r),(t=e.options=Er(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function go(e){this._init(e)}function yo(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Er(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)so(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)uo(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ln.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=xn({},a.options),i[r]=a,a}}function bo(e){return e&&(e.Ctor.options.name||e.tag)}function _o(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===nn.call(n)&&e.test(t));var n}function wo(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bo(a.componentOptions);s&&!t(s)&&xo(n,o,r,i)}}}function xo(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,fn(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=mo++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Er(vo(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Hi(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ii(t._renderChildren,r),e.$scopedSlots=Kt,e._c=function(t,n,r,i){return Di(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Di(e,t,n,r,i,!0)};var i=n&&n.data;br(e,"$attrs",i&&i.attrs||Kt,null,!0),br(e,"$listeners",t._parentListeners||Kt,null,!0)}(t),Yi(t,"beforeCreate"),function(e){var t=ri(e.$options.inject,e);t&&(vr(!1),Object.keys(t).forEach((function(n){br(e,n,t[n])})),vr(!0))}(t),lo(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Yi(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(go),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=_r,e.prototype.$delete=wr,e.prototype.$watch=function(e,t,n){if(rn(t))return ho(this,e,t,n);(n=n||{}).user=!0;var r=new oo(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Rr(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(go),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?wn(t):t;for(var n=wn(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;i<o;i++)zr(t[i],this,n,this,r)}return this}}(go),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Ui(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Yi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||fn(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Yi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(go),function(e){Si(e.prototype),e.prototype.$nextTick=function(e){return Yr(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=ai(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{zi=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){Rr(n,t,"render"),e=t._vnode}finally{zi=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof sr||(e=cr()),e.parent=i,e}}(go);var So=[String,RegExp,Array],ko={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:So,exclude:So,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)xo(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){wo(e,(function(e){return _o(t,e)}))})),this.$watch("exclude",(function(t){wo(e,(function(e){return!_o(t,e)}))}))},render:function(){var e=this.$slots.default,t=Mi(e),n=t&&t.componentOptions;if(n){var r=bo(n),i=this.include,o=this.exclude;if(i&&(!r||!_o(i,r))||o&&r&&_o(o,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,fn(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&xo(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return Dn}};Object.defineProperty(e,"config",t),e.util={warn:tr,extend:xn,mergeOptions:Er,defineReactive:br},e.set=_r,e.delete=wr,e.nextTick=Yr,e.observable=function(e){return yr(e),e},e.options=Object.create(null),Ln.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,xn(e.options.components,ko),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=wn(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Er(this.options,e),this}}(e),yo(e),function(e){Ln.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&rn(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(go),Object.defineProperty(go.prototype,"$isServer",{get:Kn}),Object.defineProperty(go.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(go,"FunctionalRenderContext",{value:ki}),go.version="2.6.12";var Oo=cn("style,class"),Co=cn("input,textarea,option,select,progress"),To=cn("contenteditable,draggable,spellcheck"),Eo=cn("events,caret,typing,plaintext-only"),Ao=function(e,t){return Ro(t)||"false"===t?"false":"contenteditable"===e&&Eo(t)?t:"true"},Po=cn("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"),Lo="http://www.w3.org/1999/xlink",jo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Do=function(e){return jo(e)?e.slice(6,e.length):""},Ro=function(e){return null==e||!1===e};function zo(e){for(var t=e.data,n=e,r=e;Qt(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=No(r.data,t));for(;Qt(n=n.parent);)n&&n.data&&(t=No(t,n.data));return function(e,t){return Qt(e)||Qt(t)?$o(e,Mo(t)):""}(t.staticClass,t.class)}function No(e,t){return{staticClass:$o(e.staticClass,t.staticClass),class:Qt(e.class)?[e.class,t.class]:t.class}}function $o(e,t){return e?t?e+" "+t:e:t||""}function Mo(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)Qt(t=Mo(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):tn(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Bo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Io=cn("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Fo=cn("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ho=function(e){return Io(e)||Fo(e)},Vo=Object.create(null),Uo=cn("text,number,password,search,email,tel,url"),Wo=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Bo[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),qo={create:function(e,t){Yo(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Yo(e,!0),Yo(t))},destroy:function(e){Yo(e,!0)}};function Yo(e,t){var n=e.data.ref;if(Qt(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?fn(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Xo=new sr("",{},[]),Go=["create","activate","update","remove","destroy"];function Ko(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&Qt(e.data)===Qt(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=Qt(n=e.data)&&Qt(n=n.attrs)&&n.type,i=Qt(n=t.data)&&Qt(n=n.attrs)&&n.type;return r===i||Uo(r)&&Uo(i)}(e,t)||Zt(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&Jt(t.asyncFactory.error))}function Jo(e,t,n){var r,i,o={};for(r=t;r<=n;++r)Qt(i=e[r].key)&&(o[i]=r);return o}var Qo={create:Zo,update:Zo,destroy:function(e){Zo(e,Xo)}};function Zo(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===Xo,a=t===Xo,s=ta(e.data.directives,e.context),l=ta(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,ra(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(ra(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n<c.length;n++)ra(c[n],"inserted",t,e)};o?Zr(t,"insert",f):f()}if(u.length&&Zr(t,"postpatch",(function(){for(var n=0;n<u.length;n++)ra(u[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||ra(s[n],"unbind",e,e,a)}(e,t)}var ea=Object.create(null);function ta(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=ea),i[na(r)]=r,r.def=Ar(t.$options,"directives",r.name);return i}function na(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ra(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){Rr(r,n.context,"directive "+e.name+" "+t+" hook")}}var ia=[qo,Qo];function oa(e,t){var n=t.componentOptions;if(!(Qt(n)&&!1===n.Ctor.options.inheritAttrs||Jt(e.data.attrs)&&Jt(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in Qt(s.__ob__)&&(s=t.data.attrs=xn({},s)),s)i=s[r],a[r]!==i&&aa(o,r,i);for(r in(Hn||Un)&&s.value!==a.value&&aa(o,"value",s.value),a)Jt(s[r])&&(jo(r)?o.removeAttributeNS(Lo,Do(r)):To(r)||o.removeAttribute(r))}}function aa(e,t,n){e.tagName.indexOf("-")>-1?sa(e,t,n):Po(t)?Ro(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):To(t)?e.setAttribute(t,Ao(t,n)):jo(t)?Ro(n)?e.removeAttributeNS(Lo,Do(t)):e.setAttributeNS(Lo,t,n):sa(e,t,n)}function sa(e,t,n){if(Ro(n))e.removeAttribute(t);else{if(Hn&&!Vn&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var la={create:oa,update:oa};function ca(e,t){var n=t.elm,r=t.data,i=e.data;if(!(Jt(r.staticClass)&&Jt(r.class)&&(Jt(i)||Jt(i.staticClass)&&Jt(i.class)))){var o=zo(t),a=n._transitionClasses;Qt(a)&&(o=$o(o,Mo(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var ua,fa={create:ca,update:ca},da="__r",pa="__c";function ha(e,t,n){var r=ua;return function i(){null!==t.apply(null,arguments)&&ga(e,i,n,r)}}var ma=Br&&!(qn&&Number(qn[1])<=53);function va(e,t,n,r){if(ma){var i=eo,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}ua.addEventListener(e,t,Xn?{capture:n,passive:r}:n)}function ga(e,t,n,r){(r||ua).removeEventListener(e,t._wrapper||t,n)}function ya(e,t){if(!Jt(e.data.on)||!Jt(t.data.on)){var n=t.data.on||{},r=e.data.on||{};ua=t.elm,function(e){if(Qt(e[da])){var t=Hn?"change":"input";e[t]=[].concat(e[da],e[t]||[]),delete e[da]}Qt(e[pa])&&(e.change=[].concat(e[pa],e.change||[]),delete e[pa])}(n),Qr(n,r,va,ga,ha,t.context),ua=void 0}}var ba,_a={create:ya,update:ya};function wa(e,t){if(!Jt(e.data.domProps)||!Jt(t.data.domProps)){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};for(n in Qt(a.__ob__)&&(a=t.data.domProps=xn({},a)),o)n in a||(i[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===o[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var s=Jt(r)?"":String(r);xa(i,s)&&(i.value=s)}else if("innerHTML"===n&&Fo(i.tagName)&&Jt(i.innerHTML)){(ba=ba||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=ba.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==o[n])try{i[n]=r}catch(e){}}}}function xa(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(Qt(r)){if(r.number)return ln(n)!==ln(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Sa={create:wa,update:wa},ka=hn((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Oa(e){var t=Ca(e.style);return e.staticStyle?xn(e.staticStyle,t):t}function Ca(e){return Array.isArray(e)?Sn(e):"string"==typeof e?ka(e):e}var Ta,Ea=/^--/,Aa=/\s*!important$/,Pa=function(e,t,n){if(Ea.test(t))e.style.setProperty(t,n);else if(Aa.test(n))e.style.setProperty(bn(t),n.replace(Aa,""),"important");else{var r=ja(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},La=["Webkit","Moz","ms"],ja=hn((function(e){if(Ta=Ta||document.createElement("div").style,"filter"!==(e=vn(e))&&e in Ta)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<La.length;n++){var r=La[n]+t;if(r in Ta)return r}}));function Da(e,t){var n=t.data,r=e.data;if(!(Jt(n.staticStyle)&&Jt(n.style)&&Jt(r.staticStyle)&&Jt(r.style))){var i,o,a=t.elm,s=r.staticStyle,l=r.normalizedStyle||r.style||{},c=s||l,u=Ca(t.data.style)||{};t.data.normalizedStyle=Qt(u.__ob__)?xn({},u):u;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Oa(i.data))&&xn(r,n);(n=Oa(e.data))&&xn(r,n);for(var o=e;o=o.parent;)o.data&&(n=Oa(o.data))&&xn(r,n);return r}(t,!0);for(o in c)Jt(f[o])&&Pa(a,o,"");for(o in f)(i=f[o])!==c[o]&&Pa(a,o,null==i?"":i)}}var Ra={create:Da,update:Da},za=/\s+/;function Na(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(za).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $a(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(za).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Ma(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&xn(t,Ba(e.name||"v")),xn(t,e),t}return"string"==typeof e?Ba(e):void 0}}var Ba=hn((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ia=Mn&&!Vn,Fa="transition",Ha="animation",Va="transition",Ua="transitionend",Wa="animation",qa="animationend";Ia&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Va="WebkitTransition",Ua="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wa="WebkitAnimation",qa="webkitAnimationEnd"));var Ya=Mn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Xa(e){Ya((function(){Ya(e)}))}function Ga(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Na(e,t))}function Ka(e,t){e._transitionClasses&&fn(e._transitionClasses,t),$a(e,t)}function Ja(e,t,n){var r=Za(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Fa?Ua:qa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),e.addEventListener(s,u)}var Qa=/\b(transform|all)(,|$)/;function Za(e,t){var n,r=window.getComputedStyle(e),i=(r[Va+"Delay"]||"").split(", "),o=(r[Va+"Duration"]||"").split(", "),a=es(i,o),s=(r[Wa+"Delay"]||"").split(", "),l=(r[Wa+"Duration"]||"").split(", "),c=es(s,l),u=0,f=0;return t===Fa?a>0&&(n=Fa,u=a,f=o.length):t===Ha?c>0&&(n=Ha,u=c,f=l.length):f=(n=(u=Math.max(a,c))>0?a>c?Fa:Ha:null)?n===Fa?o.length:l.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Fa&&Qa.test(r[Va+"Property"])}}function es(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ts(t)+ts(e[n])})))}function ts(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ns(e,t){var n=e.elm;Qt(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ma(e.data.transition);if(!Jt(r)&&!Qt(n._enterCb)&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterToClass,l=r.enterActiveClass,c=r.appearClass,u=r.appearToClass,f=r.appearActiveClass,d=r.beforeEnter,p=r.enter,h=r.afterEnter,m=r.enterCancelled,v=r.beforeAppear,g=r.appear,y=r.afterAppear,b=r.appearCancelled,_=r.duration,w=Vi,x=Vi.$vnode;x&&x.parent;)w=x.context,x=x.parent;var S=!w._isMounted||!e.isRootInsert;if(!S||g||""===g){var k=S&&c?c:a,O=S&&f?f:l,C=S&&u?u:s,T=S&&v||d,E=S&&"function"==typeof g?g:p,A=S&&y||h,P=S&&b||m,L=ln(tn(_)?_.enter:_),j=!1!==i&&!Vn,D=os(E),R=n._enterCb=An((function(){j&&(Ka(n,C),Ka(n,O)),R.cancelled?(j&&Ka(n,k),P&&P(n)):A&&A(n),n._enterCb=null}));e.data.show||Zr(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,R)})),T&&T(n),j&&(Ga(n,k),Ga(n,O),Xa((function(){Ka(n,k),R.cancelled||(Ga(n,C),D||(is(L)?setTimeout(R,L):Ja(n,o,R)))}))),e.data.show&&(t&&t(),E&&E(n,R)),j||D||R()}}}function rs(e,t){var n=e.elm;Qt(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ma(e.data.transition);if(Jt(r)||1!==n.nodeType)return t();if(!Qt(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,l=r.leaveActiveClass,c=r.beforeLeave,u=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,h=r.duration,m=!1!==i&&!Vn,v=os(u),g=ln(tn(h)?h.leave:h),y=n._leaveCb=An((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m&&(Ka(n,s),Ka(n,l)),y.cancelled?(m&&Ka(n,a),d&&d(n)):(t(),f&&f(n)),n._leaveCb=null}));p?p(b):b()}function b(){y.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),m&&(Ga(n,a),Ga(n,l),Xa((function(){Ka(n,a),y.cancelled||(Ga(n,s),v||(is(g)?setTimeout(y,g):Ja(n,o,y)))}))),u&&u(n,y),m||v||y())}}function is(e){return"number"==typeof e&&!isNaN(e)}function os(e){if(Jt(e))return!1;var t=e.fns;return Qt(t)?os(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function as(e,t){!0!==t.data.show&&ns(t)}var ss=function(e){var t,n,r={},i=e.modules,o=e.nodeOps;for(t=0;t<Go.length;++t)for(r[Go[t]]=[],n=0;n<i.length;++n)Qt(i[n][Go[t]])&&r[Go[t]].push(i[n][Go[t]]);function a(e){var t=o.parentNode(e);Qt(t)&&o.removeChild(t,e)}function s(e,t,n,i,a,s,f){if(Qt(e.elm)&&Qt(s)&&(e=s[f]=fr(e)),e.isRootInsert=!a,!function(e,t,n,i){var o=e.data;if(Qt(o)){var a=Qt(e.componentInstance)&&o.keepAlive;if(Qt(o=o.hook)&&Qt(o=o.init)&&o(e,!1),Qt(e.componentInstance))return l(e,t),c(n,e.elm,i),Zt(a)&&function(e,t,n,i){for(var o,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,Qt(o=a.data)&&Qt(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Xo,a);t.push(a);break}c(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var h=e.data,m=e.children,v=e.tag;Qt(v)?(e.elm=e.ns?o.createElementNS(e.ns,v):o.createElement(v,e),p(e),u(e,m,t),Qt(h)&&d(e,t),c(n,e.elm,i)):Zt(e.isComment)?(e.elm=o.createComment(e.text),c(n,e.elm,i)):(e.elm=o.createTextNode(e.text),c(n,e.elm,i))}}function l(e,t){Qt(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,f(e)?(d(e,t),p(e)):(Yo(e),t.push(e))}function c(e,t,n){Qt(e)&&(Qt(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function u(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)s(t[r],n,e.elm,null,!0,t,r);else en(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function f(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return Qt(e.tag)}function d(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Xo,e);Qt(t=e.data.hook)&&(Qt(t.create)&&t.create(Xo,e),Qt(t.insert)&&n.push(e))}function p(e){var t;if(Qt(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)Qt(t=n.context)&&Qt(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;Qt(t=Vi)&&t!==e.context&&t!==e.fnContext&&Qt(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function h(e,t,n,r,i,o){for(;r<=i;++r)s(n[r],o,e,t,!1,n,r)}function m(e){var t,n,i=e.data;if(Qt(i))for(Qt(t=i.hook)&&Qt(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(Qt(t=e.children))for(n=0;n<e.children.length;++n)m(e.children[n])}function v(e,t,n){for(;t<=n;++t){var r=e[t];Qt(r)&&(Qt(r.tag)?(g(r),m(r)):a(r.elm))}}function g(e,t){if(Qt(t)||Qt(e.data)){var n,i=r.remove.length+1;for(Qt(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,i),Qt(n=e.componentInstance)&&Qt(n=n._vnode)&&Qt(n.data)&&g(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);Qt(n=e.data.hook)&&Qt(n=n.remove)?n(e,t):t()}else a(e.elm)}function y(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(Qt(o)&&Ko(e,o))return i}}function b(e,t,n,i,a,l){if(e!==t){Qt(t.elm)&&Qt(i)&&(t=i[a]=fr(t));var c=t.elm=e.elm;if(Zt(e.isAsyncPlaceholder))Qt(t.asyncFactory.resolved)?x(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(Zt(t.isStatic)&&Zt(e.isStatic)&&t.key===e.key&&(Zt(t.isCloned)||Zt(t.isOnce)))t.componentInstance=e.componentInstance;else{var u,d=t.data;Qt(d)&&Qt(u=d.hook)&&Qt(u=u.prepatch)&&u(e,t);var p=e.children,m=t.children;if(Qt(d)&&f(t)){for(u=0;u<r.update.length;++u)r.update[u](e,t);Qt(u=d.hook)&&Qt(u=u.update)&&u(e,t)}Jt(t.text)?Qt(p)&&Qt(m)?p!==m&&function(e,t,n,r,i){for(var a,l,c,u=0,f=0,d=t.length-1,p=t[0],m=t[d],g=n.length-1,_=n[0],w=n[g],x=!i;u<=d&&f<=g;)Jt(p)?p=t[++u]:Jt(m)?m=t[--d]:Ko(p,_)?(b(p,_,r,n,f),p=t[++u],_=n[++f]):Ko(m,w)?(b(m,w,r,n,g),m=t[--d],w=n[--g]):Ko(p,w)?(b(p,w,r,n,g),x&&o.insertBefore(e,p.elm,o.nextSibling(m.elm)),p=t[++u],w=n[--g]):Ko(m,_)?(b(m,_,r,n,f),x&&o.insertBefore(e,m.elm,p.elm),m=t[--d],_=n[++f]):(Jt(a)&&(a=Jo(t,u,d)),Jt(l=Qt(_.key)?a[_.key]:y(_,t,u,d))?s(_,r,e,p.elm,!1,n,f):Ko(c=t[l],_)?(b(c,_,r,n,f),t[l]=void 0,x&&o.insertBefore(e,c.elm,p.elm)):s(_,r,e,p.elm,!1,n,f),_=n[++f]);u>d?h(e,Jt(n[g+1])?null:n[g+1].elm,n,f,g,r):f>g&&v(t,u,d)}(c,p,m,n,l):Qt(m)?(Qt(e.text)&&o.setTextContent(c,""),h(c,null,m,0,m.length-1,n)):Qt(p)?v(p,0,p.length-1):Qt(e.text)&&o.setTextContent(c,""):e.text!==t.text&&o.setTextContent(c,t.text),Qt(d)&&Qt(u=d.hook)&&Qt(u=u.postpatch)&&u(e,t)}}}function _(e,t,n){if(Zt(n)&&Qt(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var w=cn("attrs,class,staticClass,staticStyle,key");function x(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,Zt(t.isComment)&&Qt(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(Qt(a)&&(Qt(i=a.hook)&&Qt(i=i.init)&&i(t,!0),Qt(i=t.componentInstance)))return l(t,n),!0;if(Qt(o)){if(Qt(s))if(e.hasChildNodes())if(Qt(i=a)&&Qt(i=i.domProps)&&Qt(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,f=e.firstChild,p=0;p<s.length;p++){if(!f||!x(f,s[p],n,r)){c=!1;break}f=f.nextSibling}if(!c||f)return!1}else u(t,s,n);if(Qt(a)){var h=!1;for(var m in a)if(!w(m)){h=!0,d(t,n);break}!h&&a.class&&Gr(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!Jt(t)){var a,l=!1,c=[];if(Jt(e))l=!0,s(t,c);else{var u=Qt(e.nodeType);if(!u&&Ko(e,t))b(e,t,c,null,null,i);else{if(u){if(1===e.nodeType&&e.hasAttribute(Pn)&&(e.removeAttribute(Pn),n=!0),Zt(n)&&x(e,t,c))return _(t,c,!0),e;a=e,e=new sr(o.tagName(a).toLowerCase(),{},[],void 0,a)}var d=e.elm,p=o.parentNode(d);if(s(t,c,d._leaveCb?null:p,o.nextSibling(d)),Qt(t.parent))for(var h=t.parent,g=f(t);h;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](h);if(h.elm=t.elm,g){for(var w=0;w<r.create.length;++w)r.create[w](Xo,h);var S=h.data.hook.insert;if(S.merged)for(var k=1;k<S.fns.length;k++)S.fns[k]()}else Yo(h);h=h.parent}Qt(p)?v([e],0,0):Qt(e.tag)&&m(e)}}return _(t,c,l),t.elm}Qt(e)&&m(e)}}({nodeOps:Wo,modules:[la,fa,_a,Sa,Ra,Mn?{create:as,activate:as,remove:function(e,t){!0!==e.data.show?rs(e,t):t()}}:{}].concat(ia)});Vn&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ms(e,"input")}));var ls={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Zr(n,"postpatch",(function(){ls.componentUpdated(e,t,n)})):cs(e,t,n.context),e._vOptions=[].map.call(e.options,ds)):("textarea"===n.tag||Uo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ps),e.addEventListener("compositionend",hs),e.addEventListener("change",hs),Vn&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){cs(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ds);i.some((function(e,t){return!Tn(e,r[t])}))&&(e.multiple?t.value.some((function(e){return fs(e,i)})):t.value!==t.oldValue&&fs(t.value,i))&&ms(e,"change")}}};function cs(e,t,n){us(e,t,n),(Hn||Un)&&setTimeout((function(){us(e,t,n)}),0)}function us(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=En(r,ds(a))>-1,a.selected!==o&&(a.selected=o);else if(Tn(ds(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function fs(e,t){return t.every((function(t){return!Tn(t,e)}))}function ds(e){return"_value"in e?e._value:e.value}function ps(e){e.target.composing=!0}function hs(e){e.target.composing&&(e.target.composing=!1,ms(e.target,"input"))}function ms(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function vs(e){return!e.componentInstance||e.data&&e.data.transition?e:vs(e.componentInstance._vnode)}var gs={model:ls,show:{bind:function(e,t,n){var r=t.value,i=(n=vs(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,ns(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=vs(n)).data&&n.data.transition?(n.data.show=!0,r?ns(n,(function(){e.style.display=e.__vOriginalDisplay})):rs(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},ys={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 bs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?bs(Mi(t.children)):e}function _s(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[vn(o)]=i[o];return t}function ws(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var xs=function(e){return e.tag||$i(e)},Ss=function(e){return"show"===e.name},ks={name:"transition",props:ys,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(xs)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=bs(i);if(!o)return i;if(this._leaving)return ws(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:en(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=_s(this),l=this._vnode,c=bs(l);if(o.data.directives&&o.data.directives.some(Ss)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!$i(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var u=c.data.transition=xn({},s);if("out-in"===r)return this._leaving=!0,Zr(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ws(e,i);if("in-out"===r){if($i(o))return l;var f,d=function(){f()};Zr(s,"afterEnter",d),Zr(s,"enterCancelled",d),Zr(u,"delayLeave",(function(e){f=e}))}}return i}}},Os=xn({tag:String,moveClass:String},ys);function Cs(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ts(e){e.data.newPos=e.elm.getBoundingClientRect()}function Es(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Os.mode;var As={Transition:ks,TransitionGroup:{props:Os,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Ui(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=_s(this),s=0;s<i.length;s++){var l=i[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(r){for(var c=[],u=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Cs),e.forEach(Ts),e.forEach(Es),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Ga(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ua,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ua,e),n._moveCb=null,Ka(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ia)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){$a(n,e)})),Na(n,t),n.style.display="none",this.$el.appendChild(n);var r=Za(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};go.config.mustUseProp=function(e,t,n){return"value"===n&&Co(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},go.config.isReservedTag=Ho,go.config.isReservedAttr=Oo,go.config.getTagNamespace=function(e){return Fo(e)?"svg":"math"===e?"math":void 0},go.config.isUnknownElement=function(e){if(!Mn)return!0;if(Ho(e))return!1;if(e=e.toLowerCase(),null!=Vo[e])return Vo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Vo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vo[e]=/HTMLUnknownElement/.test(t.toString())},xn(go.options.directives,gs),xn(go.options.components,As),go.prototype.__patch__=Mn?ss:kn,go.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=cr),Yi(e,"beforeMount"),r=function(){e._update(e._render(),n)},new oo(e,r,kn,{before:function(){e._isMounted&&!e._isDestroyed&&Yi(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yi(e,"mounted")),e}(this,e=e&&Mn?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},Mn&&setTimeout((function(){Dn.devtools&&Jn&&Jn.emit("init",go)}),0);var Ps=i((function(e,t){e.exports=function(e){e=e&&e.hasOwnProperty("default")?e.default:e;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};function s(){if(c())return!1;var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}var l=function(){if(c())return!1;var e=navigator.userAgent;return!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},c=function(){return e.prototype.$isServer},u=function(){function e(){n(this,e)}return r(e,[{key:"getEventObject",value:function(e){return this.touchObject?this.isTouch?e.touches:[e]:null}},{key:"getTouchObject",value:function(){if(c())return null;this.isTouch=!1;var e=navigator.userAgent,t=navigator.platform,n={};switch(n.touch=!!("ontouchstart"in window&&!window.opera||"msmaxtouchpoints"in window.navigator||"maxtouchpoints"in window.navigator||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),n.nonDeskTouch=n.touch&&!/win32/i.test(t)||n.touch&&/win32/i.test(t)&&/mobile/i.test(e),n.eventType="onmousedown"in window&&!n.nonDeskTouch?"mouse":"ontouchstart"in window?"touch":"msmaxtouchpoints"in window.navigator||navigator.msMaxTouchPoints>0?"mstouchpoints":"maxtouchpoints"in window.navigator||navigator.maxTouchPoints>0?"touchpoints":"mouse",n.eventType){case"mouse":n.touchstart="mousedown",n.touchend="mouseup",n.touchmove="mousemove",n.touchenter="mouseenter",n.touchmove="mousemove",n.touchleave="mouseleave";break;case"touch":n.touchstart="touchstart",n.touchend="touchend",n.touchmove="touchmove",n.touchcancel="touchcancel",n.touchenter="touchstart",n.touchmove="touchmove",n.touchleave="touchend",this.isTouch=!0;break;case"mstouchpoints":n.touchstart="MSPointerDown",n.touchend="MSPointerUp",n.touchmove="MSPointerMove",n.touchcancel="MSPointerCancel",n.touchenter="MSPointerDown",n.touchmove="MSPointerMove",n.touchleave="MSPointerUp";break;case"touchpoints":n.touchstart="pointerdown",n.touchend="pointerup",n.touchmove="pointermove",n.touchcancel="pointercancel",n.touchenter="pointerdown",n.touchmove="pointermove",n.touchleave="pointerup"}return this.touchObject=n}}]),e}();function f(e,n,r){if(r&&O(n))return e;if(S(e))n=[],e.forEach((function(e,t){n[t]=f(e,n[t])}));else if(e){if(!k(e))return e;for(var i in n={},e)n[i]="object"===t(e[i])?f(e[i],n[i]):e[i]}return n}function d(e,n,r,i){if(i&&O(n))return e;if(n=n||{},S(e))!S(n)&&r&&(n=[]),S(n)&&e.forEach((function(e,t){n[t]=d(e,n[t],r,i)}));else if(e)if(k(e))for(var o in e)"object"===t(e[o])?O(n[o])?n[o]=f(e[o],n[o],i):d(e[o],n[o],r,i):(O(n[o])||r)&&(n[o]=e[o]);else r&&(n=e);return n}var p=void 0;function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"on";"on"==i?e.addEventListener(t,n,r):e.removeEventListener(t,n,r)}var m=function(e){console.error("[vuescroll] "+e)},v=function(e){console.warn("[vuescroll] "+e)};function g(e,t){var n=!1;if(!e||!t)return n;for(;e.parentNode!==t&&9!==e.parentNode.nodeType&&!e.parentNode._isVuescroll;)e=e.parentNode;return e.parentNode==t&&(n=!0),n}function y(e){var t,n=document.documentElement.style;e.opera&&"[object Opera]"===Object.prototype.toString.call(opera)?t="presto":"MozAppearance"in n?t="gecko":"WebkitAppearance"in n?t="webkit":"string"==typeof navigator.cpuClass&&(t="trident");var r={trident:"ms",gecko:"moz",webkit:"webkit",presto:"O"}[t];return r}function b(e,t){if(c())return!1;var n="-"+y(window)+"-"+t,r=document.createElement("div");return r.style[e]=n,r.style[e]==n&&n}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments[4];if(t&&t.length>1)return i?[].concat(a(n),a(t)):[].concat(a(t),a(n));var o=w(t=t[0]),s=o.ch,l=o.tag,c=o.isComponent;return c&&(t.data=d({attrs:t.componentOptions.propsData},t.data,!1,!0)),s=i?[].concat(a(n),a(s)):[].concat(a(s),a(n)),delete t.data.slot,e(l,d(r,t.data,!1,!0),s)}function w(e){if(!e||e.length>1)return{};var t=!!(e=e[0]?e[0]:e).componentOptions,n=void 0,r=void 0;return t?(n=e.componentOptions.children||[],r=e.componentOptions.tag):(n=e.children||[],r=e.tag),{isComponent:t,ch:n,tag:r}}function x(e){var t=e.$parent;return!t._isVuescrollRoot&&t&&(t=t.$parent),t}var S=function(e){return Array.isArray(e)},k=function(e){return"[object Object]"==Object.prototype.toString.call(e)},O=function(e){return void 0===e};function C(e,t){var n=void 0;return(n=/(-?\d+(?:\.\d+?)?)%$/.exec(e))?(n=n[1]-0,n=t*n/100):n=e-0,n}function T(e,t){if(!c()&&!document.getElementById(e)){var n=document.head||doc.getElementsByTagName("head")[0],r=document.createElement("style");r.id=e,r.type="text/css",r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t)),n.appendChild(r)}}var E={mounted:function(){A[this._uid]=this},beforeDestroy:function(){delete A[this._uid]},methods:{scrollTo:function(e,t,n){var r=e.x,i=e.y;!0!==t&&void 0!==t||(t=this.mergedOptions.scrollPanel.speed),this.internalScrollTo(r,i,t,n)},scrollBy:function(e,t,n){var r=e.dx,i=void 0===r?0:r,o=e.dy,a=void 0===o?0:o,s=this.getPosition(),l=s.scrollLeft,c=void 0===l?0:l,u=s.scrollTop,f=void 0===u?0:u;i&&(c+=C(i,this.scrollPanelElm.scrollWidth-this.$el.clientWidth)),a&&(f+=C(a,this.scrollPanelElm.scrollHeight-this.$el.clientHeight)),this.internalScrollTo(c,f,t,n)},scrollIntoView:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.$el;if("string"==typeof e&&(e=n.querySelector(e)),g(e,n)){var r=this.$el.getBoundingClientRect(),i=r.left,o=r.top,a=e.getBoundingClientRect(),s=a.left,l=a.top,c=i-s,u=o-l;this.scrollBy({dx:-c,dy:-u},t)}else v("The element or selector you passed is not the element of Vuescroll, please pass the element that is in Vuescroll to scrollIntoView API. ")},refresh:function(){this.refreshInternalStatus(),this.$nextTick(this.refreshInternalStatus)}}},A={},P={vuescroll:{sizeStrategy:"percent",detectResize:!0},scrollPanel:{initialScrollY:!1,initialScrollX:!1,scrollingX:!0,scrollingY:!0,speed:300,easing:void 0,verticalNativeBarPos:"right",maxHeight:void 0,maxWidth:void 0},rail:{background:"#01a99a",opacity:0,border:"none",size:"6px",specifyBorderRadius:!1,gutterOfEnds:null,gutterOfSide:"2px",keepShow:!1},bar:{showDelay:500,specifyBorderRadius:!1,onlyShowBarOnScroll:!0,keepShow:!1,background:"rgb(3, 185, 118)",opacity:1,size:"6px",minSize:0,disable:!1},scrollButton:{enable:!1,background:"rgb(3, 185, 118)",opacity:1,step:180,mousedownStep:30}},L=null,j=function(e,t){(e=[].concat(e)).forEach((function(e){d(e,P)})),L=t},D=["slide","native"],R=function(){},z=["mergedOptions.vuescroll.pullRefresh.tips","mergedOptions.vuescroll.pushLoad.tips","mergedOptions.vuescroll.scroller.disable","mergedOptions.rail","mergedOptions.bar"],N="refreshDom",$="loadDom",M={vertical:{size:"height",opsSize:"width",posName:"top",opposName:"bottom",sidePosName:"right",page:"pageY",scroll:"scrollTop",scrollSize:"scrollHeight",offset:"offsetHeight",client:"clientY",axis:"Y",scrollButton:{start:"top",end:"bottom"}},horizontal:{size:"width",opsSize:"height",posName:"left",opposName:"right",sidePosName:"bottom",page:"pageX",scroll:"scrollLeft",scrollSize:"scrollWidth",offset:"offsetWidth",client:"clientX",axis:"X",scrollButton:{start:"left",end:"right"}}};function B(e){var t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame,n=!!t;if(t&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(t.toString())&&(n=!1),n)return function(e,n){t(e,n)};var r={},i=1,o=null,a=+new Date;return function(e){var t=i++;return r[t]=e,null===o&&(o=setInterval((function(){var e=+new Date,t=r;for(var n in r={},t)t.hasOwnProperty(n)&&(t[n](e),a=e);e-a>2500&&(clearInterval(o),o=null)}),1e3/60)),t}}var I={},F=/rgb\(/,H=/rgb\((.*)\)/;function V(e,t){var n=e+"&"+t;if(I[n])return I[n];var r=document.createElement("div");r.style.background=e,document.body.appendChild(r);var i=window.getComputedStyle(r).backgroundColor;return document.body.removeChild(r),F.test(i)?I[n]="rgba("+H.exec(i)[1]+", "+t+")":e}var U={name:"bar",props:{ops:Object,state:Object,hideBar:Boolean,otherBarHide:Boolean,type:String},computed:{bar:function(){return M[this.type]},barSize:function(){return Math.max(this.state.size,this.ops.bar.minSize)},barRatio:function(){return(1-this.barSize)/(1-this.state.size)}},render:function(e){var t,n,r,o=this,a=V(o.ops.rail.background,o.ops.rail.opacity);this.touchManager||(this.touchManager=new u);var s,l=o.ops.rail.size,c=o.otherBarHide?0:l,f=o.touchManager.getTouchObject(),d={class:"__rail-is-"+o.type,style:(t={position:"absolute","z-index":"1",borderRadius:o.ops.rail.specifyBorderRadius||l,background:a,border:o.ops.rail.border},i(t,o.bar.opsSize,l),i(t,o.bar.posName,o.ops.rail.gutterOfEnds||0),i(t,o.bar.opposName,o.ops.rail.gutterOfEnds||c),i(t,o.bar.sidePosName,o.ops.rail.gutterOfSide),t)};f&&(d.on=(i(s={},f.touchenter,(function(){o.setRailHover()})),i(s,f.touchleave,(function(){o.setRailLeave()})),s));var p=o.ops.scrollButton.enable?l:0,h={class:"__bar-wrap-is-"+o.type,style:(n={position:"absolute",borderRadius:o.ops.rail.specifyBorderRadius||l},i(n,o.bar.posName,p),i(n,o.bar.opposName,p),n),on:{}},m=o.state.posValue*o.state.size,v=m*o.barRatio/o.barSize,g=o.state.opacity,y=x(this);y.setClassHook("vertical"==this.type?"vBarVisible":"hBarVisible",!!g);var b=(i(r={cursor:"pointer",position:"absolute",margin:"auto",transition:"opacity 0.5s","user-select":"none","border-radius":"inherit"},o.bar.size,100*o.barSize+"%"),i(r,"background",o.ops.bar.background),i(r,o.bar.opsSize,o.ops.bar.size),i(r,"opacity",g),i(r,"transform","translate"+M[o.type].axis+"("+v+"%)"),r),_={style:b,class:"__bar-is-"+o.type,ref:"thumb",on:{}};"vertical"==o.type?(h.style.width="100%",_.style.left=0,_.style.right=0):(h.style.height="100%",_.style.top=0,_.style.bottom=0);var w=this.touchManager.getTouchObject();return _.on[w.touchstart]=this.createBarEvent(),h.on[w.touchstart]=this.createTrackEvent(),e("div",d,[this.createScrollbarButton(e,"start"),this.hideBar?null:e("div",h,[e("div",_)]),this.createScrollbarButton(e,"end")])},data:function(){return{isBarDragging:!1}},methods:{setRailHover:function(){var e=x(this),t=e.vuescroll.state;t.isRailHover||(t.isRailHover=!0,e.showBar())},setRailLeave:function(){var e=x(this),t=e.vuescroll.state;t.isRailHover=!1,e.hideBar()},setBarDrag:function(e){this.$emit("setBarDrag",this.isBarDragging=e);var t=x(this);t.setClassHook("vertical"==this.type?"vBarDragging":"hBarDragging",!!e)},createBarEvent:function(){var e=this,t=x(e),n=e.touchManager.getTouchObject();function r(n){if(e.axisStartPos){var r=e.touchManager.getEventObject(n);if(r){r=r[0];var o=e.$refs.thumb.parentNode,a=r[e.bar.client]-o.getBoundingClientRect()[e.bar.posName],s=((a/=e.barRatio)-e.axisStartPos)/o[e.bar.offset];t.scrollTo(i({},e.bar.axis.toLowerCase(),t.scrollPanelElm[e.bar.scrollSize]*s),!1)}}}function o(){e.setBarDrag(!1),t.hideBar(),document.onselectstart=null,e.axisStartPos=0,h(document,n.touchmove,r,!1,"off"),h(document,n.touchend,o,!1,"off")}return function(t){var i=e.touchManager.getEventObject(t);i&&(t.stopImmediatePropagation(),t.preventDefault(),i=i[0],document.onselectstart=function(){return!1},e.axisStartPos=i[e.bar.client]-e.$refs.thumb.getBoundingClientRect()[e.bar.posName],e.setBarDrag(!0),h(document,n.touchmove,r),h(document,n.touchend,o))}},createTrackEvent:function(){var e=this;return function(t){var n=x(e),r=e.bar,o=r.client,a=r.offset,s=r.posName,l=r.axis,c=e.$refs.thumb;if(t.preventDefault(),t.stopImmediatePropagation(),c){var u=c[a],f=e.touchManager.getEventObject(t)[0],d=(f[o]-t.currentTarget.getBoundingClientRect()[s]-u/2)/(t.currentTarget[a]-u);n.scrollTo(i({},l.toLowerCase(),100*d+"%"))}}},createScrollbarButton:function(e,t){var n;if(!this.ops.scrollButton.enable)return null;var r=this.ops.rail.size,o=this.ops.scrollButton,a=o.opacity,s=o.background,l=V(s,a),c={class:["__bar-button","__bar-button-is-"+this.type+"-"+t],style:(n={},i(n,this.bar.scrollButton[t],0),i(n,"width",r),i(n,"height",r),i(n,"position","absolute"),i(n,"cursor","pointer"),i(n,"display","table"),n),ref:t},u={class:"__bar-button-inner",style:{border:"calc("+r+" / 2.5) solid transparent",width:"0",height:"0",margin:"auto",position:"absolute",top:"0",bottom:"0",right:"0",left:"0"},on:{}};"vertical"==this.type?"start"==t?(u.style["border-bottom-color"]=l,u.style.transform="translateY(-25%)"):(u.style["border-top-color"]=l,u.style.transform="translateY(25%)"):"start"==t?(u.style["border-right-color"]=l,u.style.transform="translateX(-25%)"):(u.style["border-left-color"]=l,u.style.transform="translateX(25%)");var f=this.touchManager.getTouchObject();return u.on[f.touchstart]=this.createScrollButtonEvent(t,f),e("div",c,[e("div",u)])},createScrollButtonEvent:function(e,t){var n=this,r=x(n),o=n.ops.scrollButton,a=o.step,s=o.mousedownStep,l="start"==e?-a:a,c="start"==e?-s:s,u=B(window),f=n.type,d=!1,p=!0,m=void 0;function v(){d&&!p&&(r.scrollBy(i({},"d"+n.bar.axis.toLowerCase(),c),!1),u(v,window))}function g(){if(clearTimeout(m),d=!1,h(document,t.touchend,g,!1,"off"),"mousedown"==t.touchstart){var i=n.$refs[e];h(i,"mouseenter",y,!1,"off"),h(i,"mouseleave",b,!1,"off")}r.setClassHook("cliking"+f+e+"Button",!1)}function y(){p=!1,v()}function b(){p=!0}return function(o){if(3!=o.which){if(r.setClassHook("cliking"+f+e+"Button",!0),o.stopImmediatePropagation(),o.preventDefault(),p=!1,r.scrollBy(i({},"d"+n.bar.axis.toLowerCase(),l)),h(document,t.touchend,g,!1),"mousedown"==t.touchstart){var a=n.$refs[e];h(a,"mouseenter",y,!1),h(a,"mouseleave",b,!1)}clearTimeout(m),m=setTimeout((function(){d=!0,u(v,window)}),500)}}}}};function W(e,t){var n=M[t].axis,r=t.charAt(0)+"Bar",i=!e.bar[r].state.size||!e.mergedOptions.scrollPanel["scrolling"+n]||e.refreshLoad&&"vertical"!==t||e.mergedOptions.bar.disable,o=e.mergedOptions.rail.keepShow;return i&&!o?null:{hideBar:i,props:{type:t,ops:{bar:e.mergedOptions.bar,rail:e.mergedOptions.rail,scrollButton:e.mergedOptions.scrollButton},state:e.bar[r].state,hideBar:i},on:{setBarDrag:e.setBarDrag},ref:t+"Bar",key:t}}var q=function(e){var t=e.render,n=e.components,r=e.mixins;return{name:"vueScroll",props:{ops:{type:Object}},components:n,mixins:[E].concat(a([].concat(r))),created:function(){var e=this,t=d(this.$vuescrollConfig||{},{}),n=d(P,t);this.$options.propsData.ops=this.$options.propsData.ops||{},Object.keys(this.$options.propsData.ops).forEach((function(t){!function(e,t,n,r){(n[t]||"function"==typeof n)&&(r=r||t,Object.defineProperty(e,t,{get:function(){return n[r]},configurable:!0}))}(e.mergedOptions,t,e.$options.propsData.ops)})),d(n,this.mergedOptions),this._isVuescrollRoot=!0,this.renderError=function(e){var t=!1,n=e.scrollPanel,r=e.bar,i=r.vBar,o=r.hBar,a=e.rail,s=a.vRail,l=a.hRail,c=n.initialScrollY,u=n.initialScrollX;return c&&!String(c).match(/^\d+(\.\d+)?(%)?$/)&&v("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."),u&&!String(u).match(/^\d+(\.\d+)?(%)?$/)&&v("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."),(i||o||s||l)&&v("The options: vRail, hRail, vBar, hBar have been deprecated since v4.7.0,please use corresponing rail/bar instead!"),L&&(L=[].concat(L)).forEach((function(n){n(e)&&(t=!0)})),t}(this.mergedOptions)},render:function(e){var n=this;if(n.renderError)return e("div",[[n.$slots.default]]);n.touchManager||(n.touchManager=new u);var r,s={style:{height:n.vuescroll.state.height,width:n.vuescroll.state.width,padding:0,position:"relative",overflow:"hidden"},class:o({__vuescroll:!0},n.classHooks)},l=n.touchManager.getTouchObject();l&&(s.on=(i(r={},l.touchenter,(function(){n.vuescroll.state.pointerLeave=!1,n.updateBarStateAndEmitEvent(),n.setClassHook("mouseEnter",!0)})),i(r,l.touchleave,(function(){n.vuescroll.state.pointerLeave=!0,n.hideBar(),n.setClassHook("mouseEnter",!1)})),i(r,l.touchmove,(function(){n.vuescroll.state.pointerLeave=!1,n.updateBarStateAndEmitEvent()})),r));var c=[t(e,n)].concat(a(function(e,t){var n=W(t,"vertical"),r=W(t,"horizontal");return t.setClassHook("hasVBar",!(!n||n.hideBar)),t.setClassHook("hasHBar",!(!r||r.hideBar)),[n?e("bar",o({},n,{props:o({otherBarHide:!r},n.props)})):null,r?e("bar",o({},r,{props:o({otherBarHide:!n},r.props)})):null]}(e,n))),f=this.$slots["scroll-container"];return f?_(e,f,c,s):e("div",s,[c])},mounted:function(){var e=this;this.renderError||(this.initVariables(),this.initWatchOpsChange(),this.refreshInternalStatus(),this.updatedCbs.push((function(){e.scrollToAnchor(),e.updateBarStateAndEmitEvent()})))},updated:function(){var e=this;this.updatedCbs.forEach((function(t){t.call(e)})),this.updatedCbs=[]},beforeDestroy:function(){this.destroy&&this.destroy()},computed:{scrollPanelElm:function(){return this.$refs.scrollPanel._isVue?this.$refs.scrollPanel.$el:this.$refs.scrollPanel}},data:function(){return{vuescroll:{state:{isDragging:!1,pointerLeave:!0,isRailHover:!1,height:"100%",width:"100%",currentSizeStrategy:"percent",currentScrollState:null,currentScrollInfo:null}},bar:{vBar:{state:{posValue:0,size:0,opacity:0}},hBar:{state:{posValue:0,size:0,opacity:0}}},mergedOptions:{vuescroll:{},scrollPanel:{},scrollContent:{},rail:{},bar:{}},updatedCbs:[],renderError:!1,classHooks:{hasVBar:!1,hasHBar:!1,vBarVisible:!1,hBarVisible:!1,vBarDragging:!1,hBarDragging:!1,clikingVerticalStartButton:!1,clikingVerticalEndButton:!1,clikingHorizontalStartButton:!1,clikingHorizontalEndButton:!1,mouseEnter:!1}}},methods:{scrollingComplete:function(){this.updateBarStateAndEmitEvent("handle-scroll-complete")},setBarDrag:function(e){this.vuescroll.state.isDragging=e},setClassHook:function(e,t){this.classHooks[e]=t},showAndDefferedHideBar:function(e){var t=this;this.showBar(),this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0),this.timeoutId=setTimeout((function(){t.timeoutId=0,t.hideBar(e)}),this.mergedOptions.bar.showDelay)},showBar:function(){var e=this.mergedOptions.bar.opacity;this.bar.vBar.state.opacity=e,this.bar.hBar.state.opacity=e},hideBar:function(e){var t=this.vuescroll.state,n=t.isDragging,r=t.isRailHover;n||r||(e&&!this.mergedOptions.bar.keepShow&&(this.bar.hBar.state.opacity=0,this.bar.vBar.state.opacity=0),this.mergedOptions.bar.keepShow||this.vuescroll.state.isDragging||(this.bar.vBar.state.opacity=0,this.bar.hBar.state.opacity=0))},useNumbericSize:function(){this.vuescroll.state.currentSizeStrategy="number";var e=this.mergedOptions.scrollPanel,t=e.maxHeight,n=e.maxWidth,r=this.$el.parentNode,i=r.clientHeight,o=r.clientWidth,a=this.scrollPanelElm,s=a.scrollHeight,l=a.scrollWidth,c=void 0,u=void 0;t||n?(u=s<=t?void 0:t,c=l<=n?void 0:n):(u=i,c=o),this.vuescroll.state.height=u?u+"px":void 0,this.vuescroll.state.width=c?c+"px":void 0},usePercentSize:function(){this.vuescroll.state.currentSizeStrategy="percent",this.vuescroll.state.height="100%",this.vuescroll.state.width="100%"},setVsSize:function(){var e=this.mergedOptions.vuescroll.sizeStrategy,t=this.mergedOptions.scrollPanel,n=t.maxHeight,r=t.maxWidth,i=this.scrollPanelElm,o=i.clientHeight,a=i.clientWidth;"number"==e||n&&o>n||r&&a>r?this.useNumbericSize():"percent"==e&&o!=n&&a!=r&&this.usePercentSize()},initWatchOpsChange:function(){var e=this,t={deep:!0,sync:!0};this.$watch("mergedOptions",(function(){setTimeout((function(){if(e.isSmallChangeThisTick)return e.isSmallChangeThisTick=!1,void e.updateBarStateAndEmitEvent("options-change");e.refreshInternalStatus()}),0)}),t),z.forEach((function(n){e.$watch(n,(function(){e.isSmallChangeThisTick=!0}),t)}))},scrollToAnchor:function(){var e=window.location.hash;if(e&&(!(e=e.slice(e.lastIndexOf("#")))||function(e){return/^#[a-zA-Z_]\d*$/.test(e)}(e))){var t=document.querySelector(e);!g(t,this.$el)||this.mergedOptions.scrollPanel.initialScrollY||this.mergedOptions.scrollPanel.initialScrollX||this.scrollIntoView(t)}}}}},Y={name:"scrollPanel",props:{ops:{type:Object,required:!0}},methods:{updateInitialScroll:function(){var e=0,t=0,n=x(this);this.ops.initialScrollX&&(e=this.ops.initialScrollX),this.ops.initialScrollY&&(t=this.ops.initialScrollY),(e||t)&&n.scrollTo({x:e,y:t})}},mounted:function(){var e=this;setTimeout((function(){e._isDestroyed||e.updateInitialScroll()}),0)},render:function(e){var t={class:["__panel"],style:{position:"relative",boxSizing:"border-box"}},n=x(this),r=n.$slots["scroll-panel"];return r?_(e,r,this.$slots.default,t):e("div",t,[[this.$slots.default]])}};function X(e,t){for(var n=e.children,r=[],i=function(e){var n=e.getBoundingClientRect(),r=n.left,i=n.top,o=n.width,a=n.height,s=t.getBoundingClientRect(),l=s.left,c=s.top,u=s.height,f=s.width;return r-l+o>0&&r-l<f&&i-c+a>0&&i-c<u},o=0;o<n.length;o++){var a=n.item(o);i(a)&&!a.isResizeElm&&r.push(a)}return r}function G(e,t){return function(n){return t(e,n)}}function K(e,t){var n=null;return"easeInQuad"===e&&(n=t*t),"easeOutQuad"===e&&(n=t*(2-t)),"easeInOutQuad"===e&&(n=t<.5?2*t*t:(4-2*t)*t-1),"easeInCubic"===e&&(n=t*t*t),"easeOutCubic"===e&&(n=--t*t*t+1),"easeInOutCubic"===e&&(n=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e&&(n=t*t*t*t),"easeOutQuart"===e&&(n=1- --t*t*t*t),"easeInOutQuart"===e&&(n=t<.5?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e&&(n=t*t*t*t*t),"easeOutQuint"===e&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e&&(n=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t),n||t}function J(){return!0}var Q=Date.now||function(){return(new Date).getTime()},Z=function(){function e(){n(this,e),this.init(),this.isRunning=!1}return r(e,[{key:"pause",value:function(){this.isRunning&&(this.isPaused=!0)}},{key:"stop",value:function(){this.isStopped=!0}},{key:"continue",value:function(){this.isPaused&&(this.isPaused=!1,this.ts=Q()-this.percent*this.spd,this.execScroll())}},{key:"startScroll",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:J,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:J,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:J,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:J,s=t-e,l=s>0?-1:1,c=Q();this.isRunning||this.init(),l!=this.dir||c-this.ts>200?(this.ts=c,this.dir=l,this.st=e,this.ed=t,this.df=s):this.df+=s,this.spd=n,this.completeCb=i,this.vertifyCb=o,this.stepCb=r,this.easingMethod=a,this.isRunning||this.execScroll()}},{key:"execScroll",value:function(){var e=this;if(this.df){var t=this.percent||0;this.percent=0,this.isRunning=!0,this.ref((function n(){if(e.isRunning&&e.vertifyCb(t)&&!e.isStopped){if(t=(Q()-e.ts)/e.spd,e.isPaused)return e.percent=t,void(e.isRunning=!1);if(t<1){var r=e.st+e.df*e.easingMethod(t);e.stepCb(r),e.ref(n)}else e.stepCb(e.st+e.df),e.completeCb(),e.isRunning=!1}else e.isRunning=!1}))}}},{key:"init",value:function(){this.st=0,this.ed=0,this.df=0,this.spd=0,this.ts=0,this.dir=0,this.ref=B(window),this.isPaused=!1,this.isStopped=!1}}]),e}();function ee(e){var t={ref:"scrollPanel",style:{height:"100%",overflowY:"scroll",overflowX:"scroll"},class:[],nativeOn:{"&scroll":e.handleScroll},props:{ops:e.mergedOptions.scrollPanel}};e.scrollYEnable=!0,e.scrollXEnable=!0,t.nativeOn.DOMMouseScroll=t.nativeOn.mousewheel=e.onMouseWheel;var n=e.mergedOptions.scrollPanel,r=n.scrollingY,i=n.scrollingX;e.bar.hBar.state.size&&i||(e.scrollXEnable=!1,t.style.overflowX="hidden"),e.bar.vBar.state.size&&r||(e.scrollYEnable=!1,t.style.overflowY="hidden");var o=function(){if(c())return 0;if(void 0!==p)return p;var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),p=t-r}();return o?(e.bar.vBar.state.size&&e.mergedOptions.scrollPanel.scrollingY&&("right"==e.mergedOptions.scrollPanel.verticalNativeBarPos?t.style.marginRight="-"+o+"px":t.style.marginLeft="-"+o+"px"),e.bar.hBar.state.size&&e.mergedOptions.scrollPanel.scrollingX&&(t.style.height="calc(100% + "+o+"px)")):(T("vuescroll-hide-ios-bar",".__hidebar::-webkit-scrollbar {\n width: 0;\n height: 0;\n }"),t.class.push("__hidebar"),l()&&(t.style["-webkit-overflow-scrolling"]="touch")),t.style.transformOrigin="",t.style.transform="",t}function te(e,t){var n={position:"relative","box-sizing":"border-box","min-width":"100%","min-height":"100%"},r={style:n,ref:"scrollContent",class:"__view"},i=t.$slots["scroll-content"];return t.mergedOptions.scrollPanel.scrollingX?n.width=b("width","fit-content"):r.style.width="100%",t.mergedOptions.scrollPanel.padding&&(r.style.paddingRight=t.mergedOptions.rail.size),i?_(e,i,t.$slots.default,r):e("div",r,[t.$slots.default])}function ne(e,t){var n=w(t.$slots["scroll-panel"]).ch||t.$slots.default,r=[];return n||(t.$slots.default=n=[]),t.mergedOptions.vuescroll.pullRefresh.enable&&r.push(e("div",{class:"__refresh",style:{visibility:t.refrehDomVisiable?"":"hidden"},ref:N,key:N},[re(e,t,"refresh",t.pullRefreshTip)])),r.push(n),t.mergedOptions.vuescroll.pushLoad.enable&&r.push(e("div",{ref:$,key:$,class:"__load",style:{visibility:t.loadDomVisiable?"":"hidden"}},[re(e,t,"load",t.pushLoadTip)])),r}function re(e,t,n,r){var i=t.vuescroll.state[n+"Stage"],o=null;if(o=t.$slots[n+"-"+i])return o;switch(i){case"deactive":case"active":var a="active";"deactive"==i&&(a+=" deactive"),o=e("svg",{class:a,attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1000 1000","enable-background":"new 0 0 1000 1000",xmlSpace:"preserve"}},[e("metadata",[" Svg Vector Icons : http://www.sfont.cn "]),e("g",[e("g",{attrs:{transform:"matrix(1 0 0 -1 0 1008)"}},[e("path",{attrs:{d:"M10,543l490,455l490-455L885,438L570,735.5V18H430v717.5L115,438L10,543z"}})])])]);break;case"start":o=e("svg",{attrs:{viewBox:"0 0 50 50"},class:"start"},[e("circle",{attrs:{stroke:"true",cx:"25",cy:"25",r:"20"},class:"bg-path"}),e("circle",{attrs:{cx:"25",cy:"25",r:"20"},class:"active-path"})]);break;case"beforeDeactive":o=e("svg",{attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3562"}},[e("path",{attrs:{d:"M512 0C229.706831 0 0 229.667446 0 512s229.667446 512 512 512c282.293169 0 512-229.667446 512-512S794.332554 0 512 0z m282.994215 353.406031L433.2544 715.145846a31.484062 31.484062 0 0 1-22.275938 9.231754h-0.4096a31.586462 31.586462 0 0 1-22.449231-9.814646L228.430769 546.327631a31.507692 31.507692 0 0 1 45.701908-43.386093l137.4208 144.785724L750.442338 308.854154a31.507692 31.507692 0 1 1 44.551877 44.551877z",fill:"","p-id":"3563"}})])}return[o,r]}function ie(e,t){var n=function(e){var t={ref:"scrollPanel",style:{"user-select":"none","-webkit-user-select":"none","min-width":"100%","min-height":"100%"},class:[],props:{ops:e.mergedOptions.scrollPanel}};t.class.push("__slide"),l()&&(t.style=i({},"-webkit-overflow-scrolling","touch")),"transform"==e.mergedOptions.vuescroll.renderMethod&&(t.style["transform-origin"]="left top 0px");var n=e.mergedOptions.scrollPanel,r=n.scrollingX,o=n.scrollingY,a=n.padding;if(r&&!e.refreshLoad){var s=b("width","fit-content");s?t.style.width=s:t.display="inline-block"}return r||t.class.push("x-hidden"),o||t.class.push("y-hidden"),a&&(t.style.paddingRight=e.mergedOptions.rail.size),t}(t);return e("scrollPanel",n,[ne(e,t)])}function oe(e,t){return function(e,t){if(!e.hasResized){var n="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",r=document.createElement("div");r.style.cssText=n;var i=document.createElement("object");return i.style.cssText=n,i.type="text/html",i.tabIndex=-1,i.onload=function(){h(i.contentDocument.defaultView,"resize",t)},s()||(i.data="about:blank"),r.isResizeElm=!0,r.appendChild(i),e.appendChild(r),s()&&(i.data="about:blank"),function(){i.contentDocument&&h(i.contentDocument.defaultView,"resize",t,"off"),e.removeChild(r),e.hasResized=!1}}}(e,t)}var ae={mixins:[{methods:{slideScrollTo:function(e,t,n,r){var i=this.getPosition(),o=i.scrollLeft,a=i.scrollTop;e=C(e||o,this.scroller.__maxScrollLeft),t=C(t||a,this.scroller.__maxScrollTop),this.scroller.scrollTo(e,t,n>0,void 0,!1,n,r)},zoomBy:function(e,t,n,r,i){this.scroller?this.scroller.zoomBy(e,t,n,r,i):v("zoomBy and zoomTo are only for slide mode!")},zoomTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],r=arguments[3],i=arguments[4];this.scroller?this.scroller.zoomTo(e,t,n,r,i):v("zoomBy and zoomTo are only for slide mode!")},getCurrentPage:function(){if(this.scroller&&this.mergedOptions.vuescroll.paging)return this.scroller.getCurrentPage();v("getCurrentPage and goToPage are only for slide mode and paging is enble!")},goToPage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.scroller&&this.mergedOptions.vuescroll.paging?this.scroller.goToPage(e,t):v("getCurrentPage and goToPage are only for slide mode and paging is enble!")},triggerRefreshOrLoad:function(e){if(this.scroller){var t=this.mergedOptions.vuescroll.pullRefresh.enable,n=this.mergedOptions.vuescroll.pushLoad.enable;if("refresh"!=e||t)if("load"!=e||n)if("refresh"===e||"load"===e){if("start"!=this.vuescroll.state[e+"Stage"])return this.scroller.triggerRefreshOrLoad(e),!0}else v("param must be one of load and refresh!");else v("load must be enabled and content's height > container's height!");else v("refresh must be enabled!")}else v("You can only use triggerRefreshOrLoad in slide mode!")},getCurrentviewDomSlide:function(){var e=this.scrollPanelElm,t=X(e,this.$el);return t}}},{mounted:function(){this.scrollX=new Z,this.scrollY=new Z},methods:{nativeStop:function(){this.scrollX.stop(),this.scrollY.stop()},nativePause:function(){this.scrollX.pause(),this.scrollY.pause()},nativeContinue:function(){this.scrollX.continue(),this.scrollY.continue()},nativeScrollTo:function(e,t,n,r){!1===n||void 0===n&&(n=this.mergedOptions.scrollPanel.speed);var i=this.scrollPanelElm,o=i.scrollTop,a=i.scrollLeft,s=i.scrollWidth,l=i.clientWidth,c=i.scrollHeight,u=i.clientHeight;if(e=void 0===e?a:C(e,s-l),t=void 0===t?o:C(t,c-u),n){var f=G(r=r||this.mergedOptions.scrollPanel.easing,K);e!=a&&this.scrollX.startScroll(a,e,n,(function(e){i.scrollLeft=e}),this.scrollingComplete.bind(this),void 0,f),t!=o&&this.scrollY.startScroll(o,t,n,(function(e){i.scrollTop=e}),this.scrollingComplete.bind(this),void 0,f)}else i.scrollTop=t,i.scrollLeft=e},getCurrentviewDomNative:function(){var e=this.scrollContentElm,t=X(e,this.$el);return t}}}],methods:{internalScrollTo:function(e,t,n,r){"native"==this.mode?this.nativeScrollTo(e,t,n,r):"slide"==this.mode&&this.slideScrollTo(e,t,n,r)},stop:function(){this.nativeStop()},pause:function(){this.nativePause()},continue:function(){this.nativeContinue()},getCurrentviewDom:function(){return"slide"==this.mode?this.getCurrentviewDomSlide():this.getCurrentviewDomNative()}}},se=Date.now||function(){return+new Date},le={},ce=1,ue={effect:{}},fe=null;fe="undefined"!=typeof window?window:{},ue.effect.Animate={requestAnimationFrame:B(fe),stop:function(e){var t=null!=le[e];return t&&(le[e]=null),t},isRunning:function(e){return null!=le[e]},start:function(e,t,n,r,i,o){var a=se(),s=a,l=0,c=0,u=ce++;if(o||(o=document.body),u%20==0){var f={};for(var d in le)f[d]=!0;le=f}return le[u]=!0,ue.effect.Animate.requestAnimationFrame((function f(d){var p=!0!==d,h=se();if(!le[u]||t&&!t(u))return le[u]=null,void(n&&n(60-c/((h-a)/1e3),u,!1));if(p)for(var m=Math.round((h-s)/(1e3/60))-1,v=0;v<Math.min(m,4);v++)f(!0),c++;if(le[u]){r&&(l=(h-a)/r)>1&&(l=1);var g=i?i(l):l;!1!==e(g,h,p)&&1!==l||!p?p&&(s=h,ue.effect.Animate.requestAnimationFrame(f,o)):(le[u]=null,n&&n(60-c/((h-a)/1e3),u,1===l||null==r))}}),o),u}};var de=null,pe=null;function he(e,t){for(var n in this.__callback=e,this.options={scrollingX:!0,scrollingY:!0,animating:!0,animationDuration:250,bouncing:{top:100,bottom:100,left:100,right:100},locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:R,animatingEasing:"easeOutCubic",noAnimatingEasing:"easeInOutCubic",penetrationDeceleration:.03,penetrationAcceleration:.08},t)this.options[n]=t[n];de=G(this.options.animatingEasing,K),pe=G(this.options.noAnimatingEasing,K)}var me={__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__loadHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshBeforeDeactivate:null,__refreshDeactivate:null,__refreshStart:null,__loadActive:null,__loadActivate:null,__loadBeforeDeactivate:null,__loadDeactivate:null,__loadStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__currentPageX:null,__currentPageY:null,__totalXPage:null,__totalYPage:null,__disable:!1,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,setDimensions:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e===+e&&(this.__clientWidth=e),t===+t&&(this.__clientHeight=t),n===+n&&(this.__contentWidth=n),r===+r&&(this.__contentHeight=r),this.__computeScrollMax(),o||this.scrollTo(this.__scrollLeft,this.__scrollTop,i)},setPosition:function(e,t){this.__clientLeft=e||0,this.__clientTop=t||0},setSnapSize:function(e,t){this.__snapWidth=e,this.__snapHeight=t},activatePullToRefresh:function(e,t){var n=t.activateCallback,r=t.deactivateCallback,i=t.startCallback,o=t.beforeDeactivateCallback,a=t.beforeDeactiveEnd;this.__refreshHeight=e,this.__refreshActivate=n,this.__refreshBeforeDeactivate=o,this.__refreshBeforeDeactiveEnd=a,this.__refreshDeactivate=r,this.__refreshStart=i},activatePushToLoad:function(e,t){var n=t.activateCallback,r=t.deactivateCallback,i=t.startCallback,o=t.beforeDeactivateCallback,a=t.beforeDeactiveEnd;this.__loadHeight=e,this.__loadActivate=n,this.__loadBeforeDeactivate=o,this.__loadBeforeDeactiveEnd=a,this.__loadDeactivate=r,this.__loadStart=i},triggerRefreshOrLoad:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"refresh",t=this.__isDecelerating;if(t&&(ue.effect.Animate.stop(t),this.__isDecelerating=!1),"refresh"==e){if(this.__refreshActive||this.__refreshBeforeDeactiveStarted)return;this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&(this.__refreshStart(),this.__refreshActive=!0)}else if("load"==e){if(this.__loadActive||this.__loadBeforeDeactiveStarted)return;this.__publish(this.__scrollLeft,this.__maxScrollTop+this.__loadHeight,this.__zoomLevel,!0),this.__loadStart&&(this.__loadStart(),this.__loadActive=!0)}},finishRefreshOrLoad:function(){var e=this;if(e.__refreshActive){e.__refreshActive=!1;var t=function(){e.__refreshBeforeDeactiveEnd&&e.__refreshBeforeDeactiveEnd(),e.__refreshBeforeDeactiveStarted=!0,e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)};e.__refreshBeforeDeactivate?e.__refreshBeforeDeactivate(t):t()}if(e.__loadActive){e.__loadActive=!1;var n=function(){e.__loadBeforeDeactiveEnd&&e.__loadBeforeDeactiveEnd(),e.__loadBeforeDeactiveStarted=!0,e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)};e.__loadBeforeDeactivate?e.__loadBeforeDeactivate(n):n()}},getValues:function(){return{left:this.__scrollLeft,top:this.__scrollTop,zoom:this.__zoomLevel}},getScrollMax:function(){return{left:this.__maxScrollLeft,top:this.__maxScrollTop}},zoomTo:function(e,t,n,r,i){if(!this.options.zooming)throw new Error("Zooming is not enabled!");i&&(this.__zoomComplete=i),this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1);var o=this.__zoomLevel;null==n&&(n=this.__clientWidth/2),null==r&&(r=this.__clientHeight/2),e=Math.max(Math.min(e,this.options.maxZoom),this.options.minZoom),this.__computeScrollMax(e);var a=(n+this.__scrollLeft)*e/o-n,s=(r+this.__scrollTop)*e/o-r;a>this.__maxScrollLeft?a=this.__maxScrollLeft:a<0&&(a=0),s>this.__maxScrollTop?s=this.__maxScrollTop:s<0&&(s=0),this.__publish(a,s,e,t)},zoomBy:function(e,t,n,r,i){this.zoomTo(this.__zoomLevel*e,t,n,r,i)},scrollTo:function(e,t,n,r,i,o,a){if(this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1),null!=r&&r!==this.__zoomLevel){if(!this.options.zooming)throw new Error("Zooming is not enabled!");e*=r,t*=r,this.__computeScrollMax(r)}else r=this.__zoomLevel;this.options.scrollingX||i?this.options.paging?e=Math.round(e/this.__clientWidth)*this.__clientWidth:this.options.snapping&&(e=Math.round(e/this.__snapWidth)*this.__snapWidth):e=this.__scrollLeft,this.options.scrollingY||i?this.options.paging?t=Math.round(t/this.__clientHeight)*this.__clientHeight:this.options.snapping&&(t=Math.round(t/this.__snapHeight)*this.__snapHeight):t=this.__scrollTop,i||(e=Math.max(Math.min(this.__maxScrollLeft,e),0),t=Math.max(Math.min(this.__maxScrollTop,t),0)),e===this.__scrollLeft&&t===this.__scrollTop&&(n=!1),this.__isTracking||this.__publish(e,t,r,n,o,a)},scrollBy:function(e,t,n){var r=this.__isAnimating?this.__scheduledLeft:this.__scrollLeft,i=this.__isAnimating?this.__scheduledTop:this.__scrollTop;this.scrollTo(r+(e||0),i+(t||0),n)},getCurrentPage:function(){return this.__computePage(),{x:this.__currentPageX,y:this.__currentPageY}},goToPage:function(e,t){var n=e.x,r=e.y;isNaN(n)&&(n=1),isNaN(r)&&(r=1),this.scrollTo((n-1)*this.__clientWidth,(r-1)*this.__clientHeight,t)},doMouseZoom:function(e,t,n,r){var i=e>0?.97:1.03;return this.zoomTo(this.__zoomLevel*i,!1,n-this.__clientLeft,r-this.__clientTop)},doTouchStart:function(e,t){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);var n,r;this.__interruptedAnimation=!0,this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1,this.__interruptedAnimation=!0),this.__isAnimating&&(ue.effect.Animate.stop(this.__isAnimating),this.__isAnimating=!1,this.__interruptedAnimation=!0);var i=1===e.length;i?(n=e[0].pageX,r=e[0].pageY):(n=Math.abs(e[0].pageX+e[1].pageX)/2,r=Math.abs(e[0].pageY+e[1].pageY)/2),this.__initialTouchLeft=n,this.__initialTouchTop=r,this.__zoomLevelStart=this.__zoomLevel,this.__lastTouchLeft=n,this.__lastTouchTop=r,this.__lastTouchMove=t,this.__lastScale=1,this.__enableScrollX=!i&&this.options.scrollingX,this.__enableScrollY=!i&&this.options.scrollingY,this.__isTracking=!0,this.__didDecelerationComplete=!1,this.__isDragging=!i,this.__isSingleTouch=i,this.__positions=[]},doTouchMove:function(e,t,n){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);if(this.__isTracking){var r,i;2===e.length?(r=Math.abs(e[0].pageX+e[1].pageX)/2,i=Math.abs(e[0].pageY+e[1].pageY)/2):(r=e[0].pageX,i=e[0].pageY);var o=this.__positions;if(this.__isDragging){var a=r-this.__lastTouchLeft,s=i-this.__lastTouchTop,l=this.__scrollLeft,c=this.__scrollTop,u=this.__zoomLevel;if(null!=n&&this.options.zooming){var f=u;if(u=u/this.__lastScale*n,u=Math.max(Math.min(u,this.options.maxZoom),this.options.minZoom),f!==u){var d=r-this.__clientLeft,p=i-this.__clientTop;l=(d+l)*u/f-d,c=(p+c)*u/f-p,this.__computeScrollMax(u)}}var h=this.options.bouncing;if(this.__enableScrollX){l-=a*this.options.speedMultiplier;var m=this.__maxScrollLeft;(l>m||l<0)&&(l+=a/2*this.options.speedMultiplier,l=Math.min(Math.max(-h.left,l),m+h.right))}if(this.__enableScrollY){c-=s*this.options.speedMultiplier;var v=this.__maxScrollTop;(c>v||c<0)&&(c+=s/2*this.options.speedMultiplier,c=Math.min(Math.max(-h.top,c),v+h.bottom),this.__enableScrollX||null==this.__refreshHeight&&null==this.__loadHeight||(!this.__refreshActive&&c<=-this.__refreshHeight?(this.__refreshActive=!0,this.__refreshActivate&&this.__refreshActivate()):this.__refreshActive&&c>-this.__refreshHeight?(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()):!this.__loadActive&&c>=this.__maxScrollTop+this.__loadHeight&&this.__loadHeight>0?(this.__loadActive=!0,this.__loadActivate&&this.__loadActivate()):this.__loadActive&&c<this.__maxScrollTop+this.__loadHeight&&(this.__loadActive=!1,this.__loadDeactivate&&this.__loadDeactivate())))}o.length>60&&o.splice(0,30),o.push(l,c,t),this.__publish(l,c,u)}else{var g=this.options.locking?3:0,y=Math.abs(r-this.__initialTouchLeft),b=Math.abs(i-this.__initialTouchTop);this.__enableScrollX=this.options.scrollingX&&y>=g,this.__enableScrollY=this.options.scrollingY&&b>=g,o.push(this.__scrollLeft,this.__scrollTop,t),this.__isDragging=(this.__enableScrollX||this.__enableScrollY)&&(y>=5||b>=5),this.__isDragging&&(this.__interruptedAnimation=!1)}this.__lastTouchLeft=r,this.__lastTouchTop=i,this.__lastTouchMove=t,this.__lastScale=n}},doTouchEnd:function(e){if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(this.__isTracking){if(this.__isTracking=!1,this.__isDragging)if(this.__isDragging=!1,this.__isSingleTouch&&this.options.animating&&e-this.__lastTouchMove<=100){for(var t=this.__positions,n=t.length-1,r=n,i=n;i>0&&t[i]>this.__lastTouchMove-100;i-=3)r=i;if(r!==n){var o=t[n]-t[r],a=this.__scrollLeft-t[r-2],s=this.__scrollTop-t[r-1];this.__decelerationVelocityX=a/o*(1e3/60),this.__decelerationVelocityY=s/o*(1e3/60);var l=this.options.paging||this.options.snapping?4:1;Math.abs(this.__decelerationVelocityX)>l||Math.abs(this.__decelerationVelocityY)>l?this.__refreshActive||this.__loadActive||this.__startDeceleration(e):this.__scrollComplete()}else this.__scrollComplete()}else e-this.__lastTouchMove>100&&this.__scrollComplete();this.__isDecelerating||(this.__refreshActive&&this.__refreshStart?(this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()):this.__loadActive&&this.__loadStart?(this.__publish(this.__scrollLeft,this.__maxScrollTop+this.__loadHeight,this.__zoomLevel,!0),this.__loadStart&&this.__loadStart()):((this.__interruptedAnimation||this.__isDragging)&&this.__scrollComplete(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0,this.__zoomLevel),this.__refreshActive?(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()):this.__loadActive&&(this.__loadActive=!1,this.__loadDeactivate&&this.__loadDeactivate()))),this.__positions.length=0}},onScroll:R,stop:function(){this.__disable=!0},start:function(){this.__disable=!0},__publish:function(e,t,n,r,i,o){var a=this;if(!a.__disable){isNaN(e)&&(e=this.__scrollLeft),isNaN(t)&&(t=this.__scrollTop);var s=a.__isAnimating;if(s&&(ue.effect.Animate.stop(s),a.__isAnimating=!1),r&&(a.options.animating||i)){a.__scheduledLeft=e,a.__scheduledTop=t,a.__scheduledZoom=n;var l=a.__scrollLeft,c=a.__scrollTop,u=a.__zoomLevel,f=e-l,d=t-c,p=n-u,h=de;o&&(h=G(o,K)),a.__isAnimating=ue.effect.Animate.start((function(e,t,n){n&&(a.__scrollLeft=l+f*e,a.__scrollTop=c+d*e,a.__zoomLevel=u+p*e,a.__callback&&(a.__callback(a.__scrollLeft,a.__scrollTop,a.__zoomLevel),a.onScroll()))}),(function(e){return a.__isAnimating===e}),(function(e,t,n){t===a.__isAnimating&&(a.__isAnimating=!1),(a.__didDecelerationComplete||n)&&a.__scrollComplete(),a.options.zooming&&(a.__computeScrollMax(),a.__zoomComplete&&(a.__zoomComplete(),a.__zoomComplete=null)),a.__refreshBeforeDeactiveStarted&&(a.__refreshBeforeDeactiveStarted=!1,a.__refreshDeactivate&&a.__refreshDeactivate()),a.__loadBeforeDeactiveStarted&&(a.__loadBeforeDeactiveStarted=!1,a.__loadDeactivate&&a.__loadDeactivate())}),i||a.options.animationDuration,s?h:pe)}else a.__scheduledLeft=a.__scrollLeft=e,a.__scheduledTop=a.__scrollTop=t,a.__scheduledZoom=a.__zoomLevel=n,a.__callback&&(a.__callback(e,t,n),a.onScroll()),a.options.zooming&&(a.__computeScrollMax(),a.__zoomComplete&&(a.__zoomComplete(),a.__zoomComplete=null)),a.__refreshBeforeDeactiveStarted&&(a.__refreshBeforeDeactiveStarted=!1,a.__refreshDeactivate&&a.__refreshDeactivate()),a.__loadBeforeDeactiveStarted&&(a.__loadBeforeDeactiveStarted=!1,a.__loadDeactivate&&a.__loadDeactivate())}},__computeScrollMax:function(e){null==e&&(e=this.__zoomLevel),this.__maxScrollLeft=Math.max(this.__contentWidth*e-this.__clientWidth,0),this.__maxScrollTop=Math.max(this.__contentHeight*e-this.__clientHeight,0)},__computePage:function(){var e=this.__clientWidth,t=this.__clientHeight,n=this.__scrollLeft,r=this.__scrollTop;this.__totalXPage=Math.ceil(this.__contentWidth/e),this.__currentPageX=Math.ceil(n/e+1),this.__totalYPage=Math.ceil(this.__contentHeight/t),this.__currentPageY=Math.ceil(r/t+1)},__scrollComplete:function(){this.options.scrollingComplete()},__startDeceleration:function(){var e=this;if(e.options.paging){var t=Math.max(Math.min(e.__scrollLeft,e.__maxScrollLeft),0),n=Math.max(Math.min(e.__scrollTop,e.__maxScrollTop),0),r=e.__clientWidth,i=e.__clientHeight;e.__minDecelerationScrollLeft=Math.floor(t/r)*r,e.__minDecelerationScrollTop=Math.floor(n/i)*i,e.__maxDecelerationScrollLeft=Math.ceil(t/r)*r,e.__maxDecelerationScrollTop=Math.ceil(n/i)*i}else e.__minDecelerationScrollLeft=0,e.__minDecelerationScrollTop=0,e.__maxDecelerationScrollLeft=e.__maxScrollLeft,e.__maxDecelerationScrollTop=e.__maxScrollTop;var o=e.options.snapping?4:.001;e.__isDecelerating=ue.effect.Animate.start((function(t,n,r){e.__stepThroughDeceleration(r)}),(function(){var t=Math.abs(e.__decelerationVelocityX)>=o||Math.abs(e.__decelerationVelocityY)>=o;return t||(e.__didDecelerationComplete=!0),t}),(function(){e.__isDecelerating&&(e.__isDecelerating=!1,e.__didDecelerationComplete&&e.__scrollComplete(),e.scrollTo(e.__scrollLeft,e.__scrollTop,e.options.snapping))}))},__stepThroughDeceleration:function(e){var t=this.options.bouncing,n=this.__minDecelerationScrollLeft,r=this.__maxDecelerationScrollLeft,i=this.__minDecelerationScrollTop,o=this.__maxDecelerationScrollTop,a=this.__scrollLeft+this.__decelerationVelocityX,s=this.__scrollTop+this.__decelerationVelocityY,l=a<n||a>r,c=s<i||s>o,u=Math.min(Math.max(n-t.left,a),r+t.right),f=Math.min(Math.max(i-t.top,s),o+t.bottom);e?this.__publish(u,f,this.__zoomLevel):(this.__scrollLeft=a,this.__scrollTop=s),this.options.paging||(this.__decelerationVelocityX*=.95,this.__decelerationVelocityY*=.95);var d=0,p=0,h=this.options.penetrationDeceleration,m=this.options.penetrationAcceleration;l&&(a<this.__minDecelerationScrollLeft?d=this.__minDecelerationScrollLeft-a:a>this.__maxDecelerationScrollLeft&&(d=this.__maxDecelerationScrollLeft-a)),c&&(s<this.__minDecelerationScrollTop?p=this.__minDecelerationScrollTop-s:s>this.__maxDecelerationScrollTop&&(p=this.__maxDecelerationScrollTop-s)),0!==d&&(d*this.__decelerationVelocityX<=0?(this.__decelerationVelocityX+=d*h,d<0&&-d>=t.right&&this.__decelerationVelocityX>0&&(this.__decelerationVelocityX=-t.right/2),d>0&&d>=t.left&&this.__decelerationVelocityX<0&&(this.__decelerationVelocityX=t.left/2)):this.__decelerationVelocityX=d*m),0!==p&&(p*this.__decelerationVelocityY<=0?(this.__decelerationVelocityY+=p*h,p<0&&-p>=t.bottom&&this.__decelerationVelocityY>0&&(this.__decelerationVelocityY=-t.bottom/2),p>0&&p>=t.top&&this.__decelerationVelocityY<0&&(this.__decelerationVelocityY=t.top/2)):this.__decelerationVelocityY=p*m/2)}};for(var ve in me)he.prototype[ve]=me[ve];var ge=new u;T("vuescroll-silde-mode-style","\n @-webkit-keyframes loading-rotate {\n to {\n -webkit-transform: rotate(1turn);\n transform: rotate(1turn);\n }\n }\n\n @keyframes loading-rotate {\n to {\n -webkit-transform: rotate(1turn);\n transform: rotate(1turn);\n }\n }\n\n @-webkit-keyframes loading-wipe {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -40px;\n }\n to {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -120px;\n }\n }\n\n @keyframes loading-wipe {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -40px;\n }\n to {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -120px;\n }\n }\n\n .__vuescroll .__refresh,\n .__vuescroll .__load {\n position: absolute;\n width: 100%;\n color: black;\n height: 50px;\n line-height: 50px;\n text-align: center;\n font-size: 16px;\n }\n .__vuescroll .__refresh svg,\n .__vuescroll .__load svg {\n margin-right: 10px;\n width: 25px;\n height: 25px;\n vertical-align: sub;\n }\n .__vuescroll .__refresh svg.active,\n .__vuescroll .__load svg.active {\n transition: all 0.2s;\n }\n .__vuescroll .__refresh svg.active.deactive,\n .__vuescroll .__load svg.active.deactive {\n transform: rotateZ(180deg);\n }\n .__vuescroll .__refresh svg path,\n .__vuescroll .__refresh svg rect,\n .__vuescroll .__load svg path,\n .__vuescroll .__load svg rect {\n fill: #20a0ff;\n }\n .__vuescroll .__refresh svg.start,\n .__vuescroll .__load svg.start {\n stroke: #343640;\n stroke-width: 4;\n stroke-linecap: round;\n -webkit-animation: loading-rotate 2s linear infinite;\n animation: loading-rotate 2s linear infinite;\n }\n .__vuescroll .__refresh svg.start .bg-path,\n .__vuescroll .__load svg.start .bg-path {\n stroke: #f2f2f2;\n fill: none;\n }\n .__vuescroll .__refresh svg.start .active-path,\n .__vuescroll .__load svg.start .active-path {\n stroke: #20a0ff;\n fill: none;\n stroke-dasharray: 90, 150;\n stroke-dashoffset: 0;\n -webkit-animation: loading-wipe 1.5s ease-in-out infinite;\n animation: loading-wipe 1.5s ease-in-out infinite;\n }\n ");var ye=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=(i(n={},Y.name,Y),i(n,U.name,U),n),s={};s.components=a,s.render=t,s.mixins=e;var l=q(s);return j(r,o),l}({mixins:[ae].concat(a([{mounted:function(){this.vsMounted=!0},computed:{pullRefreshTip:function(){return this.mergedOptions.vuescroll.pullRefresh.tips[this.vuescroll.state.refreshStage]},pushLoadTip:function(){return this.mergedOptions.vuescroll.pushLoad.tips[this.vuescroll.state.loadStage]},refreshLoad:function(){return this.mergedOptions.vuescroll.pullRefresh.enable||this.mergedOptions.vuescroll.pushLoad.enable},refrehDomVisiable:function(){return this.vsMounted&&this.outTheTopBoundary},loadDomVisiable:function(){return this.vsMounted&&this.outTheBottomBoundary}},data:function(){return{vuescroll:{state:{refreshStage:"deactive",loadStage:"deactive"}},vsMounted:!1,outTheTopBoundary:!1,outTheBottomBoundary:!1}},methods:{updateScroller:function(){this.updateDimesion(),this.registryRefreshLoad()},updateDimesion:function(){var e=this.$el.clientWidth,t=this.$el.clientHeight,n=this.scrollPanelElm.scrollWidth,r=this.scrollPanelElm.scrollHeight,i=0,o=0;if(this.mergedOptions.vuescroll.pullRefresh.enable&&this.vsMounted){var a=this.$refs[N].elm||this.$refs[N];i=a.offsetHeight,a.style.marginTop=-i+"px"}if(this.mergedOptions.vuescroll.pushLoad.enable&&this.vsMounted){var s=this.$refs[$].elm||this.$refs[$];o=s.offsetHeight,r-=o,s.style.bottom="-"+o+"px"}this.scroller&&this.scroller.setDimensions(e,t,n,r,!1)},registryRefreshLoad:function(){this.mergedOptions.vuescroll.pullRefresh.enable&&this.registryEvent("refresh"),this.mergedOptions.vuescroll.pushLoad.enable&&this.registryEvent("load")},registryScroller:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.left,r=void 0===n?0:n,i=t.top,a=void 0===i?0:i,s=t.zoom,l=void 0===s?1:s,c=this.mergedOptions.vuescroll.scroller,u=c.preventDefault,f=c.preventDefaultOnMove,d=this.mergedOptions.vuescroll,p=d.paging,h=d.snapping.enable,m=d.renderMethod,v=d.zooming;v=!this.refreshLoad&&!p&&!h&&v;var g=this.mergedOptions.scrollPanel,b=g.scrollingY,_=g.scrollingX,w=this.scrollingComplete.bind(this);this.scroller=new he(function(e,t,n,r){if("position"==r)return function(t,n){e.style.left=-t+"px",e.style.top=-n+"px"};var i=y(t),o=document.createElement("div"),a=i+"Perspective";return void 0!==o.style[a]?function(t,r,i){e.style.transform="translate3d("+-t+n+","+-r+n+",0) scale("+i+")"}:void 0!==o.style.transform?function(t,r,i){e.style.transform="translate("+-t+n+","+-r+n+") scale("+i+")"}:void 0}(this.scrollPanelElm,window,"px",m),o({},this.mergedOptions.vuescroll.scroller,{zooming:v,scrollingY:b,scrollingX:_&&!this.refreshLoad,animationDuration:this.mergedOptions.scrollPanel.speed,paging:p,snapping:h,scrollingComplete:w})),this.scroller.__disable=this.mergedOptions.vuescroll.scroller.disable,this.scroller.__scrollLeft=r,this.scroller.__scrollTop=a,this.scroller.__zoomLevel=l,h&&this.scroller.setSnapSize(this.mergedOptions.vuescroll.snapping.width,this.mergedOptions.vuescroll.snapping.height);var x=this.$el.getBoundingClientRect();this.scroller.setPosition(x.left+this.$el.clientLeft,x.top+this.$el.clientTop);var S=function(e,t,n,r,i,o){var a=null,s=!1,l=ge.getTouchObject();function c(e){var r=ge.getEventObject(e);r[0]&&r[0].target&&r[0].target.tagName.match(/input|textarea|select/i)||t.__disable||(n("mousedown"),s=!0,t.doTouchStart(r,e.timeStamp),i&&e.preventDefault(),e.stopPropagation(),document.addEventListener(l.touchmove,u,{passive:!1}))}function u(e){if(!t.__disable&&s){var r=ge.getEventObject(e);n("mousemove"),t.doTouchMove(r,e.timeStamp,e.scale),o&&e.preventDefault()}}function f(e){n("mouseup"),s=!1,t.doTouchEnd(e.timeStamp),document.removeEventListener(l.touchmove,u)}function d(e){t.doTouchEnd(e.timeStamp)}function p(e){t.doMouseZoom(e.detail?-120*e.detail:e.wheelDelta,e.timeStamp,e.pageX,e.pageY)}return e.addEventListener(l.touchstart,c,!1),document.addEventListener(l.touchend,f,!1),document.addEventListener(l.touchcancel,d,!1),r&&!ge.isTouch&&e.addEventListener(navigator.userAgent.indexOf("Firefox")>-1?"DOMMouseScroll":"mousewheel",p,!1),a=function(){e.removeEventListener(l.touchstart,c,!1),document.removeEventListener(l.touchend,f,!1),document.removeEventListener(l.touchcancel,d,!1),e.removeEventListener(navigator.userAgent.indexOf("Firefox")>-1?"DOMMouseScroll":"mousewheel",p,!1)},t.onScroll=function(){n("onscroll")},a}(this.$el,this.scroller,(function(t){switch(t){case"mousedown":e.vuescroll.state.isDragging=!0;break;case"onscroll":var n=e.vuescroll.state.loadStage,r=e.mergedOptions.vuescroll.pushLoad,i=r.enable,o=r.auto,a=r.autoLoadDistance,s=e.scroller,l=s.__scrollTop,c=s.__maxScrollTop;"start"!=n&&i&&o&&!e.lockAutoLoad&&a>=c-l&&l>0&&(e.lockAutoLoad=!0,e.triggerRefreshOrLoad("load")),a<c-l&&(e.lockAutoLoad=!1),e.handleScroll(!1);break;case"mouseup":e.vuescroll.state.isDragging=!1}}),v,u,f);return this.updateScroller(),S},updateSlideModeBarState:function(){var e=void 0,t=void 0,n=this.$el,r=this.scroller,i=0,o=0,a=this.$el,s=a.clientWidth,l=a.clientHeight,c=s+this.scroller.__maxScrollLeft,u=l+this.scroller.__maxScrollTop;r.__scrollLeft<0?i=-r.__scrollLeft:r.__scrollLeft>r.__maxScrollLeft&&(i=r.__scrollLeft-r.__maxScrollLeft),r.__scrollTop<0?(o=-r.__scrollTop,this.outTheBottomBoundary=!1,this.outTheTopBoundary=!0):r.__scrollTop>r.__maxScrollTop?(o=r.__scrollTop-r.__maxScrollTop,this.outTheTopBoundary=!1,this.outTheBottomBoundary=!0):this.outTheTopBoundary=this.outTheBottomBoundary=!1,e=l/(u+o),t=s/(c+i);var f=Math.min(Math.max(0,r.__scrollTop),r.__maxScrollTop),d=Math.min(Math.max(0,r.__scrollLeft),r.__maxScrollLeft);this.bar.vBar.state.posValue=100*(f+o)/n.clientHeight,this.bar.hBar.state.posValue=100*(d+i)/n.clientWidth,r.__scrollLeft<0&&(this.bar.hBar.state.posValue=0),r.__scrollTop<0&&(this.bar.vBar.state.posValue=0),this.bar.vBar.state.size=e<1?e:0,this.bar.hBar.state.size=t<1?t:0},registryEvent:function(e){var t="refresh"==e?N:$,n="refresh"==e?this.scroller.activatePullToRefresh:this.scroller.activatePushToLoad,r="refresh"==e?"refreshStage":"loadStage",i=this.$refs[t].elm||this.$refs[t],o=function(e,t,n,r){var i=n.$listeners,o=function(){n.vuescroll.state[t]="start",setTimeout((function(){n.scroller.finishRefreshOrLoad()}),2e3)},a=void 0;return i[e+"-before-deactivate"]&&(a=function(i){n.vuescroll.state[t]="beforeDeactive",n.$emit(e+"-before-deactivate",n,r,i.bind(n.scroller))}),i[e+"-start"]&&(o=function(){n.vuescroll.state[t]="start",n.$emit(e+"-start",n,r,n.scroller.finishRefreshOrLoad.bind(n.scroller))}),{activateCallback:function(){n.vuescroll.state[t]="active",n.$emit(e+"-activate",n,r)},deactivateCallback:function(){n.vuescroll.state[t]="deactive",n.$emit(e+"-deactivate",n,r)},startCallback:o,beforeDeactivateCallback:a,beforeDeactiveEnd:function(){n.vuescroll.state[t]="beforeDeactiveEnd",n.$emit(e+"-before-deactivate-end",n,r)}}}(e,r,this,i),a=i.offsetHeight;n.bind(this.scroller)(a,o)},getSlidePosition:function(){return{scrollLeft:this.scroller.__scrollLeft,scrollTop:this.scroller.__scrollTop}}}},{methods:{updateNativeModeBarState:function(){var e=this.scrollPanelElm,t="percent"==this.vuescroll.state.currentSizeStrategy,n=this.vuescroll.state,r=n.width,i=n.height,o=t||!r?e.clientWidth:r.slice(0,-2),a=t||!i?e.clientHeight:i.slice(0,-2),s=a/e.scrollHeight,l=o/e.scrollWidth;this.bar.vBar.state.posValue=100*e.scrollTop/a,this.bar.hBar.state.posValue=100*e.scrollLeft/o,this.bar.vBar.state.size=s<1?s:0,this.bar.hBar.state.size=l<1?l:0},getNativePosition:function(){return{scrollTop:this.scrollPanelElm.scrollTop,scrollLeft:this.scrollPanelElm.scrollLeft}},css:function(e,t){return window.getComputedStyle(e)[t]},checkScrollable:function(e,t,n){for(var r=!1,i=e.target?e.target:e;i&&1==i.nodeType&&i!==this.scrollPanelElm.parentNode&&!/^BODY|HTML/.test(i.nodeName);){var o=("dy"==t?this.css(i,"overflowY"):this.css(i,"overflowX"))||this.css(i,"overflow")||"";if(/scroll|auto/.test(o)){var a=this.getScrollProcess(i),s=a.v,l=a.h;if("dx"==t&&(n<0&&l>0||n>0&&l<1)||"dy"==t&&(n<0&&s>0||n>0&&s<1)){r=i==this.scrollPanelElm;break}}i=!!i.parentNode&&i.parentNode}return r},onMouseWheel:function(e){var t=this.mergedOptions.vuescroll.wheelScrollDuration,n=this.mergedOptions.vuescroll.wheelDirectionReverse,r=0,o=void 0;e.wheelDelta?e.deltaY?(o="dy",r=e.deltaY):e.deltaX?(r=e.deltaX,o="dx"):r=-1*e.wheelDelta/2:e.detail&&(1==e.axis?o="dx":2==e.axis&&(o="dy"),r=16*e.detail),o=e.shiftKey?"dx":"dy",n&&(o="dx"==o?"dy":"dx"),this.checkScrollable(e,o,r)&&(e.stopPropagation(),e.preventDefault(),this.scrollBy(i({},o,r),t))}},computed:{scrollContentElm:function(){return this.$refs.scrollContent._isVue?this.$refs.scrollContent.$el:this.$refs.scrollContent}}}])),mounted:function(){this._isDestroyed||this.renderError||("slide"==this.mode&&this.updatedCbs.push(this.updateScroller),this.$watch("mergedOptions.vuescroll.scroller.disable",{sync:!0,handler:function(e){this.scroller&&(this.scroller.__disable=e)}}))},computed:{mode:function(){return this.mergedOptions.vuescroll.mode}},methods:{destroy:function(){this.destroyScroller&&(this.scroller.stop(),this.destroyScroller(),this.destroyScroller=null),this.destroyResize&&this.destroyResize()},handleScroll:function(e){this.updateBarStateAndEmitEvent("handle-scroll",e)},updateBarStateAndEmitEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("native"==this.mode)this.updateNativeModeBarState();else if("slide"==this.mode){if(!this.scroller)return;this.updateSlideModeBarState()}e&&this.emitEvent(e,t),this.mergedOptions.bar.onlyShowBarOnScroll?"handle-scroll"!=e&&"handle-resize"!=e&&"refresh-status"!=e&&"window-resize"!=e&&"options-change"!=e||this.showAndDefferedHideBar(!0):this.showAndDefferedHideBar()},getScrollProcess:function(){var e=this.scrollPanelElm,t=e.scrollHeight,n=e.scrollWidth,r=e.clientHeight,i=e.clientWidth,o=e.scrollTop,a=e.scrollLeft;"slide"==this.mode&&(t=this.scroller.__contentHeight,n=this.scroller.__contentWidth,o=this.scroller.__scrollTop,a=this.scroller.__scrollLeft,r=this.$el.clientHeight,i=this.$el.clientWidth);var s=Math.min(o/(t-r||1),1),l=Math.min(a/(n-i||1),1);return{v:s,h:l}},emitEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.scrollPanelElm,r=n.scrollTop,i=n.scrollLeft,o={type:"vertical"},a={type:"horizontal"},s=this.getScrollProcess(),l=s.v,c=s.h;o.process=l,a.process=c,o.barSize=this.bar.vBar.state.size,a.barSize=this.bar.hBar.state.size,o.scrollTop=r,a.scrollLeft=i,this.$emit(e,o,a,t)},initVariables:function(){this.lastMode=this.mode,this.$el._isVuescroll=!0},refreshMode:function(){var e=void 0;this.scroller&&(e=this.scroller.getValues()),this.destroyScroller&&(this.scroller.stop(),this.destroyScroller(),this.destroyScroller=null),"slide"==this.mode?this.destroyScroller=this.registryScroller(e):"native"==this.mode&&(this.scrollPanelElm.style.transform="",this.scrollPanelElm.style.transformOrigin="")},refreshInternalStatus:function(){this.setVsSize(),this.registryResize(),this.refreshMode(),this.updateBarStateAndEmitEvent("refresh-status")},registryResize:function(){var e=this,t=this.mergedOptions.vuescroll.detectResize,n=!1;if(this.lastMode!=this.mode&&(n=!0,this.lastMode=this.mode),(!this.destroyResize||!t||n)&&(this.destroyResize&&this.destroyResize(),t)){var r=null;"slide"==this.mode?r=this.scrollPanelElm:"native"==this.mode&&(r=this.scrollContentElm);var i=this,o=function(){i.updateBarStateAndEmitEvent("window-resize"),"slide"==i.mode&&(i.updatedCbs.push(i.updateScroller),i.$forceUpdate())};window.addEventListener("resize",o,!1);var a=oe(r,(function(){var t={};"slide"==e.mode?(t.width=e.scroller.__contentWidth,t.height=e.scroller.__contentHeight,e.updateBarStateAndEmitEvent("handle-resize",t),e.updatedCbs.push(e.updateScroller),e.$forceUpdate()):"native"==e.mode&&(t.width=e.scrollPanelElm.scrollWidth,t.height=e.scrollPanelElm.scrollHeight,e.updateBarStateAndEmitEvent("handle-resize",t)),e.setVsSize()}));this.destroyResize=function(){window.removeEventListener("resize",o,!1),a(),e.destroyResize=null}}},getPosition:function(){return"slide"==this.mode?this.getSlidePosition():"native"==this.mode?this.getNativePosition():void 0}}},(function(e,t){return"native"==t.mode?function(e,t){var n={};return n=ee(t),e("scrollPanel",n,[te(e,t)])}(e,t):"slide"==t.mode?ie(e,t):void 0}),[{vuescroll:{mode:"native"}},{vuescroll:{renderMethod:"transform",pullRefresh:{enable:!1,tips:{deactive:"Pull to Refresh",active:"Release to Refresh",start:"Refreshing...",beforeDeactive:"Refresh Successfully!"}},pushLoad:{enable:!1,tips:{deactive:"Push to Load",active:"Release to Load",start:"Loading...",beforeDeactive:"Load Successfully!"},auto:!1,autoLoadDistance:0},paging:!1,zooming:!0,snapping:{enable:!1,width:100,height:100},scroller:{bouncing:{top:100,bottom:100,left:100,right:100},locking:!0,minZoom:.5,maxZoom:3,speedMultiplier:1,penetrationDeceleration:.03,penetrationAcceleration:.08,preventDefault:!1,preventDefaultOnMove:!0,disable:!1}}},{vuescroll:{wheelScrollDuration:0,wheelDirectionReverse:!1}}],[function(e){var t=!1,n=e.vuescroll;return~D.indexOf(n.mode)||(m("Unknown mode: "+n.mode+',the vuescroll\'s option "mode" should be one of the '+D),t=!0),t},function(e){var t=e.vuescroll;return t.paging==t.snapping.enable&&t.paging&&(t.pullRefresh||t.pushLoad)&&m("paging, snapping, (pullRefresh with pushLoad) can only one of them to be true."),!1}]),be=o({install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.name||ye.name,ye),e.prototype.$vuescrollConfig=t.ops||{}},version:"4.16.1",refreshAll:function(){for(var e in A)A[e].refresh()},scrollTo:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,i=arguments[4],o=arguments[5],a=void 0,s=void 0,l=void 0,c=void 0,u=void 0,f=void 0,d=e.nodeType,p=new Z,h=new Z;if(d){9==d&&(e=e.scrollingElement);var m=e;a=m.scrollLeft,s=m.scrollTop,l=m.scrollHeight,c=m.scrollWidth,u=m.clientWidth,f=m.clientHeight,t=void 0===t?a:C(t,c-u),n=void 0===n?s:C(n,l-f);var g=G(i,K);p.startScroll(a,t,r,(function(t){e.scrollLeft=t}),o,void 0,g),h.startScroll(s,n,r,(function(t){e.scrollTop=t}),o,void 0,g)}else v("You must pass a dom for the first param, for window scrolling, you can pass document as the first param.")}},ye);return"undefined"!=typeof window&&window.Vue&&window.Vue.use(be),be}(go)}));return Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],ref:"velmld",staticClass:"velmld-overlay",class:{"velmld-full-screen":e.isFullScreen},style:{backgroundColor:e.backgroundColor}},[n("div",{staticClass:"velmld-spinner"},[e._t("default",[n(e.spinner,{tag:"component",style:{"margin-bottom":e.percentage?0:"15px"},attrs:{color:e.color,size:e.size+"px",duration:e.duration+"s",svg:""!==e.svgCode?e.svgCode:void 0}})]),e._v(" "),e.percentage?n("div",{style:{color:e.color,"font-size":.3*e.size+"px","margin-bottom":"15px"}},[e._v("\n "+e._s(e.percentage+"%")+"\n ")]):e._e(),e._v(" "),"string"==typeof e.text&&e.text.length?n("div",{style:Object.assign({},{color:e.color},e.textStyle)},[e._v("\n "+e._s(e.text)+"\n ")]):e._e(),e._v(" "),Array.isArray(e.text)?n("div",{style:Object.assign({},{color:e.color},e.textStyle),attrs:{id:"list_text"}},[n("vue-scroll",{attrs:{ops:e.ops}},e._l(e.text,(function(t,r){return n("div",{key:r,staticClass:"px-4"},[t.text&&t.text.length?n("div",{staticClass:"text-container",style:{opacity:e.fade?e.getOpacity(r):1}},[t&&t.icon?e._t("icon",[n(t.icon,{tag:"component",attrs:{color:e.color,size:"24",duration:e.duration/2+"s"}})]):e._e(),e._v("\n "+e._s(t.text)+"\n ")],2):e._e()])})),0)],1):e._e(),e._v(" "),e.text&&!Array.isArray(e.text)&&"object"==typeof e.text&&e.text.text?n("div",{style:Object.assign({},{color:e.color},e.textStyle)},[n("div",{staticClass:"text-container",style:{opacity:e.getOpacity(e.index)}},[e.text.icon?e._t("icon",[n(e.text.icon,{tag:"component",attrs:{color:e.color,size:"24",duration:e.duration+"s"}})]):e._e(),e._v("\n "+e._s(e.text.text)+"\n ")],2)]):e._e()],2)])])},staticRenderFns:[]},(function(e){e&&(e("data-v-579f2d62_0",{source:".fade-enter-active[data-v-579f2d62],.fade-leave-active[data-v-579f2d62]{transition:opacity .3s}.fade-enter[data-v-579f2d62],.fade-leave-to[data-v-579f2d62]{opacity:0}.velmld-overlay[data-v-579f2d62]{position:absolute;z-index:3000;margin:0;top:0;right:0;bottom:0;left:0;transition:opacity .3s}.velmld-spinner[data-v-579f2d62]{top:50%;left:50%;transform:translate(-50%,-50%);position:absolute;text-align:center}.velmld-full-screen[data-v-579f2d62]{position:fixed}.text-container[data-v-579f2d62]{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}#list_text[data-v-579f2d62]{height:200px}",map:void 0,media:void 0}),e("data-v-579f2d62_1",{source:".velmld-parent{position:relative!important}",map:void 0,media:void 0}))}),{name:"vue-loading",props:{active:Boolean,spinner:{type:String,default:"spinner"},text:[String,Array,Object],textStyle:{type:Object,default:function(){return{}}},color:{type:String,default:"#000"},isFullScreen:{type:Boolean,default:!1},backgroundColor:{type:String,default:"rgba(255, 255, 255, .9)"},size:{type:String,default:"40"},duration:{type:String,default:"0.6"},svgCode:{type:String,default:""},fade:{type:Boolean,default:!0},percentage:{type:Number,default:null}},data:function(){return{ops:{vuescroll:{mode:"native",detectResize:!0,sizeStrategy:"percent"},bar:{keepShow:!0,background:this.color,opacity:1}},isActive:this.active||!1}},mounted:function(){this.$refs.velmld.parentNode.classList.add("velmld-parent")},watch:{active:function(e){this.isActive=e,e&&this.$refs.velmld.parentNode.classList.add("velmld-parent")}},methods:{getOpacity:function(e){return(e+1)/this.text.length}},components:Object.assign(Vt,Gt,{vueScroll:Ps})},"data-v-579f2d62",!1,void 0,Xt,void 0)}))},9583:function(e,t,n){"use strict";e.exports=n.p+"img/dummy.ec1ab0d6.svg"}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var r={};return function(){"use strict";if(n.r(r),n.d(r,{default:function(){return od}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(n.p=t[1])}var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-row",attrs:{id:"visualization-container"},on:{click:e.framesClicked}},[e.active&&e.canInsertTime&&e.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||45===t.keyCode?e.insertTime.apply(null,arguments):null},function(t){return t.type.indexOf("key")||46===t.keyCode?e.insertTime.apply(null,arguments):null}]}}):e._e(),e.active&&e.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.arrowLeft.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(t.preventDefault(),e.arrowRight.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-down",void 0,t.key,void 0)?null:t.shiftKey?(t.preventDefault(),e.nextLoopActivate.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-down",void 0,t.key,void 0)?null:(t.preventDefault(),e.next.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-up",void 0,t.key,void 0)?null:(t.preventDefault(),e.prev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-up",void 0,t.key,void 0)?null:t.shiftKey?(t.preventDefault(),e.prevLoopActivate.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||83===t.keyCode?(t.preventDefault(),e.setHourIni.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||69===t.keyCode?(t.preventDefault(),e.setHourEnd.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||36===t.keyCode?(t.preventDefault(),e.goToFirstFrame.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||35===t.keyCode?(t.preventDefault(),e.goToLastFrame.apply(null,arguments)):null},function(t){if(!t.type.indexOf("key")&&71!==t.keyCode)return null;t.preventDefault(),e.dialogs.goTo=!0},function(t){if(!t.type.indexOf("key")&&73!==t.keyCode)return null;t.preventDefault(),e.dialogs.secondsPerFrame=!0},function(t){if(!t.type.indexOf("key")&&76!==t.keyCode)return null;t.preventDefault(),e.dialogs.frames=!0},function(t){return t.type.indexOf("key")||49===t.keyCode||97===t.keyCode?(()=>e.secondsPerFrame=1).apply(null,arguments):null},function(t){return t.type.indexOf("key")||50===t.keyCode||98===t.keyCode?(()=>e.secondsPerFrame=2).apply(null,arguments):null},function(t){return t.type.indexOf("key")||51===t.keyCode||99===t.keyCode?(()=>e.secondsPerFrame=3).apply(null,arguments):null},function(t){return t.type.indexOf("key")||52===t.keyCode||100===t.keyCode?(()=>e.secondsPerFrame=4).apply(null,arguments):null},function(t){return t.type.indexOf("key")||53===t.keyCode||101===t.keyCode?(()=>e.secondsPerFrame=5).apply(null,arguments):null}]}}):e._e(),e.prevLoop||e.nextLoop?t("GlobalEvents",{on:{keydown:e.breakLoop,click:e.breakLoop}}):e._e(),e.active?t("settings",{attrs:{"dialogs-visibility":e.dialogs,"playback-rate":e.playbackRate,"seconds-per-frame":e.secondsPerFrame,"frames-per-row":e.framesPerRow,"number-of-rows":e.numberOfRows},on:{"change-playback-rate":t=>e.playbackRate=t,"change-go-to":e.changeHour,"change-seconds-per-frame":t=>e.secondsPerFrame=t,"set-frames-selection":e.setFrameSelection,close:t=>e.dialogs[t]=!1}}):e._e(),t("div",{class:{"visualization-card":!0,"active-tab":e.active},staticStyle:{width:"100%",padding:"0"}},[t("command-bar",{directives:[{name:"show",rawName:"v-show",value:e.commandBarShow,expression:"commandBarShow"}],attrs:{"video-playing":e.videoPlaying,"video-paused":e.paused,"insert-time":e.canInsertTime,"hour-ini-selected":e.hourIniSelected,"hour-end-selected":e.hourEndSelected},on:{"prev-loop-activate":e.prevLoopActivate,"next-loop-activate":e.nextLoopActivate,prev:e.prev,next:e.next,"go-to":function(t){e.dialogs.goTo=!0},"open-frame-selection":function(t){e.dialogs.frames=!0},"open-frames-per-second":function(t){e.dialogs.secondsPerFrame=!0},"open-blocks":e.openBlocks,"open-playback-rate":function(t){e.dialogs.playbackRate=!0},"play-or-pause":e.playOrPause,"stop-playing":e.stopPlayingBar,"set-hour-ini":e.setHourIni,"set-hour-end":e.setHourEnd,"insert-time":e.insertTime}}),e.videoProgressBar?t("video-progress",{directives:[{name:"show",rawName:"v-show",value:e.videoPlaying,expression:"videoPlaying"}],attrs:{"video-time":e.videoTime}}):e._e(),t("info-bar",{attrs:{"playback-rate":e.playbackRate,"seconds-per-frame":e.secondsPerFrame,"commands-show":e.commandBarShow,cache:e.useCache,"block-start-time":e.blockStartTime,"video-total-duration":e.videoSliderTotalDuration,"alternative-server":e.alternativeServer,"frames-per-row":e.framesPerRow,"number-of-rows":e.numberOfRows,"hour-ini":e.hourIniSelected,"hour-end":e.hourEndSelected},on:{"toogle-commands-visibility":function(t){e.commandBarShow=!e.commandBarShow},"toogle-cache":function(t){e.useCache=!e.useCache},"change-server":e.changeServerClick}}),e._l(e.numberOfRows,(function(n){return t("div",{key:"row-"+n,staticClass:"visualization-row",staticStyle:{padding:"12px"},attrs:{id:"row-"+n}},[e._l(e.previousFrames,(function(r,i){return t("div",{key:e.numberOfRows+"-"+e.framesPerRow+"-"+e.getIndex(n,i,e.Positions.previous),staticStyle:{display:"none"}},[t("span",{domProps:{innerHTML:e._s(r.img)}})])})),e._l(e.nextFrames,(function(r,i){return t("div",{key:e.numberOfRows+"-"+e.framesPerRow+"-"+e.getIndex(n,i,e.Positions.next),staticStyle:{display:"none"}},[t("span",{domProps:{innerHTML:e._s(r.img)}})])})),e._l(e.frames.slice(e.framesPerRow*(n-1),e.framesPerRow*n),(function(r,i){return t("div",{key:"row-"+n+"-frame-"+i,staticClass:"visualization-col",class:{loaderImg:!!r.img},attrs:{id:`frame-${e.getIndex(n,i,e.Positions.current)}`},on:{click:function(t){r.time&&e.selectFrame(e.getIndex(n,i,e.Positions.current),r)}}},[t("span",{staticStyle:{"padding-left":"4px"},attrs:{id:e.activeFrame?"aa":0}},[t("b",[e._v(" "+e._s(e.getAudienceTime(r.time,n,i,e.Positions.current))+" ")])]),t("frame",{ref:"frames",refInFor:!0,staticStyle:{margin:"0 auto"},attrs:{frame:r,index:e.getIndex(n,i,e.Positions.current),"grid-settings":{numberOfRows:e.numberOfRows,framesPerRow:e.framesPerRow},initialTime:r.time===e.hourIniSelected,endTime:r.time===e.hourEndSelected,betweenTime:r.time>e.hourIniSelected&&r.time<e.hourEndSelected,active:e.getIndex(n,i,e.Positions.current)===e.activeFrame,activeTab:e.active,videoUrl:e.fInterface?e.fInterface.getVideoUrl(r):"","playback-rate":e.playbackRate},on:{startPlaying:e.startPlaying,stopPlaying:e.stopPlaying,playPauseStatus:e.changePlayPause,updateSlider:e.updateSlider}})],1)}))],2)}))],2)],1)},o=[],a=function(){var e=this,t=e._self._c;return t("div",{class:{"frame-container":!0,"initial-time":e.initialTime,"end-time":e.endTime,"between-time":e.betweenTime,active:e.active},style:{maxHeight:`${e.maxHeight}px`,width:"100%",position:"relative"}},[e.active&&e.activeTab&&e.parentComponent.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||32===t.keyCode?(t.preventDefault(),e.playOrPause.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||27===t.keyCode?(t.preventDefault(),e.stop.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||79===t.keyCode?e.toogleDetailFrame.apply(null,arguments):null},function(t){return t.type.indexOf("key")||13===t.keyCode?(t.preventDefault(),e.jumpFrameToStart.apply(null,arguments)):null}]}}):e._e(),e.showFrame?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||27===t.keyCode?(t.preventDefault(),e.toogleDetailFrame.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||13===t.keyCode?(t.preventDefault(),e.toogleDetailFrame.apply(null,arguments)):null}]}}):e._e(),t("vue-loading",{staticStyle:{"z-index":"0"},attrs:{active:(!e.frame.image||!e.frame.time)&&-1!==e.frame.title||e.loading||e.videoIsLoading,spinner:"ring",color:"#1565c0","background-color":"#ededed",text:e.videoIsLoading?"A criar vídeo temporário...":""}}),t("div",{staticStyle:{"background-color":"black"}},[e.loading?e._e():t("div",{class:{"frame-content":-1===e.frame.title||e.videoStatus!==e.Status.stopped},style:{maxHeight:`${e.height}px`,maxWidth:`${e.width}px`,color:"white"},on:{dblclick:e.playOrPause}},[e.frame.image&&e.videoStatus===e.Status.stopped?t("div",{class:{"dummy-frame":-1===e.frame.title},staticStyle:{width:"100%",height:"100%"},domProps:{innerHTML:e._s(e.frame.image)}}):e._e(),e.videoStatus===e.Status.stopped||e.videoIsLoading?e._e():t("video",{ref:"videoPlayer",staticStyle:{width:"100%","aspect-ratio":"11/9"},attrs:{maxHeight:`${e.height}px`,maxWidth:`${e.width}px`,src:e.videoUrlString,preload:"none",autoplay:""},on:{timeupdate:e.updateTimeLabel,ended:e.videoEnded,click:e.playOrPause}}),t("div",{staticClass:"overlay"})])]),t("dialog",{ref:"imageDetailsDialog",class:{"dummy-frame":-1===e.frame.title},staticStyle:{width:"100vh",border:"none",background:"none"},domProps:{innerHTML:e._s(e.frame.image)}})],1)},s=[],l=n(3963),c=n.n(l);const u=Object.freeze({stopped:0,playing:1,paused:2});var f={components:{VueLoading:c()},name:"frame-component",props:{frame:{type:[Object,Number],required:!0},index:{type:Number,required:!0},loading:{type:Boolean,default:!1},gridSettings:{type:Object,required:!0},initialTime:{type:Boolean,default:!1},endTime:{type:Boolean,default:!1},betweenTime:{type:Boolean,default:!1},active:{type:Boolean,default:!1},activeTab:{type:Boolean,default:!1},videoUrl:{type:[String,Promise],required:!0},playbackRate:{type:Number,default:1}},data(){return{Status:u,aspectRatio:11/9,width:0,height:0,maxWidth:0,fullMaxWidth:0,maxHeight:0,showFrame:!1,videoStatus:u.stopped,videoStartTime:null,videoCurrentTime:null,videoUrlString:"",parentComponent:null,videoIsLoading:!1,currentBlock:null,lastTimeEnterPressed:null}},created(){this.parentComponent=this.$parent},watch:{playbackRate(e){this.videoStatus!==u.playing&&this.videoStatus!==u.paused||(this.$refs.videoPlayer.playbackRate=e)}},methods:{jumpFrameToStart(){if(this.active){const e=(new Date).getTime();e-this.lastTimeEnterPressed<=500&&this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(this.frame.time)),this.lastTimeEnterPressed=e}},changeSettings(e){this.videoCurrentTime=e},toogleDetailFrame(){this.showFrame?this.$refs.imageDetailsDialog.close():this.$refs.imageDetailsDialog.showModal(),this.showFrame=!this.showFrame},getMaxWidth(){const e=document.getElementById("command-bar");return e?.clientWidth},resize(e){const t=document.getElementById("command-bar");this.fullMaxWidth=t?.clientWidth,this.maxWidth=(t?.clientWidth-10*this.gridSettings.framesPerRow)/this.gridSettings.framesPerRow;const n=e-t?.clientHeight-26*this.gridSettings.numberOfRows;this.maxHeight=2===this.gridSettings.numberOfRows?(n-12)/2:n,this.maxHeight=this.maxHeight>=75?this.maxHeight:75,this.maxWidth/this.aspectRatio>this.maxHeight?(this.height=this.maxHeight,this.width=this.maxHeight*this.aspectRatio):(this.width=this.maxWidth,this.height=this.maxWidth/this.aspectRatio),this.maxHeight=this.height},async playOrPause(){switch(this.videoStatus){case u.stopped:this.videoIsLoading=!0;try{this.videoUrlString=await this.videoUrl;const e=await(this.parentComponent.fInterface?.getVideoStartTime(this.frame));this.videoStartTime=e.start,this.videoUrlString=this.parentComponent.fInterface.getVideoRequestByUrl(e.url,this.frame.number)}catch(e){console.log(e)}this.videoIsLoading=!1,this.videoStatus=u.playing,this.$nextTick((()=>{this.$refs.videoPlayer.onloadedmetadata=e=>{this.$refs.videoPlayer.playbackRate=this.playbackRate,this.$emit("updateSlider",this.videoStartTime,this.frame.time),this.$emit("startPlaying",this.frame,e.target.duration),this.$emit("playPauseStatus",!0)}}));break;case u.paused:this.$refs.videoPlayer.play(),this.$refs.videoPlayer.playbackRate=this.playbackRate,this.videoStatus=u.playing,this.$emit("playPauseStatus",!0);break;case u.playing:this.$refs.videoPlayer.pause(),this.videoStatus=u.paused,this.$emit("playPauseStatus",!1);break}},stop(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.videoStatus!==u.playing&&this.videoStatus!==u.paused||(e&&this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(parseInt(this.videoCurrentTime))),this.videoStatus=u.stopped,this.videoUrlString=null,this.videoCurrentTime=null,this.videoStartTime=null),this.$emit("stopPlaying")},videoJumpTo(e){this.videoCurrentTime=this.videoStartTime+e,this.$refs.videoPlayer.currentTime=e},async videoJumpToTimeStamp(e){let t={time:e};e&&(this.currentBlock&&e>=this.currentBlock.start&&e<=this.currentBlock.end||(this.currentBlock=await(this.parentComponent.fInterface?.getBlockInfo(t)),this.videoStartTime=this.currentBlock.start,this.videoUrlString=this.parentComponent.fInterface.getVideoUrlForTime(this.videoStartTime)),this.videoCurrentTime=e-this.videoStartTime,this.$refs.videoPlayer.currentTime=this.videoCurrentTime)},updateTimeLabel(e){this.videoCurrentTime=this.videoStartTime+e.target.currentTime,this.parentComponent.updateVideoTime(this.index,this.videoCurrentTime),this.parentComponent.updateVideoStatus(e.target.currentTime)},async videoEnded(){this.videoStartTime=await(this.parentComponent.fInterface?.getNextVideoStartTime(this.frame.time)),this.videoUrlString=this.parentComponent.fInterface.getVideoUrlForTime(this.videoStartTime),this.$emit("updateSlider",this.videoStartTime,this.videoStartTime)}}},d=f;function p(e,t,n,r,i,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:c}}var h=p(d,a,s,!1,null,"5c1173af",null),m=h.exports;function v(e,t){return function(){return e.apply(t,arguments)}}const{toString:g}=Object.prototype,{getPrototypeOf:y}=Object,b=(e=>t=>{const n=g.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_=e=>(e=e.toLowerCase(),t=>b(t)===e),w=e=>t=>typeof t===e,{isArray:x}=Array,S=w("undefined");function k(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const O=_("ArrayBuffer");function C(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&O(e.buffer),t}const T=w("string"),E=w("function"),A=w("number"),P=e=>null!==e&&"object"===typeof e,L=e=>!0===e||!1===e,j=e=>{if("object"!==b(e))return!1;const t=y(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=_("Date"),R=_("File"),z=_("Blob"),N=_("FileList"),$=e=>P(e)&&E(e.pipe),M=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||E(e.append)&&("formdata"===(t=b(e))||"object"===t&&E(e.toString)&&"[object FormData]"===e.toString()))},B=_("URLSearchParams"),I=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function F(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,i;if("object"!==typeof e&&(e=[e]),x(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;while(i-- >0)if(r=n[i],t===r.toLowerCase())return r;return null}const V=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),U=e=>!S(e)&&e!==V;function W(){const{caseless:e}=U(this)&&this||{},t={},n=(n,r)=>{const i=e&&H(t,r)||r;j(t[i])&&j(n)?t[i]=W(t[i],n):j(n)?t[i]=W({},n):x(n)?t[i]=n.slice():t[i]=n};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&F(arguments[r],n);return t}const q=(e,t,n,{allOwnKeys:r}={})=>(F(t,((t,r)=>{n&&E(t)?e[r]=v(t,n):e[r]=t}),{allOwnKeys:r}),e),Y=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),X=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},G=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{i=Object.getOwnPropertyNames(e),o=i.length;while(o-- >0)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&y(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},K=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},J=e=>{if(!e)return null;if(x(e))return e;let t=e.length;if(!A(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},Q=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&y(Uint8Array)),Z=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}},ee=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},te=_("HTMLFormElement"),ne=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),re=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ie=_("RegExp"),oe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};F(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},ae=e=>{oe(e,((t,n)=>{if(E(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];E(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},se=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return x(e)?r(e):r(String(e).split(t)),n},le=()=>{},ce=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ue="abcdefghijklmnopqrstuvwxyz",fe="0123456789",de={DIGIT:fe,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+fe},pe=(e=16,t=de.ALPHA_DIGIT)=>{let n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function he(e){return!!(e&&E(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const me=e=>{const t=new Array(10),n=(e,r)=>{if(P(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=x(e)?[]:{};return F(e,((e,t)=>{const o=n(e,r+1);!S(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},ve=_("AsyncFunction"),ge=e=>e&&(P(e)||E(e))&&E(e.then)&&E(e.catch);var ye={isArray:x,isArrayBuffer:O,isBuffer:k,isFormData:M,isArrayBufferView:C,isString:T,isNumber:A,isBoolean:L,isObject:P,isPlainObject:j,isUndefined:S,isDate:D,isFile:R,isBlob:z,isRegExp:ie,isFunction:E,isStream:$,isURLSearchParams:B,isTypedArray:Q,isFileList:N,forEach:F,merge:W,extend:q,trim:I,stripBOM:Y,inherits:X,toFlatObject:G,kindOf:b,kindOfTest:_,endsWith:K,toArray:J,forEachEntry:Z,matchAll:ee,isHTMLForm:te,hasOwnProperty:re,hasOwnProp:re,reduceDescriptors:oe,freezeMethods:ae,toObjectSet:se,toCamelCase:ne,noop:le,toFiniteNumber:ce,findKey:H,global:V,isContextDefined:U,ALPHABET:de,generateString:pe,isSpecCompliantForm:he,toJSONObject:me,isAsyncFn:ve,isThenable:ge};function be(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}ye.inherits(be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ye.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _e=be.prototype,we={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{we[e]={value:e}})),Object.defineProperties(be,we),Object.defineProperty(_e,"isAxiosError",{value:!0}),be.from=(e,t,n,r,i,o)=>{const a=Object.create(_e);return ye.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),be.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var xe=be,Se=null;function ke(e){return ye.isPlainObject(e)||ye.isArray(e)}function Oe(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Ce(e,t,n){return e?e.concat(t).map((function(e,t){return e=Oe(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function Te(e){return ye.isArray(e)&&!e.some(ke)}const Ee=ye.toFlatObject(ye,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Ae(e,t,n){if(!ye.isObject(e))throw new TypeError("target must be an object");t=t||new(Se||FormData),n=ye.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ye.isUndefined(t[e])}));const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!==typeof Blob&&Blob,l=s&&ye.isSpecCompliantForm(t);if(!ye.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ye.isDate(e))return e.toISOString();if(!l&&ye.isBlob(e))throw new xe("Blob is not supported. Use a Buffer instead.");return ye.isArrayBuffer(e)||ye.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"===typeof e)if(ye.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ye.isArray(e)&&Te(e)||(ye.isFileList(e)||ye.endsWith(n,"[]"))&&(s=ye.toArray(e)))return n=Oe(n),s.forEach((function(e,r){!ye.isUndefined(e)&&null!==e&&t.append(!0===a?Ce([n],r,o):null===a?n:n+"[]",c(e))})),!1;return!!ke(e)||(t.append(Ce(i,n,o),c(e)),!1)}const f=[],d=Object.assign(Ee,{defaultVisitor:u,convertValue:c,isVisitable:ke});function p(e,n){if(!ye.isUndefined(e)){if(-1!==f.indexOf(e))throw Error("Circular reference detected in "+n.join("."));f.push(e),ye.forEach(e,(function(e,r){const o=!(ye.isUndefined(e)||null===e)&&i.call(t,e,ye.isString(r)?r.trim():r,n,d);!0===o&&p(e,n?n.concat(r):[r])})),f.pop()}}if(!ye.isObject(e))throw new TypeError("data must be an object");return p(e),t}var Pe=Ae;function Le(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function je(e,t){this._pairs=[],e&&Pe(e,this,t)}const De=je.prototype;De.append=function(e,t){this._pairs.push([e,t])},De.toString=function(e){const t=e?function(t){return e.call(this,t,Le)}:Le;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Re=je;function ze(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ne(e,t,n){if(!t)return e;const r=n&&n.encode||ze,i=n&&n.serialize;let o;if(o=i?i(t,n):ye.isURLSearchParams(t)?t.toString():new Re(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}class $e{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ye.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var Me=$e,Be={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ie="undefined"!==typeof URLSearchParams?URLSearchParams:Re,Fe="undefined"!==typeof FormData?FormData:null,He="undefined"!==typeof Blob?Blob:null;const Ve=(()=>{let e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)})(),Ue=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)();var We={isBrowser:!0,classes:{URLSearchParams:Ie,FormData:Fe,Blob:He},isStandardBrowserEnv:Ve,isStandardBrowserWebWorkerEnv:Ue,protocols:["http","https","file","blob","url","data"]};function qe(e,t){return Pe(e,new We.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return We.isNode&&ye.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Ye(e){return ye.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function Xe(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function Ge(e){function t(e,n,r,i){let o=e[i++];const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&ye.isArray(r)?r.length:o,s)return ye.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&ye.isObject(r[o])||(r[o]=[]);const l=t(e,n,r[o],i);return l&&ye.isArray(r[o])&&(r[o]=Xe(r[o])),!a}if(ye.isFormData(e)&&ye.isFunction(e.entries)){const n={};return ye.forEachEntry(e,((e,r)=>{t(Ye(e),r,n,0)})),n}return null}var Ke=Ge;function Je(e,t,n){if(ye.isString(e))try{return(t||JSON.parse)(e),ye.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}const Qe={transitional:Be,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=ye.isObject(e);i&&ye.isHTMLForm(e)&&(e=new FormData(e));const o=ye.isFormData(e);if(o)return r&&r?JSON.stringify(Ke(e)):e;if(ye.isArrayBuffer(e)||ye.isBuffer(e)||ye.isStream(e)||ye.isFile(e)||ye.isBlob(e))return e;if(ye.isArrayBufferView(e))return e.buffer;if(ye.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return qe(e,this.formSerializer).toString();if((a=ye.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Pe(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),Je(e)):e}],transformResponse:[function(e){const t=this.transitional||Qe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&ye.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw xe.from(i,xe.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ye.forEach(["delete","get","head","post","put","patch"],(e=>{Qe.headers[e]={}}));var Ze=Qe;const et=ye.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tt=e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&et[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const nt=Symbol("internals");function rt(e){return e&&String(e).trim().toLowerCase()}function it(e){return!1===e||null==e?e:ye.isArray(e)?e.map(it):String(e)}function ot(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const at=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function st(e,t,n,r,i){return ye.isFunction(r)?r.call(this,t,n):(i&&(t=n),ye.isString(t)?ye.isString(r)?-1!==t.indexOf(r):ye.isRegExp(r)?r.test(t):void 0:void 0)}function lt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function ct(e,t){const n=ye.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}class ut{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=rt(t);if(!i)throw new Error("header name must be a non-empty string");const o=ye.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=it(e))}const o=(e,t)=>ye.forEach(e,((e,n)=>i(e,n,t)));return ye.isPlainObject(e)||e instanceof this.constructor?o(e,t):ye.isString(e)&&(e=e.trim())&&!at(e)?o(tt(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=rt(e),e){const n=ye.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return ot(e);if(ye.isFunction(t))return t.call(this,e,n);if(ye.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=rt(e),e){const n=ye.findKey(this,e);return!(!n||void 0===this[n]||t&&!st(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=rt(e),e){const i=ye.findKey(n,e);!i||t&&!st(n,n[i],i,t)||(delete n[i],r=!0)}}return ye.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const i=t[n];e&&!st(this,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return ye.forEach(this,((r,i)=>{const o=ye.findKey(n,i);if(o)return t[o]=it(r),void delete t[i];const a=e?lt(i):String(i).trim();a!==i&&delete t[i],t[a]=it(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ye.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ye.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[nt]=this[nt]={accessors:{}},n=t.accessors,r=this.prototype;function i(e){const t=rt(e);n[t]||(ct(r,e),n[t]=!0)}return ye.isArray(e)?e.forEach(i):i(e),this}}ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ye.reduceDescriptors(ut.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ye.freezeMethods(ut);var ft=ut;function dt(e,t){const n=this||Ze,r=t||n,i=ft.from(r.headers);let o=r.data;return ye.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function pt(e){return!(!e||!e.__CANCEL__)}function ht(e,t,n){xe.call(this,null==e?"canceled":e,xe.ERR_CANCELED,t,n),this.name="CanceledError"}ye.inherits(ht,xe,{__CANCEL__:!0});var mt=ht;function vt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var gt=We.isStandardBrowserEnv?function(){return{write:function(e,t,n,r,i,o){const a=[];a.push(e+"="+encodeURIComponent(t)),ye.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ye.isString(r)&&a.push("path="+r),ye.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function yt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bt(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function _t(e,t){return e&&!yt(t)?bt(e,t):t}var wt=We.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=ye.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}();function xt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function St(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,f=0;while(u!==o)f+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const d=c&&l-c;return d?Math.round(1e3*f/d):void 0}}var kt=St;function Ot(e,t){let n=0;const r=kt(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),c=o<=a;n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const Ct="undefined"!==typeof XMLHttpRequest;var Tt=Ct&&function(e){return new Promise((function(t,n){let r=e.data;const i=ft.from(e.headers).normalize(),o=e.responseType;let a,s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}ye.isFormData(r)&&(We.isStandardBrowserEnv||We.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.getContentType(/^\s*multipart\/form-data/)?ye.isString(s=i.getContentType())&&i.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):i.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const u=_t(e.baseURL,e.url);function f(){if(!c)return;const r=ft.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),i=o&&"text"!==o&&"json"!==o?c.response:c.responseText,a={data:i,status:c.status,statusText:c.statusText,headers:r,config:e,request:c};vt((function(e){t(e),l()}),(function(e){n(e),l()}),a),c=null}if(c.open(e.method.toUpperCase(),Ne(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(n(new xe("Request aborted",xe.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new xe("Network Error",xe.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Be;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new xe(t,r.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,c)),c=null},We.isStandardBrowserEnv){const t=(e.withCredentials||wt(u))&&e.xsrfCookieName&&gt.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in c&&ye.forEach(i.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ye.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&"json"!==o&&(c.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&c.addEventListener("progress",Ot(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Ot(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new mt(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=xt(u);d&&-1===We.protocols.indexOf(d)?n(new xe("Unsupported protocol "+d+":",xe.ERR_BAD_REQUEST,e)):c.send(r||null)}))};const Et={http:Se,xhr:Tt};ye.forEach(Et,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const At=e=>`- ${e}`,Pt=e=>ye.isFunction(e)||null===e||!1===e;var Lt={getAdapter:e=>{e=ye.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Pt(n)&&(r=Et[(t=String(n)).toLowerCase()],void 0===r))throw new xe(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(At).join("\n"):" "+At(e[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:Et};function jt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Dt(e){jt(e),e.headers=ft.from(e.headers),e.data=dt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=Lt.getAdapter(e.adapter||Ze.adapter);return t(e).then((function(t){return jt(e),t.data=dt.call(e,e.transformResponse,t),t.headers=ft.from(t.headers),t}),(function(t){return pt(t)||(jt(e),t&&t.response&&(t.response.data=dt.call(e,e.transformResponse,t.response),t.response.headers=ft.from(t.response.headers))),Promise.reject(t)}))}const Rt=e=>e instanceof ft?e.toJSON():e;function zt(e,t){t=t||{};const n={};function r(e,t,n){return ye.isPlainObject(e)&&ye.isPlainObject(t)?ye.merge.call({caseless:n},e,t):ye.isPlainObject(t)?ye.merge({},t):ye.isArray(t)?t.slice():t}function i(e,t,n){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!ye.isUndefined(t))return r(void 0,t)}function a(e,t){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Rt(e),Rt(t),!0)};return ye.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,a=o(e[r],t[r],r);ye.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Nt="1.5.1",$t={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{$t[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Mt={};function Bt(e,t,n){if("object"!==typeof e)throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;while(i-- >0){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new xe("option "+o+" must be "+n,xe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new xe("Unknown option "+o,xe.ERR_BAD_OPTION)}}$t.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Nt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new xe(r(i," has been removed"+(t?" in "+t:"")),xe.ERR_DEPRECATED);return t&&!Mt[i]&&(Mt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var It={assertOptions:Bt,validators:$t};const Ft=It.validators;class Ht{constructor(e){this.defaults=e,this.interceptors={request:new Me,response:new Me}}request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=zt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&It.assertOptions(n,{silentJSONParsing:Ft.transitional(Ft.boolean),forcedJSONParsing:Ft.transitional(Ft.boolean),clarifyTimeoutError:Ft.transitional(Ft.boolean)},!1),null!=r&&(ye.isFunction(r)?t.paramsSerializer={serialize:r}:It.assertOptions(r,{encode:Ft.function,serialize:Ft.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&ye.merge(i.common,i[t.method]);i&&ye.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ft.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,f=0;if(!s){const e=[Dt.bind(this),void 0];e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);while(f<u)c=c.then(e[f++],e[f++]);return c}u=a.length;let d=t;f=0;while(f<u){const e=a[f++],t=a[f++];try{d=e(d)}catch(p){t.call(this,p);break}}try{c=Dt.call(this,d)}catch(p){return Promise.reject(p)}f=0,u=l.length;while(f<u)c=c.then(l[f++],l[f++]);return c}getUri(e){e=zt(this.defaults,e);const t=_t(e.baseURL,e.url);return Ne(t,e.params,e.paramsSerializer)}}ye.forEach(["delete","get","head","options"],(function(e){Ht.prototype[e]=function(t,n){return this.request(zt(n||{},{method:e,url:t,data:(n||{}).data}))}})),ye.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(zt(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ht.prototype[e]=t(),Ht.prototype[e+"Form"]=t(!0)}));var Vt=Ht;class Ut{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new mt(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ut((function(t){e=t}));return{token:t,cancel:e}}}var Wt=Ut;function qt(e){return function(t){return e.apply(null,t)}}function Yt(e){return ye.isObject(e)&&!0===e.isAxiosError}const Xt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xt).forEach((([e,t])=>{Xt[t]=e}));var Gt=Xt;function Kt(e){const t=new Vt(e),n=v(Vt.prototype.request,t);return ye.extend(n,Vt.prototype,t,{allOwnKeys:!0}),ye.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Kt(zt(e,t))},n}const Jt=Kt(Ze);Jt.Axios=Vt,Jt.CanceledError=mt,Jt.CancelToken=Wt,Jt.isCancel=pt,Jt.VERSION=Nt,Jt.toFormData=Pe,Jt.AxiosError=xe,Jt.Cancel=Jt.CanceledError,Jt.all=function(e){return Promise.all(e)},Jt.spread=qt,Jt.isAxiosError=Yt,Jt.mergeConfig=zt,Jt.AxiosHeaders=ft,Jt.formToJSON=e=>Ke(ye.isHTMLForm(e)?new FormData(e):e),Jt.getAdapter=Lt.getAdapter,Jt.HttpStatusCode=Gt,Jt.default=Jt;var Qt=Jt;const Zt=Qt.create({baseURL:sessionStorage.getItem("base_url")});Zt.interceptors.request.use((e=>(e.params=e.params||{},e.params.Client=sessionStorage.getItem("client")||"UNKNOWN","alternative"===sessionStorage.getItem("server")&&(e.params.BlockPathConfig="AlernativeTvConfig"),e)));var en={getBlockRequest(){let{direction:e,channel:t,split:n,time:r,quality:i,factor:o,useCache:a=!0,signal:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get(`Get${e}FramesBlockInFiles`,{params:{Channel:t,Split:n,UseCache:a,Time:r,Step:0,JpegQuality:i,JpegSizeFactor:o},signal:s})},getSmallBlockRequest(){let{channel:e,split:t,time:n,quality:r,factor:i,size:o,useCache:a=!0,signal:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get("GetSmallFramesBlockInFiles",{params:{Channel:e,Split:t,UseCache:a,Time:n,Step:0,JpegQuality:r,JpegSizeFactor:i,Size:o},signal:s})},getFileInfoRequest(){let{direction:e,channel:t,split:n,time:r,step:i,signal:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get(`Get${e}BlockFileInformation`,{params:{Channel:t,Split:n,Time:r,Step:i},signal:o})},getNextAvailableBlock(){let{channel:e,time:t,signal:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get("GetPreviousAvailableBlockFileInformation",{params:{Channel:e,Split:1,Time:t,Step:0},signal:n})}},tn={MinBlockSizes:Object.freeze({1:3600,2:3600,3:3600,4:3600,5:3600}),MinBlockSizesBack:Object.freeze({1:1800,2:1800,3:1800,4:1800,5:1800}),Direction:Object.freeze({Next:"Next",Previous:"Previous",Self:""}),JpegQuality:Object.freeze({LowestQuality:"1",LowQuality:"25",MediumQuality:"50",HighQuality:"75",HighestQuality:"100"}),ResponseStatus:Object.freeze({Ok:1,UnknownError:-1,VideoBlockNotFound:-2,InvalidRequest:-3,ClientNotAllowed:-4,AuthenticationProblem:-5}),StepsQuality:Object.freeze({1:"50",2:"50",3:"50",4:"50",5:"50"}),SizeQuality:Object.freeze({1:"100"}),StepsFactor:Object.freeze({1:1,2:1,3:1,4:1,5:1}),SmallBlockSize:Object.freeze({1:1,2:1,3:1,4:1,5:1})};function nn(e,t,n,r){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];this.channel=e,this.size=t,this.currentTime=n,this.useCache=i,this.startAudienceTime=r,this.firstFrameTime=n,this.buffer=[],this.requests={},this.currentStep=1,this.currentPosition=0,this.smallBlockSizeFactor=2,this.startCheckingQualityStep=1,this.startCheckingQualitySize=1,this.numberOfSmallBlocksCheck=3}nn.prototype.goTo=async function(e){this.cancelAllPendingRequests(),this.currentTime=e||this.currentTime;const t=this.findFrameIndexByTime(this.currentTime);t>=0?this.currentPosition=t:(this.buffer=[],await this.getSmallBlock(this.currentTime,this.channel,1))},nn.prototype.getSmallBlock=async function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=`smallBlock_${e}`;try{if(!this.requests[i]){this.requests[i]=new AbortController;let o=(await en.getSmallBlockRequest({channel:t,split:n,time:e,size:15*this.size,quality:tn.StepsQuality[this.currentStep],factor:tn.StepsFactor[this.currentStep],signal:this.requests[i].signal})).data;if(!this.requests[i])throw"Response not needed anymore";if(o.status!==tn.ResponseStatus.Ok)throw await this.getBlock(e,t,n,tn.Direction.Previous,!0),await this.getBlock(e,t,n,tn.Direction.Next,!0),o?.message||"Unknown error";o=o.data;const a=o.frames;if(this.requests[`block_${tn.Direction.Next}_${o.end}`]=!0,this.getBlock(e,this.channel,1,tn.Direction.Self,!0,!0),!r){const e=a[0].time,t=a[a.length-1].time;t===o.end?await this.getSmallBlock(t+1,this.channel,1,!0):this.timestampToTimeString(e)!==this.startAudienceTime&&e===o.start&&await this.getSmallBlock(e-this.currentStep*this.size,this.channel,1,!0)}return this.orderFramesBlock(a),this.currentPosition=this.findFrameIndexByTime(this.currentTime),delete this.requests[`block_${tn.Direction.Next}_${o.end}`],delete this.requests[i],!0}return console.error("Frames Manager (GetSmallBlock): Request blocked by another equal request occurring"),!1}catch(o){return console.error(`Frames Manager (GetSmallBlock): ${o}`),delete this.requests[i],!1}},nn.prototype.getBlock=async function(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const a=`block_${r}_${e}`;try{if(!this.requests[a]){this.requests[a]=new AbortController;let s=(await en.getBlockRequest({direction:r,channel:t,split:n,time:e,quality:tn.StepsQuality[this.currentStep],factor:tn.StepsFactor[this.currentStep],signal:this.requests[a].signal})).data;if(!this.requests[a])throw"Response not needed anymore";if(s.status!==tn.ResponseStatus.Ok)throw s?.message||"Unknown error";return this.orderFramesBlock(s.data.frames),this.currentPosition=this.findFrameIndexByTime(this.currentTime),i&&await this.checkMinBlockSize(!o),delete this.requests[a],!0}return console.error(`Frames Manager (GetBlock ${r}): Request blocked by another equal request occurring`),!1}catch(s){return console.error(`Frames Manager (GetBlock ${r}): ${s}`),delete this.requests[a],!1}},nn.prototype.checkMinBlockSize=async function(e){this.checkFramesBackward()&&await this.getBlock(0===this.buffer.length?this.currentTime:this.buffer[0].time,this.channel,1,tn.Direction[0===this.buffer.length?"Self":"Previous"],e,0!==(this.buffer[0]?.number||0)),this.checkFramesForward()&&await this.getBlock(0===this.buffer.length?this.currentTime:this.buffer[this.buffer.length-1].time,this.channel,1,tn.Direction[0===this.buffer.length?"Self":"Next"],e)},nn.prototype.checkFramesForward=function(){return this.buffer.length-this.currentPosition<tn.MinBlockSizes[this.currentStep]*(this.size/6)},nn.prototype.checkFramesBackward=function(){return this.currentPosition<tn.MinBlockSizesBack[this.currentStep]},nn.prototype.orderFramesBlock=function(e){if(this.buffer.length>0){const t=this.buffer[0].time,n=this.buffer[this.buffer.length-1].time,r=e.filter((e=>e.time<t)),i=e.filter((e=>e.time>n));this.buffer=[...r,...this.buffer,...i]}else this.buffer=e},nn.prototype.findFrameIndexByTime=function(e){return this.buffer.findIndex((t=>t.time===e))},nn.prototype.cancelAllPendingRequests=function(){for(const e in this.requests){const t=this.requests[e];"object"===typeof t&&"signal"in t&&t.abort(),delete this.requests[e]}},nn.prototype.timestampToTimeString=function(e){return new Date(1e3*e).toISOString().substring(11,19).replace(/:/g,"")},nn.prototype.getPrevImages=function(){return this.timestampToTimeString(this.currentTime)===this.startAudienceTime?null:this.getBufferSlice(this.currentPosition-this.size*this.currentStep,this.currentPosition)},nn.prototype.getCurrentImages=function(){return this.getBufferSlice(this.currentPosition,this.currentPosition+this.size*this.currentStep)},nn.prototype.getNextImages=function(){return this.getBufferSlice(this.currentPosition+this.size*this.currentStep,this.currentPosition+2*this.size*this.currentStep)},nn.prototype.getBufferSlice=function(e,t){let n=this.buffer.slice(e,t);return 1!==this.currentStep&&(n=n.filter(((e,t)=>t%this.currentStep===0))),n.length<this.size?null:n},nn.prototype.next=function(){const e=this.currentPosition+this.currentStep*this.size;this.currentPosition=e<this.buffer.length?e:this.currentPosition,this.currentTime=this.buffer[this.currentPosition]?.time||this.currentTime,this.checkMinBlockSize(!0)},nn.prototype.previous=function(){const e=this.currentPosition-this.size*this.currentStep;this.currentPosition=e>0?e:0,this.currentTime=this.buffer[this.currentPosition]?.time||this.currentTime,this.checkMinBlockSize(!0)},nn.prototype.getFileInfo=async function(e,t){if(e){let n=(await en.getFileInfoRequest({direction:tn.Direction.Self,channel:this.channel,split:this.currentStep,time:e,step:t})).data;return n.status==tn.ResponseStatus.Ok?n.data:null}return null},nn.prototype.getNextFileInfo=async function(e,t){let n=(await en.getFileInfoRequest({direction:tn.Direction.Next,channel:this.channel,split:this.currentStep,time:e,step:t})).data;return n.status==tn.ResponseStatus.Ok?n.data:null};var rn=nn;const on=sessionStorage.getItem("server");function an(){return{url:sessionStorage.getItem("base_url"),params:"alternative"===on?"&BlockPathConfig=AlernativeTvConfig":""}}function sn(e,t,n,r,i){let o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.channel=e,this.numberOfRows=t,this.framesPerRow=n,this.currentTime=r,this.firstFrameTime=r,this.startAudienceTime=i,this.useCache=o}sn.prototype.init=async function(){this.framesManager=await new rn(this.channel,this.numberOfRows*this.framesPerRow,this.currentTime,this.startAudienceTime,this.useCache),await this.framesManager.goTo(),await this.loadFrames()},sn.prototype.initLight=async function(){this.framesManager=await new rn(this.channel,this.numberOfRows*this.framesPerRow,this.currentTime,this.startAudienceTime,this.useCache)},sn.prototype.changeTime=async function(e){await this.framesManager.goTo(e),await this.loadFrames()},sn.prototype.loadFrames=async function(){let e=await this.framesManager.getPrevImages()||[],t=await this.framesManager.getNextImages()||[],n=await this.framesManager.getCurrentImages()||[];e=await this.constructImagesComponent(e),n=await this.constructImagesComponent(n),t=await this.constructImagesComponent(t),this.frames={prev:e,current:n,next:t}},sn.prototype.loadNextFrames=async function(){this.framesManager.next();let e=await this.framesManager.getNextImages()||[];e=await this.constructImagesComponent(e),this.frames.prev=this.frames.current,this.frames.current=this.frames.next,this.frames.next=e},sn.prototype.loadPrevFrames=async function(){if(this.framesManager.previous(),console.log(this.framesManager.currentTime,this.firstFrameTime),this.framesManager.currentTime<this.firstFrameTime)return await this.framesManager.goTo(this.firstFrameTime),void await this.loadFrames();let e=await this.framesManager.getPrevImages()||[];e=await this.constructImagesComponent(e),this.frames.next=this.frames.current,this.frames.current=this.frames.prev,this.frames.prev=e},sn.prototype.constructImagesComponent=async function(e){const t=[];for(let r of e){const e=document.createElement("img");e.src=-1===r.title?n(9583):`${sessionStorage.getItem("base_url")}frames/${r.title}${"alternative"==on?"?server=alt":""}`,e.style.maxWidth=-1===r.title?"80%":"100%",e.style.contain="true",t.push(new Promise((t=>{e.addEventListener("load",(()=>{t()}))}))),r["image"]=e.outerHTML}return await Promise.all(t),e},sn.prototype.getFrames=function(e){const t=["prev","current","next"],n=this.frames[t[e]];return n&&n.length>0?n:Array.from(Array(this.numberOfRows*this.framesPerRow).keys())},sn.prototype.getCurrentTime=function(){return this.framesManager.currentTime},sn.prototype.getVideoUrl=function(e){let{url:t,params:n}=an();return t+"GetVideo?Client="+sessionStorage.getItem("client")+"&Channel="+this.channel+"&Time="+e.time+n+"#t="+e.number},sn.prototype.getVideoUrlForTime=function(e){let{url:t,params:n}=an();return t+"GetVideo?Client="+sessionStorage.getItem("client")+"&Channel="+this.channel+"&Time="+e+n},sn.prototype.getVideoStartTime=async function(e){try{const t=await this.framesManager.getFileInfo(e.time,0);return t}catch(t){console.log(t)}},sn.prototype.getBlockInfo=async function(e){try{const t=await this.framesManager.getFileInfo(e.time,0);return t}catch(t){console.log(t)}},sn.prototype.getNextVideoStartTime=async function(e){try{const t=await this.framesManager.getNextFileInfo(e,0);return t.start}catch(t){console.log(t)}},sn.prototype.setCurrentStep=function(e){this.framesManager.currentStep=e},sn.prototype.changeSize=async function(e,t){this.numberOfRows=e,this.framesPerRow=t,this.framesManager.size=this.numberOfRows*this.framesPerRow,await this.loadFrames()},sn.prototype.getVideoRequestByUrl=function(e,t){const{url:n,params:r}=an();return n+"StreamFromVideo?url="+e+r+"#t="+t};var ln=sn,cn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-col pa-0",staticStyle:{"border-top-right-radius":"6px"},attrs:{id:"command-bar"}},[e.commandBarShow?t("div",{staticClass:"visualization-row visualization-justify-center"},e._l(e.commandBarBtns,(function(n,r){return t("div",{key:"command-btn-"+r},[n?e._e():t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 4px"}}),!n||n.condition&&!n.condition()?e._e():t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:n.text&&"function"===typeof n.text?n.text():n.text,expression:"\n btn.text && typeof btn.text === 'function' ? btn.text() : btn.text\n "}],staticClass:"command-bar-btn",style:{color:n.color&&"function"===typeof n.color?n.color():"black"},on:{click:n.fnc}},[t("font-awesome-icon",{attrs:{id:n.id,icon:"fa-solid "+(n.icon&&"function"===typeof n.icon?n.icon():n.icon)}})],1)])})),0):e._e(),t("hr",{staticClass:"visualization-divider"})])},un=[],fn={props:{videoPlaying:{type:Boolean,default:!1},videoPaused:{type:Boolean,default:!1},insertTime:{type:Boolean,default:!1},hourIniSelected:{type:Boolean,default:!1},hourEndSelected:{type:Boolean,default:!1}},data(){return{commandBarShow:!0,commandBarBtns:[{fnc:()=>this.$emit("prev-loop-activate"),icon:"fa-backward",text:"Fast Backward",id:"Fast Backward"},{fnc:()=>this.$emit("prev"),icon:"fa-step-backward",text:"Step Backward",id:"Step Backward"},{fnc:()=>this.$emit("go-to"),icon:"fa-clock",text:"Definir Hora",id:"Definir Hora"},{fnc:()=>this.$emit("next"),icon:"fa-step-forward",text:"Step Forward",id:"Step Forward"},{fnc:()=>this.$emit("next-loop-activate"),icon:"fa-forward",text:"Fast Forward",id:"Fast Forward"},{fnc:()=>this.$emit("play-or-pause"),icon:()=>this.videoPlaying&&!this.videoPaused?"fa-pause":"fa-play",text:()=>this.videoPlaying&&!this.videoPaused?"Pause":"Play",id:"playOrPause"},{fnc:()=>this.$emit("stop-playing"),icon:"fa-stop",text:"Stop",id:"Stop"},null,{fnc:()=>this.$emit("open-frame-selection"),icon:"fa-border-all",text:"Formato da grelha",id:"Formato da grelha"},{fnc:()=>this.$emit("open-frames-per-second"),icon:"fa-sliders-h",text:"Segundos por Imagem",id:"Segundos por Imagem"},{fnc:()=>this.$emit("open-playback-rate"),icon:"fa-tachometer-alt",text:"Escolher velocidade de reprodução",id:"Escolher velocidade de reprodução"},null,{fnc:()=>this.$emit("set-hour-ini"),icon:"fa-hourglass-start",text:"Hora Inicial",id:"Hora Inicial",color:()=>this.hourIniSelected?"var(--visualization-start)":"black"},{fnc:()=>this.$emit("insert-time"),icon:"fa-arrow-circle-down",text:"Inserir",id:"insert",condition:()=>this.insertTime},{fnc:()=>this.$emit("set-hour-end"),icon:"fa-hourglass-end",text:"Hora Final",id:"Hora Final",color:()=>this.hourEndSelected?"var(--visualization-end)":"black"}]}}},dn=fn,pn=p(dn,cn,un,!1,null,null,null),hn=pn.exports,mn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-row visualization-justify-center visualization-align-center",style:e.commandsShow?"padding: 4px":"border-top-right-radius: 6px; padding: 4px",attrs:{id:"info-bar"}},[t("span",[e._v(" "+e._s(e.playbackRate)+"x ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.selected",{seconds:e.hourEnd&&e.hourIni?e.hourEnd-e.hourIni+1:0,hour_ini:e.convertToAudienceTime(e.hourIni),hour_end:e.convertToAudienceTime(e.hourEnd)}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.interval",{seconds:e.secondsPerFrame}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.block",{time1:e.convertToAudienceTime(e.blockStartTime),time2:e.convertToAudienceTime(e.blockTotalTime)}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),e._v(" "+e._s(e.framesPerRow*e.numberOfRows)+" "),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),e._v(" "+e._s(e.framesPerRow+"*"+e.numberOfRows)+" "),e.alternativeServer||!e.cache?t("span",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}):e._e(),e.alternativeServer?t("span",[t("v-icon",{attrs:{color:"error",small:"",left:""}},[e._v("fa-exclamation-triangle")]),t("strong",[e._v(e._s(e.$t("infoBar.alternativeServer")))])],1):e._e(),e.alternativeServer&&!e.cache?t("span",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}):e._e(),e.cache?e._e():t("span",[t("v-icon",{attrs:{color:"warning",small:"",left:""}},[e._v("fa-exclamation-circle")]),t("strong",[e._v("Não está a usar cache")])],1),t("div",{staticClass:"settings-container"},[t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:(e.alternativeServer,e.$t("infoBar.changeServer")),expression:"\n alternativeServer\n ? $t('infoBar.changeServer')\n : $t('infoBar.changeServer')\n "}],attrs:{icon:"fa-solid fa-server"},on:{click:function(t){return e.$emit("change-server")}}}),t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.commandsShow?"Ocultar botões":"Mostrar botões",expression:"commandsShow ? 'Ocultar botões' : 'Mostrar botões'"}],attrs:{icon:e.commandsShow?"fa-solid fa-eye":"fa-solid fa-eye-slash"},on:{click:function(t){return e.$emit("toogle-commands-visibility")}}}),t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.cache?"Desativar Cache":"Ativar Cache",expression:"cache ? 'Desativar Cache' : 'Ativar Cache'"}],attrs:{icon:e.cache?"fa-solid fa-ban":"fa-solid fa-sync"},on:{click:function(t){return e.$emit("toogle-cache")}}})],1)])},vn=[],gn={props:{playbackRate:{type:Number,required:!0},secondsPerFrame:{type:Number,required:!0},commandsShow:{type:Boolean,required:!0},cache:{type:Boolean,required:!0},blockStartTime:{type:Number,required:!0},videoTotalDuration:{type:Number,required:!0},alternativeServer:{type:Boolean,required:!0},framesPerRow:{type:Number,required:!0},numberOfRows:{type:Number,required:!0},hourIni:{type:[Number,Boolean]},hourEnd:{type:[Number,Boolean]}},data(){return{}},computed:{blockTotalTime(){return this.videoTotalDuration+this.blockStartTime}},methods:{convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n}}},yn=gn,bn=p(yn,mn,vn,!1,null,null,null),_n=bn.exports,wn=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"visualization-row",attrs:{id:"progress"},on:{mousedown:e.progressMouseDown}},[t("span",{staticClass:"progressLabel"},[e._v(" "+e._s(e.convertToAudienceTime(e.videoTime))+" ")]),t("span",{staticClass:"progressBar"})]),t("hr",{staticClass:"visualization-divider"})])},xn=[],Sn={props:{videoTime:{type:Number,required:!0}},methods:{progressMouseDown(e){this.progressVideoDrag=!0;const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing));if(1===t.length){const e=t[0];e.playOrPause()}this.updateProgress(e),window.addEventListener("mouseup",this.progressMouseUp),window.addEventListener("mousemove",this.progressMouseMove)},progressMouseUp(e){if(this.progressVideoDrag){const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.paused));if(1===t.length){const e=t[0];e.playOrPause()}this.updateProgress(e)}window.removeEventListener("mouseup",this.progressMouseUp),window.removeEventListener("mousemove",this.progressMouseMove),this.progressVideoDrag=!1},progressMouseMove(e){this.progressVideoDrag&&this.updateProgress(e)},updateProgress(e,t){let n;const r=document.getElementById("progress"),i=r.getElementsByClassName("progressBar")[0];let o=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused)),a=1===o.length?o[0]:null;if(t&&a){let e=a.videoCurrentTime-this.sliderStartTime;n=e/this.videoSliderTotalDuration*100}else if(e){const t=r.getBoundingClientRect(),i=Math.round(t.width),o=e.pageX-Math.round(t.left);if(n=o/i*100<=100?o/i*100:100,a){let e=this.videoSliderTotalDuration*(n/100),t=parseInt(this.sliderStartTime+e);a.videoJumpToTimeStamp(t)}}else n=0;i.style.width=`${n}%`},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n},convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)}}},kn=Sn,On=p(kn,wn,xn,!1,null,"7fe6f244",null),Cn=On.exports,Tn=function(){var e=this,t=e._self._c;return t("div",[e.dialogsVisibility.frames?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||37===t.keyCode?e.prevFormat.apply(null,arguments):null},function(t){return t.type.indexOf("key")||39===t.keyCode?e.nextFormat.apply(null,arguments):null}]}}):e._e(),t("dialog",{ref:"frames"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Formato da grelha ")]),t("div",{staticClass:"visualization-row",staticStyle:{"justify-content":"center"}},e._l(e.items,(function(n,r){return t("div",{key:r,staticClass:"visualization-col",staticStyle:{"min-width":"200px","max-width":"200px"}},[t("img",{style:e.framesValue!==n.value?"filter: grayscale(1)":"",attrs:{src:n.image,width:"100%"},on:{click:()=>e.framesValue=n.value}})])})),0),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","frames")}}},[e._v("Ok")])])]),t("dialog",{ref:"secondsPerFrame"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Segundos por Imagem ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.secondsPerFrameValue,expression:"secondsPerFrameValue"}],ref:"secondsPerFrameInput",attrs:{type:"range",step:"1",max:"5",min:"1"},domProps:{value:e.secondsPerFrameValue},on:{__r:function(t){e.secondsPerFrameValue=t.target.value}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","secondsPerFrame")}}},[e._v("Ok")])])]),t("dialog",{ref:"goTo"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Saltar para: ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.goToValue,expression:"goToValue"},{name:"mask",rawName:"v-mask",value:"##:##:##",expression:"'##:##:##'"}],attrs:{type:"text",placeholder:"hh:mm:ss"},domProps:{value:e.goToValue},on:{input:function(t){t.target.composing||(e.goToValue=t.target.value)}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:()=>{e.$emit("close","goTo"),e.$emit("change-go-to",e.goToValue),e.goToValue=""}}},[e._v(" Ok ")])])]),t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||107===t.keyCode?e.changePlaybackRate(1):null},function(t){return t.type.indexOf("key")||109===t.keyCode?e.changePlaybackRate(-1):null}]}}),t("dialog",{ref:"playbackRate"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Velocidade de Reprodução ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.playbackRateValue,expression:"playbackRateValue"}],ref:"playbackRateInput",attrs:{type:"range",step:"0.25",max:"3",min:"1"},domProps:{value:e.playbackRateValue},on:{__r:function(t){e.playbackRateValue=t.target.value}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","playbackRate")}}},[e._v("Ok")])])])],1)},En=[],An=n.p+"img/1x1.f865594b.svg",Pn=n.p+"img/2x1.6bc80fec.svg",Ln=n.p+"img/3x1.8fe1c055.svg",jn=n.p+"img/3x2.f5153612.svg",Dn=n.p+"img/4x1.22f434b0.svg",Rn=n.p+"img/4x2.3810a721.svg",zn=n.p+"img/5x1.c0878e49.svg",Nn=n.p+"img/5x2.b70b5289.svg",$n=n.p+"img/6x1.28b9840c.svg",Mn=n.p+"img/6x2.6b117ba7.svg",Bn={"1x1":An,"2x1":Pn,"3x1":Ln,"3x2":jn,"4x1":Dn,"4x2":Rn,"5x1":zn,"5x2":Nn,"6x1":$n,"6x2":Mn},In={props:{dialogsVisibility:{type:Object,required:!1},playbackRate:{type:Number,required:!0},secondsPerFrame:{type:Number,required:!0},framesPerRow:{type:Number,required:!0},numberOfRows:{type:Number,required:!0}},data(){return{openBlocksDialog:!1,time:"",rangeBlocks:{ini:null,end:null,date:null},items:[{text:"2x1",value:1,image:Bn["2x1"]},{text:"3x1",value:2,image:Bn["3x1"]},{text:"3x2",value:3,image:Bn["3x2"]},{text:"4x1",value:4,image:Bn["4x1"]},{text:"4x2",value:5,image:Bn["4x2"]},{text:"5x1",value:6,image:Bn["5x1"]},{text:"5x2",value:7,image:Bn["5x2"]},{text:"6x1",value:8,image:Bn["6x1"]},{text:"6x2",value:9,image:Bn["6x2"]}],goToValue:""}},computed:{secondsPerFrameValue:{get(){return this.secondsPerFrame},set(e){this.$emit("change-seconds-per-frame",parseInt(e))}},playbackRateValue:{get(){return this.playbackRate},set(e){this.$emit("change-playback-rate",parseFloat(e))}},framesValue:{get(){return this.items.find((e=>e.text===`${this.framesPerRow}x${this.numberOfRows}`)).value},set(e){this.$emit("set-frames-selection",e)}},timeRules(){return[e=>e>="02:30:00"&&e<="26:29:59"||this.$i18n.t("form.mustBeBetween")]}},methods:{prevFormat(){this.items.find((e=>e.value===this.framesValue-1))&&this.framesValue--},nextFormat(){this.items.find((e=>e.value===this.framesValue+1))&&this.framesValue++},changePlaybackRate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;1===e?this.$refs.playbackRateInput.stepUp():-1===e&&this.$refs.playbackRateInput.stepDown(),this.playbackRateValue=this.$refs.playbackRateInput.value},closeBlocksDialog(){Object.entries(this.rangeBlocks).forEach((e=>{let[t,n]=e;if(!n||"date"==t)return;var r=n.replace(/\D/g,"");if(r.length<6)for(let s=r.length;s<6;s++)r+="0";r.match(/.{1,2}/g);let i=r.substring(0,2),o=r.substring(2,4),a=r.substring(4,6);this.rangeBlocks[t]=i+":"+o+":"+a})),this.openBlocksDialog=!1,this.$emit("goToBlockInterval",this.rangeBlocks)}},watch:{dialogsVisibility:{handler(){for(const t of Object.values(this.$refs))t.close?.();const e=Object.keys(this.dialogsVisibility).find((e=>this.dialogsVisibility[e]));e&&this.$refs[e].showModal()},deep:!0}}},Fn=In,Hn=p(Fn,Tn,En,!1,null,"bf2f3c16",null),Vn=Hn.exports;const Un=Object.freeze({previous:0,current:1,next:2});var Wn={name:"visualization-container",props:{date:{type:String,required:!0},channel:{type:Number,required:!0},active:{type:Boolean,required:!0},activeTab:{type:Boolean},startAudienceTime:{type:String,required:!0},videoProgressBar:{type:Boolean,default:!1},jumpOnInsert:{type:Boolean,default:!1},framesFormat:{type:[Number,String],default:6},size:{type:Number}},components:{Frame:m,CommandBar:hn,InfoBar:_n,VideoProgress:Cn,Settings:Vn},data(){return{Positions:Un,updatingChannel:null,dialog:!1,timeLastBlock:null,alternativeServer:!1,useCache:!0,numberOfRows:1,framesPerRow:5,secondsPerFrame:1,fInterface:null,velocity:1,frames:[],previousFrames:[],nextFrames:[],channelCode:0,videoPlaying:!1,activeFrame:null,activeVideo:null,videoTime:0,videoTotalTime:null,progressVideoDrag:!1,hourIniSelected:!1,hourEndSelected:!1,canInsertTime:!1,lastHeight:0,loopInterval:null,nextLoop:!1,prevLoop:!1,videoSliderTotalDuration:900,blockStartTime:null,media:null,changeServer:!1,userMultiTabsGrid:!1,userMultiTabsGridsModel:!0,playbackRate:1,paused:!1,commandBarShow:!0,dialogs:{playbackRate:!1,goTo:!1,secondsPerFrame:!1,frames:!1}}},async created(){this.changeServer="alternative"===this.serverOfFrames,this.alternativeServer="alternative"===this.serverOfFrames;const e=[{framesPerRow:2,numberOfRows:1},{framesPerRow:3,numberOfRows:1},{framesPerRow:3,numberOfRows:2},{framesPerRow:4,numberOfRows:1},{framesPerRow:4,numberOfRows:2},{framesPerRow:5,numberOfRows:1},{framesPerRow:5,numberOfRows:2},{framesPerRow:6,numberOfRows:1},{framesPerRow:6,numberOfRows:2}],t=e[parseInt(this.framesFormat)-1];this.framesPerRow=t.framesPerRow,this.numberOfRows=t.numberOfRows,await this.createFramesInterface(),this.size&&this.resize(this.size,!0)},methods:{framesClicked(e){"insert"!=e.target.id&&this.$emit("click")},async goToStartBlock(){try{const e=new Date;let t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());const n=(await en.getNextAvailableBlock({channel:this.channel,time:t/1e3})).data;this.dialog=!1,this.changeHour(this.convertToAudienceTime(n.data.start,":"))}catch(e){console.error(e)}},async checkAvailableBlock(){try{const e=new Date;let t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());const n=(await en.getNextAvailableBlock({channel:this.channel,time:t/1e3})).data;this.timeLastBlock=this.convertToAudienceTime(n.data.end,":"),this.dialog=!0,n.status||(this.timeLastBlock="N/D")}catch(e){console.error(e)}},updateSlider(e,t){(t<this.blockStartTime||t>this.blockStartTime||e>this.blockStartTime+this.videoSliderTotalDuration)&&(this.blockStartTime=e,this.videoSliderTotalDuration=900)},nextLoopActivate(){this.breakLoop(),this.loopInterval=setInterval(this.next,40),setTimeout((()=>{this.nextLoop=!0}),0)},prevLoopActivate(){this.breakLoop(),this.loopInterval=setInterval(this.prev,40),setTimeout((()=>{this.prevLoop=!0}),0)},breakLoop(){clearInterval(this.loopInterval),this.loopInterval=null,this.nextLoop=!1,this.prevLoop=!1},changePlayPause(e){this.paused=!e},resize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastHeight,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(2===this.numberOfRows&&t&&(e*=1.5),this.lastHeight=e,this.$refs.frames)for(let n of this.$refs.frames)n.resize(e);this.$emit("resized")},async goToFirstFrame(){let e=this.$refs.frames,t=null;if(e.length>0){let n=e[0].frame;t=this.getAudienceTime(n.time,0,0,0)}if(t){const[e,n,r]=t.split(":"),i=3600*parseInt(e)+60*parseInt(n)+parseInt(r);i>=9e3?this.changeHour(this.getLastFirtsBlockTime(t,!0)):this.changeHour(this.getLastFirtsBlockTime("02:30:00",!0))}},async goToLastFrame(){let e=this.$refs.frames,t=null;if(e.length>0){let n=e[0].frame;t=this.getAudienceTime(n.time,0,0,0)}t&&this.changeHour(this.getLastFirtsBlockTime(t))},getLastFirtsBlockTime(e){let t,n,r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const o=e.match(/.{1,2}/g);return o[0]&&o[1]&&(t=parseInt(o[0]),n=parseInt(o[1])),r=t<26?n<15?i?o[0]+":00:00":o[0]+":14:59":n<30?i?o[0]+":15:00":o[0]+":29:59":n<45?i?o[0]+":30:00":o[0]+":44:59":i?o[0]+":45:00":o[0]+":59:59":n<15?i?"26:00:00":"26:14:59":i?"26:15:00":"26:29:59",r},openBlocks(){this.$refs.settings2?.openBlocks()},playOrPause(){const e=this.$refs.frames.filter((e=>!!e.active));if(1===e.length){const t=e[0];t.playOrPause(this.playbackRate)}},stopPlayingBar(){for(let e of this.$refs.frames)e.videoStatus!==e.Status.playing&&e.videoStatus!==e.Status.paused||e.stop(!1)},async setFrameSelection(e){switch(this.frames=this.loadingArray,parseInt(e)){case 1:this.framesPerRow=2,this.numberOfRows=1;break;case 2:this.framesPerRow=3,this.numberOfRows=1;break;case 3:this.framesPerRow=3,this.numberOfRows=2;break;case 4:this.framesPerRow=4,this.numberOfRows=1;break;case 5:this.framesPerRow=4,this.numberOfRows=2;break;case 6:this.framesPerRow=5,this.numberOfRows=1;break;case 7:this.framesPerRow=5,this.numberOfRows=2;break;case 8:this.framesPerRow=6,this.numberOfRows=1;break;case 9:this.framesPerRow=6,this.numberOfRows=2;break}await this.fInterface.changeSize(this.numberOfRows,this.framesPerRow),this.getFramesArray(),setTimeout((()=>{for(let e of this.$refs.frames)e?.resize(this.lastHeight)}),150)},getFramesArray(){this.frames=this.fInterface.getFrames(Un.current),this.nextFrames=this.fInterface.getFrames(Un.next),this.previousFrames=this.fInterface.getFrames(Un.previous)},async createFramesInterface(){this.frames=this.loadingArray;let e=this.channel,t={1735073:1,1735074:139,1735075:3,1735076:132};this.channelCode=t[e]?t[e]:e;const n=this.startAudienceTime.match(/.{1,2}/g),r=this.getDateParts(),i=Date.UTC(r.year,r.month,r.day,n[0],n[1],n[2])/1e3;this.blockStartTime=i,this.fInterface=await new ln(this.channelCode,this.numberOfRows,this.framesPerRow,i,this.startAudienceTime,this.useCache),await this.fInterface.init(),this.getFramesArray(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null},getIndex(e,t,n){let r=this.framesPerRow*this.numberOfRows*n,i=this.framesPerRow*this.numberOfRows*(n+1);return(r+i*(e-1))/e+t},getAudienceTime(e,t,n,r){return e?this.getIndex(t,n,r)===this.activeVideo?this.convertToAudienceTime(this.videoTime):this.convertToAudienceTime(e):"Loading..."},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n},convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},selectFrame(e,t){const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3,i=t?.time;if(i-(this.startAudienceSeconds+r)<=0&&(!0===this.hourIniSelected?(this.hourIniSelected=i,this.hourEndSelected&&this.hourIniSelected>this.hourEndSelected&&(this.hourEndSelected=!1)):!0===this.hourEndSelected&&(i>this.hourIniSelected?(this.hourEndSelected=i,this.canInsertTime=!0):this.hourEndSelected=!1)),this.activeFrame!==e){const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing));if(1===t.length){const e=t[0];e.playOrPause()}this.activeVideo=null,this.activeFrame=e}},setHourIni(){this.canInsertTime=!0,this.hourIniSelected=!0,document.getElementById(`frame-${this.activeFrame}`).click(),this.$emit("setHourIni",{hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null})},setHourEnd(){this.canInsertTime=!0,this.hourEndSelected=!0,document.getElementById(`frame-${this.activeFrame}`).click()},arrowRight(){this.checkLimitRight(!1)&&(this.activeFrame===this.numberOfRows*this.framesPerRow*2-1?this.next():this.activeFrame++)},arrowLeft(){this.checkLimitLeft(!1)&&(this.activeFrame===this.numberOfRows*this.framesPerRow?this.prev():this.activeFrame--)},checkLimitRight(e){const t=this.getDateParts(),n=Date.UTC(t.year,t.month,t.day,26,29,59);return e?n>1e3*(this.fInterface.getCurrentTime()-1)&&-1!==this.nextFrames[0].title:n>1e3*this.fInterface.getCurrentTime()},checkLimitLeft(e){const t=this.getDateParts(),n=Date.UTC(t.year,t.month,t.day,2,30,0);return e?n<=1e3*(this.fInterface.getCurrentTime()-1):n<1e3*(this.fInterface.getCurrentTime()+this.activeFrame-this.numberOfRows*this.framesPerRow)},async next(){if(this.checkLimitRight(!0)){const e=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===e.length){const t=e[0];t.stop(!1)}this.fInterface.setCurrentStep(this.secondsPerFrame),await this.fInterface.loadNextFrames(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null,this.getFramesArray()}},async prev(){if(this.checkLimitLeft(!0)){const e=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===e.length){const t=e[0];t.stop(!1)}this.fInterface.setCurrentStep(this.secondsPerFrame),await this.fInterface.loadPrevFrames(),this.activeFrame=this.getIndex(this.numberOfRows,this.framesPerRow-1,Un.current),this.activeVideo=null,this.getFramesArray()}},async setStartTime(e){-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const t=e.match(/.{1,2}/g),n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,t[0],t[1],t[2])/1e3;return this.frames=this.loadingArray,await this.fInterface.changeTime(r),this.getFramesArray(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null,!0},hourToTimeStamp(e){-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const t=e.match(/.{1,2}/g),n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,t[0],t[1],t[2])/1e3;return r},async changeHour(e){e&&setTimeout((()=>{const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===t.length){const e=t[0];e.stop(!1)}this.setStartTime(e,!0)}),0)},changeBlockInterval(e){let t,n;this.changeHour(e.ini),t=this.hourToTimeStamp(e.ini),n=this.hourToTimeStamp(e.end),this.videoSliderTotalDuration=n-t,this.$refs.frames[0].changeSettings(t),this.blockStartTime=t},async updateVideoTime(e,t){this.activeVideo=e,this.videoTime=t},updateVideoStatus(e){this.progressVideoDrag},async startPlaying(e,t){const n=this.$refs.frames.filter((t=>t.frame.time!==e.time));for(let r of n)r.videoStatus!==r.Status.playing&&r.videoStatus!==r.Status.paused||r.stop(!1);this.videoTotalTime=t,this.videoPlaying=!0},stopPlaying(){this.videoTotalTime=null,this.videoPlaying=!1,this.paused=!1},insertTime(){this.$emit("timeToInsert",{channel:this.channel,hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null,hour_end:this.hourEndSelected?this.convertToAudienceTime(this.hourEndSelected,""):null,force:!1}),this.jumpOnInsert&&this.changeHour(this.convertToAudienceTime((this.hourEndSelected||this.hourIniSelected)+1)),this.hourIniSelected=null,this.hourEndSelected=null,this.canInsertTime=!1},insertTimeForce(){this.$emit("timeToInsert",{channel:this.channel,hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null,hour_end:this.hourEndSelected?this.convertToAudienceTime(this.hourEndSelected,""):null,force:!0}),this.hourIniSelected=null,this.hourEndSelected=null,this.canInsertTime=!1},async getChannelMedia(){},async changeServerClick(){this.changeServer=!this.changeServer,sessionStorage.setItem("serverOfFrames",this.changeServer?"alternative":"default"),location.reload()}},computed:{sizeComputed(){return this.size},settingsClosed(){return!Object.values(this.dialogs).find((e=>e))},startAudienceSeconds(){const e=this.startAudienceTime.match(/.{1,2}/g);return parseInt(3600*e[0]+60*e[1]+e[2])},loadingArray(){return Array.from(Array(this.numberOfRows*this.framesPerRow).keys())},serverOfFrames(){return sessionStorage.getItem("server")}},watch:{framesFormat(e){this.setFrameSelection(e)},activeTab(){this.hourIniSelected=!1,this.hourEndSelected=!1},useCache(){this.createFramesInterface()},hourIniSelected(e){e?sessionStorage.setItem("currentTimeFrames",this.convertToAudienceTime(this.hourIniSelected,"")):sessionStorage.removeItem("currentTimeFrames")},activeFrame(e){e&&this.stopPlayingBar()},channel(){this.updatingChannel=new Promise(((e,t)=>{try{this.createFramesInterface(),e(!0)}catch(n){t(n)}}))}}},qn=Wn,Yn=p(qn,i,o,!1,null,"b542f254",null),Xn=Yn.exports;function Gn(e){return Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(e)}function Kn(e,t){if("object"!==Gn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Gn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Jn(e){var t=Kn(e,"string");return"symbol"===Gn(t)?t:String(t)}function Qn(e,t,n){return t=Jn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jn(r.key),r)}}function tr(e,t,n){return t&&er(e.prototype,t),n&&er(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
7
+ !function(t,n){e.exports=n()}(0,(function(){"use strict";var e=function(e){try{return!!e()}catch(e){return!0}},t=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function i(e,t){return e(t={exports:{}},t.exports),t.exports}var o=function(e){return e&&e.Math==Math&&e},a=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof r&&r)||Function("return this")(),s=/#|\.prototype\./,l=function(t,n){var r=u[c(t)];return r==d||r!=f&&("function"==typeof n?e(n):!!n)},c=l.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=l.data={},f=l.NATIVE="N",d=l.POLYFILL="P",p=l,h=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=a.document,v=h(m)&&h(m.createElement),g=function(e){return v?m.createElement(e):{}},y=!t&&!e((function(){return 7!=Object.defineProperty(g("div"),"a",{get:function(){return 7}}).a})),b=function(e){if(!h(e))throw TypeError(String(e)+" is not an object");return e},_=function(e,t){if(!h(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!h(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!h(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!h(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w=Object.defineProperty,x={f:t?w:function(e,t,n){if(b(e),t=_(t,!0),b(n),y)try{return w(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=t?function(e,t,n){return x.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},O={}.hasOwnProperty,C=function(e,t){return O.call(e,t)},T=function(e,t){try{k(a,e,t)}catch(r){a[e]=t}return t},E=a["__core-js_shared__"]||T("__core-js_shared__",{}),A=Function.toString;"function"!=typeof E.inspectSource&&(E.inspectSource=function(e){return A.call(e)});var P,L,j,D=E.inspectSource,R=a.WeakMap,z="function"==typeof R&&/native code/.test(D(R)),N=i((function(e){(e.exports=function(e,t){return E[e]||(E[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),$=0,M=Math.random(),B=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++$+M).toString(36)},I=N("keys"),F=function(e){return I[e]||(I[e]=B(e))},H={},V=a.WeakMap;if(z){var U=new V,W=U.get,q=U.has,Y=U.set;P=function(e,t){return Y.call(U,e,t),t},L=function(e){return W.call(U,e)||{}},j=function(e){return q.call(U,e)}}else{var X=F("state");H[X]=!0,P=function(e,t){return k(e,X,t),t},L=function(e){return C(e,X)?e[X]:{}},j=function(e){return C(e,X)}}var G,K={set:P,get:L,has:j,enforce:function(e){return j(e)?L(e):P(e,{})},getterFor:function(e){return function(t){var n;if(!h(t)||(n=L(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},J=i((function(e){var t=K.get,n=K.enforce,r=String(String).split("String");(e.exports=function(e,t,i,o){var s=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof t||C(i,"name")||k(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e!==a?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:k(e,t,i)):l?e[t]=i:T(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||D(this)}))})),Q={}.toString,Z=function(e){return Q.call(e).slice(8,-1)},ee=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return b(n),function(e){if(!h(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),te="".split,ne=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==Z(e)?te.call(e,""):Object(e)}:Object,re=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},ie=function(e){return ne(re(e))},oe=Math.ceil,ae=Math.floor,se=function(e){return isNaN(e=+e)?0:(e>0?ae:oe)(e)},le=Math.min,ce=function(e){return e>0?le(se(e),9007199254740991):0},ue=Math.max,fe=Math.min,de=function(e){return function(t,n,r){var i,o=ie(t),a=ce(o.length),s=function(e,t){var n=se(e);return n<0?ue(n+t,0):fe(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},pe={includes:de(!0),indexOf:de(!1)}.indexOf,he=function(e,t){var n,r=ie(e),i=0,o=[];for(n in r)!C(H,n)&&C(r,n)&&o.push(n);for(;t.length>i;)C(r,n=t[i++])&&(~pe(o,n)||o.push(n));return o},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ve=Object.keys||function(e){return he(e,me)},ge=t?Object.defineProperties:function(e,t){b(e);for(var n,r=ve(t),i=r.length,o=0;i>o;)x.f(e,n=r[o++],t[n]);return e},ye=a,be=function(e){return"function"==typeof e?e:void 0},_e=function(e,t){return arguments.length<2?be(ye[e])||be(a[e]):ye[e]&&ye[e][t]||a[e]&&a[e][t]},we=_e("document","documentElement"),xe=F("IE_PROTO"),Se=function(){},ke=function(e){return"<script>"+e+"<\/script>"},Oe=function(){try{G=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Oe=G?function(e){e.write(ke("")),e.close();var t=e.parentWindow.Object;return e=null,t}(G):((t=g("iframe")).style.display="none",we.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ke("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete Oe.prototype[me[n]];return Oe()};H[xe]=!0;var Ce=Object.create||function(e,t){var n;return null!==e?(Se.prototype=b(e),n=new Se,Se.prototype=null,n[xe]=e):n=Oe(),void 0===t?n:ge(n,t)},Te=me.concat("length","prototype"),Ee={f:Object.getOwnPropertyNames||function(e){return he(e,Te)}},Ae={}.propertyIsEnumerable,Pe=Object.getOwnPropertyDescriptor,Le={f:Pe&&!Ae.call({1:2},1)?function(e){var t=Pe(this,e);return!!t&&t.enumerable}:Ae},je=Object.getOwnPropertyDescriptor,De={f:t?je:function(e,t){if(e=ie(e),t=_(t,!0),y)try{return je(e,t)}catch(e){}if(C(e,t))return S(!Le.f.call(e,t),e[t])}},Re="[\t\n\v\f\r                 \u2028\u2029\ufeff]",ze=RegExp("^"+Re+Re+"*"),Ne=RegExp(Re+Re+"*$"),$e=function(e){return function(t){var n=String(re(t));return 1&e&&(n=n.replace(ze,"")),2&e&&(n=n.replace(Ne,"")),n}},Me={start:$e(1),end:$e(2),trim:$e(3)},Be=Ee.f,Ie=De.f,Fe=x.f,He=Me.trim,Ve=a.Number,Ue=Ve.prototype,We="Number"==Z(Ce(Ue)),qe=function(e){var t,n,r,i,o,a,s,l,c=_(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=He(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+c};if(p("Number",!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Ye,Xe=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof Xe&&(We?e((function(){Ue.valueOf.call(r)})):"Number"!=Z(r))?function(e,t,n){var r,i;return ee&&"function"==typeof(r=t.constructor)&&r!==n&&h(i=r.prototype)&&i!==n.prototype&&ee(e,i),e}(new Ve(qe(n)),r,Xe):qe(n)},Ge=t?Be(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ke=0;Ge.length>Ke;Ke++)C(Ve,Ye=Ge[Ke])&&!C(Xe,Ye)&&Fe(Xe,Ye,Ie(Ve,Ye));Xe.prototype=Ue,Ue.constructor=Xe,J(a,"Number",Xe)}var Je=function(e,t,n,r,i,o,a,s,l,c){"boolean"!=typeof a&&(l=s,s=a,a=!1);var u,f="function"==typeof n?n.options:n;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),r&&(f._scopeId=r),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=u):t&&(u=a?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),u)if(f.functional){var d=f.render;f.render=function(e,t){return u.call(t),d(e,t)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return n},Qe=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 50 50","xml:space":"preserve"}},[t("path",{attrs:{fill:this.color,d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),Ze=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 40 40","enable-background":"new 0 0 40 40","xml:space":"preserve"}},[t("path",{attrs:{opacity:"0.2",fill:this.color,d:"M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946\n s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634\n c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"}}),this._v(" "),t("path",{attrs:{fill:this.color,d:"M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0\n C22.32,8.481,24.301,9.057,26.013,10.047z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 20 20",to:"360 20 20",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"ring",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),et=Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:this.size,height:this.size,viewBox:"0 0 50 50","xml:space":"preserve"}},[t("path",{attrs:{fill:this.color,d:"M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z"}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:this.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"mini-spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),tt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"10",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"20",y:"0",width:"4",height:"10",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"translate",values:"0 0; 0 20; 0 0",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"line-wave",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),nt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"10",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"20",y:"13",width:"4",height:"5",fill:e.color}},[n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"5;21;5",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"13; 5; 13",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"line-scale",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),rt=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 24","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"10",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})],1),e._v(" "),n("rect",{attrs:{x:"20",y:"0",width:"4",height:"7",fill:e.color}},[n("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"scale",values:"1,1; 1,3; 1,1",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},void 0,{name:"line-down",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),it=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"7",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0.2s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"14",y:"0",width:"4",height:"20",fill:e.color}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"1; .2; 1",begin:"0.4s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"bar-fade",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),ot=Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticStyle:{"enable-background":"new 0 0 50 50"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:e.size,height:e.size,viewBox:"0 0 24 30","xml:space":"preserve"}},[n("rect",{attrs:{x:"0",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"8",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.15s",dur:e.duration,repeatCount:"indefinite"}})]),e._v(" "),n("rect",{attrs:{x:"16",y:"10",width:"4",height:"10",fill:e.color,opacity:"0.2"}},[n("animate",{attrs:{attributeName:"opacity",attributeType:"XML",values:"0.2; 1; .2",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"height",attributeType:"XML",values:"10; 20; 10",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}}),e._v(" "),n("animate",{attrs:{attributeName:"y",attributeType:"XML",values:"10; 5; 10",begin:"0.3s",dur:e.duration,repeatCount:"indefinite"}})])])},staticRenderFns:[]},void 0,{name:"bar-fade-scale",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"}}},void 0,!1,void 0,void 0,void 0),at={f:Object.getOwnPropertySymbols},st=_e("Reflect","ownKeys")||function(e){var t=Ee.f(b(e)),n=at.f;return n?t.concat(n(e)):t},lt=function(e,t){for(var n=st(t),r=x.f,i=De.f,o=0;o<n.length;o++){var a=n[o];C(e,a)||r(e,a,i(t,a))}},ct=De.f;function ut(e,t){return RegExp(e,t)}var ft,dt,pt={UNSUPPORTED_Y:e((function(){var e=ut("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:e((function(){var e=ut("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},ht=RegExp.prototype.exec,mt=String.prototype.replace,vt=ht,gt=(ft=/a/,dt=/b*/g,ht.call(ft,"a"),ht.call(dt,"a"),0!==ft.lastIndex||0!==dt.lastIndex),yt=pt.UNSUPPORTED_Y||pt.BROKEN_CARET,bt=void 0!==/()??/.exec("")[1];(gt||bt||yt)&&(vt=function(e){var t,n,r,i,o=this,a=yt&&o.sticky,s=function(){var e=b(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(o),l=o.source,c=0,u=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),bt&&(n=new RegExp("^"+l+"$(?!\\s)",s)),gt&&(t=o.lastIndex),r=ht.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:gt&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),bt&&r&&r.length>1&&mt.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var _t=vt;!function(e,t){var n,r,i,o,s,l=e.target,c=e.global,u=e.stat;if(n=c?a:u?a[l]||T(l,{}):(a[l]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(s=ct(n,r))&&s.value:n[r],!p(c?r:l+(u?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;lt(o,i)}(e.sham||i&&i.sham)&&k(o,"sham",!0),J(n,r,o,e)}}({target:"RegExp",proto:!0,forced:/./.exec!==_t},{exec:_t});var wt=!!Object.getOwnPropertySymbols&&!e((function(){return!String(Symbol())})),xt=wt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=N("wks"),kt=a.Symbol,Ot=xt?kt:kt&&kt.withoutSetter||B,Ct=function(e){return C(St,e)||(wt&&C(kt,e)?St[e]=kt[e]:St[e]=Ot("Symbol."+e)),St[e]},Tt=Ct("species"),Et=!e((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),At="$0"==="a".replace(/./,"$0"),Pt=Ct("replace"),Lt=!!/./[Pt]&&""===/./[Pt]("a","$0"),jt=!e((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Dt=function(e){return Object(re(e))},Rt=function(e){return function(t,n){var r,i,o=String(re(t)),a=se(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},zt={codeAt:Rt(!1),charAt:Rt(!0)}.charAt,Nt=function(e,t,n){return t+(n?zt(e,t).length:1)},$t=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==Z(e))throw TypeError("RegExp#exec called on incompatible receiver");return _t.call(e,t)},Mt=Math.max,Bt=Math.min,It=Math.floor,Ft=/\$([$&'`]|\d\d?|<[^>]*>)/g,Ht=/\$([$&'`]|\d\d?)/g;!function(t,n,r,i){var o=Ct(t),a=!e((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),s=a&&!e((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Tt]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!a||!s||"replace"===t&&(!Et||!At||Lt)||"split"===t&&!jt){var l=/./[o],c=r(o,""[t],(function(e,t,n,r,i){return t.exec===_t?a&&!i?{done:!0,value:l.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:At,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Lt}),u=c[0],f=c[1];J(String.prototype,t,u),J(RegExp.prototype,o,2==n?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}i&&k(RegExp.prototype[o],"sham",!0)}("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=re(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var l=n(t,e,this,r);if(l.done)return l.value}var c=b(e),u=String(this),f="function"==typeof r;f||(r=String(r));var d=c.global;if(d){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var m=$t(c,u);if(null===m)break;if(h.push(m),!d)break;""===String(m[0])&&(c.lastIndex=Nt(u,ce(c.lastIndex),p))}for(var v,g="",y=0,_=0;_<h.length;_++){m=h[_];for(var w=String(m[0]),x=Mt(Bt(se(m.index),u.length),0),S=[],k=1;k<m.length;k++)S.push(void 0===(v=m[k])?v:String(v));var O=m.groups;if(f){var C=[w].concat(S,x,u);void 0!==O&&C.push(O);var T=String(r.apply(void 0,C))}else T=s(w,u,x,S,O,r);x>=y&&(g+=u.slice(y,x)+T,y=x+w.length)}return g+u.slice(y)}];function s(e,n,r,i,o,a){var s=r+e.length,l=i.length,c=Ht;return void 0!==o&&(o=Dt(o),c=Ft),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>l){var f=It(u/10);return 0===f?t:f<=l?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var Vt={Spinner:Qe,Ring:Ze,MiniSpinner:et,LineWave:tt,LineScale:nt,LineDown:rt,BarFade:it,BarFadeScale:ot,Custom:Je({render:function(){var e=this.$createElement;return(this._self._c||e)("div",{domProps:{innerHTML:this._s(this.svgCode)}})},staticRenderFns:[]},void 0,{name:"spinner",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40px"},duration:{type:String,default:"0.6s"},svg:{type:String,default:'<svg version="1.1" id="loader-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="{size}" height="{size}" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve"><path fill="{color}" d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"><animateTransform attributeType="xml" attributeName="transform" type="rotate" from="0 25 25" to="360 25 25" dur="{duration}" repeatCount="indefinite" /></path></svg>'}},computed:{svgCode:function(){return this.svg.replace(/{color}/g,this.color).replace(/{size}/g,this.size).replace(/{duration}/g,this.duration)}}},void 0,!1,void 0,void 0,void 0)},Ut={name:"cog",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.4s"}}},Wt="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()),qt=document.head||document.getElementsByTagName("head")[0],Yt={},Xt=function(e){return function(e,t){return function(e,t){var n=Wt?t.media||"default":e,r=Yt[n]||(Yt[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),qt.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(i),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var o=r.ids.size-1,a=document.createTextNode(i),s=r.element.childNodes;s[o]&&r.element.removeChild(s[o]),s.length?r.element.insertBefore(a,s[o]):r.element.appendChild(a)}}}(e,t)}},Gt={Cog:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:this.size,width:this.size,viewBox:"0 0 640 512"}},[t("path",{attrs:{fill:this.color,d:"M 493.14258 0.11328125 C 491.69414 0.11953125 490.22578 0.37539062 488.80078 0.90039062 C 477.10078 5.3003906 466.19922 11.6 456.69922 19.5 C 451.99922 23.3 450.90039 29.999219 453.90039 35.199219 L 462.09961 49.5 C 455.19961 57.5 449.79922 66.800391 446.19922 76.900391 L 429.69922 76.900391 C 423.69922 76.900391 418.5 81.300781 417.5 87.300781 C 415.4 99.800781 415.5 112.40039 417.5 124.40039 C 418.5 130.40039 423.69922 134.69922 429.69922 134.69922 L 446.19922 134.69922 C 449.79922 144.79922 455.19961 154.09961 462.09961 162.09961 L 453.90039 176.40039 C 450.90039 181.60039 452.09922 188.29961 456.69922 192.09961 C 466.19922 199.99961 477.00078 206.29922 488.80078 210.69922 C 494.50078 212.79922 500.90039 210.60078 503.90039 205.30078 L 512.09961 191 C 522.59961 192.9 533.40078 192.9 543.80078 191 L 552 205.30078 C 555 210.60078 561.39961 212.79922 567.09961 210.69922 C 578.79961 206.29922 589.69922 199.99961 599.19922 192.09961 C 603.89922 188.29961 605 181.60039 602 176.40039 L 593.80078 162.09961 C 600.70078 154.09961 606.09922 144.79922 609.69922 134.69922 L 626.19922 134.69922 C 632.19922 134.69922 637.40039 130.30078 638.40039 124.30078 C 640.50039 111.80078 640.40039 99.199219 638.40039 87.199219 C 637.40039 81.199219 632.19922 76.900391 626.19922 76.900391 L 609.69922 76.900391 C 606.09922 66.800391 600.70078 57.5 593.80078 49.5 L 602 35.199219 C 605 29.999219 603.79922 23.3 599.19922 19.5 C 589.69922 11.6 578.89961 5.3003906 567.09961 0.90039062 C 561.39961 -1.1996094 555 1.0007813 552 6.3007812 L 543.80078 20.599609 C 533.30078 18.699609 522.59961 18.699609 512.09961 20.599609 L 503.90039 6.3007812 C 501.65039 2.3257813 497.48789 0.09453125 493.14258 0.11328125 z M 527.45508 69.642578 C 536.05597 69.52626 545.37695 72.439453 554.40039 79.400391 C 584.00039 117.90039 540.09961 161.79922 501.59961 132.19922 C 478.93711 102.72266 499.35883 70.022549 527.45508 69.642578 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 528 108",to:"-360 528 108",dur:"1s",repeatCount:"indefinite"}})],1),this._v(" "),t("path",{attrs:{fill:this.color,d:"M 215.26172 30.363281 C 202.52422 30.400781 189.89961 31.499609 177.59961 33.599609 C 166.19961 35.599609 158 45.599609 158 57.099609 L 158 90.800781 C 137.7 97.900781 119.09961 108.8 103.09961 122.5 L 74 105.69922 C 63.9 99.899219 51.099219 102.1 43.699219 111 C 27.499219 130.4 10.4 152.60078 1.5 176.80078 C -2.6 187.70078 1.9 200.00078 12 205.80078 L 45.300781 222.69922 C 41.400781 243.69922 41.400781 265.19961 45.300781 286.09961 L 12 302.90039 C 1.9 308.80039 -2.5 321.1 1.5 332 C 10.4 356.1 27.499219 378.29922 43.699219 397.69922 C 51.099219 406.59922 64 408.8 74 403 L 103.09961 386.30078 C 119.09961 400.00078 137.7 410.8 158 418 L 158 451.59961 C 158 463.29961 166.5 473.19922 178 475.19922 C 203.5 479.59922 229.30039 479.39922 253.90039 475.19922 C 265.30039 473.19922 273.59961 463.19961 273.59961 451.59961 L 273.59961 418 C 293.89961 410.9 312.5 400.00078 328.5 386.30078 L 357.59961 403.09961 C 367.69961 408.89961 380.50039 406.70078 387.90039 397.80078 C 404.10039 378.40078 421.6 356.2 430.5 332 C 434.5 321 430.1 308.70039 420 302.90039 L 386.30078 286.09961 C 390.20078 265.09961 390.20078 243.59961 386.30078 222.59961 L 420 205.80078 C 430.1 199.90078 434 187.59922 430 176.69922 C 421.1 152.49922 404.10039 130.30039 387.90039 110.90039 C 380.50039 102.00039 367.59961 99.799609 357.59961 105.59961 L 328.5 122.40039 C 312.5 108.70039 293.89961 97.899219 273.59961 90.699219 L 273.59961 57.099609 C 273.59961 45.399609 265.09961 35.5 253.59961 33.5 C 240.84961 31.35 227.99922 30.325781 215.26172 30.363281 z M 216.90234 182.08203 C 273.12232 182.90426 314.02422 248.24609 268.69922 307.19922 C 191.69922 366.39922 103.8 278.5 163 201.5 C 181.04688 187.625 199.69215 181.83033 216.90234 182.08203 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 216 257",to:"360 216 257",dur:"3.8s",repeatCount:"indefinite"}})],1),this._v(" "),t("path",{attrs:{fill:this.color,d:"M 493.14258 299.01172 C 491.69414 299.01797 490.22578 299.27578 488.80078 299.80078 C 477.10078 304.20078 466.19922 310.50039 456.69922 318.40039 C 451.99922 322.20039 450.90039 328.89961 453.90039 334.09961 L 462.09961 348.40039 C 455.19961 356.40039 449.79922 365.70078 446.19922 375.80078 L 429.69922 375.80078 C 423.69922 375.80078 418.5 380.19922 417.5 386.19922 C 415.4 398.69922 415.5 411.30078 417.5 423.30078 C 418.5 429.30078 423.69922 433.59961 429.69922 433.59961 L 446.19922 433.59961 C 449.79922 443.69961 455.19961 453 462.09961 461 L 453.90039 475.30078 C 450.90039 480.50078 452.09922 487.2 456.69922 491 C 466.19922 498.9 477.00078 505.19961 488.80078 509.59961 C 494.50078 511.69961 500.90039 509.49922 503.90039 504.19922 L 512.09961 489.90039 C 522.59961 491.80039 533.40078 491.80039 543.80078 489.90039 L 552 504.19922 C 555 509.49922 561.39961 511.69961 567.09961 509.59961 C 578.79961 505.19961 589.69922 498.9 599.19922 491 C 603.89922 487.2 605 480.50078 602 475.30078 L 593.80078 461 C 600.70078 453 606.09922 443.69961 609.69922 433.59961 L 626.19922 433.59961 C 632.19922 433.59961 637.40039 429.19922 638.40039 423.19922 C 640.50039 410.69922 640.40039 398.09961 638.40039 386.09961 C 637.40039 380.09961 632.19922 375.80078 626.19922 375.80078 L 609.69922 375.80078 C 606.09922 365.70078 600.70078 356.40039 593.80078 348.40039 L 602 334.09961 C 605 328.89961 603.79922 322.20039 599.19922 318.40039 C 589.69922 310.50039 578.89961 304.20078 567.09961 299.80078 C 561.39961 297.70078 555 299.89922 552 305.19922 L 543.80078 319.5 C 533.30078 317.6 522.59961 317.6 512.09961 319.5 L 503.90039 305.19922 C 501.65039 301.22422 497.48789 298.99297 493.14258 299.01172 z M 527.45508 368.48438 C 536.05597 368.36273 545.37695 371.26172 554.40039 378.19922 C 584.00039 416.69922 540.09961 460.6 501.59961 431 C 478.93711 401.52344 499.35883 368.88175 527.45508 368.48438 z "}},[t("animateTransform",{attrs:{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 528 406",to:"-360 528 406",dur:"1s",repeatCount:"indefinite"}})],1)])},staticRenderFns:[]},(function(e){e&&e("data-v-26edad70_0",{source:"svg[data-v-26edad70]{margin-right:4px}",map:void 0,media:void 0})}),Ut,"data-v-26edad70",!1,void 0,Xt,void 0),Check:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{height:this.size,width:this.size,viewBox:"0 0 512 512"}},[t("path",{attrs:{fill:this.color,d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}})])},staticRenderFns:[]},(function(e){e&&e("data-v-6cebadfb_0",{source:"svg[data-v-6cebadfb]{margin-right:4px}",map:void 0,media:void 0})}),{name:"check",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.6s"}}},"data-v-6cebadfb",!1,void 0,Xt,void 0),Error:Je({render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{attrs:{height:this.size,width:this.size,viewBox:"0 0 352 512"}},[t("path",{attrs:{fill:this.color,d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}})])},staticRenderFns:[]},(function(e){e&&e("data-v-5b9d6835_0",{source:"svg[data-v-5b9d6835]{margin-right:4px}",map:void 0,media:void 0})}),{name:"error",props:{color:{type:String,default:"#CCC"},size:{type:String,default:"40"},duration:{type:String,default:"0.6s"}}},"data-v-5b9d6835",!1,void 0,Xt,void 0)},Kt=Object.freeze({});function Jt(e){return null==e}function Qt(e){return null!=e}function Zt(e){return!0===e}function en(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function tn(e){return null!==e&&"object"==typeof e}var nn=Object.prototype.toString;function rn(e){return"[object Object]"===nn.call(e)}function on(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function an(e){return Qt(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function sn(e){return null==e?"":Array.isArray(e)||rn(e)&&e.toString===nn?JSON.stringify(e,null,2):String(e)}function ln(e){var t=parseFloat(e);return isNaN(t)?e:t}function cn(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}cn("slot,component",!0);var un=cn("key,ref,slot,slot-scope,is");function fn(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var dn=Object.prototype.hasOwnProperty;function pn(e,t){return dn.call(e,t)}function hn(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var mn=/-(\w)/g,vn=hn((function(e){return e.replace(mn,(function(e,t){return t?t.toUpperCase():""}))})),gn=hn((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),yn=/\B([A-Z])/g,bn=hn((function(e){return e.replace(yn,"-$1").toLowerCase()})),_n=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function wn(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function xn(e,t){for(var n in t)e[n]=t[n];return e}function Sn(e){for(var t={},n=0;n<e.length;n++)e[n]&&xn(t,e[n]);return t}function kn(e,t,n){}var On=function(e,t,n){return!1},Cn=function(e){return e};function Tn(e,t){if(e===t)return!0;var n=tn(e),r=tn(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return Tn(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return Tn(e[n],t[n])}))}catch(e){return!1}}function En(e,t){for(var n=0;n<e.length;n++)if(Tn(e[n],t))return n;return-1}function An(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var Pn="data-server-rendered",Ln=["component","directive","filter"],jn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Dn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:On,isReservedAttr:On,isUnknownElement:On,getTagNamespace:kn,parsePlatformTagName:Cn,mustUseProp:On,async:!0,_lifecycleHooks:jn};function Rn(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var zn,Nn=new RegExp("[^"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+".$_\\d]"),$n="__proto__"in{},Mn="undefined"!=typeof window,Bn="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,In=Bn&&WXEnvironment.platform.toLowerCase(),Fn=Mn&&window.navigator.userAgent.toLowerCase(),Hn=Fn&&/msie|trident/.test(Fn),Vn=Fn&&Fn.indexOf("msie 9.0")>0,Un=Fn&&Fn.indexOf("edge/")>0,Wn=(Fn&&Fn.indexOf("android"),Fn&&/iphone|ipad|ipod|ios/.test(Fn)||"ios"===In),qn=(Fn&&/chrome\/\d+/.test(Fn),Fn&&/phantomjs/.test(Fn),Fn&&Fn.match(/firefox\/(\d+)/)),Yn={}.watch,Xn=!1;if(Mn)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){Xn=!0}}),window.addEventListener("test-passive",null,Gn)}catch(e){}var Kn=function(){return void 0===zn&&(zn=!Mn&&!Bn&&"undefined"!=typeof n.g&&n.g.process&&"server"===n.g.process.env.VUE_ENV),zn},Jn=Mn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Qn(e){return"function"==typeof e&&/native code/.test(e.toString())}var Zn,er="undefined"!=typeof Symbol&&Qn(Symbol)&&"undefined"!=typeof Reflect&&Qn(Reflect.ownKeys);Zn="undefined"!=typeof Set&&Qn(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var tr=kn,nr=0,rr=function(){this.id=nr++,this.subs=[]};rr.prototype.addSub=function(e){this.subs.push(e)},rr.prototype.removeSub=function(e){fn(this.subs,e)},rr.prototype.depend=function(){rr.target&&rr.target.addDep(this)},rr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},rr.target=null;var ir=[];function or(e){ir.push(e),rr.target=e}function ar(){ir.pop(),rr.target=ir[ir.length-1]}var sr=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},lr={child:{configurable:!0}};lr.child.get=function(){return this.componentInstance},Object.defineProperties(sr.prototype,lr);var cr=function(e){void 0===e&&(e="");var t=new sr;return t.text=e,t.isComment=!0,t};function ur(e){return new sr(void 0,void 0,void 0,String(e))}function fr(e){var t=new sr(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var dr=Array.prototype,pr=Object.create(dr);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=dr[e];Rn(pr,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var hr=Object.getOwnPropertyNames(pr),mr=!0;function vr(e){mr=e}var gr=function(e){var t;this.value=e,this.dep=new rr,this.vmCount=0,Rn(e,"__ob__",this),Array.isArray(e)?($n?(t=pr,e.__proto__=t):function(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];Rn(e,o,t[o])}}(e,pr,hr),this.observeArray(e)):this.walk(e)};function yr(e,t){var n;if(tn(e)&&!(e instanceof sr))return pn(e,"__ob__")&&e.__ob__ instanceof gr?n=e.__ob__:mr&&!Kn()&&(Array.isArray(e)||rn(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new gr(e)),t&&n&&n.vmCount++,n}function br(e,t,n,r,i){var o=new rr,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!i&&yr(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return rr.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!l||(l?l.call(e,t):n=t,c=!i&&yr(t),o.notify())}})}}function _r(e,t,n){if(Array.isArray(e)&&on(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(br(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function wr(e,t){if(Array.isArray(e)&&on(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||pn(e,t)&&(delete e[t],n&&n.dep.notify())}}gr.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)br(e,t[n])},gr.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)yr(e[t])};var xr=Dn.optionMergeStrategies;function Sr(e,t){if(!t)return e;for(var n,r,i,o=er?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],pn(e,n)?r!==i&&rn(r)&&rn(i)&&Sr(r,i):_r(e,n,i));return e}function kr(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Sr(r,i):i}:t?e?function(){return Sr("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Or(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Cr(e,t,n,r){var i=Object.create(e||null);return t?xn(i,t):i}xr.data=function(e,t,n){return n?kr(e,t,n):t&&"function"!=typeof t?e:kr(e,t)},jn.forEach((function(e){xr[e]=Or})),Ln.forEach((function(e){xr[e+"s"]=Cr})),xr.watch=function(e,t,n,r){if(e===Yn&&(e=void 0),t===Yn&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in xn(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},xr.props=xr.methods=xr.inject=xr.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return xn(i,e),t&&xn(i,t),i},xr.provide=kr;var Tr=function(e,t){return void 0===t?e:t};function Er(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[vn(i)]={type:null});else if(rn(n))for(var a in n)i=n[a],o[vn(a)]=rn(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(rn(n))for(var o in n){var a=n[o];r[o]=rn(a)?xn({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Er(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Er(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)pn(e,o)||s(o);function s(r){var i=xr[r]||Tr;a[r]=i(e[r],t[r],n,r)}return a}function Ar(e,t,n,r){if("string"==typeof n){var i=e[t];if(pn(i,n))return i[n];var o=vn(n);if(pn(i,o))return i[o];var a=gn(o);return pn(i,a)?i[a]:i[n]||i[o]||i[a]}}function Pr(e,t,n,r){var i=t[e],o=!pn(n,e),a=n[e],s=Dr(Boolean,i.type);if(s>-1)if(o&&!pn(i,"default"))a=!1;else if(""===a||a===bn(e)){var l=Dr(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(pn(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Lr(t.type)?r.call(e):r}}(r,i,e);var c=mr;vr(!0),yr(a),vr(c)}return a}function Lr(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function jr(e,t){return Lr(e)===Lr(t)}function Dr(e,t){if(!Array.isArray(t))return jr(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(jr(t[n],e))return n;return-1}function Rr(e,t,n){or();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Nr(e,r,"errorCaptured hook")}}Nr(e,t,n)}finally{ar()}}function zr(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&an(o)&&!o._handled&&(o.catch((function(e){return Rr(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(e){Rr(e,r,i)}return o}function Nr(e,t,n){if(Dn.errorHandler)try{return Dn.errorHandler.call(null,e,t,n)}catch(t){t!==e&&$r(t,null,"config.errorHandler")}$r(e,t,n)}function $r(e,t,n){if(!Mn&&!Bn||"undefined"==typeof console)throw e;console.error(e)}var Mr,Br=!1,Ir=[],Fr=!1;function Hr(){Fr=!1;var e=Ir.slice(0);Ir.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&Qn(Promise)){var Vr=Promise.resolve();Mr=function(){Vr.then(Hr),Wn&&setTimeout(kn)},Br=!0}else if(Hn||"undefined"==typeof MutationObserver||!Qn(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Mr="undefined"!=typeof setImmediate&&Qn(setImmediate)?function(){setImmediate(Hr)}:function(){setTimeout(Hr,0)};else{var Ur=1,Wr=new MutationObserver(Hr),qr=document.createTextNode(String(Ur));Wr.observe(qr,{characterData:!0}),Mr=function(){Ur=(Ur+1)%2,qr.data=String(Ur)},Br=!0}function Yr(e,t){var n;if(Ir.push((function(){if(e)try{e.call(t)}catch(e){Rr(e,t,"nextTick")}else n&&n(t)})),Fr||(Fr=!0,Mr()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var Xr=new Zn;function Gr(e){!function e(t,n){var r,i,o=Array.isArray(t);if(!(!o&&!tn(t)||Object.isFrozen(t)||t instanceof sr)){if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}}(e,Xr),Xr.clear()}var Kr=hn((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function Jr(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return zr(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)zr(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function Qr(e,t,n,r,i,o){var a,s,l,c;for(a in e)s=e[a],l=t[a],c=Kr(a),Jt(s)||(Jt(l)?(Jt(s.fns)&&(s=e[a]=Jr(s,o)),Zt(c.once)&&(s=e[a]=i(c.name,s,c.capture)),n(c.name,s,c.capture,c.passive,c.params)):s!==l&&(l.fns=s,e[a]=l));for(a in t)Jt(e[a])&&r((c=Kr(a)).name,t[a],c.capture)}function Zr(e,t,n){var r;e instanceof sr&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),fn(r.fns,o)}Jt(i)?r=Jr([o]):Qt(i.fns)&&Zt(i.merged)?(r=i).fns.push(o):r=Jr([i,o]),r.merged=!0,e[t]=r}function ei(e,t,n,r,i){if(Qt(t)){if(pn(t,n))return e[n]=t[n],i||delete t[n],!0;if(pn(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ti(e){return en(e)?[ur(e)]:Array.isArray(e)?function e(t,n){var r,i,o,a,s=[];for(r=0;r<t.length;r++)Jt(i=t[r])||"boolean"==typeof i||(o=s.length-1,a=s[o],Array.isArray(i)?i.length>0&&(ni((i=e(i,(n||"")+"_"+r))[0])&&ni(a)&&(s[o]=ur(a.text+i[0].text),i.shift()),s.push.apply(s,i)):en(i)?ni(a)?s[o]=ur(a.text+i):""!==i&&s.push(ur(i)):ni(i)&&ni(a)?s[o]=ur(a.text+i.text):(Zt(t._isVList)&&Qt(i.tag)&&Jt(i.key)&&Qt(n)&&(i.key="__vlist"+n+"_"+r+"__"),s.push(i)));return s}(e):void 0}function ni(e){return Qt(e)&&Qt(e.text)&&!1===e.isComment}function ri(e,t){if(e){for(var n=Object.create(null),r=er?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&pn(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}}}return n}}function ii(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(oi)&&delete n[c];return n}function oi(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ai(e,t,n){var r,i=Object.keys(t).length>0,o=e?!!e.$stable:!i,a=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==Kt&&a===n.$key&&!i&&!n.$hasNormal)return n;for(var s in r={},e)e[s]&&"$"!==s[0]&&(r[s]=si(t,s,e[s]))}else r={};for(var l in t)l in r||(r[l]=li(t,l));return e&&Object.isExtensible(e)&&(e._normalized=r),Rn(r,"$stable",o),Rn(r,"$key",a),Rn(r,"$hasNormal",i),r}function si(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ti(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function li(e,t){return function(){return e[t]}}function ci(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(tn(e))if(er&&e[Symbol.iterator]){n=[];for(var s=e[Symbol.iterator](),l=s.next();!l.done;)n.push(t(l.value,n.length)),l=s.next()}else for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return Qt(n)||(n=[]),n._isVList=!0,n}function ui(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=xn(xn({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function fi(e){return Ar(this.$options,"filters",e)||Cn}function di(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function pi(e,t,n,r,i){var o=Dn.keyCodes[t]||n;return i&&r&&!Dn.keyCodes[t]?di(i,r):o?di(o,e):r?bn(r)!==t:void 0}function hi(e,t,n,r,i){if(n&&tn(n)){var o;Array.isArray(n)&&(n=Sn(n));var a=function(a){if("class"===a||"style"===a||un(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||Dn.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=vn(a),c=bn(a);l in o||c in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}return e}function mi(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||gi(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function vi(e,t,n){return gi(e,"__once__"+t+(n?"_"+n:""),!0),e}function gi(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&yi(e[r],t+"_"+r,n);else yi(e,t,n)}function yi(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function bi(e,t){if(t&&rn(t)){var n=e.on=e.on?xn({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}return e}function _i(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?_i(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function wi(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function xi(e,t){return"string"==typeof e?t+e:e}function Si(e){e._o=vi,e._n=ln,e._s=sn,e._l=ci,e._t=ui,e._q=Tn,e._i=En,e._m=mi,e._f=fi,e._k=pi,e._b=hi,e._v=ur,e._e=cr,e._u=_i,e._g=bi,e._d=wi,e._p=xi}function ki(e,t,n,r,i){var o,a=this,s=i.options;pn(r,"_uid")?(o=Object.create(r))._original=r:(o=r,r=r._original);var l=Zt(s._compiled),c=!l;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||Kt,this.injections=ri(s.inject,r),this.slots=function(){return a.$slots||ai(e.scopedSlots,a.$slots=ii(n,r)),a.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ai(e.scopedSlots,this.slots())}}),l&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=ai(e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,i){var a=Di(o,e,t,n,i,c);return a&&!Array.isArray(a)&&(a.fnScopeId=s._scopeId,a.fnContext=r),a}:this._c=function(e,t,n,r){return Di(o,e,t,n,r,c)}}function Oi(e,t,n,r,i){var o=fr(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Ci(e,t){for(var n in t)e[vn(n)]=t[n]}Si(ki.prototype);var Ti={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ti.prepatch(n,n)}else(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;return Qt(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.componentOptions.Ctor(n)}(e,Vi)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var o=r.data.scopedSlots,a=e.$scopedSlots,s=!!(o&&!o.$stable||a!==Kt&&!a.$stable||o&&e.$scopedSlots.$key!==o.$key),l=!!(i||e.$options._renderChildren||s);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||Kt,e.$listeners=n||Kt,t&&e.$options.props){vr(!1);for(var c=e._props,u=e.$options._propKeys||[],f=0;f<u.length;f++){var d=u[f],p=e.$options.props;c[d]=Pr(d,p,t,e)}vr(!0),e.$options.propsData=t}n=n||Kt;var h=e.$options._parentListeners;e.$options._parentListeners=n,Hi(e,n,h),l&&(e.$slots=ii(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Yi(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Gi.push(t)):qi(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if((!n||(t._directInactive=!0,!Wi(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Yi(t,"deactivated")}}(t,!0):t.$destroy())}},Ei=Object.keys(Ti);function Ai(e,t,n,r,i){if(!Jt(e)){var o=n.$options._base;if(tn(e)&&(e=o.extend(e)),"function"==typeof e){var a;if(Jt(e.cid)&&void 0===(e=function(e,t){if(Zt(e.error)&&Qt(e.errorComp))return e.errorComp;if(Qt(e.resolved))return e.resolved;var n=zi;if(n&&Qt(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),Zt(e.loading)&&Qt(e.loadingComp))return e.loadingComp;if(n&&!Qt(e.owners)){var r=e.owners=[n],i=!0,o=null,a=null;n.$on("hook:destroyed",(function(){return fn(r,n)}));var s=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==o&&(clearTimeout(o),o=null),null!==a&&(clearTimeout(a),a=null))},l=An((function(n){e.resolved=Ni(n,t),i?r.length=0:s(!0)})),c=An((function(t){Qt(e.errorComp)&&(e.error=!0,s(!0))})),u=e(l,c);return tn(u)&&(an(u)?Jt(e.resolved)&&u.then(l,c):an(u.component)&&(u.component.then(l,c),Qt(u.error)&&(e.errorComp=Ni(u.error,t)),Qt(u.loading)&&(e.loadingComp=Ni(u.loading,t),0===u.delay?e.loading=!0:o=setTimeout((function(){o=null,Jt(e.resolved)&&Jt(e.error)&&(e.loading=!0,s(!1))}),u.delay||200)),Qt(u.timeout)&&(a=setTimeout((function(){a=null,Jt(e.resolved)&&c(null)}),u.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(a=e,o)))return function(e,t,n,r,i){var o=cr();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(a,t,n,r,i);t=t||{},vo(e),Qt(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),o=i[r],a=t.model.callback;Qt(o)?(Array.isArray(o)?-1===o.indexOf(a):o!==a)&&(i[r]=[a].concat(o)):i[r]=a}(e.options,t);var s=function(e,t,n){var r=t.options.props;if(!Jt(r)){var i={},o=e.attrs,a=e.props;if(Qt(o)||Qt(a))for(var s in r){var l=bn(s);ei(i,a,s,l,!0)||ei(i,o,s,l,!1)}return i}}(t,e);if(Zt(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},s=o.props;if(Qt(s))for(var l in s)a[l]=Pr(l,s,t||Kt);else Qt(n.attrs)&&Ci(a,n.attrs),Qt(n.props)&&Ci(a,n.props);var c=new ki(n,a,i,r,e),u=o.render.call(null,c._c,c);if(u instanceof sr)return Oi(u,n,c.parent,o);if(Array.isArray(u)){for(var f=ti(u)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=Oi(f[p],n,c.parent,o);return d}}(e,s,t,n,r);var l=t.on;if(t.on=t.nativeOn,Zt(e.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Ei.length;n++){var r=Ei[n],i=t[r],o=Ti[r];i===o||i&&i._merged||(t[r]=i?Pi(o,i):o)}}(t);var u=e.options.name||i;return new sr("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:l,tag:i,children:r},a)}}}function Pi(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var Li=1,ji=2;function Di(e,t,n,r,i,o){return(Array.isArray(n)||en(n))&&(i=r,r=n,n=void 0),Zt(o)&&(i=ji),function(e,t,n,r,i){if(Qt(n)&&Qt(n.__ob__))return cr();if(Qt(n)&&Qt(n.is)&&(t=n.is),!t)return cr();var o,a,s;(Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),i===ji?r=ti(r):i===Li&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r)),"string"==typeof t)?(a=e.$vnode&&e.$vnode.ns||Dn.getTagNamespace(t),o=Dn.isReservedTag(t)?new sr(Dn.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!Qt(s=Ar(e.$options,"components",t))?new sr(t,n,r,void 0,void 0,e):Ai(s,n,e,r,t)):o=Ai(t,n,e,r);return Array.isArray(o)?o:Qt(o)?(Qt(a)&&function e(t,n,r){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,r=!0),Qt(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];Qt(a.tag)&&(Jt(a.ns)||Zt(r)&&"svg"!==a.tag)&&e(a,n,r)}}(o,a),Qt(n)&&function(e){tn(e.style)&&Gr(e.style),tn(e.class)&&Gr(e.class)}(n),o):cr()}(e,t,n,r,i)}var Ri,zi=null;function Ni(e,t){return(e.__esModule||er&&"Module"===e[Symbol.toStringTag])&&(e=e.default),tn(e)?t.extend(e):e}function $i(e){return e.isComment&&e.asyncFactory}function Mi(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(Qt(n)&&(Qt(n.componentOptions)||$i(n)))return n}}function Bi(e,t){Ri.$on(e,t)}function Ii(e,t){Ri.$off(e,t)}function Fi(e,t){var n=Ri;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Hi(e,t,n){Ri=e,Qr(t,n||{},Bi,Ii,Fi,e),Ri=void 0}var Vi=null;function Ui(e){var t=Vi;return Vi=e,function(){Vi=t}}function Wi(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function qi(e,t){if(t){if(e._directInactive=!1,Wi(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)qi(e.$children[n]);Yi(e,"activated")}}function Yi(e,t){or();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)zr(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ar()}var Xi=[],Gi=[],Ki={},Ji=!1,Qi=!1,Zi=0,eo=0,to=Date.now;if(Mn&&!Hn){var no=window.performance;no&&"function"==typeof no.now&&to()>document.createEvent("Event").timeStamp&&(to=function(){return no.now()})}function ro(){var e,t;for(eo=to(),Qi=!0,Xi.sort((function(e,t){return e.id-t.id})),Zi=0;Zi<Xi.length;Zi++)(e=Xi[Zi]).before&&e.before(),t=e.id,Ki[t]=null,e.run();var n=Gi.slice(),r=Xi.slice();Zi=Xi.length=Gi.length=0,Ki={},Ji=Qi=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,qi(e[t],!0)}(n),function(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Yi(r,"updated")}}(r),Jn&&Dn.devtools&&Jn.emit("flush")}var io=0,oo=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++io,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Zn,this.newDepIds=new Zn,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!Nn.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=kn)),this.value=this.lazy?void 0:this.get()};oo.prototype.get=function(){var e;or(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Rr(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Gr(e),ar(),this.cleanupDeps()}return e},oo.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},oo.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},oo.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Ki[t]){if(Ki[t]=!0,Qi){for(var n=Xi.length-1;n>Zi&&Xi[n].id>e.id;)n--;Xi.splice(n+1,0,e)}else Xi.push(e);Ji||(Ji=!0,Yr(ro))}}(this)},oo.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||tn(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Rr(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},oo.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},oo.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},oo.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||fn(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ao={enumerable:!0,configurable:!0,get:kn,set:kn};function so(e,t,n){ao.get=function(){return this[t][n]},ao.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ao)}function lo(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&vr(!1);var o=function(o){i.push(o);var a=Pr(o,t,n,e);br(r,o,a),o in e||so(e,"_props",o)};for(var a in t)o(a);vr(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?kn:_n(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;rn(t=e._data="function"==typeof t?function(e,t){or();try{return e.call(t,t)}catch(e){return Rr(e,t,"data()"),{}}finally{ar()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),i=e.$options.props,o=(e.$options.methods,r.length);o--;){var a=r[o];i&&pn(i,a)||(n=void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&so(e,"_data",a))}yr(t,!0)}(e):yr(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Kn();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new oo(e,a||kn,kn,co)),i in e||uo(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Yn&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)ho(e,n,r[i]);else ho(e,n,r)}}(e,t.watch)}var co={lazy:!0};function uo(e,t,n){var r=!Kn();"function"==typeof n?(ao.get=r?fo(t):po(n),ao.set=kn):(ao.get=n.get?r&&!1!==n.cache?fo(t):po(n.get):kn,ao.set=n.set||kn),Object.defineProperty(e,t,ao)}function fo(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),rr.target&&t.depend(),t.value}}function po(e){return function(){return e.call(this,this)}}function ho(e,t,n,r){return rn(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var mo=0;function vo(e){var t=e.options;if(e.super){var n=vo(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&xn(e.extendOptions,r),(t=e.options=Er(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function go(e){this._init(e)}function yo(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Er(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)so(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)uo(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ln.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=xn({},a.options),i[r]=a,a}}function bo(e){return e&&(e.Ctor.options.name||e.tag)}function _o(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===nn.call(n)&&e.test(t));var n}function wo(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bo(a.componentOptions);s&&!t(s)&&xo(n,o,r,i)}}}function xo(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,fn(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=mo++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Er(vo(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Hi(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ii(t._renderChildren,r),e.$scopedSlots=Kt,e._c=function(t,n,r,i){return Di(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Di(e,t,n,r,i,!0)};var i=n&&n.data;br(e,"$attrs",i&&i.attrs||Kt,null,!0),br(e,"$listeners",t._parentListeners||Kt,null,!0)}(t),Yi(t,"beforeCreate"),function(e){var t=ri(e.$options.inject,e);t&&(vr(!1),Object.keys(t).forEach((function(n){br(e,n,t[n])})),vr(!0))}(t),lo(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),Yi(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(go),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=_r,e.prototype.$delete=wr,e.prototype.$watch=function(e,t,n){if(rn(t))return ho(this,e,t,n);(n=n||{}).user=!0;var r=new oo(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Rr(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(go),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?wn(t):t;for(var n=wn(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;i<o;i++)zr(t[i],this,n,this,r)}return this}}(go),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=Ui(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Yi(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||fn(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Yi(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(go),function(e){Si(e.prototype),e.prototype.$nextTick=function(e){return Yr(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=ai(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{zi=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){Rr(n,t,"render"),e=t._vnode}finally{zi=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof sr||(e=cr()),e.parent=i,e}}(go);var So=[String,RegExp,Array],ko={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:So,exclude:So,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)xo(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){wo(e,(function(e){return _o(t,e)}))})),this.$watch("exclude",(function(t){wo(e,(function(e){return!_o(t,e)}))}))},render:function(){var e=this.$slots.default,t=Mi(e),n=t&&t.componentOptions;if(n){var r=bo(n),i=this.include,o=this.exclude;if(i&&(!r||!_o(i,r))||o&&r&&_o(o,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,fn(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&xo(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return Dn}};Object.defineProperty(e,"config",t),e.util={warn:tr,extend:xn,mergeOptions:Er,defineReactive:br},e.set=_r,e.delete=wr,e.nextTick=Yr,e.observable=function(e){return yr(e),e},e.options=Object.create(null),Ln.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,xn(e.options.components,ko),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=wn(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Er(this.options,e),this}}(e),yo(e),function(e){Ln.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&rn(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(go),Object.defineProperty(go.prototype,"$isServer",{get:Kn}),Object.defineProperty(go.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(go,"FunctionalRenderContext",{value:ki}),go.version="2.6.12";var Oo=cn("style,class"),Co=cn("input,textarea,option,select,progress"),To=cn("contenteditable,draggable,spellcheck"),Eo=cn("events,caret,typing,plaintext-only"),Ao=function(e,t){return Ro(t)||"false"===t?"false":"contenteditable"===e&&Eo(t)?t:"true"},Po=cn("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"),Lo="http://www.w3.org/1999/xlink",jo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Do=function(e){return jo(e)?e.slice(6,e.length):""},Ro=function(e){return null==e||!1===e};function zo(e){for(var t=e.data,n=e,r=e;Qt(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=No(r.data,t));for(;Qt(n=n.parent);)n&&n.data&&(t=No(t,n.data));return function(e,t){return Qt(e)||Qt(t)?$o(e,Mo(t)):""}(t.staticClass,t.class)}function No(e,t){return{staticClass:$o(e.staticClass,t.staticClass),class:Qt(e.class)?[e.class,t.class]:t.class}}function $o(e,t){return e?t?e+" "+t:e:t||""}function Mo(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)Qt(t=Mo(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):tn(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Bo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Io=cn("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Fo=cn("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ho=function(e){return Io(e)||Fo(e)},Vo=Object.create(null),Uo=cn("text,number,password,search,email,tel,url"),Wo=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Bo[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),qo={create:function(e,t){Yo(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Yo(e,!0),Yo(t))},destroy:function(e){Yo(e,!0)}};function Yo(e,t){var n=e.data.ref;if(Qt(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?fn(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Xo=new sr("",{},[]),Go=["create","activate","update","remove","destroy"];function Ko(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&Qt(e.data)===Qt(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=Qt(n=e.data)&&Qt(n=n.attrs)&&n.type,i=Qt(n=t.data)&&Qt(n=n.attrs)&&n.type;return r===i||Uo(r)&&Uo(i)}(e,t)||Zt(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&Jt(t.asyncFactory.error))}function Jo(e,t,n){var r,i,o={};for(r=t;r<=n;++r)Qt(i=e[r].key)&&(o[i]=r);return o}var Qo={create:Zo,update:Zo,destroy:function(e){Zo(e,Xo)}};function Zo(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===Xo,a=t===Xo,s=ta(e.data.directives,e.context),l=ta(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,ra(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(ra(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n<c.length;n++)ra(c[n],"inserted",t,e)};o?Zr(t,"insert",f):f()}if(u.length&&Zr(t,"postpatch",(function(){for(var n=0;n<u.length;n++)ra(u[n],"componentUpdated",t,e)})),!o)for(n in s)l[n]||ra(s[n],"unbind",e,e,a)}(e,t)}var ea=Object.create(null);function ta(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=ea),i[na(r)]=r,r.def=Ar(t.$options,"directives",r.name);return i}function na(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function ra(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){Rr(r,n.context,"directive "+e.name+" "+t+" hook")}}var ia=[qo,Qo];function oa(e,t){var n=t.componentOptions;if(!(Qt(n)&&!1===n.Ctor.options.inheritAttrs||Jt(e.data.attrs)&&Jt(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in Qt(s.__ob__)&&(s=t.data.attrs=xn({},s)),s)i=s[r],a[r]!==i&&aa(o,r,i);for(r in(Hn||Un)&&s.value!==a.value&&aa(o,"value",s.value),a)Jt(s[r])&&(jo(r)?o.removeAttributeNS(Lo,Do(r)):To(r)||o.removeAttribute(r))}}function aa(e,t,n){e.tagName.indexOf("-")>-1?sa(e,t,n):Po(t)?Ro(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):To(t)?e.setAttribute(t,Ao(t,n)):jo(t)?Ro(n)?e.removeAttributeNS(Lo,Do(t)):e.setAttributeNS(Lo,t,n):sa(e,t,n)}function sa(e,t,n){if(Ro(n))e.removeAttribute(t);else{if(Hn&&!Vn&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var la={create:oa,update:oa};function ca(e,t){var n=t.elm,r=t.data,i=e.data;if(!(Jt(r.staticClass)&&Jt(r.class)&&(Jt(i)||Jt(i.staticClass)&&Jt(i.class)))){var o=zo(t),a=n._transitionClasses;Qt(a)&&(o=$o(o,Mo(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var ua,fa={create:ca,update:ca},da="__r",pa="__c";function ha(e,t,n){var r=ua;return function i(){null!==t.apply(null,arguments)&&ga(e,i,n,r)}}var ma=Br&&!(qn&&Number(qn[1])<=53);function va(e,t,n,r){if(ma){var i=eo,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}ua.addEventListener(e,t,Xn?{capture:n,passive:r}:n)}function ga(e,t,n,r){(r||ua).removeEventListener(e,t._wrapper||t,n)}function ya(e,t){if(!Jt(e.data.on)||!Jt(t.data.on)){var n=t.data.on||{},r=e.data.on||{};ua=t.elm,function(e){if(Qt(e[da])){var t=Hn?"change":"input";e[t]=[].concat(e[da],e[t]||[]),delete e[da]}Qt(e[pa])&&(e.change=[].concat(e[pa],e.change||[]),delete e[pa])}(n),Qr(n,r,va,ga,ha,t.context),ua=void 0}}var ba,_a={create:ya,update:ya};function wa(e,t){if(!Jt(e.data.domProps)||!Jt(t.data.domProps)){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};for(n in Qt(a.__ob__)&&(a=t.data.domProps=xn({},a)),o)n in a||(i[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===o[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var s=Jt(r)?"":String(r);xa(i,s)&&(i.value=s)}else if("innerHTML"===n&&Fo(i.tagName)&&Jt(i.innerHTML)){(ba=ba||document.createElement("div")).innerHTML="<svg>"+r+"</svg>";for(var l=ba.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}else if(r!==o[n])try{i[n]=r}catch(e){}}}}function xa(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(Qt(r)){if(r.number)return ln(n)!==ln(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Sa={create:wa,update:wa},ka=hn((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Oa(e){var t=Ca(e.style);return e.staticStyle?xn(e.staticStyle,t):t}function Ca(e){return Array.isArray(e)?Sn(e):"string"==typeof e?ka(e):e}var Ta,Ea=/^--/,Aa=/\s*!important$/,Pa=function(e,t,n){if(Ea.test(t))e.style.setProperty(t,n);else if(Aa.test(n))e.style.setProperty(bn(t),n.replace(Aa,""),"important");else{var r=ja(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},La=["Webkit","Moz","ms"],ja=hn((function(e){if(Ta=Ta||document.createElement("div").style,"filter"!==(e=vn(e))&&e in Ta)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<La.length;n++){var r=La[n]+t;if(r in Ta)return r}}));function Da(e,t){var n=t.data,r=e.data;if(!(Jt(n.staticStyle)&&Jt(n.style)&&Jt(r.staticStyle)&&Jt(r.style))){var i,o,a=t.elm,s=r.staticStyle,l=r.normalizedStyle||r.style||{},c=s||l,u=Ca(t.data.style)||{};t.data.normalizedStyle=Qt(u.__ob__)?xn({},u):u;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Oa(i.data))&&xn(r,n);(n=Oa(e.data))&&xn(r,n);for(var o=e;o=o.parent;)o.data&&(n=Oa(o.data))&&xn(r,n);return r}(t,!0);for(o in c)Jt(f[o])&&Pa(a,o,"");for(o in f)(i=f[o])!==c[o]&&Pa(a,o,null==i?"":i)}}var Ra={create:Da,update:Da},za=/\s+/;function Na(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(za).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $a(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(za).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Ma(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&xn(t,Ba(e.name||"v")),xn(t,e),t}return"string"==typeof e?Ba(e):void 0}}var Ba=hn((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ia=Mn&&!Vn,Fa="transition",Ha="animation",Va="transition",Ua="transitionend",Wa="animation",qa="animationend";Ia&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Va="WebkitTransition",Ua="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wa="WebkitAnimation",qa="webkitAnimationEnd"));var Ya=Mn?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Xa(e){Ya((function(){Ya(e)}))}function Ga(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Na(e,t))}function Ka(e,t){e._transitionClasses&&fn(e._transitionClasses,t),$a(e,t)}function Ja(e,t,n){var r=Za(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Fa?Ua:qa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),o+1),e.addEventListener(s,u)}var Qa=/\b(transform|all)(,|$)/;function Za(e,t){var n,r=window.getComputedStyle(e),i=(r[Va+"Delay"]||"").split(", "),o=(r[Va+"Duration"]||"").split(", "),a=es(i,o),s=(r[Wa+"Delay"]||"").split(", "),l=(r[Wa+"Duration"]||"").split(", "),c=es(s,l),u=0,f=0;return t===Fa?a>0&&(n=Fa,u=a,f=o.length):t===Ha?c>0&&(n=Ha,u=c,f=l.length):f=(n=(u=Math.max(a,c))>0?a>c?Fa:Ha:null)?n===Fa?o.length:l.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Fa&&Qa.test(r[Va+"Property"])}}function es(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return ts(t)+ts(e[n])})))}function ts(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ns(e,t){var n=e.elm;Qt(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ma(e.data.transition);if(!Jt(r)&&!Qt(n._enterCb)&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterToClass,l=r.enterActiveClass,c=r.appearClass,u=r.appearToClass,f=r.appearActiveClass,d=r.beforeEnter,p=r.enter,h=r.afterEnter,m=r.enterCancelled,v=r.beforeAppear,g=r.appear,y=r.afterAppear,b=r.appearCancelled,_=r.duration,w=Vi,x=Vi.$vnode;x&&x.parent;)w=x.context,x=x.parent;var S=!w._isMounted||!e.isRootInsert;if(!S||g||""===g){var k=S&&c?c:a,O=S&&f?f:l,C=S&&u?u:s,T=S&&v||d,E=S&&"function"==typeof g?g:p,A=S&&y||h,P=S&&b||m,L=ln(tn(_)?_.enter:_),j=!1!==i&&!Vn,D=os(E),R=n._enterCb=An((function(){j&&(Ka(n,C),Ka(n,O)),R.cancelled?(j&&Ka(n,k),P&&P(n)):A&&A(n),n._enterCb=null}));e.data.show||Zr(e,"insert",(function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,R)})),T&&T(n),j&&(Ga(n,k),Ga(n,O),Xa((function(){Ka(n,k),R.cancelled||(Ga(n,C),D||(is(L)?setTimeout(R,L):Ja(n,o,R)))}))),e.data.show&&(t&&t(),E&&E(n,R)),j||D||R()}}}function rs(e,t){var n=e.elm;Qt(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Ma(e.data.transition);if(Jt(r)||1!==n.nodeType)return t();if(!Qt(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,l=r.leaveActiveClass,c=r.beforeLeave,u=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,h=r.duration,m=!1!==i&&!Vn,v=os(u),g=ln(tn(h)?h.leave:h),y=n._leaveCb=An((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m&&(Ka(n,s),Ka(n,l)),y.cancelled?(m&&Ka(n,a),d&&d(n)):(t(),f&&f(n)),n._leaveCb=null}));p?p(b):b()}function b(){y.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),m&&(Ga(n,a),Ga(n,l),Xa((function(){Ka(n,a),y.cancelled||(Ga(n,s),v||(is(g)?setTimeout(y,g):Ja(n,o,y)))}))),u&&u(n,y),m||v||y())}}function is(e){return"number"==typeof e&&!isNaN(e)}function os(e){if(Jt(e))return!1;var t=e.fns;return Qt(t)?os(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function as(e,t){!0!==t.data.show&&ns(t)}var ss=function(e){var t,n,r={},i=e.modules,o=e.nodeOps;for(t=0;t<Go.length;++t)for(r[Go[t]]=[],n=0;n<i.length;++n)Qt(i[n][Go[t]])&&r[Go[t]].push(i[n][Go[t]]);function a(e){var t=o.parentNode(e);Qt(t)&&o.removeChild(t,e)}function s(e,t,n,i,a,s,f){if(Qt(e.elm)&&Qt(s)&&(e=s[f]=fr(e)),e.isRootInsert=!a,!function(e,t,n,i){var o=e.data;if(Qt(o)){var a=Qt(e.componentInstance)&&o.keepAlive;if(Qt(o=o.hook)&&Qt(o=o.init)&&o(e,!1),Qt(e.componentInstance))return l(e,t),c(n,e.elm,i),Zt(a)&&function(e,t,n,i){for(var o,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,Qt(o=a.data)&&Qt(o=o.transition)){for(o=0;o<r.activate.length;++o)r.activate[o](Xo,a);t.push(a);break}c(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var h=e.data,m=e.children,v=e.tag;Qt(v)?(e.elm=e.ns?o.createElementNS(e.ns,v):o.createElement(v,e),p(e),u(e,m,t),Qt(h)&&d(e,t),c(n,e.elm,i)):Zt(e.isComment)?(e.elm=o.createComment(e.text),c(n,e.elm,i)):(e.elm=o.createTextNode(e.text),c(n,e.elm,i))}}function l(e,t){Qt(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,f(e)?(d(e,t),p(e)):(Yo(e),t.push(e))}function c(e,t,n){Qt(e)&&(Qt(n)?o.parentNode(n)===e&&o.insertBefore(e,t,n):o.appendChild(e,t))}function u(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)s(t[r],n,e.elm,null,!0,t,r);else en(e.text)&&o.appendChild(e.elm,o.createTextNode(String(e.text)))}function f(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return Qt(e.tag)}function d(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Xo,e);Qt(t=e.data.hook)&&(Qt(t.create)&&t.create(Xo,e),Qt(t.insert)&&n.push(e))}function p(e){var t;if(Qt(t=e.fnScopeId))o.setStyleScope(e.elm,t);else for(var n=e;n;)Qt(t=n.context)&&Qt(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t),n=n.parent;Qt(t=Vi)&&t!==e.context&&t!==e.fnContext&&Qt(t=t.$options._scopeId)&&o.setStyleScope(e.elm,t)}function h(e,t,n,r,i,o){for(;r<=i;++r)s(n[r],o,e,t,!1,n,r)}function m(e){var t,n,i=e.data;if(Qt(i))for(Qt(t=i.hook)&&Qt(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(Qt(t=e.children))for(n=0;n<e.children.length;++n)m(e.children[n])}function v(e,t,n){for(;t<=n;++t){var r=e[t];Qt(r)&&(Qt(r.tag)?(g(r),m(r)):a(r.elm))}}function g(e,t){if(Qt(t)||Qt(e.data)){var n,i=r.remove.length+1;for(Qt(t)?t.listeners+=i:t=function(e,t){function n(){0==--n.listeners&&a(e)}return n.listeners=t,n}(e.elm,i),Qt(n=e.componentInstance)&&Qt(n=n._vnode)&&Qt(n.data)&&g(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);Qt(n=e.data.hook)&&Qt(n=n.remove)?n(e,t):t()}else a(e.elm)}function y(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(Qt(o)&&Ko(e,o))return i}}function b(e,t,n,i,a,l){if(e!==t){Qt(t.elm)&&Qt(i)&&(t=i[a]=fr(t));var c=t.elm=e.elm;if(Zt(e.isAsyncPlaceholder))Qt(t.asyncFactory.resolved)?x(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(Zt(t.isStatic)&&Zt(e.isStatic)&&t.key===e.key&&(Zt(t.isCloned)||Zt(t.isOnce)))t.componentInstance=e.componentInstance;else{var u,d=t.data;Qt(d)&&Qt(u=d.hook)&&Qt(u=u.prepatch)&&u(e,t);var p=e.children,m=t.children;if(Qt(d)&&f(t)){for(u=0;u<r.update.length;++u)r.update[u](e,t);Qt(u=d.hook)&&Qt(u=u.update)&&u(e,t)}Jt(t.text)?Qt(p)&&Qt(m)?p!==m&&function(e,t,n,r,i){for(var a,l,c,u=0,f=0,d=t.length-1,p=t[0],m=t[d],g=n.length-1,_=n[0],w=n[g],x=!i;u<=d&&f<=g;)Jt(p)?p=t[++u]:Jt(m)?m=t[--d]:Ko(p,_)?(b(p,_,r,n,f),p=t[++u],_=n[++f]):Ko(m,w)?(b(m,w,r,n,g),m=t[--d],w=n[--g]):Ko(p,w)?(b(p,w,r,n,g),x&&o.insertBefore(e,p.elm,o.nextSibling(m.elm)),p=t[++u],w=n[--g]):Ko(m,_)?(b(m,_,r,n,f),x&&o.insertBefore(e,m.elm,p.elm),m=t[--d],_=n[++f]):(Jt(a)&&(a=Jo(t,u,d)),Jt(l=Qt(_.key)?a[_.key]:y(_,t,u,d))?s(_,r,e,p.elm,!1,n,f):Ko(c=t[l],_)?(b(c,_,r,n,f),t[l]=void 0,x&&o.insertBefore(e,c.elm,p.elm)):s(_,r,e,p.elm,!1,n,f),_=n[++f]);u>d?h(e,Jt(n[g+1])?null:n[g+1].elm,n,f,g,r):f>g&&v(t,u,d)}(c,p,m,n,l):Qt(m)?(Qt(e.text)&&o.setTextContent(c,""),h(c,null,m,0,m.length-1,n)):Qt(p)?v(p,0,p.length-1):Qt(e.text)&&o.setTextContent(c,""):e.text!==t.text&&o.setTextContent(c,t.text),Qt(d)&&Qt(u=d.hook)&&Qt(u=u.postpatch)&&u(e,t)}}}function _(e,t,n){if(Zt(n)&&Qt(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var w=cn("attrs,class,staticClass,staticStyle,key");function x(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,Zt(t.isComment)&&Qt(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(Qt(a)&&(Qt(i=a.hook)&&Qt(i=i.init)&&i(t,!0),Qt(i=t.componentInstance)))return l(t,n),!0;if(Qt(o)){if(Qt(s))if(e.hasChildNodes())if(Qt(i=a)&&Qt(i=i.domProps)&&Qt(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,f=e.firstChild,p=0;p<s.length;p++){if(!f||!x(f,s[p],n,r)){c=!1;break}f=f.nextSibling}if(!c||f)return!1}else u(t,s,n);if(Qt(a)){var h=!1;for(var m in a)if(!w(m)){h=!0,d(t,n);break}!h&&a.class&&Gr(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!Jt(t)){var a,l=!1,c=[];if(Jt(e))l=!0,s(t,c);else{var u=Qt(e.nodeType);if(!u&&Ko(e,t))b(e,t,c,null,null,i);else{if(u){if(1===e.nodeType&&e.hasAttribute(Pn)&&(e.removeAttribute(Pn),n=!0),Zt(n)&&x(e,t,c))return _(t,c,!0),e;a=e,e=new sr(o.tagName(a).toLowerCase(),{},[],void 0,a)}var d=e.elm,p=o.parentNode(d);if(s(t,c,d._leaveCb?null:p,o.nextSibling(d)),Qt(t.parent))for(var h=t.parent,g=f(t);h;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](h);if(h.elm=t.elm,g){for(var w=0;w<r.create.length;++w)r.create[w](Xo,h);var S=h.data.hook.insert;if(S.merged)for(var k=1;k<S.fns.length;k++)S.fns[k]()}else Yo(h);h=h.parent}Qt(p)?v([e],0,0):Qt(e.tag)&&m(e)}}return _(t,c,l),t.elm}Qt(e)&&m(e)}}({nodeOps:Wo,modules:[la,fa,_a,Sa,Ra,Mn?{create:as,activate:as,remove:function(e,t){!0!==e.data.show?rs(e,t):t()}}:{}].concat(ia)});Vn&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ms(e,"input")}));var ls={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Zr(n,"postpatch",(function(){ls.componentUpdated(e,t,n)})):cs(e,t,n.context),e._vOptions=[].map.call(e.options,ds)):("textarea"===n.tag||Uo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",ps),e.addEventListener("compositionend",hs),e.addEventListener("change",hs),Vn&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){cs(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ds);i.some((function(e,t){return!Tn(e,r[t])}))&&(e.multiple?t.value.some((function(e){return fs(e,i)})):t.value!==t.oldValue&&fs(t.value,i))&&ms(e,"change")}}};function cs(e,t,n){us(e,t,n),(Hn||Un)&&setTimeout((function(){us(e,t,n)}),0)}function us(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=En(r,ds(a))>-1,a.selected!==o&&(a.selected=o);else if(Tn(ds(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function fs(e,t){return t.every((function(t){return!Tn(t,e)}))}function ds(e){return"_value"in e?e._value:e.value}function ps(e){e.target.composing=!0}function hs(e){e.target.composing&&(e.target.composing=!1,ms(e.target,"input"))}function ms(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function vs(e){return!e.componentInstance||e.data&&e.data.transition?e:vs(e.componentInstance._vnode)}var gs={model:ls,show:{bind:function(e,t,n){var r=t.value,i=(n=vs(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,ns(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=vs(n)).data&&n.data.transition?(n.data.show=!0,r?ns(n,(function(){e.style.display=e.__vOriginalDisplay})):rs(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},ys={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 bs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?bs(Mi(t.children)):e}function _s(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[vn(o)]=i[o];return t}function ws(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var xs=function(e){return e.tag||$i(e)},Ss=function(e){return"show"===e.name},ks={name:"transition",props:ys,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(xs)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=bs(i);if(!o)return i;if(this._leaving)return ws(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:en(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=_s(this),l=this._vnode,c=bs(l);if(o.data.directives&&o.data.directives.some(Ss)&&(o.data.show=!0),c&&c.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,c)&&!$i(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var u=c.data.transition=xn({},s);if("out-in"===r)return this._leaving=!0,Zr(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ws(e,i);if("in-out"===r){if($i(o))return l;var f,d=function(){f()};Zr(s,"afterEnter",d),Zr(s,"enterCancelled",d),Zr(u,"delayLeave",(function(e){f=e}))}}return i}}},Os=xn({tag:String,moveClass:String},ys);function Cs(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ts(e){e.data.newPos=e.elm.getBoundingClientRect()}function Es(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Os.mode;var As={Transition:ks,TransitionGroup:{props:Os,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Ui(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=_s(this),s=0;s<i.length;s++){var l=i[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(r){for(var c=[],u=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Cs),e.forEach(Ts),e.forEach(Es),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;Ga(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ua,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ua,e),n._moveCb=null,Ka(n,t))})}})))},methods:{hasMove:function(e,t){if(!Ia)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){$a(n,e)})),Na(n,t),n.style.display="none",this.$el.appendChild(n);var r=Za(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};go.config.mustUseProp=function(e,t,n){return"value"===n&&Co(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},go.config.isReservedTag=Ho,go.config.isReservedAttr=Oo,go.config.getTagNamespace=function(e){return Fo(e)?"svg":"math"===e?"math":void 0},go.config.isUnknownElement=function(e){if(!Mn)return!0;if(Ho(e))return!1;if(e=e.toLowerCase(),null!=Vo[e])return Vo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Vo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Vo[e]=/HTMLUnknownElement/.test(t.toString())},xn(go.options.directives,gs),xn(go.options.components,As),go.prototype.__patch__=Mn?ss:kn,go.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=cr),Yi(e,"beforeMount"),r=function(){e._update(e._render(),n)},new oo(e,r,kn,{before:function(){e._isMounted&&!e._isDestroyed&&Yi(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yi(e,"mounted")),e}(this,e=e&&Mn?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},Mn&&setTimeout((function(){Dn.devtools&&Jn&&Jn.emit("init",go)}),0);var Ps=i((function(e,t){e.exports=function(e){e=e&&e.hasOwnProperty("default")?e.default:e;var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)};function s(){if(c())return!1;var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}var l=function(){if(c())return!1;var e=navigator.userAgent;return!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},c=function(){return e.prototype.$isServer},u=function(){function e(){n(this,e)}return r(e,[{key:"getEventObject",value:function(e){return this.touchObject?this.isTouch?e.touches:[e]:null}},{key:"getTouchObject",value:function(){if(c())return null;this.isTouch=!1;var e=navigator.userAgent,t=navigator.platform,n={};switch(n.touch=!!("ontouchstart"in window&&!window.opera||"msmaxtouchpoints"in window.navigator||"maxtouchpoints"in window.navigator||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),n.nonDeskTouch=n.touch&&!/win32/i.test(t)||n.touch&&/win32/i.test(t)&&/mobile/i.test(e),n.eventType="onmousedown"in window&&!n.nonDeskTouch?"mouse":"ontouchstart"in window?"touch":"msmaxtouchpoints"in window.navigator||navigator.msMaxTouchPoints>0?"mstouchpoints":"maxtouchpoints"in window.navigator||navigator.maxTouchPoints>0?"touchpoints":"mouse",n.eventType){case"mouse":n.touchstart="mousedown",n.touchend="mouseup",n.touchmove="mousemove",n.touchenter="mouseenter",n.touchmove="mousemove",n.touchleave="mouseleave";break;case"touch":n.touchstart="touchstart",n.touchend="touchend",n.touchmove="touchmove",n.touchcancel="touchcancel",n.touchenter="touchstart",n.touchmove="touchmove",n.touchleave="touchend",this.isTouch=!0;break;case"mstouchpoints":n.touchstart="MSPointerDown",n.touchend="MSPointerUp",n.touchmove="MSPointerMove",n.touchcancel="MSPointerCancel",n.touchenter="MSPointerDown",n.touchmove="MSPointerMove",n.touchleave="MSPointerUp";break;case"touchpoints":n.touchstart="pointerdown",n.touchend="pointerup",n.touchmove="pointermove",n.touchcancel="pointercancel",n.touchenter="pointerdown",n.touchmove="pointermove",n.touchleave="pointerup"}return this.touchObject=n}}]),e}();function f(e,n,r){if(r&&O(n))return e;if(S(e))n=[],e.forEach((function(e,t){n[t]=f(e,n[t])}));else if(e){if(!k(e))return e;for(var i in n={},e)n[i]="object"===t(e[i])?f(e[i],n[i]):e[i]}return n}function d(e,n,r,i){if(i&&O(n))return e;if(n=n||{},S(e))!S(n)&&r&&(n=[]),S(n)&&e.forEach((function(e,t){n[t]=d(e,n[t],r,i)}));else if(e)if(k(e))for(var o in e)"object"===t(e[o])?O(n[o])?n[o]=f(e[o],n[o],i):d(e[o],n[o],r,i):(O(n[o])||r)&&(n[o]=e[o]);else r&&(n=e);return n}var p=void 0;function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"on";"on"==i?e.addEventListener(t,n,r):e.removeEventListener(t,n,r)}var m=function(e){console.error("[vuescroll] "+e)},v=function(e){console.warn("[vuescroll] "+e)};function g(e,t){var n=!1;if(!e||!t)return n;for(;e.parentNode!==t&&9!==e.parentNode.nodeType&&!e.parentNode._isVuescroll;)e=e.parentNode;return e.parentNode==t&&(n=!0),n}function y(e){var t,n=document.documentElement.style;e.opera&&"[object Opera]"===Object.prototype.toString.call(opera)?t="presto":"MozAppearance"in n?t="gecko":"WebkitAppearance"in n?t="webkit":"string"==typeof navigator.cpuClass&&(t="trident");var r={trident:"ms",gecko:"moz",webkit:"webkit",presto:"O"}[t];return r}function b(e,t){if(c())return!1;var n="-"+y(window)+"-"+t,r=document.createElement("div");return r.style[e]=n,r.style[e]==n&&n}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments[4];if(t&&t.length>1)return i?[].concat(a(n),a(t)):[].concat(a(t),a(n));var o=w(t=t[0]),s=o.ch,l=o.tag,c=o.isComponent;return c&&(t.data=d({attrs:t.componentOptions.propsData},t.data,!1,!0)),s=i?[].concat(a(n),a(s)):[].concat(a(s),a(n)),delete t.data.slot,e(l,d(r,t.data,!1,!0),s)}function w(e){if(!e||e.length>1)return{};var t=!!(e=e[0]?e[0]:e).componentOptions,n=void 0,r=void 0;return t?(n=e.componentOptions.children||[],r=e.componentOptions.tag):(n=e.children||[],r=e.tag),{isComponent:t,ch:n,tag:r}}function x(e){var t=e.$parent;return!t._isVuescrollRoot&&t&&(t=t.$parent),t}var S=function(e){return Array.isArray(e)},k=function(e){return"[object Object]"==Object.prototype.toString.call(e)},O=function(e){return void 0===e};function C(e,t){var n=void 0;return(n=/(-?\d+(?:\.\d+?)?)%$/.exec(e))?(n=n[1]-0,n=t*n/100):n=e-0,n}function T(e,t){if(!c()&&!document.getElementById(e)){var n=document.head||doc.getElementsByTagName("head")[0],r=document.createElement("style");r.id=e,r.type="text/css",r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t)),n.appendChild(r)}}var E={mounted:function(){A[this._uid]=this},beforeDestroy:function(){delete A[this._uid]},methods:{scrollTo:function(e,t,n){var r=e.x,i=e.y;!0!==t&&void 0!==t||(t=this.mergedOptions.scrollPanel.speed),this.internalScrollTo(r,i,t,n)},scrollBy:function(e,t,n){var r=e.dx,i=void 0===r?0:r,o=e.dy,a=void 0===o?0:o,s=this.getPosition(),l=s.scrollLeft,c=void 0===l?0:l,u=s.scrollTop,f=void 0===u?0:u;i&&(c+=C(i,this.scrollPanelElm.scrollWidth-this.$el.clientWidth)),a&&(f+=C(a,this.scrollPanelElm.scrollHeight-this.$el.clientHeight)),this.internalScrollTo(c,f,t,n)},scrollIntoView:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.$el;if("string"==typeof e&&(e=n.querySelector(e)),g(e,n)){var r=this.$el.getBoundingClientRect(),i=r.left,o=r.top,a=e.getBoundingClientRect(),s=a.left,l=a.top,c=i-s,u=o-l;this.scrollBy({dx:-c,dy:-u},t)}else v("The element or selector you passed is not the element of Vuescroll, please pass the element that is in Vuescroll to scrollIntoView API. ")},refresh:function(){this.refreshInternalStatus(),this.$nextTick(this.refreshInternalStatus)}}},A={},P={vuescroll:{sizeStrategy:"percent",detectResize:!0},scrollPanel:{initialScrollY:!1,initialScrollX:!1,scrollingX:!0,scrollingY:!0,speed:300,easing:void 0,verticalNativeBarPos:"right",maxHeight:void 0,maxWidth:void 0},rail:{background:"#01a99a",opacity:0,border:"none",size:"6px",specifyBorderRadius:!1,gutterOfEnds:null,gutterOfSide:"2px",keepShow:!1},bar:{showDelay:500,specifyBorderRadius:!1,onlyShowBarOnScroll:!0,keepShow:!1,background:"rgb(3, 185, 118)",opacity:1,size:"6px",minSize:0,disable:!1},scrollButton:{enable:!1,background:"rgb(3, 185, 118)",opacity:1,step:180,mousedownStep:30}},L=null,j=function(e,t){(e=[].concat(e)).forEach((function(e){d(e,P)})),L=t},D=["slide","native"],R=function(){},z=["mergedOptions.vuescroll.pullRefresh.tips","mergedOptions.vuescroll.pushLoad.tips","mergedOptions.vuescroll.scroller.disable","mergedOptions.rail","mergedOptions.bar"],N="refreshDom",$="loadDom",M={vertical:{size:"height",opsSize:"width",posName:"top",opposName:"bottom",sidePosName:"right",page:"pageY",scroll:"scrollTop",scrollSize:"scrollHeight",offset:"offsetHeight",client:"clientY",axis:"Y",scrollButton:{start:"top",end:"bottom"}},horizontal:{size:"width",opsSize:"height",posName:"left",opposName:"right",sidePosName:"bottom",page:"pageX",scroll:"scrollLeft",scrollSize:"scrollWidth",offset:"offsetWidth",client:"clientX",axis:"X",scrollButton:{start:"left",end:"right"}}};function B(e){var t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame,n=!!t;if(t&&!/requestAnimationFrame\(\)\s*\{\s*\[native code\]\s*\}/i.test(t.toString())&&(n=!1),n)return function(e,n){t(e,n)};var r={},i=1,o=null,a=+new Date;return function(e){var t=i++;return r[t]=e,null===o&&(o=setInterval((function(){var e=+new Date,t=r;for(var n in r={},t)t.hasOwnProperty(n)&&(t[n](e),a=e);e-a>2500&&(clearInterval(o),o=null)}),1e3/60)),t}}var I={},F=/rgb\(/,H=/rgb\((.*)\)/;function V(e,t){var n=e+"&"+t;if(I[n])return I[n];var r=document.createElement("div");r.style.background=e,document.body.appendChild(r);var i=window.getComputedStyle(r).backgroundColor;return document.body.removeChild(r),F.test(i)?I[n]="rgba("+H.exec(i)[1]+", "+t+")":e}var U={name:"bar",props:{ops:Object,state:Object,hideBar:Boolean,otherBarHide:Boolean,type:String},computed:{bar:function(){return M[this.type]},barSize:function(){return Math.max(this.state.size,this.ops.bar.minSize)},barRatio:function(){return(1-this.barSize)/(1-this.state.size)}},render:function(e){var t,n,r,o=this,a=V(o.ops.rail.background,o.ops.rail.opacity);this.touchManager||(this.touchManager=new u);var s,l=o.ops.rail.size,c=o.otherBarHide?0:l,f=o.touchManager.getTouchObject(),d={class:"__rail-is-"+o.type,style:(t={position:"absolute","z-index":"1",borderRadius:o.ops.rail.specifyBorderRadius||l,background:a,border:o.ops.rail.border},i(t,o.bar.opsSize,l),i(t,o.bar.posName,o.ops.rail.gutterOfEnds||0),i(t,o.bar.opposName,o.ops.rail.gutterOfEnds||c),i(t,o.bar.sidePosName,o.ops.rail.gutterOfSide),t)};f&&(d.on=(i(s={},f.touchenter,(function(){o.setRailHover()})),i(s,f.touchleave,(function(){o.setRailLeave()})),s));var p=o.ops.scrollButton.enable?l:0,h={class:"__bar-wrap-is-"+o.type,style:(n={position:"absolute",borderRadius:o.ops.rail.specifyBorderRadius||l},i(n,o.bar.posName,p),i(n,o.bar.opposName,p),n),on:{}},m=o.state.posValue*o.state.size,v=m*o.barRatio/o.barSize,g=o.state.opacity,y=x(this);y.setClassHook("vertical"==this.type?"vBarVisible":"hBarVisible",!!g);var b=(i(r={cursor:"pointer",position:"absolute",margin:"auto",transition:"opacity 0.5s","user-select":"none","border-radius":"inherit"},o.bar.size,100*o.barSize+"%"),i(r,"background",o.ops.bar.background),i(r,o.bar.opsSize,o.ops.bar.size),i(r,"opacity",g),i(r,"transform","translate"+M[o.type].axis+"("+v+"%)"),r),_={style:b,class:"__bar-is-"+o.type,ref:"thumb",on:{}};"vertical"==o.type?(h.style.width="100%",_.style.left=0,_.style.right=0):(h.style.height="100%",_.style.top=0,_.style.bottom=0);var w=this.touchManager.getTouchObject();return _.on[w.touchstart]=this.createBarEvent(),h.on[w.touchstart]=this.createTrackEvent(),e("div",d,[this.createScrollbarButton(e,"start"),this.hideBar?null:e("div",h,[e("div",_)]),this.createScrollbarButton(e,"end")])},data:function(){return{isBarDragging:!1}},methods:{setRailHover:function(){var e=x(this),t=e.vuescroll.state;t.isRailHover||(t.isRailHover=!0,e.showBar())},setRailLeave:function(){var e=x(this),t=e.vuescroll.state;t.isRailHover=!1,e.hideBar()},setBarDrag:function(e){this.$emit("setBarDrag",this.isBarDragging=e);var t=x(this);t.setClassHook("vertical"==this.type?"vBarDragging":"hBarDragging",!!e)},createBarEvent:function(){var e=this,t=x(e),n=e.touchManager.getTouchObject();function r(n){if(e.axisStartPos){var r=e.touchManager.getEventObject(n);if(r){r=r[0];var o=e.$refs.thumb.parentNode,a=r[e.bar.client]-o.getBoundingClientRect()[e.bar.posName],s=((a/=e.barRatio)-e.axisStartPos)/o[e.bar.offset];t.scrollTo(i({},e.bar.axis.toLowerCase(),t.scrollPanelElm[e.bar.scrollSize]*s),!1)}}}function o(){e.setBarDrag(!1),t.hideBar(),document.onselectstart=null,e.axisStartPos=0,h(document,n.touchmove,r,!1,"off"),h(document,n.touchend,o,!1,"off")}return function(t){var i=e.touchManager.getEventObject(t);i&&(t.stopImmediatePropagation(),t.preventDefault(),i=i[0],document.onselectstart=function(){return!1},e.axisStartPos=i[e.bar.client]-e.$refs.thumb.getBoundingClientRect()[e.bar.posName],e.setBarDrag(!0),h(document,n.touchmove,r),h(document,n.touchend,o))}},createTrackEvent:function(){var e=this;return function(t){var n=x(e),r=e.bar,o=r.client,a=r.offset,s=r.posName,l=r.axis,c=e.$refs.thumb;if(t.preventDefault(),t.stopImmediatePropagation(),c){var u=c[a],f=e.touchManager.getEventObject(t)[0],d=(f[o]-t.currentTarget.getBoundingClientRect()[s]-u/2)/(t.currentTarget[a]-u);n.scrollTo(i({},l.toLowerCase(),100*d+"%"))}}},createScrollbarButton:function(e,t){var n;if(!this.ops.scrollButton.enable)return null;var r=this.ops.rail.size,o=this.ops.scrollButton,a=o.opacity,s=o.background,l=V(s,a),c={class:["__bar-button","__bar-button-is-"+this.type+"-"+t],style:(n={},i(n,this.bar.scrollButton[t],0),i(n,"width",r),i(n,"height",r),i(n,"position","absolute"),i(n,"cursor","pointer"),i(n,"display","table"),n),ref:t},u={class:"__bar-button-inner",style:{border:"calc("+r+" / 2.5) solid transparent",width:"0",height:"0",margin:"auto",position:"absolute",top:"0",bottom:"0",right:"0",left:"0"},on:{}};"vertical"==this.type?"start"==t?(u.style["border-bottom-color"]=l,u.style.transform="translateY(-25%)"):(u.style["border-top-color"]=l,u.style.transform="translateY(25%)"):"start"==t?(u.style["border-right-color"]=l,u.style.transform="translateX(-25%)"):(u.style["border-left-color"]=l,u.style.transform="translateX(25%)");var f=this.touchManager.getTouchObject();return u.on[f.touchstart]=this.createScrollButtonEvent(t,f),e("div",c,[e("div",u)])},createScrollButtonEvent:function(e,t){var n=this,r=x(n),o=n.ops.scrollButton,a=o.step,s=o.mousedownStep,l="start"==e?-a:a,c="start"==e?-s:s,u=B(window),f=n.type,d=!1,p=!0,m=void 0;function v(){d&&!p&&(r.scrollBy(i({},"d"+n.bar.axis.toLowerCase(),c),!1),u(v,window))}function g(){if(clearTimeout(m),d=!1,h(document,t.touchend,g,!1,"off"),"mousedown"==t.touchstart){var i=n.$refs[e];h(i,"mouseenter",y,!1,"off"),h(i,"mouseleave",b,!1,"off")}r.setClassHook("cliking"+f+e+"Button",!1)}function y(){p=!1,v()}function b(){p=!0}return function(o){if(3!=o.which){if(r.setClassHook("cliking"+f+e+"Button",!0),o.stopImmediatePropagation(),o.preventDefault(),p=!1,r.scrollBy(i({},"d"+n.bar.axis.toLowerCase(),l)),h(document,t.touchend,g,!1),"mousedown"==t.touchstart){var a=n.$refs[e];h(a,"mouseenter",y,!1),h(a,"mouseleave",b,!1)}clearTimeout(m),m=setTimeout((function(){d=!0,u(v,window)}),500)}}}}};function W(e,t){var n=M[t].axis,r=t.charAt(0)+"Bar",i=!e.bar[r].state.size||!e.mergedOptions.scrollPanel["scrolling"+n]||e.refreshLoad&&"vertical"!==t||e.mergedOptions.bar.disable,o=e.mergedOptions.rail.keepShow;return i&&!o?null:{hideBar:i,props:{type:t,ops:{bar:e.mergedOptions.bar,rail:e.mergedOptions.rail,scrollButton:e.mergedOptions.scrollButton},state:e.bar[r].state,hideBar:i},on:{setBarDrag:e.setBarDrag},ref:t+"Bar",key:t}}var q=function(e){var t=e.render,n=e.components,r=e.mixins;return{name:"vueScroll",props:{ops:{type:Object}},components:n,mixins:[E].concat(a([].concat(r))),created:function(){var e=this,t=d(this.$vuescrollConfig||{},{}),n=d(P,t);this.$options.propsData.ops=this.$options.propsData.ops||{},Object.keys(this.$options.propsData.ops).forEach((function(t){!function(e,t,n,r){(n[t]||"function"==typeof n)&&(r=r||t,Object.defineProperty(e,t,{get:function(){return n[r]},configurable:!0}))}(e.mergedOptions,t,e.$options.propsData.ops)})),d(n,this.mergedOptions),this._isVuescrollRoot=!0,this.renderError=function(e){var t=!1,n=e.scrollPanel,r=e.bar,i=r.vBar,o=r.hBar,a=e.rail,s=a.vRail,l=a.hRail,c=n.initialScrollY,u=n.initialScrollX;return c&&!String(c).match(/^\d+(\.\d+)?(%)?$/)&&v("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."),u&&!String(u).match(/^\d+(\.\d+)?(%)?$/)&&v("The prop `initialScrollY` or `initialScrollX` should be a percent number like `10%` or an exact number that greater than or equal to 0 like `100`."),(i||o||s||l)&&v("The options: vRail, hRail, vBar, hBar have been deprecated since v4.7.0,please use corresponing rail/bar instead!"),L&&(L=[].concat(L)).forEach((function(n){n(e)&&(t=!0)})),t}(this.mergedOptions)},render:function(e){var n=this;if(n.renderError)return e("div",[[n.$slots.default]]);n.touchManager||(n.touchManager=new u);var r,s={style:{height:n.vuescroll.state.height,width:n.vuescroll.state.width,padding:0,position:"relative",overflow:"hidden"},class:o({__vuescroll:!0},n.classHooks)},l=n.touchManager.getTouchObject();l&&(s.on=(i(r={},l.touchenter,(function(){n.vuescroll.state.pointerLeave=!1,n.updateBarStateAndEmitEvent(),n.setClassHook("mouseEnter",!0)})),i(r,l.touchleave,(function(){n.vuescroll.state.pointerLeave=!0,n.hideBar(),n.setClassHook("mouseEnter",!1)})),i(r,l.touchmove,(function(){n.vuescroll.state.pointerLeave=!1,n.updateBarStateAndEmitEvent()})),r));var c=[t(e,n)].concat(a(function(e,t){var n=W(t,"vertical"),r=W(t,"horizontal");return t.setClassHook("hasVBar",!(!n||n.hideBar)),t.setClassHook("hasHBar",!(!r||r.hideBar)),[n?e("bar",o({},n,{props:o({otherBarHide:!r},n.props)})):null,r?e("bar",o({},r,{props:o({otherBarHide:!n},r.props)})):null]}(e,n))),f=this.$slots["scroll-container"];return f?_(e,f,c,s):e("div",s,[c])},mounted:function(){var e=this;this.renderError||(this.initVariables(),this.initWatchOpsChange(),this.refreshInternalStatus(),this.updatedCbs.push((function(){e.scrollToAnchor(),e.updateBarStateAndEmitEvent()})))},updated:function(){var e=this;this.updatedCbs.forEach((function(t){t.call(e)})),this.updatedCbs=[]},beforeDestroy:function(){this.destroy&&this.destroy()},computed:{scrollPanelElm:function(){return this.$refs.scrollPanel._isVue?this.$refs.scrollPanel.$el:this.$refs.scrollPanel}},data:function(){return{vuescroll:{state:{isDragging:!1,pointerLeave:!0,isRailHover:!1,height:"100%",width:"100%",currentSizeStrategy:"percent",currentScrollState:null,currentScrollInfo:null}},bar:{vBar:{state:{posValue:0,size:0,opacity:0}},hBar:{state:{posValue:0,size:0,opacity:0}}},mergedOptions:{vuescroll:{},scrollPanel:{},scrollContent:{},rail:{},bar:{}},updatedCbs:[],renderError:!1,classHooks:{hasVBar:!1,hasHBar:!1,vBarVisible:!1,hBarVisible:!1,vBarDragging:!1,hBarDragging:!1,clikingVerticalStartButton:!1,clikingVerticalEndButton:!1,clikingHorizontalStartButton:!1,clikingHorizontalEndButton:!1,mouseEnter:!1}}},methods:{scrollingComplete:function(){this.updateBarStateAndEmitEvent("handle-scroll-complete")},setBarDrag:function(e){this.vuescroll.state.isDragging=e},setClassHook:function(e,t){this.classHooks[e]=t},showAndDefferedHideBar:function(e){var t=this;this.showBar(),this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0),this.timeoutId=setTimeout((function(){t.timeoutId=0,t.hideBar(e)}),this.mergedOptions.bar.showDelay)},showBar:function(){var e=this.mergedOptions.bar.opacity;this.bar.vBar.state.opacity=e,this.bar.hBar.state.opacity=e},hideBar:function(e){var t=this.vuescroll.state,n=t.isDragging,r=t.isRailHover;n||r||(e&&!this.mergedOptions.bar.keepShow&&(this.bar.hBar.state.opacity=0,this.bar.vBar.state.opacity=0),this.mergedOptions.bar.keepShow||this.vuescroll.state.isDragging||(this.bar.vBar.state.opacity=0,this.bar.hBar.state.opacity=0))},useNumbericSize:function(){this.vuescroll.state.currentSizeStrategy="number";var e=this.mergedOptions.scrollPanel,t=e.maxHeight,n=e.maxWidth,r=this.$el.parentNode,i=r.clientHeight,o=r.clientWidth,a=this.scrollPanelElm,s=a.scrollHeight,l=a.scrollWidth,c=void 0,u=void 0;t||n?(u=s<=t?void 0:t,c=l<=n?void 0:n):(u=i,c=o),this.vuescroll.state.height=u?u+"px":void 0,this.vuescroll.state.width=c?c+"px":void 0},usePercentSize:function(){this.vuescroll.state.currentSizeStrategy="percent",this.vuescroll.state.height="100%",this.vuescroll.state.width="100%"},setVsSize:function(){var e=this.mergedOptions.vuescroll.sizeStrategy,t=this.mergedOptions.scrollPanel,n=t.maxHeight,r=t.maxWidth,i=this.scrollPanelElm,o=i.clientHeight,a=i.clientWidth;"number"==e||n&&o>n||r&&a>r?this.useNumbericSize():"percent"==e&&o!=n&&a!=r&&this.usePercentSize()},initWatchOpsChange:function(){var e=this,t={deep:!0,sync:!0};this.$watch("mergedOptions",(function(){setTimeout((function(){if(e.isSmallChangeThisTick)return e.isSmallChangeThisTick=!1,void e.updateBarStateAndEmitEvent("options-change");e.refreshInternalStatus()}),0)}),t),z.forEach((function(n){e.$watch(n,(function(){e.isSmallChangeThisTick=!0}),t)}))},scrollToAnchor:function(){var e=window.location.hash;if(e&&(!(e=e.slice(e.lastIndexOf("#")))||function(e){return/^#[a-zA-Z_]\d*$/.test(e)}(e))){var t=document.querySelector(e);!g(t,this.$el)||this.mergedOptions.scrollPanel.initialScrollY||this.mergedOptions.scrollPanel.initialScrollX||this.scrollIntoView(t)}}}}},Y={name:"scrollPanel",props:{ops:{type:Object,required:!0}},methods:{updateInitialScroll:function(){var e=0,t=0,n=x(this);this.ops.initialScrollX&&(e=this.ops.initialScrollX),this.ops.initialScrollY&&(t=this.ops.initialScrollY),(e||t)&&n.scrollTo({x:e,y:t})}},mounted:function(){var e=this;setTimeout((function(){e._isDestroyed||e.updateInitialScroll()}),0)},render:function(e){var t={class:["__panel"],style:{position:"relative",boxSizing:"border-box"}},n=x(this),r=n.$slots["scroll-panel"];return r?_(e,r,this.$slots.default,t):e("div",t,[[this.$slots.default]])}};function X(e,t){for(var n=e.children,r=[],i=function(e){var n=e.getBoundingClientRect(),r=n.left,i=n.top,o=n.width,a=n.height,s=t.getBoundingClientRect(),l=s.left,c=s.top,u=s.height,f=s.width;return r-l+o>0&&r-l<f&&i-c+a>0&&i-c<u},o=0;o<n.length;o++){var a=n.item(o);i(a)&&!a.isResizeElm&&r.push(a)}return r}function G(e,t){return function(n){return t(e,n)}}function K(e,t){var n=null;return"easeInQuad"===e&&(n=t*t),"easeOutQuad"===e&&(n=t*(2-t)),"easeInOutQuad"===e&&(n=t<.5?2*t*t:(4-2*t)*t-1),"easeInCubic"===e&&(n=t*t*t),"easeOutCubic"===e&&(n=--t*t*t+1),"easeInOutCubic"===e&&(n=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e&&(n=t*t*t*t),"easeOutQuart"===e&&(n=1- --t*t*t*t),"easeInOutQuart"===e&&(n=t<.5?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e&&(n=t*t*t*t*t),"easeOutQuint"===e&&(n=1+--t*t*t*t*t),"easeInOutQuint"===e&&(n=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t),n||t}function J(){return!0}var Q=Date.now||function(){return(new Date).getTime()},Z=function(){function e(){n(this,e),this.init(),this.isRunning=!1}return r(e,[{key:"pause",value:function(){this.isRunning&&(this.isPaused=!0)}},{key:"stop",value:function(){this.isStopped=!0}},{key:"continue",value:function(){this.isPaused&&(this.isPaused=!1,this.ts=Q()-this.percent*this.spd,this.execScroll())}},{key:"startScroll",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:J,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:J,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:J,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:J,s=t-e,l=s>0?-1:1,c=Q();this.isRunning||this.init(),l!=this.dir||c-this.ts>200?(this.ts=c,this.dir=l,this.st=e,this.ed=t,this.df=s):this.df+=s,this.spd=n,this.completeCb=i,this.vertifyCb=o,this.stepCb=r,this.easingMethod=a,this.isRunning||this.execScroll()}},{key:"execScroll",value:function(){var e=this;if(this.df){var t=this.percent||0;this.percent=0,this.isRunning=!0,this.ref((function n(){if(e.isRunning&&e.vertifyCb(t)&&!e.isStopped){if(t=(Q()-e.ts)/e.spd,e.isPaused)return e.percent=t,void(e.isRunning=!1);if(t<1){var r=e.st+e.df*e.easingMethod(t);e.stepCb(r),e.ref(n)}else e.stepCb(e.st+e.df),e.completeCb(),e.isRunning=!1}else e.isRunning=!1}))}}},{key:"init",value:function(){this.st=0,this.ed=0,this.df=0,this.spd=0,this.ts=0,this.dir=0,this.ref=B(window),this.isPaused=!1,this.isStopped=!1}}]),e}();function ee(e){var t={ref:"scrollPanel",style:{height:"100%",overflowY:"scroll",overflowX:"scroll"},class:[],nativeOn:{"&scroll":e.handleScroll},props:{ops:e.mergedOptions.scrollPanel}};e.scrollYEnable=!0,e.scrollXEnable=!0,t.nativeOn.DOMMouseScroll=t.nativeOn.mousewheel=e.onMouseWheel;var n=e.mergedOptions.scrollPanel,r=n.scrollingY,i=n.scrollingX;e.bar.hBar.state.size&&i||(e.scrollXEnable=!1,t.style.overflowX="hidden"),e.bar.vBar.state.size&&r||(e.scrollYEnable=!1,t.style.overflowY="hidden");var o=function(){if(c())return 0;if(void 0!==p)return p;var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),p=t-r}();return o?(e.bar.vBar.state.size&&e.mergedOptions.scrollPanel.scrollingY&&("right"==e.mergedOptions.scrollPanel.verticalNativeBarPos?t.style.marginRight="-"+o+"px":t.style.marginLeft="-"+o+"px"),e.bar.hBar.state.size&&e.mergedOptions.scrollPanel.scrollingX&&(t.style.height="calc(100% + "+o+"px)")):(T("vuescroll-hide-ios-bar",".__hidebar::-webkit-scrollbar {\n width: 0;\n height: 0;\n }"),t.class.push("__hidebar"),l()&&(t.style["-webkit-overflow-scrolling"]="touch")),t.style.transformOrigin="",t.style.transform="",t}function te(e,t){var n={position:"relative","box-sizing":"border-box","min-width":"100%","min-height":"100%"},r={style:n,ref:"scrollContent",class:"__view"},i=t.$slots["scroll-content"];return t.mergedOptions.scrollPanel.scrollingX?n.width=b("width","fit-content"):r.style.width="100%",t.mergedOptions.scrollPanel.padding&&(r.style.paddingRight=t.mergedOptions.rail.size),i?_(e,i,t.$slots.default,r):e("div",r,[t.$slots.default])}function ne(e,t){var n=w(t.$slots["scroll-panel"]).ch||t.$slots.default,r=[];return n||(t.$slots.default=n=[]),t.mergedOptions.vuescroll.pullRefresh.enable&&r.push(e("div",{class:"__refresh",style:{visibility:t.refrehDomVisiable?"":"hidden"},ref:N,key:N},[re(e,t,"refresh",t.pullRefreshTip)])),r.push(n),t.mergedOptions.vuescroll.pushLoad.enable&&r.push(e("div",{ref:$,key:$,class:"__load",style:{visibility:t.loadDomVisiable?"":"hidden"}},[re(e,t,"load",t.pushLoadTip)])),r}function re(e,t,n,r){var i=t.vuescroll.state[n+"Stage"],o=null;if(o=t.$slots[n+"-"+i])return o;switch(i){case"deactive":case"active":var a="active";"deactive"==i&&(a+=" deactive"),o=e("svg",{class:a,attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 1000 1000","enable-background":"new 0 0 1000 1000",xmlSpace:"preserve"}},[e("metadata",[" Svg Vector Icons : http://www.sfont.cn "]),e("g",[e("g",{attrs:{transform:"matrix(1 0 0 -1 0 1008)"}},[e("path",{attrs:{d:"M10,543l490,455l490-455L885,438L570,735.5V18H430v717.5L115,438L10,543z"}})])])]);break;case"start":o=e("svg",{attrs:{viewBox:"0 0 50 50"},class:"start"},[e("circle",{attrs:{stroke:"true",cx:"25",cy:"25",r:"20"},class:"bg-path"}),e("circle",{attrs:{cx:"25",cy:"25",r:"20"},class:"active-path"})]);break;case"beforeDeactive":o=e("svg",{attrs:{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3562"}},[e("path",{attrs:{d:"M512 0C229.706831 0 0 229.667446 0 512s229.667446 512 512 512c282.293169 0 512-229.667446 512-512S794.332554 0 512 0z m282.994215 353.406031L433.2544 715.145846a31.484062 31.484062 0 0 1-22.275938 9.231754h-0.4096a31.586462 31.586462 0 0 1-22.449231-9.814646L228.430769 546.327631a31.507692 31.507692 0 0 1 45.701908-43.386093l137.4208 144.785724L750.442338 308.854154a31.507692 31.507692 0 1 1 44.551877 44.551877z",fill:"","p-id":"3563"}})])}return[o,r]}function ie(e,t){var n=function(e){var t={ref:"scrollPanel",style:{"user-select":"none","-webkit-user-select":"none","min-width":"100%","min-height":"100%"},class:[],props:{ops:e.mergedOptions.scrollPanel}};t.class.push("__slide"),l()&&(t.style=i({},"-webkit-overflow-scrolling","touch")),"transform"==e.mergedOptions.vuescroll.renderMethod&&(t.style["transform-origin"]="left top 0px");var n=e.mergedOptions.scrollPanel,r=n.scrollingX,o=n.scrollingY,a=n.padding;if(r&&!e.refreshLoad){var s=b("width","fit-content");s?t.style.width=s:t.display="inline-block"}return r||t.class.push("x-hidden"),o||t.class.push("y-hidden"),a&&(t.style.paddingRight=e.mergedOptions.rail.size),t}(t);return e("scrollPanel",n,[ne(e,t)])}function oe(e,t){return function(e,t){if(!e.hasResized){var n="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",r=document.createElement("div");r.style.cssText=n;var i=document.createElement("object");return i.style.cssText=n,i.type="text/html",i.tabIndex=-1,i.onload=function(){h(i.contentDocument.defaultView,"resize",t)},s()||(i.data="about:blank"),r.isResizeElm=!0,r.appendChild(i),e.appendChild(r),s()&&(i.data="about:blank"),function(){i.contentDocument&&h(i.contentDocument.defaultView,"resize",t,"off"),e.removeChild(r),e.hasResized=!1}}}(e,t)}var ae={mixins:[{methods:{slideScrollTo:function(e,t,n,r){var i=this.getPosition(),o=i.scrollLeft,a=i.scrollTop;e=C(e||o,this.scroller.__maxScrollLeft),t=C(t||a,this.scroller.__maxScrollTop),this.scroller.scrollTo(e,t,n>0,void 0,!1,n,r)},zoomBy:function(e,t,n,r,i){this.scroller?this.scroller.zoomBy(e,t,n,r,i):v("zoomBy and zoomTo are only for slide mode!")},zoomTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],r=arguments[3],i=arguments[4];this.scroller?this.scroller.zoomTo(e,t,n,r,i):v("zoomBy and zoomTo are only for slide mode!")},getCurrentPage:function(){if(this.scroller&&this.mergedOptions.vuescroll.paging)return this.scroller.getCurrentPage();v("getCurrentPage and goToPage are only for slide mode and paging is enble!")},goToPage:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.scroller&&this.mergedOptions.vuescroll.paging?this.scroller.goToPage(e,t):v("getCurrentPage and goToPage are only for slide mode and paging is enble!")},triggerRefreshOrLoad:function(e){if(this.scroller){var t=this.mergedOptions.vuescroll.pullRefresh.enable,n=this.mergedOptions.vuescroll.pushLoad.enable;if("refresh"!=e||t)if("load"!=e||n)if("refresh"===e||"load"===e){if("start"!=this.vuescroll.state[e+"Stage"])return this.scroller.triggerRefreshOrLoad(e),!0}else v("param must be one of load and refresh!");else v("load must be enabled and content's height > container's height!");else v("refresh must be enabled!")}else v("You can only use triggerRefreshOrLoad in slide mode!")},getCurrentviewDomSlide:function(){var e=this.scrollPanelElm,t=X(e,this.$el);return t}}},{mounted:function(){this.scrollX=new Z,this.scrollY=new Z},methods:{nativeStop:function(){this.scrollX.stop(),this.scrollY.stop()},nativePause:function(){this.scrollX.pause(),this.scrollY.pause()},nativeContinue:function(){this.scrollX.continue(),this.scrollY.continue()},nativeScrollTo:function(e,t,n,r){!1===n||void 0===n&&(n=this.mergedOptions.scrollPanel.speed);var i=this.scrollPanelElm,o=i.scrollTop,a=i.scrollLeft,s=i.scrollWidth,l=i.clientWidth,c=i.scrollHeight,u=i.clientHeight;if(e=void 0===e?a:C(e,s-l),t=void 0===t?o:C(t,c-u),n){var f=G(r=r||this.mergedOptions.scrollPanel.easing,K);e!=a&&this.scrollX.startScroll(a,e,n,(function(e){i.scrollLeft=e}),this.scrollingComplete.bind(this),void 0,f),t!=o&&this.scrollY.startScroll(o,t,n,(function(e){i.scrollTop=e}),this.scrollingComplete.bind(this),void 0,f)}else i.scrollTop=t,i.scrollLeft=e},getCurrentviewDomNative:function(){var e=this.scrollContentElm,t=X(e,this.$el);return t}}}],methods:{internalScrollTo:function(e,t,n,r){"native"==this.mode?this.nativeScrollTo(e,t,n,r):"slide"==this.mode&&this.slideScrollTo(e,t,n,r)},stop:function(){this.nativeStop()},pause:function(){this.nativePause()},continue:function(){this.nativeContinue()},getCurrentviewDom:function(){return"slide"==this.mode?this.getCurrentviewDomSlide():this.getCurrentviewDomNative()}}},se=Date.now||function(){return+new Date},le={},ce=1,ue={effect:{}},fe=null;fe="undefined"!=typeof window?window:{},ue.effect.Animate={requestAnimationFrame:B(fe),stop:function(e){var t=null!=le[e];return t&&(le[e]=null),t},isRunning:function(e){return null!=le[e]},start:function(e,t,n,r,i,o){var a=se(),s=a,l=0,c=0,u=ce++;if(o||(o=document.body),u%20==0){var f={};for(var d in le)f[d]=!0;le=f}return le[u]=!0,ue.effect.Animate.requestAnimationFrame((function f(d){var p=!0!==d,h=se();if(!le[u]||t&&!t(u))return le[u]=null,void(n&&n(60-c/((h-a)/1e3),u,!1));if(p)for(var m=Math.round((h-s)/(1e3/60))-1,v=0;v<Math.min(m,4);v++)f(!0),c++;if(le[u]){r&&(l=(h-a)/r)>1&&(l=1);var g=i?i(l):l;!1!==e(g,h,p)&&1!==l||!p?p&&(s=h,ue.effect.Animate.requestAnimationFrame(f,o)):(le[u]=null,n&&n(60-c/((h-a)/1e3),u,1===l||null==r))}}),o),u}};var de=null,pe=null;function he(e,t){for(var n in this.__callback=e,this.options={scrollingX:!0,scrollingY:!0,animating:!0,animationDuration:250,bouncing:{top:100,bottom:100,left:100,right:100},locking:!0,paging:!1,snapping:!1,zooming:!1,minZoom:.5,maxZoom:3,speedMultiplier:1,scrollingComplete:R,animatingEasing:"easeOutCubic",noAnimatingEasing:"easeInOutCubic",penetrationDeceleration:.03,penetrationAcceleration:.08},t)this.options[n]=t[n];de=G(this.options.animatingEasing,K),pe=G(this.options.noAnimatingEasing,K)}var me={__isSingleTouch:!1,__isTracking:!1,__didDecelerationComplete:!1,__isGesturing:!1,__isDragging:!1,__isDecelerating:!1,__isAnimating:!1,__clientLeft:0,__clientTop:0,__clientWidth:0,__clientHeight:0,__contentWidth:0,__contentHeight:0,__snapWidth:100,__snapHeight:100,__refreshHeight:null,__loadHeight:null,__refreshActive:!1,__refreshActivate:null,__refreshBeforeDeactivate:null,__refreshDeactivate:null,__refreshStart:null,__loadActive:null,__loadActivate:null,__loadBeforeDeactivate:null,__loadDeactivate:null,__loadStart:null,__zoomLevel:1,__scrollLeft:0,__scrollTop:0,__maxScrollLeft:0,__maxScrollTop:0,__scheduledLeft:0,__scheduledTop:0,__scheduledZoom:0,__currentPageX:null,__currentPageY:null,__totalXPage:null,__totalYPage:null,__disable:!1,__lastTouchLeft:null,__lastTouchTop:null,__lastTouchMove:null,__positions:null,__minDecelerationScrollLeft:null,__minDecelerationScrollTop:null,__maxDecelerationScrollLeft:null,__maxDecelerationScrollTop:null,__decelerationVelocityX:null,__decelerationVelocityY:null,setDimensions:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];e===+e&&(this.__clientWidth=e),t===+t&&(this.__clientHeight=t),n===+n&&(this.__contentWidth=n),r===+r&&(this.__contentHeight=r),this.__computeScrollMax(),o||this.scrollTo(this.__scrollLeft,this.__scrollTop,i)},setPosition:function(e,t){this.__clientLeft=e||0,this.__clientTop=t||0},setSnapSize:function(e,t){this.__snapWidth=e,this.__snapHeight=t},activatePullToRefresh:function(e,t){var n=t.activateCallback,r=t.deactivateCallback,i=t.startCallback,o=t.beforeDeactivateCallback,a=t.beforeDeactiveEnd;this.__refreshHeight=e,this.__refreshActivate=n,this.__refreshBeforeDeactivate=o,this.__refreshBeforeDeactiveEnd=a,this.__refreshDeactivate=r,this.__refreshStart=i},activatePushToLoad:function(e,t){var n=t.activateCallback,r=t.deactivateCallback,i=t.startCallback,o=t.beforeDeactivateCallback,a=t.beforeDeactiveEnd;this.__loadHeight=e,this.__loadActivate=n,this.__loadBeforeDeactivate=o,this.__loadBeforeDeactiveEnd=a,this.__loadDeactivate=r,this.__loadStart=i},triggerRefreshOrLoad:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"refresh",t=this.__isDecelerating;if(t&&(ue.effect.Animate.stop(t),this.__isDecelerating=!1),"refresh"==e){if(this.__refreshActive||this.__refreshBeforeDeactiveStarted)return;this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&(this.__refreshStart(),this.__refreshActive=!0)}else if("load"==e){if(this.__loadActive||this.__loadBeforeDeactiveStarted)return;this.__publish(this.__scrollLeft,this.__maxScrollTop+this.__loadHeight,this.__zoomLevel,!0),this.__loadStart&&(this.__loadStart(),this.__loadActive=!0)}},finishRefreshOrLoad:function(){var e=this;if(e.__refreshActive){e.__refreshActive=!1;var t=function(){e.__refreshBeforeDeactiveEnd&&e.__refreshBeforeDeactiveEnd(),e.__refreshBeforeDeactiveStarted=!0,e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)};e.__refreshBeforeDeactivate?e.__refreshBeforeDeactivate(t):t()}if(e.__loadActive){e.__loadActive=!1;var n=function(){e.__loadBeforeDeactiveEnd&&e.__loadBeforeDeactiveEnd(),e.__loadBeforeDeactiveStarted=!0,e.scrollTo(e.__scrollLeft,e.__scrollTop,!0)};e.__loadBeforeDeactivate?e.__loadBeforeDeactivate(n):n()}},getValues:function(){return{left:this.__scrollLeft,top:this.__scrollTop,zoom:this.__zoomLevel}},getScrollMax:function(){return{left:this.__maxScrollLeft,top:this.__maxScrollTop}},zoomTo:function(e,t,n,r,i){if(!this.options.zooming)throw new Error("Zooming is not enabled!");i&&(this.__zoomComplete=i),this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1);var o=this.__zoomLevel;null==n&&(n=this.__clientWidth/2),null==r&&(r=this.__clientHeight/2),e=Math.max(Math.min(e,this.options.maxZoom),this.options.minZoom),this.__computeScrollMax(e);var a=(n+this.__scrollLeft)*e/o-n,s=(r+this.__scrollTop)*e/o-r;a>this.__maxScrollLeft?a=this.__maxScrollLeft:a<0&&(a=0),s>this.__maxScrollTop?s=this.__maxScrollTop:s<0&&(s=0),this.__publish(a,s,e,t)},zoomBy:function(e,t,n,r,i){this.zoomTo(this.__zoomLevel*e,t,n,r,i)},scrollTo:function(e,t,n,r,i,o,a){if(this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1),null!=r&&r!==this.__zoomLevel){if(!this.options.zooming)throw new Error("Zooming is not enabled!");e*=r,t*=r,this.__computeScrollMax(r)}else r=this.__zoomLevel;this.options.scrollingX||i?this.options.paging?e=Math.round(e/this.__clientWidth)*this.__clientWidth:this.options.snapping&&(e=Math.round(e/this.__snapWidth)*this.__snapWidth):e=this.__scrollLeft,this.options.scrollingY||i?this.options.paging?t=Math.round(t/this.__clientHeight)*this.__clientHeight:this.options.snapping&&(t=Math.round(t/this.__snapHeight)*this.__snapHeight):t=this.__scrollTop,i||(e=Math.max(Math.min(this.__maxScrollLeft,e),0),t=Math.max(Math.min(this.__maxScrollTop,t),0)),e===this.__scrollLeft&&t===this.__scrollTop&&(n=!1),this.__isTracking||this.__publish(e,t,r,n,o,a)},scrollBy:function(e,t,n){var r=this.__isAnimating?this.__scheduledLeft:this.__scrollLeft,i=this.__isAnimating?this.__scheduledTop:this.__scrollTop;this.scrollTo(r+(e||0),i+(t||0),n)},getCurrentPage:function(){return this.__computePage(),{x:this.__currentPageX,y:this.__currentPageY}},goToPage:function(e,t){var n=e.x,r=e.y;isNaN(n)&&(n=1),isNaN(r)&&(r=1),this.scrollTo((n-1)*this.__clientWidth,(r-1)*this.__clientHeight,t)},doMouseZoom:function(e,t,n,r){var i=e>0?.97:1.03;return this.zoomTo(this.__zoomLevel*i,!1,n-this.__clientLeft,r-this.__clientTop)},doTouchStart:function(e,t){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);var n,r;this.__interruptedAnimation=!0,this.__isDecelerating&&(ue.effect.Animate.stop(this.__isDecelerating),this.__isDecelerating=!1,this.__interruptedAnimation=!0),this.__isAnimating&&(ue.effect.Animate.stop(this.__isAnimating),this.__isAnimating=!1,this.__interruptedAnimation=!0);var i=1===e.length;i?(n=e[0].pageX,r=e[0].pageY):(n=Math.abs(e[0].pageX+e[1].pageX)/2,r=Math.abs(e[0].pageY+e[1].pageY)/2),this.__initialTouchLeft=n,this.__initialTouchTop=r,this.__zoomLevelStart=this.__zoomLevel,this.__lastTouchLeft=n,this.__lastTouchTop=r,this.__lastTouchMove=t,this.__lastScale=1,this.__enableScrollX=!i&&this.options.scrollingX,this.__enableScrollY=!i&&this.options.scrollingY,this.__isTracking=!0,this.__didDecelerationComplete=!1,this.__isDragging=!i,this.__isSingleTouch=i,this.__positions=[]},doTouchMove:function(e,t,n){if(null==e.length)throw new Error("Invalid touch list: "+e);if(t instanceof Date&&(t=t.valueOf()),"number"!=typeof t)throw new Error("Invalid timestamp value: "+t);if(this.__isTracking){var r,i;2===e.length?(r=Math.abs(e[0].pageX+e[1].pageX)/2,i=Math.abs(e[0].pageY+e[1].pageY)/2):(r=e[0].pageX,i=e[0].pageY);var o=this.__positions;if(this.__isDragging){var a=r-this.__lastTouchLeft,s=i-this.__lastTouchTop,l=this.__scrollLeft,c=this.__scrollTop,u=this.__zoomLevel;if(null!=n&&this.options.zooming){var f=u;if(u=u/this.__lastScale*n,u=Math.max(Math.min(u,this.options.maxZoom),this.options.minZoom),f!==u){var d=r-this.__clientLeft,p=i-this.__clientTop;l=(d+l)*u/f-d,c=(p+c)*u/f-p,this.__computeScrollMax(u)}}var h=this.options.bouncing;if(this.__enableScrollX){l-=a*this.options.speedMultiplier;var m=this.__maxScrollLeft;(l>m||l<0)&&(l+=a/2*this.options.speedMultiplier,l=Math.min(Math.max(-h.left,l),m+h.right))}if(this.__enableScrollY){c-=s*this.options.speedMultiplier;var v=this.__maxScrollTop;(c>v||c<0)&&(c+=s/2*this.options.speedMultiplier,c=Math.min(Math.max(-h.top,c),v+h.bottom),this.__enableScrollX||null==this.__refreshHeight&&null==this.__loadHeight||(!this.__refreshActive&&c<=-this.__refreshHeight?(this.__refreshActive=!0,this.__refreshActivate&&this.__refreshActivate()):this.__refreshActive&&c>-this.__refreshHeight?(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()):!this.__loadActive&&c>=this.__maxScrollTop+this.__loadHeight&&this.__loadHeight>0?(this.__loadActive=!0,this.__loadActivate&&this.__loadActivate()):this.__loadActive&&c<this.__maxScrollTop+this.__loadHeight&&(this.__loadActive=!1,this.__loadDeactivate&&this.__loadDeactivate())))}o.length>60&&o.splice(0,30),o.push(l,c,t),this.__publish(l,c,u)}else{var g=this.options.locking?3:0,y=Math.abs(r-this.__initialTouchLeft),b=Math.abs(i-this.__initialTouchTop);this.__enableScrollX=this.options.scrollingX&&y>=g,this.__enableScrollY=this.options.scrollingY&&b>=g,o.push(this.__scrollLeft,this.__scrollTop,t),this.__isDragging=(this.__enableScrollX||this.__enableScrollY)&&(y>=5||b>=5),this.__isDragging&&(this.__interruptedAnimation=!1)}this.__lastTouchLeft=r,this.__lastTouchTop=i,this.__lastTouchMove=t,this.__lastScale=n}},doTouchEnd:function(e){if(e instanceof Date&&(e=e.valueOf()),"number"!=typeof e)throw new Error("Invalid timestamp value: "+e);if(this.__isTracking){if(this.__isTracking=!1,this.__isDragging)if(this.__isDragging=!1,this.__isSingleTouch&&this.options.animating&&e-this.__lastTouchMove<=100){for(var t=this.__positions,n=t.length-1,r=n,i=n;i>0&&t[i]>this.__lastTouchMove-100;i-=3)r=i;if(r!==n){var o=t[n]-t[r],a=this.__scrollLeft-t[r-2],s=this.__scrollTop-t[r-1];this.__decelerationVelocityX=a/o*(1e3/60),this.__decelerationVelocityY=s/o*(1e3/60);var l=this.options.paging||this.options.snapping?4:1;Math.abs(this.__decelerationVelocityX)>l||Math.abs(this.__decelerationVelocityY)>l?this.__refreshActive||this.__loadActive||this.__startDeceleration(e):this.__scrollComplete()}else this.__scrollComplete()}else e-this.__lastTouchMove>100&&this.__scrollComplete();this.__isDecelerating||(this.__refreshActive&&this.__refreshStart?(this.__publish(this.__scrollLeft,-this.__refreshHeight,this.__zoomLevel,!0),this.__refreshStart&&this.__refreshStart()):this.__loadActive&&this.__loadStart?(this.__publish(this.__scrollLeft,this.__maxScrollTop+this.__loadHeight,this.__zoomLevel,!0),this.__loadStart&&this.__loadStart()):((this.__interruptedAnimation||this.__isDragging)&&this.__scrollComplete(),this.scrollTo(this.__scrollLeft,this.__scrollTop,!0,this.__zoomLevel),this.__refreshActive?(this.__refreshActive=!1,this.__refreshDeactivate&&this.__refreshDeactivate()):this.__loadActive&&(this.__loadActive=!1,this.__loadDeactivate&&this.__loadDeactivate()))),this.__positions.length=0}},onScroll:R,stop:function(){this.__disable=!0},start:function(){this.__disable=!0},__publish:function(e,t,n,r,i,o){var a=this;if(!a.__disable){isNaN(e)&&(e=this.__scrollLeft),isNaN(t)&&(t=this.__scrollTop);var s=a.__isAnimating;if(s&&(ue.effect.Animate.stop(s),a.__isAnimating=!1),r&&(a.options.animating||i)){a.__scheduledLeft=e,a.__scheduledTop=t,a.__scheduledZoom=n;var l=a.__scrollLeft,c=a.__scrollTop,u=a.__zoomLevel,f=e-l,d=t-c,p=n-u,h=de;o&&(h=G(o,K)),a.__isAnimating=ue.effect.Animate.start((function(e,t,n){n&&(a.__scrollLeft=l+f*e,a.__scrollTop=c+d*e,a.__zoomLevel=u+p*e,a.__callback&&(a.__callback(a.__scrollLeft,a.__scrollTop,a.__zoomLevel),a.onScroll()))}),(function(e){return a.__isAnimating===e}),(function(e,t,n){t===a.__isAnimating&&(a.__isAnimating=!1),(a.__didDecelerationComplete||n)&&a.__scrollComplete(),a.options.zooming&&(a.__computeScrollMax(),a.__zoomComplete&&(a.__zoomComplete(),a.__zoomComplete=null)),a.__refreshBeforeDeactiveStarted&&(a.__refreshBeforeDeactiveStarted=!1,a.__refreshDeactivate&&a.__refreshDeactivate()),a.__loadBeforeDeactiveStarted&&(a.__loadBeforeDeactiveStarted=!1,a.__loadDeactivate&&a.__loadDeactivate())}),i||a.options.animationDuration,s?h:pe)}else a.__scheduledLeft=a.__scrollLeft=e,a.__scheduledTop=a.__scrollTop=t,a.__scheduledZoom=a.__zoomLevel=n,a.__callback&&(a.__callback(e,t,n),a.onScroll()),a.options.zooming&&(a.__computeScrollMax(),a.__zoomComplete&&(a.__zoomComplete(),a.__zoomComplete=null)),a.__refreshBeforeDeactiveStarted&&(a.__refreshBeforeDeactiveStarted=!1,a.__refreshDeactivate&&a.__refreshDeactivate()),a.__loadBeforeDeactiveStarted&&(a.__loadBeforeDeactiveStarted=!1,a.__loadDeactivate&&a.__loadDeactivate())}},__computeScrollMax:function(e){null==e&&(e=this.__zoomLevel),this.__maxScrollLeft=Math.max(this.__contentWidth*e-this.__clientWidth,0),this.__maxScrollTop=Math.max(this.__contentHeight*e-this.__clientHeight,0)},__computePage:function(){var e=this.__clientWidth,t=this.__clientHeight,n=this.__scrollLeft,r=this.__scrollTop;this.__totalXPage=Math.ceil(this.__contentWidth/e),this.__currentPageX=Math.ceil(n/e+1),this.__totalYPage=Math.ceil(this.__contentHeight/t),this.__currentPageY=Math.ceil(r/t+1)},__scrollComplete:function(){this.options.scrollingComplete()},__startDeceleration:function(){var e=this;if(e.options.paging){var t=Math.max(Math.min(e.__scrollLeft,e.__maxScrollLeft),0),n=Math.max(Math.min(e.__scrollTop,e.__maxScrollTop),0),r=e.__clientWidth,i=e.__clientHeight;e.__minDecelerationScrollLeft=Math.floor(t/r)*r,e.__minDecelerationScrollTop=Math.floor(n/i)*i,e.__maxDecelerationScrollLeft=Math.ceil(t/r)*r,e.__maxDecelerationScrollTop=Math.ceil(n/i)*i}else e.__minDecelerationScrollLeft=0,e.__minDecelerationScrollTop=0,e.__maxDecelerationScrollLeft=e.__maxScrollLeft,e.__maxDecelerationScrollTop=e.__maxScrollTop;var o=e.options.snapping?4:.001;e.__isDecelerating=ue.effect.Animate.start((function(t,n,r){e.__stepThroughDeceleration(r)}),(function(){var t=Math.abs(e.__decelerationVelocityX)>=o||Math.abs(e.__decelerationVelocityY)>=o;return t||(e.__didDecelerationComplete=!0),t}),(function(){e.__isDecelerating&&(e.__isDecelerating=!1,e.__didDecelerationComplete&&e.__scrollComplete(),e.scrollTo(e.__scrollLeft,e.__scrollTop,e.options.snapping))}))},__stepThroughDeceleration:function(e){var t=this.options.bouncing,n=this.__minDecelerationScrollLeft,r=this.__maxDecelerationScrollLeft,i=this.__minDecelerationScrollTop,o=this.__maxDecelerationScrollTop,a=this.__scrollLeft+this.__decelerationVelocityX,s=this.__scrollTop+this.__decelerationVelocityY,l=a<n||a>r,c=s<i||s>o,u=Math.min(Math.max(n-t.left,a),r+t.right),f=Math.min(Math.max(i-t.top,s),o+t.bottom);e?this.__publish(u,f,this.__zoomLevel):(this.__scrollLeft=a,this.__scrollTop=s),this.options.paging||(this.__decelerationVelocityX*=.95,this.__decelerationVelocityY*=.95);var d=0,p=0,h=this.options.penetrationDeceleration,m=this.options.penetrationAcceleration;l&&(a<this.__minDecelerationScrollLeft?d=this.__minDecelerationScrollLeft-a:a>this.__maxDecelerationScrollLeft&&(d=this.__maxDecelerationScrollLeft-a)),c&&(s<this.__minDecelerationScrollTop?p=this.__minDecelerationScrollTop-s:s>this.__maxDecelerationScrollTop&&(p=this.__maxDecelerationScrollTop-s)),0!==d&&(d*this.__decelerationVelocityX<=0?(this.__decelerationVelocityX+=d*h,d<0&&-d>=t.right&&this.__decelerationVelocityX>0&&(this.__decelerationVelocityX=-t.right/2),d>0&&d>=t.left&&this.__decelerationVelocityX<0&&(this.__decelerationVelocityX=t.left/2)):this.__decelerationVelocityX=d*m),0!==p&&(p*this.__decelerationVelocityY<=0?(this.__decelerationVelocityY+=p*h,p<0&&-p>=t.bottom&&this.__decelerationVelocityY>0&&(this.__decelerationVelocityY=-t.bottom/2),p>0&&p>=t.top&&this.__decelerationVelocityY<0&&(this.__decelerationVelocityY=t.top/2)):this.__decelerationVelocityY=p*m/2)}};for(var ve in me)he.prototype[ve]=me[ve];var ge=new u;T("vuescroll-silde-mode-style","\n @-webkit-keyframes loading-rotate {\n to {\n -webkit-transform: rotate(1turn);\n transform: rotate(1turn);\n }\n }\n\n @keyframes loading-rotate {\n to {\n -webkit-transform: rotate(1turn);\n transform: rotate(1turn);\n }\n }\n\n @-webkit-keyframes loading-wipe {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -40px;\n }\n to {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -120px;\n }\n }\n\n @keyframes loading-wipe {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -40px;\n }\n to {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -120px;\n }\n }\n\n .__vuescroll .__refresh,\n .__vuescroll .__load {\n position: absolute;\n width: 100%;\n color: black;\n height: 50px;\n line-height: 50px;\n text-align: center;\n font-size: 16px;\n }\n .__vuescroll .__refresh svg,\n .__vuescroll .__load svg {\n margin-right: 10px;\n width: 25px;\n height: 25px;\n vertical-align: sub;\n }\n .__vuescroll .__refresh svg.active,\n .__vuescroll .__load svg.active {\n transition: all 0.2s;\n }\n .__vuescroll .__refresh svg.active.deactive,\n .__vuescroll .__load svg.active.deactive {\n transform: rotateZ(180deg);\n }\n .__vuescroll .__refresh svg path,\n .__vuescroll .__refresh svg rect,\n .__vuescroll .__load svg path,\n .__vuescroll .__load svg rect {\n fill: #20a0ff;\n }\n .__vuescroll .__refresh svg.start,\n .__vuescroll .__load svg.start {\n stroke: #343640;\n stroke-width: 4;\n stroke-linecap: round;\n -webkit-animation: loading-rotate 2s linear infinite;\n animation: loading-rotate 2s linear infinite;\n }\n .__vuescroll .__refresh svg.start .bg-path,\n .__vuescroll .__load svg.start .bg-path {\n stroke: #f2f2f2;\n fill: none;\n }\n .__vuescroll .__refresh svg.start .active-path,\n .__vuescroll .__load svg.start .active-path {\n stroke: #20a0ff;\n fill: none;\n stroke-dasharray: 90, 150;\n stroke-dashoffset: 0;\n -webkit-animation: loading-wipe 1.5s ease-in-out infinite;\n animation: loading-wipe 1.5s ease-in-out infinite;\n }\n ");var ye=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=(i(n={},Y.name,Y),i(n,U.name,U),n),s={};s.components=a,s.render=t,s.mixins=e;var l=q(s);return j(r,o),l}({mixins:[ae].concat(a([{mounted:function(){this.vsMounted=!0},computed:{pullRefreshTip:function(){return this.mergedOptions.vuescroll.pullRefresh.tips[this.vuescroll.state.refreshStage]},pushLoadTip:function(){return this.mergedOptions.vuescroll.pushLoad.tips[this.vuescroll.state.loadStage]},refreshLoad:function(){return this.mergedOptions.vuescroll.pullRefresh.enable||this.mergedOptions.vuescroll.pushLoad.enable},refrehDomVisiable:function(){return this.vsMounted&&this.outTheTopBoundary},loadDomVisiable:function(){return this.vsMounted&&this.outTheBottomBoundary}},data:function(){return{vuescroll:{state:{refreshStage:"deactive",loadStage:"deactive"}},vsMounted:!1,outTheTopBoundary:!1,outTheBottomBoundary:!1}},methods:{updateScroller:function(){this.updateDimesion(),this.registryRefreshLoad()},updateDimesion:function(){var e=this.$el.clientWidth,t=this.$el.clientHeight,n=this.scrollPanelElm.scrollWidth,r=this.scrollPanelElm.scrollHeight,i=0,o=0;if(this.mergedOptions.vuescroll.pullRefresh.enable&&this.vsMounted){var a=this.$refs[N].elm||this.$refs[N];i=a.offsetHeight,a.style.marginTop=-i+"px"}if(this.mergedOptions.vuescroll.pushLoad.enable&&this.vsMounted){var s=this.$refs[$].elm||this.$refs[$];o=s.offsetHeight,r-=o,s.style.bottom="-"+o+"px"}this.scroller&&this.scroller.setDimensions(e,t,n,r,!1)},registryRefreshLoad:function(){this.mergedOptions.vuescroll.pullRefresh.enable&&this.registryEvent("refresh"),this.mergedOptions.vuescroll.pushLoad.enable&&this.registryEvent("load")},registryScroller:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.left,r=void 0===n?0:n,i=t.top,a=void 0===i?0:i,s=t.zoom,l=void 0===s?1:s,c=this.mergedOptions.vuescroll.scroller,u=c.preventDefault,f=c.preventDefaultOnMove,d=this.mergedOptions.vuescroll,p=d.paging,h=d.snapping.enable,m=d.renderMethod,v=d.zooming;v=!this.refreshLoad&&!p&&!h&&v;var g=this.mergedOptions.scrollPanel,b=g.scrollingY,_=g.scrollingX,w=this.scrollingComplete.bind(this);this.scroller=new he(function(e,t,n,r){if("position"==r)return function(t,n){e.style.left=-t+"px",e.style.top=-n+"px"};var i=y(t),o=document.createElement("div"),a=i+"Perspective";return void 0!==o.style[a]?function(t,r,i){e.style.transform="translate3d("+-t+n+","+-r+n+",0) scale("+i+")"}:void 0!==o.style.transform?function(t,r,i){e.style.transform="translate("+-t+n+","+-r+n+") scale("+i+")"}:void 0}(this.scrollPanelElm,window,"px",m),o({},this.mergedOptions.vuescroll.scroller,{zooming:v,scrollingY:b,scrollingX:_&&!this.refreshLoad,animationDuration:this.mergedOptions.scrollPanel.speed,paging:p,snapping:h,scrollingComplete:w})),this.scroller.__disable=this.mergedOptions.vuescroll.scroller.disable,this.scroller.__scrollLeft=r,this.scroller.__scrollTop=a,this.scroller.__zoomLevel=l,h&&this.scroller.setSnapSize(this.mergedOptions.vuescroll.snapping.width,this.mergedOptions.vuescroll.snapping.height);var x=this.$el.getBoundingClientRect();this.scroller.setPosition(x.left+this.$el.clientLeft,x.top+this.$el.clientTop);var S=function(e,t,n,r,i,o){var a=null,s=!1,l=ge.getTouchObject();function c(e){var r=ge.getEventObject(e);r[0]&&r[0].target&&r[0].target.tagName.match(/input|textarea|select/i)||t.__disable||(n("mousedown"),s=!0,t.doTouchStart(r,e.timeStamp),i&&e.preventDefault(),e.stopPropagation(),document.addEventListener(l.touchmove,u,{passive:!1}))}function u(e){if(!t.__disable&&s){var r=ge.getEventObject(e);n("mousemove"),t.doTouchMove(r,e.timeStamp,e.scale),o&&e.preventDefault()}}function f(e){n("mouseup"),s=!1,t.doTouchEnd(e.timeStamp),document.removeEventListener(l.touchmove,u)}function d(e){t.doTouchEnd(e.timeStamp)}function p(e){t.doMouseZoom(e.detail?-120*e.detail:e.wheelDelta,e.timeStamp,e.pageX,e.pageY)}return e.addEventListener(l.touchstart,c,!1),document.addEventListener(l.touchend,f,!1),document.addEventListener(l.touchcancel,d,!1),r&&!ge.isTouch&&e.addEventListener(navigator.userAgent.indexOf("Firefox")>-1?"DOMMouseScroll":"mousewheel",p,!1),a=function(){e.removeEventListener(l.touchstart,c,!1),document.removeEventListener(l.touchend,f,!1),document.removeEventListener(l.touchcancel,d,!1),e.removeEventListener(navigator.userAgent.indexOf("Firefox")>-1?"DOMMouseScroll":"mousewheel",p,!1)},t.onScroll=function(){n("onscroll")},a}(this.$el,this.scroller,(function(t){switch(t){case"mousedown":e.vuescroll.state.isDragging=!0;break;case"onscroll":var n=e.vuescroll.state.loadStage,r=e.mergedOptions.vuescroll.pushLoad,i=r.enable,o=r.auto,a=r.autoLoadDistance,s=e.scroller,l=s.__scrollTop,c=s.__maxScrollTop;"start"!=n&&i&&o&&!e.lockAutoLoad&&a>=c-l&&l>0&&(e.lockAutoLoad=!0,e.triggerRefreshOrLoad("load")),a<c-l&&(e.lockAutoLoad=!1),e.handleScroll(!1);break;case"mouseup":e.vuescroll.state.isDragging=!1}}),v,u,f);return this.updateScroller(),S},updateSlideModeBarState:function(){var e=void 0,t=void 0,n=this.$el,r=this.scroller,i=0,o=0,a=this.$el,s=a.clientWidth,l=a.clientHeight,c=s+this.scroller.__maxScrollLeft,u=l+this.scroller.__maxScrollTop;r.__scrollLeft<0?i=-r.__scrollLeft:r.__scrollLeft>r.__maxScrollLeft&&(i=r.__scrollLeft-r.__maxScrollLeft),r.__scrollTop<0?(o=-r.__scrollTop,this.outTheBottomBoundary=!1,this.outTheTopBoundary=!0):r.__scrollTop>r.__maxScrollTop?(o=r.__scrollTop-r.__maxScrollTop,this.outTheTopBoundary=!1,this.outTheBottomBoundary=!0):this.outTheTopBoundary=this.outTheBottomBoundary=!1,e=l/(u+o),t=s/(c+i);var f=Math.min(Math.max(0,r.__scrollTop),r.__maxScrollTop),d=Math.min(Math.max(0,r.__scrollLeft),r.__maxScrollLeft);this.bar.vBar.state.posValue=100*(f+o)/n.clientHeight,this.bar.hBar.state.posValue=100*(d+i)/n.clientWidth,r.__scrollLeft<0&&(this.bar.hBar.state.posValue=0),r.__scrollTop<0&&(this.bar.vBar.state.posValue=0),this.bar.vBar.state.size=e<1?e:0,this.bar.hBar.state.size=t<1?t:0},registryEvent:function(e){var t="refresh"==e?N:$,n="refresh"==e?this.scroller.activatePullToRefresh:this.scroller.activatePushToLoad,r="refresh"==e?"refreshStage":"loadStage",i=this.$refs[t].elm||this.$refs[t],o=function(e,t,n,r){var i=n.$listeners,o=function(){n.vuescroll.state[t]="start",setTimeout((function(){n.scroller.finishRefreshOrLoad()}),2e3)},a=void 0;return i[e+"-before-deactivate"]&&(a=function(i){n.vuescroll.state[t]="beforeDeactive",n.$emit(e+"-before-deactivate",n,r,i.bind(n.scroller))}),i[e+"-start"]&&(o=function(){n.vuescroll.state[t]="start",n.$emit(e+"-start",n,r,n.scroller.finishRefreshOrLoad.bind(n.scroller))}),{activateCallback:function(){n.vuescroll.state[t]="active",n.$emit(e+"-activate",n,r)},deactivateCallback:function(){n.vuescroll.state[t]="deactive",n.$emit(e+"-deactivate",n,r)},startCallback:o,beforeDeactivateCallback:a,beforeDeactiveEnd:function(){n.vuescroll.state[t]="beforeDeactiveEnd",n.$emit(e+"-before-deactivate-end",n,r)}}}(e,r,this,i),a=i.offsetHeight;n.bind(this.scroller)(a,o)},getSlidePosition:function(){return{scrollLeft:this.scroller.__scrollLeft,scrollTop:this.scroller.__scrollTop}}}},{methods:{updateNativeModeBarState:function(){var e=this.scrollPanelElm,t="percent"==this.vuescroll.state.currentSizeStrategy,n=this.vuescroll.state,r=n.width,i=n.height,o=t||!r?e.clientWidth:r.slice(0,-2),a=t||!i?e.clientHeight:i.slice(0,-2),s=a/e.scrollHeight,l=o/e.scrollWidth;this.bar.vBar.state.posValue=100*e.scrollTop/a,this.bar.hBar.state.posValue=100*e.scrollLeft/o,this.bar.vBar.state.size=s<1?s:0,this.bar.hBar.state.size=l<1?l:0},getNativePosition:function(){return{scrollTop:this.scrollPanelElm.scrollTop,scrollLeft:this.scrollPanelElm.scrollLeft}},css:function(e,t){return window.getComputedStyle(e)[t]},checkScrollable:function(e,t,n){for(var r=!1,i=e.target?e.target:e;i&&1==i.nodeType&&i!==this.scrollPanelElm.parentNode&&!/^BODY|HTML/.test(i.nodeName);){var o=("dy"==t?this.css(i,"overflowY"):this.css(i,"overflowX"))||this.css(i,"overflow")||"";if(/scroll|auto/.test(o)){var a=this.getScrollProcess(i),s=a.v,l=a.h;if("dx"==t&&(n<0&&l>0||n>0&&l<1)||"dy"==t&&(n<0&&s>0||n>0&&s<1)){r=i==this.scrollPanelElm;break}}i=!!i.parentNode&&i.parentNode}return r},onMouseWheel:function(e){var t=this.mergedOptions.vuescroll.wheelScrollDuration,n=this.mergedOptions.vuescroll.wheelDirectionReverse,r=0,o=void 0;e.wheelDelta?e.deltaY?(o="dy",r=e.deltaY):e.deltaX?(r=e.deltaX,o="dx"):r=-1*e.wheelDelta/2:e.detail&&(1==e.axis?o="dx":2==e.axis&&(o="dy"),r=16*e.detail),o=e.shiftKey?"dx":"dy",n&&(o="dx"==o?"dy":"dx"),this.checkScrollable(e,o,r)&&(e.stopPropagation(),e.preventDefault(),this.scrollBy(i({},o,r),t))}},computed:{scrollContentElm:function(){return this.$refs.scrollContent._isVue?this.$refs.scrollContent.$el:this.$refs.scrollContent}}}])),mounted:function(){this._isDestroyed||this.renderError||("slide"==this.mode&&this.updatedCbs.push(this.updateScroller),this.$watch("mergedOptions.vuescroll.scroller.disable",{sync:!0,handler:function(e){this.scroller&&(this.scroller.__disable=e)}}))},computed:{mode:function(){return this.mergedOptions.vuescroll.mode}},methods:{destroy:function(){this.destroyScroller&&(this.scroller.stop(),this.destroyScroller(),this.destroyScroller=null),this.destroyResize&&this.destroyResize()},handleScroll:function(e){this.updateBarStateAndEmitEvent("handle-scroll",e)},updateBarStateAndEmitEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("native"==this.mode)this.updateNativeModeBarState();else if("slide"==this.mode){if(!this.scroller)return;this.updateSlideModeBarState()}e&&this.emitEvent(e,t),this.mergedOptions.bar.onlyShowBarOnScroll?"handle-scroll"!=e&&"handle-resize"!=e&&"refresh-status"!=e&&"window-resize"!=e&&"options-change"!=e||this.showAndDefferedHideBar(!0):this.showAndDefferedHideBar()},getScrollProcess:function(){var e=this.scrollPanelElm,t=e.scrollHeight,n=e.scrollWidth,r=e.clientHeight,i=e.clientWidth,o=e.scrollTop,a=e.scrollLeft;"slide"==this.mode&&(t=this.scroller.__contentHeight,n=this.scroller.__contentWidth,o=this.scroller.__scrollTop,a=this.scroller.__scrollLeft,r=this.$el.clientHeight,i=this.$el.clientWidth);var s=Math.min(o/(t-r||1),1),l=Math.min(a/(n-i||1),1);return{v:s,h:l}},emitEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.scrollPanelElm,r=n.scrollTop,i=n.scrollLeft,o={type:"vertical"},a={type:"horizontal"},s=this.getScrollProcess(),l=s.v,c=s.h;o.process=l,a.process=c,o.barSize=this.bar.vBar.state.size,a.barSize=this.bar.hBar.state.size,o.scrollTop=r,a.scrollLeft=i,this.$emit(e,o,a,t)},initVariables:function(){this.lastMode=this.mode,this.$el._isVuescroll=!0},refreshMode:function(){var e=void 0;this.scroller&&(e=this.scroller.getValues()),this.destroyScroller&&(this.scroller.stop(),this.destroyScroller(),this.destroyScroller=null),"slide"==this.mode?this.destroyScroller=this.registryScroller(e):"native"==this.mode&&(this.scrollPanelElm.style.transform="",this.scrollPanelElm.style.transformOrigin="")},refreshInternalStatus:function(){this.setVsSize(),this.registryResize(),this.refreshMode(),this.updateBarStateAndEmitEvent("refresh-status")},registryResize:function(){var e=this,t=this.mergedOptions.vuescroll.detectResize,n=!1;if(this.lastMode!=this.mode&&(n=!0,this.lastMode=this.mode),(!this.destroyResize||!t||n)&&(this.destroyResize&&this.destroyResize(),t)){var r=null;"slide"==this.mode?r=this.scrollPanelElm:"native"==this.mode&&(r=this.scrollContentElm);var i=this,o=function(){i.updateBarStateAndEmitEvent("window-resize"),"slide"==i.mode&&(i.updatedCbs.push(i.updateScroller),i.$forceUpdate())};window.addEventListener("resize",o,!1);var a=oe(r,(function(){var t={};"slide"==e.mode?(t.width=e.scroller.__contentWidth,t.height=e.scroller.__contentHeight,e.updateBarStateAndEmitEvent("handle-resize",t),e.updatedCbs.push(e.updateScroller),e.$forceUpdate()):"native"==e.mode&&(t.width=e.scrollPanelElm.scrollWidth,t.height=e.scrollPanelElm.scrollHeight,e.updateBarStateAndEmitEvent("handle-resize",t)),e.setVsSize()}));this.destroyResize=function(){window.removeEventListener("resize",o,!1),a(),e.destroyResize=null}}},getPosition:function(){return"slide"==this.mode?this.getSlidePosition():"native"==this.mode?this.getNativePosition():void 0}}},(function(e,t){return"native"==t.mode?function(e,t){var n={};return n=ee(t),e("scrollPanel",n,[te(e,t)])}(e,t):"slide"==t.mode?ie(e,t):void 0}),[{vuescroll:{mode:"native"}},{vuescroll:{renderMethod:"transform",pullRefresh:{enable:!1,tips:{deactive:"Pull to Refresh",active:"Release to Refresh",start:"Refreshing...",beforeDeactive:"Refresh Successfully!"}},pushLoad:{enable:!1,tips:{deactive:"Push to Load",active:"Release to Load",start:"Loading...",beforeDeactive:"Load Successfully!"},auto:!1,autoLoadDistance:0},paging:!1,zooming:!0,snapping:{enable:!1,width:100,height:100},scroller:{bouncing:{top:100,bottom:100,left:100,right:100},locking:!0,minZoom:.5,maxZoom:3,speedMultiplier:1,penetrationDeceleration:.03,penetrationAcceleration:.08,preventDefault:!1,preventDefaultOnMove:!0,disable:!1}}},{vuescroll:{wheelScrollDuration:0,wheelDirectionReverse:!1}}],[function(e){var t=!1,n=e.vuescroll;return~D.indexOf(n.mode)||(m("Unknown mode: "+n.mode+',the vuescroll\'s option "mode" should be one of the '+D),t=!0),t},function(e){var t=e.vuescroll;return t.paging==t.snapping.enable&&t.paging&&(t.pullRefresh||t.pushLoad)&&m("paging, snapping, (pullRefresh with pushLoad) can only one of them to be true."),!1}]),be=o({install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.component(t.name||ye.name,ye),e.prototype.$vuescrollConfig=t.ops||{}},version:"4.16.1",refreshAll:function(){for(var e in A)A[e].refresh()},scrollTo:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,i=arguments[4],o=arguments[5],a=void 0,s=void 0,l=void 0,c=void 0,u=void 0,f=void 0,d=e.nodeType,p=new Z,h=new Z;if(d){9==d&&(e=e.scrollingElement);var m=e;a=m.scrollLeft,s=m.scrollTop,l=m.scrollHeight,c=m.scrollWidth,u=m.clientWidth,f=m.clientHeight,t=void 0===t?a:C(t,c-u),n=void 0===n?s:C(n,l-f);var g=G(i,K);p.startScroll(a,t,r,(function(t){e.scrollLeft=t}),o,void 0,g),h.startScroll(s,n,r,(function(t){e.scrollTop=t}),o,void 0,g)}else v("You must pass a dom for the first param, for window scrolling, you can pass document as the first param.")}},ye);return"undefined"!=typeof window&&window.Vue&&window.Vue.use(be),be}(go)}));return Je({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],ref:"velmld",staticClass:"velmld-overlay",class:{"velmld-full-screen":e.isFullScreen},style:{backgroundColor:e.backgroundColor}},[n("div",{staticClass:"velmld-spinner"},[e._t("default",[n(e.spinner,{tag:"component",style:{"margin-bottom":e.percentage?0:"15px"},attrs:{color:e.color,size:e.size+"px",duration:e.duration+"s",svg:""!==e.svgCode?e.svgCode:void 0}})]),e._v(" "),e.percentage?n("div",{style:{color:e.color,"font-size":.3*e.size+"px","margin-bottom":"15px"}},[e._v("\n "+e._s(e.percentage+"%")+"\n ")]):e._e(),e._v(" "),"string"==typeof e.text&&e.text.length?n("div",{style:Object.assign({},{color:e.color},e.textStyle)},[e._v("\n "+e._s(e.text)+"\n ")]):e._e(),e._v(" "),Array.isArray(e.text)?n("div",{style:Object.assign({},{color:e.color},e.textStyle),attrs:{id:"list_text"}},[n("vue-scroll",{attrs:{ops:e.ops}},e._l(e.text,(function(t,r){return n("div",{key:r,staticClass:"px-4"},[t.text&&t.text.length?n("div",{staticClass:"text-container",style:{opacity:e.fade?e.getOpacity(r):1}},[t&&t.icon?e._t("icon",[n(t.icon,{tag:"component",attrs:{color:e.color,size:"24",duration:e.duration/2+"s"}})]):e._e(),e._v("\n "+e._s(t.text)+"\n ")],2):e._e()])})),0)],1):e._e(),e._v(" "),e.text&&!Array.isArray(e.text)&&"object"==typeof e.text&&e.text.text?n("div",{style:Object.assign({},{color:e.color},e.textStyle)},[n("div",{staticClass:"text-container",style:{opacity:e.getOpacity(e.index)}},[e.text.icon?e._t("icon",[n(e.text.icon,{tag:"component",attrs:{color:e.color,size:"24",duration:e.duration+"s"}})]):e._e(),e._v("\n "+e._s(e.text.text)+"\n ")],2)]):e._e()],2)])])},staticRenderFns:[]},(function(e){e&&(e("data-v-579f2d62_0",{source:".fade-enter-active[data-v-579f2d62],.fade-leave-active[data-v-579f2d62]{transition:opacity .3s}.fade-enter[data-v-579f2d62],.fade-leave-to[data-v-579f2d62]{opacity:0}.velmld-overlay[data-v-579f2d62]{position:absolute;z-index:3000;margin:0;top:0;right:0;bottom:0;left:0;transition:opacity .3s}.velmld-spinner[data-v-579f2d62]{top:50%;left:50%;transform:translate(-50%,-50%);position:absolute;text-align:center}.velmld-full-screen[data-v-579f2d62]{position:fixed}.text-container[data-v-579f2d62]{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}#list_text[data-v-579f2d62]{height:200px}",map:void 0,media:void 0}),e("data-v-579f2d62_1",{source:".velmld-parent{position:relative!important}",map:void 0,media:void 0}))}),{name:"vue-loading",props:{active:Boolean,spinner:{type:String,default:"spinner"},text:[String,Array,Object],textStyle:{type:Object,default:function(){return{}}},color:{type:String,default:"#000"},isFullScreen:{type:Boolean,default:!1},backgroundColor:{type:String,default:"rgba(255, 255, 255, .9)"},size:{type:String,default:"40"},duration:{type:String,default:"0.6"},svgCode:{type:String,default:""},fade:{type:Boolean,default:!0},percentage:{type:Number,default:null}},data:function(){return{ops:{vuescroll:{mode:"native",detectResize:!0,sizeStrategy:"percent"},bar:{keepShow:!0,background:this.color,opacity:1}},isActive:this.active||!1}},mounted:function(){this.$refs.velmld.parentNode.classList.add("velmld-parent")},watch:{active:function(e){this.isActive=e,e&&this.$refs.velmld.parentNode.classList.add("velmld-parent")}},methods:{getOpacity:function(e){return(e+1)/this.text.length}},components:Object.assign(Vt,Gt,{vueScroll:Ps})},"data-v-579f2d62",!1,void 0,Xt,void 0)}))},9583:function(e,t,n){"use strict";e.exports=n.p+"img/dummy.ec1ab0d6.svg"}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var r={};return function(){"use strict";if(n.r(r),n.d(r,{default:function(){return od}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(n.p=t[1])}var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-row",attrs:{id:"visualization-container"},on:{click:e.framesClicked}},[e.active&&e.canInsertTime&&e.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||45===t.keyCode?e.insertTime.apply(null,arguments):null},function(t){return t.type.indexOf("key")||46===t.keyCode?e.insertTime.apply(null,arguments):null}]}}):e._e(),e.active&&e.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.arrowLeft.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:(t.preventDefault(),e.arrowRight.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-down",void 0,t.key,void 0)?null:t.shiftKey?(t.preventDefault(),e.nextLoopActivate.apply(null,arguments)):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-down",void 0,t.key,void 0)?null:(t.preventDefault(),e.next.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-up",void 0,t.key,void 0)?null:(t.preventDefault(),e.prev.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"page-up",void 0,t.key,void 0)?null:t.shiftKey?(t.preventDefault(),e.prevLoopActivate.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||83===t.keyCode?(t.preventDefault(),e.setHourIni.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||69===t.keyCode?(t.preventDefault(),e.setHourEnd.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||36===t.keyCode?(t.preventDefault(),e.goToFirstFrame.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||35===t.keyCode?(t.preventDefault(),e.goToLastFrame.apply(null,arguments)):null},function(t){if(!t.type.indexOf("key")&&71!==t.keyCode)return null;t.preventDefault(),e.dialogs.goTo=!0},function(t){if(!t.type.indexOf("key")&&73!==t.keyCode)return null;t.preventDefault(),e.dialogs.secondsPerFrame=!0},function(t){if(!t.type.indexOf("key")&&76!==t.keyCode)return null;t.preventDefault(),e.dialogs.frames=!0},function(t){return t.type.indexOf("key")||49===t.keyCode||97===t.keyCode?(()=>e.secondsPerFrame=1).apply(null,arguments):null},function(t){return t.type.indexOf("key")||50===t.keyCode||98===t.keyCode?(()=>e.secondsPerFrame=2).apply(null,arguments):null},function(t){return t.type.indexOf("key")||51===t.keyCode||99===t.keyCode?(()=>e.secondsPerFrame=3).apply(null,arguments):null},function(t){return t.type.indexOf("key")||52===t.keyCode||100===t.keyCode?(()=>e.secondsPerFrame=4).apply(null,arguments):null},function(t){return t.type.indexOf("key")||53===t.keyCode||101===t.keyCode?(()=>e.secondsPerFrame=5).apply(null,arguments):null}]}}):e._e(),e.prevLoop||e.nextLoop?t("GlobalEvents",{on:{keydown:e.breakLoop,click:e.breakLoop}}):e._e(),e.active?t("settings",{attrs:{"dialogs-visibility":e.dialogs,"playback-rate":e.playbackRate,"seconds-per-frame":e.secondsPerFrame,"frames-per-row":e.framesPerRow,"number-of-rows":e.numberOfRows},on:{"change-playback-rate":t=>e.playbackRate=t,"change-go-to":e.changeHour,"change-seconds-per-frame":t=>e.secondsPerFrame=t,"set-frames-selection":e.setFrameSelection,close:t=>e.dialogs[t]=!1}}):e._e(),t("div",{class:{"visualization-card":!0,"active-tab":e.active},staticStyle:{width:"100%",padding:"0"}},[t("command-bar",{directives:[{name:"show",rawName:"v-show",value:e.commandBarShow,expression:"commandBarShow"}],attrs:{"video-playing":e.videoPlaying,"video-paused":e.paused,"insert-time":e.canInsertTime,"hour-ini-selected":e.hourIniSelected,"hour-end-selected":e.hourEndSelected},on:{"prev-loop-activate":e.prevLoopActivate,"next-loop-activate":e.nextLoopActivate,prev:e.prev,next:e.next,"go-to":function(t){e.dialogs.goTo=!0},"open-frame-selection":function(t){e.dialogs.frames=!0},"open-frames-per-second":function(t){e.dialogs.secondsPerFrame=!0},"open-blocks":e.openBlocks,"open-playback-rate":function(t){e.dialogs.playbackRate=!0},"play-or-pause":e.playOrPause,"stop-playing":e.stopPlayingBar,"set-hour-ini":e.setHourIni,"set-hour-end":e.setHourEnd,"insert-time":e.insertTime}}),e.videoProgressBar?t("video-progress",{directives:[{name:"show",rawName:"v-show",value:e.videoPlaying,expression:"videoPlaying"}],attrs:{"video-time":e.videoTime}}):e._e(),t("info-bar",{attrs:{"playback-rate":e.playbackRate,"seconds-per-frame":e.secondsPerFrame,"commands-show":e.commandBarShow,cache:e.useCache,"block-start-time":e.blockStartTime,"video-total-duration":e.videoSliderTotalDuration,"alternative-server":e.alternativeServer,"frames-per-row":e.framesPerRow,"number-of-rows":e.numberOfRows,"hour-ini":e.hourIniSelected,"hour-end":e.hourEndSelected},on:{"toogle-commands-visibility":function(t){e.commandBarShow=!e.commandBarShow},"toogle-cache":function(t){e.useCache=!e.useCache},"change-server":e.changeServerClick}}),e._l(e.numberOfRows,(function(n){return t("div",{key:"row-"+n,staticClass:"visualization-row",staticStyle:{padding:"12px"},attrs:{id:"row-"+n}},[e._l(e.previousFrames,(function(r,i){return t("div",{key:e.numberOfRows+"-"+e.framesPerRow+"-"+e.getIndex(n,i,e.Positions.previous),staticStyle:{display:"none"}},[t("span",{domProps:{innerHTML:e._s(r.img)}})])})),e._l(e.nextFrames,(function(r,i){return t("div",{key:e.numberOfRows+"-"+e.framesPerRow+"-"+e.getIndex(n,i,e.Positions.next),staticStyle:{display:"none"}},[t("span",{domProps:{innerHTML:e._s(r.img)}})])})),e._l(e.frames.slice(e.framesPerRow*(n-1),e.framesPerRow*n),(function(r,i){return t("div",{key:"row-"+n+"-frame-"+i,staticClass:"visualization-col",class:{loaderImg:!!r.img},attrs:{id:`frame-${e.getIndex(n,i,e.Positions.current)}`},on:{click:function(t){r.time&&e.selectFrame(e.getIndex(n,i,e.Positions.current),r)}}},[t("span",{staticStyle:{"padding-left":"4px"},attrs:{id:e.activeFrame?"aa":0}},[t("b",[e._v(" "+e._s(e.getAudienceTime(r.time,n,i,e.Positions.current))+" ")])]),t("frame",{ref:"frames",refInFor:!0,staticStyle:{margin:"0 auto"},attrs:{frame:r,index:e.getIndex(n,i,e.Positions.current),"grid-settings":{numberOfRows:e.numberOfRows,framesPerRow:e.framesPerRow},initialTime:r.time===e.hourIniSelected,endTime:r.time===e.hourEndSelected,betweenTime:r.time>e.hourIniSelected&&r.time<e.hourEndSelected,active:e.getIndex(n,i,e.Positions.current)===e.activeFrame,activeTab:e.active,videoUrl:e.fInterface?e.fInterface.getVideoUrl(r):"","playback-rate":e.playbackRate},on:{startPlaying:e.startPlaying,stopPlaying:e.stopPlaying,playPauseStatus:e.changePlayPause,updateSlider:e.updateSlider}})],1)}))],2)}))],2)],1)},o=[],a=function(){var e=this,t=e._self._c;return t("div",{class:{"frame-container":!0,"initial-time":e.initialTime,"end-time":e.endTime,"between-time":e.betweenTime,active:e.active},style:{maxHeight:`${e.maxHeight}px`,width:"100%",position:"relative"}},[e.active&&e.activeTab&&e.parentComponent.settingsClosed?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||32===t.keyCode?(t.preventDefault(),e.playOrPause.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||27===t.keyCode?(t.preventDefault(),e.stop.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||79===t.keyCode?e.toogleDetailFrame.apply(null,arguments):null},function(t){return t.type.indexOf("key")||13===t.keyCode?(t.preventDefault(),e.jumpFrameToStart.apply(null,arguments)):null}]}}):e._e(),e.showFrame?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||27===t.keyCode?(t.preventDefault(),e.toogleDetailFrame.apply(null,arguments)):null},function(t){return t.type.indexOf("key")||13===t.keyCode?(t.preventDefault(),e.toogleDetailFrame.apply(null,arguments)):null}]}}):e._e(),t("vue-loading",{staticStyle:{"z-index":"0"},attrs:{active:(!e.frame.image||!e.frame.time)&&-1!==e.frame.title||e.loading||e.videoIsLoading,spinner:"ring",color:"#1565c0","background-color":"#ededed",text:e.videoIsLoading?"A criar vídeo temporário...":""}}),t("div",{staticStyle:{"background-color":"black"}},[e.loading?e._e():t("div",{class:{"frame-content":-1===e.frame.title||e.videoStatus!==e.Status.stopped},style:{maxHeight:`${e.height}px`,maxWidth:`${e.width}px`,color:"white"},on:{dblclick:e.playOrPause}},[e.frame.image&&e.videoStatus===e.Status.stopped?t("div",{class:{"dummy-frame":-1===e.frame.title},staticStyle:{width:"100%",height:"100%"},domProps:{innerHTML:e._s(e.frame.image)}}):e._e(),e.videoStatus===e.Status.stopped||e.videoIsLoading?e._e():t("video",{ref:"videoPlayer",staticStyle:{width:"100%","aspect-ratio":"11/9"},attrs:{maxHeight:`${e.height}px`,maxWidth:`${e.width}px`,src:e.videoUrlString,preload:"none",autoplay:""},on:{timeupdate:e.updateTimeLabel,ended:e.videoEnded,click:e.playOrPause}}),t("div",{staticClass:"overlay"})])]),t("dialog",{ref:"imageDetailsDialog",class:{"dummy-frame":-1===e.frame.title},staticStyle:{width:"100vh",border:"none",background:"none"},domProps:{innerHTML:e._s(e.frame.image)}})],1)},s=[],l=n(3963),c=n.n(l);const u=Object.freeze({stopped:0,playing:1,paused:2});var f={components:{VueLoading:c()},name:"frame-component",props:{frame:{type:[Object,Number],required:!0},index:{type:Number,required:!0},loading:{type:Boolean,default:!1},gridSettings:{type:Object,required:!0},initialTime:{type:Boolean,default:!1},endTime:{type:Boolean,default:!1},betweenTime:{type:Boolean,default:!1},active:{type:Boolean,default:!1},activeTab:{type:Boolean,default:!1},videoUrl:{type:[String,Promise],required:!0},playbackRate:{type:Number,default:1}},data(){return{Status:u,aspectRatio:11/9,width:0,height:0,maxWidth:0,fullMaxWidth:0,maxHeight:0,showFrame:!1,videoStatus:u.stopped,videoStartTime:null,videoCurrentTime:null,videoUrlString:"",parentComponent:null,videoIsLoading:!1,currentBlock:null,lastTimeEnterPressed:null}},created(){this.parentComponent=this.$parent},watch:{playbackRate(e){this.videoStatus!==u.playing&&this.videoStatus!==u.paused||(this.$refs.videoPlayer.playbackRate=e)}},methods:{jumpFrameToStart(){if(this.active){const e=(new Date).getTime();e-this.lastTimeEnterPressed<=500&&this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(this.frame.time)),this.lastTimeEnterPressed=e}},changeSettings(e){this.videoCurrentTime=e},toogleDetailFrame(){this.showFrame?this.$refs.imageDetailsDialog.close():this.$refs.imageDetailsDialog.showModal(),this.showFrame=!this.showFrame},getMaxWidth(){const e=document.getElementById("command-bar");return e?.clientWidth},resize(e){const t=document.getElementById("command-bar");this.fullMaxWidth=t?.clientWidth,this.maxWidth=(t?.clientWidth-10*this.gridSettings.framesPerRow)/this.gridSettings.framesPerRow;const n=e-t?.clientHeight-26*this.gridSettings.numberOfRows;this.maxHeight=2===this.gridSettings.numberOfRows?(n-12)/2:n,this.maxHeight=this.maxHeight>=75?this.maxHeight:75,this.maxWidth/this.aspectRatio>this.maxHeight?(this.height=this.maxHeight,this.width=this.maxHeight*this.aspectRatio):(this.width=this.maxWidth,this.height=this.maxWidth/this.aspectRatio),this.maxHeight=this.height},async playOrPause(){switch(this.videoStatus){case u.stopped:this.videoIsLoading=!0;try{this.videoUrlString=await this.videoUrl;const e=await(this.parentComponent.fInterface?.getVideoStartTime(this.frame));this.videoStartTime=e.start,this.videoUrlString=this.parentComponent.fInterface.getVideoRequestByUrl(e.url,this.frame.number)}catch(e){console.log(e)}this.videoIsLoading=!1,this.videoStatus=u.playing,this.$nextTick((()=>{this.$refs.videoPlayer.onloadedmetadata=e=>{this.$refs.videoPlayer.playbackRate=this.playbackRate,this.$emit("updateSlider",this.videoStartTime,this.frame.time),this.$emit("startPlaying",this.frame,e.target.duration),this.$emit("playPauseStatus",!0)}}));break;case u.paused:this.$refs.videoPlayer.play(),this.$refs.videoPlayer.playbackRate=this.playbackRate,this.videoStatus=u.playing,this.$emit("playPauseStatus",!0);break;case u.playing:this.$refs.videoPlayer.pause(),this.videoStatus=u.paused,this.$emit("playPauseStatus",!1);break}},stop(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.videoStatus!==u.playing&&this.videoStatus!==u.paused||(e&&this.parentComponent.changeHour(this.parentComponent.convertToAudienceTime(parseInt(this.videoCurrentTime))),this.videoStatus=u.stopped,this.videoUrlString=null,this.videoCurrentTime=null,this.videoStartTime=null),this.$emit("stopPlaying")},videoJumpTo(e){this.videoCurrentTime=this.videoStartTime+e,this.$refs.videoPlayer.currentTime=e},async videoJumpToTimeStamp(e){let t={time:e};e&&(this.currentBlock&&e>=this.currentBlock.start&&e<=this.currentBlock.end||(this.currentBlock=await(this.parentComponent.fInterface?.getBlockInfo(t)),this.videoStartTime=this.currentBlock.start,this.videoUrlString=this.parentComponent.fInterface.getVideoUrlForTime(this.videoStartTime)),this.videoCurrentTime=e-this.videoStartTime,this.$refs.videoPlayer.currentTime=this.videoCurrentTime)},updateTimeLabel(e){this.videoCurrentTime=this.videoStartTime+e.target.currentTime,this.parentComponent.updateVideoTime(this.index,this.videoCurrentTime),this.parentComponent.updateVideoStatus(e.target.currentTime)},async videoEnded(){this.videoStartTime=await(this.parentComponent.fInterface?.getNextVideoStartTime(this.frame.time)),this.videoUrlString=this.parentComponent.fInterface.getVideoUrlForTime(this.videoStartTime),this.$emit("updateSlider",this.videoStartTime,this.videoStartTime)}}},d=f;function p(e,t,n,r,i,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:c}}var h=p(d,a,s,!1,null,"5c1173af",null),m=h.exports;function v(e,t){return function(){return e.apply(t,arguments)}}const{toString:g}=Object.prototype,{getPrototypeOf:y}=Object,b=(e=>t=>{const n=g.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_=e=>(e=e.toLowerCase(),t=>b(t)===e),w=e=>t=>typeof t===e,{isArray:x}=Array,S=w("undefined");function k(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const O=_("ArrayBuffer");function C(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&O(e.buffer),t}const T=w("string"),E=w("function"),A=w("number"),P=e=>null!==e&&"object"===typeof e,L=e=>!0===e||!1===e,j=e=>{if("object"!==b(e))return!1;const t=y(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=_("Date"),R=_("File"),z=_("Blob"),N=_("FileList"),$=e=>P(e)&&E(e.pipe),M=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||E(e.append)&&("formdata"===(t=b(e))||"object"===t&&E(e.toString)&&"[object FormData]"===e.toString()))},B=_("URLSearchParams"),I=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function F(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,i;if("object"!==typeof e&&(e=[e]),x(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function H(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;while(i-- >0)if(r=n[i],t===r.toLowerCase())return r;return null}const V=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),U=e=>!S(e)&&e!==V;function W(){const{caseless:e}=U(this)&&this||{},t={},n=(n,r)=>{const i=e&&H(t,r)||r;j(t[i])&&j(n)?t[i]=W(t[i],n):j(n)?t[i]=W({},n):x(n)?t[i]=n.slice():t[i]=n};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&F(arguments[r],n);return t}const q=(e,t,n,{allOwnKeys:r}={})=>(F(t,((t,r)=>{n&&E(t)?e[r]=v(t,n):e[r]=t}),{allOwnKeys:r}),e),Y=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),X=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},G=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{i=Object.getOwnPropertyNames(e),o=i.length;while(o-- >0)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&y(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},K=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},J=e=>{if(!e)return null;if(x(e))return e;let t=e.length;if(!A(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},Q=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&y(Uint8Array)),Z=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}},ee=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},te=_("HTMLFormElement"),ne=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),re=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ie=_("RegExp"),oe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};F(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},ae=e=>{oe(e,((t,n)=>{if(E(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];E(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},se=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return x(e)?r(e):r(String(e).split(t)),n},le=()=>{},ce=(e,t)=>(e=+e,Number.isFinite(e)?e:t),ue="abcdefghijklmnopqrstuvwxyz",fe="0123456789",de={DIGIT:fe,ALPHA:ue,ALPHA_DIGIT:ue+ue.toUpperCase()+fe},pe=(e=16,t=de.ALPHA_DIGIT)=>{let n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function he(e){return!!(e&&E(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const me=e=>{const t=new Array(10),n=(e,r)=>{if(P(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=x(e)?[]:{};return F(e,((e,t)=>{const o=n(e,r+1);!S(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},ve=_("AsyncFunction"),ge=e=>e&&(P(e)||E(e))&&E(e.then)&&E(e.catch);var ye={isArray:x,isArrayBuffer:O,isBuffer:k,isFormData:M,isArrayBufferView:C,isString:T,isNumber:A,isBoolean:L,isObject:P,isPlainObject:j,isUndefined:S,isDate:D,isFile:R,isBlob:z,isRegExp:ie,isFunction:E,isStream:$,isURLSearchParams:B,isTypedArray:Q,isFileList:N,forEach:F,merge:W,extend:q,trim:I,stripBOM:Y,inherits:X,toFlatObject:G,kindOf:b,kindOfTest:_,endsWith:K,toArray:J,forEachEntry:Z,matchAll:ee,isHTMLForm:te,hasOwnProperty:re,hasOwnProp:re,reduceDescriptors:oe,freezeMethods:ae,toObjectSet:se,toCamelCase:ne,noop:le,toFiniteNumber:ce,findKey:H,global:V,isContextDefined:U,ALPHABET:de,generateString:pe,isSpecCompliantForm:he,toJSONObject:me,isAsyncFn:ve,isThenable:ge};function be(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}ye.inherits(be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ye.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _e=be.prototype,we={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{we[e]={value:e}})),Object.defineProperties(be,we),Object.defineProperty(_e,"isAxiosError",{value:!0}),be.from=(e,t,n,r,i,o)=>{const a=Object.create(_e);return ye.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),be.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var xe=be,Se=null;function ke(e){return ye.isPlainObject(e)||ye.isArray(e)}function Oe(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Ce(e,t,n){return e?e.concat(t).map((function(e,t){return e=Oe(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function Te(e){return ye.isArray(e)&&!e.some(ke)}const Ee=ye.toFlatObject(ye,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Ae(e,t,n){if(!ye.isObject(e))throw new TypeError("target must be an object");t=t||new(Se||FormData),n=ye.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ye.isUndefined(t[e])}));const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!==typeof Blob&&Blob,l=s&&ye.isSpecCompliantForm(t);if(!ye.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ye.isDate(e))return e.toISOString();if(!l&&ye.isBlob(e))throw new xe("Blob is not supported. Use a Buffer instead.");return ye.isArrayBuffer(e)||ye.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"===typeof e)if(ye.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ye.isArray(e)&&Te(e)||(ye.isFileList(e)||ye.endsWith(n,"[]"))&&(s=ye.toArray(e)))return n=Oe(n),s.forEach((function(e,r){!ye.isUndefined(e)&&null!==e&&t.append(!0===a?Ce([n],r,o):null===a?n:n+"[]",c(e))})),!1;return!!ke(e)||(t.append(Ce(i,n,o),c(e)),!1)}const f=[],d=Object.assign(Ee,{defaultVisitor:u,convertValue:c,isVisitable:ke});function p(e,n){if(!ye.isUndefined(e)){if(-1!==f.indexOf(e))throw Error("Circular reference detected in "+n.join("."));f.push(e),ye.forEach(e,(function(e,r){const o=!(ye.isUndefined(e)||null===e)&&i.call(t,e,ye.isString(r)?r.trim():r,n,d);!0===o&&p(e,n?n.concat(r):[r])})),f.pop()}}if(!ye.isObject(e))throw new TypeError("data must be an object");return p(e),t}var Pe=Ae;function Le(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function je(e,t){this._pairs=[],e&&Pe(e,this,t)}const De=je.prototype;De.append=function(e,t){this._pairs.push([e,t])},De.toString=function(e){const t=e?function(t){return e.call(this,t,Le)}:Le;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Re=je;function ze(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ne(e,t,n){if(!t)return e;const r=n&&n.encode||ze,i=n&&n.serialize;let o;if(o=i?i(t,n):ye.isURLSearchParams(t)?t.toString():new Re(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}class $e{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ye.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var Me=$e,Be={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ie="undefined"!==typeof URLSearchParams?URLSearchParams:Re,Fe="undefined"!==typeof FormData?FormData:null,He="undefined"!==typeof Blob?Blob:null;const Ve=(()=>{let e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)})(),Ue=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)();var We={isBrowser:!0,classes:{URLSearchParams:Ie,FormData:Fe,Blob:He},isStandardBrowserEnv:Ve,isStandardBrowserWebWorkerEnv:Ue,protocols:["http","https","file","blob","url","data"]};function qe(e,t){return Pe(e,new We.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return We.isNode&&ye.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Ye(e){return ye.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function Xe(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function Ge(e){function t(e,n,r,i){let o=e[i++];const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&ye.isArray(r)?r.length:o,s)return ye.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&ye.isObject(r[o])||(r[o]=[]);const l=t(e,n,r[o],i);return l&&ye.isArray(r[o])&&(r[o]=Xe(r[o])),!a}if(ye.isFormData(e)&&ye.isFunction(e.entries)){const n={};return ye.forEachEntry(e,((e,r)=>{t(Ye(e),r,n,0)})),n}return null}var Ke=Ge;function Je(e,t,n){if(ye.isString(e))try{return(t||JSON.parse)(e),ye.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}const Qe={transitional:Be,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=ye.isObject(e);i&&ye.isHTMLForm(e)&&(e=new FormData(e));const o=ye.isFormData(e);if(o)return r&&r?JSON.stringify(Ke(e)):e;if(ye.isArrayBuffer(e)||ye.isBuffer(e)||ye.isStream(e)||ye.isFile(e)||ye.isBlob(e))return e;if(ye.isArrayBufferView(e))return e.buffer;if(ye.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return qe(e,this.formSerializer).toString();if((a=ye.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Pe(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),Je(e)):e}],transformResponse:[function(e){const t=this.transitional||Qe.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&ye.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw xe.from(i,xe.ERR_BAD_RESPONSE,this,null,this.response);throw i}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ye.forEach(["delete","get","head","post","put","patch"],(e=>{Qe.headers[e]={}}));var Ze=Qe;const et=ye.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tt=e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&et[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const nt=Symbol("internals");function rt(e){return e&&String(e).trim().toLowerCase()}function it(e){return!1===e||null==e?e:ye.isArray(e)?e.map(it):String(e)}function ot(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const at=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function st(e,t,n,r,i){return ye.isFunction(r)?r.call(this,t,n):(i&&(t=n),ye.isString(t)?ye.isString(r)?-1!==t.indexOf(r):ye.isRegExp(r)?r.test(t):void 0:void 0)}function lt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function ct(e,t){const n=ye.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}class ut{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=rt(t);if(!i)throw new Error("header name must be a non-empty string");const o=ye.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=it(e))}const o=(e,t)=>ye.forEach(e,((e,n)=>i(e,n,t)));return ye.isPlainObject(e)||e instanceof this.constructor?o(e,t):ye.isString(e)&&(e=e.trim())&&!at(e)?o(tt(e),t):null!=e&&i(t,e,n),this}get(e,t){if(e=rt(e),e){const n=ye.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return ot(e);if(ye.isFunction(t))return t.call(this,e,n);if(ye.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=rt(e),e){const n=ye.findKey(this,e);return!(!n||void 0===this[n]||t&&!st(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=rt(e),e){const i=ye.findKey(n,e);!i||t&&!st(n,n[i],i,t)||(delete n[i],r=!0)}}return ye.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const i=t[n];e&&!st(this,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return ye.forEach(this,((r,i)=>{const o=ye.findKey(n,i);if(o)return t[o]=it(r),void delete t[i];const a=e?lt(i):String(i).trim();a!==i&&delete t[i],t[a]=it(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ye.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ye.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[nt]=this[nt]={accessors:{}},n=t.accessors,r=this.prototype;function i(e){const t=rt(e);n[t]||(ct(r,e),n[t]=!0)}return ye.isArray(e)?e.forEach(i):i(e),this}}ut.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ye.reduceDescriptors(ut.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ye.freezeMethods(ut);var ft=ut;function dt(e,t){const n=this||Ze,r=t||n,i=ft.from(r.headers);let o=r.data;return ye.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function pt(e){return!(!e||!e.__CANCEL__)}function ht(e,t,n){xe.call(this,null==e?"canceled":e,xe.ERR_CANCELED,t,n),this.name="CanceledError"}ye.inherits(ht,xe,{__CANCEL__:!0});var mt=ht;function vt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var gt=We.isStandardBrowserEnv?function(){return{write:function(e,t,n,r,i,o){const a=[];a.push(e+"="+encodeURIComponent(t)),ye.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ye.isString(r)&&a.push("path="+r),ye.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function yt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bt(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function _t(e,t){return e&&!yt(t)?bt(e,t):t}var wt=We.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=ye.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}();function xt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function St(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,f=0;while(u!==o)f+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const d=c&&l-c;return d?Math.round(1e3*f/d):void 0}}var kt=St;function Ot(e,t){let n=0;const r=kt(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),c=o<=a;n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:i};u[t?"download":"upload"]=!0,e(u)}}const Ct="undefined"!==typeof XMLHttpRequest;var Tt=Ct&&function(e){return new Promise((function(t,n){let r=e.data;const i=ft.from(e.headers).normalize(),o=e.responseType;let a,s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}ye.isFormData(r)&&(We.isStandardBrowserEnv||We.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.getContentType(/^\s*multipart\/form-data/)?ye.isString(s=i.getContentType())&&i.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):i.setContentType("multipart/form-data"));let c=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+n))}const u=_t(e.baseURL,e.url);function f(){if(!c)return;const r=ft.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),i=o&&"text"!==o&&"json"!==o?c.response:c.responseText,a={data:i,status:c.status,statusText:c.statusText,headers:r,config:e,request:c};vt((function(e){t(e),l()}),(function(e){n(e),l()}),a),c=null}if(c.open(e.method.toUpperCase(),Ne(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout,"onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(f)},c.onabort=function(){c&&(n(new xe("Request aborted",xe.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new xe("Network Error",xe.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||Be;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new xe(t,r.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,c)),c=null},We.isStandardBrowserEnv){const t=(e.withCredentials||wt(u))&&e.xsrfCookieName&&gt.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===r&&i.setContentType(null),"setRequestHeader"in c&&ye.forEach(i.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ye.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&"json"!==o&&(c.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&c.addEventListener("progress",Ot(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Ot(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{c&&(n(!t||t.type?new mt(null,e,c):t),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=xt(u);d&&-1===We.protocols.indexOf(d)?n(new xe("Unsupported protocol "+d+":",xe.ERR_BAD_REQUEST,e)):c.send(r||null)}))};const Et={http:Se,xhr:Tt};ye.forEach(Et,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const At=e=>`- ${e}`,Pt=e=>ye.isFunction(e)||null===e||!1===e;var Lt={getAdapter:e=>{e=ye.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!Pt(n)&&(r=Et[(t=String(n)).toLowerCase()],void 0===r))throw new xe(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(At).join("\n"):" "+At(e[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:Et};function jt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Dt(e){jt(e),e.headers=ft.from(e.headers),e.data=dt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=Lt.getAdapter(e.adapter||Ze.adapter);return t(e).then((function(t){return jt(e),t.data=dt.call(e,e.transformResponse,t),t.headers=ft.from(t.headers),t}),(function(t){return pt(t)||(jt(e),t&&t.response&&(t.response.data=dt.call(e,e.transformResponse,t.response),t.response.headers=ft.from(t.response.headers))),Promise.reject(t)}))}const Rt=e=>e instanceof ft?e.toJSON():e;function zt(e,t){t=t||{};const n={};function r(e,t,n){return ye.isPlainObject(e)&&ye.isPlainObject(t)?ye.merge.call({caseless:n},e,t):ye.isPlainObject(t)?ye.merge({},t):ye.isArray(t)?t.slice():t}function i(e,t,n){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!ye.isUndefined(t))return r(void 0,t)}function a(e,t){return ye.isUndefined(t)?ye.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>i(Rt(e),Rt(t),!0)};return ye.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=l[r]||i,a=o(e[r],t[r],r);ye.isUndefined(a)&&o!==s||(n[r]=a)})),n}const Nt="1.5.1",$t={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{$t[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Mt={};function Bt(e,t,n){if("object"!==typeof e)throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;while(i-- >0){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new xe("option "+o+" must be "+n,xe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new xe("Unknown option "+o,xe.ERR_BAD_OPTION)}}$t.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Nt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new xe(r(i," has been removed"+(t?" in "+t:"")),xe.ERR_DEPRECATED);return t&&!Mt[i]&&(Mt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var It={assertOptions:Bt,validators:$t};const Ft=It.validators;class Ht{constructor(e){this.defaults=e,this.interceptors={request:new Me,response:new Me}}request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=zt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&It.assertOptions(n,{silentJSONParsing:Ft.transitional(Ft.boolean),forcedJSONParsing:Ft.transitional(Ft.boolean),clarifyTimeoutError:Ft.transitional(Ft.boolean)},!1),null!=r&&(ye.isFunction(r)?t.paramsSerializer={serialize:r}:It.assertOptions(r,{encode:Ft.function,serialize:Ft.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&ye.merge(i.common,i[t.method]);i&&ye.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ft.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,f=0;if(!s){const e=[Dt.bind(this),void 0];e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);while(f<u)c=c.then(e[f++],e[f++]);return c}u=a.length;let d=t;f=0;while(f<u){const e=a[f++],t=a[f++];try{d=e(d)}catch(p){t.call(this,p);break}}try{c=Dt.call(this,d)}catch(p){return Promise.reject(p)}f=0,u=l.length;while(f<u)c=c.then(l[f++],l[f++]);return c}getUri(e){e=zt(this.defaults,e);const t=_t(e.baseURL,e.url);return Ne(t,e.params,e.paramsSerializer)}}ye.forEach(["delete","get","head","options"],(function(e){Ht.prototype[e]=function(t,n){return this.request(zt(n||{},{method:e,url:t,data:(n||{}).data}))}})),ye.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(zt(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ht.prototype[e]=t(),Ht.prototype[e+"Form"]=t(!0)}));var Vt=Ht;class Ut{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new mt(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Ut((function(t){e=t}));return{token:t,cancel:e}}}var Wt=Ut;function qt(e){return function(t){return e.apply(null,t)}}function Yt(e){return ye.isObject(e)&&!0===e.isAxiosError}const Xt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xt).forEach((([e,t])=>{Xt[t]=e}));var Gt=Xt;function Kt(e){const t=new Vt(e),n=v(Vt.prototype.request,t);return ye.extend(n,Vt.prototype,t,{allOwnKeys:!0}),ye.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Kt(zt(e,t))},n}const Jt=Kt(Ze);Jt.Axios=Vt,Jt.CanceledError=mt,Jt.CancelToken=Wt,Jt.isCancel=pt,Jt.VERSION=Nt,Jt.toFormData=Pe,Jt.AxiosError=xe,Jt.Cancel=Jt.CanceledError,Jt.all=function(e){return Promise.all(e)},Jt.spread=qt,Jt.isAxiosError=Yt,Jt.mergeConfig=zt,Jt.AxiosHeaders=ft,Jt.formToJSON=e=>Ke(ye.isHTMLForm(e)?new FormData(e):e),Jt.getAdapter=Lt.getAdapter,Jt.HttpStatusCode=Gt,Jt.default=Jt;var Qt=Jt;const Zt=Qt.create({baseURL:sessionStorage.getItem("base_url")});Zt.interceptors.request.use((e=>(e.params=e.params||{},e.params.Client=sessionStorage.getItem("client")||"UNKNOWN","alternative"===sessionStorage.getItem("server")&&(e.params.BlockPathConfig="AlernativeTvConfig"),e)));var en={getBlockRequest(){let{direction:e,channel:t,split:n,time:r,quality:i,factor:o,useCache:a=!0,signal:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get(`Get${e}FramesBlockInFiles`,{params:{Channel:t,Split:n,UseCache:a,Time:r,Step:0,JpegQuality:i,JpegSizeFactor:o},signal:s})},getSmallBlockRequest(){let{channel:e,split:t,time:n,quality:r,factor:i,size:o,useCache:a=!0,signal:s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get("GetSmallFramesBlockInFiles",{params:{Channel:e,Split:t,UseCache:a,Time:n,Step:0,JpegQuality:r,JpegSizeFactor:i,Size:o},signal:s})},getFileInfoRequest(){let{direction:e,channel:t,split:n,time:r,step:i,signal:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get(`Get${e}BlockFileInformation`,{params:{Channel:t,Split:n,Time:r,Step:i},signal:o})},getNextAvailableBlock(){let{channel:e,time:t,signal:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zt.get("GetPreviousAvailableBlockFileInformation",{params:{Channel:e,Split:1,Time:t,Step:0},signal:n})}},tn={MinBlockSizes:Object.freeze({1:3600,2:3600,3:3600,4:3600,5:3600}),MinBlockSizesBack:Object.freeze({1:1800,2:1800,3:1800,4:1800,5:1800}),Direction:Object.freeze({Next:"Next",Previous:"Previous",Self:""}),JpegQuality:Object.freeze({LowestQuality:"1",LowQuality:"25",MediumQuality:"50",HighQuality:"75",HighestQuality:"100"}),ResponseStatus:Object.freeze({Ok:1,UnknownError:-1,VideoBlockNotFound:-2,InvalidRequest:-3,ClientNotAllowed:-4,AuthenticationProblem:-5}),StepsQuality:Object.freeze({1:"50",2:"50",3:"50",4:"50",5:"50"}),SizeQuality:Object.freeze({1:"100"}),StepsFactor:Object.freeze({1:1,2:1,3:1,4:1,5:1}),SmallBlockSize:Object.freeze({1:1,2:1,3:1,4:1,5:1})};function nn(e,t,n,r){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];this.channel=e,this.size=t,this.currentTime=n,this.useCache=i,this.startAudienceTime=r,this.firstFrameTime=n,this.buffer=[],this.requests={},this.currentStep=1,this.currentPosition=0,this.smallBlockSizeFactor=2,this.startCheckingQualityStep=1,this.startCheckingQualitySize=1,this.numberOfSmallBlocksCheck=3}nn.prototype.goTo=async function(e){this.cancelAllPendingRequests(),this.currentTime=e||this.currentTime;const t=this.findFrameIndexByTime(this.currentTime);t>=0?this.currentPosition=t:(this.buffer=[],await this.getSmallBlock(this.currentTime,this.channel,1))},nn.prototype.getSmallBlock=async function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=`smallBlock_${e}`;try{if(!this.requests[i]){this.requests[i]=new AbortController;let o=(await en.getSmallBlockRequest({channel:t,split:n,time:e,size:15*this.size,quality:tn.StepsQuality[this.currentStep],factor:tn.StepsFactor[this.currentStep],signal:this.requests[i].signal})).data;if(!this.requests[i])throw"Response not needed anymore";if(o.status!==tn.ResponseStatus.Ok)throw await this.getBlock(e,t,n,tn.Direction.Previous,!0),await this.getBlock(e,t,n,tn.Direction.Next,!0),o?.message||"Unknown error";o=o.data;const a=o.frames;if(this.requests[`block_${tn.Direction.Next}_${o.end}`]=!0,this.getBlock(e,this.channel,1,tn.Direction.Self,!0,!0),!r){const e=a[0].time,t=a[a.length-1].time;t===o.end?await this.getSmallBlock(t+1,this.channel,1,!0):this.timestampToTimeString(e)!==this.startAudienceTime&&e===o.start&&await this.getSmallBlock(e-this.currentStep*this.size,this.channel,1,!0)}return this.orderFramesBlock(a),this.currentPosition=this.findFrameIndexByTime(this.currentTime),delete this.requests[`block_${tn.Direction.Next}_${o.end}`],delete this.requests[i],!0}return console.error("Frames Manager (GetSmallBlock): Request blocked by another equal request occurring"),!1}catch(o){return console.error(`Frames Manager (GetSmallBlock): ${o}`),delete this.requests[i],!1}},nn.prototype.getBlock=async function(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const a=`block_${r}_${e}`;try{if(!this.requests[a]){this.requests[a]=new AbortController;let s=(await en.getBlockRequest({direction:r,channel:t,split:n,time:e,quality:tn.StepsQuality[this.currentStep],factor:tn.StepsFactor[this.currentStep],signal:this.requests[a].signal})).data;if(!this.requests[a])throw"Response not needed anymore";if(s.status!==tn.ResponseStatus.Ok)throw s?.message||"Unknown error";return this.orderFramesBlock(s.data.frames),this.currentPosition=this.findFrameIndexByTime(this.currentTime),i&&await this.checkMinBlockSize(!o),delete this.requests[a],!0}return console.error(`Frames Manager (GetBlock ${r}): Request blocked by another equal request occurring`),!1}catch(s){return console.error(`Frames Manager (GetBlock ${r}): ${s}`),delete this.requests[a],!1}},nn.prototype.checkMinBlockSize=async function(e){this.checkFramesBackward()&&await this.getBlock(0===this.buffer.length?this.currentTime:this.buffer[0].time,this.channel,1,tn.Direction[0===this.buffer.length?"Self":"Previous"],e,0!==(this.buffer[0]?.number||0)),this.checkFramesForward()&&await this.getBlock(0===this.buffer.length?this.currentTime:this.buffer[this.buffer.length-1].time,this.channel,1,tn.Direction[0===this.buffer.length?"Self":"Next"],e)},nn.prototype.checkFramesForward=function(){return this.buffer.length-this.currentPosition<tn.MinBlockSizes[this.currentStep]*(this.size/6)},nn.prototype.checkFramesBackward=function(){return this.currentPosition<tn.MinBlockSizesBack[this.currentStep]},nn.prototype.orderFramesBlock=function(e){if(this.buffer.length>0){const t=this.buffer[0].time,n=this.buffer[this.buffer.length-1].time,r=e.filter((e=>e.time<t)),i=e.filter((e=>e.time>n));this.buffer=[...r,...this.buffer,...i]}else this.buffer=e},nn.prototype.findFrameIndexByTime=function(e){return this.buffer.findIndex((t=>t.time===e))},nn.prototype.cancelAllPendingRequests=function(){for(const e in this.requests){const t=this.requests[e];"object"===typeof t&&"signal"in t&&t.abort(),delete this.requests[e]}},nn.prototype.timestampToTimeString=function(e){return new Date(1e3*e).toISOString().substring(11,19).replace(/:/g,"")},nn.prototype.getPrevImages=function(){return this.timestampToTimeString(this.currentTime)===this.startAudienceTime?null:this.getBufferSlice(this.currentPosition-this.size*this.currentStep,this.currentPosition)},nn.prototype.getCurrentImages=function(){return this.getBufferSlice(this.currentPosition,this.currentPosition+this.size*this.currentStep)},nn.prototype.getNextImages=function(){return this.getBufferSlice(this.currentPosition+this.size*this.currentStep,this.currentPosition+2*this.size*this.currentStep)},nn.prototype.getBufferSlice=function(e,t){let n=this.buffer.slice(e,t);return 1!==this.currentStep&&(n=n.filter(((e,t)=>t%this.currentStep===0))),n.length<this.size?null:n},nn.prototype.next=function(){const e=this.currentPosition+this.currentStep*this.size;this.currentPosition=e<this.buffer.length?e:this.currentPosition,this.currentTime=this.buffer[this.currentPosition]?.time||this.currentTime,this.checkMinBlockSize(!0)},nn.prototype.previous=function(){const e=this.currentPosition-this.size*this.currentStep;this.currentPosition=e>0?e:0,this.currentTime=this.buffer[this.currentPosition]?.time||this.currentTime,this.checkMinBlockSize(!0)},nn.prototype.getFileInfo=async function(e,t){if(e){let n=(await en.getFileInfoRequest({direction:tn.Direction.Self,channel:this.channel,split:this.currentStep,time:e,step:t})).data;return n.status==tn.ResponseStatus.Ok?n.data:null}return null},nn.prototype.getNextFileInfo=async function(e,t){let n=(await en.getFileInfoRequest({direction:tn.Direction.Next,channel:this.channel,split:this.currentStep,time:e,step:t})).data;return n.status==tn.ResponseStatus.Ok?n.data:null};var rn=nn;const on=sessionStorage.getItem("server");function an(){return{url:sessionStorage.getItem("base_url"),params:"alternative"===on?"&BlockPathConfig=AlernativeTvConfig":""}}function sn(e,t,n,r,i){let o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.channel=e,this.numberOfRows=t,this.framesPerRow=n,this.currentTime=r,this.firstFrameTime=r,this.startAudienceTime=i,this.useCache=o}sn.prototype.init=async function(){this.framesManager=await new rn(this.channel,this.numberOfRows*this.framesPerRow,this.currentTime,this.startAudienceTime,this.useCache),await this.framesManager.goTo(),await this.loadFrames()},sn.prototype.initLight=async function(){this.framesManager=await new rn(this.channel,this.numberOfRows*this.framesPerRow,this.currentTime,this.startAudienceTime,this.useCache)},sn.prototype.changeTime=async function(e){await this.framesManager.goTo(e),await this.loadFrames()},sn.prototype.loadFrames=async function(){let e=await this.framesManager.getPrevImages()||[],t=await this.framesManager.getNextImages()||[],n=await this.framesManager.getCurrentImages()||[];e=await this.constructImagesComponent(e),n=await this.constructImagesComponent(n),t=await this.constructImagesComponent(t),this.frames={prev:e,current:n,next:t}},sn.prototype.loadNextFrames=async function(){this.framesManager.next();let e=await this.framesManager.getNextImages()||[];e=await this.constructImagesComponent(e),this.frames.prev=this.frames.current,this.frames.current=this.frames.next,this.frames.next=e},sn.prototype.loadPrevFrames=async function(){if(this.framesManager.previous(),console.log(this.framesManager.currentTime,this.firstFrameTime),this.framesManager.currentTime<this.firstFrameTime)return await this.framesManager.goTo(this.firstFrameTime),void await this.loadFrames();let e=await this.framesManager.getPrevImages()||[];e=await this.constructImagesComponent(e),this.frames.next=this.frames.current,this.frames.current=this.frames.prev,this.frames.prev=e},sn.prototype.constructImagesComponent=async function(e){const t=[];for(let r of e){const e=document.createElement("img");e.src=-1===r.title?n(9583):`${sessionStorage.getItem("base_url")}frames/${r.title}${"alternative"==on?"?server=alt":""}`,e.style.maxWidth=-1===r.title?"80%":"100%",e.style.contain="true",t.push(new Promise((t=>{e.addEventListener("load",(()=>{t()}))}))),r["image"]=e.outerHTML}return await Promise.all(t),e},sn.prototype.getFrames=function(e){const t=["prev","current","next"],n=this.frames[t[e]];return n&&n.length>0?n:Array.from(Array(this.numberOfRows*this.framesPerRow).keys())},sn.prototype.getCurrentTime=function(){return this.framesManager.currentTime},sn.prototype.getVideoUrl=function(e){let{url:t,params:n}=an();return t+"GetVideo?Client="+sessionStorage.getItem("client")+"&Channel="+this.channel+"&Time="+e.time+n+"#t="+e.number},sn.prototype.getVideoUrlForTime=function(e){let{url:t,params:n}=an();return t+"GetVideo?Client="+sessionStorage.getItem("client")+"&Channel="+this.channel+"&Time="+e+n},sn.prototype.getVideoStartTime=async function(e){try{const t=await this.framesManager.getFileInfo(e.time,0);return t}catch(t){console.log(t)}},sn.prototype.getBlockInfo=async function(e){try{const t=await this.framesManager.getFileInfo(e.time,0);return t}catch(t){console.log(t)}},sn.prototype.getNextVideoStartTime=async function(e){try{const t=await this.framesManager.getNextFileInfo(e,0);return t.start}catch(t){console.log(t)}},sn.prototype.setCurrentStep=function(e){this.framesManager.currentStep=e},sn.prototype.changeSize=async function(e,t){this.numberOfRows=e,this.framesPerRow=t,this.framesManager.size=this.numberOfRows*this.framesPerRow,await this.loadFrames()},sn.prototype.getVideoRequestByUrl=function(e,t){const{url:n,params:r}=an();return n+"StreamFromVideo?url="+e+r+"#t="+t};var ln=sn,cn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-col pa-0",staticStyle:{"border-top-right-radius":"6px"},attrs:{id:"command-bar"}},[e.commandBarShow?t("div",{staticClass:"visualization-row visualization-justify-center"},e._l(e.commandBarBtns,(function(n,r){return t("div",{key:"command-btn-"+r},[n?e._e():t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 4px"}}),!n||n.condition&&!n.condition()?e._e():t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:n.text&&"function"===typeof n.text?n.text():n.text,expression:"\n btn.text && typeof btn.text === 'function' ? btn.text() : btn.text\n "}],staticClass:"command-bar-btn",style:{color:n.color&&"function"===typeof n.color?n.color():"black"},on:{click:n.fnc}},[t("font-awesome-icon",{attrs:{id:n.id,icon:"fa-solid "+(n.icon&&"function"===typeof n.icon?n.icon():n.icon)}})],1)])})),0):e._e(),t("hr",{staticClass:"visualization-divider"})])},un=[],fn={props:{videoPlaying:{type:Boolean,default:!1},videoPaused:{type:Boolean,default:!1},insertTime:{type:Boolean,default:!1},hourIniSelected:{type:Boolean,default:!1},hourEndSelected:{type:Boolean,default:!1}},data(){return{commandBarShow:!0,commandBarBtns:[{fnc:()=>this.$emit("prev-loop-activate"),icon:"fa-backward",text:"Fast Backward",id:"Fast Backward"},{fnc:()=>this.$emit("prev"),icon:"fa-step-backward",text:"Step Backward",id:"Step Backward"},{fnc:()=>this.$emit("go-to"),icon:"fa-clock",text:"Definir Hora",id:"Definir Hora"},{fnc:()=>this.$emit("next"),icon:"fa-step-forward",text:"Step Forward",id:"Step Forward"},{fnc:()=>this.$emit("next-loop-activate"),icon:"fa-forward",text:"Fast Forward",id:"Fast Forward"},{fnc:()=>this.$emit("play-or-pause"),icon:()=>this.videoPlaying&&!this.videoPaused?"fa-pause":"fa-play",text:()=>this.videoPlaying&&!this.videoPaused?"Pause":"Play",id:"playOrPause"},{fnc:()=>this.$emit("stop-playing"),icon:"fa-stop",text:"Stop",id:"Stop"},null,{fnc:()=>this.$emit("open-frame-selection"),icon:"fa-border-all",text:"Formato da grelha",id:"Formato da grelha"},{fnc:()=>this.$emit("open-frames-per-second"),icon:"fa-sliders-h",text:"Segundos por Imagem",id:"Segundos por Imagem"},{fnc:()=>this.$emit("open-playback-rate"),icon:"fa-tachometer-alt",text:"Escolher velocidade de reprodução",id:"Escolher velocidade de reprodução"},null,{fnc:()=>this.$emit("set-hour-ini"),icon:"fa-hourglass-start",text:"Hora Inicial",id:"Hora Inicial",color:()=>this.hourIniSelected?"var(--visualization-start)":"black"},{fnc:()=>this.$emit("insert-time"),icon:"fa-arrow-circle-down",text:"Inserir",id:"insert",condition:()=>this.insertTime},{fnc:()=>this.$emit("set-hour-end"),icon:"fa-hourglass-end",text:"Hora Final",id:"Hora Final",color:()=>this.hourEndSelected?"var(--visualization-end)":"black"}]}}},dn=fn,pn=p(dn,cn,un,!1,null,null,null),hn=pn.exports,mn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"visualization-row visualization-justify-center visualization-align-center",style:e.commandsShow?"padding: 4px":"border-top-right-radius: 6px; padding: 4px",attrs:{id:"info-bar"}},[t("span",[e._v(" "+e._s(e.playbackRate)+"x ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.selected",{seconds:e.hourEnd&&e.hourIni?e.hourEnd-e.hourIni+1:0,hour_ini:e.convertToAudienceTime(e.hourIni),hour_end:e.convertToAudienceTime(e.hourEnd)}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.interval",{seconds:e.secondsPerFrame}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),t("span",[e._v(" "+e._s(e.$t("infoBar.block",{time1:e.convertToAudienceTime(e.blockStartTime),time2:e.convertToAudienceTime(e.blockTotalTime)}))+" ")]),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),e._v(" "+e._s(e.framesPerRow*e.numberOfRows)+" "),t("hr",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}),e._v(" "+e._s(e.framesPerRow+"*"+e.numberOfRows)+" "),e.alternativeServer||!e.cache?t("span",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}):e._e(),e.alternativeServer?t("span",[t("v-icon",{attrs:{color:"error",small:"",left:""}},[e._v("fa-exclamation-triangle")]),t("strong",[e._v(e._s(e.$t("infoBar.alternativeServer")))])],1):e._e(),e.alternativeServer&&!e.cache?t("span",{staticClass:"visualization-divider vertical",staticStyle:{margin:"0 8px"}}):e._e(),e.cache?e._e():t("span",[t("v-icon",{attrs:{color:"warning",small:"",left:""}},[e._v("fa-exclamation-circle")]),t("strong",[e._v("Não está a usar cache")])],1),t("div",{staticClass:"settings-container"},[t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:(e.alternativeServer,e.$t("infoBar.changeServer")),expression:"\n alternativeServer\n ? $t('infoBar.changeServer')\n : $t('infoBar.changeServer')\n "}],attrs:{icon:"fa-solid fa-server"},on:{click:function(t){return e.$emit("change-server")}}}),t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.commandsShow?"Ocultar botões":"Mostrar botões",expression:"commandsShow ? 'Ocultar botões' : 'Mostrar botões'"}],attrs:{icon:e.commandsShow?"fa-solid fa-eye":"fa-solid fa-eye-slash"},on:{click:function(t){return e.$emit("toogle-commands-visibility")}}}),t("font-awesome-icon",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.cache?"Desativar Cache":"Ativar Cache",expression:"cache ? 'Desativar Cache' : 'Ativar Cache'"}],attrs:{icon:e.cache?"fa-solid fa-ban":"fa-solid fa-sync"},on:{click:function(t){return e.$emit("toogle-cache")}}})],1)])},vn=[],gn={props:{playbackRate:{type:Number,required:!0},secondsPerFrame:{type:Number,required:!0},commandsShow:{type:Boolean,required:!0},cache:{type:Boolean,required:!0},blockStartTime:{type:Number,required:!0},videoTotalDuration:{type:Number,required:!0},alternativeServer:{type:Boolean,required:!0},framesPerRow:{type:Number,required:!0},numberOfRows:{type:Number,required:!0},hourIni:{type:[Number,Boolean]},hourEnd:{type:[Number,Boolean]}},data(){return{}},computed:{blockTotalTime(){return this.videoTotalDuration+this.blockStartTime}},methods:{convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n}}},yn=gn,bn=p(yn,mn,vn,!1,null,null,null),_n=bn.exports,wn=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"visualization-row",attrs:{id:"progress"},on:{mousedown:e.progressMouseDown}},[t("span",{staticClass:"progressLabel"},[e._v(" "+e._s(e.convertToAudienceTime(e.videoTime))+" ")]),t("span",{staticClass:"progressBar"})]),t("hr",{staticClass:"visualization-divider"})])},xn=[],Sn={props:{videoTime:{type:Number,required:!0}},methods:{progressMouseDown(e){this.progressVideoDrag=!0;const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing));if(1===t.length){const e=t[0];e.playOrPause()}this.updateProgress(e),window.addEventListener("mouseup",this.progressMouseUp),window.addEventListener("mousemove",this.progressMouseMove)},progressMouseUp(e){if(this.progressVideoDrag){const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.paused));if(1===t.length){const e=t[0];e.playOrPause()}this.updateProgress(e)}window.removeEventListener("mouseup",this.progressMouseUp),window.removeEventListener("mousemove",this.progressMouseMove),this.progressVideoDrag=!1},progressMouseMove(e){this.progressVideoDrag&&this.updateProgress(e)},updateProgress(e,t){let n;const r=document.getElementById("progress"),i=r.getElementsByClassName("progressBar")[0];let o=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused)),a=1===o.length?o[0]:null;if(t&&a){let e=a.videoCurrentTime-this.sliderStartTime;n=e/this.videoSliderTotalDuration*100}else if(e){const t=r.getBoundingClientRect(),i=Math.round(t.width),o=e.pageX-Math.round(t.left);if(n=o/i*100<=100?o/i*100:100,a){let e=this.videoSliderTotalDuration*(n/100),t=parseInt(this.sliderStartTime+e);a.videoJumpToTimeStamp(t)}}else n=0;i.style.width=`${n}%`},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n},convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)}}},kn=Sn,On=p(kn,wn,xn,!1,null,"7fe6f244",null),Cn=On.exports,Tn=function(){var e=this,t=e._self._c;return t("div",[e.dialogsVisibility.frames?t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||37===t.keyCode?e.prevFormat.apply(null,arguments):null},function(t){return t.type.indexOf("key")||39===t.keyCode?e.nextFormat.apply(null,arguments):null}]}}):e._e(),t("dialog",{ref:"frames"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Formato da grelha ")]),t("div",{staticClass:"visualization-row",staticStyle:{"justify-content":"center"}},e._l(e.items,(function(n,r){return t("div",{key:r,staticClass:"visualization-col",staticStyle:{"min-width":"200px","max-width":"200px"}},[t("img",{style:e.framesValue!==n.value?"filter: grayscale(1)":"",attrs:{src:n.image,width:"100%"},on:{click:()=>e.framesValue=n.value}})])})),0),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","frames")}}},[e._v("Ok")])])]),t("dialog",{ref:"secondsPerFrame"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Segundos por Imagem ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.secondsPerFrameValue,expression:"secondsPerFrameValue"}],ref:"secondsPerFrameInput",attrs:{type:"range",step:"1",max:"5",min:"1"},domProps:{value:e.secondsPerFrameValue},on:{__r:function(t){e.secondsPerFrameValue=t.target.value}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","secondsPerFrame")}}},[e._v("Ok")])])]),t("dialog",{ref:"goTo"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Saltar para: ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.goToValue,expression:"goToValue"},{name:"mask",rawName:"v-mask",value:"##:##:##",expression:"'##:##:##'"}],attrs:{type:"text",placeholder:"hh:mm:ss"},domProps:{value:e.goToValue},on:{input:function(t){t.target.composing||(e.goToValue=t.target.value)}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:()=>{e.$emit("close","goTo"),e.$emit("change-go-to",e.goToValue),e.goToValue=""}}},[e._v(" Ok ")])])]),t("GlobalEvents",{on:{keydown:[function(t){return t.type.indexOf("key")||107===t.keyCode?e.changePlaybackRate(1):null},function(t){return t.type.indexOf("key")||109===t.keyCode?e.changePlaybackRate(-1):null}]}}),t("dialog",{ref:"playbackRate"},[t("div",{staticClass:"visualization-row",staticStyle:{padding:"12px","font-weight":"bold"}},[e._v(" Velocidade de Reprodução ")]),t("div",{staticClass:"visualization-row"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.playbackRateValue,expression:"playbackRateValue"}],ref:"playbackRateInput",attrs:{type:"range",step:"0.25",max:"3",min:"1"},domProps:{value:e.playbackRateValue},on:{__r:function(t){e.playbackRateValue=t.target.value}}})]),t("div",{staticClass:"visualization-divider"}),t("div",{staticClass:"visualization-row"},[t("button",{on:{click:function(t){return e.$emit("close","playbackRate")}}},[e._v("Ok")])])])],1)},En=[],An=n.p+"img/1x1.f865594b.svg",Pn=n.p+"img/2x1.6bc80fec.svg",Ln=n.p+"img/3x1.8fe1c055.svg",jn=n.p+"img/3x2.f5153612.svg",Dn=n.p+"img/4x1.22f434b0.svg",Rn=n.p+"img/4x2.3810a721.svg",zn=n.p+"img/5x1.c0878e49.svg",Nn=n.p+"img/5x2.b70b5289.svg",$n=n.p+"img/6x1.28b9840c.svg",Mn=n.p+"img/6x2.6b117ba7.svg",Bn={"1x1":An,"2x1":Pn,"3x1":Ln,"3x2":jn,"4x1":Dn,"4x2":Rn,"5x1":zn,"5x2":Nn,"6x1":$n,"6x2":Mn},In={props:{dialogsVisibility:{type:Object,required:!1},playbackRate:{type:Number,required:!0},secondsPerFrame:{type:Number,required:!0},framesPerRow:{type:Number,required:!0},numberOfRows:{type:Number,required:!0}},data(){return{openBlocksDialog:!1,time:"",rangeBlocks:{ini:null,end:null,date:null},items:[{text:"2x1",value:1,image:Bn["2x1"]},{text:"3x1",value:2,image:Bn["3x1"]},{text:"3x2",value:3,image:Bn["3x2"]},{text:"4x1",value:4,image:Bn["4x1"]},{text:"4x2",value:5,image:Bn["4x2"]},{text:"5x1",value:6,image:Bn["5x1"]},{text:"5x2",value:7,image:Bn["5x2"]},{text:"6x1",value:8,image:Bn["6x1"]},{text:"6x2",value:9,image:Bn["6x2"]}],goToValue:""}},computed:{secondsPerFrameValue:{get(){return this.secondsPerFrame},set(e){this.$emit("change-seconds-per-frame",parseInt(e))}},playbackRateValue:{get(){return this.playbackRate},set(e){this.$emit("change-playback-rate",parseFloat(e))}},framesValue:{get(){return this.items.find((e=>e.text===`${this.framesPerRow}x${this.numberOfRows}`)).value},set(e){this.$emit("set-frames-selection",e)}},timeRules(){return[e=>e>="02:30:00"&&e<="26:29:59"||this.$i18n.t("form.mustBeBetween")]}},methods:{prevFormat(){this.items.find((e=>e.value===this.framesValue-1))&&this.framesValue--},nextFormat(){this.items.find((e=>e.value===this.framesValue+1))&&this.framesValue++},changePlaybackRate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;1===e?this.$refs.playbackRateInput.stepUp():-1===e&&this.$refs.playbackRateInput.stepDown(),this.playbackRateValue=this.$refs.playbackRateInput.value},closeBlocksDialog(){Object.entries(this.rangeBlocks).forEach((e=>{let[t,n]=e;if(!n||"date"==t)return;var r=n.replace(/\D/g,"");if(r.length<6)for(let s=r.length;s<6;s++)r+="0";r.match(/.{1,2}/g);let i=r.substring(0,2),o=r.substring(2,4),a=r.substring(4,6);this.rangeBlocks[t]=i+":"+o+":"+a})),this.openBlocksDialog=!1,this.$emit("goToBlockInterval",this.rangeBlocks)}},watch:{dialogsVisibility:{handler(){for(const t of Object.values(this.$refs))t.close?.();const e=Object.keys(this.dialogsVisibility).find((e=>this.dialogsVisibility[e]));e&&this.$refs[e].showModal()},deep:!0}}},Fn=In,Hn=p(Fn,Tn,En,!1,null,"bf2f3c16",null),Vn=Hn.exports;const Un=Object.freeze({previous:0,current:1,next:2});var Wn={name:"visualization-container",props:{date:{type:String,required:!0},channel:{type:Number,required:!0},active:{type:Boolean,required:!0},activeTab:{type:Boolean},startAudienceTime:{type:String,required:!0},videoProgressBar:{type:Boolean,default:!1},jumpOnInsert:{type:Boolean,default:!1},framesFormat:{type:[Number,String],default:6},maxSize:{type:Number}},components:{Frame:m,CommandBar:hn,InfoBar:_n,VideoProgress:Cn,Settings:Vn},data(){return{Positions:Un,updatingChannel:null,dialog:!1,timeLastBlock:null,alternativeServer:!1,useCache:!0,numberOfRows:1,framesPerRow:5,secondsPerFrame:1,fInterface:null,velocity:1,frames:[],previousFrames:[],nextFrames:[],channelCode:0,videoPlaying:!1,activeFrame:null,activeVideo:null,videoTime:0,videoTotalTime:null,progressVideoDrag:!1,hourIniSelected:!1,hourEndSelected:!1,canInsertTime:!1,lastHeight:0,loopInterval:null,nextLoop:!1,prevLoop:!1,videoSliderTotalDuration:900,blockStartTime:null,media:null,changeServer:!1,userMultiTabsGrid:!1,userMultiTabsGridsModel:!0,playbackRate:1,paused:!1,commandBarShow:!0,dialogs:{playbackRate:!1,goTo:!1,secondsPerFrame:!1,frames:!1}}},async created(){this.changeServer="alternative"===this.serverOfFrames,this.alternativeServer="alternative"===this.serverOfFrames;const e=[{framesPerRow:2,numberOfRows:1},{framesPerRow:3,numberOfRows:1},{framesPerRow:3,numberOfRows:2},{framesPerRow:4,numberOfRows:1},{framesPerRow:4,numberOfRows:2},{framesPerRow:5,numberOfRows:1},{framesPerRow:5,numberOfRows:2},{framesPerRow:6,numberOfRows:1},{framesPerRow:6,numberOfRows:2}],t=e[parseInt(this.framesFormat)-1];this.framesPerRow=t.framesPerRow,this.numberOfRows=t.numberOfRows,await this.createFramesInterface(),this.maxSize&&this.resize(this.maxSize,!0)},methods:{framesClicked(e){"insert"!=e.target.id&&this.$emit("click")},async goToStartBlock(){try{const e=new Date;let t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());const n=(await en.getNextAvailableBlock({channel:this.channel,time:t/1e3})).data;this.dialog=!1,this.changeHour(this.convertToAudienceTime(n.data.start,":"))}catch(e){console.error(e)}},async checkAvailableBlock(){try{const e=new Date;let t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds());const n=(await en.getNextAvailableBlock({channel:this.channel,time:t/1e3})).data;this.timeLastBlock=this.convertToAudienceTime(n.data.end,":"),this.dialog=!0,n.status||(this.timeLastBlock="N/D")}catch(e){console.error(e)}},updateSlider(e,t){(t<this.blockStartTime||t>this.blockStartTime||e>this.blockStartTime+this.videoSliderTotalDuration)&&(this.blockStartTime=e,this.videoSliderTotalDuration=900)},nextLoopActivate(){this.breakLoop(),this.loopInterval=setInterval(this.next,40),setTimeout((()=>{this.nextLoop=!0}),0)},prevLoopActivate(){this.breakLoop(),this.loopInterval=setInterval(this.prev,40),setTimeout((()=>{this.prevLoop=!0}),0)},breakLoop(){clearInterval(this.loopInterval),this.loopInterval=null,this.nextLoop=!1,this.prevLoop=!1},changePlayPause(e){this.paused=!e},resize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastHeight,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(2===this.numberOfRows&&t&&(e*=1.5),this.lastHeight=e,this.$refs.frames)for(let n of this.$refs.frames)n.resize(e);this.$emit("resized")},async goToFirstFrame(){let e=this.$refs.frames,t=null;if(e.length>0){let n=e[0].frame;t=this.getAudienceTime(n.time,0,0,0)}if(t){const[e,n,r]=t.split(":"),i=3600*parseInt(e)+60*parseInt(n)+parseInt(r);i>=9e3?this.changeHour(this.getLastFirtsBlockTime(t,!0)):this.changeHour(this.getLastFirtsBlockTime("02:30:00",!0))}},async goToLastFrame(){let e=this.$refs.frames,t=null;if(e.length>0){let n=e[0].frame;t=this.getAudienceTime(n.time,0,0,0)}t&&this.changeHour(this.getLastFirtsBlockTime(t))},getLastFirtsBlockTime(e){let t,n,r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const o=e.match(/.{1,2}/g);return o[0]&&o[1]&&(t=parseInt(o[0]),n=parseInt(o[1])),r=t<26?n<15?i?o[0]+":00:00":o[0]+":14:59":n<30?i?o[0]+":15:00":o[0]+":29:59":n<45?i?o[0]+":30:00":o[0]+":44:59":i?o[0]+":45:00":o[0]+":59:59":n<15?i?"26:00:00":"26:14:59":i?"26:15:00":"26:29:59",r},openBlocks(){this.$refs.settings2?.openBlocks()},playOrPause(){const e=this.$refs.frames.filter((e=>!!e.active));if(1===e.length){const t=e[0];t.playOrPause(this.playbackRate)}},stopPlayingBar(){for(let e of this.$refs.frames)e.videoStatus!==e.Status.playing&&e.videoStatus!==e.Status.paused||e.stop(!1)},async setFrameSelection(e){switch(this.frames=this.loadingArray,parseInt(e)){case 1:this.framesPerRow=2,this.numberOfRows=1;break;case 2:this.framesPerRow=3,this.numberOfRows=1;break;case 3:this.framesPerRow=3,this.numberOfRows=2;break;case 4:this.framesPerRow=4,this.numberOfRows=1;break;case 5:this.framesPerRow=4,this.numberOfRows=2;break;case 6:this.framesPerRow=5,this.numberOfRows=1;break;case 7:this.framesPerRow=5,this.numberOfRows=2;break;case 8:this.framesPerRow=6,this.numberOfRows=1;break;case 9:this.framesPerRow=6,this.numberOfRows=2;break}await this.fInterface.changeSize(this.numberOfRows,this.framesPerRow),this.getFramesArray(),setTimeout((()=>{for(let e of this.$refs.frames)e?.resize(this.lastHeight)}),150)},getFramesArray(){this.frames=this.fInterface.getFrames(Un.current),this.nextFrames=this.fInterface.getFrames(Un.next),this.previousFrames=this.fInterface.getFrames(Un.previous)},async createFramesInterface(){this.frames=this.loadingArray;let e=this.channel,t={1735073:1,1735074:139,1735075:3,1735076:132};this.channelCode=t[e]?t[e]:e;const n=this.startAudienceTime.match(/.{1,2}/g),r=this.getDateParts(),i=Date.UTC(r.year,r.month,r.day,n[0],n[1],n[2])/1e3;this.blockStartTime=i,this.fInterface=await new ln(this.channelCode,this.numberOfRows,this.framesPerRow,i,this.startAudienceTime,this.useCache),await this.fInterface.init(),this.getFramesArray(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null},getIndex(e,t,n){let r=this.framesPerRow*this.numberOfRows*n,i=this.framesPerRow*this.numberOfRows*(n+1);return(r+i*(e-1))/e+t},getAudienceTime(e,t,n,r){return e?this.getIndex(t,n,r)===this.activeVideo?this.convertToAudienceTime(this.videoTime):this.convertToAudienceTime(e):"Loading..."},dateInUtc(e){var t=new Date(e),n=new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds());return n},convertToAudienceTime(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":";const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3;let i=this.dateInUtc(1e3*e).toTimeString().split(" ")[0].split(":").map(Number);return e>r&&e<=r+this.startAudienceSeconds&&(i[0]=24+i[0]),i.map((e=>e>9?e.toString():"0"+e)).join(t)},getDateParts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.date;const t=new Date(e);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},selectFrame(e,t){const n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,23,59,59)/1e3,i=t?.time;if(i-(this.startAudienceSeconds+r)<=0&&(!0===this.hourIniSelected?(this.hourIniSelected=i,this.hourEndSelected&&this.hourIniSelected>this.hourEndSelected&&(this.hourEndSelected=!1)):!0===this.hourEndSelected&&(i>this.hourIniSelected?(this.hourEndSelected=i,this.canInsertTime=!0):this.hourEndSelected=!1)),this.activeFrame!==e){const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing));if(1===t.length){const e=t[0];e.playOrPause()}this.activeVideo=null,this.activeFrame=e}},setHourIni(){this.canInsertTime=!0,this.hourIniSelected=!0,document.getElementById(`frame-${this.activeFrame}`).click(),this.$emit("setHourIni",{hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null})},setHourEnd(){this.canInsertTime=!0,this.hourEndSelected=!0,document.getElementById(`frame-${this.activeFrame}`).click()},arrowRight(){this.checkLimitRight(!1)&&(this.activeFrame===this.numberOfRows*this.framesPerRow*2-1?this.next():this.activeFrame++)},arrowLeft(){this.checkLimitLeft(!1)&&(this.activeFrame===this.numberOfRows*this.framesPerRow?this.prev():this.activeFrame--)},checkLimitRight(e){const t=this.getDateParts(),n=Date.UTC(t.year,t.month,t.day,26,29,59);return e?n>1e3*(this.fInterface.getCurrentTime()-1)&&-1!==this.nextFrames[0].title:n>1e3*this.fInterface.getCurrentTime()},checkLimitLeft(e){const t=this.getDateParts(),n=Date.UTC(t.year,t.month,t.day,2,30,0);return e?n<=1e3*(this.fInterface.getCurrentTime()-1):n<1e3*(this.fInterface.getCurrentTime()+this.activeFrame-this.numberOfRows*this.framesPerRow)},async next(){if(this.checkLimitRight(!0)){const e=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===e.length){const t=e[0];t.stop(!1)}this.fInterface.setCurrentStep(this.secondsPerFrame),await this.fInterface.loadNextFrames(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null,this.getFramesArray()}},async prev(){if(this.checkLimitLeft(!0)){const e=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===e.length){const t=e[0];t.stop(!1)}this.fInterface.setCurrentStep(this.secondsPerFrame),await this.fInterface.loadPrevFrames(),this.activeFrame=this.getIndex(this.numberOfRows,this.framesPerRow-1,Un.current),this.activeVideo=null,this.getFramesArray()}},async setStartTime(e){-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const t=e.match(/.{1,2}/g),n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,t[0],t[1],t[2])/1e3;return this.frames=this.loadingArray,await this.fInterface.changeTime(r),this.getFramesArray(),this.activeFrame=this.getIndex(1,0,Un.current),this.activeVideo=null,!0},hourToTimeStamp(e){-1!==e.indexOf(":")&&(e=e.replace(/:/g,""));const t=e.match(/.{1,2}/g),n=this.getDateParts(),r=Date.UTC(n.year,n.month,n.day,t[0],t[1],t[2])/1e3;return r},async changeHour(e){e&&setTimeout((()=>{const t=this.$refs.frames.filter((e=>e.videoStatus===e.Status.playing||e.videoStatus===e.Status.paused));if(1===t.length){const e=t[0];e.stop(!1)}this.setStartTime(e,!0)}),0)},changeBlockInterval(e){let t,n;this.changeHour(e.ini),t=this.hourToTimeStamp(e.ini),n=this.hourToTimeStamp(e.end),this.videoSliderTotalDuration=n-t,this.$refs.frames[0].changeSettings(t),this.blockStartTime=t},async updateVideoTime(e,t){this.activeVideo=e,this.videoTime=t},updateVideoStatus(e){this.progressVideoDrag},async startPlaying(e,t){const n=this.$refs.frames.filter((t=>t.frame.time!==e.time));for(let r of n)r.videoStatus!==r.Status.playing&&r.videoStatus!==r.Status.paused||r.stop(!1);this.videoTotalTime=t,this.videoPlaying=!0},stopPlaying(){this.videoTotalTime=null,this.videoPlaying=!1,this.paused=!1},insertTime(){this.$emit("timeToInsert",{channel:this.channel,hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null,hour_end:this.hourEndSelected?this.convertToAudienceTime(this.hourEndSelected,""):null,force:!1}),this.jumpOnInsert&&this.changeHour(this.convertToAudienceTime((this.hourEndSelected||this.hourIniSelected)+1)),this.hourIniSelected=null,this.hourEndSelected=null,this.canInsertTime=!1},insertTimeForce(){this.$emit("timeToInsert",{channel:this.channel,hour_ini:this.hourIniSelected?this.convertToAudienceTime(this.hourIniSelected,""):null,hour_end:this.hourEndSelected?this.convertToAudienceTime(this.hourEndSelected,""):null,force:!0}),this.hourIniSelected=null,this.hourEndSelected=null,this.canInsertTime=!1},async getChannelMedia(){},async changeServerClick(){this.changeServer=!this.changeServer,sessionStorage.setItem("serverOfFrames",this.changeServer?"alternative":"default"),location.reload()}},computed:{settingsClosed(){return!Object.values(this.dialogs).find((e=>e))},startAudienceSeconds(){const e=this.startAudienceTime.match(/.{1,2}/g);return parseInt(3600*e[0]+60*e[1]+e[2])},loadingArray(){return Array.from(Array(this.numberOfRows*this.framesPerRow).keys())},serverOfFrames(){return sessionStorage.getItem("server")}},watch:{framesFormat(e){this.setFrameSelection(e)},activeTab(){this.hourIniSelected=!1,this.hourEndSelected=!1},useCache(){this.createFramesInterface()},hourIniSelected(e){e?sessionStorage.setItem("currentTimeFrames",this.convertToAudienceTime(this.hourIniSelected,"")):sessionStorage.removeItem("currentTimeFrames")},activeFrame(e){e&&this.stopPlayingBar()},channel(){this.updatingChannel=new Promise(((e,t)=>{try{this.createFramesInterface(),e(!0)}catch(n){t(n)}}))}}},qn=Wn,Yn=p(qn,i,o,!1,null,"6b83e43c",null),Xn=Yn.exports;function Gn(e){return Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(e)}function Kn(e,t){if("object"!==Gn(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Gn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function Jn(e){var t=Kn(e,"string");return"symbol"===Gn(t)?t:String(t)}function Qn(e,t,n){return t=Jn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jn(r.key),r)}}function tr(e,t,n){return t&&er(e.prototype,t),n&&er(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
8
8
  /**!
9
9
  * @fileOverview Kickass library to create and place poppers near their reference elements.
10
10
  * @version 1.16.1