vendor.eedcce10.js 2.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{"0016":function(t,e,i){"use strict";i("ddb0");var n=i("2b0e"),r=i("6642"),o=i("e2fa"),a=i("87e8"),s=i("dde5");const l="0 0 24 24",u=t=>t,c=t=>`ionicons ${t}`,h={"mdi-":t=>`mdi ${t}`,"icon-":u,"bt-":t=>`bt ${t}`,"eva-":t=>`eva ${t}`,"ion-md":c,"ion-ios":c,"ion-logo":c,"iconfont ":u,"ti-":t=>`themify-icon ${t}`,"bi-":t=>`bootstrap-icons ${t}`},d={o_:"-outlined",r_:"-round",s_:"-sharp"},p={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},f=new RegExp("^("+Object.keys(h).join("|")+")"),g=new RegExp("^("+Object.keys(d).join("|")+")"),m=new RegExp("^("+Object.keys(p).join("|")+")"),v=/^[Mm]\s?[-+]?\.?\d/,y=/^img:/,b=/^svguse:/,_=/^ion-/,x=/^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;e["a"]=n["a"].extend({name:"QIcon",mixins:[a["a"],r["a"],o["a"]],props:{tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},computed:{classes(){return"q-icon"+(!0===this.left?" on-left":"")+(!0===this.right?" on-right":"")+(void 0!==this.color?` text-${this.color}`:"")},type(){let t,e=this.name;if("none"===e||!e)return{none:!0};if(void 0!==this.$q.iconMapFn){const t=this.$q.iconMapFn(e);if(void 0!==t){if(void 0===t.icon)return{cls:t.cls,content:void 0!==t.content?t.content:" "};if(e=t.icon,"none"===e||!e)return{none:!0}}}if(!0===v.test(e)){const[t,i=l]=e.split("|");return{svg:!0,viewBox:i,nodes:t.split("&&").map((t=>{const[e,i,n]=t.split("@@");return this.$createElement("path",{attrs:{d:e,transform:n},style:i})}))}}if(!0===y.test(e))return{img:!0,src:e.substring(4)};if(!0===b.test(e)){const[t,i=l]=e.split("|");return{svguse:!0,src:t.substring(7),viewBox:i}}let i=" ";const n=e.match(f);if(null!==n)t=h[n[1]](e);else if(!0===x.test(e))t=e;else if(!0===_.test(e))t=`ionicons ion-${!0===this.$q.platform.is.ios?"ios":"md"}${e.substr(3)}`;else if(!0===m.test(e)){t="notranslate material-symbols";const n=e.match(m);null!==n&&(e=e.substring(6),t+=p[n[1]]),i=e}else{t="notranslate material-icons";const n=e.match(g);null!==n&&(e=e.substring(2),t+=d[n[1]]),i=e}return{cls:t,content:i}}},render(t){const e={class:this.classes,style:this.sizeStyle,on:{...this.qListeners},attrs:{"aria-hidden":"true",role:"presentation"}};return!0===this.type.none?t(this.tag,e,Object(s["c"])(this,"default")):!0===this.type.img?t("span",e,Object(s["a"])([t("img",{attrs:{src:this.type.src}})],this,"default")):!0===this.type.svg?t("span",e,Object(s["a"])([t("svg",{attrs:{viewBox:this.type.viewBox||"0 0 24 24",focusable:"false"}},this.type.nodes)],this,"default")):!0===this.type.svguse?t("span",e,Object(s["a"])([t("svg",{attrs:{viewBox:this.type.viewBox,focusable:"false"}},[t("use",{attrs:{"xlink:href":this.type.src}})])],this,"default")):(void 0!==this.type.cls&&(e.class+=" "+this.type.cls),t(this.tag,e,Object(s["a"])([this.type.content],this,"default")))}})},"00ee":function(t,e,i){var n=i("b622"),r=n("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0170":function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QItemLabel",mixins:[r["a"]],props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},computed:{classes(){return{"q-item__label--overline text-overline":this.overline,"q-item__label--caption text-caption":this.caption,"q-item__label--header":this.header,ellipsis:1===parseInt(this.lines,10)}},style(){if(void 0!==this.lines&&parseInt(this.lines,10)>1)return{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":this.lines}}},render(t){return t("div",{staticClass:"q-item__label",style:this.style,class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"0196":function(t,e,i){const n=i("58b4"),r=i("bbf0");function o(t){this.mode=r.BYTE,"string"===typeof t&&(t=n(t)),this.data=new Uint8Array(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(let e=0,i=this.data.length;e<i;e++)t.put(this.data[e],8)},t.exports=o},"0366":function(t,e,i){var n=i("e330"),r=i("59ed"),o=i("40d5"),a=n(n.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"0378":function(t,e,i){"use strict";i("ddb0");var n=i("2b0e"),r=i("87e8"),o=i("d882"),a=i("dde5"),s=i("e704");e["a"]=n["a"].extend({name:"QForm",mixins:[r["a"]],props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean},computed:{onEvents(){return{...this.qListeners,submit:this.submit,reset:this.reset}}},mounted(){this.validateIndex=0,!0===this.autofocus&&this.focus()},activated(){!0===this.shouldActivate&&!0===this.autofocus&&this.focus()},deactivated(){this.shouldActivate=!0},methods:{validate(t){const e=[],i="boolean"===typeof t?t:!0!==this.noErrorFocus,n=++this.validateIndex,r=this.getValidationComponents().filter((t=>!0!==t.disable)),o=(t,e)=>{this.$emit("validation-"+(!0===t?"success":"error"),e)};for(let a=0;a<r.length;a++){const t=r[a],n=t.validate();if("function"===typeof n.then)e.push(n.then((e=>({valid:e,comp:t})),(e=>({valid:!1,comp:t,err:e}))));else if(!0!==n){if(!1===this.greedy)return o(!1,t),!0===i&&"function"===typeof t.focus&&t.focus(),Promise.resolve(!1);e.push({valid:!1,comp:t})}}return 0===e.length?(o(!0),Promise.resolve(!0)):Promise.all(e).then((t=>{const e=t.filter((t=>!0!==t.valid));if(0===e.length)return n===this.validateIndex&&o(!0),!0;const{valid:r,comp:a,err:s}=e[0];return n===this.validateIndex&&(void 0!==s&&console.error(s),o(!1,a),!0===i&&!0!==r&&"function"===typeof a.focus&&a.focus()),!1}))},resetValidation(){this.validateIndex++,this.getValidationComponents().forEach((t=>{"function"===typeof t.resetValidation&&t.resetValidation()}))},submit(t){void 0!==t&&Object(o["l"])(t);const e=this.validateIndex+1;this.validate().then((i=>{e===this.validateIndex&&!0===i&&(void 0!==this.qListeners.submit?this.$emit("submit",t):void 0!==t&&void 0!==t.target&&"function"===typeof t.target.submit&&t.target.submit())}))},reset(t){void 0!==t&&Object(o["l"])(t),this.$emit("reset"),this.$nextTick((()=>{this.resetValidation(),!0===this.autofocus&&!0!==this.noResetFocus&&this.focus()}))},focus(){Object(s["a"])((()=>{if(!this.$el)return;const t=this.$el.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(this.$el.querySelectorAll("[tabindex]"),(t=>t.tabIndex>-1));null!==t&&void 0!==t&&t.focus({preventScroll:!0})}))},getValidationComponents(){return Array.prototype.map.call(this.$el.getElementsByClassName("q-validation-component"),(t=>t.__vue__)).filter((t=>void 0!==t&&"function"===typeof t.validate))}},render(t){return t("form",{staticClass:"q-form",on:this.onEvents},Object(a["c"])(this,"default"))}})},"0425":function(t,e){const i="[0-9]+",n="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(o,"g"),e.NUMERIC=new RegExp(i,"g"),e.ALPHANUMERIC=new RegExp(n,"g");const a=new RegExp("^"+r+"$"),s=new RegExp("^"+i+"$"),l=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return a.test(t)},e.testNumeric=function(t){return s.test(t)},e.testAlphanumeric=function(t){return l.test(t)}},"04d1":function(t,e,i){var n=i("342f"),r=n.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"05c0":function(t,e,i){"use strict";var n=i("2b0e"),r=i("c474"),o=i("7ee0"),a=i("9e62"),s=i("7562"),l=i("0831"),u=i("d882"),c=i("2248"),h=i("dde5"),d=i("ab41");e["a"]=n["a"].extend({name:"QTooltip",mixins:[r["a"],o["a"],a["c"],s["a"]],props:{maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{default:"jump-down"},transitionHide:{default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:d["d"]},self:{type:String,default:"top middle",validator:d["d"]},offset:{type:Array,default:()=>[14,14],validator:d["c"]},scrollTarget:{default:void 0},delay:{type:Number,default:0},hideDelay:{type:Number,default:0}},computed:{anchorOrigin(){return Object(d["a"])(this.anchor,this.$q.lang.rtl)},selfOrigin(){return Object(d["a"])(this.self,this.$q.lang.rtl)},hideOnRouteChange(){return!0!==this.persistent}},methods:{__show(t){this.__showPortal(),this.__nextTick((()=>{this.observer=new MutationObserver((()=>this.updatePosition())),this.observer.observe(this.__portal.$el,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),this.updatePosition(),this.__configureScrollTarget()})),void 0===this.unwatch&&(this.unwatch=this.$watch((()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl),this.updatePosition)),this.__setTimeout((()=>{this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__anchorCleanup(),this.__hidePortal(),this.__setTimeout((()=>{this.__hidePortal(!0),this.$emit("hide",t)}),300)},__anchorCleanup(){void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0),void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),this.__unconfigureScrollTarget(),Object(u["b"])(this,"tooltipTemp")},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(d["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__delayShow(t){if(!0===this.$q.platform.is.mobile){Object(c["a"])(),document.body.classList.add("non-selectable");const t=this.anchorEl,e=["touchmove","touchcancel","touchend","click"].map((e=>[t,e,"__delayHide","passiveCapture"]));Object(u["a"])(this,"tooltipTemp",e)}this.__setTimeout((()=>{this.show(t)}),this.delay)},__delayHide(t){this.__clearTimeout(),!0===this.$q.platform.is.mobile&&(Object(u["b"])(this,"tooltipTemp"),Object(c["a"])(),setTimeout((()=>{document.body.classList.remove("non-selectable")}),10)),this.__setTimeout((()=>{this.hide(t)}),this.hideDelay)},__configureAnchorEl(){if(!0===this.noParentEvent||void 0===this.anchorEl)return;const t=!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__delayShow","passive"]]:[[this.anchorEl,"mouseenter","__delayShow","passive"],[this.anchorEl,"mouseleave","__delayHide","passive"]];Object(u["a"])(this,"anchor",t)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){if(void 0!==this.anchorEl||void 0!==this.scrollTarget){this.__scrollTarget=Object(l["d"])(this.anchorEl,this.scrollTarget);const t=!0===this.noParentEvent?this.updatePosition:this.hide;this.__changeScrollEvent(this.__scrollTarget,t)}},__renderPortal(t){return t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{staticClass:"q-tooltip q-tooltip--style q-position-engine no-pointer-events",class:this.contentClass,style:this.contentStyle,attrs:{role:"complementary"}},Object(h["c"])(this,"default")):null])}},mounted(){this.__processModelChange(this.value)}})},"05eb":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("b7fa"),o=i("87e8"),a=i("dde5");e["a"]=n["a"].extend({name:"QTimeline",mixins:[r["a"],o["a"]],provide(){return{__timeline:this}},props:{color:{type:String,default:"primary"},side:{type:String,default:"right",validator:t=>["left","right"].includes(t)},layout:{type:String,default:"dense",validator:t=>["dense","comfortable","loose"].includes(t)}},computed:{classes(){return`q-timeline--${this.layout} q-timeline--${this.layout}--${this.side}`+(!0===this.isDark?" q-timeline--dark":"")}},render(t){return t("ul",{staticClass:"q-timeline",class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"068f":function(t,e,i){"use strict";var n=i("2b0e"),r=i("0d59"),o=i("6900"),a=i("87e8"),s=i("dde5");e["a"]=n["a"].extend({name:"QImg",mixins:[a["a"],o["a"]],props:{src:String,srcset:String,sizes:String,alt:String,width:String,height:String,placeholderSrc:String,basic:Boolean,contain:Boolean,position:{type:String,default:"50% 50%"},transition:{type:String,default:"fade"},imgClass:[Array,String,Object],imgStyle:Object,nativeContextMenu:Boolean,noDefaultSpinner:Boolean,spinnerColor:String,spinnerSize:String},data(){return{currentSrc:"",image:null,isLoading:!!this.src,hasError:!1,naturalRatio:void 0}},watch:{src(){this.__load()},srcset(t){this.__updateWatcher(t)}},computed:{url(){return this.currentSrc||this.placeholderSrc||void 0},attrs(){const t={role:"img"};return void 0!==this.alt&&(t["aria-label"]=this.alt),t},imgContainerStyle(){return Object.assign({backgroundSize:!0===this.contain?"contain":"cover",backgroundPosition:this.position},this.imgStyle,{backgroundImage:`url("${this.url}")`})},style(){return{width:this.width,height:this.height}},classes(){return"q-img overflow-hidden"+(!0===this.nativeContextMenu?" q-img--menu":"")}},methods:{__onLoad(t){this.isLoading=!1,this.hasError=!1,this.__computeRatio(t),this.__updateSrc(),this.__updateWatcher(this.srcset),this.$emit("load",this.currentSrc)},__onError(t){clearTimeout(this.ratioTimer),this.isLoading=!1,this.hasError=!0,this.currentSrc="",this.$emit("error",t)},__updateSrc(){if(void 0!==this.image&&!1===this.isLoading){const t=this.image.currentSrc||this.image.src;this.currentSrc!==t&&(this.currentSrc=t)}},__updateWatcher(t){t?void 0===this.unwatch&&(this.unwatch=this.$watch("$q.screen.width",this.__updateSrc)):void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0)},__load(){if(clearTimeout(this.ratioTimer),this.hasError=!1,!this.src)return this.isLoading=!1,this.image=void 0,void(this.currentSrc="");this.isLoading=!0;const t=new Image;this.image=t,t.onerror=e=>{this.image===t&&!0!==this.destroyed&&this.__onError(e)},t.onload=()=>{!0!==this.destroyed&&this.image===t&&(void 0!==t.decode?t.decode().catch((e=>{this.image===t&&!0!==this.destroyed&&this.__onError(e)})).then((()=>{this.image===t&&!0!==this.destroyed&&this.__onLoad(t)})):this.__onLoad(t))},t.src=this.src,this.srcset&&(t.srcset=this.srcset),void 0!==this.sizes?t.sizes=this.sizes:Object.assign(t,{height:this.height,width:this.width})},__computeRatio(t){const{naturalHeight:e,naturalWidth:i}=t;e||i?this.naturalRatio=0===e?1:i/e:this.ratioTimer=setTimeout((()=>{this.image===t&&!0!==this.destroyed&&this.__computeRatio(t)}),100)},__getImage(t){const e=!0===this.nativeContextMenu?[t("img",{staticClass:"absolute-full fit",attrs:{src:this.url,"aria-hidden":"true"}})]:void 0,i=void 0!==this.url?t("div",{key:this.url,staticClass:"q-img__image absolute-full",class:this.imgClass,style:this.imgContainerStyle},e):null;return!0===this.basic?i:t("transition",{props:{name:"q-transition--"+this.transition}},[i])},__getContent(t){const e=Object(s["c"])(this,!0===this.hasError?"error":"default");if(!0===this.basic)return t("div",{key:"content",staticClass:"q-img__content absolute-full"},e);const i=!0===this.isLoading?t("div",{key:"placeholder",staticClass:"q-img__loading absolute-full flex flex-center"},void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():!1===this.noDefaultSpinner?[t(r["a"],{props:{color:this.spinnerColor,size:this.spinnerSize}})]:void 0):t("div",{key:"content",staticClass:"q-img__content absolute-full"},e);return t("transition",{props:{name:"q-transition--fade"}},[i])}},render(t){return t("div",{class:this.classes,style:this.style,attrs:this.attrs,on:{...this.qListeners}},[t("div",{style:this.ratioStyle}),this.__getImage(t),this.__getContent(t)])},beforeMount(){if(void 0!==this.placeholderSrc&&void 0===this.ratio){const t=new Image;t.src=this.placeholderSrc,this.__computeRatio(t)}!0===this.isLoading&&this.__load()},beforeDestroy(){this.destroyed=!0,clearTimeout(this.ratioTimer),void 0!==this.unwatch&&this.unwatch()}})},"06cf":function(t,e,i){var n=i("83ab"),r=i("c65b"),o=i("d1e7"),a=i("5c6c"),s=i("fc6a"),l=i("a04b"),u=i("1a2d"),c=i("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=l(e),c)try{return h(t,e)}catch(i){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},"07fa":function(t,e,i){var n=i("50c4");t.exports=function(t){return n(t.length)}},"0831":function(t,e,i){"use strict";i.d(e,"g",(function(){return s})),i.d(e,"d",(function(){return l})),i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return h})),i.d(e,"a",(function(){return d})),i.d(e,"j",(function(){return v})),i.d(e,"i",(function(){return y})),i.d(e,"h",(function(){return b})),i.d(e,"e",(function(){return x})),i.d(e,"f",(function(){return w}));i("caad");var n=i("0967"),r=i("f303");const o=!0===n["e"]?[]:[null,document,document.body,document.scrollingElement,document.documentElement];let a;function s(){if(!0===n["e"])return!1;if(void 0===a){const t=document.createElement("div"),e=document.createElement("div");Object.assign(t.style,{direction:"rtl",width:"1px",height:"1px",overflow:"auto"}),Object.assign(e.style,{width:"1000px",height:"1px"}),t.appendChild(e),document.body.appendChild(t),t.scrollLeft=-1e3,a=t.scrollLeft>=0,t.remove()}return a}function l(t,e){let i=Object(r["d"])(e);if(null===i){if(t!==Object(t)||"function"!==typeof t.closest)return window;i=t.closest(".scroll,.scroll-y,.overflow-auto")}return o.includes(i)?window:i}function u(t){return(t===window?document.body:t).scrollHeight}function c(t){return t===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:t.scrollTop}const h=c;function d(t){return t===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:t.scrollLeft}function p(t,e,i=0){const n=void 0===arguments[3]?performance.now():arguments[3],r=c(t);i<=0?r!==e&&g(t,e):requestAnimationFrame((o=>{const a=o-n,s=r+(e-r)/Math.max(a,i)*a;g(t,s),s!==e&&p(t,e,i-a,o)}))}function f(t,e,i=0){const n=void 0===arguments[3]?performance.now():arguments[3],r=d(t);i<=0?r!==e&&m(t,e):requestAnimationFrame((o=>{const a=o-n,s=r+(e-r)/Math.max(a,i)*a;m(t,s),s!==e&&f(t,e,i-a,o)}))}function g(t,e){t!==window?t.scrollTop=e:window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,e)}function m(t,e){t!==window?t.scrollLeft=e:window.scrollTo(e,window.pageYOffset||window.scrollY||document.body.scrollTop||0)}function v(t,e,i){i?p(t,e,i):g(t,e)}const y=v;function b(t,e,i){i?f(t,e,i):m(t,e)}let _;function x(){if(void 0!==_)return _;const t=document.createElement("p"),e=document.createElement("div");Object(r["b"])(t,{width:"100%",height:"200px"}),Object(r["b"])(e,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);const i=t.offsetWidth;e.style.overflow="scroll";let n=t.offsetWidth;return i===n&&(n=e.clientWidth),e.remove(),_=i-n,_}function w(t,e=!0){return!(!t||t.nodeType!==Node.ELEMENT_NODE)&&(e?t.scrollHeight>t.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}},"0967":function(t,e,i){"use strict";i.d(e,"e",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"f",(function(){return s})),i.d(e,"d",(function(){return o})),i.d(e,"a",(function(){return m}));var n=i("2b0e");const r="undefined"===typeof window;let o,a=!1,s=r,l=!1;function u(t,e){const i=/(edge|edga|edgios)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome|crios)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(firefox|fxios)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[2]||i[4]||"0",versionNumber:i[4]||i[2]||"0",platform:e[0]||""}}function c(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}const h=!1===r&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function d(t){o={is:{...t}},delete t.mac,delete t.desktop;const e=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(t,{mobile:!0,ios:!0,platform:e,[e]:!0})}function p(t){const e=t.toLowerCase(),i=c(e),n=u(e,i),o={};n.browser&&(o[n.browser]=!0,o.version=n.version,o.versionNumber=parseInt(n.versionNumber,10)),n.platform&&(o[n.platform]=!0);const l=o.android||o.ios||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"];return!0===l||e.indexOf("mobile")>-1?(o.mobile=!0,o.edga||o.edgios?(o.edge=!0,n.browser="edge"):o.crios?(o.chrome=!0,n.browser="chrome"):o.fxios&&(o.firefox=!0,n.browser="firefox")):o.desktop=!0,(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.chrome||o.opr||o.safari||o.vivaldi||!0===o.mobile&&!0!==o.ios&&!0!==l)&&(o.webkit=!0),(o.rv||o.iemobile)&&(n.browser="ie",o.ie=!0),(o.safari&&o.blackberry||o.bb)&&(n.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(n.browser="playbook",o.playbook=!0),o.opr&&(n.browser="opera",o.opera=!0),o.safari&&o.android&&(n.browser="android",o.android=!0),o.safari&&o.kindle&&(n.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(n.browser="silk",o.silk=!0),o.vivaldi&&(n.browser="vivaldi",o.vivaldi=!0),o.name=n.browser,o.platform=n.platform,!1===r&&(e.indexOf("electron")>-1?o.electron=!0:document.location.href.indexOf("-extension://")>-1?o.bex=!0:(void 0!==window.Capacitor?(o.capacitor=!0,o.nativeMobile=!0,o.nativeMobileWrapper="capacitor"):void 0===window._cordovaNative&&void 0===window.cordova||(o.cordova=!0,o.nativeMobile=!0,o.nativeMobileWrapper="cordova"),!0===h&&!0===o.mac&&(!0===o.desktop&&!0===o.safari||!0===o.nativeMobile&&!0!==o.android&&!0!==o.ios&&!0!==o.ipad)&&d(o)),a=void 0===o.nativeMobile&&void 0===o.electron&&null!==document.querySelector("[data-server-rendered]"),!0===a&&(s=!0)),o}const f=!0!==r?navigator.userAgent||navigator.vendor||window.opera:"",g={has:{touch:!1,webStorage:!1},within:{iframe:!1}},m=!1===r?{userAgent:f,is:p(f),has:{touch:h,webStorage:(()=>{try{if(window.localStorage)return!0}catch(t){}return!1})()},within:{iframe:window.self!==window.top}}:g,v={install(t,e){!0===r?e.server.push(((t,e)=>{t.platform=this.parseSSR(e.ssr)})):!0===a?(Object.assign(this,m,o,g),e.takeover.push((t=>{s=a=!1,Object.assign(t.platform,m),o=void 0})),n["a"].util.defineReactive(t,"platform",this)):(Object.assign(this,m),t.platform=this)}};!0===r?v.parseSSR=t=>{const e=t.req.headers["user-agent"]||t.req.headers["User-Agent"]||"";return{...m,userAgent:e,is:p(e)}}:l=!0===m.is.ios&&-1===window.navigator.vendor.toLowerCase().indexOf("apple"),e["b"]=v},"09e3":function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QPageContainer",mixins:[r["a"]],inject:{layout:{default(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style(){const t={};return!0===this.layout.header.space&&(t.paddingTop=`${this.layout.header.size}px`),!0===this.layout.right.space&&(t["padding"+(!0===this.$q.lang.rtl?"Left":"Right")]=`${this.layout.right.size}px`),!0===this.layout.footer.space&&(t.paddingBottom=`${this.layout.footer.size}px`),!0===this.layout.left.space&&(t["padding"+(!0===this.$q.lang.rtl?"Right":"Left")]=`${this.layout.left.size}px`),t}},render(t){return t("div",{staticClass:"q-page-container",style:this.style,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"09f9":function(t,e,i){"use strict";i("ddb0");var n=i("2b0e"),r=i("0967"),o=i("d882"),a=i("1c16");const s=["sm","md","lg","xl"],{passive:l}=o["f"];e["a"]={width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1,setSizes:o["g"],setDebounce:o["g"],install(t,e,i){if(!0===r["e"])return void(t.screen=this);const{visualViewport:o}=window,u=o||window,c=document.scrollingElement||document.documentElement,h=void 0===o||!0===r["a"].is.mobile?()=>[Math.max(window.innerWidth,c.clientWidth),Math.max(window.innerHeight,c.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-c.clientWidth,o.height*o.scale+window.innerHeight-c.clientHeight],d=void 0!==i.screen&&!0===i.screen.bodyClasses,p=t=>{const[e,i]=h();if(i!==this.height&&(this.height=i),e!==this.width)this.width=e;else if(!0!==t)return;let n=this.sizes;this.gt.xs=e>=n.sm,this.gt.sm=e>=n.md,this.gt.md=e>=n.lg,this.gt.lg=e>=n.xl,this.lt.sm=e<n.sm,this.lt.md=e<n.md,this.lt.lg=e<n.lg,this.lt.xl=e<n.xl,this.xs=this.lt.sm,this.sm=!0===this.gt.xs&&!0===this.lt.md,this.md=!0===this.gt.sm&&!0===this.lt.lg,this.lg=!0===this.gt.md&&!0===this.lt.xl,this.xl=this.gt.lg,n=(!0===this.xs?"xs":!0===this.sm&&"sm")||!0===this.md&&"md"||!0===this.lg&&"lg"||"xl",n!==this.name&&(!0===d&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${n}`)),this.name=n)};let f,g={},m=16;this.setSizes=t=>{s.forEach((e=>{void 0!==t[e]&&(g[e]=t[e])}))},this.setDebounce=t=>{m=t};const v=()=>{const t=getComputedStyle(document.body);t.getPropertyValue("--q-size-sm")&&s.forEach((e=>{this.sizes[e]=parseInt(t.getPropertyValue(`--q-size-${e}`),10)})),this.setSizes=t=>{s.forEach((e=>{t[e]&&(this.sizes[e]=t[e])})),p(!0)},this.setDebounce=t=>{void 0!==f&&u.removeEventListener("resize",f,l),f=t>0?Object(a["a"])(p,t):p,u.addEventListener("resize",f,l)},this.setDebounce(m),Object.keys(g).length>0?(this.setSizes(g),g=void 0):p(),!0===d&&"xs"===this.name&&document.body.classList.add("screen--xs")};!0===r["c"]?e.takeover.push(v):v(),n["a"].util.defineReactive(t,"screen",this)}}},"0a06":function(t,e,i){"use strict";var n=i("c532"),r=i("30b5"),o=i("f6b4"),a=i("5270"),s=i("4a7b"),l=i("848b"),u=l.validators;function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&l.assertOptions(e,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var i=[],n=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var r,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!n){var c=[a,void 0];Array.prototype.unshift.apply(c,i),c=c.concat(o),r=Promise.resolve(t);while(c.length)r=r.then(c.shift(),c.shift());return r}var h=t;while(i.length){var d=i.shift(),p=i.shift();try{h=d(h)}catch(f){p(f);break}}try{r=a(h)}catch(f){return Promise.reject(f)}while(o.length)r=r.then(o.shift(),o.shift());return r},c.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,i){return this.request(s(i||{},{method:t,url:e,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,i,n){return this.request(s(n||{},{method:t,url:e,data:i}))}})),t.exports=c},"0b25":function(t,e,i){var n=i("5926"),r=i("50c4"),o=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw o("Wrong length or index");return i}},"0b42":function(t,e,i){var n=i("e8b5"),r=i("68ee"),o=i("861d"),a=i("b622"),s=a("species"),l=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,r(e)&&(e===l||n(e.prototype))?e=void 0:o(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?l:e}},"0cb2":function(t,e,i){var n=i("e330"),r=i("7b0b"),o=Math.floor,a=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,n,h,d){var p=i+t.length,f=n.length,g=c;return void 0!==h&&(h=r(h),g=u),s(d,g,(function(r,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,i);case"'":return l(e,p);case"<":u=h[l(s,1,-1)];break;default:var c=+s;if(0===c)return r;if(c>f){var d=o(c/10);return 0===d?r:d<=f?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):r}u=n[c-1]}return void 0===u?"":u}))}},"0cd3":function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"c",(function(){return a}));var n=i("0967");function r(t,e,i){if(!0===n["e"])return i;const r=`__qcache_${e}`;return void 0===t[r]?t[r]=i:t[r]}function o(t,e,i){if(!0===n["e"])return i();const r=`__qcache_${e}`;return void 0===t[r]?t[r]=i():t[r]}function a(t,e){return{data(){const i={},n=this[t];for(const t in n)i[t]=n[t];return{[e]:i}},watch:{[t](t,i){const n=this[e];if(void 0!==i)for(const e in i)void 0===t[e]&&this.$delete(n,e);for(const e in t)n[e]!==t[e]&&this.$set(n,e,t[e])}}}}},"0cfb":function(t,e,i){var n=i("83ab"),r=i("d039"),o=i("cc12");t.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(t,e,i){var n=i("d039"),r=i("b622"),o=i("c430"),a=r("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,i="";return t.pathname="c%20d",e.forEach((function(t,n){e["delete"]("b"),i+=n+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host}))},"0d51":function(t,e){var i=String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"0d59":function(t,e,i){"use strict";var n=i("2b0e"),r=i("6642"),o=i("87e8"),a={mixins:[o["a"]],props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{cSize(){return this.size in r["c"]?`${r["c"][this.size]}px`:this.size},classes(){if(this.color)return`text-${this.color}`}}};e["a"]=n["a"].extend({name:"QSpinner",mixins:[a],props:{thickness:{type:Number,default:5}},render(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,on:{...this.qListeners},attrs:{focusable:"false",width:this.cSize,height:this.cSize,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":this.thickness,"stroke-miterlimit":"10"}})])}})},"0df6":function(t,e,i){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"107c":function(t,e,i){var n=i("d039"),r=i("da84"),o=r.RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},"10b0":function(t,e,i){"use strict";var n={single_source_shortest_paths:function(t,e,i){var r={},o={};o[e]=0;var a,s,l,u,c,h,d,p,f,g=n.PriorityQueue.make();g.push(e,0);while(!g.empty())for(l in a=g.pop(),s=a.value,u=a.cost,c=t[s]||{},c)c.hasOwnProperty(l)&&(h=c[l],d=u+h,p=o[l],f="undefined"===typeof o[l],(f||p>d)&&(o[l]=d,g.push(l,d),r[l]=s));if("undefined"!==typeof i&&"undefined"===typeof o[i]){var m=["Could not find a path from ",e," to ",i,"."].join("");throw new Error(m)}return r},extract_shortest_path_from_predecessor_list:function(t,e){var i=[],n=e;while(n)i.push(n),t[n],n=t[n];return i.reverse(),i},find_path:function(t,e,i){var r=n.single_source_shortest_paths(t,e,i);return n.extract_shortest_path_from_predecessor_list(r,i)},PriorityQueue:{make:function(t){var e,i=n.PriorityQueue,r={};for(e in t=t||{},i)i.hasOwnProperty(e)&&(r[e]=i[e]);return r.queue=[],r.sorter=t.sorter||i.default_sorter,r},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var i={value:t,cost:e};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},"124f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return u(e,t),n(e,[{key:"encode",value:function(){for(var t="110",e=0;e<this.data.length;e++){var i=parseInt(this.data[e]),n=i.toString(2);n=h(n,4-n.length);for(var r=0;r<n.length;r++)t+="0"==n[r]?"100":"110"}return t+="1001",{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),e}(o.default);function h(t,e){for(var i=0;i<e;i++)t="0"+t;return t}e.default=c},"13d2":function(t,e,i){var n=i("d039"),r=i("1626"),o=i("1a2d"),a=i("83ab"),s=i("5e77").CONFIGURABLE,l=i("8925"),u=i("69f3"),c=u.enforce,h=u.get,d=Object.defineProperty,p=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),f=String(String).split("String"),g=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&i&&o(i,"arity")&&t.length!==i.arity&&d(t,"length",{value:i.arity});try{i&&o(i,"constructor")&&i.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var n=c(t);return o(n,"source")||(n.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return r(this)&&h(this).source||l(this)}),"toString")},"14c3":function(t,e,i){var n=i("c65b"),r=i("825a"),o=i("1626"),a=i("c6b6"),s=i("9263"),l=TypeError;t.exports=function(t,e){var i=t.exec;if(o(i)){var u=n(i,t,e);return null!==u&&r(u),u}if("RegExp"===a(t))return n(s,t,e);throw l("RegExp#exec called on incompatible receiver")}},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"182d":function(t,e,i){var n=i("f8cd"),r=RangeError;t.exports=function(t,e){var i=n(t);if(i%e)throw r("Wrong offset");return i}},"18d6":function(t,e,i){"use strict";var n=i("0967"),r=i("685b");e["a"]={install({$q:t}){const e=!0===n["e"]||!1===n["a"].has.webStorage?Object(r["a"])():Object(r["b"])("local");t.localStorage=e,Object.assign(this,e)}}},"19aa":function(t,e,i){var n=i("3a9b"),r=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw r("Incorrect invocation")}},"1a2d":function(t,e,i){var n=i("e330"),r=i("7b0b"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1ba5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=i("bdfe"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){var e=t.substr(0,7).split("").map((function(t){return+t})).reduce((function(t,e,i){return i%2?t+e:t+3*e}),0);return(10-e%10)%10},d=function(t){function e(t,i){return l(this,e),-1!==t.search(/^[0-9]{7}$/)&&(t+=h(t)),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return c(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===h(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(a.default);e.default=d},"1be4":function(t,e,i){var n=i("d066");t.exports=n("document","documentElement")},"1c16":function(t,e,i){"use strict";e["a"]=function(t,e=250,i){let n;function r(){const r=arguments,o=()=>{n=void 0,!0!==i&&t.apply(this,r)};clearTimeout(n),!0===i&&void 0===n&&t.apply(this,r),n=setTimeout(o,e)}return r.cancel=()=>{clearTimeout(n)},r}},"1c1c":function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("87e8"),a=i("dde5");e["a"]=n["a"].extend({name:"QList",mixins:[o["a"],r["a"]],props:{bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean},computed:{classes(){return"q-list"+(!0===this.bordered?" q-list--bordered":"")+(!0===this.dense?" q-list--dense":"")+(!0===this.separator?" q-list--separator":"")+(!0===this.isDark?" q-list--dark":"")+(!0===this.padding?" q-list--padding":"")}},render(t){return t("div",{class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"1c35":function(t,e,i){"use strict";(function(t){
  2. /*!
  3. * The buffer module from node.js, for the browser.
  4. *
  5. * @author Feross Aboukhadijeh <http://feross.org>
  6. * @license MIT
  7. */
  8. var n=i("1fb5"),r=i("9152"),o=i("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,i){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,i);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,i)}function c(t,e,i,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?m(t,e,i,n):"string"===typeof e?f(t,e,i):v(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e,i,n){return h(e),e<=0?l(t,e):void 0!==i?"string"===typeof n?l(t,e).fill(i,n):l(t,e).fill(i):l(t,e)}function p(t,e){if(h(e),t=l(t,e<0?0:0|y(e)),!u.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function f(t,e,i){if("string"===typeof i&&""!==i||(i="utf8"),!u.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(e,i);t=l(t,n);var r=t.write(e,i);return r!==n&&(t=t.slice(0,r)),t}function g(t,e){var i=e.length<0?0:0|y(e.length);t=l(t,i);for(var n=0;n<i;n+=1)t[n]=255&e[n];return t}function m(t,e,i,n){if(e.byteLength,i<0||e.byteLength<i)throw new RangeError("'offset' is out of bounds");if(e.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===i&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,i):new Uint8Array(e,i,n),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=g(t,e),t}function v(t,e){if(u.isBuffer(e)){var i=0|y(e.length);return t=l(t,i),0===t.length?t:(e.copy(t,0,0,i),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?l(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),u.alloc(+t)}function _(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return J(t).length;default:if(n)return K(t).length;e=(""+e).toLowerCase(),n=!0}}function x(t,e,i){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,e>>>=0,i<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return B(this,e,i);case"utf8":case"utf-8":return E(this,e,i);case"ascii":return j(this,e,i);case"latin1":case"binary":return R(this,e,i);case"base64":return P(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function w(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function S(t,e,i,n,r){if(0===t.length)return-1;if("string"===typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:C(t,e,i,n,r);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):C(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function C(t,e,i,n,r){var o,a=1,s=t.length,l=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,i/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var c=-1;for(o=i;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(i+l>s&&(i=s-l),o=i;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(u(t,o+d)!==u(e,d)){h=!1;break}if(h)return o}return-1}function k(t,e,i,n){i=Number(i)||0;var r=t.length-i;n?(n=Number(n),n>r&&(n=r)):n=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[i+a]=s}return a}function M(t,e,i,n){return tt(K(e,t.length-i),t,i,n)}function O(t,e,i,n){return tt(Z(e),t,i,n)}function T(t,e,i,n){return O(t,e,i,n)}function A(t,e,i,n){return tt(J(e),t,i,n)}function I(t,e,i,n){return tt(Q(e,t.length-i),t,i,n)}function P(t,e,i){return 0===e&&i===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,i))}function E(t,e,i){i=Math.min(t.length,i);var n=[],r=e;while(r<i){var o,a,s,l,u=t[r],c=null,h=u>239?4:u>223?3:u>191?2:1;if(r+h<=i)switch(h){case 1:u<128&&(c=u);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&u)<<6|63&o,l>127&&(c=l));break;case 3:o=t[r+1],a=t[r+2],128===(192&o)&&128===(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),r+=h}return L(n)}e.Buffer=u,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,i){return c(null,t,e,i)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,i){return d(null,t,e,i)},u.allocUnsafe=function(t){return p(null,t)},u.allocUnsafeSlow=function(t){return p(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,n=e.length,r=0,o=Math.min(i,n);r<o;++r)if(t[r]!==e[r]){i=t[r],n=e[r];break}return i<n?-1:n<i?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=u.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var a=t[i];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,r),r+=a.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)w(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):x.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,i,n,r){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,r>>>=0,this===t)return 0;for(var o=r-n,a=i-e,s=Math.min(o,a),l=this.slice(n,r),c=t.slice(e,i),h=0;h<s;++h)if(l[h]!==c[h]){o=l[h],a=c[h];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,i){return-1!==this.indexOf(t,e,i)},u.prototype.indexOf=function(t,e,i){return S(this,t,e,i,!0)},u.prototype.lastIndexOf=function(t,e,i){return S(this,t,e,i,!1)},u.prototype.write=function(t,e,i,n){if(void 0===e)n="utf8",i=this.length,e=0;else if(void 0===i&&"string"===typeof e)n=e,i=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var r=this.length-e;if((void 0===i||i>r)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return k(this,t,e,i);case"utf8":case"utf-8":return M(this,t,e,i);case"ascii":return O(this,t,e,i);case"latin1":case"binary":return T(this,t,e,i);case"base64":return A(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,i);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function L(t){var e=t.length;if(e<=D)return String.fromCharCode.apply(String,t);var i="",n=0;while(n<e)i+=String.fromCharCode.apply(String,t.slice(n,n+=D));return i}function j(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(127&t[r]);return n}function R(t,e,i){var n="";i=Math.min(t.length,i);for(var r=e;r<i;++r)n+=String.fromCharCode(t[r]);return n}function B(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var r="",o=e;o<i;++o)r+=X(t[o]);return r}function F(t,e,i){for(var n=t.slice(e,i),r="",o=0;o<n.length;o+=2)r+=String.fromCharCode(n[o]+256*n[o+1]);return r}function N(t,e,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>i)throw new RangeError("Trying to access beyond buffer length")}function z(t,e,i,n,r,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(i+n>t.length)throw new RangeError("Index out of range")}function V(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-i,2);r<o;++r)t[i+r]=(e&255<<8*(n?r:1-r))>>>8*(n?r:1-r)}function q(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-i,4);r<o;++r)t[i+r]=e>>>8*(n?r:3-r)&255}function $(t,e,i,n,r,o){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function H(t,e,i,n,o){return o||$(t,e,i,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,i,n,23,4),i+4}function G(t,e,i,n,o){return o||$(t,e,i,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,i,n,52,8),i+8}u.prototype.slice=function(t,e){var i,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)i=this.subarray(t,e),i.__proto__=u.prototype;else{var r=e-t;i=new u(r,void 0);for(var o=0;o<r;++o)i[o]=this[o+t]}return i},u.prototype.readUIntLE=function(t,e,i){t|=0,e|=0,i||N(t,e,this.length);var n=this[t],r=1,o=0;while(++o<e&&(r*=256))n+=this[t+o]*r;return n},u.prototype.readUIntBE=function(t,e,i){t|=0,e|=0,i||N(t,e,this.length);var n=this[t+--e],r=1;while(e>0&&(r*=256))n+=this[t+--e]*r;return n},u.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||N(t,e,this.length);var n=this[t],r=1,o=0;while(++o<e&&(r*=256))n+=this[t+o]*r;return r*=128,n>=r&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||N(t,e,this.length);var n=e,r=1,o=this[t+--n];while(n>0&&(r*=256))o+=this[t+--n]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},u.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),r.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),r.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),r.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),r.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;z(this,t,e,i,r,0)}var o=1,a=0;this[e]=255&t;while(++a<i&&(o*=256))this[e+a]=t/o&255;return e+i},u.prototype.writeUIntBE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){var r=Math.pow(2,8*i)-1;z(this,t,e,i,r,0)}var o=i-1,a=1;this[e+o]=255&t;while(--o>=0&&(a*=256))this[e+o]=t/a&255;return e+i},u.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):q(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);z(this,t,e,i,r-1,-r)}var o=0,a=1,s=0;this[e]=255&t;while(++o<i&&(a*=256))t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+i},u.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);z(this,t,e,i,r-1,-r)}var o=i-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+i},u.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):q(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||z(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):q(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,i){return H(this,t,e,!0,i)},u.prototype.writeFloatBE=function(t,e,i){return H(this,t,e,!1,i)},u.prototype.writeDoubleLE=function(t,e,i){return G(this,t,e,!0,i)},u.prototype.writeDoubleBE=function(t,e,i){return G(this,t,e,!1,i)},u.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var r,o=n-i;if(this===t&&i<e&&e<n)for(r=o-1;r>=0;--r)t[r+e]=this[r+i];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+o),e);return o},u.prototype.fill=function(t,e,i,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,i=this.length):"string"===typeof i&&(n=i,i=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<i)throw new RangeError("Out of range index");if(i<=e)return this;var o;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"===typeof t)for(o=e;o<i;++o)this[o]=t;else{var a=u.isBuffer(t)?t:K(new u(t,n).toString()),s=a.length;for(o=0;o<i-e;++o)this[o+e]=a[o%s]}return this};var W=/[^+\/0-9A-Za-z-_]/g;function U(t){if(t=Y(t).replace(W,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function Y(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var i;e=e||1/0;for(var n=t.length,r=null,o=[],a=0;a<n;++a){if(i=t.charCodeAt(a),i>55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return o}function Z(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function Q(t,e){for(var i,n,r,o=[],a=0;a<t.length;++a){if((e-=2)<0)break;i=t.charCodeAt(a),n=i>>8,r=i%256,o.push(r),o.push(n)}return o}function J(t){return n.toByteArray(U(t))}function tt(t,e,i,n){for(var r=0;r<n;++r){if(r+i>=e.length||r>=t.length)break;e[r+i]=t[r]}return r}function et(t){return t!==t}}).call(this,i("23b3"))},"1c7e":function(t,e,i){var n=i("b622"),r=n("iterator"),o=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){o=!0}};s[r]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!o)return!1;var i=!1;try{var n={};n[r]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(l){}return i}},"1d02":function(t,e,i){"use strict";var n=i("ebb5"),r=i("a258").findLastIndex,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"1d2b":function(t,e,i){"use strict";t.exports=function(t,e){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return t.apply(e,i)}}},"1d80":function(t,e){var i=TypeError;t.exports=function(t){if(void 0==t)throw i("Can't call method on "+t);return t}},"1fb5":function(t,e,i){"use strict";e.byteLength=c,e.toByteArray=d,e.fromByteArray=g;for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],r[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=e);var n=i===e?0:4-i%4;return[i,n]}function c(t){var e=u(t),i=e[0],n=e[1];return 3*(i+n)/4-n}function h(t,e,i){return 3*(e+i)/4-i}function d(t){var e,i,n=u(t),a=n[0],s=n[1],l=new o(h(t,a,s)),c=0,d=s>0?a-4:a;for(i=0;i<d;i+=4)e=r[t.charCodeAt(i)]<<18|r[t.charCodeAt(i+1)]<<12|r[t.charCodeAt(i+2)]<<6|r[t.charCodeAt(i+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=r[t.charCodeAt(i)]<<2|r[t.charCodeAt(i+1)]>>4,l[c++]=255&e),1===s&&(e=r[t.charCodeAt(i)]<<10|r[t.charCodeAt(i+1)]<<4|r[t.charCodeAt(i+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function f(t,e,i){for(var n,r=[],o=e;o<i;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),r.push(p(n));return r.join("")}function g(t){for(var e,i=t.length,r=i%3,o=[],a=16383,s=0,l=i-r;s<l;s+=a)o.push(f(t,s,s+a>l?l:s+a));return 1===r?(e=t[i-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===r&&(e=(t[i-2]<<8)+t[i-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"219c":function(t,e,i){"use strict";var n=i("da84"),r=i("e330"),o=i("d039"),a=i("59ed"),s=i("addb"),l=i("ebb5"),u=i("04d1"),c=i("d998"),h=i("2d00"),d=i("512c"),p=l.aTypedArray,f=l.exportTypedArrayMethod,g=n.Uint16Array,m=g&&r(g.prototype.sort),v=!!m&&!(o((function(){m(new g(2),null)}))&&o((function(){m(new g(2),{})}))),y=!!m&&!o((function(){if(h)return h<74;if(u)return u<67;if(c)return!0;if(d)return d<602;var t,e,i=new g(516),n=Array(516);for(t=0;t<516;t++)e=t%4,i[t]=515-t,n[t]=t-2*e+3;for(m(i,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(i[t]!==n[t])return!0})),b=function(t){return function(e,i){return void 0!==t?+t(e,i)||0:i!==i?-1:e!==e?1:0===e&&0===i?1/e>0&&1/i<0?1:-1:e>i}};f("sort",(function(t){return void 0!==t&&a(t),y?m(this,t):s(p(this),b(t))}),!y||v)},"21cb":function(t,e,i){},"21e1":function(t,e,i){"use strict";var n=i("0967");const r=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,o=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,a=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,s=/[a-z0-9_ -]$/i;e["a"]={methods:{__onComposition(t){if("compositionend"===t.type||"change"===t.type){if(!0!==t.target.qComposing)return;t.target.qComposing=!1,this.__onInput(t)}else if("compositionupdate"===t.type&&!0!==t.target.qComposing&&"string"===typeof t.data){const e=!0===n["a"].is.firefox?!1===s.test(t.data):!0===r.test(t.data)||!0===o.test(t.data)||!0===a.test(t.data);!0===e&&(t.target.qComposing=!0)}}}}},2248:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var n=i("0967");function r(){if(void 0!==window.getSelection){const t=window.getSelection();void 0!==t.empty?t.empty():void 0!==t.removeAllRanges&&(t.removeAllRanges(),!0!==n["b"].is.mobile&&t.addRange(document.createRange()))}else void 0!==document.selection&&document.selection.empty()}},"22d1":function(t,e,i){"use strict";var n=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),r=function(){function t(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),o=new r;function a(t,e){var i=e.browser,n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),o&&(i.edge=!0,i.version=o[1],i.newEdge=+o[1].split(".")[0]>18),a&&(i.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!i.ie&&!i.edge,e.pointerEventsSupported="onpointerdown"in window&&(i.edge||i.ie&&+i.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(i.ie&&"transition"in s||i.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||i.ie&&+i.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?o.worker=!0:"undefined"===typeof navigator?(o.node=!0,o.svgSupported=!0):a(navigator.userAgent,o),e["a"]=o},"23b3":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"23cb":function(t,e,i){var n=i("5926"),r=Math.max,o=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):o(i,e)}},"23e7":function(t,e,i){var n=i("da84"),r=i("06cf").f,o=i("9112"),a=i("cb2d"),s=i("6374"),l=i("e893"),u=i("94ca");t.exports=function(t,e){var i,c,h,d,p,f,g=t.target,m=t.global,v=t.stat;if(c=m?n:v?n[g]||s(g,{}):(n[g]||{}).prototype,c)for(h in e){if(p=e[h],t.dontCallGetSet?(f=r(c,h),d=f&&f.value):d=c[h],i=u(m?h:g+(v?".":"#")+h,t.forced),!i&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),a(c,h,p,t)}}},"241c":function(t,e,i){var n=i("ca84"),r=i("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"241e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var n=i("89a2"),r=g(n),o=i("1ba5"),a=g(o),s=i("583f"),l=g(s),u=i("a5d2"),c=g(u),h=i("e8b2"),d=g(h),p=i("be98"),f=g(p);function g(t){return t&&t.__esModule?t:{default:t}}e.EAN13=r.default,e.EAN8=a.default,e.EAN5=l.default,e.EAN2=c.default,e.UPC=d.default,e.UPCE=f.default},2444:function(t,e,i){"use strict";(function(e){var n=i("c532"),r=i("c8af"),o=i("387f"),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function l(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=i("b50d")),t}function u(t,e,i){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(i||JSON.stringify)(t)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional,i=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!i&&"json"===this.responseType;if(a||r&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(a)})),t.exports=c}).call(this,i("4362"))},"24e8":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("58e5"),o=i("7ee0"),a=i("9e62"),s=i("efe6"),l=i("f376"),u=i("f303"),c=i("a267"),h=i("dde5"),d=i("d882"),p=i("0cd3"),f=i("e704"),g=i("0967");let m=0;const v={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},y={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};e["a"]=n["a"].extend({name:"QDialog",mixins:[l["b"],r["a"],o["a"],a["c"],s["a"]],props:{persistent:Boolean,autoClose:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,position:{type:String,default:"standard",validator:t=>"standard"===t||["top","bottom","left","right"].includes(t)},transitionShow:String,transitionHide:String},data(){return{transitionState:this.showing,animating:!1}},watch:{showing(t){this.transitionShowComputed!==this.transitionHideComputed&&this.$nextTick((()=>{this.transitionState=t}))},maximized(t){!0===this.showing&&this.__updateMaximized(t)},useBackdrop(t){this.__preventScroll(t),this.__preventFocusout(t)}},computed:{classes(){return`q-dialog__inner--${!0===this.maximized?"maximized":"minimized"} q-dialog__inner--${this.position} ${v[this.position]}`+(!0===this.animating?" q-dialog__inner--animating":"")+(!0===this.fullWidth?" q-dialog__inner--fullwidth":"")+(!0===this.fullHeight?" q-dialog__inner--fullheight":"")+(!0===this.square?" q-dialog__inner--square":"")},transitionShowComputed(){return"q-transition--"+(void 0===this.transitionShow?y[this.position][0]:this.transitionShow)},transitionHideComputed(){return"q-transition--"+(void 0===this.transitionHide?y[this.position][1]:this.transitionHide)},transition(){return!0===this.transitionState?this.transitionHideComputed:this.transitionShowComputed},useBackdrop(){return!0===this.showing&&!0!==this.seamless},hideOnRouteChange(){return!0!==this.persistent&&!0!==this.noRouteDismiss&&!0!==this.seamless},onEvents(){const t={...this.qListeners,input:d["k"],"popup-show":d["k"],"popup-hide":d["k"]};return!0===this.autoClose&&(t.click=this.__onAutoClose),t}},methods:{focus(t){Object(f["a"])((()=>{let e=this.__getInnerNode();void 0!==e&&!0!==e.contains(document.activeElement)&&(e=e.querySelector(t||"[autofocus], [data-autofocus]")||e,e.focus({preventScroll:!0}))}))},shake(){this.focus(),this.$emit("shake");const t=this.__getInnerNode();void 0!==t&&(t.classList.remove("q-animate--scale"),t.classList.add("q-animate--scale"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout((()=>{t.classList.remove("q-animate--scale")}),170))},__getInnerNode(){return void 0!==this.__portal&&void 0!==this.__portal.$refs?this.__portal.$refs.inner:void 0},__show(t){this.__addHistory(),this.__refocusTarget=!0!==g["a"].is.mobile&&!1===this.noRefocus&&null!==document.activeElement?document.activeElement:void 0,this.$el.dispatchEvent(Object(d["c"])("popup-show",{bubbles:!0})),this.__updateMaximized(this.maximized),c["a"].register(this,(()=>{!0!==this.seamless&&(!0===this.persistent||!0===this.noEscDismiss?!0!==this.maximized&&!0!==this.noShake&&this.shake():(this.$emit("escape-key"),this.hide()))})),this.__showPortal(),this.animating=!0,!0!==this.noFocus&&(null!==document.activeElement&&document.activeElement.blur(),this.__nextTick(this.focus)),this.__setTimeout((()=>{if(!0===this.$q.platform.is.ios){if(!0!==this.seamless&&document.activeElement){const{top:t,bottom:e}=document.activeElement.getBoundingClientRect(),{innerHeight:i}=window,n=void 0!==window.visualViewport?window.visualViewport.height:i;t>0&&e>n/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-n,e>=i?1/0:Math.ceil(document.scrollingElement.scrollTop+e-n/2))),document.activeElement.scrollIntoView()}this.__portal.$el.click()}this.animating=!1,this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__removeHistory(),this.__cleanup(!0),this.__hidePortal(),this.animating=!0,void 0!==this.__refocusTarget&&null!==this.__refocusTarget&&(this.__refocusTarget.focus(t),this.__refocusTarget=void 0),this.$el.dispatchEvent(Object(d["c"])("popup-hide",{bubbles:!0})),this.__setTimeout((()=>{this.__hidePortal(!0),this.animating=!1,this.$emit("hide",t)}),300)},__cleanup(t){clearTimeout(this.shakeTimeout),!0!==t&&!0!==this.showing||(c["a"].pop(this),this.__updateMaximized(!1),!0!==this.seamless&&(this.__preventScroll(!1),this.__preventFocusout(!1)))},__updateMaximized(t){!0===t?!0!==this.isMaximized&&(m<1&&document.body.classList.add("q-body--dialog"),m++,this.isMaximized=!0):!0===this.isMaximized&&(m<2&&document.body.classList.remove("q-body--dialog"),m--,this.isMaximized=!1)},__preventFocusout(t){if(!0===this.$q.platform.is.desktop){const e=(!0===t?"add":"remove")+"EventListener";document.body[e]("focusin",this.__onFocusChange)}},__onAutoClose(t){this.hide(t),void 0!==this.qListeners.click&&this.$emit("click",t)},__onBackdropClick(t){!0!==this.persistent&&!0!==this.noBackdropDismiss?this.hide(t):!0!==this.noShake&&this.shake()},__onFocusChange(t){!0===this.__portalIsAccessible&&!0!==Object(u["a"])(this.__portal.$el,t.target)&&this.focus('[tabindex]:not([tabindex="-1"])')},__renderPortal(t){return t("div",{staticClass:"q-dialog fullscreen no-pointer-events q-dialog--"+(!0===this.useBackdrop?"modal":"seamless"),class:this.contentClass,style:this.contentStyle,attrs:this.qAttrs},[t("transition",{props:{name:"q-transition--fade"}},!0===this.useBackdrop?[t("div",{staticClass:"q-dialog__backdrop fixed-full",attrs:l["a"],on:Object(p["b"])(this,"bkdrop",{click:this.__onBackdropClick})})]:null),t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{ref:"inner",staticClass:"q-dialog__inner flex no-pointer-events",class:this.classes,attrs:{tabindex:-1},on:this.onEvents},Object(h["c"])(this,"default")):null])])}},mounted(){this.__processModelChange(this.value)},beforeDestroy(){this.__cleanup(),this.__refocusTarget=void 0}})},2626:function(t,e,i){"use strict";var n=i("d066"),r=i("9bf2"),o=i("b622"),a=i("83ab"),s=o("species");t.exports=function(t){var e=n(t),i=r.f;a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},2635:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){s(this,e),-1!==t.search(/^[0-9]{13}$/)&&(t+=h(t));var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.binaryRepresentation={0:"00110",1:"10001",2:"01001",3:"11000",4:"00101",5:"10100",6:"01100",7:"00011",8:"10010",9:"01010"},n}return u(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&this.data[13]==h(this.data)}},{key:"encode",value:function(){for(var t="1010",e=0;e<14;e+=2)t+=this.calculatePair(this.data.substr(e,2));return t+="11101",{data:t,text:this.text}}},{key:"calculatePair",value:function(t){for(var e="",i=this.binaryRepresentation[t[0]],n=this.binaryRepresentation[t[1]],r=0;r<5;r++)e+="1"==i[r]?"111":"1",e+="1"==n[r]?"000":"0";return e}}]),e}(o.default);function h(t){for(var e=0,i=0;i<13;i++)e+=parseInt(t[i])*(3-i%2*2);return 10*Math.ceil(e/10)-e}e.ITF14=c},2732:function(t,e,i){const n=i("699e");e.mul=function(t,e){const i=new Uint8Array(t.length+e.length-1);for(let r=0;r<t.length;r++)for(let o=0;o<e.length;o++)i[r+o]^=n.mul(t[r],e[o]);return i},e.mod=function(t,e){let i=new Uint8Array(t);while(i.length-e.length>=0){const t=i[0];for(let o=0;o<e.length;o++)i[o]^=n.mul(e[o],t);let r=0;while(r<i.length&&0===i[r])r++;i=i.slice(r)}return i},e.generateECPolynomial=function(t){let i=new Uint8Array([1]);for(let r=0;r<t;r++)i=e.mul(i,new Uint8Array([1,n.exp(r)]));return i}},"27a3":function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},"27f9":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("8572"),o=i("f89c"),a=i("cc78"),s=(i("5319"),i("ddb0"),i("d728"));const l={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},u={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:t=>t.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:t=>t.toLocaleLowerCase()}},c=Object.keys(u);c.forEach((t=>{u[t].regex=new RegExp(u[t].pattern)}));const h=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+c.join("")+"])|(.)","g"),d=/[.*+?^${}()|[\]\\]/g,p=String.fromCharCode(1);var f={props:{mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean},watch:{type(){this.__updateMaskInternals()},autogrow(){this.__updateMaskInternals()},mask(t){if(void 0!==t)this.__updateMaskValue(this.innerValue,!0);else{const t=this.__unmask(this.innerValue);this.__updateMaskInternals(),this.value!==t&&this.$emit("input",t)}},fillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},reverseFillMask(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue,!0)},unmaskedValue(){!0===this.hasMask&&this.__updateMaskValue(this.innerValue)}},methods:{__getInitialMaskedValue(){if(this.__updateMaskInternals(),!0===this.hasMask){const t=this.__mask(this.__unmask(this.value));return!1!==this.fillMask?this.__fillWithMask(t):t}return this.value},__getPaddedMaskMarked(t){if(t<this.maskMarked.length)return this.maskMarked.slice(-t);let e=this.maskMarked,i="";const n=e.indexOf(p);if(n>-1){for(let n=t-e.length;n>0;n--)i+=p;e=e.slice(0,n)+i+e.slice(n)}return e},__updateMaskInternals(){if(this.hasMask=void 0!==this.mask&&this.mask.length>0&&(!0===this.autogrow||["textarea","text","search","url","tel","password"].includes(this.type)),!1===this.hasMask)return this.computedUnmask=void 0,this.maskMarked="",void(this.maskReplaced="");const t=void 0===l[this.mask]?this.mask:l[this.mask],e="string"===typeof this.fillMask&&this.fillMask.length>0?this.fillMask.slice(0,1):"_",i=e.replace(d,"\\$&"),n=[],r=[],o=[];let a=!0===this.reverseFillMask,s="",c="";t.replace(h,((t,e,i,l,h)=>{if(void 0!==l){const t=u[l];o.push(t),c=t.negate,!0===a&&(r.push("(?:"+c+"+)?("+t.pattern+"+)?(?:"+c+"+)?("+t.pattern+"+)?"),a=!1),r.push("(?:"+c+"+)?("+t.pattern+")?")}else if(void 0!==i)s="\\"+("\\"===i?"":i),o.push(i),n.push("([^"+s+"]+)?"+s+"?");else{const t=void 0!==e?e:h;s="\\"===t?"\\\\\\\\":t.replace(d,"\\\\$&"),o.push(t),n.push("([^"+s+"]+)?"+s+"?")}}));const f=new RegExp("^"+n.join("")+"("+(""===s?".":"[^"+s+"]")+"+)?$"),g=r.length-1,m=r.map(((t,e)=>0===e&&!0===this.reverseFillMask?new RegExp("^"+i+"*"+t):e===g?new RegExp("^"+t+"("+(""===c?".":c)+"+)?"+(!0===this.reverseFillMask?"$":i+"*")):new RegExp("^"+t)));this.computedMask=o,this.computedUnmask=t=>{const e=f.exec(t);null!==e&&(t=e.slice(1).join(""));const i=[],n=m.length;for(let r=0,o=t;r<n;r++){const t=m[r].exec(o);if(null===t)break;o=o.slice(t.shift().length),i.push(...t)}return i.length>0?i.join(""):t},this.maskMarked=o.map((t=>"string"===typeof t?t:p)).join(""),this.maskReplaced=this.maskMarked.split(p).join(e)},__updateMaskValue(t,e,i){const n=this.$refs.input,r=n.selectionEnd,o=n.value.length-r,a=this.__unmask(t);!0===e&&this.__updateMaskInternals();const s=this.__mask(a),l=!1!==this.fillMask?this.__fillWithMask(s):s,u=this.innerValue!==l;n.value!==l&&(n.value=l),!0===u&&(this.innerValue=l),document.activeElement===n&&this.$nextTick((()=>{if(l!==this.maskReplaced)if("insertFromPaste"!==i||!0===this.reverseFillMask)if(["deleteContentBackward","deleteContentForward"].indexOf(i)>-1){const t=!0===this.reverseFillMask?0===r?l.length>s.length?1:0:Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(s.length,o)+1))+1:r;n.setSelectionRange(t,t,"forward")}else if(!0===this.reverseFillMask)if(!0===u){const t=Math.max(0,l.length-(l===this.maskReplaced?0:Math.min(s.length,o+1)));1===t&&1===r?n.setSelectionRange(t,t,"forward"):this.__moveCursorRightReverse(n,t,t)}else{const t=l.length-o;n.setSelectionRange(t,t,"backward")}else if(!0===u){const t=Math.max(0,this.maskMarked.indexOf(p),Math.min(s.length,r)-1);this.__moveCursorRight(n,t,t)}else{const t=r-1;this.__moveCursorRight(n,t,t)}else{const t=r-1;this.__moveCursorRight(n,t,t)}else{const t=!0===this.reverseFillMask?this.maskReplaced.length:0;n.setSelectionRange(t,t,"forward")}}));const c=!0===this.unmaskedValue?this.__unmask(l):l;String(this.value)!==c&&this.__emitValue(c,!0)},__moveCursorForPaste(t,e,i){const n=this.__mask(this.__unmask(t.value));e=Math.max(0,this.maskMarked.indexOf(p),Math.min(n.length,e)),t.setSelectionRange(e,i,"forward")},__moveCursorLeft(t,e,i,n){const r=-1===this.maskMarked.slice(e-1).indexOf(p);let o=Math.max(0,e-1);for(;o>=0;o--)if(this.maskMarked[o]===p){e=o,!0===r&&e++;break}if(o<0&&void 0!==this.maskMarked[e]&&this.maskMarked[e]!==p)return this.__moveCursorRight(t,0,0);e>=0&&t.setSelectionRange(e,!0===n?i:e,"backward")},__moveCursorRight(t,e,i,n){const r=t.value.length;let o=Math.min(r,i+1);for(;o<=r;o++){if(this.maskMarked[o]===p){i=o;break}this.maskMarked[o-1]===p&&(i=o)}if(o>r&&void 0!==this.maskMarked[i-1]&&this.maskMarked[i-1]!==p)return this.__moveCursorLeft(t,r,r);t.setSelectionRange(n?e:i,i,"forward")},__moveCursorLeftReverse(t,e,i,n){const r=this.__getPaddedMaskMarked(t.value.length);let o=Math.max(0,e-1);for(;o>=0;o--){if(r[o-1]===p){e=o;break}if(r[o]===p&&(e=o,0===o))break}if(o<0&&void 0!==r[e]&&r[e]!==p)return this.__moveCursorRightReverse(t,0,0);e>=0&&t.setSelectionRange(e,!0===n?i:e,"backward")},__moveCursorRightReverse(t,e,i,n){const r=t.value.length,o=this.__getPaddedMaskMarked(r),a=-1===o.slice(0,i+1).indexOf(p);let s=Math.min(r,i+1);for(;s<=r;s++)if(o[s-1]===p){i=s,i>0&&!0===a&&i--;break}if(s>r&&void 0!==o[i-1]&&o[i-1]!==p)return this.__moveCursorLeftReverse(t,r,r);t.setSelectionRange(!0===n?e:i,i,"forward")},__onMaskedKeydown(t){if(!0===Object(s["c"])(t))return;const e=this.$refs.input,i=e.selectionStart,n=e.selectionEnd;if(37===t.keyCode||39===t.keyCode){const r=this["__moveCursor"+(39===t.keyCode?"Right":"Left")+(!0===this.reverseFillMask?"Reverse":"")];t.preventDefault(),r(e,i,n,t.shiftKey)}else 8===t.keyCode&&!0!==this.reverseFillMask&&i===n?this.__moveCursorLeft(e,i,n,!0):46===t.keyCode&&!0===this.reverseFillMask&&i===n&&this.__moveCursorRightReverse(e,i,n,!0);this.$emit("keydown",t)},__mask(t){if(void 0===t||null===t||""===t)return"";if(!0===this.reverseFillMask)return this.__maskReverse(t);const e=this.computedMask;let i=0,n="";for(let r=0;r<e.length;r++){const o=t[i],a=e[r];if("string"===typeof a)n+=a,o===a&&i++;else{if(void 0===o||!a.regex.test(o))return n;n+=void 0!==a.transform?a.transform(o):o,i++}}return n},__maskReverse(t){const e=this.computedMask,i=this.maskMarked.indexOf(p);let n=t.length-1,r="";for(let o=e.length-1;o>=0&&n>-1;o--){const a=e[o];let s=t[n];if("string"===typeof a)r=a+r,s===a&&n--;else{if(void 0===s||!a.regex.test(s))return r;do{r=(void 0!==a.transform?a.transform(s):s)+r,n--,s=t[n]}while(i===o&&void 0!==s&&a.regex.test(s))}}return r},__unmask(t){return"string"!==typeof t||void 0===this.computedUnmask?"number"===typeof t?this.computedUnmask(""+t):t:this.computedUnmask(t)},__fillWithMask(t){return this.maskReplaced.length-t.length<=0?t:!0===this.reverseFillMask&&t.length>0?this.maskReplaced.slice(0,-t.length)+t:t+this.maskReplaced.slice(t.length)}}},g=i("21e1"),m=i("87e8"),v=i("d882"),y=i("e704");e["a"]=n["a"].extend({name:"QInput",mixins:[r["a"],f,g["a"],o["a"],a["a"],m["a"]],props:{value:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},watch:{value(t){if(!0===this.hasMask){if(!0===this.stopValueWatcher&&(this.stopValueWatcher=!1,String(t)===this.emitCachedValue))return;this.__updateMaskValue(t)}else this.innerValue!==t&&(this.innerValue=t,"number"===this.type&&!0===this.hasOwnProperty("tempValue")&&(!0===this.typedNumber?this.typedNumber=!1:delete this.tempValue));!0===this.autogrow&&this.$nextTick(this.__adjustHeight)},type(){this.$refs.input&&(this.$refs.input.value=this.value)},autogrow(t){if(!0===t)this.$nextTick(this.__adjustHeight);else if(this.qAttrs.rows>0&&void 0!==this.$refs.input){const t=this.$refs.input;t.style.height="auto"}},dense(){!0===this.autogrow&&this.$nextTick(this.__adjustHeight)}},data(){return{innerValue:this.__getInitialMaskedValue()}},computed:{isTextarea(){return"textarea"===this.type||!0===this.autogrow},isTypeText(){return!0===this.isTextarea||["text","search","url","tel","password"].includes(this.type)},fieldClass(){return"q-"+(!0===this.isTextarea?"textarea":"input")+(!0===this.autogrow?" q-textarea--autogrow":"")},hasShadow(){return"file"!==this.type&&"string"===typeof this.shadowText&&this.shadowText.length>0},onEvents(){const t={...this.qListeners,input:this.__onInput,paste:this.__onPaste,change:this.__onChange,blur:this.__onFinishEditing,focus:v["k"]};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,!0===this.hasMask&&(t.keydown=this.__onMaskedKeydown),!0===this.autogrow&&(t.animationend=this.__adjustHeight),t},inputAttrs(){const t={tabindex:0,"data-autofocus":this.autofocus||void 0,rows:"textarea"===this.type?6:void 0,"aria-label":this.label,name:this.nameProp,...this.qAttrs,id:this.targetUid,type:this.type,maxlength:this.maxlength,disabled:!0===this.disable,readonly:!0===this.readonly};return!0===this.autogrow&&(t.rows=1),t}},methods:{focus(){Object(y["a"])((()=>{const t=document.activeElement;void 0===this.$refs.input||this.$refs.input===t||null!==t&&t.id===this.targetUid||this.$refs.input.focus({preventScroll:!0})}))},select(){void 0!==this.$refs.input&&this.$refs.input.select()},getNativeElement(){return this.$refs.input},__onPaste(t){if(!0===this.hasMask&&!0!==this.reverseFillMask){const e=t.target;this.__moveCursorForPaste(e,e.selectionStart,e.selectionEnd)}this.$emit("paste",t)},__onInput(t){if(!t||!t.target||!0===t.target.qComposing)return;if("file"===this.type)return void this.$emit("input",t.target.files);const e=t.target.value;if(!0===this.hasMask)this.__updateMaskValue(e,!1,t.inputType);else if(this.__emitValue(e),!0===this.isTypeText&&t.target===document.activeElement){const{selectionStart:i,selectionEnd:n}=t.target;void 0!==i&&void 0!==n&&this.$nextTick((()=>{t.target===document.activeElement&&0===e.indexOf(t.target.value)&&t.target.setSelectionRange(i,n)}))}!0===this.autogrow&&this.__adjustHeight()},__emitValue(t,e){this.emitValueFn=()=>{"number"!==this.type&&!0===this.hasOwnProperty("tempValue")&&delete this.tempValue,this.value!==t&&this.emitCachedValue!==t&&(this.emitCachedValue=t,!0===e&&(this.stopValueWatcher=!0),this.$emit("input",t),this.$nextTick((()=>{this.emitCachedValue===t&&(this.emitCachedValue=NaN)}))),this.emitValueFn=void 0},"number"===this.type&&(this.typedNumber=!0,this.tempValue=t),void 0!==this.debounce?(clearTimeout(this.emitTimer),this.tempValue=t,this.emitTimer=setTimeout(this.emitValueFn,this.debounce)):this.emitValueFn()},__adjustHeight(){const t=this.$refs.input;if(void 0!==t){const e=t.parentNode.style,{overflow:i}=t.style;e.marginBottom=t.scrollHeight-1+"px",t.style.height="1px",t.style.overflow="hidden",t.style.height=t.scrollHeight+"px",t.style.overflow=i,e.marginBottom=""}},__onChange(t){this.__onComposition(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.$emit("change",t)},__onFinishEditing(t){void 0!==t&&Object(v["k"])(t),clearTimeout(this.emitTimer),void 0!==this.emitValueFn&&this.emitValueFn(),this.typedNumber=!1,this.stopValueWatcher=!1,delete this.tempValue,"file"!==this.type&&setTimeout((()=>{void 0!==this.$refs.input&&(this.$refs.input.value=void 0!==this.innerValue?this.innerValue:"")}))},__getCurValue(){return!0===this.hasOwnProperty("tempValue")?this.tempValue:void 0!==this.innerValue?this.innerValue:""},__getShadowControl(t){return t("div",{staticClass:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(!0===this.isTextarea?"":" text-no-wrap")},[t("span",{staticClass:"invisible"},this.__getCurValue()),t("span",this.shadowText)])},__getControl(t){return t(!0===this.isTextarea?"textarea":"input",{ref:"input",staticClass:"q-field__native q-placeholder",style:this.inputStyle,class:this.inputClass,attrs:this.inputAttrs,on:this.onEvents,domProps:"file"!==this.type?{value:this.__getCurValue()}:this.formDomProps})}},created(){this.emitCachedValue=NaN},mounted(){!0===this.autogrow&&this.__adjustHeight()},beforeDestroy(){this.__onFinishEditing()}})},"2a19":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("cb32"),o=i("0016"),a=i("9c40"),s=i("0d59"),l=i("d882"),u=i("f303"),c=i("1c16"),h=i("5ff7"),d=i("0967");let p,f=0;const g={},m={},v={},y={},b=/^\s*$/,_=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],x=["top-left","top-right","bottom-left","bottom-right"],w={positive:{icon:t=>t.iconSet.type.positive,color:"positive"},negative:{icon:t=>t.iconSet.type.negative,color:"negative"},warning:{icon:t=>t.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:t=>t.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function S(t,e,i){if(!t)return M("parameter required");let n;const r={textColor:"white"};if(!0!==t.ignoreDefaults&&Object.assign(r,g),!1===Object(h["d"])(t)&&(r.type&&Object.assign(r,w[r.type]),t={message:t}),Object.assign(r,w[t.type||r.type],t),"function"===typeof r.icon&&(r.icon=r.icon(e.$q)),r.spinner?!0===r.spinner&&(r.spinner=s["a"]):r.spinner=!1,r.meta={hasMedia:Boolean(!1!==r.spinner||r.icon||r.avatar),hasText:k(r.message)||k(r.caption)},r.position){if(!1===_.includes(r.position))return M("wrong position",t)}else r.position="bottom";if(void 0===r.timeout)r.timeout=5e3;else{const e=parseInt(r.timeout,10);if(isNaN(e)||e<0)return M("wrong timeout",t);r.timeout=e}0===r.timeout?r.progress=!1:!0===r.progress&&(r.meta.progressClass="q-notification__progress"+(r.progressClass?` ${r.progressClass}`:""),r.meta.progressStyle={animationDuration:`${r.timeout+1e3}ms`});const o=(!0===Array.isArray(t.actions)?t.actions:[]).concat(!0!==t.ignoreDefaults&&!0===Array.isArray(g.actions)?g.actions:[]).concat(void 0!==w[t.type]&&!0===Array.isArray(w[t.type].actions)?w[t.type].actions:[]),{closeBtn:a}=r;if(a&&o.push({label:"string"===typeof a?a:e.$q.lang.label.close}),r.actions=o.map((({handler:t,noDismiss:e,style:i,class:n,attrs:r,...o})=>({staticClass:n,style:i,props:{flat:!0,...o},attrs:r,on:{click:"function"===typeof t?()=>{t(),!0!==e&&l()}:()=>{l()}}}))),void 0===r.multiLine&&(r.multiLine=r.actions.length>1),Object.assign(r.meta,{staticClass:"q-notification row items-stretch q-notification--"+(!0===r.multiLine?"multi-line":"standard")+(void 0!==r.color?` bg-${r.color}`:"")+(void 0!==r.textColor?` text-${r.textColor}`:"")+(void 0!==r.classes?` ${r.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(!0===r.multiLine?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(!0===r.multiLine?"":" col"),leftClass:!0===r.meta.hasText?"additional":"single",attrs:{role:"alert",...r.attrs}}),!1===r.group?(r.group=void 0,r.meta.group=void 0):(void 0!==r.group&&!0!==r.group||(r.group=[r.message,r.caption,r.multiline].concat(r.actions.map((({props:t})=>`${t.label}*${t.icon}`))).join("|")),r.meta.group=r.group+"|"+r.position),0===r.actions.length?r.actions=void 0:r.meta.actionsClass="q-notification__actions row items-center "+(!0===r.multiLine?"justify-end":"col-auto")+(!0===r.meta.hasMedia?" q-notification__actions--with-media":""),void 0!==i){clearTimeout(i.notif.meta.timer),r.meta.uid=i.notif.meta.uid;const t=v[r.position].indexOf(i.notif);v[r.position][t]=r}else{const e=m[r.meta.group];if(void 0===e){if(r.meta.uid=f++,r.meta.badge=1,-1!==["left","right","center"].indexOf(r.position))v[r.position].splice(Math.floor(v[r.position].length/2),0,r);else{const t=r.position.indexOf("top")>-1?"unshift":"push";v[r.position][t](r)}void 0!==r.group&&(m[r.meta.group]=r)}else{if(clearTimeout(e.meta.timer),void 0!==r.badgePosition){if(!1===x.includes(r.badgePosition))return M("wrong badgePosition",t)}else r.badgePosition="top-"+(r.position.indexOf("left")>-1?"right":"left");r.meta.uid=e.meta.uid,r.meta.badge=e.meta.badge+1,r.meta.badgeClass=`q-notification__badge q-notification__badge--${r.badgePosition}`+(void 0!==r.badgeColor?` bg-${r.badgeColor}`:"")+(void 0!==r.badgeTextColor?` text-${r.badgeTextColor}`:"")+(r.badgeClass?` ${r.badgeClass}`:"");const i=v[r.position].indexOf(e);v[r.position][i]=m[r.meta.group]=r}}const l=()=>{C(r,e),n=void 0};return e.$forceUpdate(),r.timeout>0&&(r.meta.timer=setTimeout((()=>{l()}),r.timeout+1e3)),void 0!==r.group?e=>{void 0!==e?M("trying to update a grouped one which is forbidden",t):l()}:(n={dismiss:l,config:t,notif:r},void 0===i?t=>{if(void 0!==n)if(void 0===t)n.dismiss();else{const i=Object.assign({},n.config,t,{group:!1,position:r.position});S(i,e,n)}}:void Object.assign(i,n))}function C(t,e){clearTimeout(t.meta.timer);const i=v[t.position].indexOf(t);if(-1!==i){void 0!==t.group&&delete m[t.meta.group];const n=e.$refs[""+t.meta.uid];if(n){const{width:t,height:e}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=t,n.style.height=e}v[t.position].splice(i,1),e.$forceUpdate(),"function"===typeof t.onDismiss&&t.onDismiss()}}function k(t){return void 0!==t&&null!==t&&!0!==b.test(t)}function M(t,e){return console.error(`Notify: ${t}`,e),!1}const O={name:"QNotifications",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},render(t){return t("div",{staticClass:"q-notifications"},_.map((e=>t("transition-group",{key:e,staticClass:y[e],tag:"div",props:{name:`q-notification--${e}`,mode:"out-in"}},v[e].map((e=>{const{meta:i}=e,n=[];if(!0===i.hasMedia&&(!1!==e.spinner?n.push(t(e.spinner,{staticClass:"q-notification__spinner q-notification__spinner--"+i.leftClass,props:{color:e.spinnerColor,size:e.spinnerSize}})):e.icon?n.push(t(o["a"],{staticClass:"q-notification__icon q-notification__icon--"+i.leftClass,attrs:{role:"img"},props:{name:e.icon,color:e.iconColor,size:e.iconSize}})):e.avatar&&n.push(t(r["a"],{staticClass:"q-notification__avatar q-notification__avatar--"+i.leftClass},[t("img",{attrs:{src:e.avatar,"aria-hidden":"true"}})]))),!0===i.hasText){let i;const r={staticClass:"q-notification__message col"};if(!0===e.html)r.domProps={innerHTML:e.caption?`<div>${e.message}</div><div class="q-notification__caption">${e.caption}</div>`:e.message};else{const n=[e.message];i=e.caption?[t("div",n),t("div",{staticClass:"q-notification__caption"},[e.caption])]:n}n.push(t("div",r,i))}const s=[t("div",{staticClass:i.contentClass},n)];return!0===e.progress&&s.push(t("div",{key:`${i.uid}|p|${i.badge}`,staticClass:i.progressClass,style:i.progressStyle})),void 0!==e.actions&&s.push(t("div",{staticClass:i.actionsClass},e.actions.map((e=>t(a["a"],{...e}))))),i.badge>1&&s.push(t("div",{key:`${i.uid}|${i.badge}`,staticClass:i.badgeClass,style:e.badgeStyle},[i.badge])),t("div",{ref:""+i.uid,key:i.uid,staticClass:i.staticClass,attrs:i.attrs},[t("div",{staticClass:i.wrapperClass},s)])}))))))},mounted(){if(void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{const t=Object(u["c"])(this.$q.fullscreen.activeEl);this.$el.parentElement!==t&&t.appendChild(this.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(c["a"])(t,50)),!0===this.$q.fullscreen.isActive&&t()}},beforeDestroy(){void 0!==this.unwatchFullscreen&&this.unwatchFullscreen()}};e["a"]={setDefaults(t){!0!==d["e"]&&!0===Object(h["d"])(t)&&Object.assign(g,t)},registerType(t,e){!0!==d["e"]&&!0===Object(h["d"])(e)&&(w[t]=e)},install({$q:t}){if(t.notify=this.create=!0===d["e"]?l["g"]:t=>S(t,p),t.notify.setDefaults=this.setDefaults,t.notify.registerType=this.registerType,void 0!==t.config.notify&&this.setDefaults(t.config.notify),!0!==d["e"]){_.forEach((t=>{v[t]=[];const e=!0===["left","center","right"].includes(t)?"center":t.indexOf("top")>-1?"top":"bottom",i=t.indexOf("left")>-1?"start":t.indexOf("right")>-1?"end":"center",n=["left","right"].includes(t)?`items-${"left"===t?"start":"end"} justify-center`:"center"===t?"flex-center":`items-${i}`;y[t]=`q-notifications__list q-notifications__list--${e} fixed column no-wrap ${n}`}));const t=document.createElement("div");document.body.appendChild(t),p=new n["a"](O),p.$mount(t)}}}},"2a62":function(t,e,i){var n=i("c65b"),r=i("825a"),o=i("dc4a");t.exports=function(t,e,i){var a,s;r(t);try{if(a=o(t,"return"),!a){if("throw"===e)throw i;return i}a=n(a,t)}catch(l){s=!0,a=l}if("throw"===e)throw i;if(s)throw a;return r(a),i}},"2b0e":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return Zn})),i.d(e,"b",(function(){return Gt}));
  9. /*!
  10. * Vue.js v2.7.8
  11. * (c) 2014-2022 Evan You
  12. * Released under the MIT License.
  13. */
  14. var n=Object.freeze({}),r=Array.isArray;function o(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function l(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function p(t){return"[object Object]"===d.call(t)}function f(t){return"[object RegExp]"===d.call(t)}function g(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===d?JSON.stringify(t,null,2):String(t)}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var i=Object.create(null),n=t.split(","),r=0;r<n.length;r++)i[n[r]]=!0;return e?function(t){return i[t.toLowerCase()]}:function(t){return i[t]}}b("slot,component",!0);var _=b("key,ref,slot,slot-scope,is");function x(t,e){if(t.length){var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var w=Object.prototype.hasOwnProperty;function S(t,e){return w.call(t,e)}function C(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}var k=/-(\w)/g,M=C((function(t){return t.replace(k,(function(t,e){return e?e.toUpperCase():""}))})),O=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=C((function(t){return t.replace(T,"-$1").toLowerCase()}));function I(t,e){function i(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}return i._length=t.length,i}function P(t,e){return t.bind(e)}var E=Function.prototype.bind?P:I;function D(t,e){e=e||0;var i=t.length-e,n=new Array(i);while(i--)n[i]=t[i+e];return n}function L(t,e){for(var i in e)t[i]=e[i];return t}function j(t){for(var e={},i=0;i<t.length;i++)t[i]&&L(e,t[i]);return e}function R(t,e,i){}var B=function(t,e,i){return!1},F=function(t){return t};function N(t,e){if(t===e)return!0;var i=h(t),n=h(e);if(!i||!n)return!i&&!n&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,i){return N(t,e[i])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(i){return N(t[i],e[i])}))}catch(l){return!1}}function z(t,e){for(var i=0;i<t.length;i++)if(N(t[i],e))return i;return-1}function V(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function q(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var $="data-server-rendered",H=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:B,isReservedAttr:B,isUnknownElement:B,getTagNamespace:R,parsePlatformTagName:F,mustUseProp:B,async:!0,_lifecycleHooks:G},U=/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/;function Y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function X(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}var K=new RegExp("[^".concat(U.source,".$_\\d]"));function Z(t){if(!K.test(t)){var e=t.split(".");return function(t){for(var i=0;i<e.length;i++){if(!t)return;t=t[e[i]]}return t}}}var Q="__proto__"in{},J="undefined"!==typeof window,tt=J&&window.navigator.userAgent.toLowerCase(),et=tt&&/msie|trident/.test(tt),it=tt&&tt.indexOf("msie 9.0")>0,nt=tt&&tt.indexOf("edge/")>0;tt&&tt.indexOf("android");var rt=tt&&/iphone|ipad|ipod|ios/.test(tt);tt&&/chrome\/\d+/.test(tt),tt&&/phantomjs/.test(tt);var ot,at=tt&&tt.match(/firefox\/(\d+)/),st={}.watch,lt=!1;if(J)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){lt=!0}}),window.addEventListener("test-passive",null,ut)}catch(Qa){}var ct=function(){return void 0===ot&&(ot=!J&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),ot},ht=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,ft="undefined"!==typeof Symbol&&dt(Symbol)&&"undefined"!==typeof Reflect&&dt(Reflect.ownKeys);pt="undefined"!==typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gt=null;function mt(t){void 0===t&&(t=null),t||gt&&gt._scope.off(),gt=t,t&&t._scope.on()}var vt=function(){function t(t,e,i,n,r,o,a,s){this.tag=t,this.data=e,this.children=i,this.text=n,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.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}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),yt=function(t){void 0===t&&(t="");var e=new vt;return e.text=t,e.isComment=!0,e};function bt(t){return new vt(void 0,void 0,void 0,String(t))}function _t(t){var e=new vt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var xt=0,wt=function(){function t(){this.id=xt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){x(this.subs,t)},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.slice();for(var i=0,n=e.length;i<n;i++){e[i].update()}},t}();wt.target=null;var St=[];function Ct(t){St.push(t),wt.target=t}function kt(){St.pop(),wt.target=St[St.length-1]}var Mt=Array.prototype,Ot=Object.create(Mt),Tt=["push","pop","shift","unshift","splice","sort","reverse"];Tt.forEach((function(t){var e=Mt[t];X(Ot,t,(function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var r,o=e.apply(this,i),a=this.__ob__;switch(t){case"push":case"unshift":r=i;break;case"splice":r=i.slice(2);break}return r&&a.observeArray(r),a.dep.notify(),o}))}));var At=Object.getOwnPropertyNames(Ot),It={},Pt=!0;function Et(t){Pt=t}var Dt={notify:R,depend:R,addSub:R,removeSub:R},Lt=function(){function t(t,e,i){if(void 0===e&&(e=!1),void 0===i&&(i=!1),this.value=t,this.shallow=e,this.mock=i,this.dep=i?Dt:new wt,this.vmCount=0,X(t,"__ob__",this),r(t)){if(!i)if(Q)t.__proto__=Ot;else for(var n=0,o=At.length;n<o;n++){var a=At[n];X(t,a,Ot[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(n=0;n<s.length;n++){a=s[n];Rt(t,a,It,void 0,e,i)}}}return t.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)jt(t[e],!1,this.mock)},t}();function jt(t,e,i){var n;if(!(!h(t)||Ht(t)||t instanceof vt))return S(t,"__ob__")&&t.__ob__ instanceof Lt?n=t.__ob__:!Pt||!i&&ct()||!r(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||(n=new Lt(t,e,i)),n}function Rt(t,e,i,n,o,a){var s=new wt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,c=l&&l.set;u&&!c||i!==It&&2!==arguments.length||(i=t[e]);var h=!o&&jt(i,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):i;return wt.target&&(s.depend(),h&&(h.dep.depend(),r(e)&&Nt(e))),Ht(e)&&!o?e.value:e},set:function(e){var n=u?u.call(t):i;if(q(n,e)){if(c)c.call(t,e);else{if(u)return;if(!o&&Ht(n)&&!Ht(e))return void(n.value=e);i=e}h=!o&&jt(e,!1,a),s.notify()}}}),s}}function Bt(t,e,i){if(!qt(t)){var n=t.__ob__;return r(t)&&g(e)?(t.length=Math.max(t.length,e),t.splice(e,1,i),n&&!n.shallow&&n.mock&&jt(i,!1,!0),i):e in t&&!(e in Object.prototype)?(t[e]=i,i):t._isVue||n&&n.vmCount?i:n?(Rt(n.value,e,i,void 0,n.shallow,n.mock),n.dep.notify(),i):(t[e]=i,i)}}function Ft(t,e){if(r(t)&&g(e))t.splice(e,1);else{var i=t.__ob__;t._isVue||i&&i.vmCount||qt(t)||S(t,e)&&(delete t[e],i&&i.dep.notify())}}function Nt(t){for(var e=void 0,i=0,n=t.length;i<n;i++)e=t[i],e&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Nt(e)}function zt(t){return Vt(t,!0),X(t,"__v_isShallow",!0),t}function Vt(t,e){if(!qt(t)){jt(t,e,ct());0}}function qt(t){return!(!t||!t.__v_isReadonly)}var $t="__v_isRef";function Ht(t){return!(!t||!0!==t.__v_isRef)}function Gt(t){return Wt(t,!1)}function Wt(t,e){if(Ht(t))return t;var i={};return X(i,$t,!0),X(i,"__v_isShallow",e),X(i,"dep",Rt(i,"value",t,null,e,ct())),i}function Ut(t,e,i){Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:function(){var t=e[i];if(Ht(t))return t.value;var n=t&&t.__ob__;return n&&n.dep.depend(),t},set:function(t){var n=e[i];Ht(n)&&!Ht(t)?n.value=t:e[i]=t}})}var Yt="watcher";"".concat(Yt," callback"),"".concat(Yt," getter"),"".concat(Yt," cleanup");var Xt;var Kt=function(){function t(t){void 0===t&&(t=!1),this.active=!0,this.effects=[],this.cleanups=[],!t&&Xt&&(this.parent=Xt,this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Xt;try{return Xt=this,t()}finally{Xt=e}}else 0},t.prototype.on=function(){Xt=this},t.prototype.off=function(){Xt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,i=void 0;for(e=0,i=this.effects.length;e<i;e++)this.effects[e].teardown();for(e=0,i=this.cleanups.length;e<i;e++)this.cleanups[e]();if(this.scopes)for(e=0,i=this.scopes.length;e<i;e++)this.scopes[e].stop(!0);if(this.parent&&!t){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.active=!1}},t}();function Zt(t,e){void 0===e&&(e=Xt),e&&e.active&&e.effects.push(t)}function Qt(t){var e=t._provided,i=t.$parent&&t.$parent._provided;return i===e?t._provided=Object.create(i):e}var Jt=C((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var i="~"===t.charAt(0);t=i?t.slice(1):t;var n="!"===t.charAt(0);return t=n?t.slice(1):t,{name:t,once:i,capture:n,passive:e}}));function te(t,e){function i(){var t=i.fns;if(!r(t))return Ke(t,null,arguments,e,"v-on handler");for(var n=t.slice(),o=0;o<n.length;o++)Ke(n[o],null,arguments,e,"v-on handler")}return i.fns=t,i}function ee(t,e,i,n,r,a){var l,u,c,h;for(l in t)u=t[l],c=e[l],h=Jt(l),o(u)||(o(c)?(o(u.fns)&&(u=t[l]=te(u,a)),s(h.once)&&(u=t[l]=r(h.name,u,h.capture)),i(h.name,u,h.capture,h.passive,h.params)):u!==c&&(c.fns=u,t[l]=c));for(l in e)o(t[l])&&(h=Jt(l),n(h.name,e[l],h.capture))}function ie(t,e,i){var n;t instanceof vt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function l(){i.apply(this,arguments),x(n.fns,l)}o(r)?n=te([l]):a(r.fns)&&s(r.merged)?(n=r,n.fns.push(l)):n=te([r,l]),n.merged=!0,t[e]=n}function ne(t,e,i){var n=e.options.props;if(!o(n)){var r={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var u in n){var c=A(u);re(r,l,u,c,!0)||re(r,s,u,c,!1)}return r}}function re(t,e,i,n,r){if(a(e)){if(S(e,i))return t[i]=e[i],r||delete e[i],!0;if(S(e,n))return t[i]=e[n],r||delete e[n],!0}return!1}function oe(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}function ae(t){return u(t)?[bt(t)]:r(t)?le(t):void 0}function se(t){return a(t)&&a(t.text)&&l(t.isComment)}function le(t,e){var i,n,l,c,h=[];for(i=0;i<t.length;i++)n=t[i],o(n)||"boolean"===typeof n||(l=h.length-1,c=h[l],r(n)?n.length>0&&(n=le(n,"".concat(e||"","_").concat(i)),se(n[0])&&se(c)&&(h[l]=bt(c.text+n[0].text),n.shift()),h.push.apply(h,n)):u(n)?se(c)?h[l]=bt(c.text+n):""!==n&&h.push(bt(n)):se(n)&&se(c)?h[l]=bt(c.text+n.text):(s(t._isVList)&&a(n.tag)&&o(n.key)&&a(e)&&(n.key="__vlist".concat(e,"_").concat(i,"__")),h.push(n)));return h}function ue(t,e){var i,n,o,s,l=null;if(r(t)||"string"===typeof t)for(l=new Array(t.length),i=0,n=t.length;i<n;i++)l[i]=e(t[i],i);else if("number"===typeof t)for(l=new Array(t),i=0;i<t;i++)l[i]=e(i+1,i);else if(h(t))if(ft&&t[Symbol.iterator]){l=[];var u=t[Symbol.iterator](),c=u.next();while(!c.done)l.push(e(c.value,l.length)),c=u.next()}else for(o=Object.keys(t),l=new Array(o.length),i=0,n=o.length;i<n;i++)s=o[i],l[i]=e(t[s],s,i);return a(l)||(l=[]),l._isVList=!0,l}function ce(t,e,i,n){var r,o=this.$scopedSlots[t];o?(i=i||{},n&&(i=L(L({},n),i)),r=o(i)||(c(e)?e():e)):r=this.$slots[t]||(c(e)?e():e);var a=i&&i.slot;return a?this.$createElement("template",{slot:a},r):r}function he(t){return Cn(this.$options,"filters",t,!0)||F}function de(t,e){return r(t)?-1===t.indexOf(e):t!==e}function pe(t,e,i,n,r){var o=W.keyCodes[e]||i;return r&&n&&!W.keyCodes[e]?de(r,n):o?de(o,t):n?A(n)!==e:void 0===t}function fe(t,e,i,n,o){if(i)if(h(i)){r(i)&&(i=j(i));var a=void 0,s=function(r){if("class"===r||"style"===r||_(r))a=t;else{var s=t.attrs&&t.attrs.type;a=n||W.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=M(r),u=A(r);if(!(l in a)&&!(u in a)&&(a[r]=i[r],o)){var c=t.on||(t.on={});c["update:".concat(r)]=function(t){i[r]=t}}};for(var l in i)s(l)}else;return t}function ge(t,e){var i=this._staticTrees||(this._staticTrees=[]),n=i[t];return n&&!e||(n=i[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),ve(n,"__static__".concat(t),!1)),n}function me(t,e,i){return ve(t,"__once__".concat(e).concat(i?"_".concat(i):""),!0),t}function ve(t,e,i){if(r(t))for(var n=0;n<t.length;n++)t[n]&&"string"!==typeof t[n]&&ye(t[n],"".concat(e,"_").concat(n),i);else ye(t,e,i)}function ye(t,e,i){t.isStatic=!0,t.key=e,t.isOnce=i}function be(t,e){if(e)if(p(e)){var i=t.on=t.on?L({},t.on):{};for(var n in e){var r=i[n],o=e[n];i[n]=r?[].concat(r,o):o}}else;return t}function _e(t,e,i,n){e=e||{$stable:!i};for(var o=0;o<t.length;o++){var a=t[o];r(a)?_e(a,e,i):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function xe(t,e){for(var i=0;i<e.length;i+=2){var n=e[i];"string"===typeof n&&n&&(t[e[i]]=e[i+1])}return t}function we(t,e){return"string"===typeof t?e+t:t}function Se(t){t._o=me,t._n=y,t._s=v,t._l=ue,t._t=ce,t._q=N,t._i=z,t._m=ge,t._f=he,t._k=pe,t._b=fe,t._v=bt,t._e=yt,t._u=_e,t._g=be,t._d=xe,t._p=we}function Ce(t,e){if(!t||!t.length)return{};for(var i={},n=0,r=t.length;n<r;n++){var o=t[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(i.default||(i.default=[])).push(o);else{var s=a.slot,l=i[s]||(i[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in i)i[u].every(ke)&&delete i[u];return i}function ke(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Me(t){return t.isComment&&t.asyncFactory}function Oe(t,e,i,r){var o,a=Object.keys(i).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==n&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=Te(t,i,u,e[u]))}else o={};for(var c in i)c in o||(o[c]=Ae(i,c));return e&&Object.isExtensible(e)&&(e._normalized=o),X(o,"$stable",s),X(o,"$key",l),X(o,"$hasNormal",a),o}function Te(t,e,i,n){var o=function(){var e=gt;mt(t);var i=arguments.length?n.apply(null,arguments):n({});i=i&&"object"===typeof i&&!r(i)?[i]:ae(i);var o=i&&i[0];return mt(e),i&&(!o||1===i.length&&o.isComment&&!Me(o))?void 0:i};return n.proxy&&Object.defineProperty(e,i,{get:o,enumerable:!0,configurable:!0}),o}function Ae(t,e){return function(){return t[e]}}function Ie(t){var e=t.$options,i=e.setup;if(i){var n=t._setupContext=Pe(t);mt(t),Ct();var r=Ke(i,null,[t._props||zt({}),n],t,"setup");if(kt(),mt(),c(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var a in r)"__sfc"!==a&&Ut(o,r,a)}else for(var a in r)Y(a)||Ut(t,r,a);else 0}}function Pe(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};X(e,"_v_attr_proxy",!0),Ee(e,t.$attrs,n,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Ee(e,t.$listeners,n,t,"$listeners")}return t._listenersProxy},get slots(){return Le(t)},emit:E(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(i){return Ut(t,e,i)}))}}}function Ee(t,e,i,n,r){var o=!1;for(var a in e)a in t?e[a]!==i[a]&&(o=!0):(o=!0,De(t,a,n,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function De(t,e,i,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return i[n][e]}})}function Le(t){return t._slotsProxy||je(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function je(t,e){for(var i in e)t[i]=e[i];for(var i in t)i in e||delete t[i]}function Re(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=Ce(e._renderChildren,r),t.$scopedSlots=i?Oe(t.$parent,i.data.scopedSlots,t.$slots):n,t._c=function(e,i,n,r){return Ge(t,e,i,n,r,!1)},t.$createElement=function(e,i,n,r){return Ge(t,e,i,n,r,!0)};var o=i&&i.data;Rt(t,"$attrs",o&&o.attrs||n,null,!0),Rt(t,"$listeners",e._parentListeners||n,null,!0)}var Be=null;function Fe(t){Se(t.prototype),t.prototype.$nextTick=function(t){return li(t,this)},t.prototype._render=function(){var t,e=this,i=e.$options,n=i.render,o=i._parentVnode;o&&e._isMounted&&(e.$scopedSlots=Oe(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&je(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{mt(e),Be=e,t=n.call(e._renderProxy,e.$createElement)}catch(Qa){Xe(Qa,e,"render"),t=e._vnode}finally{Be=null,mt()}return r(t)&&1===t.length&&(t=t[0]),t instanceof vt||(t=yt()),t.parent=o,t}}function Ne(t,e){return(t.__esModule||ft&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function ze(t,e,i,n,r){var o=yt();return o.asyncFactory=t,o.asyncMeta={data:e,context:i,children:n,tag:r},o}function Ve(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var i=Be;if(i&&a(t.owners)&&-1===t.owners.indexOf(i)&&t.owners.push(i),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(i&&!a(t.owners)){var n=t.owners=[i],r=!0,l=null,u=null;i.$on("hook:destroyed",(function(){return x(n,i)}));var c=function(t){for(var e=0,i=n.length;e<i;e++)n[e].$forceUpdate();t&&(n.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},d=V((function(i){t.resolved=Ne(i,e),r?n.length=0:c(!0)})),p=V((function(e){a(t.errorComp)&&(t.error=!0,c(!0))})),f=t(d,p);return h(f)&&(m(f)?o(t.resolved)&&f.then(d,p):m(f.component)&&(f.component.then(d,p),a(f.error)&&(t.errorComp=Ne(f.error,e)),a(f.loading)&&(t.loadingComp=Ne(f.loading,e),0===f.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,c(!1))}),f.delay||200)),a(f.timeout)&&(u=setTimeout((function(){u=null,o(t.resolved)&&p(null)}),f.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}function qe(t){if(r(t))for(var e=0;e<t.length;e++){var i=t[e];if(a(i)&&(a(i.componentOptions)||Me(i)))return i}}var $e=1,He=2;function Ge(t,e,i,n,o,a){return(r(i)||u(i))&&(o=n,n=i,i=void 0),s(a)&&(o=He),We(t,e,i,n,o)}function We(t,e,i,n,o){if(a(i)&&a(i.__ob__))return yt();if(a(i)&&a(i.is)&&(e=i.is),!e)return yt();var s,l;if(r(n)&&c(n[0])&&(i=i||{},i.scopedSlots={default:n[0]},n.length=0),o===He?n=ae(n):o===$e&&(n=oe(n)),"string"===typeof e){var u=void 0;l=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),s=W.isReservedTag(e)?new vt(W.parsePlatformTagName(e),i,n,void 0,void 0,t):i&&i.pre||!a(u=Cn(t.$options,"components",e))?new vt(e,i,n,void 0,void 0,t):sn(u,i,t,n,e)}else s=sn(e,i,t,n);return r(s)?s:a(s)?(a(l)&&Ue(s,l),a(i)&&Ye(i),s):yt()}function Ue(t,e,i){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,i=!0),a(t.children))for(var n=0,r=t.children.length;n<r;n++){var l=t.children[n];a(l.tag)&&(o(l.ns)||s(i)&&"svg"!==l.tag)&&Ue(l,e,i)}}function Ye(t){h(t.style)&&pi(t.style),h(t.class)&&pi(t.class)}function Xe(t,e,i){Ct();try{if(e){var n=e;while(n=n.$parent){var r=n.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{var a=!1===r[o].call(n,t,e,i);if(a)return}catch(Qa){Ze(Qa,n,"errorCaptured hook")}}}Ze(t,e,i)}finally{kt()}}function Ke(t,e,i,n,r){var o;try{o=i?t.apply(e,i):t.call(e),o&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return Xe(t,n,r+" (Promise/async)")})),o._handled=!0)}catch(Qa){Xe(Qa,n,r)}return o}function Ze(t,e,i){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,i)}catch(Qa){Qa!==t&&Qe(Qa,null,"config.errorHandler")}Qe(t,e,i)}function Qe(t,e,i){if(!J||"undefined"===typeof console)throw t;console.error(t)}var Je,ti=!1,ei=[],ii=!1;function ni(){ii=!1;var t=ei.slice(0);ei.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&dt(Promise)){var ri=Promise.resolve();Je=function(){ri.then(ni),rt&&setTimeout(R)},ti=!0}else if(et||"undefined"===typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Je="undefined"!==typeof setImmediate&&dt(setImmediate)?function(){setImmediate(ni)}:function(){setTimeout(ni,0)};else{var oi=1,ai=new MutationObserver(ni),si=document.createTextNode(String(oi));ai.observe(si,{characterData:!0}),Je=function(){oi=(oi+1)%2,si.data=String(oi)},ti=!0}function li(t,e){var i;if(ei.push((function(){if(t)try{t.call(e)}catch(Qa){Xe(Qa,e,"nextTick")}else i&&i(e)})),ii||(ii=!0,Je()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){i=t}))}function ui(t){return function(e,i){if(void 0===i&&(i=gt),i)return ci(i,t,e)}}function ci(t,e,i){var n=t.$options;n[e]=mn(n[e],i)}ui("beforeMount"),ui("mounted"),ui("beforeUpdate"),ui("updated"),ui("beforeDestroy"),ui("destroyed"),ui("errorCaptured"),ui("activated"),ui("deactivated"),ui("serverPrefetch"),ui("renderTracked"),ui("renderTriggered");var hi="2.7.8";var di=new pt;function pi(t){return fi(t,di),di.clear(),t}function fi(t,e){var i,n,o=r(t);if(!(!o&&!h(t)||Object.isFrozen(t)||t instanceof vt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o){i=t.length;while(i--)fi(t[i],e)}else if(Ht(t))fi(t.value,e);else{n=Object.keys(t),i=n.length;while(i--)fi(t[n[i]],e)}}}var gi,mi=0,vi=function(){function t(t,e,i,n,r){Zt(this,Xt||(t?t._scope:void 0)),(this.vm=t)&&r&&(t._watcher=this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=i,this.id=++mi,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pt,this.newDepIds=new pt,this.expression="",c(e)?this.getter=e:(this.getter=Z(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ct(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Qa){if(!this.user)throw Qa;Xe(Qa,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&pi(t),kt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Xi(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var i='callback for watcher "'.concat(this.expression,'"');Ke(this.cb,this.vm,[t,e],this.vm,i)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function yi(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&wi(t,e)}function bi(t,e){gi.$on(t,e)}function _i(t,e){gi.$off(t,e)}function xi(t,e){var i=gi;return function n(){var r=e.apply(null,arguments);null!==r&&i.$off(t,n)}}function wi(t,e,i){gi=t,ee(e,i||{},bi,_i,xi,t),gi=void 0}function Si(t){var e=/^hook:/;t.prototype.$on=function(t,i){var n=this;if(r(t))for(var o=0,a=t.length;o<a;o++)n.$on(t[o],i);else(n._events[t]||(n._events[t]=[])).push(i),e.test(t)&&(n._hasHookEvent=!0);return n},t.prototype.$once=function(t,e){var i=this;function n(){i.$off(t,n),e.apply(i,arguments)}return n.fn=e,i.$on(t,n),i},t.prototype.$off=function(t,e){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(r(t)){for(var n=0,o=t.length;n<o;n++)i.$off(t[n],e);return i}var a,s=i._events[t];if(!s)return i;if(!e)return i._events[t]=null,i;var l=s.length;while(l--)if(a=s[l],a===e||a.fn===e){s.splice(l,1);break}return i},t.prototype.$emit=function(t){var e=this,i=e._events[t];if(i){i=i.length>1?D(i):i;for(var n=D(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=i.length;o<a;o++)Ke(i[o],e,n,e,r)}return e}}var Ci=null;function ki(t){var e=Ci;return Ci=t,function(){Ci=e}}function Mi(t){var e=t.$options,i=e.parent;if(i&&!e.abstract){while(i.$options.abstract&&i.$parent)i=i.$parent;i.$children.push(t)}t.$parent=i,t.$root=i?i.$root:t,t.$children=[],t.$refs={},t._provided=i?i._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Oi(t){t.prototype._update=function(t,e){var i=this,n=i.$el,r=i._vnode,o=ki(i);i._vnode=t,i.$el=r?i.__patch__(r,t):i.__patch__(i.$el,t,e,!1),o(),n&&(n.__vue__=null),i.$el&&(i.$el.__vue__=i),i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Di(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Di(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Ti(t,e,i){var n;t.$el=e,t.$options.render||(t.$options.render=yt),Di(t,"beforeMount"),n=function(){t._update(t._render(),i)};var r={before:function(){t._isMounted&&!t._isDestroyed&&Di(t,"beforeUpdate")}};new vi(t,n,R,r,!0),i=!1;var o=t._preWatchers;if(o)for(var a=0;a<o.length;a++)o[a].run();return null==t.$vnode&&(t._isMounted=!0,Di(t,"mounted")),t}function Ai(t,e,i,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||l),c=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var h=r.data.attrs||n;t._attrsProxy&&Ee(t._attrsProxy,h,c.data&&c.data.attrs||n,t,"$attrs")&&(u=!0),t.$attrs=h,i=i||n;var d=t.$options._parentListeners;if(t._listenersProxy&&Ee(t._listenersProxy,i,d||n,t,"$listeners"),t.$listeners=t.$options._parentListeners=i,wi(t,i,d),e&&t.$options.props){Et(!1);for(var p=t._props,f=t.$options._propKeys||[],g=0;g<f.length;g++){var m=f[g],v=t.$options.props;p[m]=kn(m,v,e,t)}Et(!0),t.$options.propsData=e}u&&(t.$slots=Ce(o,r.context),t.$forceUpdate())}function Ii(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Pi(t,e){if(e){if(t._directInactive=!1,Ii(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var i=0;i<t.$children.length;i++)Pi(t.$children[i]);Di(t,"activated")}}function Ei(t,e){if((!e||(t._directInactive=!0,!Ii(t)))&&!t._inactive){t._inactive=!0;for(var i=0;i<t.$children.length;i++)Ei(t.$children[i]);Di(t,"deactivated")}}function Di(t,e,i,n){void 0===n&&(n=!0),Ct();var r=gt;n&&mt(t);var o=t.$options[e],a="".concat(e," hook");if(o)for(var s=0,l=o.length;s<l;s++)Ke(o[s],t,i||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),n&&mt(r),kt()}var Li=[],ji=[],Ri={},Bi=!1,Fi=!1,Ni=0;function zi(){Ni=Li.length=ji.length=0,Ri={},Bi=Fi=!1}var Vi=0,qi=Date.now;if(J&&!et){var $i=window.performance;$i&&"function"===typeof $i.now&&qi()>document.createEvent("Event").timeStamp&&(qi=function(){return $i.now()})}var Hi=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Gi(){var t,e;for(Vi=qi(),Fi=!0,Li.sort(Hi),Ni=0;Ni<Li.length;Ni++)t=Li[Ni],t.before&&t.before(),e=t.id,Ri[e]=null,t.run();var i=ji.slice(),n=Li.slice();zi(),Yi(i),Wi(n),ht&&W.devtools&&ht.emit("flush")}function Wi(t){var e=t.length;while(e--){var i=t[e],n=i.vm;n&&n._watcher===i&&n._isMounted&&!n._isDestroyed&&Di(n,"updated")}}function Ui(t){t._inactive=!1,ji.push(t)}function Yi(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Pi(t[e],!0)}function Xi(t){var e=t.id;if(null==Ri[e]&&(t!==wt.target||!t.noRecurse)){if(Ri[e]=!0,Fi){var i=Li.length-1;while(i>Ni&&Li[i].id>t.id)i--;Li.splice(i+1,0,t)}else Li.push(t);Bi||(Bi=!0,li(Gi))}}function Ki(t){var e=t.$options.provide;if(e){var i=c(e)?e.call(t):e;if(!h(i))return;for(var n=Qt(t),r=ft?Reflect.ownKeys(i):Object.keys(i),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(i,a))}}}function Zi(t){var e=Qi(t.$options.inject,t);e&&(Et(!1),Object.keys(e).forEach((function(i){Rt(t,i,e[i])})),Et(!0))}function Qi(t,e){if(t){for(var i=Object.create(null),n=ft?Reflect.ownKeys(t):Object.keys(t),r=0;r<n.length;r++){var o=n[r];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)i[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;i[o]=c(s)?s.call(e):s}else 0}}return i}}function Ji(t,e,i,o,a){var l,u=this,c=a.options;S(o,"_uid")?(l=Object.create(o),l._original=o):(l=o,o=o._original);var h=s(c._compiled),d=!h;this.data=t,this.props=e,this.children=i,this.parent=o,this.listeners=t.on||n,this.injections=Qi(c.inject,o),this.slots=function(){return u.$slots||Oe(o,t.scopedSlots,u.$slots=Ce(i,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Oe(o,t.scopedSlots,this.slots())}}),h&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Oe(o,t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,i,n){var a=Ge(l,t,e,i,n,d);return a&&!r(a)&&(a.fnScopeId=c._scopeId,a.fnContext=o),a}:this._c=function(t,e,i,n){return Ge(l,t,e,i,n,d)}}function tn(t,e,i,o,s){var l=t.options,u={},c=l.props;if(a(c))for(var h in c)u[h]=kn(h,c,e||n);else a(i.attrs)&&nn(u,i.attrs),a(i.props)&&nn(u,i.props);var d=new Ji(i,u,s,o,t),p=l.render.call(null,d._c,d);if(p instanceof vt)return en(p,i,d.parent,l,d);if(r(p)){for(var f=ae(p)||[],g=new Array(f.length),m=0;m<f.length;m++)g[m]=en(f[m],i,d.parent,l,d);return g}}function en(t,e,i,n,r){var o=_t(t);return o.fnContext=i,o.fnOptions=n,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function nn(t,e){for(var i in e)t[M(i)]=e[i]}function rn(t){return t.name||t.__name||t._componentTag}Se(Ji.prototype);var on={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var i=t;on.prepatch(i,i)}else{var n=t.componentInstance=ln(t,Ci);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var i=e.componentOptions,n=e.componentInstance=t.componentInstance;Ai(n,i.propsData,i.listeners,e,i.children)},insert:function(t){var e=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,Di(i,"mounted")),t.data.keepAlive&&(e._isMounted?Ui(i):Pi(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Ei(e,!0):e.$destroy())}},an=Object.keys(on);function sn(t,e,i,n,r){if(!o(t)){var l=i.$options._base;if(h(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(o(t.cid)&&(u=t,t=Ve(u,l),void 0===t))return ze(u,e,i,n,r);e=e||{},Xn(t),a(e.model)&&hn(t.options,e);var c=ne(e,t,r);if(s(t.options.functional))return tn(t,c,e,i,n);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}un(e);var f=rn(t.options)||r,g=new vt("vue-component-".concat(t.cid).concat(f?"-".concat(f):""),e,void 0,void 0,void 0,i,{Ctor:t,propsData:c,listeners:d,tag:r,children:n},u);return g}}}function ln(t,e){var i={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return a(n)&&(i.render=n.render,i.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(i)}function un(t){for(var e=t.hook||(t.hook={}),i=0;i<an.length;i++){var n=an[i],r=e[n],o=on[n];r===o||r&&r._merged||(e[n]=r?cn(o,r):o)}}function cn(t,e){var i=function(i,n){t(i,n),e(i,n)};return i._merged=!0,i}function hn(t,e){var i=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[i]=e.model.value;var o=e.on||(e.on={}),s=o[n],l=e.model.callback;a(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(o[n]=[l].concat(s)):o[n]=l}var dn=R,pn=W.optionMergeStrategies;function fn(t,e){if(!e)return t;for(var i,n,r,o=ft?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)i=o[a],"__ob__"!==i&&(n=t[i],r=e[i],S(t,i)?n!==r&&p(n)&&p(r)&&fn(n,r):Bt(t,i,r));return t}function gn(t,e,i){return i?function(){var n=c(e)?e.call(i,i):e,r=c(t)?t.call(i,i):t;return n?fn(n,r):r}:e?t?function(){return fn(c(e)?e.call(this,this):e,c(t)?t.call(this,this):t)}:e:t}function mn(t,e){var i=e?t?t.concat(e):r(e)?e:[e]:t;return i?vn(i):i}function vn(t){for(var e=[],i=0;i<t.length;i++)-1===e.indexOf(t[i])&&e.push(t[i]);return e}function yn(t,e,i,n){var r=Object.create(t||null);return e?L(r,e):r}pn.data=function(t,e,i){return i?gn(t,e,i):e&&"function"!==typeof e?t:gn(t,e)},G.forEach((function(t){pn[t]=mn})),H.forEach((function(t){pn[t+"s"]=yn})),pn.watch=function(t,e,i,n){if(t===st&&(t=void 0),e===st&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in L(o,t),e){var s=o[a],l=e[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(l):r(l)?l:[l]}return o},pn.props=pn.methods=pn.inject=pn.computed=function(t,e,i,n){if(!t)return e;var r=Object.create(null);return L(r,t),e&&L(r,e),r},pn.provide=gn;var bn=function(t,e){return void 0===e?t:e};function _n(t,e){var i=t.props;if(i){var n,o,a,s={};if(r(i)){n=i.length;while(n--)o=i[n],"string"===typeof o&&(a=M(o),s[a]={type:null})}else if(p(i))for(var l in i)o=i[l],a=M(l),s[a]=p(o)?o:{type:o};else 0;t.props=s}}function xn(t,e){var i=t.inject;if(i){var n=t.inject={};if(r(i))for(var o=0;o<i.length;o++)n[i[o]]={from:i[o]};else if(p(i))for(var a in i){var s=i[a];n[a]=p(s)?L({from:a},s):{from:s}}else 0}}function wn(t){var e=t.directives;if(e)for(var i in e){var n=e[i];c(n)&&(e[i]={bind:n,update:n})}}function Sn(t,e,i){if(c(e)&&(e=e.options),_n(e,i),xn(e,i),wn(e),!e._base&&(e.extends&&(t=Sn(t,e.extends,i)),e.mixins))for(var n=0,r=e.mixins.length;n<r;n++)t=Sn(t,e.mixins[n],i);var o,a={};for(o in t)s(o);for(o in e)S(t,o)||s(o);function s(n){var r=pn[n]||bn;a[n]=r(t[n],e[n],i,n)}return a}function Cn(t,e,i,n){if("string"===typeof i){var r=t[e];if(S(r,i))return r[i];var o=M(i);if(S(r,o))return r[o];var a=O(o);if(S(r,a))return r[a];var s=r[i]||r[o]||r[a];return s}}function kn(t,e,i,n){var r=e[t],o=!S(i,t),a=i[t],s=In(Boolean,r.type);if(s>-1)if(o&&!S(r,"default"))a=!1;else if(""===a||a===A(t)){var l=In(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=Mn(n,r,t);var u=Pt;Et(!0),jt(a),Et(u)}return a}function Mn(t,e,i){if(S(e,"default")){var n=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[i]&&void 0!==t._props[i]?t._props[i]:c(n)&&"Function"!==Tn(e.type)?n.call(t):n}}var On=/^\s*function (\w+)/;function Tn(t){var e=t&&t.toString().match(On);return e?e[1]:""}function An(t,e){return Tn(t)===Tn(e)}function In(t,e){if(!r(e))return An(e,t)?0:-1;for(var i=0,n=e.length;i<n;i++)if(An(e[i],t))return i;return-1}var Pn={enumerable:!0,configurable:!0,get:R,set:R};function En(t,e,i){Pn.get=function(){return this[e][i]},Pn.set=function(t){this[e][i]=t},Object.defineProperty(t,i,Pn)}function Dn(t){var e=t.$options;if(e.props&&Ln(t,e.props),Ie(t),e.methods&&qn(t,e.methods),e.data)jn(t);else{var i=jt(t._data={});i&&i.vmCount++}e.computed&&Fn(t,e.computed),e.watch&&e.watch!==st&&$n(t,e.watch)}function Ln(t,e){var i=t.$options.propsData||{},n=t._props=zt({}),r=t.$options._propKeys=[],o=!t.$parent;o||Et(!1);var a=function(o){r.push(o);var a=kn(o,e,i,t);Rt(n,o,a),o in t||En(t,"_props",o)};for(var s in e)a(s);Et(!0)}function jn(t){var e=t.$options.data;e=t._data=c(e)?Rn(e,t):e||{},p(e)||(e={});var i=Object.keys(e),n=t.$options.props,r=(t.$options.methods,i.length);while(r--){var o=i[r];0,n&&S(n,o)||Y(o)||En(t,"_data",o)}var a=jt(e);a&&a.vmCount++}function Rn(t,e){Ct();try{return t.call(e,e)}catch(Qa){return Xe(Qa,e,"data()"),{}}finally{kt()}}var Bn={lazy:!0};function Fn(t,e){var i=t._computedWatchers=Object.create(null),n=ct();for(var r in e){var o=e[r],a=c(o)?o:o.get;0,n||(i[r]=new vi(t,a||R,R,Bn)),r in t||Nn(t,r,o)}}function Nn(t,e,i){var n=!ct();c(i)?(Pn.get=n?zn(e):Vn(i),Pn.set=R):(Pn.get=i.get?n&&!1!==i.cache?zn(e):Vn(i.get):R,Pn.set=i.set||R),Object.defineProperty(t,e,Pn)}function zn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),wt.target&&e.depend(),e.value}}function Vn(t){return function(){return t.call(this,this)}}function qn(t,e){t.$options.props;for(var i in e)t[i]="function"!==typeof e[i]?R:E(e[i],t)}function $n(t,e){for(var i in e){var n=e[i];if(r(n))for(var o=0;o<n.length;o++)Hn(t,i,n[o]);else Hn(t,i,n)}}function Hn(t,e,i,n){return p(i)&&(n=i,i=i.handler),"string"===typeof i&&(i=t[i]),t.$watch(e,i,n)}function Gn(t){var e={get:function(){return this._data}},i={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",i),t.prototype.$set=Bt,t.prototype.$delete=Ft,t.prototype.$watch=function(t,e,i){var n=this;if(p(e))return Hn(n,t,e,i);i=i||{},i.user=!0;var r=new vi(n,t,e,i);if(i.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');Ct(),Ke(e,n,[r.value],n,o),kt()}return function(){r.teardown()}}}var Wn=0;function Un(t){t.prototype._init=function(t){var e=this;e._uid=Wn++,e._isVue=!0,e.__v_skip=!0,e._scope=new Kt(!0),t&&t._isComponent?Yn(e,t):e.$options=Sn(Xn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Mi(e),yi(e),Re(e),Di(e,"beforeCreate",void 0,!1),Zi(e),Dn(e),Ki(e),Di(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Yn(t,e){var i=t.$options=Object.create(t.constructor.options),n=e._parentVnode;i.parent=e.parent,i._parentVnode=n;var r=n.componentOptions;i.propsData=r.propsData,i._parentListeners=r.listeners,i._renderChildren=r.children,i._componentTag=r.tag,e.render&&(i.render=e.render,i.staticRenderFns=e.staticRenderFns)}function Xn(t){var e=t.options;if(t.super){var i=Xn(t.super),n=t.superOptions;if(i!==n){t.superOptions=i;var r=Kn(t);r&&L(t.extendOptions,r),e=t.options=Sn(i,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Kn(t){var e,i=t.options,n=t.sealedOptions;for(var r in i)i[r]!==n[r]&&(e||(e={}),e[r]=i[r]);return e}function Zn(t){this._init(t)}function Qn(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var i=D(arguments,1);return i.unshift(this),c(t.install)?t.install.apply(t,i):c(t)&&t.apply(null,i),e.push(t),this}}function Jn(t){t.mixin=function(t){return this.options=Sn(this.options,t),this}}function tr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var i=this,n=i.cid,r=t._Ctor||(t._Ctor={});if(r[n])return r[n];var o=rn(t)||rn(i.options);var a=function(t){this._init(t)};return a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Sn(i.options,t),a["super"]=i,a.options.props&&er(a),a.options.computed&&ir(a),a.extend=i.extend,a.mixin=i.mixin,a.use=i.use,H.forEach((function(t){a[t]=i[t]})),o&&(a.options.components[o]=a),a.superOptions=i.options,a.extendOptions=t,a.sealedOptions=L({},a.options),r[n]=a,a}}function er(t){var e=t.options.props;for(var i in e)En(t.prototype,"_props",i)}function ir(t){var e=t.options.computed;for(var i in e)Nn(t.prototype,i,e[i])}function nr(t){H.forEach((function(e){t[e]=function(t,i){return i?("component"===e&&p(i)&&(i.name=i.name||t,i=this.options._base.extend(i)),"directive"===e&&c(i)&&(i={bind:i,update:i}),this.options[e+"s"][t]=i,i):this.options[e+"s"][t]}}))}function rr(t){return t&&(rn(t.Ctor.options)||t.tag)}function or(t,e){return r(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function ar(t,e){var i=t.cache,n=t.keys,r=t._vnode;for(var o in i){var a=i[o];if(a){var s=a.name;s&&!e(s)&&sr(i,o,n,r)}}}function sr(t,e,i,n){var r=t[e];!r||n&&r.tag===n.tag||r.componentInstance.$destroy(),t[e]=null,x(i,e)}Un(Zn),Gn(Zn),Si(Zn),Oi(Zn),Fe(Zn);var lr=[String,RegExp,Array],ur={name:"keep-alive",abstract:!0,props:{include:lr,exclude:lr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,i=t.keys,n=t.vnodeToCache,r=t.keyToCache;if(n){var o=n.tag,a=n.componentInstance,s=n.componentOptions;e[r]={name:rr(s),tag:o,componentInstance:a},i.push(r),this.max&&i.length>parseInt(this.max)&&sr(e,i[0],i,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)sr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ar(t,(function(t){return or(e,t)}))})),this.$watch("exclude",(function(e){ar(t,(function(t){return!or(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=qe(t),i=e&&e.componentOptions;if(i){var n=rr(i),r=this,o=r.include,a=r.exclude;if(o&&(!n||!or(o,n))||a&&n&&or(a,n))return e;var s=this,l=s.cache,u=s.keys,c=null==e.key?i.Ctor.cid+(i.tag?"::".concat(i.tag):""):e.key;l[c]?(e.componentInstance=l[c].componentInstance,x(u,c),u.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},cr={KeepAlive:ur};function hr(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:dn,extend:L,mergeOptions:Sn,defineReactive:Rt},t.set=Bt,t.delete=Ft,t.nextTick=li,t.observable=function(t){return jt(t),t},t.options=Object.create(null),H.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,cr),Qn(t),Jn(t),tr(t),nr(t)}hr(Zn),Object.defineProperty(Zn.prototype,"$isServer",{get:ct}),Object.defineProperty(Zn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zn,"FunctionalRenderContext",{value:Ji}),Zn.version=hi;var dr=b("style,class"),pr=b("input,textarea,option,select,progress"),fr=function(t,e,i){return"value"===i&&pr(t)&&"button"!==e||"selected"===i&&"option"===t||"checked"===i&&"input"===t||"muted"===i&&"video"===t},gr=b("contenteditable,draggable,spellcheck"),mr=b("events,caret,typing,plaintext-only"),vr=function(t,e){return wr(e)||"false"===e?"false":"contenteditable"===t&&mr(e)?e:"true"},yr=b("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,truespeed,typemustmatch,visible"),br="http://www.w3.org/1999/xlink",_r=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},xr=function(t){return _r(t)?t.slice(6,t.length):""},wr=function(t){return null==t||!1===t};function Sr(t){var e=t.data,i=t,n=t;while(a(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(e=Cr(n.data,e));while(a(i=i.parent))i&&i.data&&(e=Cr(e,i.data));return kr(e.staticClass,e.class)}function Cr(t,e){return{staticClass:Mr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function kr(t,e){return a(t)||a(e)?Mr(t,Or(e)):""}function Mr(t,e){return t?e?t+" "+e:t:e||""}function Or(t){return Array.isArray(t)?Tr(t):h(t)?Ar(t):"string"===typeof t?t:""}function Tr(t){for(var e,i="",n=0,r=t.length;n<r;n++)a(e=Or(t[n]))&&""!==e&&(i&&(i+=" "),i+=e);return i}function Ar(t){var e="";for(var i in t)t[i]&&(e&&(e+=" "),e+=i);return e}var Ir={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Pr=b("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"),Er=b("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),Dr=function(t){return Pr(t)||Er(t)};function Lr(t){return Er(t)?"svg":"math"===t?"math":void 0}var jr=Object.create(null);function Rr(t){if(!J)return!0;if(Dr(t))return!1;if(t=t.toLowerCase(),null!=jr[t])return jr[t];var e=document.createElement(t);return t.indexOf("-")>-1?jr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:jr[t]=/HTMLUnknownElement/.test(e.toString())}var Br=b("text,number,password,search,email,tel,url");function Fr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Nr(t,e){var i=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i}function zr(t,e){return document.createElementNS(Ir[t],e)}function Vr(t){return document.createTextNode(t)}function qr(t){return document.createComment(t)}function $r(t,e,i){t.insertBefore(e,i)}function Hr(t,e){t.removeChild(e)}function Gr(t,e){t.appendChild(e)}function Wr(t){return t.parentNode}function Ur(t){return t.nextSibling}function Yr(t){return t.tagName}function Xr(t,e){t.textContent=e}function Kr(t,e){t.setAttribute(e,"")}var Zr=Object.freeze({__proto__:null,createElement:Nr,createElementNS:zr,createTextNode:Vr,createComment:qr,insertBefore:$r,removeChild:Hr,appendChild:Gr,parentNode:Wr,nextSibling:Ur,tagName:Yr,setTextContent:Xr,setStyleScope:Kr}),Qr={create:function(t,e){Jr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Jr(t,!0),Jr(e))},destroy:function(t){Jr(t,!0)}};function Jr(t,e){var i=t.data.ref;if(a(i)){var n=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(c(i))Ke(i,n,[s],n,"template ref function");else{var u=t.data.refInFor,h="string"===typeof i||"number"===typeof i,d=Ht(i),p=n.$refs;if(h||d)if(u){var f=h?p[i]:i.value;e?r(f)&&x(f,o):r(f)?f.includes(o)||f.push(o):h?(p[i]=[o],to(n,i,p[i])):i.value=[o]}else if(h){if(e&&p[i]!==o)return;p[i]=l,to(n,i,s)}else if(d){if(e&&i.value!==o)return;i.value=s}else 0}}}function to(t,e,i){var n=t._setupState;n&&S(n,e)&&(Ht(n[e])?n[e].value=i:n[e]=i)}var eo=new vt("",{},[]),io=["create","activate","update","remove","destroy"];function no(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ro(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function ro(t,e){if("input"!==t.tag)return!0;var i,n=a(i=t.data)&&a(i=i.attrs)&&i.type,r=a(i=e.data)&&a(i=i.attrs)&&i.type;return n===r||Br(n)&&Br(r)}function oo(t,e,i){var n,r,o={};for(n=e;n<=i;++n)r=t[n].key,a(r)&&(o[r]=n);return o}function ao(t){var e,i,n={},l=t.modules,c=t.nodeOps;for(e=0;e<io.length;++e)for(n[io[e]]=[],i=0;i<l.length;++i)a(l[i][io[e]])&&n[io[e]].push(l[i][io[e]]);function h(t){return new vt(c.tagName(t).toLowerCase(),{},[],void 0,t)}function d(t,e){function i(){0===--i.listeners&&p(t)}return i.listeners=e,i}function p(t){var e=c.parentNode(t);a(e)&&c.removeChild(e,t)}function f(t,e,i,n,r,o,l){if(a(t.elm)&&a(o)&&(t=o[l]=_t(t)),t.isRootInsert=!r,!g(t,e,i,n)){var u=t.data,h=t.children,d=t.tag;a(d)?(t.elm=t.ns?c.createElementNS(t.ns,d):c.createElement(d,t),S(t),_(t,h,e),a(u)&&w(t,e),y(i,t.elm,n)):s(t.isComment)?(t.elm=c.createComment(t.text),y(i,t.elm,n)):(t.elm=c.createTextNode(t.text),y(i,t.elm,n))}}function g(t,e,i,n){var r=t.data;if(a(r)){var o=a(t.componentInstance)&&r.keepAlive;if(a(r=r.hook)&&a(r=r.init)&&r(t,!1),a(t.componentInstance))return m(t,e),y(i,t.elm,n),s(o)&&v(t,e,i,n),!0}}function m(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(w(t,e),S(t)):(Jr(t),e.push(t))}function v(t,e,i,r){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<n.activate.length;++o)n.activate[o](eo,s);e.push(s);break}y(i,t.elm,r)}function y(t,e,i){a(t)&&(a(i)?c.parentNode(i)===t&&c.insertBefore(t,e,i):c.appendChild(t,e))}function _(t,e,i){if(r(e)){0;for(var n=0;n<e.length;++n)f(e[n],i,t.elm,null,!0,e,n)}else u(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function x(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function w(t,i){for(var r=0;r<n.create.length;++r)n.create[r](eo,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(eo,t),a(e.insert)&&i.push(t))}function S(t){var e;if(a(e=t.fnScopeId))c.setStyleScope(t.elm,e);else{var i=t;while(i)a(e=i.context)&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),i=i.parent}a(e=Ci)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function C(t,e,i,n,r,o){for(;n<=r;++n)f(i[n],o,t,e,!1,i,n)}function k(t){var e,i,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<n.destroy.length;++e)n.destroy[e](t);if(a(e=t.children))for(i=0;i<t.children.length;++i)k(t.children[i])}function M(t,e,i){for(;e<=i;++e){var n=t[e];a(n)&&(a(n.tag)?(O(n),k(n)):p(n.elm))}}function O(t,e){if(a(e)||a(t.data)){var i,r=n.remove.length+1;for(a(e)?e.listeners+=r:e=d(t.elm,r),a(i=t.componentInstance)&&a(i=i._vnode)&&a(i.data)&&O(i,e),i=0;i<n.remove.length;++i)n.remove[i](t,e);a(i=t.data.hook)&&a(i=i.remove)?i(t,e):e()}else p(t.elm)}function T(t,e,i,n,r){var s,l,u,h,d=0,p=0,g=e.length-1,m=e[0],v=e[g],y=i.length-1,b=i[0],_=i[y],x=!r;while(d<=g&&p<=y)o(m)?m=e[++d]:o(v)?v=e[--g]:no(m,b)?(I(m,b,n,i,p),m=e[++d],b=i[++p]):no(v,_)?(I(v,_,n,i,y),v=e[--g],_=i[--y]):no(m,_)?(I(m,_,n,i,y),x&&c.insertBefore(t,m.elm,c.nextSibling(v.elm)),m=e[++d],_=i[--y]):no(v,b)?(I(v,b,n,i,p),x&&c.insertBefore(t,v.elm,m.elm),v=e[--g],b=i[++p]):(o(s)&&(s=oo(e,d,g)),l=a(b.key)?s[b.key]:A(b,e,d,g),o(l)?f(b,n,t,m.elm,!1,i,p):(u=e[l],no(u,b)?(I(u,b,n,i,p),e[l]=void 0,x&&c.insertBefore(t,u.elm,m.elm)):f(b,n,t,m.elm,!1,i,p)),b=i[++p]);d>g?(h=o(i[y+1])?null:i[y+1].elm,C(t,h,i,p,y,n)):p>y&&M(e,d,g)}function A(t,e,i,n){for(var r=i;r<n;r++){var o=e[r];if(a(o)&&no(t,o))return r}}function I(t,e,i,r,l,u){if(t!==e){a(e.elm)&&a(r)&&(e=r[l]=_t(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?D(t.elm,e,i):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,p=e.data;a(p)&&a(d=p.hook)&&a(d=d.prepatch)&&d(t,e);var f=t.children,g=e.children;if(a(p)&&x(e)){for(d=0;d<n.update.length;++d)n.update[d](t,e);a(d=p.hook)&&a(d=d.update)&&d(t,e)}o(e.text)?a(f)&&a(g)?f!==g&&T(h,f,g,i,u):a(g)?(a(t.text)&&c.setTextContent(h,""),C(h,null,g,0,g.length-1,i)):a(f)?M(f,0,f.length-1):a(t.text)&&c.setTextContent(h,""):t.text!==e.text&&c.setTextContent(h,e.text),a(p)&&a(d=p.hook)&&a(d=d.postpatch)&&d(t,e)}}}function P(t,e,i){if(s(i)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var E=b("attrs,class,staticClass,staticStyle,key");function D(t,e,i,n){var r,o=e.tag,l=e.data,u=e.children;if(n=n||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return m(e,i),!0;if(a(o)){if(a(u))if(t.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var c=!0,h=t.firstChild,d=0;d<u.length;d++){if(!h||!D(h,u[d],i,n)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else _(e,u,i);if(a(l)){var p=!1;for(var f in l)if(!E(f)){p=!0,w(e,i);break}!p&&l["class"]&&pi(l["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,i,r){if(!o(e)){var l=!1,u=[];if(o(t))l=!0,f(e,u);else{var d=a(t.nodeType);if(!d&&no(t,e))I(t,e,u,null,null,r);else{if(d){if(1===t.nodeType&&t.hasAttribute($)&&(t.removeAttribute($),i=!0),s(i)&&D(t,e,u))return P(e,u,!0),t;t=h(t)}var p=t.elm,g=c.parentNode(p);if(f(e,u,p._leaveCb?null:g,c.nextSibling(p)),a(e.parent)){var m=e.parent,v=x(e);while(m){for(var y=0;y<n.destroy.length;++y)n.destroy[y](m);if(m.elm=e.elm,v){for(var b=0;b<n.create.length;++b)n.create[b](eo,m);var _=m.data.hook.insert;if(_.merged)for(var w=1;w<_.fns.length;w++)_.fns[w]()}else Jr(m);m=m.parent}}a(g)?M([t],0,0):a(t.tag)&&k(t)}}return P(e,u,l),e.elm}a(t)&&k(t)}}var so={create:lo,update:lo,destroy:function(t){lo(t,eo)}};function lo(t,e){(t.data.directives||e.data.directives)&&uo(t,e)}function uo(t,e){var i,n,r,o=t===eo,a=e===eo,s=ho(t.data.directives,t.context),l=ho(e.data.directives,e.context),u=[],c=[];for(i in l)n=s[i],r=l[i],n?(r.oldValue=n.value,r.oldArg=n.arg,fo(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(fo(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var i=0;i<u.length;i++)fo(u[i],"inserted",e,t)};o?ie(e,"insert",h):h()}if(c.length&&ie(e,"postpatch",(function(){for(var i=0;i<c.length;i++)fo(c[i],"componentUpdated",e,t)})),!o)for(i in s)l[i]||fo(s[i],"unbind",t,t,a)}var co=Object.create(null);function ho(t,e){var i,n,r=Object.create(null);if(!t)return r;for(i=0;i<t.length;i++)n=t[i],n.modifiers||(n.modifiers=co),r[po(n)]=n,e._setupState&&e._setupState.__sfc&&(n.def=n.def||Cn(e,"_setupState","v-"+n.name)),n.def=n.def||Cn(e.$options,"directives",n.name,!0);return r}function po(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function fo(t,e,i,n,r){var o=t.def&&t.def[e];if(o)try{o(i.elm,t,i,n,r)}catch(Qa){Xe(Qa,i.context,"directive ".concat(t.name," ").concat(e," hook"))}}var go=[Qr,so];function mo(t,e){var i=e.componentOptions;if((!a(i)||!1!==i.Ctor.options.inheritAttrs)&&(!o(t.data.attrs)||!o(e.data.attrs))){var n,r,l,u=e.elm,c=t.data.attrs||{},h=e.data.attrs||{};for(n in(a(h.__ob__)||s(h._v_attr_proxy))&&(h=e.data.attrs=L({},h)),h)r=h[n],l=c[n],l!==r&&vo(u,n,r,e.data.pre);for(n in(et||nt)&&h.value!==c.value&&vo(u,"value",h.value),c)o(h[n])&&(_r(n)?u.removeAttributeNS(br,xr(n)):gr(n)||u.removeAttribute(n))}}function vo(t,e,i,n){n||t.tagName.indexOf("-")>-1?yo(t,e,i):yr(e)?wr(i)?t.removeAttribute(e):(i="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,i)):gr(e)?t.setAttribute(e,vr(e,i)):_r(e)?wr(i)?t.removeAttributeNS(br,xr(e)):t.setAttributeNS(br,e,i):yo(t,e,i)}function yo(t,e,i){if(wr(i))t.removeAttribute(e);else{if(et&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==i&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,i)}}var bo={create:mo,update:mo};function _o(t,e){var i=e.elm,n=e.data,r=t.data;if(!(o(n.staticClass)&&o(n.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Sr(e),l=i._transitionClasses;a(l)&&(s=Mr(s,Or(l))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var xo,wo={create:_o,update:_o},So="__r",Co="__c";function ko(t){if(a(t[So])){var e=et?"change":"input";t[e]=[].concat(t[So],t[e]||[]),delete t[So]}a(t[Co])&&(t.change=[].concat(t[Co],t.change||[]),delete t[Co])}function Mo(t,e,i){var n=xo;return function r(){var o=e.apply(null,arguments);null!==o&&Ao(t,r,i,n)}}var Oo=ti&&!(at&&Number(at[1])<=53);function To(t,e,i,n){if(Oo){var r=Vi,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}xo.addEventListener(t,e,lt?{capture:i,passive:n}:i)}function Ao(t,e,i,n){(n||xo).removeEventListener(t,e._wrapper||e,i)}function Io(t,e){if(!o(t.data.on)||!o(e.data.on)){var i=e.data.on||{},n=t.data.on||{};xo=e.elm||t.elm,ko(i),ee(i,n,To,Ao,Mo,e.context),xo=void 0}}var Po,Eo={create:Io,update:Io,destroy:function(t){return Io(t,eo)}};function Do(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var i,n,r=e.elm,l=t.data.domProps||{},u=e.data.domProps||{};for(i in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=L({},u)),l)i in u||(r[i]="");for(i in u){if(n=u[i],"textContent"===i||"innerHTML"===i){if(e.children&&(e.children.length=0),n===l[i])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===i&&"PROGRESS"!==r.tagName){r._value=n;var c=o(n)?"":String(n);Lo(r,c)&&(r.value=c)}else if("innerHTML"===i&&Er(r.tagName)&&o(r.innerHTML)){Po=Po||document.createElement("div"),Po.innerHTML="<svg>".concat(n,"</svg>");var h=Po.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(n!==l[i])try{r[i]=n}catch(Qa){}}}}function Lo(t,e){return!t.composing&&("OPTION"===t.tagName||jo(t,e)||Ro(t,e))}function jo(t,e){var i=!0;try{i=document.activeElement!==t}catch(Qa){}return i&&t.value!==e}function Ro(t,e){var i=t.value,n=t._vModifiers;if(a(n)){if(n.number)return y(i)!==y(e);if(n.trim)return i.trim()!==e.trim()}return i!==e}var Bo={create:Do,update:Do},Fo=C((function(t){var e={},i=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(i).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function No(t){var e=zo(t.style);return t.staticStyle?L(t.staticStyle,e):e}function zo(t){return Array.isArray(t)?j(t):"string"===typeof t?Fo(t):t}function Vo(t,e){var i,n={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(i=No(r.data))&&L(n,i)}(i=No(t.data))&&L(n,i);var o=t;while(o=o.parent)o.data&&(i=No(o.data))&&L(n,i);return n}var qo,$o=/^--/,Ho=/\s*!important$/,Go=function(t,e,i){if($o.test(e))t.style.setProperty(e,i);else if(Ho.test(i))t.style.setProperty(A(e),i.replace(Ho,""),"important");else{var n=Uo(e);if(Array.isArray(i))for(var r=0,o=i.length;r<o;r++)t.style[n]=i[r];else t.style[n]=i}},Wo=["Webkit","Moz","ms"],Uo=C((function(t){if(qo=qo||document.createElement("div").style,t=M(t),"filter"!==t&&t in qo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<Wo.length;i++){var n=Wo[i]+e;if(n in qo)return n}}));function Yo(t,e){var i=e.data,n=t.data;if(!(o(i.staticStyle)&&o(i.style)&&o(n.staticStyle)&&o(n.style))){var r,s,l=e.elm,u=n.staticStyle,c=n.normalizedStyle||n.style||{},h=u||c,d=zo(e.data.style)||{};e.data.normalizedStyle=a(d.__ob__)?L({},d):d;var p=Vo(e,!0);for(s in h)o(p[s])&&Go(l,s,"");for(s in p)r=p[s],r!==h[s]&&Go(l,s,null==r?"":r)}}var Xo={create:Yo,update:Yo},Ko=/\s+/;function Zo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ko).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var i=" ".concat(t.getAttribute("class")||""," ");i.indexOf(" "+e+" ")<0&&t.setAttribute("class",(i+e).trim())}}function Qo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ko).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var i=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";while(i.indexOf(n)>=0)i=i.replace(n," ");i=i.trim(),i?t.setAttribute("class",i):t.removeAttribute("class")}}function Jo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,ta(t.name||"v")),L(e,t),e}return"string"===typeof t?ta(t):void 0}}var ta=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),ea=J&&!it,ia="transition",na="animation",ra="transition",oa="transitionend",aa="animation",sa="animationend";ea&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ra="WebkitTransition",oa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(aa="WebkitAnimation",sa="webkitAnimationEnd"));var la=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ua(t){la((function(){la(t)}))}function ca(t,e){var i=t._transitionClasses||(t._transitionClasses=[]);i.indexOf(e)<0&&(i.push(e),Zo(t,e))}function ha(t,e){t._transitionClasses&&x(t._transitionClasses,e),Qo(t,e)}function da(t,e,i){var n=fa(t,e),r=n.type,o=n.timeout,a=n.propCount;if(!r)return i();var s=r===ia?oa:sa,l=0,u=function(){t.removeEventListener(s,c),i()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),t.addEventListener(s,c)}var pa=/\b(transform|all)(,|$)/;function fa(t,e){var i,n=window.getComputedStyle(t),r=(n[ra+"Delay"]||"").split(", "),o=(n[ra+"Duration"]||"").split(", "),a=ga(r,o),s=(n[aa+"Delay"]||"").split(", "),l=(n[aa+"Duration"]||"").split(", "),u=ga(s,l),c=0,h=0;e===ia?a>0&&(i=ia,c=a,h=o.length):e===na?u>0&&(i=na,c=u,h=l.length):(c=Math.max(a,u),i=c>0?a>u?ia:na:null,h=i?i===ia?o.length:l.length:0);var d=i===ia&&pa.test(n[ra+"Property"]);return{type:i,timeout:c,propCount:h,hasTransform:d}}function ga(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,i){return ma(e)+ma(t[i])})))}function ma(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function va(t,e){var i=t.elm;a(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var n=Jo(t.data.transition);if(!o(n)&&!a(i._enterCb)&&1===i.nodeType){var r=n.css,s=n.type,l=n.enterClass,u=n.enterToClass,d=n.enterActiveClass,p=n.appearClass,f=n.appearToClass,g=n.appearActiveClass,m=n.beforeEnter,v=n.enter,b=n.afterEnter,_=n.enterCancelled,x=n.beforeAppear,w=n.appear,S=n.afterAppear,C=n.appearCancelled,k=n.duration,M=Ci,O=Ci.$vnode;while(O&&O.parent)M=O.context,O=O.parent;var T=!M._isMounted||!t.isRootInsert;if(!T||w||""===w){var A=T&&p?p:l,I=T&&g?g:d,P=T&&f?f:u,E=T&&x||m,D=T&&c(w)?w:v,L=T&&S||b,j=T&&C||_,R=y(h(k)?k.enter:k);0;var B=!1!==r&&!it,F=_a(D),N=i._enterCb=V((function(){B&&(ha(i,P),ha(i,I)),N.cancelled?(B&&ha(i,A),j&&j(i)):L&&L(i),i._enterCb=null}));t.data.show||ie(t,"insert",(function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),D&&D(i,N)})),E&&E(i),B&&(ca(i,A),ca(i,I),ua((function(){ha(i,A),N.cancelled||(ca(i,P),F||(ba(R)?setTimeout(N,R):da(i,s,N)))}))),t.data.show&&(e&&e(),D&&D(i,N)),B||F||N()}}}function ya(t,e){var i=t.elm;a(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var n=Jo(t.data.transition);if(o(n)||1!==i.nodeType)return e();if(!a(i._leaveCb)){var r=n.css,s=n.type,l=n.leaveClass,u=n.leaveToClass,c=n.leaveActiveClass,d=n.beforeLeave,p=n.leave,f=n.afterLeave,g=n.leaveCancelled,m=n.delayLeave,v=n.duration,b=!1!==r&&!it,_=_a(p),x=y(h(v)?v.leave:v);0;var w=i._leaveCb=V((function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),b&&(ha(i,u),ha(i,c)),w.cancelled?(b&&ha(i,l),g&&g(i)):(e(),f&&f(i)),i._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),d&&d(i),b&&(ca(i,l),ca(i,c),ua((function(){ha(i,l),w.cancelled||(ca(i,u),_||(ba(x)?setTimeout(w,x):da(i,s,w)))}))),p&&p(i,w),b||_||w())}}function ba(t){return"number"===typeof t&&!isNaN(t)}function _a(t){if(o(t))return!1;var e=t.fns;return a(e)?_a(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function xa(t,e){!0!==e.data.show&&va(e)}var wa=J?{create:xa,activate:xa,remove:function(t,e){!0!==t.data.show?ya(t,e):e()}}:{},Sa=[bo,wo,Eo,Bo,Xo,wa],Ca=Sa.concat(go),ka=ao({nodeOps:Zr,modules:Ca});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Da(t,"input")}));var Ma={inserted:function(t,e,i,n){"select"===i.tag?(n.elm&&!n.elm._vOptions?ie(i,"postpatch",(function(){Ma.componentUpdated(t,e,i)})):Oa(t,e,i.context),t._vOptions=[].map.call(t.options,Ia)):("textarea"===i.tag||Br(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Pa),t.addEventListener("compositionend",Ea),t.addEventListener("change",Ea),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,i){if("select"===i.tag){Oa(t,e,i.context);var n=t._vOptions,r=t._vOptions=[].map.call(t.options,Ia);if(r.some((function(t,e){return!N(t,n[e])}))){var o=t.multiple?e.value.some((function(t){return Aa(t,r)})):e.value!==e.oldValue&&Aa(e.value,r);o&&Da(t,"change")}}}};function Oa(t,e,i){Ta(t,e,i),(et||nt)&&setTimeout((function(){Ta(t,e,i)}),0)}function Ta(t,e,i){var n=e.value,r=t.multiple;if(!r||Array.isArray(n)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=z(n,Ia(a))>-1,a.selected!==o&&(a.selected=o);else if(N(Ia(a),n))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Aa(t,e){return e.every((function(e){return!N(e,t)}))}function Ia(t){return"_value"in t?t._value:t.value}function Pa(t){t.target.composing=!0}function Ea(t){t.target.composing&&(t.target.composing=!1,Da(t.target,"input"))}function Da(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!0),t.dispatchEvent(i)}function La(t){return!t.componentInstance||t.data&&t.data.transition?t:La(t.componentInstance._vnode)}var ja={bind:function(t,e,i){var n=e.value;i=La(i);var r=i.data&&i.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&r?(i.data.show=!0,va(i,(function(){t.style.display=o}))):t.style.display=n?o:"none"},update:function(t,e,i){var n=e.value,r=e.oldValue;if(!n!==!r){i=La(i);var o=i.data&&i.data.transition;o?(i.data.show=!0,n?va(i,(function(){t.style.display=t.__vOriginalDisplay})):ya(i,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,i,n,r){r||(t.style.display=t.__vOriginalDisplay)}},Ra={model:Ma,show:ja},Ba={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 Fa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Fa(qe(e.children)):t}function Na(t){var e={},i=t.$options;for(var n in i.propsData)e[n]=t[n];var r=i._parentListeners;for(var n in r)e[M(n)]=r[n];return e}function za(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Va(t){while(t=t.parent)if(t.data.transition)return!0}function qa(t,e){return e.key===t.key&&e.tag===t.tag}var $a=function(t){return t.tag||Me(t)},Ha=function(t){return"show"===t.name},Ga={name:"transition",props:Ba,abstract:!0,render:function(t){var e=this,i=this.$slots.default;if(i&&(i=i.filter($a),i.length)){0;var n=this.mode;0;var r=i[0];if(Va(this.$vnode))return r;var o=Fa(r);if(!o)return r;if(this._leaving)return za(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:u(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Na(this),l=this._vnode,c=Fa(l);if(o.data.directives&&o.data.directives.some(Ha)&&(o.data.show=!0),c&&c.data&&!qa(o,c)&&!Me(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=L({},s);if("out-in"===n)return this._leaving=!0,ie(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),za(t,r);if("in-out"===n){if(Me(o))return l;var d,p=function(){d()};ie(s,"afterEnter",p),ie(s,"enterCancelled",p),ie(h,"delayLeave",(function(t){d=t}))}}return r}}},Wa=L({tag:String,moveClass:String},Ba);delete Wa.mode;var Ua={props:Wa,beforeMount:function(){var t=this,e=this._update;this._update=function(i,n){var r=ki(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,i,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",i=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Na(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),i[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(n){var u=[],c=[];for(s=0;s<n.length;s++){l=n[s];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),i[l.key]?u.push(l):c.push(l)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ya),t.forEach(Xa),t.forEach(Ka),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var i=t.elm,n=i.style;ca(i,e),n.transform=n.WebkitTransform=n.transitionDuration="",i.addEventListener(oa,i._moveCb=function t(n){n&&n.target!==i||n&&!/transform$/.test(n.propertyName)||(i.removeEventListener(oa,t),i._moveCb=null,ha(i,e))})}})))},methods:{hasMove:function(t,e){if(!ea)return!1;if(this._hasMove)return this._hasMove;var i=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Qo(i,t)})),Zo(i,e),i.style.display="none",this.$el.appendChild(i);var n=fa(i);return this.$el.removeChild(i),this._hasMove=n.hasTransform}}};function Ya(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Xa(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ka(t){var e=t.data.pos,i=t.data.newPos,n=e.left-i.left,r=e.top-i.top;if(n||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(n,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var Za={Transition:Ga,TransitionGroup:Ua};Zn.config.mustUseProp=fr,Zn.config.isReservedTag=Dr,Zn.config.isReservedAttr=dr,Zn.config.getTagNamespace=Lr,Zn.config.isUnknownElement=Rr,L(Zn.options.directives,Ra),L(Zn.options.components,Za),Zn.prototype.__patch__=J?ka:R,Zn.prototype.$mount=function(t,e){return t=t&&J?Fr(t):void 0,Ti(this,t,e)},J&&setTimeout((function(){W.devtools&&ht&&ht.emit("init",Zn)}),0)}).call(this,i("23b3"))},"2b3d":function(t,e,i){i("4002")},"2b69":function(t,e,i){"use strict";e["a"]={computed:{__refocusTargetEl(){if(!0!==this.disable)return this.$createElement("span",{ref:"refocusTarget",staticClass:"no-outline",attrs:{tabindex:-1}})}},methods:{__refocusTarget(t){void 0!==t&&0===t.type.indexOf("key")?document.activeElement!==this.$el&&!0===this.$el.contains(document.activeElement)&&this.$el.focus():void 0!==t&&!0!==this.$el.contains(t.target)||void 0===this.$refs.refocusTarget||this.$refs.refocusTarget.focus()}}}},"2ba4":function(t,e,i){var n=i("40d5"),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},"2c91":function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8");e["a"]=n["a"].extend({name:"QSpace",mixins:[r["a"]],render(t){return t("div",{staticClass:"q-space",on:{...this.qListeners}})}})},"2d00":function(t,e,i){var n,r,o=i("da84"),a=i("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(n=c.split("."),r=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(r=+n[1]))),t.exports=r},"2d83":function(t,e,i){"use strict";var n=i("387f");t.exports=function(t,e,i,r,o){var a=new Error(t);return n(a,e,i,r,o)}},"2e67":function(t,e,i){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2f3a":function(t,e,i){const n=i("bbf0"),r=i("7bf0");function o(t){this.mode=n.KANJI,this.data=t}o.getBitsLength=function(t){return 13*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let i=r.toSJIS(this.data[e]);if(i>=33088&&i<=40956)i-=33088;else{if(!(i>=57408&&i<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");i-=49472}i=192*(i>>>8&255)+(255&i),t.put(i,13)}},t.exports=o},"2f62":function(t,e,i){"use strict";(function(t){
  15. /*!
  16. * vuex v3.6.2
  17. * (c) 2021 Evan You
  18. * @license MIT
  19. */
  20. function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,i.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function s(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var i=a(e,(function(e){return e.original===t}));if(i)return i.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach((function(i){n[i]=s(t[i],e)})),n}function l(t,e){Object.keys(t).forEach((function(i){return e(t[i],i)}))}function u(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}function h(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"===typeof i?i():i)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){l(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&l(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&l(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&l(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var f=function(t){this.register([],t,!1)};function g(t,e,i){if(e.update(i),i.modules)for(var n in i.modules){if(!e.getChild(n))return void 0;g(t.concat(n),e.getChild(n),i.modules[n])}}f.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},f.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,i){return e=e.getChild(i),t+(e.namespaced?i+"/":"")}),"")},f.prototype.update=function(t){g([],this.root,t)},f.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var r=new d(e,i);if(0===t.length)this.root=r;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],r)}e.modules&&l(e.modules,(function(e,r){n.register(t.concat(r),e,i)}))},f.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1],n=e.getChild(i);n&&n.runtime&&e.removeChild(i)},f.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];return!!e&&e.hasChild(i)};var m;var v=function(t){var e=this;void 0===t&&(t={}),!m&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,i){return l.call(r,t,e,i)},this.strict=n;var u=this._modules.root.state;w(this,u,[],this._modules.root),x(this,u),i.forEach((function(t){return t(e)}));var c=void 0!==t.devtools?t.devtools:m.config.devtools;c&&o(this)},y={state:{configurable:!0}};function b(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;w(t,i,[],t._modules.root,!0),x(t,i,e)}function x(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};l(r,(function(e,i){o[i]=h(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,t._vm=new m({data:{$$state:e},computed:o}),m.config.silent=a,t.strict&&T(t),n&&(i&&t._withCommit((function(){n._data.$$state=null})),m.nextTick((function(){return n.$destroy()})))}function w(t,e,i,n,r){var o=!i.length,a=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!o&&!r){var s=A(e,i.slice(0,-1)),l=i[i.length-1];t._withCommit((function(){m.set(s,l,n.state)}))}var u=n.context=S(t,a,i);n.forEachMutation((function(e,i){var n=a+i;k(t,n,e,u)})),n.forEachAction((function(e,i){var n=e.root?i:a+i,r=e.handler||e;M(t,n,r,u)})),n.forEachGetter((function(e,i){var n=a+i;O(t,n,e,u)})),n.forEachChild((function(n,o){w(t,e,i.concat(o),n,r)}))}function S(t,e,i){var n=""===e,r={dispatch:n?t.dispatch:function(i,n,r){var o=I(i,n,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:n?t.commit:function(i,n,r){var o=I(i,n,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return A(t.state,i)}}}),r}function C(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,n)===e){var o=r.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}function k(t,e,i,n){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){i.call(t,n.state,e)}))}function M(t,e,i,n){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return c(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function O(t,e,i,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function I(t,e,i){return u(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}function P(t){m&&t===m||(m=t,i(m))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},v.prototype.commit=function(t,e,i){var n=this,r=I(t,e,i),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,n.state)})))},v.prototype.dispatch=function(t,e){var i=this,n=I(t,e),r=n.type,o=n.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,i.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,i.state)}))}catch(u){0}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,i.state,t)}))}catch(u){0}e(t)}))}))}},v.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},v.prototype.subscribeAction=function(t,e){var i="function"===typeof t?{before:t}:t;return b(i,this._actionSubscribers,e)},v.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),w(this,this.state,t,this._modules.get(t),i.preserveState),x(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=A(e.state,t.slice(0,-1));m.delete(i,t[t.length-1])})),_(this)},v.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},v.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,y);var E=N((function(t,e){var i={};return B(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=z(this.$store,"mapState",t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"===typeof r?r.call(this,e,i):e[r]},i[n].vuex=!0})),i})),D=N((function(t,e){var i={};return B(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.commit;if(t){var o=z(this.$store,"mapMutations",t);if(!o)return;n=o.context.commit}return"function"===typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i})),L=N((function(t,e){var i={};return B(e).forEach((function(e){var n=e.key,r=e.val;r=t+r,i[n]=function(){if(!t||z(this.$store,"mapGetters",t))return this.$store.getters[r]},i[n].vuex=!0})),i})),j=N((function(t,e){var i={};return B(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=[],i=arguments.length;while(i--)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var o=z(this.$store,"mapActions",t);if(!o)return;n=o.context.dispatch}return"function"===typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i})),R=function(t){return{mapState:E.bind(null,t),mapGetters:L.bind(null,t),mapMutations:D.bind(null,t),mapActions:j.bind(null,t)}};function B(t){return F(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function F(t){return Array.isArray(t)||u(t)}function N(t){return function(e,i){return"string"!==typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function z(t,e,i){var n=t._modulesNamespaceMap[i];return n}function V(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var i=t.filter;void 0===i&&(i=function(t,e,i){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=s(t.state);"undefined"!==typeof c&&(l&&t.subscribe((function(t,o){var a=s(o);if(i(t,h,a)){var l=H(),u=r(t),d="mutation "+t.type+l;q(c,d,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",n(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),$(c)}h=a})),u&&t.subscribeAction((function(t,i){if(o(t,i)){var n=H(),r=a(t),s="action "+t.type+n;q(c,s,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),$(c)}})))}}function q(t,e,i){var n=i?t.groupCollapsed:t.group;try{n.call(t,e)}catch(r){t.log(e)}}function $(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function H(){var t=new Date;return" @ "+W(t.getHours(),2)+":"+W(t.getMinutes(),2)+":"+W(t.getSeconds(),2)+"."+W(t.getMilliseconds(),3)}function G(t,e){return new Array(e+1).join(t)}function W(t,e){return G("0",e-t.toString().length)+t}var U={Store:v,install:P,version:"3.6.2",mapState:E,mapMutations:D,mapGetters:L,mapActions:j,createNamespacedHelpers:R,createLogger:V};e["a"]=U}).call(this,i("23b3"))},"30b5":function(t,e,i){"use strict";var n=i("c532");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,i){if(!e)return t;var o;if(i)o=i(e);else if(n.isURLSearchParams(e))o=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},"313e":function(t,e,i){"use strict";var n={};i.r(n),i.d(n,"updateProps",(function(){return Fl})),i.d(n,"initProps",(function(){return Nl})),i.d(n,"removeElement",(function(){return Vl})),i.d(n,"removeElementWithFadeOut",(function(){return $l})),i.d(n,"isElementRemoved",(function(){return zl})),i.d(n,"extendShape",(function(){return sm})),i.d(n,"extendPath",(function(){return um})),i.d(n,"registerShape",(function(){return cm})),i.d(n,"getShapeClass",(function(){return hm})),i.d(n,"makePath",(function(){return dm})),i.d(n,"makeImage",(function(){return pm})),i.d(n,"mergePath",(function(){return gm})),i.d(n,"resizePath",(function(){return mm})),i.d(n,"subPixelOptimizeLine",(function(){return vm})),i.d(n,"subPixelOptimizeRect",(function(){return ym})),i.d(n,"subPixelOptimize",(function(){return bm})),i.d(n,"getTransform",(function(){return _m})),i.d(n,"applyTransform",(function(){return xm})),i.d(n,"transformDirection",(function(){return wm})),i.d(n,"groupTransition",(function(){return km})),i.d(n,"clipPointsByRect",(function(){return Mm})),i.d(n,"clipRectByRect",(function(){return Om})),i.d(n,"createIcon",(function(){return Tm})),i.d(n,"linePolygonIntersect",(function(){return Am})),i.d(n,"lineLineIntersect",(function(){return Im})),i.d(n,"setTooltipConfig",(function(){return Dm})),i.d(n,"traverseElements",(function(){return jm})),i.d(n,"Group",(function(){return bn})),i.d(n,"Image",(function(){return Ga})),i.d(n,"Text",(function(){return ys})),i.d(n,"Circle",(function(){return Kf})),i.d(n,"Ellipse",(function(){return Jf})),i.d(n,"Sector",(function(){return vg})),i.d(n,"Ring",(function(){return _g})),i.d(n,"Polygon",(function(){return kg})),i.d(n,"Polyline",(function(){return Tg})),i.d(n,"Rect",(function(){return ts})),i.d(n,"Line",(function(){return Eg})),i.d(n,"BezierCurve",(function(){return Bg})),i.d(n,"Arc",(function(){return zg})),i.d(n,"IncrementalDisplayable",(function(){return nm})),i.d(n,"CompoundPath",(function(){return qg})),i.d(n,"LinearGradient",(function(){return Wg})),i.d(n,"RadialGradient",(function(){return Yg})),i.d(n,"BoundingRect",(function(){return Gi})),i.d(n,"OrientedBoundingRect",(function(){return tm})),i.d(n,"Point",(function(){return ji})),i.d(n,"Path",(function(){return Ba}));
  21. /*! *****************************************************************************
  22. Copyright (c) Microsoft Corporation.
  23. Permission to use, copy, modify, and/or distribute this software for any
  24. purpose with or without fee is hereby granted.
  25. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  26. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  27. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  28. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  29. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  30. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  31. PERFORMANCE OF THIS SOFTWARE.
  32. ***************************************************************************** */
  33. var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)};function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}Object.create;Object.create;var a=i("22d1"),s=i("6d8b"),l=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},l(t,e)};function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}l(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}Object.create;Object.create;function c(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function h(t,e){return t[0]=e[0],t[1]=e[1],t}function d(t){return[t[0],t[1]]}function p(t,e,i){return t[0]=e,t[1]=i,t}function f(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function g(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function m(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function v(t){return Math.sqrt(y(t))}function y(t){return t[0]*t[0]+t[1]*t[1]}function b(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function _(t,e){var i=v(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function x(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var w=x;function S(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var C=S;function k(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function M(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function O(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function T(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}var A=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),I=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new A(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,o=n-this._y;this._x=i,this._y=n,e.drift(r,o,t),this.handler.dispatchToElement(new A(e,t),"drag",t.event);var a=this.handler.findHover(i,n,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new A(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new A(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new A(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new A(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),P=I,E=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,i,n){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(n=i,i=e,e=null),!i||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===i)return this;var s={h:i,query:e,ctx:n||this,callAtLast:i.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var i=this._$handlers;if(!i)return this;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,o=i[t].length;r<o;r++)i[t][r].h!==e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t].length&&delete i[t]}else delete i[t];return this},t.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=n.length,s=0;s<a;s++){var l=n[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(!this._$handlers)return this;var n=this._$handlers[t],r=this._$eventProcessor;if(n)for(var o=e.length,a=e[o-1],s=n.length,l=0;l<s;l++){var u=n[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),D=E,L=Math.log(2);function j(t,e,i,n,r,o){var a=n+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/L);return t[i][l]}var u=n|1<<i,c=i+1;while(n&1<<c)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&r||(h+=(p%2?-1:1)*t[i][d]*j(t,e-1,c,u,r|f,o),p++)}return o[a]=h,h}function R(t,e){var i=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},r=j(i,8,0,0,0,n);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*j(i,7,0===a?1:0,1<<a,1<<s,n)/r*e[a];return function(t,e,i){var n=e*o[6]+i*o[7]+1;t[0]=(e*o[0]+i*o[1]+o[2])/n,t[1]=(e*o[3]+i*o[4]+o[5])/n}}}var B="___zrEVENTSAVED",F=[];function N(t,e,i,n,r){return z(F,e,n,r,!0)&&z(t,i,F[0],F[1])}function z(t,e,i,n,r){if(e.getBoundingClientRect&&a["a"].domSupported&&!$(e)){var o=e[B]||(e[B]={}),s=V(e,o),l=q(s,o,r);if(l)return l(t,i,n),!0}return!1}function V(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",r[u]+":0",n[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),i.push(a)}return i}function q(t,e,i){for(var n=i?"invTrans":"trans",r=e[n],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,p=c.top;a.push(d,p),l=l&&o&&d===o[h]&&p===o[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[n]=i?R(s,a):R(a,s))}function $(t){return"CANVAS"===t.nodeName.toUpperCase()}var H=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=[],W=a["a"].browser.firefox&&+a["a"].browser.version.split(".")[0]<39;function U(t,e,i,n){return i=i||{},n?Y(t,e,i):W&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):Y(t,e,i),i}function Y(t,e,i){if(a["a"].domSupported&&t.getBoundingClientRect){var n=e.clientX,r=e.clientY;if($(t)){var o=t.getBoundingClientRect();return i.zrX=n-o.left,void(i.zrY=r-o.top)}if(z(G,t,n,r))return i.zrX=G[0],void(i.zrY=G[1])}i.zrX=i.zrY=0}function X(t){return t||window.event}function K(t,e,i){if(e=X(e),null!=e.zrX)return e;var n=e.type,r=n&&n.indexOf("touch")>=0;if(r){var o="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];o&&U(t,o,e,i)}else{U(t,e,e,i);var a=Z(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&H.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function Z(t){var e=t.wheelDelta;if(e)return e;var i=t.deltaX,n=t.deltaY;if(null==i||null==n)return e;var r=0!==n?Math.abs(n):Math.abs(i),o=n>0?-1:n<0?1:i>0?-1:1;return 3*r*o}function Q(t,e,i,n){t.addEventListener(e,i,n)}function J(t,e,i,n){t.removeEventListener(e,i,n)}var tt=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function et(t){return 2===t.which||3===t.which}var it=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var r={points:[],touches:[],target:e,event:t},o=0,a=n.length;o<a;o++){var s=n[o],l=U(i,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ot)if(ot.hasOwnProperty(e)){var i=ot[e](this._track,t);if(i)return i}},t}();function nt(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function rt(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ot={pinch:function(t,e){var i=t.length;if(i){var n=(t[i-1]||{}).points,r=(t[i-2]||{}).points||n;if(r&&r.length>1&&n&&n.length>1){var o=nt(n)/nt(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=rt(n);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},at="silent";function st(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:lt}}function lt(){tt(this.event)}var ut=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return u(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(D),ct=function(){function t(t,e){this.x=t,this.y=e}return t}(),ht=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],dt=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o._hovered=new ct(0,0),o.storage=e,o.painter=i,o.painterRoot=r,n=n||new ut,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new P(o),o}return u(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s["k"](ht,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,i=t.zrY,n=ft(this,e,i),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=n?new ct(e,i):this.findHover(e,i),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ct(0,0)},e.prototype.dispatch=function(t,e){var i=this[t];i&&i.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,i){t=t||{};var n=t.target;if(!n||!n.silent){var r="on"+e,o=st(e,t,i);while(n)if(n[r]&&(o.cancelBubble=!!n[r].call(n,o)),n.trigger(e,o),n=n.__hostTarget?n.__hostTarget:n.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,i){for(var n=this.storage.getDisplayList(),r=new ct(t,e),o=n.length-1;o>=0;o--){var a=void 0;if(n[o]!==i&&!n[o].ignore&&(a=pt(n[o],t,e))&&(!r.topTarget&&(r.topTarget=n[o]),a!==at)){r.target=n[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new it);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r;var o=new ct;o.target=n.target,this.dispatchToElement(o,r,n.event)}},e}(D);function pt(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n=t,r=void 0,o=!1;while(n){if(n.ignoreClip&&(o=!0),!o){var a=n.getClipPath();if(a&&!a.contain(e,i))return!1;n.silent&&(r=!0)}var s=n.__hostTarget;n=s||n.parent}return!r||at}return!1}function ft(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}s["k"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){dt.prototype[t]=function(e){var i,n,r=e.zrX,o=e.zrY,a=ft(this,r,o);if("mouseup"===t&&a||(i=this.findHover(r,o),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||w(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}));var gt=dt,mt=32,vt=7;function yt(t){var e=0;while(t>=mt)e|=1&t,t>>=1;return t+e}function bt(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){while(r<i&&n(t[r],t[r-1])<0)r++;_t(t,e,r)}else while(r<i&&n(t[r],t[r-1])>=0)r++;return r-e}function _t(t,e,i){i--;while(e<i){var n=t[e];t[e++]=t[i],t[i--]=n}}function xt(t,e,i,n,r){for(n===e&&n++;n<i;n++){var o,a=t[n],s=e,l=n;while(s<l)o=s+l>>>1,r(a,t[o])<0?l=o:s=o+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function wt(t,e,i,n,r,o){var a=0,s=0,l=1;if(o(t,e[i+r])>0){s=n-r;while(l<s&&o(t,e[i+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(t,e[i+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[i+c])>0?a=c+1:l=c}return l}function St(t,e,i,n,r,o){var a=0,s=0,l=1;if(o(t,e[i+r])<0){s=r+1;while(l<s&&o(t,e[i+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=n-r;while(l<s&&o(t,e[i+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var c=a+(l-a>>>1);o(t,e[i+c])<0?l=c:a=c+1}return l}function Ct(t,e){var i,n,r=vt,o=0,a=0;o=t.length;var s=[];function l(t,e){i[a]=t,n[a]=e,a+=1}function u(){while(a>1){var t=a-2;if(t>=1&&n[t-1]<=n[t]+n[t+1]||t>=2&&n[t-2]<=n[t]+n[t-1])n[t-1]<n[t+1]&&t--;else if(n[t]>n[t+1])break;h(t)}}function c(){while(a>1){var t=a-2;t>0&&n[t-1]<n[t+1]&&t--,h(t)}}function h(r){var o=i[r],s=n[r],l=i[r+1],u=n[r+1];n[r]=s+u,r===a-3&&(i[r+1]=i[r+2],n[r+1]=n[r+2]),a--;var c=St(t[l],t,o,s,0,e);o+=c,s-=c,0!==s&&(u=wt(t[o+s-1],t,l,u,u-1,e),0!==u&&(s<=u?d(o,s,l,u):p(o,s,l,u)))}function d(i,n,o,a){var l=0;for(l=0;l<n;l++)s[l]=t[i+l];var u=0,c=o,h=i;if(t[h++]=t[c++],0!==--a)if(1!==n){var d,p,f,g=r;while(1){d=0,p=0,f=!1;do{if(e(t[c],s[u])<0){if(t[h++]=t[c++],p++,d=0,0===--a){f=!0;break}}else if(t[h++]=s[u++],d++,p=0,1===--n){f=!0;break}}while((d|p)<g);if(f)break;do{if(d=St(t[c],s,u,n,0,e),0!==d){for(l=0;l<d;l++)t[h+l]=s[u+l];if(h+=d,u+=d,n-=d,n<=1){f=!0;break}}if(t[h++]=t[c++],0===--a){f=!0;break}if(p=wt(s[u],t,c,a,0,e),0!==p){for(l=0;l<p;l++)t[h+l]=t[c+l];if(h+=p,c+=p,a-=p,0===a){f=!0;break}}if(t[h++]=s[u++],1===--n){f=!0;break}g--}while(d>=vt||p>=vt);if(f)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===n){for(l=0;l<a;l++)t[h+l]=t[c+l];t[h+a]=s[u]}else{if(0===n)throw new Error;for(l=0;l<n;l++)t[h+l]=s[u+l]}}else{for(l=0;l<a;l++)t[h+l]=t[c+l];t[h+a]=s[u]}else for(l=0;l<n;l++)t[h+l]=s[u+l]}function p(i,n,o,a){var l=0;for(l=0;l<a;l++)s[l]=t[o+l];var u=i+n-1,c=a-1,h=o+a-1,d=0,p=0;if(t[h--]=t[u--],0!==--n)if(1!==a){var f=r;while(1){var g=0,m=0,v=!1;do{if(e(s[c],t[u])<0){if(t[h--]=t[u--],g++,m=0,0===--n){v=!0;break}}else if(t[h--]=s[c--],m++,g=0,1===--a){v=!0;break}}while((g|m)<f);if(v)break;do{if(g=n-St(s[c],t,i,n,n-1,e),0!==g){for(h-=g,u-=g,n-=g,p=h+1,d=u+1,l=g-1;l>=0;l--)t[p+l]=t[d+l];if(0===n){v=!0;break}}if(t[h--]=s[c--],1===--a){v=!0;break}if(m=a-wt(t[u],s,0,a,a-1,e),0!==m){for(h-=m,c-=m,a-=m,p=h+1,d=c+1,l=0;l<m;l++)t[p+l]=s[d+l];if(a<=1){v=!0;break}}if(t[h--]=t[u--],0===--n){v=!0;break}f--}while(g>=vt||m>=vt);if(v)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===a){for(h-=n,u-=n,p=h+1,d=u+1,l=n-1;l>=0;l--)t[p+l]=t[d+l];t[h]=s[c]}else{if(0===a)throw new Error;for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l]}}else{for(h-=n,u-=n,p=h+1,d=u+1,l=n-1;l>=0;l--)t[p+l]=t[d+l];t[h]=s[c]}else for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l]}return o<120?5:o<1542?10:o<119151?19:40,i=[],n=[],{mergeRuns:u,forceMergeRuns:c,pushRun:l}}function kt(t,e,i,n){i||(i=0),n||(n=t.length);var r=n-i;if(!(r<2)){var o=0;if(r<mt)return o=bt(t,i,n,e),void xt(t,i,n,i+o,e);var a=Ct(t,e),s=yt(r);do{if(o=bt(t,i,n,e),o<s){var l=r;l>s&&(l=s),xt(t,i,i+l,i+o,e),o=l}a.pushRun(i,o),a.mergeRuns(),r-=o,i+=o}while(0!==r);a.forceMergeRuns()}}var Mt=1,Ot=2,Tt=4,At=!1;function It(){At||(At=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Pt(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Et,Dt=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Pt}return t.prototype.traverse=function(t,e){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var i=this._displayList;return!t&&i.length||this.updateDisplayList(e),i},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,i=this._displayList,n=0,r=e.length;n<r;n++)this._updateAndAddDisplayable(e[n],null,t);i.length=this._displayListLen,kt(i,Pt)},t.prototype._updateAndAddDisplayable=function(t,e,i){if(!t.ignore||i){t.beforeUpdate(),t.update(),t.afterUpdate();var n=t.getClipPath();if(t.ignoreClip)e=null;else if(n){e=e?e.slice():[];var r=n,o=t;while(r)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=Mt),this._updateAndAddDisplayable(l,e,i)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(It(),u.z=0),isNaN(u.z2)&&(It(),u.z2=0),isNaN(u.zlevel)&&(It(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,i);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,i);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,i)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,i=t.length;e<i;e++)this.delRoot(t[e]);else{var n=s["r"](this._roots,t);n>=0&&this._roots.splice(n,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Lt=Dt;Et=a["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var jt=Et,Rt={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Rt.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Rt.bounceIn(2*t):.5*Rt.bounceOut(2*t-1)+.5}},Bt=Rt,Ft=Math.pow,Nt=Math.sqrt,zt=1e-8,Vt=1e-4,qt=Nt(3),$t=1/3,Ht=c(),Gt=c(),Wt=c();function Ut(t){return t>-zt&&t<zt}function Yt(t){return t>zt||t<-zt}function Xt(t,e,i,n,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*n+3*o*i)}function Kt(t,e,i,n,r){var o=1-r;return 3*(((e-t)*o+2*(i-e)*r)*o+(n-i)*r*r)}function Zt(t,e,i,n,r,o){var a=n+3*(e-i)-t,s=3*(i-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,d=l*l-3*s*u,p=0;if(Ut(c)&&Ut(h))if(Ut(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[p++]=f)}else{var g=h*h-4*c*d;if(Ut(g)){var m=h/c,v=(f=-s/a+m,-m/2);f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v)}else if(g>0){var y=Nt(g),b=c*s+1.5*a*(-h+y),_=c*s+1.5*a*(-h-y);b=b<0?-Ft(-b,$t):Ft(b,$t),_=_<0?-Ft(-_,$t):Ft(_,$t);f=(-s-(b+_))/(3*a);f>=0&&f<=1&&(o[p++]=f)}else{var x=(2*c*s-3*a*h)/(2*Nt(c*c*c)),w=Math.acos(x)/3,S=Nt(c),C=Math.cos(w),k=(f=(-s-2*S*C)/(3*a),v=(-s+S*(C+qt*Math.sin(w)))/(3*a),(-s+S*(C-qt*Math.sin(w)))/(3*a));f>=0&&f<=1&&(o[p++]=f),v>=0&&v<=1&&(o[p++]=v),k>=0&&k<=1&&(o[p++]=k)}}return p}function Qt(t,e,i,n,r){var o=6*i-12*e+6*t,a=9*e+3*n-3*t-9*i,s=3*e-3*t,l=0;if(Ut(a)){if(Yt(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var c=o*o-4*a*s;if(Ut(c))r[0]=-o/(2*a);else if(c>0){var h=Nt(c),d=(u=(-o+h)/(2*a),(-o-h)/(2*a));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function Jt(t,e,i,n,r,o){var a=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=n}function te(t,e,i,n,r,o,a,s,l,u,c){var h,d,p,f,g,m=.005,v=1/0;Ht[0]=l,Ht[1]=u;for(var y=0;y<1;y+=.05)Gt[0]=Xt(t,i,r,a,y),Gt[1]=Xt(e,n,o,s,y),f=C(Ht,Gt),f<v&&(h=y,v=f);v=1/0;for(var b=0;b<32;b++){if(m<Vt)break;d=h-m,p=h+m,Gt[0]=Xt(t,i,r,a,d),Gt[1]=Xt(e,n,o,s,d),f=C(Gt,Ht),d>=0&&f<v?(h=d,v=f):(Wt[0]=Xt(t,i,r,a,p),Wt[1]=Xt(e,n,o,s,p),g=C(Wt,Ht),p<=1&&g<v?(h=p,v=g):m*=.5)}return c&&(c[0]=Xt(t,i,r,a,h),c[1]=Xt(e,n,o,s,h)),Nt(v)}function ee(t,e,i,n,r,o,a,s,l){for(var u=t,c=e,h=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=Xt(t,i,r,a,f),m=Xt(e,n,o,s,f),v=g-u,y=m-c;h+=Math.sqrt(v*v+y*y),u=g,c=m}return h}function ie(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function ne(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function re(t,e,i,n,r){var o=t-2*e+i,a=2*(e-t),s=t-n,l=0;if(Ut(o)){if(Yt(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var c=a*a-4*o*s;if(Ut(c)){u=-a/(2*o);u>=0&&u<=1&&(r[l++]=u)}else if(c>0){var h=Nt(c),d=(u=(-a+h)/(2*o),(-a-h)/(2*o));u>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function oe(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function ae(t,e,i,n,r){var o=(e-t)*n+t,a=(i-e)*n+e,s=(a-o)*n+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=i}function se(t,e,i,n,r,o,a,s,l){var u,c=.005,h=1/0;Ht[0]=a,Ht[1]=s;for(var d=0;d<1;d+=.05){Gt[0]=ie(t,i,r,d),Gt[1]=ie(e,n,o,d);var p=C(Ht,Gt);p<h&&(u=d,h=p)}h=1/0;for(var f=0;f<32;f++){if(c<Vt)break;var g=u-c,m=u+c;Gt[0]=ie(t,i,r,g),Gt[1]=ie(e,n,o,g);p=C(Gt,Ht);if(g>=0&&p<h)u=g,h=p;else{Wt[0]=ie(t,i,r,m),Wt[1]=ie(e,n,o,m);var v=C(Wt,Ht);m<=1&&v<h?(u=m,h=v):c*=.5}}return l&&(l[0]=ie(t,i,r,u),l[1]=ie(e,n,o,u)),Nt(h)}function le(t,e,i,n,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var d=h*c,p=ie(t,i,r,d),f=ie(e,n,o,d),g=p-s,m=f-l;u+=Math.sqrt(g*g+m*m),s=p,l=f}return u}var ue=/cubic-bezier\(([0-9,\.e ]+)\)/;function ce(t){var e=t&&ue.exec(t);if(e){var i=e[1].split(","),n=+Object(s["T"])(i[0]),r=+Object(s["T"])(i[1]),o=+Object(s["T"])(i[2]),a=+Object(s["T"])(i[3]);if(isNaN(n+r+o+a))return;var l=[];return function(t){return t<=0?0:t>=1?1:Zt(0,n,o,1,t,l)&&Xt(0,r,a,1,l[0])}}}var he=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||s["L"],this.ondestroy=t.ondestroy||s["L"],this.onrestart=t.onrestart||s["L"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var i=this._life,n=t-this._startTime-this._pausedTime,r=n/i;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=n%i;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(s["w"])(t)?t:Bt[t]||ce(t)},t}(),de=he,pe=i("41ef"),fe=i("7a29"),ge=Array.prototype.slice;function me(t,e,i){return(e-t)*i+t}function ve(t,e,i,n){for(var r=e.length,o=0;o<r;o++)t[o]=me(e[o],i[o],n);return t}function ye(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=me(e[a][s],i[a][s],n)}return t}function be(t,e,i,n){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+i[o]*n;return t}function _e(t,e,i,n){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+i[a][s]*n}return t}function xe(t,e){for(var i=t.length,n=e.length,r=i>n?e:t,o=Math.min(i,n),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(i,n);s++)r.push({offset:a.offset,color:a.color.slice()})}function we(t,e,i){var n=t,r=e;if(n.push&&r.push){var o=n.length,a=r.length;if(o!==a){var s=o>a;if(s)n.length=a;else for(var l=o;l<a;l++)n.push(1===i?r[l]:ge.call(r[l]))}var u=n[0]&&n[0].length;for(l=0;l<n.length;l++)if(1===i)isNaN(n[l])&&(n[l]=r[l]);else for(var c=0;c<u;c++)isNaN(n[l][c])&&(n[l][c]=r[l][c])}}function Se(t){if(Object(s["u"])(t)){var e=t.length;if(Object(s["u"])(t[0])){for(var i=[],n=0;n<e;n++)i.push(ge.call(t[n]));return i}return ge.call(t)}return t}function Ce(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function ke(t){return Object(s["u"])(t&&t[0])?2:1}var Me=0,Oe=1,Te=2,Ae=3,Ie=4,Pe=5,Ee=6;function De(t){return t===Ie||t===Pe}function Le(t){return t===Oe||t===Te}var je=[0,0,0,0],Re=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,i){this._needsSort=!0;var n=this.keyframes,r=n.length,o=!1,a=Ee,l=e;if(Object(s["u"])(e)){var u=ke(e);a=u,(1===u&&!Object(s["z"])(e[0])||2===u&&!Object(s["z"])(e[0][0]))&&(o=!0)}else if(Object(s["z"])(e)&&!Object(s["l"])(e))a=Me;else if(Object(s["C"])(e))if(isNaN(+e)){var c=pe["g"](e);c&&(l=c,a=Ae)}else a=Me;else if(Object(s["x"])(e)){var h=Object(s["m"])({},l);h.colorStops=Object(s["H"])(e.colorStops,(function(t){return{offset:t.offset,color:pe["g"](t.color)}})),Object(fe["m"])(e)?a=Ie:Object(fe["o"])(e)&&(a=Pe),l=h}0===r?this.valType=a:a===this.valType&&a!==Ee||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:l,rawValue:e,percent:0};return i&&(d.easing=i,d.easingFunc=Object(s["w"])(i)?i:Bt[i]||ce(i)),n.push(d),d},t.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort((function(t,e){return t.time-e.time}));for(var n=this.valType,r=i.length,o=i[r-1],a=this.discrete,s=Le(n),l=De(n),u=0;u<r;u++){var c=i[u],h=c.value,d=o.value;c.percent=c.time/t,a||(s&&u!==r-1?we(h,d,n):l&&xe(h.colorStops,d.colorStops))}if(!a&&n!==Pe&&e&&this.needsAnimate()&&e.needsAnimate()&&n===e.valType&&!e._finished){this._additiveTrack=e;var p=i[0].value;for(u=0;u<r;u++)n===Me?i[u].additiveValue=i[u].value-p:n===Ae?i[u].additiveValue=be([],i[u].value,p,-1):Le(n)&&(i[u].additiveValue=n===Oe?be([],i[u].value,p,-1):_e([],i[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i,n,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,h=this.propName,d=l===Ae,p=this._lastFr,f=Math.min;if(1===c)n=r=u[0];else{if(e<0)i=0;else if(e<this._lastFrP){var g=f(p+1,c-1);for(i=g;i>=0;i--)if(u[i].percent<=e)break;i=f(i,c-2)}else{for(i=p;i<c;i++)if(u[i].percent>e)break;i=f(i-1,c-2)}r=u[i+1],n=u[i]}if(n&&r){this._lastFr=i,this._lastFrP=e;var m=r.percent-n.percent,v=0===m?1:f((e-n.percent)/m,1);r.easingFunc&&(v=r.easingFunc(v));var y=o?this._additiveValue:d?je:t[h];if(!Le(l)&&!d||y||(y=this._additiveValue=[]),this.discrete)t[h]=v<1?n.rawValue:r.rawValue;else if(Le(l))l===Oe?ve(y,n[a],r[a],v):ye(y,n[a],r[a],v);else if(De(l)){var b=n[a],_=r[a],x=l===Ie;t[h]={type:x?"linear":"radial",x:me(b.x,_.x,v),y:me(b.y,_.y,v),colorStops:Object(s["H"])(b.colorStops,(function(t,e){var i=_.colorStops[e];return{offset:me(t.offset,i.offset,v),color:Ce(ve([],t.color,i.color,v))}})),global:_.global},x?(t[h].x2=me(b.x2,_.x2,v),t[h].y2=me(b.y2,_.y2,v)):t[h].r=me(b.r,_.r,v)}else if(d)ve(y,n[a],r[a],v),o||(t[h]=Ce(y));else{var w=me(n[a],r[a],v);o?this._additiveValue=w:t[h]=w}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;e===Me?t[i]=t[i]+n:e===Ae?(pe["g"](t[i],je),be(je,je,n,1),t[i]=Ce(je)):e===Oe?be(t[i],t[i],n,1):e===Te&&_e(t[i],t[i],n,1)},t}(),Be=function(){function t(t,e,i,n){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?Object(s["G"])("Can' use additive animation on looped animation."):(this._additiveAnimators=n,this._allowDiscrete=i)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,i){return this.whenWithKeys(t,e,Object(s["F"])(e),i)},t.prototype.whenWithKeys=function(t,e,i,n){for(var r=this._tracks,o=0;o<i.length;o++){var a=i[o],s=r[a];if(!s){s=r[a]=new Re(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,u.valType===Ae&&l&&(l=Ce(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Se(l),n),this._trackKeys.push(a)}s.addKeyframe(t,Se(e[a]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i<e;i++)t[i].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var i=0;i<e.length;i++)e[i].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,i=0;i<e.length;i++)t[e[i]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,i=this._additiveAnimators;if(i)for(var n=0;n<i.length;n++){var r=i[n].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(n,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else i.push(a)}if(i.length||this._force){var h=new de({life:n,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var n=e._additiveAnimators;if(n){for(var r=!1,o=0;o<n.length;o++)if(n[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<i.length;o++)i[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(s["H"])(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var i=this._tracks,n=this._trackKeys,r=0;r<t.length;r++){var o=i[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<n.length;r++)if(!i[n[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,i){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var r=e[n],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[i?0:a.length-1];s&&(t[r]=Se(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(s["F"])(t);for(var i=0;i<e.length;i++){var n=e[i],r=this._tracks[n];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[n]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),Fe=Be;function Ne(){return(new Date).getTime()}var ze=function(t){function e(e){var i=t.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return u(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,i=t.next;e?e.next=i:this._head=i,i?i.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=Ne()-this._pausedTime,i=e-this._time,n=this._head;while(n){var r=n.next,o=n.step(e,i);o?(n.ondestroy(),this.removeClip(n),n=r):n=r}this._time=e,t||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(jt(e),!t._paused&&t.update())}this._running=!0,jt(e)},e.prototype.start=function(){this._running||(this._time=Ne(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Ne(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Ne()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var i=new Fe(t,e.loop);return this.addAnimator(i),i},e}(D),Ve=ze,qe=300,$e=a["a"].domSupported,He=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=s["H"](t,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:n}}(),Ge={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},We=!1;function Ue(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Ye(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function Xe(t){t&&(t.zrByTouch=!0)}function Ke(t,e){return K(t.dom,new Qe(t,e),!0)}function Ze(t,e){var i=e,n=!1;while(i&&9!==i.nodeType&&!(n=i.domBelongToZr||i!==e&&i===t.painterRoot))i=i.parentNode;return n}var Qe=function(){function t(t,e){this.stopPropagation=s["L"],this.stopImmediatePropagation=s["L"],this.preventDefault=s["L"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Je={mousedown:function(t){t=K(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=K(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=K(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=K(this.dom,t);var e=t.toElement||t.relatedTarget;Ze(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){We=!0,t=K(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){We||(t=K(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=K(this.dom,t),Xe(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Je.mousemove.call(this,t),Je.mousedown.call(this,t)},touchmove:function(t){t=K(this.dom,t),Xe(t),this.handler.processGesture(t,"change"),Je.mousemove.call(this,t)},touchend:function(t){t=K(this.dom,t),Xe(t),this.handler.processGesture(t,"end"),Je.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<qe&&Je.click.call(this,t)},pointerdown:function(t){Je.mousedown.call(this,t)},pointermove:function(t){Ue(t)||Je.mousemove.call(this,t)},pointerup:function(t){Je.mouseup.call(this,t)},pointerout:function(t){Ue(t)||Je.mouseout.call(this,t)}};s["k"](["click","dblclick","contextmenu"],(function(t){Je[t]=function(e){e=K(this.dom,e),this.trigger(t,e)}}));var ti={pointermove:function(t){Ue(t)||ti.mousemove.call(this,t)},pointerup:function(t){ti.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function ei(t,e){var i=e.domHandlers;a["a"].pointerEventsSupported?s["k"](He.pointer,(function(n){ni(e,n,(function(e){i[n].call(t,e)}))})):(a["a"].touchEventsSupported&&s["k"](He.touch,(function(n){ni(e,n,(function(r){i[n].call(t,r),Ye(e)}))})),s["k"](He.mouse,(function(n){ni(e,n,(function(r){r=X(r),e.touching||i[n].call(t,r)}))})))}function ii(t,e){function i(i){function n(n){n=X(n),Ze(t,n.target)||(n=Ke(t,n),e.domHandlers[i].call(t,n))}ni(e,i,n,{capture:!0})}a["a"].pointerEventsSupported?s["k"](Ge.pointer,i):a["a"].touchEventsSupported||s["k"](Ge.mouse,i)}function ni(t,e,i,n){t.mounted[e]=i,t.listenerOpts[e]=n,Q(t.domTarget,e,i,n)}function ri(t){var e=t.mounted;for(var i in e)e.hasOwnProperty(i)&&J(t.domTarget,i,e[i],t.listenerOpts[i]);t.mounted={}}var oi=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),ai=function(t){function e(e,i){var n=t.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=i,n._localHandlerScope=new oi(e,Je),$e&&(n._globalHandlerScope=new oi(document,ti)),ei(n,n._localHandlerScope),n}return u(e,t),e.prototype.dispose=function(){ri(this._localHandlerScope),$e&&ri(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,$e&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?ii(this,e):ri(e)}},e}(D),si=ai,li=1;a["a"].hasGlobalWindow&&(li=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ui=li,ci=.4,hi="#333",di="#ccc",pi="#eee";function fi(){return[1,0,0,1,0,0]}function gi(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function mi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function vi(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],o=e[0]*i[2]+e[2]*i[3],a=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function yi(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function bi(t,e,i){var n=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(i),c=Math.cos(i);return t[0]=n*c+a*u,t[1]=-n*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function _i(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t}function xi(t,e){var i=e[0],n=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=i*a-o*n;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-a*r)*l,t[5]=(o*r-i*s)*l,t):null}function wi(t){var e=fi();return mi(e,t),e}var Si=gi,Ci=5e-5;function ki(t){return t>Ci||t<-Ci}var Mi=[],Oi=[],Ti=fi(),Ai=Math.abs,Ii=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return ki(this.rotation)||ki(this.x)||ki(this.y)||ki(this.scaleX-1)||ki(this.scaleY-1)||ki(this.skewX)||ki(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),i=this.transform;e||t?(i=i||fi(),e?this.getLocalTransform(i):Si(i),t&&(e?vi(i,t,i):mi(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)):i&&Si(i)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Mi);var i=Mi[0]<0?-1:1,n=Mi[1]<0?-1:1,r=((Mi[0]-i)*e+i)/Mi[0]||0,o=((Mi[1]-n)*e+n)/Mi[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||fi(),xi(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=Math.atan2(t[1],t[0]),r=Math.PI/2+n-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-n,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=i,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(vi(Oi,t.invTransform,e),e=Oi);var i=this.originX,n=this.originY;(i||n)&&(Ti[4]=i,Ti[5]=n,vi(Oi,e,Ti),Oi[4]-=i,Oi[5]-=n,e=Oi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&M(i,i,n),i},t.prototype.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&M(i,i,n),i},t.prototype.getLineScale=function(){var t=this.transform;return t&&Ai(t[0]-1)>1e-10&&Ai(t[3]-1)>1e-10?Math.sqrt(Ai(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Ei(this,t)},t.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,n=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(i||n||a||s){var p=i+a,f=n+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&bi(e,e,l),e[4]+=i+u,e[5]+=n+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),Pi=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Ei(t,e){for(var i=0;i<Pi.length;i++){var n=Pi[i];t[n]=e[n]}}var Di=Ii,Li=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,i=this.y-t.y;return Math.sqrt(e*e+i*i)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,i=this.y-t.y;return e*e+i*i},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,i=this.y;return this.x=t[0]*e+t[2]*i+t[4],this.y=t[1]*e+t[3]*i+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,i){t.x=e,t.y=i},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,i){t.x=e.x+i.x,t.y=e.y+i.y},t.sub=function(t,e,i){t.x=e.x-i.x,t.y=e.y-i.y},t.scale=function(t,e,i){t.x=e.x*i,t.y=e.y*i},t.scaleAndAdd=function(t,e,i,n){t.x=e.x+i.x*n,t.y=e.y+i.y*n},t.lerp=function(t,e,i,n){var r=1-n;t.x=r*e.x+n*i.x,t.y=r*e.y+n*i.y},t}(),ji=Li,Ri=Math.min,Bi=Math.max,Fi=new ji,Ni=new ji,zi=new ji,Vi=new ji,qi=new ji,$i=new ji,Hi=function(){function t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}return t.prototype.union=function(t){var e=Ri(t.x,this.x),i=Ri(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Bi(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Bi(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,i=t.width/e.width,n=t.height/e.height,r=fi();return yi(r,r,[-e.x,-e.y]),_i(r,r,[i,n]),yi(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,i){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,r=n.x,o=n.x+n.width,a=n.y,s=n.y+n.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,d=!(o<l||u<r||s<c||h<a);if(i){var p=1/0,f=0,g=Math.abs(o-l),m=Math.abs(u-r),v=Math.abs(s-c),y=Math.abs(h-a),b=Math.min(g,m),_=Math.min(v,y);o<l||u<r?b>f&&(f=b,g<m?ji.set($i,-g,0):ji.set($i,m,0)):b<p&&(p=b,g<m?ji.set(qi,g,0):ji.set(qi,-m,0)),s<c||h<a?_>f&&(f=_,v<y?ji.set($i,0,-v):ji.set($i,0,y)):b<p&&(p=b,v<y?ji.set(qi,0,v):ji.set(qi,0,-y))}return i&&ji.copy(i,d?qi:$i),d},t.prototype.contain=function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,i,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],o=n[3],a=n[4],s=n[5];return e.x=i.x*r+a,e.y=i.y*o+s,e.width=i.width*r,e.height=i.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Fi.x=zi.x=i.x,Fi.y=Vi.y=i.y,Ni.x=Vi.x=i.x+i.width,Ni.y=zi.y=i.y+i.height,Fi.transform(n),Vi.transform(n),Ni.transform(n),zi.transform(n),e.x=Ri(Fi.x,Ni.x,zi.x,Vi.x),e.y=Ri(Fi.y,Ni.y,zi.y,Vi.y);var l=Bi(Fi.x,Ni.x,zi.x,Vi.x),u=Bi(Fi.y,Ni.y,zi.y,Vi.y);e.width=l-e.x,e.height=u-e.y}else e!==i&&t.copy(e,i)},t}(),Gi=Hi,Wi=i("d51b"),Ui=i("726e"),Yi={};function Xi(t,e){e=e||Ui["a"];var i=Yi[e];i||(i=Yi[e]=new Wi["a"](500));var n=i.get(t);return null==n&&(n=Ui["d"].measureText(t,e).width,i.put(t,n)),n}function Ki(t,e,i,n){var r=Xi(t,e),o=tn(e),a=Qi(0,r,i),s=Ji(0,o,n),l=new Gi(a,s,r,o);return l}function Zi(t,e,i,n){var r=((t||"")+"").split("\n"),o=r.length;if(1===o)return Ki(r[0],e,i,n);for(var a=new Gi(0,0,0,0),s=0;s<r.length;s++){var l=Ki(r[s],e,i,n);0===s?a.copy(l):a.union(l)}return a}function Qi(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function Ji(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function tn(t){return Xi("国",t)}function en(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function nn(t,e,i){var n=e.position||"inside",r=null!=e.distance?e.distance:5,o=i.height,a=i.width,s=o/2,l=i.x,u=i.y,c="left",h="top";if(n instanceof Array)l+=en(n[0],i.width),u+=en(n[1],i.height),c=null,h=null;else switch(n){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var rn="__zr_normal__",on=Pi.concat(["ignore"]),an=Object(s["N"])(Pi,(function(t,e){return t[e]=!0,t}),{ignore:!1}),sn={},ln=new Gi(0,0,0,0),un=function(){function t(t){this.id=Object(s["p"])(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=n?this:null;var l=!1;if(r.copyTransform(e),null!=i.position){var u=ln;i.layoutRect?u.copy(i.layoutRect):u.copy(this.getBoundingRect()),n||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(sn,i,u):nn(sn,i,u),r.x=sn.x,r.y=sn.y,o=sn.align,a=sn.verticalAlign;var c=i.origin;if(c&&null!=i.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=en(c[0],u.width),d=en(c[1],u.height)),l=!0,r.originX=-r.x+h+(n?0:u.x),r.originY=-r.y+d+(n?0:u.y)}}null!=i.rotation&&(r.rotation=i.rotation);var p=i.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==i.inside?"string"===typeof i.position&&i.position.indexOf("inside")>=0:i.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;f&&this.canBeInsideText()?(m=i.insideFill,v=i.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=i.outsideFill,v=i.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),m=m||"#000",m===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=Mt,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?di:hi},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i="string"===typeof e&&Object(pe["g"])(e);i||(i=[255,255,255,1]);for(var n=i[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(r?0:255)*(1-n);return i[3]=1,Object(pe["h"])(i,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(s["m"])(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(Object(s["A"])(t))for(var i=t,n=Object(s["F"])(i),r=0;r<n.length;r++){var o=n[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,i=0;i<this.animators.length;i++){var n=this.animators[i],r=n.__fromStateTransition;if(!(n.getLoop()||r&&r!==rn)){var o=n.targetName,a=o?e[o]:e;n.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,on)},t.prototype._savePrimaryToNormal=function(t,e,i){for(var n=0;n<i.length;n++){var r=i[n];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(rn,!1,t)},t.prototype.useState=function(t,e,i,n){var r=t===rn,o=this.hasState();if(o||!r){var a=this.currentStates,l=this.stateTransition;if(!(Object(s["r"])(a,t)>=0)||!e&&1!==a.length){var u;if(this.stateProxy&&!r&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),u||r){r||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!i&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,i,c),d&&d.useState(t,e,i,c),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mt),u}Object(s["G"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,i){if(t.length){var n=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&n.push(u)}var c=n[o-1],h=!!(c&&c.hoverLayer||i);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(n),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mt)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(s["r"])(this.currentStates,t);if(e>=0){var i=this.currentStates.slice();i.splice(e,1),this.useStates(i)}},t.prototype.replaceState=function(t,e,i){var n=this.currentStates.slice(),r=Object(s["r"])(n,t),o=Object(s["r"])(n,e)>=0;r>=0?o?n.splice(r,1):n[r]=e:i&&!o&&n.push(e),this.useStates(n)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,i={},n=0;n<t.length;n++){var r=t[n];Object(s["m"])(i,r),r.textConfig&&(e=e||{},Object(s["m"])(e,r.textConfig))}return e&&(i.textConfig=e),i},t.prototype._applyStateObj=function(t,e,i,n,r,o){var a=!(e&&n);e&&e.textConfig?(this.textConfig=Object(s["m"])({},n?this.textConfig:i.textConfig),Object(s["m"])(this.textConfig,e.textConfig)):a&&i.textConfig&&(this.textConfig=i.textConfig);for(var l={},u=!1,c=0;c<on.length;c++){var h=on[c],d=r&&an[h];e&&null!=e[h]?d?(u=!0,l[h]=e[h]):this[h]=e[h]:a&&null!=i[h]&&(d?(u=!0,l[h]=i[h]):this[h]=i[h])}if(!r)for(c=0;c<this.animators.length;c++){var p=this.animators[c],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(e||i)[f]:e||i)}u&&this._transitionState(t,l,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Di,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(s["m"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=Mt;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,i=this._textGuide;e&&(e.__inHover=t),i&&(i.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.addAnimator(e[i]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e.length;i++)t.animation.removeAnimator(e[i]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,i){var n=t?this[t]:this;var r=new Fe(n,e,i);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var i=this.__zr,n=this;t.during((function(){n.updateDuringAnimation(e)})).done((function(){var e=n.animators,i=Object(s["r"])(e,t);i>=0&&e.splice(i,1)})),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var i=this.animators,n=i.length,r=[],o=0;o<n;o++){var a=i[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,i){cn(this,t,e,i)},t.prototype.animateFrom=function(t,e,i){cn(this,t,e,i,!0)},t.prototype._transitionState=function(t,e,i,n){for(var r=cn(this,e,i,n),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Mt;function i(t,i,n,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[i]){var t=this[i]=[];o(this,t)}return this[i]},set:function(t){this[n]=t[0],this[r]=t[1],this[i]=t,o(this,t)}})}Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function cn(t,e,i,n,r){i=i||{};var o=[];mn(t,"",t,e,i,n,o,r);var a=o.length,s=!1,l=i.done,u=i.aborted,c=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},h=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&i.during&&o[0].during((function(t,e){i.during(e)}));for(var d=0;d<o.length;d++){var p=o[d];c&&p.done(c),h&&p.aborted(h),i.force&&p.duration(i.duration),p.start(i.easing)}return o}function hn(t,e,i){for(var n=0;n<i;n++)t[n]=e[n]}function dn(t){return Object(s["u"])(t[0])}function pn(t,e,i){if(Object(s["u"])(e[i]))if(Object(s["u"])(t[i])||(t[i]=[]),Object(s["E"])(e[i])){var n=e[i].length;t[i].length!==n&&(t[i]=new e[i].constructor(n),hn(t[i],e[i],n))}else{var r=e[i],o=t[i],a=r.length;if(dn(r))for(var l=r[0].length,u=0;u<a;u++)o[u]?hn(o[u],r[u],l):o[u]=Array.prototype.slice.call(r[u]);else hn(o,r,a);o.length=r.length}else t[i]=e[i]}function fn(t,e){return t===e||Object(s["u"])(t)&&Object(s["u"])(e)&&gn(t,e)}function gn(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function mn(t,e,i,n,r,o,a,l){for(var u=Object(s["F"])(n),c=r.duration,h=r.delay,d=r.additive,p=r.setToFinal,f=!Object(s["A"])(o),g=t.animators,m=[],v=0;v<u.length;v++){var y=u[v],b=n[y];if(null!=b&&null!=i[y]&&(f||o[y]))if(!Object(s["A"])(b)||Object(s["u"])(b)||Object(s["x"])(b))m.push(y);else{if(e){l||(i[y]=b,t.updateDuringAnimation(e));continue}mn(t,y,i[y],b,r,o&&o[y],a,l)}else l||(i[y]=b,t.updateDuringAnimation(e),m.push(y))}var _=m.length;if(!d&&_)for(var x=0;x<g.length;x++){var w=g[x];if(w.targetName===e){var S=w.stopTracks(m);if(S){var C=Object(s["r"])(g,w);g.splice(C,1)}}}if(r.force||(m=Object(s["n"])(m,(function(t){return!fn(n[t],i[t])})),_=m.length),_>0||r.force&&!a.length){var k=void 0,M=void 0,O=void 0;if(l){M={},p&&(k={});for(x=0;x<_;x++){y=m[x];M[y]=i[y],p?k[y]=n[y]:i[y]=n[y]}}else if(p){O={};for(x=0;x<_;x++){y=m[x];O[y]=Se(i[y]),pn(i,n,y)}}w=new Fe(i,!1,!1,d?Object(s["n"])(g,(function(t){return t.targetName===e})):null);w.targetName=e,r.scope&&(w.scope=r.scope),p&&k&&w.whenWithKeys(0,k,m),O&&w.whenWithKeys(0,O,m),w.whenWithKeys(null==c?500:c,l?M:n,m).delay(h||0),t.addAnimator(w,e),a.push(w)}}Object(s["K"])(un,D),Object(s["K"])(un,Di);var vn=un,yn=function(t){function e(e){var i=t.call(this)||this;return i.isGroup=!0,i._children=[],i.attr(e),i}return u(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,i=0;i<e.length;i++)if(e[i].name===t)return e[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var i=this._children,n=i.indexOf(e);n>=0&&(i.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var i=s["r"](this._children,t);return i>=0&&this.replaceAt(e,i),this},e.prototype.replaceAt=function(t,e){var i=this._children,n=i[e];if(t&&t!==this&&t.parent!==this&&t!==n){i[e]=t,n.parent=null;var r=this.__zr;r&&n.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,i=this._children,n=s["r"](i,t);return n<0||(i.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i<t.length;i++){var n=t[i];e&&n.removeSelfFromZr(e),n.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var i=this._children,n=0;n<i.length;n++){var r=i[n];t.call(e,r,n)}return this},e.prototype.traverse=function(t,e){for(var i=0;i<this._children.length;i++){var n=this._children[i],r=t.call(e,n);n.isGroup&&!r&&n.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++){var n=this._children[i];n.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++){var n=this._children[i];n.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Gi(0,0,0,0),i=t||this._children,n=[],r=null,o=0;o<i.length;o++){var a=i[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(n);l?(Gi.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(vn);yn.prototype.type="group";var bn=yn,_n={},xn={};
  34. /*!
  35. * ZRender, a high performance 2d drawing library.
  36. *
  37. * Copyright (c) 2013, Baidu Inc.
  38. * All rights reserved.
  39. *
  40. * LICENSE
  41. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  42. */function wn(t){delete xn[t]}function Sn(t){if(!t)return!1;if("string"===typeof t)return Object(pe["d"])(t,1)<ci;if(t.colorStops){for(var e=t.colorStops,i=0,n=e.length,r=0;r<n;r++)i+=Object(pe["d"])(e[r].color,1);return i/=n,i<ci}return!1}var Cn=function(){function t(t,e,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var r=new Lt,o=i.renderer||"canvas";_n[o]||(o=s["F"](_n)[0]),i.useDirtyRect=null!=i.useDirtyRect&&i.useDirtyRect;var l=new _n[o](e,r,i,t),u=i.ssr||l.ssrOnly;this.storage=r,this.painter=l;var c=a["a"].node||a["a"].worker||u?null:new si(l.getViewportRoot(),l.root);this.handler=new gt(r,l,c,l.root),this.animation=new Ve({stage:{update:u?null:function(){return n._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Sn(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,i=Ne();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=Ne();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,i){return this.handler.on(t,e,i),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof bn&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,wn(this.id)},t}();function kn(t,e){var i=new Cn(s["p"](),t,e);return xn[i.id]=i,i}function Mn(t,e){_n[t]=e}var On=1e-4,Tn=20;function An(t){return t.replace(/^\s+|\s+$/g,"")}function In(t,e,i,n){var r=e[0],o=e[1],a=i[0],s=i[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(n)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Pn(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return s["C"](t)?An(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function En(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),Tn),t=(+t).toFixed(e),i?t:+t}function Dn(t){return t.sort((function(t,e){return t-e})),t}function Ln(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,i=0;i<15;i++,e*=10)if(Math.round(t*e)/e===t)return i;return jn(t)}function jn(t){var e=t.toString().toLowerCase(),i=e.indexOf("e"),n=i>0?+e.slice(i+1):0,r=i>0?i:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-n)}function Rn(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),o=Math.round(i(Math.abs(e[1]-e[0]))/n),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Bn(t,e,i){if(!t[e])return 0;var n=s["N"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return 0;var r=Math.pow(10,i),o=s["H"](t,(function(t){return(isNaN(t)?0:t)/n*r*100})),a=100*r,l=s["H"](o,(function(t){return Math.floor(t)})),u=s["N"](l,(function(t,e){return t+e}),0),c=s["H"](o,(function(t,e){return t-l[e]}));while(u<a){for(var h=Number.NEGATIVE_INFINITY,d=null,p=0,f=c.length;p<f;++p)c[p]>h&&(h=c[p],d=p);++l[d],c[d]=0,++u}return l[e]/r}function Fn(t,e){var i=Math.max(Ln(t),Ln(e)),n=t+e;return i>Tn?n:En(n,i)}var Nn=9007199254740991;function zn(t){var e=2*Math.PI;return(t%e+e)%e}function Vn(t){return t>-On&&t<On}var qn=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function $n(t){if(t instanceof Date)return t;if(s["C"](t)){var e=qn.exec(t);if(!e)return new Date(NaN);if(e[8]){var i=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(i-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,i,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function Hn(t){return Math.pow(10,Gn(t))}function Gn(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function Wn(t,e){var i,n=Gn(t),r=Math.pow(10,n),o=t/r;return i=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=i*r,n>=-20?+t.toFixed(n<0?-n:0):t}function Un(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],o=i-n;return o?r+o*(t[n]-r):r}function Yn(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n<t.length;){for(var r=t[n].interval,o=t[n].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-i),e=r[a],i=o[a];r[0]===r[1]&&o[0]*o[1]!==1?t.splice(n,1):n++}return t;function s(t,e,i){return t.interval[i]<e.interval[i]||t.interval[i]===e.interval[i]&&(t.close[i]-e.close[i]===(i?-1:1)||!i&&s(t,e,1))}}function Xn(t){var e=parseFloat(t);return e==t&&(0!==e||!s["C"](t)||t.indexOf("x")<=0)?e:NaN}function Kn(t){return!isNaN(Xn(t))}function Zn(){return Math.round(9*Math.random())}function Qn(t,e){return 0===e?t:Qn(e,t%e)}function Jn(t,e){return null==t?e:null==e?t:t*e/Qn(t,e)}function tr(t,e,i){return(e-t)*i+t}var er="series\0",ir="\0_ec_\0";function nr(t){return t instanceof Array?t:null==t?[]:[t]}function rr(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,r=i.length;n<r;n++){var o=i[n];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var or=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function ar(t){return!Object(s["A"])(t)||Object(s["t"])(t)||t instanceof Date?t:t.value}function sr(t){return Object(s["A"])(t)&&!(t instanceof Array)}function lr(t,e,i){var n="normalMerge"===i,r="replaceMerge"===i,o="replaceAll"===i;t=t||[],e=(e||[]).slice();var a=Object(s["f"])();Object(s["k"])(e,(function(t,i){Object(s["A"])(t)||(e[i]=null)}));var l=ur(t,a,i);return(n||r)&&cr(l,t,a,e),n&&hr(l,e),n||r?dr(l,e,r):o&&pr(l,e),fr(l),l}function ur(t,e,i){var n=[];if("replaceAll"===i)return n;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),n.push({existing:"replaceMerge"===i||br(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return n}function cr(t,e,i,n){Object(s["k"])(n,(function(r,o){if(r&&null!=r.id){var a=mr(r.id),l=i.get(a);if(null!=l){var u=t[l];Object(s["b"])(!u.newOption,'Duplicated option on id "'+a+'".'),u.newOption=r,u.existing=e[l],n[o]=null}}}))}function hr(t,e){Object(s["k"])(e,(function(i,n){if(i&&null!=i.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==i.id)&&!br(i)&&!br(o)&&gr("name",o,i))return t[r].newOption=i,void(e[n]=null)}}))}function dr(t,e,i){Object(s["k"])(e,(function(e){if(e){var n,r=0;while((n=t[r])&&(n.newOption||br(n.existing)||n.existing&&null!=e.id&&!gr("id",e,n.existing)))r++;n?(n.newOption=e,n.brandNew=i):t.push({newOption:e,brandNew:i,existing:null,keyInfo:null}),r++}}))}function pr(t,e){Object(s["k"])(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function fr(t){var e=Object(s["f"])();Object(s["k"])(t,(function(t){var i=t.existing;i&&e.set(i.id,t)})),Object(s["k"])(t,(function(t){var i=t.newOption;Object(s["b"])(!i||null==i.id||!e.get(i.id)||e.get(i.id)===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&e.set(i.id,t),!t.keyInfo&&(t.keyInfo={})})),Object(s["k"])(t,(function(t,i){var n=t.existing,r=t.newOption,o=t.keyInfo;if(Object(s["A"])(r)){if(o.name=null!=r.name?mr(r.name):n?n.name:er+i,n)o.id=mr(n.id);else if(null!=r.id)o.id=mr(r.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(e.get(o.id))}e.set(o.id,t)}}))}function gr(t,e,i){var n=vr(e[t],null),r=vr(i[t],null);return null!=n&&null!=r&&n===r}function mr(t){return vr(t,"")}function vr(t,e){return null==t?e:Object(s["C"])(t)?t:Object(s["z"])(t)||Object(s["D"])(t)?t+"":e}function yr(t){var e=t.name;return!(!e||!e.indexOf(er))}function br(t){return t&&null!=t.id&&0===mr(t.id).indexOf(ir)}function _r(t){return ir+t}function xr(t,e,i){Object(s["k"])(t,(function(t){var n=t.newOption;Object(s["A"])(n)&&(t.keyInfo.mainType=e,t.keyInfo.subType=wr(e,n,t.existing,i))}))}function wr(t,e,i,n){var r=e.type?e.type:i?i.subType:n.determineSubType(t,e);return r}function Sr(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[o(i),o(n)];function r(t,e,i){for(var n=0,r=t.length;n<r;n++){var o=vr(t[n].seriesId,null);if(null==o)return;for(var a=nr(t[n].dataIndex),s=i&&i[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var i=[];for(var n in t)if(t.hasOwnProperty(n)&&null!=t[n])if(e)i.push(+n);else{var r=o(t[n],!0);r.length&&i.push({seriesId:n,dataIndex:r})}return i}}function Cr(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Object(s["t"])(e.dataIndex)?Object(s["H"])(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Object(s["t"])(e.name)?Object(s["H"])(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function kr(){var t="__ec_inner_"+Mr++;return function(e){return e[t]||(e[t]={})}}var Mr=Zn();function Or(t,e,i){var n=Tr(e,i),r=n.mainTypeSpecified,o=n.queryOptionMap,a=n.others,s=a,l=i?i.defaultMainType:null;return!r&&l&&o.set(l,{}),o.each((function(e,n){var r=Pr(t,n,e,{useDefault:l===n,enableAll:!i||null==i.enableAll||i.enableAll,enableNone:!i||null==i.enableNone||i.enableNone});s[n+"Models"]=r.models,s[n+"Model"]=r.models[0]})),s}function Tr(t,e){var i;if(Object(s["C"])(t)){var n={};n[t+"Index"]=0,i=n}else i=t;var r=Object(s["f"])(),o={},a=!1;return Object(s["k"])(i,(function(t,i){if("dataIndex"!==i&&"dataIndexInside"!==i){var n=i.match(/^(\w+)(Index|Id|Name)$/)||[],l=n[1],u=(n[2]||"").toLowerCase();if(l&&u&&!(e&&e.includeMainTypes&&Object(s["r"])(e.includeMainTypes,l)<0)){a=a||!!l;var c=r.get(l)||r.set(l,{});c[u]=t}}else o[i]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Ar={useDefault:!0,enableAll:!1,enableNone:!1},Ir={useDefault:!1,enableAll:!0,enableNone:!0};function Pr(t,e,i,n){n=n||Ar;var r=i.index,o=i.id,a=i.name,l={models:null,specified:null!=r||null!=o||null!=a};if(!l.specified){var u=void 0;return l.models=n.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===r||!1===r?(Object(s["b"])(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===r&&(Object(s["b"])(n.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),l.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),l)}function Er(t,e,i){t.setAttribute?t.setAttribute(e,i):t[e]=i}function Dr(t){return"auto"===t?a["a"].domSupported?"html":"richText":t||"html"}function Lr(t,e){var i=Object(s["f"])(),n=[];return Object(s["k"])(t,(function(t){var r=e(t);(i.get(r)||(n.push(r),i.set(r,[]))).push(t)})),{keys:n,buckets:i}}function jr(t,e,i,n,r){var o=null==e||"auto"===e;if(null==n)return n;if(Object(s["z"])(n)){var a=tr(i||0,n,r);return En(a,o?Math.max(Ln(i||0),Ln(n)):e)}if(Object(s["C"])(n))return r<1?i:n;for(var l=[],u=i,c=n,h=Math.max(u?u.length:0,c.length),d=0;d<h;++d){var p=t.getDimensionInfo(d);if(p&&"ordinal"===p.type)l[d]=(r<1&&u?u:c)[d];else{var f=u&&u[d]?u[d]:0,g=c[d];a=tr(f,g,r);l[d]=En(a,o?Math.max(Ln(f),Ln(g)):e)}}return l}var Rr=".",Br="___EC__COMPONENT__CONTAINER___",Fr="___EC__EXTENDED_CLASS___";function Nr(t){var e={main:"",sub:""};if(t){var i=t.split(Rr);e.main=i[0]||"",e.sub=i[1]||""}return e}function zr(t){s["b"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function Vr(t){return!(!t||!t[Fr])}function qr(t,e){t.$constructor=t,t.extend=function(t){var e,i=this;return $r(i)?e=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},s["s"](e,this)),s["m"](e.prototype,t),e[Fr]=!0,e.extend=this.extend,e.superCall=Ur,e.superApply=Yr,e.superClass=i,e}}function $r(t){return s["w"](t)&&/^class\s/.test(Function.prototype.toString.call(t))}function Hr(t,e){t.extend=e.extend}var Gr=Math.round(10*Math.random());function Wr(t){var e=["__\0is_clz",Gr++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Ur(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,i)}function Yr(t,e,i){return this.superClass.prototype[e].apply(t,i)}function Xr(t){var e={};function i(t){var i=e[t.main];return i&&i[Br]||(i=e[t.main]={},i[Br]=!0),i}t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){zr(n),t.prototype.type=n;var r=Nr(n);if(r.sub){if(r.sub!==Br){var o=i(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,i,n){var r=e[t];if(r&&r[Br]&&(r=i?r[i]:null),n&&!r)throw new Error(i?"Component "+t+"."+(i||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var i=Nr(t),n=[],r=e[i.main];return r&&r[Br]?s["k"](r,(function(t,e){e!==Br&&n.push(t)})):n.push(r),n},t.hasClass=function(t){var i=Nr(t);return!!e[i.main]},t.getAllClassMainTypes=function(){var t=[];return s["k"](e,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){var i=Nr(t),n=e[i.main];return n&&n[Br]}}function Kr(t,e){for(var i=0;i<t.length;i++)t[i][1]||(t[i][1]=t[i][0]);return e=e||!1,function(i,n,r){for(var o={},a=0;a<t.length;a++){var l=t[a][1];if(!(n&&s["r"](n,l)>=0||r&&s["r"](r,l)<0)){var u=i.getShallow(l,e);null!=u&&(o[t[a][0]]=u)}}return o}}var Zr=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Qr=Kr(Zr),Jr=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Qr(this,t,e)},t}(),to=new Wi["a"](50);function eo(t){if("string"===typeof t){var e=to.get(t);return e&&e.image}return t}function io(t,e,i,n,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var o=to.get(t),a={hostEl:i,cb:n,cbPayload:r};return o?(e=o.image,!ro(e)&&o.pending.push(a)):(e=Ui["d"].loadImage(t,no,no),e.__zrImageSrc=t,to.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function no(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var i=t.pending[e],n=i.cb;n&&n(this,i.cbPayload),i.hostEl.dirty()}t.pending.length=0}function ro(t){return t&&t.width&&t.height}var oo=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function ao(t,e,i,n,r){if(!e)return"";var o=(t+"").split("\n");r=so(e,i,n,r);for(var a=0,s=o.length;a<s;a++)o[a]=lo(o[a],r);return o.join("\n")}function so(t,e,i,n){n=n||{};var r=Object(s["m"])({},n);r.font=e,i=Object(s["P"])(i,"..."),r.maxIterations=Object(s["P"])(n.maxIterations,2);var o=r.minChar=Object(s["P"])(n.minChar,0);r.cnCharWidth=Xi("国",e);var a=r.ascCharWidth=Xi("a",e);r.placeholder=Object(s["P"])(n.placeholder,"");for(var l=t=Math.max(0,t-1),u=0;u<o&&l>=a;u++)l-=a;var c=Xi(i,e);return c>l&&(i="",c=0),l=t-c,r.ellipsis=i,r.ellipsisWidth=c,r.contentWidth=l,r.containerWidth=t,r}function lo(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var o=Xi(t,n);if(o<=i)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?uo(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=Xi(t,n)}return""===t&&(t=e.placeholder),t}function uo(t,e,i,n){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?i:n}return o}function co(t,e){null!=t&&(t+="");var i,n=e.overflow,r=e.padding,o=e.font,a="truncate"===n,l=tn(o),u=Object(s["P"])(e.lineHeight,l),c=!!e.backgroundColor,h="truncate"===e.lineOverflow,d=e.width;i=null==d||"break"!==n&&"breakAll"!==n?t?t.split("\n"):[]:t?_o(t,e.font,d,"breakAll"===n,0).lines:[];var p=i.length*u,f=Object(s["P"])(e.height,p);if(p>f&&h){var g=Math.floor(f/u);i=i.slice(0,g)}if(t&&a&&null!=d)for(var m=so(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v<i.length;v++)i[v]=lo(i[v],m);var y=f,b=0;for(v=0;v<i.length;v++)b=Math.max(Xi(i[v],o),b);null==d&&(d=b);var _=b;return r&&(y+=r[0]+r[2],_+=r[1]+r[3],d+=r[1]+r[3]),c&&(_=d),{lines:i,height:f,outerWidth:_,outerHeight:y,lineHeight:u,calculatedLineHeight:l,contentWidth:b,contentHeight:p,width:d}}var ho=function(){function t(){}return t}(),po=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),fo=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function go(t,e){var i=new fo;if(null!=t&&(t+=""),!t)return i;var n,r=e.width,o=e.height,a=e.overflow,l="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},u=oo.lastIndex=0;while(null!=(n=oo.exec(t))){var c=n.index;c>u&&mo(i,t.substring(u,c),e,l),mo(i,n[2],e,l,n[1]),u=oo.lastIndex}u<t.length&&mo(i,t.substring(u,t.length),e,l);var h=[],d=0,p=0,f=e.padding,g="truncate"===a,m="truncate"===e.lineOverflow;function v(t,e,i){t.width=e,t.lineHeight=i,d+=i,p=Math.max(p,e)}t:for(var y=0;y<i.lines.length;y++){for(var b=i.lines[y],_=0,x=0,w=0;w<b.tokens.length;w++){var S=b.tokens[w],C=S.styleName&&e.rich[S.styleName]||{},k=S.textPadding=C.padding,M=k?k[1]+k[3]:0,O=S.font=C.font||e.font;S.contentHeight=tn(O);var T=Object(s["P"])(C.height,S.contentHeight);if(S.innerHeight=T,k&&(T+=k[0]+k[2]),S.height=T,S.lineHeight=Object(s["Q"])(C.lineHeight,e.lineHeight,T),S.align=C&&C.align||e.align,S.verticalAlign=C&&C.verticalAlign||"middle",m&&null!=o&&d+S.lineHeight>o){w>0?(b.tokens=b.tokens.slice(0,w),v(b,x,_),i.lines=i.lines.slice(0,y+1)):i.lines=i.lines.slice(0,y);break t}var A=C.width,I=null==A||"auto"===A;if("string"===typeof A&&"%"===A.charAt(A.length-1))S.percentWidth=A,h.push(S),S.contentWidth=Xi(S.text,O);else{if(I){var P=C.backgroundColor,E=P&&P.image;E&&(E=eo(E),ro(E)&&(S.width=Math.max(S.width,E.width*T/E.height)))}var D=g&&null!=r?r-x:null;null!=D&&D<S.width?!I||D<M?(S.text="",S.width=S.contentWidth=0):(S.text=ao(S.text,D-M,O,e.ellipsis,{minChar:e.truncateMinChar}),S.width=S.contentWidth=Xi(S.text,O)):S.contentWidth=Xi(S.text,O)}S.width+=M,x+=S.width,C&&(_=Math.max(_,S.lineHeight))}v(b,x,_)}i.outerWidth=i.width=Object(s["P"])(r,p),i.outerHeight=i.height=Object(s["P"])(o,d),i.contentHeight=d,i.contentWidth=p,f&&(i.outerWidth+=f[1]+f[3],i.outerHeight+=f[0]+f[2]);for(y=0;y<h.length;y++){S=h[y];var L=S.percentWidth;S.width=parseInt(L,10)/100*i.width}return i}function mo(t,e,i,n,r){var o,a,s=""===e,l=r&&i.rich[r]||{},u=t.lines,c=l.font||i.font,h=!1;if(n){var d=l.padding,p=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var f=en(l.width,n.width)+p;u.length>0&&f+n.accumWidth>n.width&&(o=e.split("\n"),h=!0),n.accumWidth=f}else{var g=_o(e,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var v=o[m],y=new ho;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,"number"===typeof l.width?y.width=l.width:y.width=a?a[m]:Xi(v,c),m||h)u.push(new po([y]));else{var b=(u[u.length-1]||(u[0]=new po)).tokens,_=b.length;1===_&&b[0].isLineHolder?b[0]=y:(v||!_||s)&&b.push(y)}}}function vo(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var yo=Object(s["N"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function bo(t){return!vo(t)||!!yo[t]}function _o(t,e,i,n,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var p=Xi(d,e),f=!n&&!bo(d);(o.length?c+p>i:r+c+p>i)?c?(s||l)&&(f?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=d,u+=p,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(c+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var xo="__zr_style_"+Math.round(10*Math.random()),wo={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},So={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};wo[xo]=!0;var Co=["z","z2","invisible"],ko=["invisible"],Mo=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype._init=function(e){for(var i=Object(s["F"])(e),n=0;n<i.length;n++){var r=i[n];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,i,n){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&Ao(this,t,e)||r&&!r[0]&&!r[3])return!1;if(i&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(n&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,i=this.getBoundingRect(),n=this.style,r=n.shadowBlur||0,o=n.shadowOffsetX||0,a=n.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Gi(0,0,0,0)),e?Gi.applyTransform(t,i,e):t.copy(i),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Gi(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,i){"style"!==e?t.prototype.attrKV.call(this,e,i):this.style?this.setStyle(i):this.useStyle(i)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:Object(s["m"])(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=Ot,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&Ot)},e.prototype.styleUpdated=function(){this.__dirty&=~Ot},e.prototype.createStyle=function(t){return Object(s["g"])(wo,t)},e.prototype.useStyle=function(t){t[xo]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[xo]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.style&&!i.style&&(i.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,i,Co)},e.prototype._applyStateObj=function(e,i,n,r,o,a){t.prototype._applyStateObj.call(this,e,i,n,r,o,a);var l,u=!(i&&r);if(i&&i.style?o?r?l=i.style:(l=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(l,i.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:n.style),this._mergeStyle(l,i.style)):u&&(l=n.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var h=Object(s["F"])(c),d=0;d<h.length;d++){var p=h[d];p in l&&(l[p]=l[p],this.style[p]=c[p])}var f=Object(s["F"])(l);for(d=0;d<f.length;d++){p=f[d];this.style[p]=this.style[p]}this._transitionState(e,{style:l},a,this.getAnimationStyleProps())}else this.useStyle(l);var g=this.__inHover?ko:Co;for(d=0;d<g.length;d++){p=g[d];i&&null!=i[p]?this[p]=i[p]:u&&null!=n[p]&&(this[p]=n[p])}},e.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},e.prototype._mergeStyle=function(t,e){return Object(s["m"])(t,e),t},e.prototype.getAnimationStyleProps=function(){return So},e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=Mt|Ot}(),e}(vn),Oo=new Gi(0,0,0,0),To=new Gi(0,0,0,0);function Ao(t,e,i){return Oo.copy(t.getBoundingRect()),t.transform&&Oo.applyTransform(t.transform),To.width=e,To.height=i,!Oo.intersect(To)}var Io=Mo,Po=Math.min,Eo=Math.max,Do=Math.sin,Lo=Math.cos,jo=2*Math.PI,Ro=c(),Bo=c(),Fo=c();function No(t,e,i){if(0!==t.length){for(var n=t[0],r=n[0],o=n[0],a=n[1],s=n[1],l=1;l<t.length;l++)n=t[l],r=Po(r,n[0]),o=Eo(o,n[0]),a=Po(a,n[1]),s=Eo(s,n[1]);e[0]=r,e[1]=a,i[0]=o,i[1]=s}}function zo(t,e,i,n,r,o){r[0]=Po(t,i),r[1]=Po(e,n),o[0]=Eo(t,i),o[1]=Eo(e,n)}var Vo=[],qo=[];function $o(t,e,i,n,r,o,a,s,l,u){var c=Qt,h=Xt,d=c(t,i,r,a,Vo);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<d;p++){var f=h(t,i,r,a,Vo[p]);l[0]=Po(f,l[0]),u[0]=Eo(f,u[0])}d=c(e,n,o,s,qo);for(p=0;p<d;p++){var g=h(e,n,o,s,qo[p]);l[1]=Po(g,l[1]),u[1]=Eo(g,u[1])}l[0]=Po(t,l[0]),u[0]=Eo(t,u[0]),l[0]=Po(a,l[0]),u[0]=Eo(a,u[0]),l[1]=Po(e,l[1]),u[1]=Eo(e,u[1]),l[1]=Po(s,l[1]),u[1]=Eo(s,u[1])}function Ho(t,e,i,n,r,o,a,s){var l=oe,u=ie,c=Eo(Po(l(t,i,r),1),0),h=Eo(Po(l(e,n,o),1),0),d=u(t,i,r,c),p=u(e,n,o,h);a[0]=Po(t,r,d),a[1]=Po(e,o,p),s[0]=Eo(t,r,d),s[1]=Eo(e,o,p)}function Go(t,e,i,n,r,o,a,s,l){var u=O,c=T,h=Math.abs(r-o);if(h%jo<1e-4&&h>1e-4)return s[0]=t-i,s[1]=e-n,l[0]=t+i,void(l[1]=e+n);if(Ro[0]=Lo(r)*i+t,Ro[1]=Do(r)*n+e,Bo[0]=Lo(o)*i+t,Bo[1]=Do(o)*n+e,u(s,Ro,Bo),c(l,Ro,Bo),r%=jo,r<0&&(r+=jo),o%=jo,o<0&&(o+=jo),r>o&&!a?o+=jo:r<o&&a&&(r+=jo),a){var d=o;o=r,r=d}for(var p=0;p<o;p+=Math.PI/2)p>r&&(Fo[0]=Lo(p)*i+t,Fo[1]=Do(p)*n+e,u(s,Fo,s),c(l,Fo,l))}var Wo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Uo=[],Yo=[],Xo=[],Ko=[],Zo=[],Qo=[],Jo=Math.min,ta=Math.max,ea=Math.cos,ia=Math.sin,na=Math.abs,ra=Math.PI,oa=2*ra,aa="undefined"!==typeof Float32Array,sa=[];function la(t){var e=Math.round(t/ra*1e8)/1e8;return e%2*ra}function ua(t,e){var i=la(t[0]);i<0&&(i+=oa);var n=i-t[0],r=t[1];r+=n,!e&&r-i>=oa?r=i+oa:e&&i-r>=oa?r=i-oa:!e&&i>r?r=i+(oa-la(i-r)):e&&i<r&&(r=i-(oa-la(r-i))),t[0]=i,t[1]=r}var ca=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,i){i=i||0,i>0&&(this._ux=na(i/ui/t)||0,this._uy=na(i/ui/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Wo.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var i=na(t-this._xi),n=na(e-this._yi),r=i>this._ux||n>this._uy;if(this.addData(Wo.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=i*i+n*n;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,i,n,r,o){return this._drawPendingPt(),this.addData(Wo.C,t,e,i,n,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,i,n,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,i,n){return this._drawPendingPt(),this.addData(Wo.Q,t,e,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,i,n),this._xi=i,this._yi=n,this},t.prototype.arc=function(t,e,i,n,r,o){this._drawPendingPt(),sa[0]=n,sa[1]=r,ua(sa,o),n=sa[0],r=sa[1];var a=r-n;return this.addData(Wo.A,t,e,i,i,n,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,o),this._xi=ea(r)*i+t,this._yi=ia(r)*i+e,this},t.prototype.arcTo=function(t,e,i,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},t.prototype.rect=function(t,e,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,i,n),this.addData(Wo.R,t,e,i,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Wo.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&t.closePath(),this._xi=e,this._yi=i,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!aa||(this.data=new Float32Array(e));for(var i=0;i<e;i++)this.data[i]=t[i];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,i=0,n=this._len,r=0;r<e;r++)i+=t[r].len();aa&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[n++]=o[a];this._len=n},t.prototype.addData=function(t,e,i,n,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,aa&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Xo[0]=Xo[1]=Zo[0]=Zo[1]=Number.MAX_VALUE,Ko[0]=Ko[1]=Qo[0]=Qo[1]=-Number.MAX_VALUE;var t,e=this.data,i=0,n=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(i=e[t],n=e[t+1],r=i,o=n),a){case Wo.M:i=r=e[t++],n=o=e[t++],Zo[0]=r,Zo[1]=o,Qo[0]=r,Qo[1]=o;break;case Wo.L:zo(i,n,e[t],e[t+1],Zo,Qo),i=e[t++],n=e[t++];break;case Wo.C:$o(i,n,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Zo,Qo),i=e[t++],n=e[t++];break;case Wo.Q:Ho(i,n,e[t++],e[t++],e[t],e[t+1],Zo,Qo),i=e[t++],n=e[t++];break;case Wo.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],d=e[t++],p=e[t++]+d;t+=1;var f=!e[t++];s&&(r=ea(d)*c+l,o=ia(d)*h+u),Go(l,u,c,h,d,p,f,Zo,Qo),i=ea(p)*c+l,n=ia(p)*h+u;break;case Wo.R:r=i=e[t++],o=n=e[t++];var g=e[t++],m=e[t++];zo(r,o,r+g,o+m,Zo,Qo);break;case Wo.Z:i=r,n=o;break}O(Xo,Xo,Zo),T(Ko,Ko,Qo)}return 0===t&&(Xo[0]=Xo[1]=Ko[0]=Ko[1]=0),new Gi(Xo[0],Xo[1],Ko[0]-Xo[0],Ko[1]-Xo[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,i=this._ux,n=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var d=t[h++],p=1===h;p&&(r=t[h],o=t[h+1],a=r,s=o);var f=-1;switch(d){case Wo.M:r=a=t[h++],o=s=t[h++];break;case Wo.L:var g=t[h++],m=t[h++],v=g-r,y=m-o;(na(v)>i||na(y)>n||h===e-1)&&(f=Math.sqrt(v*v+y*y),r=g,o=m);break;case Wo.C:var b=t[h++],_=t[h++],x=(g=t[h++],m=t[h++],t[h++]),w=t[h++];f=ee(r,o,b,_,g,m,x,w,10),r=x,o=w;break;case Wo.Q:b=t[h++],_=t[h++],g=t[h++],m=t[h++];f=le(r,o,b,_,g,m,10),r=g,o=m;break;case Wo.A:var S=t[h++],C=t[h++],k=t[h++],M=t[h++],O=t[h++],T=t[h++],A=T+O;h+=1;t[h++];p&&(a=ea(O)*k+S,s=ia(O)*M+C),f=ta(k,M)*Jo(oa,Math.abs(T)),r=ea(A)*k+S,o=ia(A)*M+C;break;case Wo.R:a=r=t[h++],s=o=t[h++];var I=t[h++],P=t[h++];f=2*I+2*P;break;case Wo.Z:v=a-r,y=s-o;f=Math.sqrt(v*v+y*y),r=a,o=s;break}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var i,n,r,o,a,s,l,u,c,h,d,p=this.data,f=this._ux,g=this._uy,m=this._len,v=e<1,y=0,b=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=e*u,c))t:for(var x=0;x<m;){var w=p[x++],S=1===x;switch(S&&(r=p[x],o=p[x+1],i=r,n=o),w!==Wo.L&&_>0&&(t.lineTo(h,d),_=0),w){case Wo.M:i=r=p[x++],n=o=p[x++],t.moveTo(r,o);break;case Wo.L:a=p[x++],s=p[x++];var C=na(a-r),k=na(s-o);if(C>f||k>g){if(v){var M=l[b++];if(y+M>c){var O=(c-y)/M;t.lineTo(r*(1-O)+a*O,o*(1-O)+s*O);break t}y+=M}t.lineTo(a,s),r=a,o=s,_=0}else{var T=C*C+k*k;T>_&&(h=a,d=s,_=T)}break;case Wo.C:var A=p[x++],I=p[x++],P=p[x++],E=p[x++],D=p[x++],L=p[x++];if(v){M=l[b++];if(y+M>c){O=(c-y)/M;Jt(r,A,P,D,O,Uo),Jt(o,I,E,L,O,Yo),t.bezierCurveTo(Uo[1],Yo[1],Uo[2],Yo[2],Uo[3],Yo[3]);break t}y+=M}t.bezierCurveTo(A,I,P,E,D,L),r=D,o=L;break;case Wo.Q:A=p[x++],I=p[x++],P=p[x++],E=p[x++];if(v){M=l[b++];if(y+M>c){O=(c-y)/M;ae(r,A,P,O,Uo),ae(o,I,E,O,Yo),t.quadraticCurveTo(Uo[1],Yo[1],Uo[2],Yo[2]);break t}y+=M}t.quadraticCurveTo(A,I,P,E),r=P,o=E;break;case Wo.A:var j=p[x++],R=p[x++],B=p[x++],F=p[x++],N=p[x++],z=p[x++],V=p[x++],q=!p[x++],$=B>F?B:F,H=na(B-F)>.001,G=N+z,W=!1;if(v){M=l[b++];y+M>c&&(G=N+z*(c-y)/M,W=!0),y+=M}if(H&&t.ellipse?t.ellipse(j,R,B,F,V,N,G,q):t.arc(j,R,$,N,G,q),W)break t;S&&(i=ea(N)*B+j,n=ia(N)*F+R),r=ea(G)*B+j,o=ia(G)*F+R;break;case Wo.R:i=r=p[x],n=o=p[x+1],a=p[x++],s=p[x++];var U=p[x++],Y=p[x++];if(v){M=l[b++];if(y+M>c){var X=c-y;t.moveTo(a,s),t.lineTo(a+Jo(X,U),s),X-=U,X>0&&t.lineTo(a+U,s+Jo(X,Y)),X-=Y,X>0&&t.lineTo(a+ta(U-X,0),s+Y),X-=U,X>0&&t.lineTo(a,s+ta(Y-X,0));break t}y+=M}t.rect(a,s,U,Y);break;case Wo.Z:if(v){M=l[b++];if(y+M>c){O=(c-y)/M;t.lineTo(r*(1-O)+i*O,o*(1-O)+n*O);break t}y+=M}t.closePath(),r=i,o=n}}},t.prototype.clone=function(){var e=new t,i=this.data;return e.data=i.slice?i.slice():Array.prototype.slice.call(i),e._len=this._len,e},t.CMD=Wo,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),ha=ca;function da(t,e,i,n,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>n+s||a<e-s&&a<n-s||o>t+s&&o>i+s||o<t-s&&o<i-s)return!1;if(t===i)return Math.abs(o-t)<=s/2;l=(e-n)/(t-i),u=(t*n-i*e)/(t-i);var c=l*o-a+u,h=c*c/(l*l+1);return h<=s/2*s/2}function pa(t,e,i,n,r,o,a,s,l,u,c){if(0===l)return!1;var h=l;if(c>e+h&&c>n+h&&c>o+h&&c>s+h||c<e-h&&c<n-h&&c<o-h&&c<s-h||u>t+h&&u>i+h&&u>r+h&&u>a+h||u<t-h&&u<i-h&&u<r-h&&u<a-h)return!1;var d=te(t,e,i,n,r,o,a,s,u,c,null);return d<=h/2}function fa(t,e,i,n,r,o,a,s,l){if(0===a)return!1;var u=a;if(l>e+u&&l>n+u&&l>o+u||l<e-u&&l<n-u&&l<o-u||s>t+u&&s>i+u&&s>r+u||s<t-u&&s<i-u&&s<r-u)return!1;var c=se(t,e,i,n,r,o,s,l,null);return c<=u/2}var ga=2*Math.PI;function ma(t){return t%=ga,t<0&&(t+=ga),t}var va=2*Math.PI;function ya(t,e,i,n,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>i||c+u<i)return!1;if(Math.abs(n-r)%va<1e-4)return!0;if(o){var h=n;n=ma(r),r=ma(h)}else n=ma(n),r=ma(r);n>r&&(r+=va);var d=Math.atan2(l,s);return d<0&&(d+=va),d>=n&&d<=r||d+va>=n&&d+va<=r}function ba(t,e,i,n,r,o){if(o>e&&o>n||o<e&&o<n)return 0;if(n===e)return 0;var a=(o-e)/(n-e),s=n<e?1:-1;1!==a&&0!==a||(s=n<e?.5:-.5);var l=a*(i-t)+t;return l===r?1/0:l>r?s:0}var _a=ha.CMD,xa=2*Math.PI,wa=1e-4;function Sa(t,e){return Math.abs(t-e)<wa}var Ca=[-1,-1,-1],ka=[-1,-1];function Ma(){var t=ka[0];ka[0]=ka[1],ka[1]=t}function Oa(t,e,i,n,r,o,a,s,l,u){if(u>e&&u>n&&u>o&&u>s||u<e&&u<n&&u<o&&u<s)return 0;var c=Zt(e,n,o,s,u,Ca);if(0===c)return 0;for(var h=0,d=-1,p=void 0,f=void 0,g=0;g<c;g++){var m=Ca[g],v=0===m||1===m?.5:1,y=Xt(t,i,r,a,m);y<l||(d<0&&(d=Qt(e,n,o,s,ka),ka[1]<ka[0]&&d>1&&Ma(),p=Xt(e,n,o,s,ka[0]),d>1&&(f=Xt(e,n,o,s,ka[1]))),2===d?m<ka[0]?h+=p<e?v:-v:m<ka[1]?h+=f<p?v:-v:h+=s<f?v:-v:m<ka[0]?h+=p<e?v:-v:h+=s<p?v:-v)}return h}function Ta(t,e,i,n,r,o,a,s){if(s>e&&s>n&&s>o||s<e&&s<n&&s<o)return 0;var l=re(e,n,o,s,Ca);if(0===l)return 0;var u=oe(e,n,o);if(u>=0&&u<=1){for(var c=0,h=ie(e,n,o,u),d=0;d<l;d++){var p=0===Ca[d]||1===Ca[d]?.5:1,f=ie(t,i,r,Ca[d]);f<a||(Ca[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}p=0===Ca[0]||1===Ca[0]?.5:1,f=ie(t,i,r,Ca[0]);return f<a?0:o<e?p:-p}function Aa(t,e,i,n,r,o,a,s){if(s-=e,s>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);Ca[0]=-l,Ca[1]=l;var u=Math.abs(n-r);if(u<1e-4)return 0;if(u>=xa-1e-4){n=0,r=xa;var c=o?1:-1;return a>=Ca[0]+t&&a<=Ca[1]+t?c:0}if(n>r){var h=n;n=r,r=h}n<0&&(n+=xa,r+=xa);for(var d=0,p=0;p<2;p++){var f=Ca[p];if(f+t>a){var g=Math.atan2(s,f);c=o?1:-1;g<0&&(g=xa+g),(g>=n&&g<=r||g+xa>=n&&g+xa<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function Ia(t,e,i,n,r){for(var o,a,s=t.data,l=t.len(),u=0,c=0,h=0,d=0,p=0,f=0;f<l;){var g=s[f++],m=1===f;switch(g===_a.M&&f>1&&(i||(u+=ba(c,h,d,p,n,r))),m&&(c=s[f],h=s[f+1],d=c,p=h),g){case _a.M:d=s[f++],p=s[f++],c=d,h=p;break;case _a.L:if(i){if(da(c,h,s[f],s[f+1],e,n,r))return!0}else u+=ba(c,h,s[f],s[f+1],n,r)||0;c=s[f++],h=s[f++];break;case _a.C:if(i){if(pa(c,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,n,r))return!0}else u+=Oa(c,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],n,r)||0;c=s[f++],h=s[f++];break;case _a.Q:if(i){if(fa(c,h,s[f++],s[f++],s[f],s[f+1],e,n,r))return!0}else u+=Ta(c,h,s[f++],s[f++],s[f],s[f+1],n,r)||0;c=s[f++],h=s[f++];break;case _a.A:var v=s[f++],y=s[f++],b=s[f++],_=s[f++],x=s[f++],w=s[f++];f+=1;var S=!!(1-s[f++]);o=Math.cos(x)*b+v,a=Math.sin(x)*_+y,m?(d=o,p=a):u+=ba(c,h,o,a,n,r);var C=(n-v)*_/b+v;if(i){if(ya(v,y,_,x,x+w,S,e,C,r))return!0}else u+=Aa(v,y,_,x,x+w,S,C,r);c=Math.cos(x+w)*b+v,h=Math.sin(x+w)*_+y;break;case _a.R:d=c=s[f++],p=h=s[f++];var k=s[f++],M=s[f++];if(o=d+k,a=p+M,i){if(da(d,p,o,p,e,n,r)||da(o,p,o,a,e,n,r)||da(o,a,d,a,e,n,r)||da(d,a,d,p,e,n,r))return!0}else u+=ba(o,p,o,a,n,r),u+=ba(d,a,d,p,n,r);break;case _a.Z:if(i){if(da(c,h,d,p,e,n,r))return!0}else u+=ba(c,h,d,p,n,r);c=d,h=p;break}}return i||Sa(h,p)||(u+=ba(c,h,d,p,n,r)||0),0!==u}function Pa(t,e,i){return Ia(t,0,!1,e,i)}function Ea(t,e,i,n){return Ia(t,e,!0,i,n)}var Da=Object(s["i"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},wo),La={style:Object(s["i"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},So.style)},ja=Pi.concat(["invisible","culling","z","z2","zlevel","parent"]),Ra=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.update=function(){var i=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){i.buildPath(t,i.shape)}),r.silent=!0;var o=r.style;for(var a in n)o[a]!==n[a]&&(o[a]=n[a]);o.fill=n.fill?n.decal:null,o.decal=null,o.shadowColor=null,n.strokeFirst&&(o.stroke=null);for(var s=0;s<ja.length;++s)r[ja[s]]=this[ja[s]];r.__dirty|=Mt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var i=Object(s["F"])(e);this.shape=this.getDefaultShape();var n=this.getDefaultStyle();n&&this.useStyle(n);for(var r=0;r<i.length;r++){var o=i[r],a=e[o];"style"===o?this.style?Object(s["m"])(this.style,a):this.useStyle(a):"shape"===o?Object(s["m"])(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(s["C"])(t)){var e=Object(pe["d"])(t,0);return e>.5?hi:e>.2?pi:di}if(t)return di}return hi},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(s["C"])(e)){var i=this.__zr,n=!(!i||!i.isDarkMode()),r=Object(pe["d"])(t,0)<ci;if(n===r)return e}},e.prototype.buildPath=function(t,e,i){},e.prototype.pathUpdated=function(){this.__dirty&=~Tt},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new ha(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var r=this.path;(n||this.__dirty&Tt)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),Ea(o,a/s,t,e)))return!0}if(this.hasFill())return Pa(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Tt,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,i){"shape"===e?this.setShape(i):t.prototype.attrKV.call(this,e,i)},e.prototype.setShape=function(t,e){var i=this.shape;return i||(i=this.shape={}),"string"===typeof t?i[t]=e:Object(s["m"])(i,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Tt)},e.prototype.createStyle=function(t){return Object(s["g"])(Da,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.shape&&!i.shape&&(i.shape=Object(s["m"])({},this.shape))},e.prototype._applyStateObj=function(e,i,n,r,o,a){t.prototype._applyStateObj.call(this,e,i,n,r,o,a);var l,u=!(i&&r);if(i&&i.shape?o?r?l=i.shape:(l=Object(s["m"])({},n.shape),Object(s["m"])(l,i.shape)):(l=Object(s["m"])({},r?this.shape:n.shape),Object(s["m"])(l,i.shape)):u&&(l=n.shape),l)if(o){this.shape=Object(s["m"])({},this.shape);for(var c={},h=Object(s["F"])(l),d=0;d<h.length;d++){var p=h[d];"object"===typeof l[p]?this.shape[p]=l[p]:c[p]=l[p]}this._transitionState(e,{shape:c},a)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var i,n=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},e.prototype.getAnimationStyleProps=function(){return La},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var i=function(e){function i(i){var n=e.call(this,i)||this;return t.init&&t.init.call(n,i),n}return u(i,e),i.prototype.getDefaultStyle=function(){return Object(s["d"])(t.style)},i.prototype.getDefaultShape=function(){return Object(s["d"])(t.shape)},i}(e);for(var n in t)"function"===typeof t[n]&&(i.prototype[n]=t[n]);return i},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=Mt|Ot|Tt}(),e}(Io),Ba=Ra,Fa=Object(s["i"])({strokeFirst:!0,font:Ui["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Da),Na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Object(s["g"])(Fa,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var i=Zi(e,t.font,t.textAlign,t.textBaseline);if(i.x+=t.x||0,i.y+=t.y||0,this.hasStroke()){var n=t.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(Io);Na.prototype.type="tspan";var za=Na,Va=Object(s["i"])({x:0,y:0},wo),qa={style:Object(s["i"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},So.style)};function $a(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var Ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.createStyle=function(t){return Object(s["g"])(Va,t)},e.prototype._getSize=function(t){var e=this.style,i=e[t];if(null!=i)return i;var n=$a(e.image)?e.image:this.__image;if(!n)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?n[t]:n[t]/n[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return qa},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Gi(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Io);Ha.prototype.type="image";var Ga=Ha;function Wa(t,e){var i,n,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof h?i=n=r=o=h:h instanceof Array?1===h.length?i=n=r=o=h[0]:2===h.length?(i=r=h[0],n=o=h[1]):3===h.length?(i=h[0],n=o=h[1],r=h[2]):(i=h[0],n=h[1],r=h[2],o=h[3]):i=n=r=o=0,i+n>u&&(a=i+n,i*=u/a,n*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),n+r>c&&(a=n+r,n*=c/a,r*=c/a),i+o>c&&(a=i+o,i*=c/a,o*=c/a),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}var Ua=Math.round;function Ya(t,e,i){if(e){var n=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=n,t.x2=r,t.y1=o,t.y2=a;var s=i&&i.lineWidth;return s?(Ua(2*n)===Ua(2*r)&&(t.x1=t.x2=Ka(n,s,!0)),Ua(2*o)===Ua(2*a)&&(t.y1=t.y2=Ka(o,s,!0)),t):t}}function Xa(t,e,i){if(e){var n=e.x,r=e.y,o=e.width,a=e.height;t.x=n,t.y=r,t.width=o,t.height=a;var s=i&&i.lineWidth;return s?(t.x=Ka(n,s,!0),t.y=Ka(r,s,!0),t.width=Math.max(Ka(n+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ka(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ka(t,e,i){if(!e)return t;var n=Ua(2*t);return(n+Ua(e))%2===0?n/2:(n+(i?1:-1))/2}var Za=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Qa={},Ja=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Za},e.prototype.buildPath=function(t,e){var i,n,r,o;if(this.subPixelOptimize){var a=Xa(Qa,e,this.style);i=a.x,n=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else i=e.x,n=e.y,r=e.width,o=e.height;e.r?Wa(t,e):t.rect(i,n,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Ba);Ja.prototype.type="rect";var ts=Ja,es={fill:"#000"},is=2,ns={style:Object(s["i"])({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},So.style)},rs=function(t){function e(e){var i=t.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=es,i.attr(e),i}return u(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var i=this._children[e];i.zlevel=this.zlevel,i.z=this.z,i.z2=this.z2,i.culling=this.culling,i.cursor=this.cursor,i.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var i=this.innerTransformable;return i?i.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,hs(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var i=0;i<this._children.length;i++)this._children[i].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Gi(0,0,0,0),e=this._children,i=[],n=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(i);s?(t.copy(a),t.applyTransform(s),n=n||t.clone(),n.union(t)):(n=n||a.clone(),n.union(a))}this._rect=n||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||es},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var i=e.rich,n=t.rich||i&&{};return Object(s["m"])(t,e),i&&n?(this._mergeRich(n,i),t.rich=n):n&&(t.rich=n),t},e.prototype._mergeRich=function(t,e){for(var i=Object(s["F"])(e),n=0;n<i.length;n++){var r=i[n];t[r]=t[r]||{},Object(s["m"])(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return ns},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Ui["a"],i=t.padding,n=ms(t),r=co(n,t),o=vs(t),a=!!t.backgroundColor,s=r.outerHeight,l=r.outerWidth,u=r.contentWidth,c=r.lines,h=r.lineHeight,d=this._defaultStyle,p=t.x||0,f=t.y||0,g=t.align||d.align||"left",m=t.verticalAlign||d.verticalAlign||"top",v=p,y=Ji(f,r.contentHeight,m);if(o||i){var b=Qi(p,l,g),_=Ji(f,s,m);o&&this._renderBackground(t,t,b,_,l,s)}y+=h/2,i&&(v=gs(p,g,i),"top"===m?y+=i[0]:"bottom"===m&&(y-=i[2]));for(var x=0,w=!1,S=(fs("fill"in t?t.fill:(w=!0,d.fill))),C=(ps("stroke"in t?t.stroke:a||d.autoStroke&&!w?null:(x=is,d.stroke))),k=t.textShadowBlur>0,M=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),O=r.calculatedLineHeight,T=0;T<c.length;T++){var A=this._getOrCreateChild(za),I=A.createStyle();A.useStyle(I),I.text=c[T],I.x=v,I.y=y,g&&(I.textAlign=g),I.textBaseline="middle",I.opacity=t.opacity,I.strokeFirst=!0,k&&(I.shadowBlur=t.textShadowBlur||0,I.shadowColor=t.textShadowColor||"transparent",I.shadowOffsetX=t.textShadowOffsetX||0,I.shadowOffsetY=t.textShadowOffsetY||0),I.stroke=C,I.fill=S,C&&(I.lineWidth=t.lineWidth||x,I.lineDash=t.lineDash,I.lineDashOffset=t.lineDashOffset||0),I.font=e,us(I,t),y+=h,M&&A.setBoundingRect(new Gi(Qi(I.x,t.width,I.textAlign),Ji(I.y,O,I.textBaseline),u,O))}},e.prototype._updateRichTexts=function(){var t=this.style,e=ms(t),i=go(e,t),n=i.width,r=i.outerWidth,o=i.outerHeight,a=t.padding,s=t.x||0,l=t.y||0,u=this._defaultStyle,c=t.align||u.align,h=t.verticalAlign||u.verticalAlign,d=Qi(s,r,c),p=Ji(l,o,h),f=d,g=p;a&&(f+=a[3],g+=a[0]);var m=f+n;vs(t)&&this._renderBackground(t,t,d,p,r,o);for(var v=!!t.backgroundColor,y=0;y<i.lines.length;y++){var b=i.lines[y],_=b.tokens,x=_.length,w=b.lineHeight,S=b.width,C=0,k=f,M=m,O=x-1,T=void 0;while(C<x&&(T=_[C],!T.align||"left"===T.align))this._placeToken(T,t,w,g,k,"left",v),S-=T.width,k+=T.width,C++;while(O>=0&&(T=_[O],"right"===T.align))this._placeToken(T,t,w,g,M,"right",v),S-=T.width,M-=T.width,O--;k+=(n-(k-f)-(m-M)-S)/2;while(C<=O)T=_[C],this._placeToken(T,t,w,g,k+T.width/2,"center",v),k+=T.width,C++;g+=w}},e.prototype._placeToken=function(t,e,i,n,r,o,a){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,c=n+i/2;"top"===u?c=n+t.height/2:"bottom"===u&&(c=n+i-t.height/2);var h=!t.isLineHolder&&vs(l);h&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,c-t.height/2,t.width,t.height);var d=!!l.backgroundColor,p=t.textPadding;p&&(r=gs(r,o,p),c-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(za),g=f.createStyle();f.useStyle(g);var m=this._defaultStyle,v=!1,y=0,b=fs("fill"in l?l.fill:"fill"in e?e.fill:(v=!0,m.fill)),_=ps("stroke"in l?l.stroke:"stroke"in e?e.stroke:d||a||m.autoStroke&&!v?null:(y=is,m.stroke)),x=l.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,x&&(g.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,g.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||Ui["a"],g.opacity=Object(s["Q"])(l.opacity,e.opacity,1),us(g,l),_&&(g.lineWidth=Object(s["Q"])(l.lineWidth,e.lineWidth,y),g.lineDash=Object(s["P"])(l.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=_),b&&(g.fill=b);var w=t.contentWidth,S=t.contentHeight;f.setBoundingRect(new Gi(Qi(g.x,w,g.textAlign),Ji(g.y,S,g.textBaseline),w,S))},e.prototype._renderBackground=function(t,e,i,n,r,o){var a,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){a=this._getOrCreateChild(ts),a.useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=i,m.y=n,m.width=r,m.height=o,m.r=f,a.dirtyShape()}if(p){var v=a.style;v.fill=u||null,v.fillOpacity=Object(s["P"])(t.fillOpacity,1)}else if(d){l=this._getOrCreateChild(Ga),l.onload=function(){g.dirtyStyle()};var y=l.style;y.image=u.image,y.x=i,y.y=n,y.width=r,y.height=o}if(c&&h){v=a.style;v.lineWidth=c,v.stroke=h,v.strokeOpacity=Object(s["P"])(t.strokeOpacity,1),v.lineDash=t.borderDash,v.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2)}var b=(a||l).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=Object(s["Q"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return cs(t)&&(e=[t.fontStyle,t.fontWeight,ls(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(s["T"])(e)||t.textFont||t.font},e}(Io),os={left:!0,right:1,center:1},as={top:1,bottom:1,middle:1},ss=["fontStyle","fontWeight","fontSize","fontFamily"];function ls(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?Ui["c"]+"px":t+"px":t}function us(t,e){for(var i=0;i<ss.length;i++){var n=ss[i],r=e[n];null!=r&&(t[n]=r)}}function cs(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function hs(t){return ds(t),Object(s["k"])(t.rich,ds),t}function ds(t){if(t){t.font=rs.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||os[e]?e:"left";var i=t.verticalAlign;"center"===i&&(i="middle"),t.verticalAlign=null==i||as[i]?i:"top";var n=t.padding;n&&(t.padding=Object(s["M"])(t.padding))}}function ps(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function fs(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function gs(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function ms(t){var e=t.text;return null!=e&&(e+=""),e}function vs(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var ys=rs,bs=kr(),_s=function(t,e,i,n){if(n){var r=bs(n);r.dataIndex=i,r.dataType=e,r.seriesIndex=t,"group"===n.type&&n.traverse((function(n){var r=bs(n);r.seriesIndex=t,r.dataIndex=i,r.dataType=e}))}},xs=1,ws={},Ss=kr(),Cs=kr(),ks=0,Ms=1,Os=2,Ts=["emphasis","blur","select"],As=["normal","emphasis","blur","select"],Is=10,Ps=9,Es="highlight",Ds="downplay",Ls="select",js="unselect",Rs="toggleSelect";function Bs(t){return null!=t&&"none"!==t}var Fs=new Wi["a"](100);function Ns(t){if(Object(s["C"])(t)){var e=Fs.get(t);return e||(e=pe["c"](t,-.1),Fs.put(t,e)),e}if(Object(s["x"])(t)){var i=Object(s["m"])({},t);return i.colorStops=Object(s["H"])(t.colorStops,(function(t){return{offset:t.offset,color:pe["c"](t.color,-.1)}})),i}return t}function zs(t,e,i){t.onHoverStateChange&&(t.hoverState||0)!==i&&t.onHoverStateChange(e),t.hoverState=i}function Vs(t){zs(t,"emphasis",Os)}function qs(t){t.hoverState===Os&&zs(t,"normal",ks)}function $s(t){zs(t,"blur",Ms)}function Hs(t){t.hoverState===Ms&&zs(t,"normal",ks)}function Gs(t){t.selected=!0}function Ws(t){t.selected=!1}function Us(t,e,i){e(t,i)}function Ys(t,e,i){Us(t,e,i),t.isGroup&&t.traverse((function(t){Us(t,e,i)}))}function Xs(t,e){switch(e){case"emphasis":t.hoverState=Os;break;case"normal":t.hoverState=ks;break;case"blur":t.hoverState=Ms;break;case"select":t.selected=!0}}function Ks(t,e,i,n){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?n&&n[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(i)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}function Zs(t,e,i,n){var r=i&&Object(s["r"])(i,"select")>=0,o=!1;if(t instanceof Ba){var a=Ss(t),l=r&&a.selectFill||a.normalFill,u=r&&a.selectStroke||a.normalStroke;if(Bs(l)||Bs(u)){n=n||{};var c=n.style||{};"inherit"===c.fill?(o=!0,n=Object(s["m"])({},n),c=Object(s["m"])({},c),c.fill=l):!Bs(c.fill)&&Bs(l)?(o=!0,n=Object(s["m"])({},n),c=Object(s["m"])({},c),c.fill=Ns(l)):!Bs(c.stroke)&&Bs(u)&&(o||(n=Object(s["m"])({},n),c=Object(s["m"])({},c)),c.stroke=Ns(u)),n.style=c}}if(n&&null==n.z2){o||(n=Object(s["m"])({},n));var h=t.z2EmphasisLift;n.z2=t.z2+(null!=h?h:Is)}return n}function Qs(t,e,i){if(i&&null==i.z2){i=Object(s["m"])({},i);var n=t.z2SelectLift;i.z2=t.z2+(null!=n?n:Ps)}return i}function Js(t,e,i){var n=Object(s["r"])(t.currentStates,e)>=0,r=t.style.opacity,o=n?null:Ks(t,["opacity"],e,{opacity:1});i=i||{};var a=i.style||{};return null==a.opacity&&(i=Object(s["m"])({},i),a=Object(s["m"])({opacity:n?r:.1*o.opacity},a),i.style=a),i}function tl(t,e){var i=this.states[t];if(this.style){if("emphasis"===t)return Zs(this,t,e,i);if("blur"===t)return Js(this,t,i);if("select"===t)return Qs(this,t,i)}return i}function el(t){t.stateProxy=tl;var e=t.getTextContent(),i=t.getTextGuideLine();e&&(e.stateProxy=tl),i&&(i.stateProxy=tl)}function il(t,e){!cl(t,e)&&!t.__highByOuter&&Ys(t,Vs)}function nl(t,e){!cl(t,e)&&!t.__highByOuter&&Ys(t,qs)}function rl(t,e){t.__highByOuter|=1<<(e||0),Ys(t,Vs)}function ol(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Ys(t,qs)}function al(t){Ys(t,$s)}function sl(t){Ys(t,Hs)}function ll(t){Ys(t,Gs)}function ul(t){Ys(t,Ws)}function cl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function hl(t){var e=t.getModel(),i=[],n=[];e.eachComponent((function(e,r){var o=Cs(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&n.push(s),o.isBlured&&(s.group.traverse((function(t){Hs(t)})),a&&i.push(r)),o.isBlured=!1})),Object(s["k"])(n,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(i,!1,e)}))}function dl(t,e,i,n){var r=n.getModel();function o(t,e){for(var i=0;i<e.length;i++){var n=t.getItemGraphicEl(e[i]);n&&sl(n)}}if(i=i||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),l=a.coordinateSystem;l&&l.master&&(l=l.master);var u=[];r.eachSeries((function(t){var r=a===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var h=c&&l?c===l:r;if(!("series"===i&&!r||"coordinateSystem"===i&&!h||"series"===e&&r)){var d=n.getViewOfSeriesModel(t);if(d.group.traverse((function(t){$s(t)})),Object(s["u"])(e))o(t.getData(),e);else if(Object(s["A"])(e))for(var p=Object(s["F"])(e),f=0;f<p.length;f++)o(t.getData(p[f]),e[p[f]]);u.push(t),Cs(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var i=n.getViewOfComponentModel(e);i&&i.toggleBlurSeries&&i.toggleBlurSeries(u,!0,r)}}))}}function pl(t,e,i){if(null!=t&&null!=e){var n=i.getModel().getComponent(t,e);if(n){Cs(n).isBlured=!0;var r=i.getViewOfComponentModel(n);r&&r.focusBlurEnabled&&r.group.traverse((function(t){$s(t)}))}}}function fl(t,e,i){var n=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Cr(r,e);o=(Object(s["t"])(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a){var l=r.count(),u=0;while(!a&&u<l)a=r.getItemGraphicEl(u++)}if(a){var c=bs(a);dl(n,c.focus,c.blurScope,i)}else{var h=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=h&&dl(n,h,d,i)}}}function gl(t,e,i,n){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==i)return r;var o=n.getModel().getComponent(t,e);if(!o)return r;var a=n.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(i),u=0;u<l.length;u++)if("self"===bs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function ml(t,e,i){var n=bs(t),r=gl(n.componentMainType,n.componentIndex,n.componentHighDownName,i),o=r.dispatchers,a=r.focusSelf;o?(a&&pl(n.componentMainType,n.componentIndex,i),Object(s["k"])(o,(function(t){return il(t,e)}))):(dl(n.seriesIndex,n.focus,n.blurScope,i),"self"===n.focus&&pl(n.componentMainType,n.componentIndex,i),il(t,e))}function vl(t,e,i){hl(i);var n=bs(t),r=gl(n.componentMainType,n.componentIndex,n.componentHighDownName,i).dispatchers;r?Object(s["k"])(r,(function(t){return nl(t,e)})):nl(t,e)}function yl(t,e,i){if(El(e)){var n=e.dataType,r=t.getData(n),o=Cr(r,e);Object(s["t"])(o)||(o=[o]),t[e.type===Rs?"toggleSelect":e.type===Ls?"select":"unselect"](o,n)}}function bl(t){var e=t.getAllData();Object(s["k"])(e,(function(e){var i=e.data,n=e.type;i.eachItemGraphicEl((function(e,i){t.isSelected(i,n)?ll(e):ul(e)}))}))}function _l(t){var e=[];return t.eachSeries((function(t){var i=t.getAllData();Object(s["k"])(i,(function(i){i.data;var n=i.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=n&&(o.dataType=n),e.push(o)}}))})),e}function xl(t,e,i){Tl(t,!0),Ys(t,el),Cl(t,e,i)}function wl(t){Tl(t,!1)}function Sl(t,e,i,n){n?wl(t):xl(t,e,i)}function Cl(t,e,i){var n=bs(t);null!=e?(n.focus=e,n.blurScope=i):n.focus&&(n.focus=null)}var kl=["emphasis","blur","select"],Ml={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Ol(t,e,i,n){i=i||"itemStyle";for(var r=0;r<kl.length;r++){var o=kl[r],a=e.getModel([o,i]),s=t.ensureState(o);s.style=n?n(a):a[Ml[i]]()}}function Tl(t,e){var i=!1===e,n=t;t.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=t.highDownSilentOnTouch),i&&!n.__highDownDispatcher||(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!i)}function Al(t){return!(!t||!t.__highDownDispatcher)}function Il(t,e,i){var n=bs(t);n.componentMainType=e.mainType,n.componentIndex=e.componentIndex,n.componentHighDownName=i}function Pl(t){var e=ws[t];return null==e&&xs<=32&&(e=ws[t]=xs++),e}function El(t){var e=t.type;return e===Ls||e===js||e===Rs}function Dl(t){var e=t.type;return e===Es||e===Ds}function Ll(t){var e=Ss(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var i=t.states.select||{};e.selectFill=i.style&&i.style.fill||null,e.selectStroke=i.style&&i.style.stroke||null}var jl=kr();function Rl(t,e,i,n,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(l){var c=void 0,h=void 0,d=void 0;n?(c=Object(s["P"])(n.duration,200),h=Object(s["P"])(n.easing,"cubicOut"),d=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),d=e.getShallow(u?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(c=o.duration),null!=o.easing&&(h=o.easing),null!=o.delay&&(d=o.delay)),Object(s["w"])(d)&&(d=d(i,r)),Object(s["w"])(c)&&(c=c(i));var p={duration:c||0,delay:d,easing:h};return p}return null}function Bl(t,e,i,n,r,o,a){var l,u=!1;Object(s["w"])(r)?(a=o,o=r,r=null):Object(s["A"])(r)&&(o=r.cb,a=r.during,u=r.isFrom,l=r.removeOpt,r=r.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var h=Rl(t,n,r,c?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var d=h.duration,p=h.delay,f=h.easing,g={duration:d,delay:p||0,easing:f,done:o,force:!!o||!!a,setToFinal:!c,scope:t,during:a};u?e.animateFrom(i,g):e.animateTo(i,g)}else e.stopAnimation(),!u&&e.attr(i),a&&a(1),o&&o()}function Fl(t,e,i,n,r,o){Bl("update",t,e,i,n,r,o)}function Nl(t,e,i,n,r,o){Bl("enter",t,e,i,n,r,o)}function zl(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var i=t.animators[e];if("leave"===i.scope)return!0}return!1}function Vl(t,e,i,n,r,o){zl(t)||Bl("leave",t,e,i,n,r,o)}function ql(t,e,i,n){t.removeTextContent(),t.removeTextGuideLine(),Vl(t,{style:{opacity:0}},e,i,n)}function $l(t,e,i){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||ql(t,e,i,n)})):ql(t,e,i,n)}function Hl(t){jl(t).oldStyle=t.style}function Gl(t){return jl(t).oldStyle}var Wl={};function Ul(t,e){for(var i=0;i<Ts.length;i++){var n=Ts[i],r=e[n],o=t.ensureState(n);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Yl(t,e,i){var n,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,l=e.normal;r&&(n=r.getFormattedLabel(o,"normal",null,a,l&&l.get("formatter"),null!=i?{interpolatedValue:i}:null)),null==n&&(n=Object(s["w"])(t.defaultText)?t.defaultText(o,t,i):t.defaultText);for(var u={normal:n},c=0;c<Ts.length;c++){var h=Ts[c],d=e[h];u[h]=Object(s["P"])(r?r.getFormattedLabel(o,h,null,a,d&&d.get("formatter")):null,n)}return u}function Xl(t,e,i,n){i=i||Wl;for(var r=t instanceof ys,o=!1,a=0;a<As.length;a++){var l=e[As[a]];if(l&&l.getShallow("show")){o=!0;break}}var u=r?t:t.getTextContent();if(o){r||(u||(u=new ys,t.setTextContent(u)),t.stateProxy&&(u.stateProxy=t.stateProxy));var c=Yl(i,e),h=e.normal,d=!!h.getShallow("show"),p=Zl(h,n&&n.normal,i,!1,!r);p.text=c.normal,r||t.setTextConfig(Ql(h,i,!1));for(a=0;a<Ts.length;a++){var f=Ts[a];l=e[f];if(l){var g=u.ensureState(f),m=!!Object(s["P"])(l.getShallow("show"),d);if(m!==d&&(g.ignore=!m),g.style=Zl(l,n&&n[f],i,!0,!r),g.style.text=c[f],!r){var v=t.ensureState(f);v.textConfig=Ql(l,i,!0)}}}u.silent=!!h.getShallow("silent"),null!=u.style.x&&(p.x=u.style.x),null!=u.style.y&&(p.y=u.style.y),u.ignore=!d,u.useStyle(p),u.dirty(),i.enableTextSetter&&(au(u).setLabelText=function(t){var n=Yl(i,e,t);Ul(u,n)})}else u&&(u.ignore=!0);t.dirty()}function Kl(t,e){e=e||"label";for(var i={normal:t.getModel(e)},n=0;n<Ts.length;n++){var r=Ts[n];i[r]=t.getModel([r,e])}return i}function Zl(t,e,i,n,r){var o={};return Jl(o,t,i,n,r),e&&Object(s["m"])(o,e),o}function Ql(t,e,i){e=e||{};var n,r={},o=t.getShallow("rotate"),a=Object(s["P"])(t.getShallow("distance"),i?null:5),l=t.getShallow("offset");return n=t.getShallow("position")||(i?null:"inside"),"outside"===n&&(n=e.defaultOutsidePosition||"top"),null!=n&&(r.position=n),null!=l&&(r.offset=l),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}function Jl(t,e,i,n,r){i=i||Wl;var o,a=e.ecModel,s=a&&a.option.textStyle,l=tu(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);ru(o[u]={},c,s,i,n,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d),ru(t,e,s,i,n,r,!0,!1)}function tu(t){var e;while(t&&t!==t.ecModel){var i=(t.option||Wl).rich;if(i){e=e||{};for(var n=Object(s["F"])(i),r=0;r<n.length;r++){var o=n[r];e[o]=1}}t=t.parentModel}return e}var eu=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],iu=["align","lineHeight","width","height","tag","verticalAlign"],nu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function ru(t,e,i,n,r,o,a,l){i=!r&&i||Wl;var u=n&&n.inheritColor,c=e.getShallow("color"),h=e.getShallow("textBorderColor"),d=Object(s["P"])(e.getShallow("opacity"),i.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==h&&"auto"!==h||(h=u||null),o||(c=c||i.color,h=h||i.textBorderColor),null!=c&&(t.fill=c),null!=h&&(t.stroke=h);var p=Object(s["P"])(e.getShallow("textBorderWidth"),i.textBorderWidth);null!=p&&(t.lineWidth=p);var f=Object(s["P"])(e.getShallow("textBorderType"),i.textBorderType);null!=f&&(t.lineDash=f);var g=Object(s["P"])(e.getShallow("textBorderDashOffset"),i.textBorderDashOffset);null!=g&&(t.lineDashOffset=g),r||null!=d||l||(d=n&&n.defaultOpacity),null!=d&&(t.opacity=d),r||o||null==t.fill&&n.inheritColor&&(t.fill=n.inheritColor);for(var m=0;m<eu.length;m++){var v=eu[m],y=Object(s["P"])(e.getShallow(v),i[v]);null!=y&&(t[v]=y)}for(m=0;m<iu.length;m++){v=iu[m],y=e.getShallow(v);null!=y&&(t[v]=y)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!a||!n.disableBox){for(m=0;m<nu.length;m++){v=nu[m],y=e.getShallow(v);null!=y&&(t[v]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!u||(t.backgroundColor=u),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!u||(t.borderColor=u)}}function ou(t,e){var i=e&&e.getModel("textStyle");return Object(s["T"])([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}var au=kr();function su(t,e,i,n){if(t){var r=au(t);r.prevValue=r.value,r.value=i;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=n,r.statesModels=e)}}function lu(t,e,i,n,r){var o=au(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,l=Object(s["P"])(o.interpolatedValue,o.prevValue),u=o.value;t.percent=0,(null==o.prevValue?Nl:Fl)(t,{percent:1},n,e,null,c)}function c(n){var s=jr(i,o.precision,l,u,n);o.interpolatedValue=1===n?null:s;var c=Yl({labelDataIndex:e,labelFetcher:r,defaultText:a?a(s):s+""},o.statesModels,s);Ul(t,c)}}var uu=["textStyle","color"],cu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],hu=new ys,du=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(uu):null)},t.prototype.getFont=function(){return ou({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},i=0;i<cu.length;i++)e[cu[i]]=this.getShallow(cu[i]);return hu.useStyle(e),hu.update(),hu.getBoundingRect()},t}(),pu=du,fu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],gu=Kr(fu),mu=function(){function t(){}return t.prototype.getLineStyle=function(t){return gu(this,t)},t}(),vu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],yu=Kr(vu),bu=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return yu(this,t,e)},t}(),_u=function(){function t(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}return t.prototype.init=function(t,e,i){for(var n=[],r=3;r<arguments.length;r++)n[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){Object(s["I"])(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var i=this.option,n=null==i?i:i[t];if(null==n&&!e){var r=this.parentModel;r&&(n=r.getShallow(t))}return n},t.prototype.getModel=function(e,i){var n=null!=e,r=n?this.parsePath(e):null,o=n?this._doGet(r):this.option;return i=i||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new t(o,i,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t(Object(s["d"])(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!a["a"].node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var i=this.option;if(!t)return i;for(var n=0;n<t.length;n++)if(t[n]&&(i=i&&"object"===typeof i?i[t[n]]:null,null==i))break;return null==i&&e&&(i=e._doGet(this.resolveParentPath(t),e.parentModel)),i},t}();qr(_u),Wr(_u),Object(s["K"])(_u,mu),Object(s["K"])(_u,bu),Object(s["K"])(_u,Jr),Object(s["K"])(_u,pu);var xu=_u,wu=Math.round(10*Math.random());function Su(t){return[t||"",wu++].join("_")}function Cu(t){var e={};t.registerSubTypeDefaulter=function(t,i){var n=Nr(t);e[n.main]=i},t.determineSubType=function(i,n){var r=n.type;if(!r){var o=Nr(i).main;t.hasSubTypes(i)&&e[o]&&(r=e[o](n))}return r}}function ku(t,e){function i(t){var i={},o=[];return s["k"](t,(function(a){var l=n(i,a),u=l.originalDeps=e(a),c=r(u,t);l.entryCount=c.length,0===l.entryCount&&o.push(a),s["k"](c,(function(t){s["r"](l.predecessor,t)<0&&l.predecessor.push(t);var e=n(i,t);s["r"](e.successor,t)<0&&e.successor.push(a)}))})),{graph:i,noEntryList:o}}function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return s["k"](t,(function(t){s["r"](e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,n,r){if(t.length){var o=i(e),a=o.graph,l=o.noEntryList,u={};s["k"](t,(function(t){u[t]=!0}));while(l.length){var c=l.pop(),h=a[c],d=!!u[c];d&&(n.call(r,c,h.originalDeps.slice()),delete u[c]),s["k"](h.successor,d?f:p)}s["k"](u,(function(){var t="";throw new Error(t)}))}function p(t){a[t].entryCount--,0===a[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}function Mu(t,e){return s["I"](s["I"]({},t,!0),e,!0)}var Ou={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},Tu={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},Au="ZH",Iu="EN",Pu=Iu,Eu={},Du={},Lu=a["a"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Au)>-1?Au:Pu}():Pu;function ju(t,e){t=t.toUpperCase(),Du[t]=new xu(e),Eu[t]=e}function Ru(t){if(Object(s["C"])(t)){var e=Eu[t.toUpperCase()]||{};return t===Au||t===Iu?Object(s["d"])(e):Object(s["I"])(Object(s["d"])(e),Object(s["d"])(Eu[Pu]),!1)}return Object(s["I"])(Object(s["d"])(t),Object(s["d"])(Eu[Pu]),!1)}function Bu(t){return Du[t]}function Fu(){return Du[Pu]}ju(Iu,Ou),ju(Au,Tu);var Nu=1e3,zu=60*Nu,Vu=60*zu,qu=24*Vu,$u=365*qu,Hu={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Gu="{yyyy}-{MM}-{dd}",Wu={year:"{yyyy}",month:"{yyyy}-{MM}",day:Gu,hour:Gu+" "+Hu.hour,minute:Gu+" "+Hu.minute,second:Gu+" "+Hu.second,millisecond:Hu.none},Uu=["year","month","day","hour","minute","second","millisecond"],Yu=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Xu(t,e){return t+="","0000".substr(0,e-t.length)+t}function Ku(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Zu(t){return t===Ku(t)}function Qu(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Ju(t,e,i,n){var r=$n(t),o=r[nc(i)](),a=r[rc(i)]()+1,s=Math.floor((a-1)/3)+1,l=r[oc(i)](),u=r["get"+(i?"UTC":"")+"Day"](),c=r[ac(i)](),h=(c-1)%12+1,d=r[sc(i)](),p=r[lc(i)](),f=r[uc(i)](),g=n instanceof xu?n:Bu(n||Lu)||Fu(),m=g.getModel("time"),v=m.get("month"),y=m.get("monthAbbr"),b=m.get("dayOfWeek"),_=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,Xu(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Xu(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Xu(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Xu(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Xu(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Xu(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,Xu(f,3)).replace(/{S}/g,f+"")}function tc(t,e,i,n,r){var o=null;if(s["C"](i))o=i;else if(s["w"](i))o=i(t.value,e,{level:t.level});else{var a=s["m"]({},Hu);if(t.level>0)for(var l=0;l<Uu.length;++l)a[Uu[l]]="{primary|"+a[Uu[l]]+"}";var u=i?!1===i.inherit?i:s["i"](i,a):a,c=ec(t.value,r);if(u[c])o=u[c];else if(u.inherit){var h=Yu.indexOf(c);for(l=h-1;l>=0;--l)if(u[c]){o=u[c];break}o=o||a.none}if(s["t"](o)){var d=null==t.level?0:t.level>=0?t.level:o.length+t.level;d=Math.min(d,o.length-1),o=o[d]}}return Ju(new Date(t.value),o,r,n)}function ec(t,e){var i=$n(t),n=i[rc(e)]()+1,r=i[oc(e)](),o=i[ac(e)](),a=i[sc(e)](),s=i[lc(e)](),l=i[uc(e)](),u=0===l,c=u&&0===s,h=c&&0===a,d=h&&0===o,p=d&&1===r,f=p&&1===n;return f?"year":p?"month":d?"day":h?"hour":c?"minute":u?"second":"millisecond"}function ic(t,e,i){var n=s["z"](t)?$n(t):t;switch(e=e||ec(t,i),e){case"year":return n[nc(i)]();case"half-year":return n[rc(i)]()>=6?1:0;case"quarter":return Math.floor((n[rc(i)]()+1)/4);case"month":return n[rc(i)]();case"day":return n[oc(i)]();case"half-day":return n[ac(i)]()/24;case"hour":return n[ac(i)]();case"minute":return n[sc(i)]();case"second":return n[lc(i)]();case"millisecond":return n[uc(i)]()}}function nc(t){return t?"getUTCFullYear":"getFullYear"}function rc(t){return t?"getUTCMonth":"getMonth"}function oc(t){return t?"getUTCDate":"getDate"}function ac(t){return t?"getUTCHours":"getHours"}function sc(t){return t?"getUTCMinutes":"getMinutes"}function lc(t){return t?"getUTCSeconds":"getSeconds"}function uc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function cc(t){return t?"setUTCFullYear":"setFullYear"}function hc(t){return t?"setUTCMonth":"setMonth"}function dc(t){return t?"setUTCDate":"setDate"}function pc(t){return t?"setUTCHours":"setHours"}function fc(t){return t?"setUTCMinutes":"setMinutes"}function gc(t){return t?"setUTCSeconds":"setSeconds"}function mc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function vc(t){if(!Kn(t))return s["C"](t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function yc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var bc=s["M"],_c=/([&<>"'])/g,xc={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function wc(t){return null==t?"":(t+"").replace(_c,(function(t,e){return xc[e]}))}function Sc(t,e,i){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function r(t){return t&&s["T"](t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,l=t instanceof Date;if(a||l){var u=a?$n(t):t;if(!isNaN(+u))return Ju(u,n,i);if(l)return"-"}if("ordinal"===e)return s["D"](t)?r(t):s["z"](t)&&o(t)?t+"":"-";var c=Xn(t);return o(c)?vc(c):s["D"](t)?r(t):"boolean"===typeof t?t+"":"-"}var Cc=["a","b","c","d","e","f","g"],kc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Mc(t,e,i){s["t"](e)||(e=[e]);var n=e.length;if(!n)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=Cc[o];t=t.replace(kc(a),kc(a,0))}for(var l=0;l<n;l++)for(var u=0;u<r.length;u++){var c=e[l][r[u]];t=t.replace(kc(Cc[u],l),i?wc(c):c)}return t}function Oc(t,e,i){return s["k"](e,(function(e,n){t=t.replace("{"+n+"}",i?wc(e):e)})),t}function Tc(t,e){var i=s["C"](t)?{color:t,extraCssText:e}:t||{},n=i.color,r=i.type;e=i.extraCssText;var o=i.renderMode||"html";if(!n)return"";if("html"===o)return"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+wc(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+wc(n)+";"+(e||"")+'"></span>';var a=i.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function Ac(t,e){return e=e||"transparent",s["C"](t)?t:s["A"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Ic(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location.href=t}else window.open(t,e)}var Pc=s["k"],Ec=["left","right","top","bottom","width","height"],Dc=[["width","left","right"],["height","top","bottom"]];function Lc(t,e,i,n,r){var o=0,a=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);c=o+g,c>n||l.newline?(o=0,c=g,a+=s+i,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(f?-f.y+d.y:0);h=a+m,h>r||l.newline?(o+=s+i,a=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+i:a=h+i)}))}var jc=Lc;s["h"](Lc,"vertical"),s["h"](Lc,"horizontal");function Rc(t,e,i){var n=e.width,r=e.height,o=Pn(t.left,n),a=Pn(t.top,r),s=Pn(t.right,n),l=Pn(t.bottom,r);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=n),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=r),i=bc(i||0),{width:Math.max(s-o-i[1]-i[3],0),height:Math.max(l-a-i[0]-i[2],0)}}function Bc(t,e,i){i=bc(i||0);var n=e.width,r=e.height,o=Pn(t.left,n),a=Pn(t.top,r),s=Pn(t.right,n),l=Pn(t.bottom,r),u=Pn(t.width,n),c=Pn(t.height,r),h=i[2]+i[0],d=i[1]+i[3],p=t.aspect;switch(isNaN(u)&&(u=n-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=p&&(isNaN(u)&&isNaN(c)&&(p>n/r?u=.8*n:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=n-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=n/2-u/2-i[3];break;case"right":o=n-u-d;break}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-i[0];break;case"bottom":a=r-c-h;break}o=o||0,a=a||0,isNaN(u)&&(u=n-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var f=new Gi(o+i[3],a+i[0],u,c);return f.margin=i,f}function Fc(t,e,i,n,r,o){var a,l=!r||!r.hv||r.hv[0],u=!r||!r.hv||r.hv[1],c=r&&r.boundingMode||"all";if(o=o||t,o.x=t.x,o.y=t.y,!l&&!u)return!1;if("raw"===c)a="group"===t.type?new Gi(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();a=a.clone(),a.applyTransform(h)}var d=Bc(s["i"]({width:a.width,height:a.height},e),i,n),p=l?d.x-a.x:0,f=u?d.y-a.y:0;return"raw"===c?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===t&&t.markRedraw(),!0}function Nc(t,e){return null!=t[Dc[e][0]]||null!=t[Dc[e][1]]&&null!=t[Dc[e][2]]}function zc(t){var e=t.layoutMode||t.constructor.layoutMode;return s["A"](e)?e:e?{type:e}:null}function Vc(t,e,i){var n=i&&i.ignoreSize;!s["t"](n)&&(n=[n,n]);var r=a(Dc[0],0),o=a(Dc[1],1);function a(i,r){var o={},a=0,s={},c=0,h=2;if(Pc(i,(function(e){s[e]=t[e]})),Pc(i,(function(t){l(e,t)&&(o[t]=s[t]=e[t]),u(o,t)&&a++,u(s,t)&&c++})),n[r])return u(e,i[1])?s[i[2]]=null:u(e,i[2])&&(s[i[1]]=null),s;if(c!==h&&a){if(a>=h)return o;for(var d=0;d<i.length;d++){var p=i[d];if(!l(o,p)&&l(t,p)){o[p]=t[p];break}}return o}return s}function l(t,e){return t.hasOwnProperty(e)}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,i){Pc(t,(function(t){e[t]=i[t]}))}c(Dc[0],t,r),c(Dc[1],t,o)}function qc(t){return $c({},t)}function $c(t,e){return e&&t&&Pc(Ec,(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}var Hc=kr(),Gc=function(t){function e(e,i,n){var r=t.call(this,e,i,n)||this;return r.uid=Su("ec_cpt_model"),r}return o(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.mergeDefaultAndTheme=function(t,e){var i=zc(this),n=i?qc(t):{},r=e.getTheme();s["I"](t,r.get(this.mainType)),s["I"](t,this.getDefaultOption()),i&&Vc(t,n,i)},e.prototype.mergeOption=function(t,e){s["I"](this.option,t,!0);var i=zc(this);i&&Vc(this.option,t,i)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!Vr(t))return t.defaultOption;var e=Hc(this);if(!e.defaultOption){var i=[],n=t;while(n){var r=n.prototype.defaultOption;r&&i.push(r),n=n.superClass}for(var o={},a=i.length-1;a>=0;a--)o=s["I"](o,i[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var i=t+"Index",n=t+"Id";return Pr(this.ecModel,t,{index:this.get(i,!0),id:this.get(n,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(xu);function Wc(t){var e=[];return s["k"](Gc.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=s["H"](e,(function(t){return Nr(t).main})),"dataset"!==t&&s["r"](e,"dataset")<=0&&e.unshift("dataset"),e}Hr(Gc,xu),Xr(Gc),Cu(Gc),ku(Gc,Wc);var Uc=Gc,Yc="";"undefined"!==typeof navigator&&(Yc=navigator.platform||"");var Xc="rgba(0, 0, 0, 0.2)",Kc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Xc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Xc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Xc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Xc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Xc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Xc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Yc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Zc=Object(s["f"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Qc="original",Jc="arrayRows",th="objectRows",eh="keyedColumns",ih="typedArray",nh="unknown",rh="column",oh="row",ah={Must:1,Might:2,Not:3},sh=kr();function lh(t){sh(t).datasetMap=Object(s["f"])()}function uh(t,e,i){var n={},r=hh(e);if(!r||!t)return n;var o,a,l=[],u=[],c=e.ecModel,h=sh(c).datasetMap,d=r.uid+"_"+i.seriesLayoutBy;t=t.slice(),Object(s["k"])(t,(function(e,i){var r=Object(s["A"])(e)?e:t[i]={name:e};"ordinal"===r.type&&null==o&&(o=i,a=g(r)),n[r.name]=[]}));var p=h.get(d)||h.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,i){for(var n=0;n<i;n++)t.push(e+n)}function g(t){var e=t.dimsDef;return e?e.length:1}return Object(s["k"])(t,(function(t,e){var i=t.name,r=g(t);if(null==o){var a=p.valueWayDim;f(n[i],a,r),f(u,a,r),p.valueWayDim+=r}else if(o===e)f(n[i],0,r),f(l,0,r);else{a=p.categoryWayDim;f(n[i],a,r),f(u,a,r),p.categoryWayDim+=r}})),l.length&&(n.itemName=l),u.length&&(n.seriesName=u),n}function ch(t,e,i){var n={},r=hh(t);if(!r)return n;var o,a=e.sourceFormat,l=e.dimensionsDefine;a!==th&&a!==eh||Object(s["k"])(l,(function(t,e){"name"===(Object(s["A"])(t)?t.name:t)&&(o=e)}));var u=function(){for(var t={},n={},r=[],s=0,u=Math.min(5,i);s<u;s++){var c=fh(e.data,a,e.seriesLayoutBy,l,e.startIndex,s);r.push(c);var h=c===ah.Not;if(h&&null==t.v&&s!==o&&(t.v=s),(null==t.n||t.n===t.v||!h&&r[t.n]===ah.Not)&&(t.n=s),d(t)&&r[t.n]!==ah.Not)return t;h||(c===ah.Might&&null==n.v&&s!==o&&(n.v=s),null!=n.n&&n.n!==n.v||(n.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(n)?n:null}();if(u){n.value=[u.v];var c=null!=o?o:u.n;n.itemName=[c],n.seriesName=[c]}return n}function hh(t){var e=t.get("data",!0);if(!e)return Pr(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Ar).models[0]}function dh(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Pr(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Ar).models:[]}function ph(t,e){return fh(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function fh(t,e,i,n,r,o){var a,l,u,c=5;if(Object(s["E"])(t))return ah.Not;if(n){var h=n[o];Object(s["A"])(h)?(l=h.name,u=h.type):Object(s["C"])(h)&&(l=h)}if(null!=u)return"ordinal"===u?ah.Must:ah.Not;if(e===Jc){var d=t;if(i===oh){for(var p=d[o],f=0;f<(p||[]).length&&f<c;f++)if(null!=(a=x(p[r+f])))return a}else for(f=0;f<d.length&&f<c;f++){var g=d[r+f];if(g&&null!=(a=x(g[o])))return a}}else if(e===th){var m=t;if(!l)return ah.Not;for(f=0;f<m.length&&f<c;f++){var v=m[f];if(v&&null!=(a=x(v[l])))return a}}else if(e===eh){var y=t;if(!l)return ah.Not;p=y[l];if(!p||Object(s["E"])(p))return ah.Not;for(f=0;f<p.length&&f<c;f++)if(null!=(a=x(p[f])))return a}else if(e===Qc){var b=t;for(f=0;f<b.length&&f<c;f++){v=b[f];var _=ar(v);if(!Object(s["t"])(_))return ah.Not;if(null!=(a=x(_[o])))return a}}function x(t){var e=Object(s["C"])(t);return null!=t&&isFinite(t)&&""!==t?e?ah.Might:ah.Not:e&&"-"!==t?ah.Must:void 0}return ah.Not}var gh=Object(s["f"])();function mh(t,e){Object(s["b"])(null==gh.get(t)&&e),gh.set(t,e)}function vh(t,e,i){var n=gh.get(e);if(!n)return i;var r=n(t);return r?i.concat(r):i}var yh=kr(),bh=kr(),_h=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,i){var n=nr(this.get("color",!0)),r=this.get("colorLayer",!0);return Sh(this,yh,n,r,t,e,i)},t.prototype.clearColorPalette=function(){Ch(this,yh)},t}();function xh(t,e,i,n){var r=nr(t.get(["aria","decal","decals"]));return Sh(t,bh,r,null,e,i,n)}function wh(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n].length>e)return t[n];return t[i-1]}function Sh(t,e,i,n,r,o,a){o=o||t;var s=e(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&n?wh(n,a):i;if(c=c||i,c&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}function Ch(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var kh,Mh,Oh;"undefined"!==typeof console&&console.warn&&console.log;function Th(t){0}function Ah(t){throw new Error(t)}var Ih="\0_ec_inner",Ph=1;var Eh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(t,e,i,n,r,o){n=n||{},this.option=null,this._theme=new xu(n),this._locale=new xu(r),this._optionManager=o},e.prototype.setOption=function(t,e,i){var n=Bh(e);this._optionManager.setOption(t,i,n),this._resetOption(null,n)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Bh(e))},e.prototype._resetOption=function(t,e){var i=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Oh(this,r),i=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(i=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this);a.length&&Object(s["k"])(a,(function(t){i=!0,this._mergeOption(t,e)}),this)}return i},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var i=this.option,n=this._componentsMap,r=this._componentsCount,o=[],a=Object(s["f"])(),l=e&&e.replaceMergeMainTypeMap;function u(e){var o=vh(this,e,nr(t[e])),a=n.get(e),u=a?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=lr(a,o,u);xr(c,e,Uc),i[e]=null,n.set(e,null),r.set(e,0);var h,d=[],p=[],f=0;Object(s["k"])(c,(function(t,i){var n=t.existing,r=t.newOption;if(r){var o="series"===e,a=Uc.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(n&&n.constructor===a)n.name=t.keyInfo.name,n.mergeOption(r,this),n.optionUpdated(r,!1);else{var l=Object(s["m"])({componentIndex:i},t.keyInfo);n=new a(r,this,this,l),Object(s["m"])(n,l),t.brandNew&&(n.__requireNewView=!0),n.init(r,this,this),n.optionUpdated(null,!0)}}else n&&(n.mergeOption({},this),n.optionUpdated({},!1));n?(d.push(n.option),p.push(n),f++):(d.push(void 0),p.push(void 0))}),this),i[e]=d,n.set(e,p),r.set(e,f),"series"===e&&kh(this)}lh(this),Object(s["k"])(t,(function(t,e){null!=t&&(Uc.hasClass(e)?e&&(o.push(e),a.set(e,!0)):i[e]=null==i[e]?Object(s["d"])(t):Object(s["I"])(i[e],t,!0))})),l&&l.each((function(t,e){Uc.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),Uc.topologicalTravel(o,Uc.getAllClassMainTypes(),u,this),this._seriesIndices||kh(this)},e.prototype.getOption=function(){var t=Object(s["d"])(this.option);return Object(s["k"])(t,(function(e,i){if(Uc.hasClass(i)){for(var n=nr(e),r=n.length,o=!1,a=r-1;a>=0;a--)n[a]&&!br(n[a])?o=!0:(n[a]=null,!o&&r--);n.length=r,t[i]=n}})),delete t[Ih],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var i=this._componentsMap.get(t);if(i){var n=i[e||0];if(n)return n;if(null==e)for(var r=0;r<i.length;r++)if(i[r])return i[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=n?(i=[],Object(s["k"])(nr(n),(function(t){a[t]&&i.push(a[t])}))):i=null!=r?jh("id",r,a):null!=o?jh("name",o,a):Object(s["n"])(a,(function(t){return!!t})),Rh(i,t)):[]},e.prototype.findComponents=function(t){var e=t.query,i=t.mainType,n=o(e),r=n?this.queryComponents(n):Object(s["n"])(this._componentsMap.get(i),(function(t){return!!t}));return a(Rh(r,t));function o(t){var e=i+"Index",n=i+"Id",r=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[r]?null:{mainType:i,index:t[e],id:t[n],name:t[r]}}function a(e){return t.filter?Object(s["n"])(e,t.filter):e}},e.prototype.eachComponent=function(t,e,i){var n=this._componentsMap;if(Object(s["w"])(t)){var r=e,o=t;n.each((function(t,e){for(var i=0;t&&i<t.length;i++){var n=t[i];n&&o.call(r,e,n,n.componentIndex)}}))}else for(var a=Object(s["C"])(t)?n.get(t):Object(s["A"])(t)?this.findComponents(t):null,l=0;a&&l<a.length;l++){var u=a[l];u&&e.call(i,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=vr(t,null);return Object(s["n"])(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Object(s["n"])(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Object(s["n"])(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Mh(this),Object(s["k"])(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},e.prototype.eachRawSeries=function(t,e){Object(s["k"])(this._componentsMap.get("series"),(function(i){i&&t.call(e,i,i.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,i){Mh(this),Object(s["k"])(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)}),this)},e.prototype.eachRawSeriesByType=function(t,e,i){return Object(s["k"])(this.getSeriesByType(t),e,i)},e.prototype.isSeriesFiltered=function(t){return Mh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Mh(this);var i=[];Object(s["k"])(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)&&i.push(n)}),this),this._seriesIndices=i,this._seriesIndicesMap=Object(s["f"])(i)},e.prototype.restoreData=function(t){kh(this);var e=this._componentsMap,i=[];e.each((function(t,e){Uc.hasClass(e)&&i.push(e)})),Uc.topologicalTravel(i,Uc.getAllClassMainTypes(),(function(i){Object(s["k"])(e.get(i),(function(e){!e||"series"===i&&Dh(e,t)||e.restoreData()}))}))},e.internalField=function(){kh=function(t){var e=t._seriesIndices=[];Object(s["k"])(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=Object(s["f"])(e)},Mh=function(t){0},Oh=function(t,e){t.option={},t.option[Ih]=Ph,t._componentsMap=Object(s["f"])({series:[]}),t._componentsCount=Object(s["f"])();var i=e.aria;Object(s["A"])(i)&&null==i.enabled&&(i.enabled=!0),Lh(e,t._theme.option),Object(s["I"])(e,Kc,!1),t._mergeOption(e,null)}}(),e}(xu);function Dh(t,e){if(e){var i=e.seriesIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}function Lh(t,e){var i=t.color&&!t.colorLayer;Object(s["k"])(e,(function(e,n){"colorLayer"===n&&i||Uc.hasClass(n)||("object"===typeof e?t[n]=t[n]?Object(s["I"])(t[n],e,!1):Object(s["d"])(e):null==t[n]&&(t[n]=e))}))}function jh(t,e,i){if(Object(s["t"])(e)){var n=Object(s["f"])();return Object(s["k"])(e,(function(t){if(null!=t){var e=vr(t,null);null!=e&&n.set(t,!0)}})),Object(s["n"])(i,(function(e){return e&&n.get(e[t])}))}var r=vr(e,null);return Object(s["n"])(i,(function(e){return e&&null!=r&&e[t]===r}))}function Rh(t,e){return e.hasOwnProperty("subType")?Object(s["n"])(t,(function(t){return t&&t.subType===e.subType})):t}function Bh(t){var e=Object(s["f"])();return t&&Object(s["k"])(nr(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}Object(s["K"])(Eh,_h);var Fh=Eh,Nh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],zh=function(){function t(t){s["k"](Nh,(function(e){this[e]=s["c"](t[e],t)}),this)}return t}(),Vh=zh,qh={},$h=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var i=[];s["k"](qh,(function(n,r){var o=n.create(t,e);i=i.concat(o||[])})),this._coordinateSystems=i},t.prototype.update=function(t,e){s["k"](this._coordinateSystems,(function(i){i.update&&i.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){qh[t]=e},t.get=function(t){return qh[t]},t}(),Hh=$h,Gh=/^(min|max)?(.+)$/,Wh=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,i){t&&(Object(s["k"])(nr(t.series),(function(t){t&&t.data&&Object(s["E"])(t.data)&&Object(s["R"])(t.data)})),Object(s["k"])(nr(t.dataset),(function(t){t&&t.source&&Object(s["E"])(t.source)&&Object(s["R"])(t.source)}))),t=Object(s["d"])(t);var n=this._optionBackup,r=Uh(t,e,!n);this._newBaseOption=r.baseOption,n?(r.timelineOptions.length&&(n.timelineOptions=r.timelineOptions),r.mediaList.length&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Object(s["d"])(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=Object(s["d"])(i[n.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!n.length&&!r)return a;for(var l=0,u=n.length;l<u;l++)Yh(n[l].query,e,i)&&o.push(l);return!o.length&&r&&(o=[-1]),o.length&&!Kh(o,this._currentMediaIndices)&&(a=Object(s["H"])(o,(function(t){return Object(s["d"])(-1===t?r.option:n[t].option)}))),this._currentMediaIndices=o,a},t}();function Uh(t,e,i){var n,r,o=[],a=t.baseOption,l=t.timeline,u=t.options,c=t.media,h=!!t.media,d=!!(u||l||a&&a.timeline);function p(t){Object(s["k"])(e,(function(e){e(t,i)}))}return a?(r=a,r.timeline||(r.timeline=l)):((d||h)&&(t.options=t.media=null),r=t),h&&Object(s["t"])(c)&&Object(s["k"])(c,(function(t){t&&t.option&&(t.query?o.push(t):n||(n=t))})),p(r),Object(s["k"])(u,(function(t){return p(t)})),Object(s["k"])(o,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:u||[],mediaDefault:n,mediaList:o}}function Yh(t,e,i){var n={width:e,height:i,aspectratio:e/i},r=!0;return Object(s["k"])(t,(function(t,e){var i=e.match(Gh);if(i&&i[1]&&i[2]){var o=i[1],a=i[2].toLowerCase();Xh(n[a],t,o)||(r=!1)}})),r}function Xh(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e}function Kh(t,e){return t.join(",")===e.join(",")}var Zh=Wh,Qh=s["k"],Jh=s["A"],td=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ed(t){var e=t&&t.itemStyle;if(e)for(var i=0,n=td.length;i<n;i++){var r=td[i],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?s["I"](t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?s["I"](t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function id(t,e,i){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,r=t[e].emphasis;n&&(i?(t[e].normal=t[e].emphasis=null,s["i"](t[e],n)):t[e]=n),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function nd(t){id(t,"itemStyle"),id(t,"lineStyle"),id(t,"areaStyle"),id(t,"label"),id(t,"labelLine"),id(t,"upperLabel"),id(t,"edgeLabel")}function rd(t,e){var i=Jh(t)&&t[e],n=Jh(i)&&i.textStyle;if(n){0;for(var r=0,o=or.length;r<o;r++){var a=or[r];n.hasOwnProperty(a)&&(i[a]=n[a])}}}function od(t){t&&(nd(t),rd(t,"label"),t.emphasis&&rd(t.emphasis,"label"))}function ad(t){if(Jh(t)){ed(t),nd(t),rd(t,"label"),rd(t,"upperLabel"),rd(t,"edgeLabel"),t.emphasis&&(rd(t.emphasis,"label"),rd(t.emphasis,"upperLabel"),rd(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ed(e),od(e));var i=t.markLine;i&&(ed(i),od(i));var n=t.markArea;n&&od(n);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!s["E"](o))for(var a=0;a<o.length;a++)od(o[a]);s["k"](t.categories,(function(t){nd(t)}))}if(r&&!s["E"](r))for(a=0;a<r.length;a++)od(r[a]);if(e=t.markPoint,e&&e.data){var l=e.data;for(a=0;a<l.length;a++)od(l[a])}if(i=t.markLine,i&&i.data){var u=i.data;for(a=0;a<u.length;a++)s["t"](u[a])?(od(u[a][0]),od(u[a][1])):od(u[a])}"gauge"===t.type?(rd(t,"axisLabel"),rd(t,"title"),rd(t,"detail")):"treemap"===t.type?(id(t.breadcrumb,"itemStyle"),s["k"](t.levels,(function(t){nd(t)}))):"tree"===t.type&&nd(t.leaves)}}function sd(t){return s["t"](t)?t:t?[t]:[]}function ld(t){return(s["t"](t)?t[0]:t)||{}}function ud(t,e){Qh(sd(t.series),(function(t){Jh(t)&&ad(t)}));var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),Qh(i,(function(e){Qh(sd(t[e]),(function(t){t&&(rd(t,"axisLabel"),rd(t.axisPointer,"label"))}))})),Qh(sd(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;rd(e,"axisLabel"),rd(e&&e.axisPointer,"label")})),Qh(sd(t.calendar),(function(t){id(t,"itemStyle"),rd(t,"dayLabel"),rd(t,"monthLabel"),rd(t,"yearLabel")})),Qh(sd(t.radar),(function(t){rd(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),Qh(sd(t.geo),(function(t){Jh(t)&&(od(t),Qh(sd(t.regions),(function(t){od(t)})))})),Qh(sd(t.timeline),(function(t){od(t),id(t,"label"),id(t,"itemStyle"),id(t,"controlStyle",!0);var e=t.data;s["t"](e)&&s["k"](e,(function(t){s["A"](t)&&(id(t,"label"),id(t,"itemStyle"))}))})),Qh(sd(t.toolbox),(function(t){id(t,"iconStyle"),Qh(t.feature,(function(t){id(t,"iconStyle")}))})),rd(ld(t.axisPointer),"label"),rd(ld(t.tooltip).axisPointer,"label")}function cd(t,e){for(var i=e.split(","),n=t,r=0;r<i.length;r++)if(n=n&&n[i[r]],null==n)break;return n}function hd(t,e,i,n){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)r=o[s],null==a[r]&&(a[r]={}),a=a[r];(n||null==a[o[s]])&&(a[o[s]]=i)}function dd(t){t&&Object(s["k"])(pd,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var pd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],fd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],gd=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function md(t){var e=t&&t.itemStyle;if(e)for(var i=0;i<gd.length;i++){var n=gd[i][1],r=gd[i][0];null!=e[n]&&(e[r]=e[n])}}function vd(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function yd(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function bd(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function _d(t,e){if(t)for(var i=0;i<t.length;i++)e(t[i]),t[i]&&_d(t[i].children,e)}function xd(t,e){ud(t,e),t.series=nr(t.series),Object(s["k"])(t.series,(function(t){if(Object(s["A"])(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),vd(t.label);var i=t.data;if(i&&!Object(s["E"])(i))for(var n=0;n<i.length;n++)vd(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=cd(t,"pointer.color");null!=r&&hd(t,"itemStyle.color",r)}else if("bar"===e){md(t),md(t.backgroundStyle),md(t.emphasis);i=t.data;if(i&&!Object(s["E"])(i))for(n=0;n<i.length;n++)"object"===typeof i[n]&&(md(i[n]),md(i[n]&&i[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),yd(t),_d(t.data,yd)}else"graph"===e||"sankey"===e?bd(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Object(s["i"])(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),dd(t)}})),t.dataRange&&(t.visualMap=t.dataRange),Object(s["k"])(fd,(function(e){var i=t[e];i&&(Object(s["t"])(i)||(i=[i]),Object(s["k"])(i,(function(t){dd(t)})))}))}function wd(t){var e=Object(s["f"])();t.eachSeries((function(t){var i=t.get("stack");if(i){var n=e.get(i)||e.set(i,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;n.length&&r.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}})),e.each(Sd)}function Sd(t){Object(s["k"])(t,(function(e,i){var n=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var h,d,p=a.get(e.stackedDimension,c);if(isNaN(p))return r;s?d=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var f=NaN,g=i-1;g>=0;g--){var m=t[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,h)),d>=0){var v=m.data.getByRawIndex(m.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&p>=0&&v>0||"samesign"===l&&p<=0&&v<0){p=Fn(p,v),f=v;break}}}return n[0]=p,n[1]=f,n}))}))}var Cd,kd,Md,Od,Td,Ad=function(){function t(t){this.data=t.data||(t.sourceFormat===eh?{}:[]),this.sourceFormat=t.sourceFormat||nh,this.seriesLayoutBy=t.seriesLayoutBy||rh,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var i=0;i<e.length;i++){var n=e[i];null==n.type&&ph(this,i)===ah.Must&&(n.type="ordinal")}}return t}();function Id(t){return t instanceof Ad}function Pd(t,e,i){i=i||Ld(t);var n=e.seriesLayoutBy,r=jd(t,i,n,e.sourceHeader,e.dimensions),o=new Ad({data:t,sourceFormat:i,seriesLayoutBy:n,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Object(s["d"])(e)});return o}function Ed(t){return new Ad({data:t,sourceFormat:Object(s["E"])(t)?ih:Qc})}function Dd(t){return new Ad({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Object(s["d"])(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function Ld(t){var e=nh;if(Object(s["E"])(t))e=ih;else if(Object(s["t"])(t)){0===t.length&&(e=Jc);for(var i=0,n=t.length;i<n;i++){var r=t[i];if(null!=r){if(Object(s["t"])(r)){e=Jc;break}if(Object(s["A"])(r)){e=th;break}}}}else if(Object(s["A"])(t))for(var o in t)if(Object(s["q"])(t,o)&&Object(s["u"])(t[o])){e=eh;break}return e}function jd(t,e,i,n,r){var o,a;if(!t)return{dimensionsDefine:Bd(r),startIndex:a,dimensionsDetectedCount:o};if(e===Jc){var l=t;"auto"===n||null==n?Fd((function(t){null!=t&&"-"!==t&&(Object(s["C"])(t)?null==a&&(a=1):a=0)}),i,l,10):a=Object(s["z"])(n)?n:n?1:0,r||1!==a||(r=[],Fd((function(t,e){r[e]=null!=t?t+"":""}),i,l,1/0)),o=r?r.length:i===oh?l.length:l[0]?l[0].length:null}else if(e===th)r||(r=Rd(t));else if(e===eh)r||(r=[],Object(s["k"])(t,(function(t,e){r.push(e)})));else if(e===Qc){var u=ar(t[0]);o=Object(s["t"])(u)&&u.length||1}return{startIndex:a,dimensionsDefine:Bd(r),dimensionsDetectedCount:o}}function Rd(t){var e,i=0;while(i<t.length&&!(e=t[i++]));if(e){var n=[];return Object(s["k"])(e,(function(t,e){n.push(e)})),n}}function Bd(t){if(t){var e=Object(s["f"])();return Object(s["H"])(t,(function(t,i){t=Object(s["A"])(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(null==n.name)return n;n.name+="",null==n.displayName&&(n.displayName=n.name);var r=e.get(n.name);return r?n.name+="-"+r.count++:e.set(n.name,{count:1}),n}))}}function Fd(t,e,i,n){if(e===oh)for(var r=0;r<i.length&&r<n;r++)t(i[r]?i[r][0]:null,r);else{var o=i[0]||[];for(r=0;r<o.length&&r<n;r++)t(o[r],r)}}function Nd(t){var e=t.sourceFormat;return e===th||e===eh}var zd=function(){function t(t,e){var i=Id(t)?t:Ed(t);this._source=i;var n=this._data=i.data;i.sourceFormat===ih&&(this._offset=0,this._dimSize=e,this._data=n),Td(this,n,i)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Td=function(t,r,o){var a=o.sourceFormat,l=o.seriesLayoutBy,u=o.startIndex,c=o.dimensionsDefine,h=Od[Kd(a,l)];if(Object(s["m"])(t,h),a===ih)t.getItem=e,t.count=n,t.fillStorage=i;else{var d=$d(a,l);t.getItem=Object(s["c"])(d,null,r,u,c);var p=Wd(a,l);t.count=Object(s["c"])(p,null,r,u,c)}};var e=function(t,e){t-=this._offset,e=e||[];for(var i=this._data,n=this._dimSize,r=n*t,o=0;o<n;o++)e[o]=i[r+o];return e},i=function(t,e,i,n){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=n[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=i[a],d=0;d<c;d++){var p=r[d*o+a];h[t+d]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},n=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[Jc+"_"+rh]={pure:!0,appendData:r},t[Jc+"_"+oh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[th]={pure:!0,appendData:r},t[eh]={pure:!0,appendData:function(t){var e=this._data;Object(s["k"])(t,(function(t,i){for(var n=e[i]||(e[i]=[]),r=0;r<(t||[]).length;r++)n.push(t[r])}))}},t[Qc]={appendData:r},t[ih]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Od=t}(),t}(),Vd=function(t,e,i,n){return t[n]},qd=(Cd={},Cd[Jc+"_"+rh]=function(t,e,i,n){return t[n+e]},Cd[Jc+"_"+oh]=function(t,e,i,n,r){n+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[n]:null}return o},Cd[th]=Vd,Cd[eh]=function(t,e,i,n,r){for(var o=r||[],a=0;a<i.length;a++){var s=i[a].name;0;var l=t[s];o[a]=l?l[n]:null}return o},Cd[Qc]=Vd,Cd);function $d(t,e){var i=qd[Kd(t,e)];return i}var Hd=function(t,e,i){return t.length},Gd=(kd={},kd[Jc+"_"+rh]=function(t,e,i){return Math.max(0,t.length-e)},kd[Jc+"_"+oh]=function(t,e,i){var n=t[0];return n?Math.max(0,n.length-e):0},kd[th]=Hd,kd[eh]=function(t,e,i){var n=i[0].name;var r=t[n];return r?r.length:0},kd[Qc]=Hd,kd);function Wd(t,e){var i=Gd[Kd(t,e)];return i}var Ud=function(t,e,i){return t[e]},Yd=(Md={},Md[Jc]=Ud,Md[th]=function(t,e,i){return t[i]},Md[eh]=Ud,Md[Qc]=function(t,e,i){var n=ar(t);return n instanceof Array?n[e]:n},Md[ih]=Ud,Md);function Xd(t){var e=Yd[t];return e}function Kd(t,e){return t===Jc?t+"_"+e:t}function Zd(t,e,i){if(t){var n=t.getRawDataItem(e);if(null!=n){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=i){var a=t.getDimensionIndex(i),s=r.getDimensionProperty(a);return Xd(o)(n,a,s)}var l=n;return o===Qc&&(l=ar(n)),l}}}var Qd=/\{@(.+?)\}/g,Jd=function(){function t(){}return t.prototype.getDataParams=function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),r=i.getRawIndex(t),o=i.getName(t),a=i.getRawDataItem(t),s=i.getItemVisual(t,"style"),l=s&&s[i.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=i.userOutput&&i.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:n,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,i,n,r,o){e=e||"normal";var a=this.getData(i),l=this.getDataParams(t,i);if(o&&(l.value=o.interpolatedValue),null!=n&&s["t"](l.value)&&(l.value=l.value[n]),!r){var u=a.getItemModel(t);r=u.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(s["w"](r))return l.status=e,l.dimensionIndex=n,r(l);if(s["C"](r)){var c=Mc(r,l);return c.replace(Qd,(function(e,i){var n=i.length,r=i;"["===r.charAt(0)&&"]"===r.charAt(n-1)&&(r=+r.slice(1,n-1));var l=Zd(a,t,r);if(o&&s["t"](o.interpolatedValue)){var u=a.getDimensionIndex(r);u>=0&&(l=o.interpolatedValue[u])}return null!=l?l+"":""}))}},t.prototype.getRawValue=function(t,e){return Zd(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,i){},t}();function tp(t){var e,i;return s["A"](t)?t.type&&(i=t):e=t,{text:e,frag:i}}function ep(t){return new ip(t)}var ip=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,i=this._upstream,n=t&&t.skip;if(this._dirty&&i){var r=this.context;r.data=r.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(e=this._plan(this.context));var o,a=h(this._modBy),l=this._modDataCount||0,u=h(t&&t.modBy),c=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===u&&l===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(n)),this._modBy=u,this._modDataCount=c;var d=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!n&&(o||p<f)){var g=this._progress;if(Object(s["t"])(g))for(var m=0;m<g.length;m++)this._doProgress(g[m],p,f,u,c);else this._doProgress(g,p,f,u,c)}this._dueIndex=f;var v=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,i,n,r){np.reset(e,i,n,r),this._callingProgress=t,this._callingProgress({start:e,end:i,count:i-e,next:np.next},this.context)},t.prototype._doReset=function(t){var e,i;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(i=e.forceFirstProgress,e=e.progress),Object(s["t"])(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var n=this._downstream;return n&&n.dirty(),i},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),np=function(){var t,e,i,n,r,o={reset:function(l,u,c,h){e=l,t=u,i=c,n=h,r=Math.ceil(n/i),o.next=i>1&&n>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*i+Math.ceil(e/r),a=e>=t?null:o<n?o:e;return e++,a}}();function rp(t,e){var i=e&&e.type;return"ordinal"===i?t:("time"!==i||Object(s["z"])(t)||null==t||"-"===t||(t=+$n(t)),null==t||""===t?NaN:+t)}var op=Object(s["f"])({number:function(t){return parseFloat(t)},time:function(t){return+$n(t)},trim:function(t){return Object(s["C"])(t)?Object(s["T"])(t):t}});function ap(t){return op.get(t)}var sp={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},lp=function(){function t(t,e){if(!Object(s["z"])(e)){var i="";0,Ah(i)}this._opFn=sp[t],this._rvalFloat=Xn(e)}return t.prototype.evaluate=function(t){return Object(s["z"])(t)?this._opFn(t,this._rvalFloat):this._opFn(Xn(t),this._rvalFloat)},t}(),up=function(){function t(t,e){var i="desc"===t;this._resultLT=i?1:-1,null==e&&(e=i?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var i=Object(s["z"])(t)?t:Xn(t),n=Object(s["z"])(e)?e:Xn(e),r=isNaN(i),o=isNaN(n);if(r&&(i=this._incomparable),o&&(n=this._incomparable),r&&o){var a=Object(s["C"])(t),l=Object(s["C"])(e);a&&(i=l?t:0),l&&(n=a?e:0)}return i<n?this._resultLT:i>n?-this._resultLT:0},t}(),cp=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Xn(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var i=typeof t;i===this._rvalTypeof||"number"!==i&&"number"!==this._rvalTypeof||(e=Xn(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function hp(t,e){return"eq"===t||"ne"===t?new cp("eq"===t,e):Object(s["q"])(sp,t)?new lp(t,e):null}var dp=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return rp(t,e)},t}();function pp(t,e){var i=new dp,n=t.data,r=i.sourceFormat=t.sourceFormat,o=t.startIndex,a="";t.seriesLayoutBy!==rh&&Ah(a);var l=[],u={},c=t.dimensionsDefine;if(c)Object(s["k"])(c,(function(t,e){var i=t.name,n={index:e,name:i,displayName:t.displayName};if(l.push(n),null!=i){var r="";Object(s["q"])(u,i)&&Ah(r),u[i]=n}}));else for(var h=0;h<t.dimensionsDetectedCount;h++)l.push({index:h});var d=$d(r,rh);e.__isBuiltIn&&(i.getRawDataItem=function(t){return d(n,o,l,t)},i.getRawData=Object(s["c"])(fp,null,t)),i.cloneRawData=Object(s["c"])(gp,null,t);var p=Wd(r,rh);i.count=Object(s["c"])(p,null,n,o,l);var f=Xd(r);i.retrieveValue=function(t,e){var i=d(n,o,l,t);return g(i,e)};var g=i.retrieveValueFromItem=function(t,e){if(null!=t){var i=l[e];return i?f(t,e,i.name):void 0}};return i.getDimensionInfo=Object(s["c"])(mp,null,l,u),i.cloneAllDimensionInfo=Object(s["c"])(vp,null,l),i}function fp(t){var e=t.sourceFormat;if(!wp(e)){var i="";0,Ah(i)}return t.data}function gp(t){var e=t.sourceFormat,i=t.data;if(!wp(e)){var n="";0,Ah(n)}if(e===Jc){for(var r=[],o=0,a=i.length;o<a;o++)r.push(i[o].slice());return r}if(e===th){for(r=[],o=0,a=i.length;o<a;o++)r.push(Object(s["m"])({},i[o]));return r}}function mp(t,e,i){if(null!=i)return Object(s["z"])(i)||!isNaN(i)&&!Object(s["q"])(e,i)?t[i]:Object(s["q"])(e,i)?e[i]:void 0}function vp(t){return Object(s["d"])(t)}var yp=Object(s["f"])();function bp(t){t=Object(s["d"])(t);var e=t.type,i="";e||Ah(i);var n=e.split(":");2!==n.length&&Ah(i);var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,yp.set(e,t)}function _p(t,e,i){var n=nr(t),r=n.length,o="";r||Ah(o);for(var a=0,s=r;a<s;a++){var l=n[a];e=xp(l,e,i,1===r?null:a),a!==s-1&&(e.length=Math.max(e.length,1))}return e}function xp(t,e,i,n){var r="";e.length||Ah(r),Object(s["A"])(t)||Ah(r);var o=t.type,a=yp.get(o);a||Ah(r);var l=Object(s["H"])(e,(function(t){return pp(t,a)})),u=nr(a.transform({upstream:l[0],upstreamList:l,config:Object(s["d"])(t.config)}));return Object(s["H"])(u,(function(t,i){var n="";Object(s["A"])(t)||Ah(n),t.data||Ah(n);var r,o=Ld(t.data);wp(o)||Ah(n);var a=e[0];if(a&&0===i&&!t.dimensions){var l=a.startIndex;l&&(t.data=a.data.slice(0,l).concat(t.data)),r={seriesLayoutBy:rh,sourceHeader:l,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:rh,sourceHeader:0,dimensions:t.dimensions};return Pd(t.data,r,null)}))}function wp(t){return t===Jc||t===th}var Sp,Cp="undefined",kp=typeof Uint32Array===Cp?Array:Uint32Array,Mp=typeof Uint16Array===Cp?Array:Uint16Array,Op=typeof Int32Array===Cp?Array:Int32Array,Tp=typeof Float64Array===Cp?Array:Float64Array,Ap={float:Tp,int:Op,ordinal:Array,number:Array,time:Tp};function Ip(t){return t>65535?kp:Mp}function Pp(){return[1/0,-1/0]}function Ep(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Dp(t,e,i,n,r){var o=Ap[i||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==n){for(var l=new o(n),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(n)}var Lp=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(s["f"])()}return t.prototype.initData=function(t,e,i){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var n=t.getSource(),r=this.defaultDimValueGetter=Sp[n.sourceFormat];this._dimValueGetter=i||r,this._rawExtent=[];Nd(n);this._dimensions=Object(s["H"])(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var i=this._calcDimNameToIdx,n=this._dimensions,r=i.get(t);if(null!=r){if(n[r].type===e)return r}else r=n.length;return n[r]={type:e},i.set(t,r),this._chunks[r]=new Ap[e||"float"](this._rawCount),this._rawExtent[r]=Pp(),r},t.prototype.collectOrdinalMeta=function(t,e){var i=this._chunks[t],n=this._dimensions[t],r=this._rawExtent,o=n.ordinalOffset||0,a=i.length;0===o&&(r[t]=Pp());for(var s=r[t],l=o;l<a;l++){var u=i[l]=e.parseAndCollect(i[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}n.ordinalMeta=e,n.ordinalOffset=a,n.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],i=e.ordinalMeta;return i},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,i=this.count();e.appendData(t);var n=e.count();return e.persistent||(n+=i),i<n&&this._initDataFromProvider(i,n,!0),[i,n]},t.prototype.appendValues=function(t,e){for(var i=this._chunks,n=this._dimensions,r=n.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){var u=n[l];Dp(i,l,u.type,s,!0)}for(var c=[],h=a;h<s;h++)for(var d=h-a,p=0;p<r;p++){u=n[p];var f=Sp.arrayRows.call(this,t[d]||c,u.property,d,p);i[p][h]=f;var g=o[p];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,i){for(var n=this._provider,r=this._chunks,o=this._dimensions,a=o.length,l=this._rawExtent,u=Object(s["H"])(o,(function(t){return t.property})),c=0;c<a;c++){var h=o[c];l[c]||(l[c]=Pp()),Dp(r,c,h.type,e,i)}if(n.fillStorage)n.fillStorage(t,e,r,l);else for(var d=[],p=t;p<e;p++){d=n.getItem(p,d);for(var f=0;f<a;f++){var g=r[f],m=this._dimValueGetter(d,u[f],p,f);g[p]=m;var v=l[f];m<v[0]&&(v[0]=m),m>v[1]&&(v[1]=m)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var i=this._chunks[t];return i?i[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var i=[],n=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)n.push(r)}else n=t;r=0;for(var o=n.length;r<o;r++)i.push(this.get(n[r],e));return i},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var i=this._chunks[t];return i?i[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],i=0;if(e)for(var n=0,r=this.count();n<r;n++){var o=this.get(t,n);isNaN(o)||(i+=o)}return i},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var i=e.sort((function(t,e){return t-e})),n=this.count();return 0===n?0:n%2===1?i[(n-1)/2]:(i[n/2]+i[n/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&i<this._count&&i===t)return t;var n=0,r=this._count-1;while(n<=r){var o=(n+r)/2|0;if(e[o]<t)n=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,i){var n=this._chunks,r=n[t],o=[];if(!r)return o;null==i&&(i=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var h=this.getRawIndex(u),d=e-r[h],p=Math.abs(d);p<=i&&((p<a||p===a&&d>=0&&s<0)&&(a=p,s=d,l=0),d===s&&(o[l++]=u))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var i=e.constructor,n=this._count;if(i===Array){t=new i(n);for(var r=0;r<n;r++)t[r]=e[r]}else t=new i(e.buffer,0,n)}else{i=Ip(this._rawCount);t=new i(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var i=this.clone(),n=i.count(),r=Ip(i._rawCount),o=new r(n),a=[],s=t.length,l=0,u=t[0],c=i._chunks,h=0;h<n;h++){var d=void 0,p=i.getRawIndex(h);if(0===s)d=e(h);else if(1===s){var f=c[u][p];d=e(f,h)}else{for(var g=0;g<s;g++)a[g]=c[t[g]][p];a[g]=h,d=e.apply(null,a)}d&&(o[l++]=p)}return l<n&&(i._indices=o),i._count=l,i._extent=[],i._updateGetRawIdx(),i},t.prototype.selectRange=function(t){var e=this.clone(),i=e._count;if(!i)return this;var n=Object(s["F"])(t),r=n.length;if(!r)return this;var o=e.count(),a=Ip(e._rawCount),l=new a(o),u=0,c=n[0],h=t[c][0],d=t[c][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===r){for(var m=p[n[0]],v=0;v<i;v++){var y=m[v];(y>=h&&y<=d||isNaN(y))&&(l[u++]=g),g++}f=!0}else if(2===r){m=p[n[0]];var b=p[n[1]],_=t[n[1]][0],x=t[n[1]][1];for(v=0;v<i;v++){y=m[v];var w=b[v];(y>=h&&y<=d||isNaN(y))&&(w>=_&&w<=x||isNaN(w))&&(l[u++]=g),g++}f=!0}}if(!f)if(1===r)for(v=0;v<o;v++){var S=e.getRawIndex(v);y=p[n[0]][S];(y>=h&&y<=d||isNaN(y))&&(l[u++]=S)}else for(v=0;v<o;v++){for(var C=!0,k=(S=e.getRawIndex(v),0);k<r;k++){var M=n[k];y=p[M][S];(y<t[M][0]||y>t[M][1])&&(C=!1)}C&&(l[u++]=e.getRawIndex(v))}return u<o&&(e._indices=l),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var i=this.clone(t);return this._updateDims(i,t,e),i},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,i){for(var n=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=Pp();for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),d=0;d<o;d++)s[d]=n[e[d]][h];s[o]=c;var p=i&&i.apply(null,s);if(null!=p){"object"!==typeof p&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var f=e[u],g=p[u],m=l[f],v=n[f];v&&(v[h]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var i,n,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),u=0,c=Math.floor(1/e),h=this.getRawIndex(0),d=new(Ip(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));d[u++]=h;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),g=Math.min(p+2*c,l),m=(g+f)/2,v=0,y=f;y<g;y++){var b=this.getRawIndex(y),_=s[b];isNaN(_)||(v+=_)}v/=g-f;var x=p,w=Math.min(p+c,l),S=p-1,C=s[h];i=-1,r=x;var k=-1,M=0;for(y=x;y<w;y++){b=this.getRawIndex(y),_=s[b];isNaN(_)?(M++,k<0&&(k=b)):(n=Math.abs((S-m)*(_-C)-(S-y)*(v-C)),n>i&&(i=n,r=b))}M>0&&M<w-x&&(d[u++]=Math.min(k,r),r=Math.max(k,r)),d[u++]=r,h=r}return d[u++]=this.getRawIndex(l-1),o._count=u,o._indices=d,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,i,n){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=Pp(),h=new(Ip(this._rawCount))(Math.ceil(u/s)),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var f=0;f<s;f++){var g=this.getRawIndex(p+f);a[f]=l[g]}var m=i(a),v=this.getRawIndex(Math.min(p+n(a,m)||0,u-1));l[v]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var i=t.length,n=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(i){case 0:e(r);break;case 1:e(n[t[0]][a],r);break;case 2:e(n[t[0]][a],n[t[1]][a],r);break;default:for(var s=0,l=[];s<i;s++)l[s]=n[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],i=Pp();if(!e)return i;var n,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(n=this._extent[t],n)return n.slice();n=i;for(var a=n[0],s=n[1],l=0;l<r;l++){var u=this.getRawIndex(l),c=e[u];c<a&&(a=c),c>s&&(s=c)}return n=[a,s],this._extent[t]=n,n},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var i=[],n=this._chunks,r=0;r<n.length;r++)i.push(n[r][e]);return i},t.prototype.clone=function(e,i){var n=new t,r=this._chunks,o=e&&Object(s["N"])(e,(function(t,e){return t[e]=!0,t}),{});if(o)for(var a=0;a<r.length;a++)n._chunks[a]=o[a]?Ep(r[a]):r[a];else n._chunks=r;return this._copyCommonProps(n),i||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Object(s["d"])(this._extent),t._rawExtent=Object(s["d"])(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var i=this._indices.length;e=new t(i);for(var n=0;n<i;n++)e[n]=this._indices[n]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,i,n){return rp(t[n],this._dimensions[n])}Sp={arrayRows:t,objectRows:function(t,e,i,n){return rp(t[e],this._dimensions[n])},keyedColumns:t,original:function(t,e,i,n){var r=t&&(null==t.value?t:t.value);return rp(r instanceof Array?r[n]:r,this._dimensions[n])},typedArray:function(t,e,i,n){return t[n]}}}(),t}(),jp=Lp,Rp=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,i=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length;if(Fp(i)){var o=i,a=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),a=u.data,l=u.sourceFormat,e=[c._getVersionSign()]}else a=o.get("data",!0),l=Object(s["E"])(a)?ih:Qc,e=[];var h=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},p=Object(s["P"])(h.seriesLayoutBy,d.seriesLayoutBy)||null,f=Object(s["P"])(h.sourceHeader,d.sourceHeader),g=Object(s["P"])(h.dimensions,d.dimensions),m=p!==d.seriesLayoutBy||!!f!==!!d.sourceHeader||g;t=m?[Pd(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:g},l)]:[]}else{var v=i;if(r){var y=this._applyTransform(n);t=y.sourceList,e=y.upstreamSignList}else{var b=v.get("source",!0);t=[Pd(b,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,i=this._sourceHost,n=i.get("transform",!0),r=i.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Np(o)}var a=[],l=[];return Object(s["k"])(t,(function(t){t.prepareSource();var e=t.getSource(r||0),i="";null==r||e||Np(i),a.push(e),l.push(t._getVersionSign())})),n?e=_p(n,a,{datasetIndex:i.componentIndex}):null!=r&&(e=[Dd(a[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var i=t[e];if(i._isDirty()||this._upstreamSignList[e]!==i._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var i=this._getUpstreamSourceManagers();return i[0]&&i[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,i){var n=0,r=this._storeList,o=r[n];o||(o=r[n]={});var a=o[i];if(!a){var s=this._getUpstreamSourceManagers()[0];Fp(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,i):(a=new jp,a.initData(new zd(e,t.length),t)),o[i]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Fp(t)){var e=hh(t);return e?[e.getSourceManager()]:[]}return Object(s["H"])(dh(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,i,n=this._sourceHost;if(Fp(n))t=n.get("seriesLayoutBy",!0),e=n.get("sourceHeader",!0),i=n.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=n;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),i=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:i}},t}();function Bp(t){var e=t.option.transform;e&&Object(s["R"])(t.option.transform)}function Fp(t){return"series"===t.mainType}function Np(t){throw new Error(t)}var zp="line-height:1";function Vp(t,e){var i=t.color||"#6e7079",n=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+wc(n+"")+"px;color:"+wc(i)+";font-weight:"+wc(r+""),valueStyle:"font-size:"+wc(a+"")+"px;color:"+wc(o)+";font-weight:"+wc(s+"")}:{nameStyle:{fontSize:n,fill:i,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var qp=[0,10,20,30],$p=["","\n","\n\n","\n\n\n"];function Hp(t,e){return e.type=t,e}function Gp(t){return"section"===t.type}function Wp(t){return Gp(t)?Yp:Xp}function Up(t){if(Gp(t)){var e=0,i=t.blocks.length,n=i>1||i>0&&!t.noHeader;return Object(s["k"])(t.blocks,(function(t){var i=Up(t);i>=e&&(e=i+ +(n&&(!i||Gp(t)&&!t.noHeader)))})),e}return 0}function Yp(t,e,i,n){var r=e.noHeader,o=Zp(Up(e)),a=[],l=e.blocks||[];Object(s["b"])(!l||Object(s["t"])(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(s["q"])(c,u)){var h=new up(c[u],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}Object(s["k"])(l,(function(i,r){var l=e.valueFormatter,u=Wp(i)(l?Object(s["m"])(Object(s["m"])({},t),{valueFormatter:l}):t,i,r>0?o.html:0,n);null!=u&&a.push(u)}));var d="richText"===t.renderMode?a.join(o.richText):Qp(a.join(""),r?i:o.html);if(r)return d;var p=Sc(e.header,"ordinal",t.useUTC),f=Vp(n,t.renderMode).nameStyle;return"richText"===t.renderMode?ef(t,p,f)+o.richText+d:Qp('<div style="'+f+";"+zp+';">'+wc(p)+"</div>"+d,i)}function Xp(t,e,i,n){var r=t.renderMode,o=e.noName,a=e.noValue,l=!e.markerType,u=e.name,c=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return t=Object(s["t"])(t)?t:[t],Object(s["H"])(t,(function(t,e){return Sc(t,Object(s["t"])(f)?f[e]:f,c)}))};if(!o||!a){var d=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Sc(u,"ordinal",c),f=e.valueType,g=a?[]:h(e.value),m=!l||!o,v=!l&&o,y=Vp(n,r),b=y.nameStyle,_=y.valueStyle;return"richText"===r?(l?"":d)+(o?"":ef(t,p,b))+(a?"":nf(t,g,m,v,_)):Qp((l?"":d)+(o?"":Jp(p,!l,b))+(a?"":tf(g,m,v,_)),i)}}function Kp(t,e,i,n,r,o){if(t){var a=Wp(t),s={useUTC:r,renderMode:i,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function Zp(t){return{html:qp[t],richText:$p[t]}}function Qp(t,e){var i='<div style="clear:both"></div>',n="margin: "+e+"px 0 0";return'<div style="'+n+";"+zp+';">'+t+i+"</div>"}function Jp(t,e,i){var n=e?"margin-left:2px":"";return'<span style="'+i+";"+n+'">'+wc(t)+"</span>"}function tf(t,e,i,n){var r=i?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Object(s["t"])(t)?t:[t],'<span style="'+o+";"+n+'">'+Object(s["H"])(t,(function(t){return wc(t)})).join("&nbsp;&nbsp;")+"</span>"}function ef(t,e,i){return t.markupStyleCreator.wrapRichTextStyle(e,i)}function nf(t,e,i,n,r){var o=[r],a=n?10:20;return i&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(s["t"])(e)?e.join(" "):e,o)}function rf(t,e){var i=t.getData().getItemVisual(e,"style"),n=i[t.visualDrawType];return Ac(n)}function of(t,e){var i=t.get("padding");return null!=i?i:"richText"===e?[8,10]:10}var af=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Zn()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,i){var n="richText"===i?this._generateStyleName():null,r=Tc({color:e,type:t,renderMode:i,markerId:n});return Object(s["C"])(r)?r:(this.richTextStyles[n]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var i={};Object(s["t"])(e)?Object(s["k"])(e,(function(t){return Object(s["m"])(i,t)})):Object(s["m"])(i,e);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},t}();function sf(t){var e,i,n,r,o=t.series,a=t.dataIndex,l=t.multipleSeries,u=o.getData(),c=u.mapDimensionsAll("defaultedTooltip"),h=c.length,d=o.getRawValue(a),p=Object(s["t"])(d),f=rf(o,a);if(h>1||p&&!h){var g=lf(d,o,a,c,f);e=g.inlineValues,i=g.inlineValueTypes,n=g.blocks,r=g.inlineValues[0]}else if(h){var m=u.getDimensionInfo(c[0]);r=e=Zd(u,a,c[0]),i=m.type}else r=e=p?d[0]:d;var v=yr(o),y=v&&o.name||"",b=u.getName(a),_=l?y:b;return Hp("section",{header:y,noHeader:l||!v,sortParam:r,blocks:[Hp("nameValue",{markerType:"item",markerColor:f,name:_,noName:!Object(s["T"])(_),value:e,valueType:i})].concat(n||[])})}function lf(t,e,i,n,r){var o=e.getData(),a=Object(s["N"])(t,(function(t,e,i){var n=o.getDimensionInfo(i);return t||n&&!1!==n.tooltip&&null!=n.displayName}),!1),l=[],u=[],c=[];function h(t,e){var i=o.getDimensionInfo(e);i&&!1!==i.otherDims.tooltip&&(a?c.push(Hp("nameValue",{markerType:"subItem",markerColor:r,name:i.displayName,value:t,valueType:i.type})):(l.push(t),u.push(i.type)))}return n.length?Object(s["k"])(n,(function(t){h(Zd(o,i,t),t)})):Object(s["k"])(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}var uf=kr();function cf(t,e){return t.getName(e)||t.getId(e)}var hf="__universalTransitionEnabled",df=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return o(e,t),e.prototype.init=function(t,e,i){this.seriesIndex=this.componentIndex,this.dataTask=ep({count:gf,reset:mf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,i);var n=uf(this).sourceManager=new Rp(this);n.prepareSource();var r=this.getInitialData(t,i);yf(r,this),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,pf(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var i=zc(this),n=i?qc(t):{},r=this.subType;Uc.hasClass(r)&&(r+="Series"),s["I"](t,e.getTheme().get(this.subType)),s["I"](t,this.getDefaultOption()),rr(t,"label",["show"]),this.fillDataTextStyle(t.data),i&&Vc(t,n,i)},e.prototype.mergeOption=function(t,e){t=s["I"](this.option,t,!0),this.fillDataTextStyle(t.data);var i=zc(this);i&&Vc(this.option,t,i);var n=uf(this).sourceManager;n.dirty(),n.prepareSource();var r=this.getInitialData(t,e);yf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,uf(this).dataBeforeProcessed=r,pf(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!s["E"](t))for(var e=["show"],i=0;i<t.length;i++)t[i]&&t[i].label&&rr(t[i],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=_f(this);if(e){var i=e.context.data;return null==t?i:i.getLinkedData(t)}return uf(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=_f(this);if(e){var i=e.context;i.outputData=t,e!==this.dataTask&&(i.data=t)}uf(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return s["f"](t)},e.prototype.getSourceManager=function(){return uf(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return uf(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,i){return sf({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(a["a"].node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,i){var n=this.ecModel,r=_h.prototype.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var i=this.option.selectedMap;if(i){var n=this.option.selectedMode,r=this.getData(e);if("series"===n||"all"===i)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=t[o],s=cf(r,a);i[s]=!1,this._selectedDataIndicesMap[s]=-1}}},e.prototype.toggleSelect=function(t,e){for(var i=[],n=0;n<t.length;n++)i[0]=t[n],this.isSelected(t[n],e)?this.unselect(i,e):this.select(i,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=s["F"](t),i=[],n=0;n<e.length;n++){var r=t[e[n]];r>=0&&i.push(r)}return i},e.prototype.isSelected=function(t,e){var i=this.option.selectedMap;if(!i)return!1;var n=this.getData(e);return("all"===i||i[cf(n,t)])&&!n.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[hf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var i,n,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){s["A"](r.selectedMap)||(r.selectedMap={});for(var l=r.selectedMap,u=0;u<a;u++){var c=e[u],h=cf(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===o||!0===o){var d=e[a-1];h=cf(t,d);r.selectedMap=(i={},i[h]=!0,i),this._selectedDataIndicesMap=(n={},n[h]=t.getRawIndex(d),n)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(i){var n=t.getRawDataItem(i);n&&n.selected&&e.push(i)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Uc.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Uc);function pf(t){var e=t.name;yr(t)||(t.name=ff(t)||e)}function ff(t){var e=t.getRawData(),i=e.mapDimensionsAll("seriesName"),n=[];return s["k"](i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}function gf(t){return t.model.getRawData().count()}function mf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),vf}function vf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function yf(t,e){s["k"](s["e"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(i){t.wrapMethod(i,s["h"](bf,e))}))}function bf(t,e){var i=_f(t);return i&&i.setOutputEnd((e||this).count()),e}function _f(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}s["K"](df,Jd),s["K"](df,_h),Hr(df,Uc);var xf=df,wf=function(){function t(){this.group=new bn,this.uid=Su("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){},t.prototype.updateLayout=function(t,e,i,n){},t.prototype.updateVisual=function(t,e,i,n){},t.prototype.toggleBlurSeries=function(t,e,i){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();qr(wf),Xr(wf);var Sf=wf;function Cf(){var t=kr();return function(e){var i=t(e),n=e.pipelineContext,r=!!i.large,o=!!i.progressiveRender,a=i.large=!(!n||!n.large),s=i.progressiveRender=!(!n||!n.progressiveRender);return!(r===a&&o===s)&&"reset"}}var kf=ha.CMD,Mf=[[],[],[]],Of=Math.sqrt,Tf=Math.atan2;function Af(t,e){if(e){var i,n,r,o,a,s,l=t.data,u=t.len(),c=kf.M,h=kf.C,d=kf.L,p=kf.R,f=kf.A,g=kf.Q;for(r=0,o=0;r<u;){switch(i=l[r++],o=r,n=0,i){case c:n=1;break;case d:n=1;break;case h:n=3;break;case g:n=2;break;case f:var m=e[4],v=e[5],y=Of(e[0]*e[0]+e[1]*e[1]),b=Of(e[2]*e[2]+e[3]*e[3]),_=Tf(-e[1]/b,e[0]/y);l[r]*=y,l[r++]+=m,l[r]*=b,l[r++]+=v,l[r++]*=y,l[r++]*=b,l[r++]+=_,l[r++]+=_,r+=2,o=r;break;case p:s[0]=l[r++],s[1]=l[r++],M(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],M(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<n;a++){var x=Mf[a];x[0]=l[r++],x[1]=l[r++],M(x,x,e),l[o++]=x[0],l[o++]=x[1]}}t.increaseVersion()}}var If=Math.sqrt,Pf=Math.sin,Ef=Math.cos,Df=Math.PI;function Lf(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function jf(t,e){return(t[0]*e[0]+t[1]*e[1])/(Lf(t)*Lf(e))}function Rf(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(jf(t,e))}function Bf(t,e,i,n,r,o,a,s,l,u,c){var h=l*(Df/180),d=Ef(h)*(t-i)/2+Pf(h)*(e-n)/2,p=-1*Pf(h)*(t-i)/2+Ef(h)*(e-n)/2,f=d*d/(a*a)+p*p/(s*s);f>1&&(a*=If(f),s*=If(f));var g=(r===o?-1:1)*If((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,m=g*a*p/s,v=g*-s*d/a,y=(t+i)/2+Ef(h)*m-Pf(h)*v,b=(e+n)/2+Pf(h)*m+Ef(h)*v,_=Rf([1,0],[(d-m)/a,(p-v)/s]),x=[(d-m)/a,(p-v)/s],w=[(-1*d-m)/a,(-1*p-v)/s],S=Rf(x,w);if(jf(x,w)<=-1&&(S=Df),jf(x,w)>=1&&(S=0),S<0){var C=Math.round(S/Df*1e6)/1e6;S=2*Df+C%2*Df}c.addData(u,y,b,a,s,_,S,h,o)}var Ff=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Nf=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function zf(t){var e=new ha;if(!t)return e;var i,n=0,r=0,o=n,a=r,s=ha.CMD,l=t.match(Ff);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,p=c.match(Nf)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);var m=0;while(m<f){var v=void 0,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,C=n,k=r,M=void 0,O=void 0;switch(h){case"l":n+=p[m++],r+=p[m++],d=s.L,e.addData(d,n,r);break;case"L":n=p[m++],r=p[m++],d=s.L,e.addData(d,n,r);break;case"m":n+=p[m++],r+=p[m++],d=s.M,e.addData(d,n,r),o=n,a=r,h="l";break;case"M":n=p[m++],r=p[m++],d=s.M,e.addData(d,n,r),o=n,a=r,h="L";break;case"h":n+=p[m++],d=s.L,e.addData(d,n,r);break;case"H":n=p[m++],d=s.L,e.addData(d,n,r);break;case"v":r+=p[m++],d=s.L,e.addData(d,n,r);break;case"V":r=p[m++],d=s.L,e.addData(d,n,r);break;case"C":d=s.C,e.addData(d,p[m++],p[m++],p[m++],p[m++],p[m++],p[m++]),n=p[m-2],r=p[m-1];break;case"c":d=s.C,e.addData(d,p[m++]+n,p[m++]+r,p[m++]+n,p[m++]+r,p[m++]+n,p[m++]+r),n+=p[m-2],r+=p[m-1];break;case"S":v=n,y=r,M=e.len(),O=e.data,i===s.C&&(v+=n-O[M-4],y+=r-O[M-3]),d=s.C,C=p[m++],k=p[m++],n=p[m++],r=p[m++],e.addData(d,v,y,C,k,n,r);break;case"s":v=n,y=r,M=e.len(),O=e.data,i===s.C&&(v+=n-O[M-4],y+=r-O[M-3]),d=s.C,C=n+p[m++],k=r+p[m++],n+=p[m++],r+=p[m++],e.addData(d,v,y,C,k,n,r);break;case"Q":C=p[m++],k=p[m++],n=p[m++],r=p[m++],d=s.Q,e.addData(d,C,k,n,r);break;case"q":C=p[m++]+n,k=p[m++]+r,n+=p[m++],r+=p[m++],d=s.Q,e.addData(d,C,k,n,r);break;case"T":v=n,y=r,M=e.len(),O=e.data,i===s.Q&&(v+=n-O[M-4],y+=r-O[M-3]),n=p[m++],r=p[m++],d=s.Q,e.addData(d,v,y,n,r);break;case"t":v=n,y=r,M=e.len(),O=e.data,i===s.Q&&(v+=n-O[M-4],y+=r-O[M-3]),n+=p[m++],r+=p[m++],d=s.Q,e.addData(d,v,y,n,r);break;case"A":b=p[m++],_=p[m++],x=p[m++],w=p[m++],S=p[m++],C=n,k=r,n=p[m++],r=p[m++],d=s.A,Bf(C,k,n,r,w,S,b,_,x,d,e);break;case"a":b=p[m++],_=p[m++],x=p[m++],w=p[m++],S=p[m++],C=n,k=r,n+=p[m++],r+=p[m++],d=s.A,Bf(C,k,n,r,w,S,b,_,x,d,e);break}}"z"!==h&&"Z"!==h||(d=s.Z,e.addData(d),n=o,r=a),i=d}return e.toStatic(),e}var Vf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.applyTransform=function(t){},e}(Ba);function qf(t){return null!=t.setData}function $f(t,e){var i=zf(t),n=Object(s["m"])({},e);return n.buildPath=function(t){if(qf(t)){t.setData(i.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{e=t;i.rebuildPath(e,1)}},n.applyTransform=function(t){Af(i,t),this.dirtyShape()},n}function Hf(t,e){return new Vf($f(t,e))}function Gf(t,e){var i=$f(t,e),n=function(t){function e(e){var n=t.call(this,e)||this;return n.applyTransform=i.applyTransform,n.buildPath=i.buildPath,n}return u(e,t),e}(Vf);return n}function Wf(t,e){for(var i=[],n=t.length,r=0;r<n;r++){var o=t[r];i.push(o.getUpdatedPathProxy(!0))}var a=new Ba(e);return a.createPathProxy(),a.buildPath=function(t){if(qf(t)){t.appendPath(i);var e=t.getContext();e&&t.rebuildPath(e,1)}},a}function Uf(t,e){e=e||{};var i=new Ba;return t.shape&&i.setShape(t.shape),i.setStyle(t.style),e.bakeTransform?Af(i.path,t.getComputedTransform()):e.toLocal?i.setLocalTransform(t.getComputedTransform()):i.copyTransform(t),i.buildPath=t.buildPath,i.applyTransform=i.applyTransform,i.z=t.z,i.z2=t.z2,i.zlevel=t.zlevel,i}var Yf=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Xf=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Yf},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Ba);Xf.prototype.type="circle";var Kf=Xf,Zf=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),Qf=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Zf},e.prototype.buildPath=function(t,e){var i=.5522848,n=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*i,l=a*i;t.moveTo(n-o,r),t.bezierCurveTo(n-o,r-l,n-s,r-a,n,r-a),t.bezierCurveTo(n+s,r-a,n+o,r-l,n+o,r),t.bezierCurveTo(n+o,r+l,n+s,r+a,n,r+a),t.bezierCurveTo(n-s,r+a,n-o,r+l,n-o,r),t.closePath()},e}(Ba);Qf.prototype.type="ellipse";var Jf=Qf,tg=Math.PI,eg=2*tg,ig=Math.sin,ng=Math.cos,rg=Math.acos,og=Math.atan2,ag=Math.abs,sg=Math.sqrt,lg=Math.max,ug=Math.min,cg=1e-4;function hg(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,c=a-r,h=s-o,d=h*l-c*u;if(!(d*d<cg))return d=(c*(e-o)-h*(t-r))/d,[t+d*l,e+d*u]}function dg(t,e,i,n,r,o,a){var s=t-i,l=e-n,u=(a?o:-o)/sg(s*s+l*l),c=u*l,h=-u*s,d=t+c,p=e+h,f=i+c,g=n+h,m=(d+f)/2,v=(p+g)/2,y=f-d,b=g-p,_=y*y+b*b,x=r-o,w=d*g-f*p,S=(b<0?-1:1)*sg(lg(0,x*x*_-w*w)),C=(w*b-y*S)/_,k=(-w*y-b*S)/_,M=(w*b+y*S)/_,O=(-w*y+b*S)/_,T=C-m,A=k-v,I=M-m,P=O-v;return T*T+A*A>I*I+P*P&&(C=M,k=O),{cx:C,cy:k,x0:-c,y0:-h,x1:C*(r/x-1),y1:k*(r/x-1)}}function pg(t){var e;if(Object(s["t"])(t)){var i=t.length;if(!i)return t;e=1===i?[t[0],t[0],0,0]:2===i?[t[0],t[0],t[1],t[1]]:3===i?t.concat(t[2]):t}else e=[t,t,t,t];return e}function fg(t,e){var i,n=lg(e.r,0),r=lg(e.r0||0,0),o=n>0,a=r>0;if(o||a){if(o||(n=r,r=0),r>n){var s=n;n=r,r=s}var l=e.startAngle,u=e.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=e.cx,h=e.cy,d=!!e.clockwise,p=ag(u-l),f=p>eg&&p%eg;if(f>cg&&(p=f),n>cg)if(p>eg-cg)t.moveTo(c+n*ng(l),h+n*ig(l)),t.arc(c,h,n,l,u,!d),r>cg&&(t.moveTo(c+r*ng(u),h+r*ig(u)),t.arc(c,h,r,u,l,d));else{var g=void 0,m=void 0,v=void 0,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,C=void 0,k=void 0,M=void 0,O=void 0,T=void 0,A=void 0,I=void 0,P=n*ng(l),E=n*ig(l),D=r*ng(u),L=r*ig(u),j=p>cg;if(j){var R=e.cornerRadius;R&&(i=pg(R),g=i[0],m=i[1],v=i[2],y=i[3]);var B=ag(n-r)/2;if(b=ug(B,v),_=ug(B,y),x=ug(B,g),w=ug(B,m),k=S=lg(b,_),M=C=lg(x,w),(S>cg||C>cg)&&(O=n*ng(u),T=n*ig(u),A=r*ng(l),I=r*ig(l),p<tg)){var F=hg(P,E,A,I,O,T,D,L);if(F){var N=P-F[0],z=E-F[1],V=O-F[0],q=T-F[1],$=1/ig(rg((N*V+z*q)/(sg(N*N+z*z)*sg(V*V+q*q)))/2),H=sg(F[0]*F[0]+F[1]*F[1]);k=ug(S,(n-H)/($+1)),M=ug(C,(r-H)/($-1))}}}if(j)if(k>cg){var G=ug(v,k),W=ug(y,k),U=dg(A,I,P,E,n,G,d),Y=dg(O,T,D,L,n,W,d);t.moveTo(c+U.cx+U.x0,h+U.cy+U.y0),k<S&&G===W?t.arc(c+U.cx,h+U.cy,k,og(U.y0,U.x0),og(Y.y0,Y.x0),!d):(G>0&&t.arc(c+U.cx,h+U.cy,G,og(U.y0,U.x0),og(U.y1,U.x1),!d),t.arc(c,h,n,og(U.cy+U.y1,U.cx+U.x1),og(Y.cy+Y.y1,Y.cx+Y.x1),!d),W>0&&t.arc(c+Y.cx,h+Y.cy,W,og(Y.y1,Y.x1),og(Y.y0,Y.x0),!d))}else t.moveTo(c+P,h+E),t.arc(c,h,n,l,u,!d);else t.moveTo(c+P,h+E);if(r>cg&&j)if(M>cg){G=ug(g,M),W=ug(m,M),U=dg(D,L,O,T,r,-W,d),Y=dg(P,E,A,I,r,-G,d);t.lineTo(c+U.cx+U.x0,h+U.cy+U.y0),M<C&&G===W?t.arc(c+U.cx,h+U.cy,M,og(U.y0,U.x0),og(Y.y0,Y.x0),!d):(W>0&&t.arc(c+U.cx,h+U.cy,W,og(U.y0,U.x0),og(U.y1,U.x1),!d),t.arc(c,h,r,og(U.cy+U.y1,U.cx+U.x1),og(Y.cy+Y.y1,Y.cx+Y.x1),d),G>0&&t.arc(c+Y.cx,h+Y.cy,G,og(Y.y1,Y.x1),og(Y.y0,Y.x0),!d))}else t.lineTo(c+D,h+L),t.arc(c,h,r,u,l,d);else t.lineTo(c+D,h+L)}else t.moveTo(c,h);t.closePath()}}}var gg=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),mg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new gg},e.prototype.buildPath=function(t,e){fg(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Ba);mg.prototype.type="sector";var vg=mg,yg=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),bg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new yg},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,r,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,r,!0)},e}(Ba);bg.prototype.type="ring";var _g=bg;function xg(t,e,i,n){var r,o,a,s,l=[],u=[],c=[],h=[];if(n){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,g=t.length;p<g;p++)O(a,a,t[p]),T(s,s,t[p]);O(a,a,n[0]),T(s,s,n[1])}for(p=0,g=t.length;p<g;p++){var v=t[p];if(i)r=t[p?p-1:g-1],o=t[(p+1)%g];else{if(0===p||p===g-1){l.push(d(t[p]));continue}r=t[p-1],o=t[p+1]}m(u,o,r),b(u,u,e);var y=x(v,r),_=x(v,o),w=y+_;0!==w&&(y/=w,_/=w),b(c,u,-y),b(h,u,_);var S=f([],v,c),C=f([],v,h);n&&(T(S,S,a),O(S,S,s),T(C,C,a),O(C,C,s)),l.push(S),l.push(C)}return i&&l.push(l.shift()),l}function wg(t,e,i){var n=e.smooth,r=e.points;if(r&&r.length>=2){if(n){var o=xg(r,n,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(i?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}i&&t.closePath()}}var Sg=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Cg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Sg},e.prototype.buildPath=function(t,e){wg(t,e,!0)},e}(Ba);Cg.prototype.type="polygon";var kg=Cg,Mg=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Og=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Mg},e.prototype.buildPath=function(t,e){wg(t,e,!1)},e}(Ba);Og.prototype.type="polyline";var Tg=Og,Ag={},Ig=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Pg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ig},e.prototype.buildPath=function(t,e){var i,n,r,o;if(this.subPixelOptimize){var a=Ya(Ag,e,this.style);i=a.x1,n=a.y1,r=a.x2,o=a.y2}else i=e.x1,n=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(i,n),s<1&&(r=i*(1-s)+r*s,o=n*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Ba);Pg.prototype.type="line";var Eg=Pg,Dg=[],Lg=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function jg(t,e,i){var n=t.cpx2,r=t.cpy2;return null!=n||null!=r?[(i?Kt:Xt)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?Kt:Xt)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?ne:ie)(t.x1,t.cpx1,t.x2,e),(i?ne:ie)(t.y1,t.cpy1,t.y2,e)]}var Rg=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Lg},e.prototype.buildPath=function(t,e){var i=e.x1,n=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(i,n),null==l||null==u?(c<1&&(ae(i,a,r,c,Dg),a=Dg[1],r=Dg[2],ae(n,s,o,c,Dg),s=Dg[1],o=Dg[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(Jt(i,a,l,r,c,Dg),a=Dg[1],l=Dg[2],r=Dg[3],Jt(n,s,u,o,c,Dg),s=Dg[1],u=Dg[2],o=Dg[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return jg(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=jg(this.shape,t,!0);return _(e,e)},e}(Ba);Rg.prototype.type="bezier-curve";var Bg=Rg,Fg=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),Ng=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Fg},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+i,u*r+n),t.arc(i,n,r,o,a,!s)},e}(Ba);Ng.prototype.type="arc";var zg=Ng,Vg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return u(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i<t.length;i++)e=e||t[i].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t.length;i++)t[i].path||t[i].createPathProxy(),t[i].path.setScale(e[0],e[1],t[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var i=e.paths||[],n=0;n<i.length;n++)i[n].buildPath(t,i[n].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Ba.prototype.getBoundingRect.call(this)},e}(Ba),qg=Vg,$g=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Hg=$g,Gg=function(t){function e(e,i,n,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==i?0:i,s.x2=null==n?1:n,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return u(e,t),e}(Hg),Wg=Gg,Ug=function(t){function e(e,i,n,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==i?.5:i,a.r=null==n?.5:n,a.type="radial",a.global=o||!1,a}return u(e,t),e}(Hg),Yg=Ug,Xg=[0,0],Kg=[0,0],Zg=new ji,Qg=new ji,Jg=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new ji;for(i=0;i<2;i++)this._axes[i]=new ji;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var i=this._corners,n=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(i[0].set(r,o),i[1].set(a,o),i[2].set(a,s),i[3].set(r,s),e)for(var l=0;l<4;l++)i[l].transform(e);ji.sub(n[0],i[1],i[0]),ji.sub(n[1],i[3],i[0]),n[0].normalize(),n[1].normalize();for(l=0;l<2;l++)this._origin[l]=n[l].dot(i[0])},t.prototype.intersect=function(t,e){var i=!0,n=!e;return Zg.set(1/0,1/0),Qg.set(0,0),!this._intersectCheckOneSide(this,t,Zg,Qg,n,1)&&(i=!1,n)||!this._intersectCheckOneSide(t,this,Zg,Qg,n,-1)&&(i=!1,n)||n||ji.copy(e,i?Zg:Qg),i},t.prototype._intersectCheckOneSide=function(t,e,i,n,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Xg),this._getProjMinMaxOnAxis(s,e._corners,Kg),Xg[1]<Kg[0]||Xg[0]>Kg[1]){if(a=!1,r)return a;var u=Math.abs(Kg[0]-Xg[1]),c=Math.abs(Xg[0]-Kg[1]);Math.min(u,c)>n.len()&&(u<c?ji.scale(n,l,-u*o):ji.scale(n,l,c*o))}else if(i){u=Math.abs(Kg[0]-Xg[1]),c=Math.abs(Xg[0]-Kg[1]);Math.min(u,c)<i.len()&&(u<c?ji.scale(i,l,u*o):ji.scale(i,l,-c*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,i){for(var n=this._axes[t],r=this._origin,o=e[0].dot(n)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(n)+r[t];a=Math.min(u,a),s=Math.max(u,s)}i[0]=a,i[1]=s},t}(),tm=Jg,em=[],im=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return u(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i<t.length;i++)this.addDisplayable(t[i],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Gi(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var i=this._displayables[e],n=i.getBoundingRect().clone();i.needLocalTransform()&&n.applyTransform(i.getLocalTransform(em)),t.union(n)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(n.contain(i[0],i[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},e}(Io),nm=im,rm=Math.max,om=Math.min,am={};function sm(t){return Ba.extend(t)}var lm=Gf;function um(t,e){return lm(t,e)}function cm(t,e){am[t]=e}function hm(t){if(am.hasOwnProperty(t))return am[t]}function dm(t,e,i,n){var r=Hf(t,e);return i&&("center"===n&&(i=fm(i,r.getBoundingRect())),mm(r,i)),r}function pm(t,e,i){var n=new Ga({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var r={width:t.width,height:t.height};n.setStyle(fm(e,r))}}});return n}function fm(t,e){var i,n=e.width/e.height,r=t.height*n;r<=t.width?i=t.height:(r=t.width,i=r/n);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-r/2,y:a-i/2,width:r,height:i}}var gm=Wf;function mm(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function vm(t){return Ya(t.shape,t.shape,t.style),t}function ym(t){return Xa(t.shape,t.shape,t.style),t}var bm=Ka;function _m(t,e){var i=gi([]);while(t&&t!==e)vi(i,t.getLocalTransform(),i),t=t.parent;return i}function xm(t,e,i){return e&&!Object(s["u"])(e)&&(e=Di.getLocalTransform(e)),i&&(e=xi([],e)),M([],t,e)}function wm(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return o=xm(o,e,i),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Sm(t){return!t.isGroup}function Cm(t){return null!=t.shape}function km(t,e,i){if(t&&e){var n=r(t);e.traverse((function(t){if(Sm(t)&&t.anid){var e=n[t.anid];if(e){var r=o(t);t.attr(o(e)),Fl(t,r,i,bs(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Sm(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Cm(t)&&(e.shape=Object(s["m"])({},t.shape)),e}}function Mm(t,e){return Object(s["H"])(t,(function(t){var i=t[0];i=rm(i,e.x),i=om(i,e.x+e.width);var n=t[1];return n=rm(n,e.y),n=om(n,e.y+e.height),[i,n]}))}function Om(t,e){var i=rm(t.x,e.x),n=om(t.x+t.width,e.x+e.width),r=rm(t.y,e.y),o=om(t.y+t.height,e.y+e.height);if(n>=i&&o>=r)return{x:i,y:r,width:n-i,height:o-r}}function Tm(t,e,i){var n=Object(s["m"])({rectHover:!0},e),r=n.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),Object(s["i"])(r,i),new Ga(n)):dm(t.replace("path://",""),n,i,"center")}function Am(t,e,i,n,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Im(t,e,i,n,s[0],s[1],a[0],a[1]))return!0;a=s}}function Im(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,c=a-r,h=s-o,d=Pm(c,h,l,u);if(Em(d))return!1;var p=t-r,f=e-o,g=Pm(p,f,l,u)/d;if(g<0||g>1)return!1;var m=Pm(p,f,c,h)/d;return!(m<0||m>1)}function Pm(t,e,i,n){return t*n-i*e}function Em(t){return t<=1e-6&&t>=-1e-6}function Dm(t){var e=t.itemTooltipOption,i=t.componentModel,n=t.itemName,r=Object(s["C"])(e)?{formatter:e}:e,o=i.mainType,a=i.componentIndex,l={componentType:o,name:n,$vars:["name"]};l[o+"Index"]=a;var u=t.formatterParamsExtra;u&&Object(s["k"])(Object(s["F"])(u),(function(t){Object(s["q"])(l,t)||(l[t]=u[t],l.$vars.push(t))}));var c=bs(t.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:n,option:Object(s["i"])({content:n,formatterParams:l},r)}}function Lm(t,e){var i;t.isGroup&&(i=e(t)),i||t.traverse(e)}function jm(t,e){if(t)if(Object(s["t"])(t))for(var i=0;i<t.length;i++)Lm(t[i],e);else Lm(t,e)}cm("circle",Kf),cm("ellipse",Jf),cm("sector",vg),cm("ring",_g),cm("polygon",kg),cm("polyline",Tg),cm("rect",ts),cm("line",Eg),cm("bezierCurve",Bg),cm("arc",zg);var Rm=kr(),Bm=Cf(),Fm=function(){function t(){this.group=new bn,this.uid=Su("viewChart"),this.renderTask=ep({plan:Vm,reset:qm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){0},t.prototype.highlight=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&zm(r,n,"emphasis")},t.prototype.downplay=function(t,e,i,n){var r=t.getData(n&&n.dataType);r&&zm(r,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateLayout=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.eachRendered=function(t){jm(this.group,t)},t.markUpdateMethod=function(t,e){Rm(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Nm(t,e,i){t&&Al(t)&&("emphasis"===e?rl:ol)(t,i)}function zm(t,e,i){var n=Cr(t,e),r=e&&null!=e.highlightKey?Pl(e.highlightKey):null;null!=n?Object(s["k"])(nr(n),(function(e){Nm(t.getItemGraphicEl(e),i,r)})):t.eachItemGraphicEl((function(t){Nm(t,i,r)}))}function Vm(t){return Bm(t.model)}function qm(t){var e=t.model,i=t.ecModel,n=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Rm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,i,n,r),$m[l]}qr(Fm,["dispose"]),Xr(Fm);var $m={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},Hm=Fm,Gm="\0__throttleOriginMethod",Wm="\0__throttleRate",Um="\0__throttleType";function Ym(t,e,i){var n,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];n=(new Date).getTime(),o=this,a=t;var p=s||e,f=s||i;s=null,r=n-(f?l:u)-p,clearTimeout(c),f?c=setTimeout(h,p):r>=0?h():c=setTimeout(h,-r),l=n};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function Xm(t,e,i,n){var r=t[e];if(r){var o=r[Gm]||r,a=r[Um],s=r[Wm];if(s!==i||a!==n){if(null==i||!n)return t[e]=o;r=t[e]=Ym(o,i,"debounce"===n),r[Gm]=o,r[Um]=n,r[Wm]=i}return r}}function Km(t,e){var i=t[e];i&&i[Gm]&&(i.clear&&i.clear(),t[e]=i[Gm])}var Zm=kr(),Qm={itemStyle:Kr(vu,!0),lineStyle:Kr(fu,!0)},Jm={lineStyle:"stroke",itemStyle:"fill"};function tv(t,e){var i=t.visualStyleMapper||Qm[e];return i||(console.warn("Unkown style type '"+e+"'."),Qm.itemStyle)}function ev(t,e){var i=t.visualDrawType||Jm[e];return i||(console.warn("Unkown style type '"+e+"'."),"fill")}var iv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=t.getModel(n),o=tv(t,n),a=o(r),l=r.getShallow("decal");l&&(i.setVisual("decal",l),l.dirty=!0);var u=ev(t,n),c=a[u],h=Object(s["w"])(c)?c:null,d="auto"===a.fill||"auto"===a.stroke;if(!a[u]||h||d){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[u]||(a[u]=p,i.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||Object(s["w"])(a.fill)?p:a.fill,a.stroke="auto"===a.stroke||Object(s["w"])(a.stroke)?p:a.stroke}if(i.setVisual("style",a),i.setVisual("drawType",u),!e.isSeriesFiltered(t)&&h)return i.setVisual("colorFromPalette",!1),{dataEach:function(e,i){var n=t.getDataParams(i),r=Object(s["m"])({},a);r[u]=h(n),e.setItemVisual(i,"style",r)}}}},nv=new xu,rv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var i=t.getData(),n=t.visualStyleAccessPath||"itemStyle",r=tv(t,n),o=i.getVisual("drawType");return{dataEach:i.hasItemOption?function(t,e){var i=t.getRawDataItem(e);if(i&&i[n]){nv.option=i[n];var a=r(nv),l=t.ensureUniqueItemVisual(e,"style");Object(s["m"])(l,a),nv.option.decal&&(t.setItemVisual(e,"decal",nv.option.decal),nv.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},ov={performRawSeries:!0,overallReset:function(t){var e=Object(s["f"])();t.eachSeries((function(t){var i=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+i,r=e.get(n);r||(r={},e.set(n,r)),Zm(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var i=e.getRawData(),n={},r=e.getData(),o=Zm(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=ev(e,a);r.each((function(t){var e=r.getRawIndex(t);n[e]=t})),i.each((function(t){var a=n[t],l=r.getItemVisual(a,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(a,"style"),c=i.getName(t)||t+"",h=i.count();u[s]=e.getColorFromPalette(c,o,h)}}))}}))}},av=Math.PI;function sv(t,e){e=e||{},s["i"](e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new bn,n=new ts({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(n);var r,o=new ys({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new ts({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&(r=new zg({shape:{startAngle:-av/2,endAngle:-av/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*av/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*av/2}).delay(300).start("circularInOut"),i.add(r)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i}var lv=function(){function t(t,e,i,n){this._stageTaskMap=Object(s["f"])(),this.ecInstance=t,this.api=e,i=this._dataProcessorHandlers=i.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=i.concat(n)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),n=i.context,r=!e&&i.progressiveEnabled&&(!n||n.progressiveRender)&&t.__idxInPipeline>i.blockIndex,o=r?i.step:null,a=n&&n.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),r=n.count(),o=i.progressiveEnabled&&e.incrementalPrepareRender&&r>=i.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=i.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,i=e._pipelineMap=Object(s["f"])();t.eachSeries((function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),i=this.api;Object(s["k"])(this._allHandlers,(function(n){var r=t.get(n.uid)||t.set(n.uid,{}),o="";Object(s["b"])(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,r,e,i),n.overallReset&&this._createOverallStageTask(n,r,e,i)}),this)},t.prototype.prepareView=function(t,e,i,n){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=i,o.api=n,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,i){this._performStageTasks(this._visualHandlers,t,e,i)},t.prototype._performStageTasks=function(t,e,i,n){n=n||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(s["k"])(t,(function(t,s){if(!n.visualType||n.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(t){a(n,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),o.updatePayload(c,i);var p=o.getPerformArgs(c,n.block);d.each((function(t){t.perform(p)})),c.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(n,s)&&s.dirty();var u=o.getPerformArgs(s,n.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,i),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,i,n){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Object(s["f"])(),l=t.seriesType,u=t.getTargetSeries;function c(e){var s=e.uid,l=a.set(s,o&&o.get(s)||ep({plan:pv,reset:fv,count:vv}));l.context={model:e,ecModel:i,api:n,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?i.eachRawSeries(c):l?i.eachRawSeriesByType(l,c):u&&u(i,n).each(c)},t.prototype._createOverallStageTask=function(t,e,i,n){var r=this,o=e.overallTask=e.overallTask||ep({reset:uv});o.context={ecModel:i,api:n,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,l=o.agentStubMap=Object(s["f"])(),u=t.seriesType,c=t.getTargetSeries,h=!0,d=!1,p="";function f(t){var e=t.uid,i=l.set(e,a&&a.get(e)||(d=!0,ep({reset:cv,onDirty:dv})));i.context={model:t,overallProgress:h},i.agent=o,i.__block=h,r._pipe(t,i)}Object(s["b"])(!t.createOnAllSeries,p),u?i.eachRawSeriesByType(u,f):c?c(i,n).each(f):(h=!1,Object(s["k"])(i.getSeries(),f)),d&&o.dirty()},t.prototype._pipe=function(t,e){var i=t.uid,n=this._pipelineMap.get(i);!n.head&&(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return Object(s["w"])(t)&&(t={overallReset:t,seriesType:yv(t)}),t.uid=Su("stageHandler"),e&&(t.visualType=e),t},t}();function uv(t){t.overallReset(t.ecModel,t.api,t.payload)}function cv(t){return t.overallProgress&&hv}function hv(){this.agent.dirty(),this.getDownstream().dirty()}function dv(){this.agent&&this.agent.dirty()}function pv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function fv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=nr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(s["H"])(e,(function(t,e){return mv(e)})):gv}var gv=mv(0);function mv(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(n,o);else r&&r.progress&&r.progress(e,n)}}function vv(t){return t.data.count()}function yv(t){bv=null;try{t(_v,xv)}catch(e){}return bv}var bv,_v={},xv={};function wv(t,e){for(var i in e.prototype)t[i]=s["L"]}wv(_v,Fh),wv(xv,Vh),_v.eachSeriesByType=_v.eachRawSeriesByType=function(t){bv=t},_v.eachComponent=function(t){"series"===t.mainType&&t.subType&&(bv=t.subType)};var Sv=lv,Cv=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],kv={color:Cv,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Cv]},Mv="#B9B8CE",Ov="#100C2A",Tv=function(){return{axisLine:{lineStyle:{color:Mv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Av=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Iv={darkMode:!0,color:Av,backgroundColor:Ov,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Mv}},textStyle:{color:Mv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Mv}},dataZoom:{borderColor:"#71708A",textStyle:{color:Mv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Mv}},timeline:{lineStyle:{color:Mv},label:{color:Mv},controlStyle:{color:Mv,borderColor:Mv}},calendar:{itemStyle:{color:Ov},dayLabel:{color:Mv},monthLabel:{color:Mv},yearLabel:{color:Mv}},timeAxis:Tv(),logAxis:Tv(),valueAxis:Tv(),categoryAxis:Tv(),line:{symbol:"circle"},graph:{color:Av},gauge:{title:{color:Mv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Mv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Iv.categoryAxis.splitLine.show=!1;var Pv=Iv,Ev=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},i={},n={};if(s["C"](t)){var r=Nr(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};s["k"](t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(i[r]=t,s=!0),s||(n[r]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},t.prototype.filter=function(t,e){var i=this.eventInfo;if(!i)return!0;var n=i.targetEl,r=i.packedEvent,o=i.model,a=i.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,n,r));function u(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Dv=["symbol","symbolSize","symbolRotate","symbolOffset"],Lv=Dv.concat(["symbolKeepAspect"]),jv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var i=t.getData();if(t.legendIcon&&i.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var n={},r={},o=!1,a=0;a<Dv.length;a++){var l=Dv[a],u=t.get(l);Object(s["w"])(u)?(o=!0,r[l]=u):n[l]=u}if(n.symbol=n.symbol||t.defaultSymbol,i.setVisual(Object(s["m"])({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),!e.isSeriesFiltered(t)){var c=Object(s["F"])(r);return{dataEach:o?h:null}}}function h(e,i){for(var n=t.getRawValue(i),o=t.getDataParams(i),a=0;a<c.length;a++){var s=c[a];e.setItemVisual(i,s,r[s](n,o))}}}},Rv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var i=t.getData();return{dataEach:i.hasItemOption?n:null}}function n(t,e){for(var i=t.getItemModel(e),n=0;n<Lv.length;n++){var r=Lv[n],o=i.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}}};function Bv(t,e,i){switch(i){case"color":var n=t.getItemVisual(e,"style");return n[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,i);default:0}}function Fv(t,e){switch(e){case"color":var i=t.getVisual("style");return i[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function Nv(t,e,i,n){switch(i){case"color":var r=t.ensureUniqueItemVisual(e,"style");r[t.getVisual("drawType")]=n,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,i,n);break;default:0}}function zv(t,e){function i(e,i){var n=[];return e.eachComponent({mainType:"series",subType:t,query:i},(function(t){n.push(t.seriesIndex)})),n}Object(s["k"])([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,n,r){e=Object(s["m"])({},e),r.dispatchAction(Object(s["m"])(e,{type:t[1],seriesIndex:i(n,e)}))}))}))}function Vv(t,e,i,n,r){var o=t+e;i.isSilent(o)||n.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,n=t.option.selectedMap,a=r.selected,l=0;l<a.length;l++)if(a[l].seriesIndex===e){var u=t.getData(),c=Cr(u,r.fromActionPayload);i.trigger(o,{type:o,seriesId:t.id,name:Object(s["t"])(c)?u.getName(c[0]):u.getName(c),selected:Object(s["C"])(n)?n:Object(s["m"])({},n)})}}))}function qv(t,e,i){t.on("selectchanged",(function(t){var n=i.getModel();t.isFromClick?(Vv("map","selectchanged",e,n,t),Vv("pie","selectchanged",e,n,t)):"select"===t.fromAction?(Vv("map","selected",e,n,t),Vv("pie","selected",e,n,t)):"unselect"===t.fromAction&&(Vv("map","unselected",e,n,t),Vv("pie","unselected",e,n,t))}))}function $v(t,e,i){var n;while(t){if(e(t)&&(n=t,i))break;t=t.__hostTarget||t.parent}return n}var Hv=Math.round(9*Math.random()),Gv="function"===typeof Object.defineProperty,Wv=function(){function t(){this._id="__ec_inner_"+Hv++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var i=this._guard(t);return Gv?Object.defineProperty(i,this._id,{value:e,enumerable:!1,configurable:!0}):i[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),Uv=Wv,Yv=Ba.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n+o),t.lineTo(i-r,n+o),t.closePath()}}),Xv=Ba.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,o=e.height/2;t.moveTo(i,n-o),t.lineTo(i+r,n),t.lineTo(i,n+o),t.lineTo(i-r,n),t.closePath()}}),Kv=Ba.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=n-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),p=.6*a,f=.7*a;t.moveTo(i-c,l+s),t.arc(i,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+c-h*p,l+s+d*p,i,n-f,i,n),t.bezierCurveTo(i,n-f,i-c+h*p,l+s+d*p,i-c,l+s),t.closePath()}}),Zv=Ba.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,o=e.y,a=n/3*2;t.moveTo(r,o),t.lineTo(r+a,o+i),t.lineTo(r,o+i/4*3),t.lineTo(r-a,o+i),t.lineTo(r,o),t.closePath()}}),Qv={line:Eg,rect:ts,roundRect:ts,square:ts,circle:Kf,diamond:Xv,pin:Kv,arrow:Zv,triangle:Yv},Jv={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var o=Math.min(i,n);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},ty={};Object(s["k"])(Qv,(function(t,e){ty[e]=new t}));var ey=Ba.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=nn(t,e,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var r=ty[n];r||(n="rect",r=ty[n]),Jv[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i)}}});function iy(t,e){if("image"!==this.type){var i=this.style;this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff",i.lineWidth=2):"line"===this.shape.symbolType?i.stroke=t:i.fill=t,this.markRedraw()}}function ny(t,e,i,n,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?pm(t.slice(8),new Gi(e,i,n,r),a?"center":"cover"):0===t.indexOf("path://")?dm(t.slice(7),{},new Gi(e,i,n,r),a?"center":"cover"):new ey({shape:{symbolType:t,x:e,y:i,width:n,height:r}}),s.__isEmptyBrush=l,s.setColor=iy,o&&s.setColor(o),s}function ry(t){return Object(s["t"])(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function oy(t,e){if(null!=t)return Object(s["t"])(t)||(t=[t,t]),[Pn(t[0],e[0])||0,Pn(Object(s["P"])(t[1],t[0]),e[1])||0]}function ay(t){return isFinite(t)}function sy(t,e,i){var n=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;e.global||(n=n*i.width+i.x,r=r*i.width+i.x,o=o*i.height+i.y,a=a*i.height+i.y),n=ay(n)?n:0,r=ay(r)?r:1,o=ay(o)?o:0,a=ay(a)?a:0;var s=t.createLinearGradient(n,o,r,a);return s}function ly(t,e,i){var n=i.width,r=i.height,o=Math.min(n,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(a=a*n+i.x,s=s*r+i.y,l*=o),a=ay(a)?a:.5,s=ay(s)?s:.5,l=l>=0&&ay(l)?l:.5;var u=t.createRadialGradient(a,s,0,a,s,l);return u}function uy(t,e,i){for(var n="radial"===e.type?ly(t,e,i):sy(t,e,i),r=e.colorStops,o=0;o<r.length;o++)n.addColorStop(r[o].offset,r[o].color);return n}function cy(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!0;return!1}function hy(t){return parseInt(t,10)}function dy(t,e,i){var n=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=i[n]&&"auto"!==i[n])return parseFloat(i[n]);var s=document.defaultView.getComputedStyle(t);return(t[r]||hy(s[n])||hy(t.style[n]))-(hy(s[o])||0)-(hy(s[a])||0)|0}function py(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(s["z"])(t)?[t]:Object(s["t"])(t)?t:null:null}function fy(t){var e=t.style,i=e.lineDash&&e.lineWidth>0&&py(e.lineDash,e.lineWidth),n=e.lineDashOffset;if(i){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(i=Object(s["H"])(i,(function(t){return t/r})),n/=r)}return[i,n]}var gy=new ha(!0);function my(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function vy(t){return"string"===typeof t&&"none"!==t}function yy(t){var e=t.fill;return null!=e&&"none"!==e}function by(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var i=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=i}else t.fill()}function _y(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var i=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=i}else t.stroke()}function xy(t,e,i){var n=io(e.image,e.__image,i);if(ro(n)){var r=t.createPattern(n,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*s["a"]),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}function wy(t,e,i,n){var r,o=my(i),a=yy(i),s=i.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||gy,h=e.__dirty;if(!n){var d=i.fill,p=i.stroke,f=a&&!!d.colorStops,g=o&&!!p.colorStops,m=a&&!!d.image,v=o&&!!p.image,y=void 0,b=void 0,_=void 0,x=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(y=h?uy(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(b=h?uy(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=b),m&&(_=h||!e.__canvasFillPattern?xy(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=_),v&&(x=h||!e.__canvasStrokePattern?xy(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),f?t.fillStyle=y:m&&(_?t.fillStyle=_:a=!1),g?t.strokeStyle=b:v&&(x?t.strokeStyle=x:o=!1)}var S,C,k=e.getGlobalScale();c.setScale(k[0],k[1],e.segmentIgnoreThreshold),t.setLineDash&&i.lineDash&&(r=fy(e),S=r[0],C=r[1]);var M=!0;(u||h&Tt)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),M=!1),c.reset(),e.buildPath(c,e.shape,n),c.toStatic(),e.pathUpdated()),M&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=C),n||(i.strokeFirst?(o&&_y(t,i),a&&by(t,i)):(a&&by(t,i),o&&_y(t,i))),S&&t.setLineDash([])}function Sy(t,e,i){var n=e.__image=io(i.image,e.__image,e,e.onload);if(n&&ro(n)){var r=i.x||0,o=i.y||0,a=e.getWidth(),s=e.getHeight(),l=n.width/n.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=n.width,s=n.height),i.sWidth&&i.sHeight){var u=i.sx||0,c=i.sy||0;t.drawImage(n,u,c,i.sWidth,i.sHeight,r,o,a,s)}else if(i.sx&&i.sy){u=i.sx,c=i.sy;var h=a-u,d=s-c;t.drawImage(n,u,c,h,d,r,o,a,s)}else t.drawImage(n,r,o,a,s)}}function Cy(t,e,i){var n,r=i.text;if(null!=r&&(r+=""),r){t.font=i.font||Ui["a"],t.textAlign=i.textAlign,t.textBaseline=i.textBaseline;var o=void 0,a=void 0;t.setLineDash&&i.lineDash&&(n=fy(e),o=n[0],a=n[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),i.strokeFirst?(my(i)&&t.strokeText(r,i.x,i.y),yy(i)&&t.fillText(r,i.x,i.y)):(yy(i)&&t.fillText(r,i.x,i.y),my(i)&&t.strokeText(r,i.x,i.y)),o&&t.setLineDash([])}}var ky=["shadowBlur","shadowOffsetX","shadowOffsetY"],My=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Oy(t,e,i,n,r){var o=!1;if(!n&&(i=i||{},e===i))return!1;if(n||e.opacity!==i.opacity){Fy(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?wo.opacity:a}(n||e.blend!==i.blend)&&(o||(Fy(t,r),o=!0),t.globalCompositeOperation=e.blend||wo.blend);for(var s=0;s<ky.length;s++){var l=ky[s];(n||e[l]!==i[l])&&(o||(Fy(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(n||e.shadowColor!==i.shadowColor)&&(o||(Fy(t,r),o=!0),t.shadowColor=e.shadowColor||wo.shadowColor),o}function Ty(t,e,i,n,r){var o=Ny(e,r.inHover),a=n?null:i&&Ny(i,r.inHover)||{};if(o===a)return!1;var s=Oy(t,o,a,n,r);if((n||o.fill!==a.fill)&&(s||(Fy(t,r),s=!0),vy(o.fill)&&(t.fillStyle=o.fill)),(n||o.stroke!==a.stroke)&&(s||(Fy(t,r),s=!0),vy(o.stroke)&&(t.strokeStyle=o.stroke)),(n||o.opacity!==a.opacity)&&(s||(Fy(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(Fy(t,r),s=!0),t.lineWidth=u)}for(var c=0;c<My.length;c++){var h=My[c],d=h[0];(n||o[d]!==a[d])&&(s||(Fy(t,r),s=!0),t[d]=o[d]||h[1])}return s}function Ay(t,e,i,n,r){return Oy(t,Ny(e,r.inHover),i&&Ny(i,r.inHover),n,r)}function Iy(t,e){var i=e.transform,n=t.dpr||1;i?t.setTransform(n*i[0],n*i[1],n*i[2],n*i[3],n*i[4],n*i[5]):t.setTransform(n,0,0,n,0,0)}function Py(t,e,i){for(var n=!1,r=0;r<t.length;r++){var o=t[r];n=n||o.isZeroArea(),Iy(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}i.allClipped=n}function Ey(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var Dy=1,Ly=2,jy=3,Ry=4;function By(t){var e=yy(t),i=my(t);return!(t.lineDash||!(+e^+i)||e&&"string"!==typeof t.fill||i&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function Fy(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function Ny(t,e){return e&&t.__hoverStyle||t.style}function zy(t,e){Vy(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Vy(t,e,i,n){var r=e.transform;if(!e.shouldBePainted(i.viewWidth,i.viewHeight,!1,!1))return e.__dirty&=~Mt,void(e.__isRendered=!1);var o=e.__clipPaths,a=i.prevElClipPaths,s=!1,l=!1;if(a&&!cy(o,a)||(a&&a.length&&(Fy(t,i),t.restore(),l=s=!0,i.prevElClipPaths=null,i.allClipped=!1,i.prevEl=null),o&&o.length&&(Fy(t,i),t.save(),Py(o,t,i),s=!0),i.prevElClipPaths=o),i.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=i.prevEl;u||(l=s=!0);var c=e instanceof Ba&&e.autoBatch&&By(e.style);s||Ey(r,u.transform)?(Fy(t,i),Iy(t,e)):c||Fy(t,i);var h=Ny(e,i.inHover);e instanceof Ba?(i.lastDrawType!==Dy&&(l=!0,i.lastDrawType=Dy),Ty(t,e,u,l,i),c&&(i.batchFill||i.batchStroke)||t.beginPath(),wy(t,e,h,c),c&&(i.batchFill=h.fill||"",i.batchStroke=h.stroke||"")):e instanceof za?(i.lastDrawType!==jy&&(l=!0,i.lastDrawType=jy),Ty(t,e,u,l,i),Cy(t,e,h)):e instanceof Ga?(i.lastDrawType!==Ly&&(l=!0,i.lastDrawType=Ly),Ay(t,e,u,l,i),Sy(t,e,h)):e.getTemporalDisplayables&&(i.lastDrawType!==Ry&&(l=!0,i.lastDrawType=Ry),qy(t,e,i)),c&&n&&Fy(t,i),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),i.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function qy(t,e,i){var n=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:i.viewWidth,viewHeight:i.viewHeight,inHover:i.inHover};for(o=e.getCursor(),a=n.length;o<a;o++){var l=n[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vy(t,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=r.length;u<c;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vy(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var $y=new Uv,Hy=new Wi["a"](100),Gy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Wy(t,e){if("none"===t)return null;var i=e.getDevicePixelRatio(),n=e.getZr(),r="svg"===n.painter.type;t.dirty&&$y["delete"](t);var o=$y.get(t);if(o)return o;var a=Object(s["i"])(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var l={repeat:"repeat"};return u(l),l.rotation=a.rotation,l.scaleX=l.scaleY=r?1:1/i,$y.set(t,l),t.dirty=!1,l;function u(t){for(var e,o=[i],l=!0,u=0;u<Gy.length;++u){var c=a[Gy[u]];if(null!=c&&!Object(s["t"])(c)&&!Object(s["C"])(c)&&!Object(s["z"])(c)&&"boolean"!==typeof c){l=!1;break}o.push(c)}if(l){e=o.join(",")+(r?"-svg":"");var h=Hy.get(e);h&&(r?t.svgElement=h:t.image=h)}var d,p=Yy(a.dashArrayX),f=Xy(a.dashArrayY),g=Uy(a.symbol),m=Ky(p),v=Zy(f),y=!r&&Ui["d"].createCanvas(),b=r&&{tag:"g",attrs:{},key:"dcl",children:[]},_=x();function x(){for(var t=1,e=0,i=m.length;e<i;++e)t=Jn(t,m[e]);var n=1;for(e=0,i=g.length;e<i;++e)n=Jn(n,g[e].length);t*=n;var r=v*m.length*g.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}function w(){d&&(d.clearRect(0,0,y.width,y.height),a.backgroundColor&&(d.fillStyle=a.backgroundColor,d.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0)){var o=-v,s=0,l=0,u=0;while(o<_.height){if(s%2===0){var c=l/2%g.length,h=0,m=0,x=0;while(h<2*_.width){var w=0;for(e=0;e<p[u].length;++e)w+=p[u][e];if(w<=0)break;if(m%2===0){var S=.5*(1-a.symbolSize),C=h+p[u][m]*S,k=o+f[s]*S,M=p[u][m]*a.symbolSize,O=f[s]*a.symbolSize,T=x/2%g[c].length;A(C,k,M,O,g[c][T])}h+=p[u][m],++x,++m,m===p[u].length&&(m=0)}++u,u===p.length&&(u=0)}o+=f[s],++l,++s,s===f.length&&(s=0)}}function A(t,e,o,s,l){var u=r?1:i,c=ny(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var h=n.painter.renderOneToVNode(c);h&&b.children.push(h)}else zy(d,c)}}y&&(y.width=_.width*i,y.height=_.height*i,d=y.getContext("2d")),w(),l&&Hy.put(e,y||b),t.image=y,t.svgElement=b,t.svgWidth=_.width,t.svgHeight=_.height}}function Uy(t){if(!t||0===t.length)return[["rect"]];if(Object(s["C"])(t))return[[t]];for(var e=!0,i=0;i<t.length;++i)if(!Object(s["C"])(t[i])){e=!1;break}if(e)return Uy([t]);var n=[];for(i=0;i<t.length;++i)Object(s["C"])(t[i])?n.push([t[i]]):n.push(t[i]);return n}function Yy(t){if(!t||0===t.length)return[[0,0]];if(Object(s["z"])(t)){var e=Math.ceil(t);return[[e,e]]}for(var i=!0,n=0;n<t.length;++n)if(!Object(s["z"])(t[n])){i=!1;break}if(i)return Yy([t]);var r=[];for(n=0;n<t.length;++n)if(Object(s["z"])(t[n])){e=Math.ceil(t[n]);r.push([e,e])}else{e=Object(s["H"])(t[n],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function Xy(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if(Object(s["z"])(t)){var e=Math.ceil(t);return[e,e]}var i=Object(s["H"])(t,(function(t){return Math.ceil(t)}));return t.length%2?i.concat(i):i}function Ky(t){return Object(s["H"])(t,(function(t){return Zy(t)}))}function Zy(t){for(var e=0,i=0;i<t.length;++i)e+=t[i];return t.length%2===1?2*e:e}function Qy(t,e){t.eachRawSeries((function(i){if(!t.isSeriesFiltered(i)){var n=i.getData();n.hasItemVisual()&&n.each((function(t){var i=n.getItemVisual(t,"decal");if(i){var r=n.ensureUniqueItemVisual(t,"style");r.decal=Wy(i,e)}}));var r=n.getVisual("decal");if(r){var o=n.getVisual("style");o.decal=Wy(r,e)}}}))}var Jy=new D,tb=Jy,eb={};function ib(t,e){eb[t]=e}function nb(t){return eb[t]}var rb="undefined"!==typeof window,ob=1,ab=800,sb=900,lb=1e3,ub=2e3,cb=5e3,hb=1e3,db=1100,pb=2e3,fb=3e3,gb=4e3,mb=4500,vb=4600,yb=5e3,bb=6e3,_b=7e3,xb={PROCESSOR:{FILTER:lb,SERIES_FILTER:ab,STATISTIC:cb},VISUAL:{LAYOUT:hb,PROGRESSIVE_LAYOUT:db,GLOBAL:pb,CHART:fb,POST_CHART_LAYOUT:vb,COMPONENT:gb,BRUSH:yb,CHART_ITEM:mb,ARIA:bb,DECAL:_b}},wb="__flagInMainProcess",Sb="__pendingUpdate",Cb="__needsUpdateStatus",kb=/^[a-zA-Z0-9_]+$/,Mb="__connectUpdateStatus",Ob=0,Tb=1,Ab=2;function Ib(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];if(!this.isDisposed())return Eb(this,t,e);e_(this.id)}}function Pb(t){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return Eb(this,t,e)}}function Eb(t,e,i){return i[0]=i[0]&&i[0].toLowerCase(),D.prototype[e].apply(t,i)}var Db,Lb,jb,Rb,Bb,Fb,Nb,zb,Vb,qb,$b,Hb,Gb,Wb,Ub,Yb,Xb,Kb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(D),Zb=Kb.prototype;Zb.on=Pb("on"),Zb.off=Pb("off");var Qb=function(t){function e(e,i,n){var r=t.call(this,new Ev)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],n=n||{},Object(s["C"])(i)&&(i=s_[i]),r._dom=e;var o="canvas",a=!1,l=r._zr=kn(e,{renderer:n.renderer||o,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:null==n.useDirtyRect?a:n.useDirtyRect});r._ssr=n.ssr,r._throttledZrFlush=Ym(Object(s["c"])(l.flush,l),17),i=Object(s["d"])(i),i&&xd(i,!0),r._theme=i,r._locale=Ru(n.locale||Lu),r._coordSysMgr=new Hh;var u=r._api=Ub(r);function c(t,e){return t.__prio-e.__prio}return kt(a_,c),kt(r_,c),r._scheduler=new Sv(r,u,r_,a_),r._messageCenter=new Kb,r._initEvents(),r.resize=Object(s["c"])(r.resize,r),l.animation.on("frame",r._onframe,r),qb(l,r),$b(l,r),Object(s["R"])(r),r}return o(e,t),e.prototype._onframe=function(){if(!this._disposed){Xb(this);var t=this._scheduler;if(this[Sb]){var e=this[Sb].silent;this[wb]=!0;try{Db(this),Rb.update.call(this,null,this[Sb].updateParams)}catch(a){throw this[wb]=!1,this[Sb]=null,a}this._zr.flush(),this[wb]=!1,this[Sb]=null,zb.call(this,e),Vb.call(this,e)}else if(t.unfinished){var i=ob,n=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),Fb(this,n),t.performVisualTasks(n),Wb(this,this._model,r,"remain",{}),i-=+new Date-o}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,i){if(!this[wb])if(this._disposed)e_(this.id);else{var n,r,o;if(Object(s["A"])(e)&&(i=e.lazyUpdate,n=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[wb]=!0,!this._model||e){var a=new Zh(this._api),l=this._theme,u=this._model=new Fh;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},o_);var c={seriesTransition:o,optionChanged:!0};if(i)this[Sb]={silent:n,updateParams:c},this[wb]=!1,this.getZr().wakeUp();else{try{Db(this),Rb.update.call(this,null,c)}catch(h){throw this[Sb]=null,this[wb]=!1,h}this._ssr||this._zr.flush(),this[Sb]=null,this[wb]=!1,zb.call(this,n),Vb.call(this,n)}}},e.prototype.setTheme=function(){Th("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||rb&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(s["k"])(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,n=[],r=this;Object(s["k"])(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(s["k"])(n,(function(t){t.group.ignore=!1})),o}e_(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,i=this.group,n=Math.min,r=Math.max,o=1/0;if(c_[i]){var a=o,l=o,u=-o,c=-o,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(s["k"])(u_,(function(o,d){if(o.group===i){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(s["d"])(t)),f=o.getDom().getBoundingClientRect();a=n(f.left,a),l=n(f.top,l),u=r(f.right,u),c=r(f.bottom,c),h.push({dom:p,left:f.left,top:f.top})}})),a*=d,l*=d,u*=d,c*=d;var p=u-a,f=c-l,g=Ui["d"].createCanvas(),m=kn(g,{renderer:e?"svg":"canvas"});if(m.resize({width:p,height:f}),e){var v="";return Object(s["k"])(h,(function(t){var e=t.left-a,i=t.top-l;v+='<g transform="translate('+e+","+i+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new ts({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),Object(s["k"])(h,(function(t){var e=new Ga({style:{x:t.left*d-a,y:t.top*d-l,image:t.dom}});m.add(e)})),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}e_(this.id)},e.prototype.convertToPixel=function(t,e){return Bb(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Bb(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var i,n=this._model,r=Or(n,t);return Object(s["k"])(r,(function(t,n){n.indexOf("Models")>=0&&Object(s["k"])(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i=i||!!r.containPoint(e);else if("seriesModels"===n){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i=i||o.containPoint(e,t))}else 0}),this)}),this),!!i}e_(this.id)},e.prototype.getVisual=function(t,e){var i=this._model,n=Or(i,t,{defaultMainType:"series"}),r=n.seriesModel;var o=r.getData(),a=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?o.indexOfRawIndex(n.dataIndex):null;return null!=a?Bv(o,a,e):Fv(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;Object(s["k"])(t_,(function(e){var i=function(i){var n,r=t.getModel(),o=i.target,a="globalout"===e;if(a?n={}:o&&$v(o,(function(t){var e=bs(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return n=Object(s["m"])({},e.eventData),!0}),!0),n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&r.getComponent(l,u),h=c&&t["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,n.event=i,n.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:h},t.trigger(e,n)}};i.zrEventfulCallAtLast=!0,t._zr.on(e,i,t)})),Object(s["k"])(n_,(function(e,i){t._messageCenter.on(i,(function(t){this.trigger(i,t)}),t)})),Object(s["k"])(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),qv(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?e_(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)e_(this.id);else{this._disposed=!0;var t=this.getDom();t&&Er(this.getDom(),h_,"");var e=this,i=e._api,n=e._model;Object(s["k"])(e._componentsViews,(function(t){t.dispose(n,i)})),Object(s["k"])(e._chartsViews,(function(t){t.dispose(n,i)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete u_[e.id]}},e.prototype.resize=function(t){if(!this[wb])if(this._disposed)e_(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var i=e.resetOption("media"),n=t&&t.silent;this[Sb]&&(null==n&&(n=this[Sb].silent),i=!0,this[Sb]=null),this[wb]=!0;try{i&&Db(this),Rb.update.call(this,{type:"resize",animation:Object(s["m"])({duration:0},t&&t.animation)})}catch(r){throw this[wb]=!1,r}this[wb]=!1,zb.call(this,n),Vb.call(this,n)}}},e.prototype.showLoading=function(t,e){if(this._disposed)e_(this.id);else if(Object(s["A"])(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),l_[t]){var i=l_[t](this._api,e),n=this._zr;this._loadingFX=i,n.add(i)}},e.prototype.hideLoading=function(){this._disposed?e_(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(s["m"])({},t);return e.type=n_[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)e_(this.id);else if(Object(s["A"])(e)||(e={silent:!!e}),i_[t.type]&&this._model)if(this[wb])this._pendingActions.push(t);else{var i=e.silent;Nb.call(this,t,i);var n=e.flush;n?this._zr.flush():!1!==n&&a["a"].browser.weChat&&this._throttledZrFlush(),zb.call(this,i),Vb.call(this,i)}},e.prototype.updateLabelLayout=function(){tb.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)e_(this.id);else{var e=t.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],i=[],n=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();n=n||!!s,("series"===t?i:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),n){var r,o,a=e.concat(i);kt(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(s["k"])(a,(function(e){var i=t.getComponent(e.type,e.idx),n=e.zlevel,a=e.key;null!=r&&(n=Math.max(r,n)),a?(n===r&&a!==o&&n++,o=a):o&&(n===r&&n++,o=""),r=n,i.setZLevel(n)}))}}function i(t){for(var e=[],i=t.currentStates,n=0;n<i.length;n++){var r=i[n];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===Os&&t.states.emphasis?e.push("emphasis"):t.hoverState===Ms&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){var i=t._zr,n=i.storage,r=0;n.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a["a"].node&&!a["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function r(t,e){var i=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=i)}))}function l(t,e){if(!t.preventAutoZ){var i=t.get("z")||0,n=t.get("zlevel")||0;e.eachRendered((function(t){return u(t,i,n,-1/0),!0}))}}function u(t,e,i,n){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),l=0;l<s.length;l++)n=Math.max(u(s[l],e,i,n),n);else t.z=e,t.zlevel=i,n=Math.max(t.z2,n);if(r&&(r.z=e,r.zlevel=i,isFinite(n)&&(r.z2=n+2)),o){var c=t.textGuideLineConfig;o.z=e,o.zlevel=i,isFinite(n)&&(o.z2=n+(c&&c.showAbove?1:-1))}return n}function c(t,e){e.eachRendered((function(t){if(!zl(t)){var e=t.getTextContent(),i=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),i&&i.stateTransition&&(i.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function h(t,e){var n=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=n.get("duration"),a=o>0?{duration:o,delay:n.get("delay"),easing:n.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(zl(t))return;if(t instanceof Ba&&Ll(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var n=t.getTextContent(),o=t.getTextGuideLine();n&&(n.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&i(t)}}))}Db=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Lb(t,!0),Lb(t,!1),e.plan()},Lb=function(t,e){for(var i=t._model,n=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=Nr(t.type),d=e?Sf.getClass(h.main,h.sub):Hm.getClass(h.sub);0,c=new d,c.init(i,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&n.prepareView(c,t,i,s)}e?i.eachComponent((function(t,e){"series"!==t&&u(e)})):i.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(i,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},jb=function(t,e,i,n,r){var o=t._model;if(o.setUpdatePayload(i),n){var a={};a[n+"Id"]=i[n+"Id"],a[n+"Index"]=i[n+"Index"],a[n+"Name"]=i[n+"Name"];var l={mainType:n,query:a};r&&(l.subType=r);var u,c=i.excludeSeriesId;null!=c&&(u=Object(s["f"])(),Object(s["k"])(nr(c),(function(t){var e=vr(t,null);null!=e&&u.set(e,!0)}))),o&&o.eachComponent(l,(function(e){var n=u&&null!==u.get(e.id);if(!n)if(Dl(i))if(e instanceof xf)i.type!==Es||i.notBlur||e.get(["emphasis","disabled"])||fl(e,i,t._api);else{var r=gl(e.mainType,e.componentIndex,i.name,t._api),o=r.focusSelf,a=r.dispatchers;i.type===Es&&o&&!i.notBlur&&pl(e.mainType,e.componentIndex,t._api),a&&Object(s["k"])(a,(function(t){i.type===Es?rl(t):ol(t)}))}else El(i)&&e instanceof xf&&(yl(e,i,t._api),bl(e),Yb(t))}),t),o&&o.eachComponent(l,(function(e){var i=u&&null!==u.get(e.id);i||h(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else Object(s["k"])([].concat(t._componentsViews).concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}},Rb={prepareAndUpdate:function(t){Db(this),Rb.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,i){var n=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(n){n.setUpdatePayload(e),s.restoreData(n,e),s.performSeriesTasks(n),a.create(n,r),s.performDataProcessorTasks(n,e),Fb(this,n),a.update(n,r),t(n),s.performVisualTasks(n,e),Hb(this,n,r,e,i);var l=n.get("backgroundColor")||"transparent",u=n.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),tb.trigger("afterupdate",n,r)}},updateTransform:function(e){var i=this,n=this._model,r=this._api;if(n){n.setUpdatePayload(e);var o=[];n.eachComponent((function(t,a){if("series"!==t){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,n,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=Object(s["f"])();n.eachSeries((function(t){var o=i._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,n,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0,dirtyMap:a}),Wb(this,n,r,e,{},a),tb.trigger("afterupdate",n,r)}},updateView:function(e){var i=this._model;i&&(i.setUpdatePayload(e),Hm.markUpdateMethod(e,"updateView"),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0}),Hb(this,i,this._api,e,{}),tb.trigger("afterupdate",i,this._api))},updateVisual:function(e){var i=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries((function(t){t.getData().clearAllVisual()})),Hm.markUpdateMethod(e,"updateVisual"),t(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent((function(t,r){if("series"!==t){var o=i.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,n,i._api,e)}})),n.eachSeries((function(t){var r=i._chartsMap[t.__viewId];r.updateVisual(t,n,i._api,e)})),tb.trigger("afterupdate",n,this._api))},updateLayout:function(t){Rb.update.call(this,t)}},Bb=function(t,e,i,n){if(t._disposed)e_(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Or(o,i),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,n)))return r}0}},Fb=function(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))},Nb=function(t,e){var i=this,n=this.getModel(),r=t.type,o=t.escapeConnect,a=i_[r],l=a.actionInfo,u=(l.update||"update").split(":"),c=u.pop(),h=null!=u[0]&&Nr(u[0]);this[wb]=!0;var d=[t],p=!1;t.batch&&(p=!0,d=Object(s["H"])(t.batch,(function(e){return e=Object(s["i"])(Object(s["m"])({},e),t),e.batch=null,e})));var f,g=[],m=El(t),v=Dl(t);if(v&&hl(this._api),Object(s["k"])(d,(function(e){if(f=a.action(e,i._model,i._api),f=f||Object(s["m"])({},e),f.type=l.event||f.type,g.push(f),v){var n=Tr(t),r=n.queryOptionMap,o=n.mainTypeSpecified,u=o?r.keys()[0]:"series";jb(i,c,e,u),Yb(i)}else m?(jb(i,c,e,"series"),Yb(i)):h&&jb(i,c,e,h.main,h.sub)})),"none"!==c&&!v&&!m&&!h)try{this[Sb]?(Db(this),Rb.update.call(this,t),this[Sb]=null):Rb[c].call(this,t)}catch(_){throw this[wb]=!1,_}if(f=p?{type:l.event||r,escapeConnect:o,batch:g}:g[0],this[wb]=!1,!e){var y=this._messageCenter;if(y.trigger(f.type,f),m){var b={type:"selectchanged",escapeConnect:o,selected:_l(n),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(b.type,b)}}},zb=function(t){var e=this._pendingActions;while(e.length){var i=e.shift();Nb.call(this,i,t)}},Vb=function(t){!t&&this.trigger("updated")},qb=function(t,e){t.on("rendered",(function(i){e.trigger("rendered",i),!t.animation.isFinished()||e[Sb]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},$b=function(t,e){t.on("mouseover",(function(t){var i=t.target,n=$v(i,Al);n&&(ml(n,t,e._api),Yb(e))})).on("mouseout",(function(t){var i=t.target,n=$v(i,Al);n&&(vl(n,t,e._api),Yb(e))})).on("click",(function(t){var i=t.target,n=$v(i,(function(t){return null!=bs(t).dataIndex}),!0);if(n){var r=n.selected?"unselect":"select",o=bs(n);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},Hb=function(t,i,n,r,o){e(i),Gb(t,i,n,r,o),Object(s["k"])(t._chartsViews,(function(t){t.__alive=!1})),Wb(t,i,n,r,o),Object(s["k"])(t._chartsViews,(function(t){t.__alive||t.remove(i,n)}))},Gb=function(t,e,i,n,r,o){Object(s["k"])(o||t._componentsViews,(function(t){var r=t.__model;c(r,t),t.render(r,e,i,n),l(r,t),h(r,t)}))},Wb=function(t,e,i,o,a,u){var d=t._scheduler;a=Object(s["m"])(a||{},{updatedSeries:e.getSeries()}),tb.trigger("series:beforeupdate",e,i,a);var p=!1;e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var n=i.renderTask;d.updatePayload(n,o),c(e,i),u&&u.get(e.uid)&&n.dirty(),n.perform(d.getPerformArgs(n))&&(p=!0),i.group.silent=!!e.get("silent"),r(e,i),bl(e)})),d.unfinished=p||d.unfinished,tb.trigger("series:layoutlabels",e,i,a),tb.trigger("series:transition",e,i,a),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];l(e,i),h(e,i)})),n(t,e),tb.trigger("series:afterupdate",e,i,a)},Yb=function(t){t[Cb]=!0,t.getZr().wakeUp()},Xb=function(t){t[Cb]&&(t.getZr().storage.traverse((function(t){zl(t)||i(t)})),t[Cb]=!1)},Ub=function(t){return new(function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return o(i,e),i.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},i.prototype.getComponentByElement=function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}},i.prototype.enterEmphasis=function(e,i){rl(e,i),Yb(t)},i.prototype.leaveEmphasis=function(e,i){ol(e,i),Yb(t)},i.prototype.enterBlur=function(e){al(e),Yb(t)},i.prototype.leaveBlur=function(e){sl(e),Yb(t)},i.prototype.enterSelect=function(e){ll(e),Yb(t)},i.prototype.leaveSelect=function(e){ul(e),Yb(t)},i.prototype.getModel=function(){return t.getModel()},i.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},i.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},i}(Vh))(t)},function(t){function e(t,e){for(var i=0;i<t.length;i++){var n=t[i];n[Mb]=e}}Object(s["k"])(n_,(function(i,n){t._messageCenter.on(n,(function(i){if(c_[t.group]&&t[Mb]!==Ob){if(i&&i.escapeConnect)return;var n=t.makeActionFromEvent(i),r=[];Object(s["k"])(u_,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,Ob),Object(s["k"])(r,(function(t){t[Mb]!==Tb&&t.dispatchAction(n)})),e(r,Ab)}}))}))}}(),e}(D),Jb=Qb.prototype;Jb.on=Ib("on"),Jb.off=Ib("off"),Jb.one=function(t,e,i){var n=this;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];e&&e.apply&&e.apply(this,i),n.off(t,r)}Th("ECharts#one is deprecated."),this.on.call(this,t,r,i)};var t_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function e_(t){0}var i_={},n_={},r_=[],o_=[],a_=[],s_={},l_={},u_={},c_={},h_=(new Date,new Date,"_echarts_instance_");function d_(t,e){s_[t]=e}function p_(t){Object(s["r"])(o_,t)<0&&o_.push(t)}function f_(t,e){S_(r_,t,e,ub)}function g_(t){v_("afterinit",t)}function m_(t){v_("afterupdate",t)}function v_(t,e){tb.on(t,e)}function y_(t,e,i){Object(s["w"])(e)&&(i=e,e="");var n=Object(s["A"])(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,n_[e]||(Object(s["b"])(kb.test(n)&&kb.test(e)),i_[n]||(i_[n]={action:i,actionInfo:t}),n_[e]=n)}function b_(t,e){Hh.register(t,e)}function __(t,e){S_(a_,t,e,hb,"layout")}function x_(t,e){S_(a_,t,e,fb,"visual")}var w_=[];function S_(t,e,i,n,r){if((Object(s["w"])(e)||Object(s["A"])(e))&&(i=e,e=n),!(Object(s["r"])(w_,i)>=0)){w_.push(i);var o=Sv.wrapStageHandler(i,r);o.__prio=e,o.__raw=i,t.push(o)}}function C_(t,e){l_[t]=e}function k_(t,e,i){var n=nb("registerMap");n&&n(t,e,i)}var M_=bp;x_(pb,iv),x_(mb,rv),x_(mb,ov),x_(pb,jv),x_(mb,Rv),x_(_b,Qy),p_(xd),f_(sb,wd),C_("default",sv),y_({type:Es,event:Es,update:Es},s["L"]),y_({type:Ds,event:Ds,update:Ds},s["L"]),y_({type:Ls,event:Ls,update:Ls},s["L"]),y_({type:js,event:js,update:js},s["L"]),y_({type:Rs,event:Rs,update:Rs},s["L"]),d_("light",kv),d_("dark",Pv);var O_=[],T_={registerPreprocessor:p_,registerProcessor:f_,registerPostInit:g_,registerPostUpdate:m_,registerUpdateLifecycle:v_,registerAction:y_,registerCoordinateSystem:b_,registerLayout:__,registerVisual:x_,registerTransform:M_,registerLoading:C_,registerMap:k_,registerImpl:ib,PRIORITY:xb,ComponentModel:Uc,ComponentView:Sf,SeriesModel:xf,ChartView:Hm,registerComponentModel:function(t){Uc.registerClass(t)},registerComponentView:function(t){Sf.registerClass(t)},registerSeriesModel:function(t){xf.registerClass(t)},registerChartView:function(t){Hm.registerClass(t)},registerSubTypeDefaulter:function(t,e){Uc.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Mn(t,e)}};function A_(t){Object(s["t"])(t)?Object(s["k"])(t,(function(t){A_(t)})):Object(s["r"])(O_,t)>=0||(O_.push(t),Object(s["w"])(t)&&(t={install:t}),t.install(T_))}function I_(t,e,i){var n=Ui["d"].createCanvas(),r=e.getWidth(),o=e.getHeight(),a=n.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",n.setAttribute("data-zr-dom-id",t)),n.width=r*i,n.height=o*i,n}var P_=function(t){function e(e,i,n){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,n=n||ui,"string"===typeof e?r=I_(e,i,n):s["A"](e)&&(r=e,e=r.id),o.id=e,o.dom=r;var a=r.style;return a&&(s["j"](r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=i,o.dpr=n,o}return u(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=I_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,n){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Gi(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new Gi(0,0,0,0);e.copy(t),o.push(e)}else{for(var i=!1,n=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var h=new Gi(0,0,0,0);h.copy(c),h.union(t),o[u]=h,i=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,p=c.width*c.height,f=l.width*l.height,g=f-d-p;g<n&&(n=g,r=u)}}if(s&&(o[r].union(t),i=!0),!i){e=new Gi(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var h=t[c];if(h){var d=h.shouldBePainted(i,n,!0,!0),p=h.__isRendered&&(h.__dirty&Mt||!d)?h.getPrevPaintRect():null;p&&u(p);var f=d&&(h.__dirty&Mt||!h.__isRendered)?h.getPaintRect():null;f&&u(f)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){h=e[c],d=h.shouldBePainted(i,n,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){p=h.getPrevPaintRect();p&&u(p)}}do{r=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var i=this.dpr,n=this.dom,r=n.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),n.width=t*i,n.height=e*i,o&&(o.width=t*i,o.height=e*i,1!==i&&this.ctxBack.scale(i,i))},e.prototype.clear=function(t,e,i){var n=this.dom,r=this.ctx,o=n.width,a=n.height;e=e||this.clearColor;var l=this.motionBlur&&!t,u=this.lastFrameAlpha,c=this.dpr,h=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,o/c,a/c));var d=this.domBack;function p(t,i,n,o){if(r.clearRect(t,i,n,o),e&&"transparent"!==e){var a=void 0;s["x"](e)?(a=e.__canvasGradient||uy(r,e,{x:0,y:0,width:n,height:o}),e.__canvasGradient=a):s["y"](e)&&(a=xy(r,e,{dirty:function(){h.setUnpainted(),h.__painter.refresh()}})),r.save(),r.fillStyle=a||e,r.fillRect(t,i,n,o),r.restore()}l&&(r.save(),r.globalAlpha=u,r.drawImage(d,t,i,n,o),r.restore())}!i||l?p(0,0,o,a):i.length&&s["k"](i,(function(t){p(t.x*c,t.y*c,t.width*c,t.height*c)}))},e}(D),E_=P_,D_=1e5,L_=314159,j_=.01,R_=.001;function B_(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function F_(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var N_=function(){function t(t,e,i,n){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=s["m"]({},i||{}),this.dpr=i.devicePixelRatio||ui,this._singleCanvas=r,this.root=t;var o=t.style;o&&(s["j"](t),t.innerHTML=""),this.storage=e;var a=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(r){var u=t,c=u.width,h=u.height;null!=i.width&&(c=i.width),null!=i.height&&(h=i.height),this.dpr=i.devicePixelRatio||1,u.width=c*this.dpr,u.height=h*this.dpr,this._width=c,this._height=h;var d=new E_(u,this,this.dpr);d.__builtin__=!0,d.initContext(),l[L_]=d,d.zlevel=L_,a.push(L_),this._domRoot=t}else{this._width=dy(t,0,i),this._height=dy(t,1,i);var p=this._domRoot=F_(this._width,this._height);t.appendChild(p)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),i=this._prevDisplayList,n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,i,t,this._redrawId);for(var r=0;r<n.length;r++){var o=n[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,i=this._hoverlayer;if(i&&i.clear(),e){for(var n,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(D_)),n||(n=i.ctx,n.save()),Vy(n,a,r,o===e-1))}n&&n.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(D_)},t.prototype.paintOne=function(t,e){zy(t,e)},t.prototype._paintList=function(t,e,i,n){if(this._redrawId===n){i=i||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,i),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;jt((function(){s._paintList(t,e,i,n)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(L_).ctx,e=this._domRoot.width,i=this._domRoot.height;t.clearRect(0,0,e,i),this.eachBuiltinLayer((function(n){n.virtual&&t.drawImage(n.dom,0,0,e,i)}))},t.prototype._doPaintList=function(t,e,i){for(var n=this,r=[],o=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var u=this._zlevelList[l],c=this._layers[u];c.__builtin__&&c!==this._hoverlayer&&(c.__dirty||i)&&r.push(c)}for(var h=!0,d=!1,p=function(a){var s,l=r[a],u=l.ctx,c=o&&l.createRepaintRects(t,e,f._width,f._height),p=i?l.__startIndex:l.__drawIndex,g=!i&&l.incremental&&Date.now,m=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,c);else if(p===l.__startIndex){var y=t[p];y.incremental&&y.notClear&&!i||l.clear(!1,v,c)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var b=function(e){var i={inHover:!1,allClipped:!1,prevEl:null,viewWidth:n._width,viewHeight:n._height};for(s=p;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(d=!0),n._doPaintEl(r,l,o,e,i,s===l.__endIndex-1),g){var a=Date.now()-m;if(a>15)break}}i.prevElClipPaths&&u.restore()};if(c)if(0===c.length)s=l.__endIndex;else for(var _=f.dpr,x=0;x<c.length;++x){var w=c[x];u.save(),u.beginPath(),u.rect(w.x*_,w.y*_,w.width*_,w.height*_),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)},f=this,g=0;g<r.length;g++)p(g);return a["a"].wxa&&s["k"](this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:h,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,i,n,r,o){var a=e.ctx;if(i){var s=t.getPaintRect();(!n||s&&s.intersect(n))&&(Vy(a,t,r,o),t.setPrevPaintRect(s))}else Vy(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=L_);var i=this._layers[t];return i||(i=new E_("zr_"+t,this,this.dpr),i.zlevel=t,i.__builtin__=!0,this._layerConfig[t]?s["I"](i,this._layerConfig[t],!0):this._layerConfig[t-j_]&&s["I"](i,this._layerConfig[t-j_],!0),e&&(i.virtual=e),this.insertLayer(t,i),i.initContext()),i},t.prototype.insertLayer=function(t,e){var i=this._layers,n=this._zlevelList,r=n.length,o=this._domRoot,a=null,s=-1;if(!i[t]&&B_(e)){if(r>0&&t>n[0]){for(s=0;s<r-1;s++)if(n[s]<t&&n[s+1]>t)break;a=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var i=this._zlevelList,n=0;n<i.length;n++){var r=i[n],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var i=1;i<t.length;i++){var n=t[i];if(n.zlevel!==t[i-1].zlevel||n.incremental){this._needsManuallyCompositing=!0;break}}var r,o,a=null,l=0;for(o=0;o<t.length;o++){n=t[o];var u=n.zlevel,c=void 0;r!==u&&(r=u,l=0),n.incremental?(c=this.getLayer(u+R_,this._needsManuallyCompositing),c.incremental=!0,l=1):c=this.getLayer(u+(l>0?j_:0),this._needsManuallyCompositing),c.__builtin__||s["G"]("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==o&&(c.__dirty=!0),c.__startIndex=o,c.incremental?c.__drawIndex=-1:c.__drawIndex=o,e(o),a=c),n.__dirty&Mt&&!n.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,s["k"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?s["I"](i[t],e,!0):i[t]=e;for(var n=0;n<this._zlevelList.length;n++){var r=this._zlevelList[n];if(r===t||r===t+j_){var o=this._layers[r];s["I"](o,i[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(s["r"](i,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var i=this._domRoot;i.style.display="none";var n=this._opts,r=this.root;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=dy(r,0,n),e=dy(r,1,n),i.style.display="",this._width!==t||e!==this._height){for(var o in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(L_).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[L_].dom;var e=new E_("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var i=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?i.drawImage(t.dom,0,0,n,r):t.renderToCanvas&&(i.save(),t.renderToCanvas(i),i.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Vy(i,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),z_=N_;function V_(t){t.registerPainter("canvas",z_)}var q_=Math.sin,$_=Math.cos,H_=Math.PI,G_=2*Math.PI,W_=180/H_,U_=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,i,n,r,o){this._add("C",t,e,i,n,r,o)},t.prototype.quadraticCurveTo=function(t,e,i,n){this._add("Q",t,e,i,n)},t.prototype.arc=function(t,e,i,n,r,o){this.ellipse(t,e,i,i,0,n,r,o)},t.prototype.ellipse=function(t,e,i,n,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=Object(fe["j"])(c-G_)||(u?l>=G_:-l>=G_),d=l>0?l%G_:l%G_+G_,p=!1;p=!!h||!Object(fe["j"])(c)&&d>=H_===!!u;var f=t+i*$_(o),g=e+n*q_(o);this._start&&this._add("M",f,g);var m=Math.round(r*W_);if(h){var v=1/this._p,y=(u?1:-1)*(G_-v);this._add("A",i,n,m,1,+u,t+i*$_(o+y),e+n*q_(o+y)),v>.01&&this._add("A",i,n,m,0,+u,f,g)}else{var b=t+i*$_(a),_=e+n*q_(a);this._add("A",i,n,m,+p,+u,b,_)}},t.prototype.rect=function(t,e,i,n){this._add("M",t,e),this._add("l",i,0),this._add("l",0,n),this._add("l",-i,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,i,n,r,o,a,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),Y_=U_,X_="none",K_=Math.round;function Z_(t){var e=t.fill;return null!=e&&e!==X_}function Q_(t){var e=t.stroke;return null!=e&&e!==X_}var J_=["lineCap","miterLimit","lineJoin"],tx=Object(s["H"])(J_,(function(t){return"stroke-"+t.toLowerCase()}));function ex(t,e,i,n){var r=null==e.opacity?1:e.opacity;if(i instanceof Ga)t("opacity",r);else{if(Z_(e)){var o=Object(fe["p"])(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(n||a<1)&&t("fill-opacity",a)}else t("fill",X_);if(Q_(e)){var s=Object(fe["p"])(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?i.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if((n||1!==u)&&t("stroke-width",u),(n||h)&&t("paint-order",h?"stroke":"fill"),(n||c<1)&&t("stroke-opacity",c),e.lineDash){var d=fy(i),p=d[0],f=d[1];p&&(f=K_(f||0),t("stroke-dasharray",p.join(",")),(f||n)&&t("stroke-dashoffset",f))}else n&&t("stroke-dasharray",X_);for(var g=0;g<J_.length;g++){var m=J_[g];if(n||e[m]!==Da[m]){var v=e[m]||Da[m];v&&t(tx[g],v)}}}else n&&t("stroke",X_)}}var ix="http://www.w3.org/2000/svg",nx="http://www.w3.org/1999/xlink",rx="http://www.w3.org/2000/xmlns/",ox="http://www.w3.org/XML/1998/namespace";function ax(t){return document.createElementNS(ix,t)}function sx(t,e,i,n,r){return{tag:t,attrs:i||{},children:n,text:r,key:e}}function lx(t,e){var i=[];if(e)for(var n in e){var r=e[n],o=n;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),i.push(o))}return"<"+t+" "+i.join(" ")+">"}function ux(t){return"</"+t+">"}function cx(t,e){e=e||{};var i=e.newline?"\n":"";function n(t){var e=t.children,r=t.tag,o=t.attrs;return lx(r,o)+(t.text||"")+(e?""+i+Object(s["H"])(e,(function(t){return n(t)})).join(i)+i:"")+ux(r)}return n(t)}function hx(t,e,i){i=i||{};var n=i.newline?"\n":"",r=" {"+n,o=n+"}",a=Object(s["H"])(Object(s["F"])(t),(function(e){return e+r+Object(s["H"])(Object(s["F"])(t[e]),(function(i){return i+":"+t[e][i]+";"})).join(n)+o})).join(n),l=Object(s["H"])(Object(s["F"])(e),(function(t){return"@keyframes "+t+r+Object(s["H"])(Object(s["F"])(e[t]),(function(i){return i+r+Object(s["H"])(Object(s["F"])(e[t][i]),(function(n){var r=e[t][i][n];return"d"===n&&(r='path("'+r+'")'),n+":"+r+";"})).join(n)+o})).join(n)+o})).join(n);return a||l?["<![CDATA[",a,l,"]]>"].join(n):""}function dx(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function px(t,e,i,n){return sx("svg","root",{width:t,height:e,xmlns:ix,"xmlns:xlink":nx,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},i)}var fx={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},gx="transform-origin";function mx(t,e,i){var n=Object(s["m"])({},t.shape);Object(s["m"])(n,e),t.buildPath(i,n);var r=new Y_;return r.reset(Object(fe["f"])(t)),i.rebuildPath(r,1),r.generateStr(),r.getStr()}function vx(t,e){var i=e.originX,n=e.originY;(i||n)&&(t[gx]=i+"px "+n+"px")}var yx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function bx(t,e){var i=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[i]=t,i}function _x(t,e,i){var n,r,o=t.shape.paths,a={};if(Object(s["k"])(o,(function(t){var e=dx(i.zrId);e.animation=!0,wx(t,{},e,!0);var o=e.cssAnims,l=e.cssNodes,u=Object(s["F"])(o),c=u.length;if(c){r=u[c-1];var h=o[r];for(var d in h){var p=h[d];a[d]=a[d]||{d:""},a[d].d+=p.d||""}for(var f in l){var g=l[f].animation;g.indexOf(r)>=0&&(n=g)}}})),n){e.d=!1;var l=bx(a,i);return n.replace(r,l)}}function xx(t){return Object(s["C"])(t)?fx[t]?"cubic-bezier("+fx[t]+")":ce(t)?t:"":""}function wx(t,e,i,n){var r=t.animators,o=r.length,a=[];if(t instanceof qg){var l=_x(t,e,i);if(l)a.push(l);else if(!o)return}else if(!o)return;for(var u={},c=0;c<o;c++){var h=r[c],d=[h.getMaxTime()/1e3+"s"],p=xx(h.getClip().easing),f=h.getDelay();p?d.push(p):d.push("linear"),f&&d.push(f/1e3+"s"),h.getLoop()&&d.push("infinite");var g=d.join(" ");u[g]=u[g]||[g,[]],u[g][1].push(h)}function m(r){var o,a=r[1],l=a.length,u={},c={},h={},d="animation-timing-function";function p(t,e,i){for(var n=t.getTracks(),r=t.getMaxTime(),o=0;o<n.length;o++){var a=n[o];if(a.needsAnimate()){var l=a.keyframes,u=a.propName;if(i&&(u=i(u)),u)for(var c=0;c<l.length;c++){var h=l[c],p=Math.round(h.time/r*100)+"%",f=xx(h.easing),g=h.rawValue;(Object(s["C"])(g)||Object(s["z"])(g))&&(e[p]=e[p]||{},e[p][u]=h.rawValue,f&&(e[p][d]=f))}}}}for(var f=0;f<l;f++){var g=a[f],m=g.targetName;m?"shape"===m&&p(g,c):!n&&p(g,u)}for(var v in u){var y={};Ei(y,t),Object(s["m"])(y,u[v]);var b=Object(fe["g"])(y),_=u[v][d];h[v]=b?{transform:b}:{},vx(h[v],y),_&&(h[v][d]=_)}var x=!0;for(var v in c){h[v]=h[v]||{};var w=!o;_=c[v][d];w&&(o=new ha);var S=o.len();o.reset(),h[v].d=mx(t,c[v],o);var C=o.len();if(!w&&S!==C){x=!1;break}_&&(h[v][d]=_)}if(!x)for(var v in h)delete h[v].d;if(!n)for(f=0;f<l;f++){g=a[f],m=g.targetName;"style"===m&&p(g,h,(function(t){return yx[t]}))}var k,M=Object(s["F"])(h),O=!0;for(f=1;f<M.length;f++){var T=M[f-1],A=M[f];if(h[T][gx]!==h[A][gx]){O=!1;break}k=h[T][gx]}if(O&&k){for(var v in h)h[v][gx]&&delete h[v][gx];e[gx]=k}if(Object(s["n"])(M,(function(t){return Object(s["F"])(h[t]).length>0})).length){var I=bx(h,i);return I+" "+r[0]+" both"}}for(var v in u){l=m(u[v]);l&&a.push(l)}if(a.length){var y=i.zrId+"-cls-"+i.cssClassIdx++;i.cssNodes["."+y]={animation:a.join(",")},e["class"]=y}}var Sx=Math.round;function Cx(t){return t&&Object(s["C"])(t.src)}function kx(t){return t&&Object(s["w"])(t.toDataURL)}function Mx(t,e,i,n){ex((function(r,o){var a="fill"===r||"stroke"===r;a&&Object(fe["k"])(o)?zx(e,t,r,n):a&&Object(fe["n"])(o)?Vx(i,t,r,n):t[r]=o}),e,i,!1),Nx(i,t,n)}function Ox(t){return Object(fe["j"])(t[0]-1)&&Object(fe["j"])(t[1])&&Object(fe["j"])(t[2])&&Object(fe["j"])(t[3]-1)}function Tx(t){return Object(fe["j"])(t[4])&&Object(fe["j"])(t[5])}function Ax(t,e,i){if(e&&(!Tx(e)||!Ox(e))){var n=i?10:1e4;t.transform=Ox(e)?"translate("+Sx(e[4]*n)/n+" "+Sx(e[5]*n)/n+")":Object(fe["e"])(e)}}function Ix(t,e,i){for(var n=t.points,r=[],o=0;o<n.length;o++)r.push(Sx(n[o][0]*i)/i),r.push(Sx(n[o][1]*i)/i);e.points=r.join(" ")}function Px(t){return!t.smooth}function Ex(t){var e=Object(s["H"])(t,(function(t){return"string"===typeof t?[t,t]:t}));return function(t,i,n){for(var r=0;r<e.length;r++){var o=e[r],a=t[o[0]];null!=a&&(i[o[1]]=Sx(a*n)/n)}}}var Dx={circle:[Ex(["cx","cy","r"])],polyline:[Ix,Px],polygon:[Ix,Px]};function Lx(t){for(var e=t.animators,i=0;i<e.length;i++)if("shape"===e[i].targetName)return!0;return!1}function jx(t,e){var i=t.style,n=t.shape,r=Dx[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Object(fe["f"])(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](n)||a&&Lx(t)||l<1){t.path||t.createPathProxy();var c=t.path;t.shapeChanged()&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var h=c.getVersion(),d=t,p=d.__svgPathBuilder;d.__svgPathVersion===h&&p&&l===d.__svgPathStrokePercent||(p||(p=d.__svgPathBuilder=new Y_),p.reset(u),c.rebuildPath(p,l),p.generateStr(),d.__svgPathVersion=h,d.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=t.type;var f=Math.pow(10,u);r[0](n,o,f)}return Ax(o,t.transform),Mx(o,i,t,e),e.animation&&wx(t,o,e),sx(s,t.id+"",o)}function Rx(t,e){var i=t.style,n=i.image;if(n&&!Object(s["C"])(n)&&(Cx(n)?n=n.src:kx(n)&&(n=n.toDataURL())),n){var r=i.x||0,o=i.y||0,a=i.width,l=i.height,u={href:n,width:a,height:l};return r&&(u.x=r),o&&(u.y=o),Ax(u,t.transform),Mx(u,i,t,e),e.animation&&wx(t,u,e),sx("image",t.id+"",u)}}function Bx(t,e){var i=t.style,n=i.text;if(null!=n&&(n+=""),n&&!isNaN(i.x)&&!isNaN(i.y)){var r=i.font||Ui["a"],o=i.x||0,a=Object(fe["b"])(i.y||0,tn(r),i.textBaseline),s=fe["a"][i.textAlign]||i.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(cs(i)){var u="",c=i.fontStyle,h=ls(i.fontSize);if(!parseFloat(h))return;var d=i.fontFamily||Ui["b"],p=i.fontWeight;u+="font-size:"+h+";font-family:"+d+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),p&&"normal"!==p&&(u+="font-weight:"+p+";"),l.style=u}else l.style="font: "+r;return n.match(/\s/)&&(l["xml:space"]="preserve"),o&&(l.x=o),a&&(l.y=a),Ax(l,t.transform),Mx(l,i,t,e),e.animation&&wx(t,l,e),sx("text",t.id+"",l,void 0,n)}}function Fx(t,e){return t instanceof Ba?jx(t,e):t instanceof Ga?Rx(t,e):t instanceof za?Bx(t,e):void 0}function Nx(t,e,i){var n=t.style;if(Object(fe["i"])(n)){var r=Object(fe["h"])(t),o=i.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=n.shadowOffsetX||0,h=n.shadowOffsetY||0,d=n.shadowBlur,p=Object(fe["p"])(n.shadowColor),f=p.opacity,g=p.color,m=d/2/l,v=d/2/u,y=m+" "+v;a=i.zrId+"-s"+i.shadowIdx++,i.defs[a]=sx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[sx("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:y,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Object(fe["d"])(a)}}function zx(t,e,i,n){var r,o=t[i],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(fe["m"])(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(fe["o"])(o))return void 0;r="radialGradient",a.cx=Object(s["P"])(o.x,.5),a.cy=Object(s["P"])(o.y,.5),a.r=Object(s["P"])(o.r,.5)}for(var l=o.colorStops,u=[],c=0,h=l.length;c<h;++c){var d=100*Object(fe["q"])(l[c].offset)+"%",p=l[c].color,f=Object(fe["p"])(p),g=f.color,m=f.opacity,v={offset:d};v["stop-color"]=g,m<1&&(v["stop-opacity"]=m),u.push(sx("stop",c+"",v))}var y=sx(r,"",a,u),b=cx(y),_=n.gradientCache,x=_[b];x||(x=n.zrId+"-g"+n.gradientIdx++,_[b]=x,a.id=x,n.defs[x]=sx(r,x,a,u)),e[i]=Object(fe["d"])(x)}function Vx(t,e,i,n){var r,o=t.style[i],a={patternUnits:"userSpaceOnUse"};if(Object(fe["l"])(o)){var l=o.imageWidth,u=o.imageHeight,c=void 0,h=o.image;if(Object(s["C"])(h)?c=h:Cx(h)?c=h.src:kx(h)&&(c=h.toDataURL()),"undefined"===typeof Image){var d="Image width/height must been given explictly in svg-ssr renderer.";Object(s["b"])(l,d),Object(s["b"])(u,d)}else if(null==l||null==u){var p=function(t,e){if(t){var i=t.elm,n=t.attrs.width=l||e.width,r=t.attrs.height=u||e.height;i&&(i.setAttribute("width",n),i.setAttribute("height",r))}},f=io(c,null,t,(function(t){p(g,t),p(r,t)}));f&&f.width&&f.height&&(l=l||f.width,u=u||f.height)}r=sx("image","img",{href:c,width:l,height:u}),a.width=l,a.height=u}else o.svgElement&&(r=Object(s["d"])(o.svgElement),a.width=o.svgWidth,a.height=o.svgHeight);if(r){a.patternTransform=Object(fe["g"])(o);var g=sx("pattern","",a,[r]),m=cx(g),v=n.patternCache,y=v[m];y||(y=n.zrId+"-p"+n.patternIdx++,v[m]=y,a.id=y,g=n.defs[y]=sx("pattern",y,a,[r])),e[i]=Object(fe["d"])(y)}}function qx(t,e,i){var n=i.clipPathCache,r=i.defs,o=n[t.id];if(!o){o=i.zrId+"-c"+i.clipPathIdx++;var a={id:o};n[t.id]=o,r[o]=sx("clipPath",o,a,[jx(t,i)])}e["clip-path"]=Object(fe["d"])(o)}function $x(t){return document.createTextNode(t)}function Hx(t,e,i){t.insertBefore(e,i)}function Gx(t,e){t.removeChild(e)}function Wx(t,e){t.appendChild(e)}function Ux(t){return t.parentNode}function Yx(t){return t.nextSibling}function Xx(t,e){t.textContent=e}var Kx=58,Zx=120,Qx=sx("","");function Jx(t){return void 0===t}function tw(t){return void 0!==t}function ew(t,e,i){for(var n={},r=e;r<=i;++r){var o=t[r].key;void 0!==o&&(n[o]=r)}return n}function iw(t,e){var i=t.key===e.key,n=t.tag===e.tag;return n&&i}function nw(t){var e,i=t.children,n=t.tag;if(tw(n)){var r=t.elm=ax(n);if(aw(Qx,t),Object(s["t"])(i))for(e=0;e<i.length;++e){var o=i[e];null!=o&&Wx(r,nw(o))}else tw(t.text)&&!Object(s["A"])(t.text)&&Wx(r,$x(t.text))}else t.elm=$x(t.text);return t.elm}function rw(t,e,i,n,r){for(;n<=r;++n){var o=i[n];null!=o&&Hx(t,nw(o),e)}}function ow(t,e,i,n){for(;i<=n;++i){var r=e[i];if(null!=r)if(tw(r.tag)){var o=Ux(r.elm);Gx(o,r.elm)}else Gx(t,r.elm)}}function aw(t,e){var i,n=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(i in o){var a=o[i],s=r[i];s!==a&&(!0===a?n.setAttribute(i,""):!1===a?n.removeAttribute(i):i.charCodeAt(0)!==Zx?n.setAttribute(i,a):"xmlns:xlink"===i||"xmlns"===i?n.setAttributeNS(rx,i,a):i.charCodeAt(3)===Kx?n.setAttributeNS(ox,i,a):i.charCodeAt(5)===Kx?n.setAttributeNS(nx,i,a):n.setAttribute(i,a))}for(i in r)i in o||n.removeAttribute(i)}}function sw(t,e,i){var n,r,o,a,s=0,l=0,u=e.length-1,c=e[0],h=e[u],d=i.length-1,p=i[0],f=i[d];while(s<=u&&l<=d)null==c?c=e[++s]:null==h?h=e[--u]:null==p?p=i[++l]:null==f?f=i[--d]:iw(c,p)?(lw(c,p),c=e[++s],p=i[++l]):iw(h,f)?(lw(h,f),h=e[--u],f=i[--d]):iw(c,f)?(lw(c,f),Hx(t,c.elm,Yx(h.elm)),c=e[++s],f=i[--d]):iw(h,p)?(lw(h,p),Hx(t,h.elm,c.elm),h=e[--u],p=i[++l]):(Jx(n)&&(n=ew(e,s,u)),r=n[p.key],Jx(r)?Hx(t,nw(p),c.elm):(o=e[r],o.tag!==p.tag?Hx(t,nw(p),c.elm):(lw(o,p),e[r]=void 0,Hx(t,o.elm,c.elm))),p=i[++l]);(s<=u||l<=d)&&(s>u?(a=null==i[d+1]?null:i[d+1].elm,rw(t,a,i,l,d)):ow(t,e,s,u))}function lw(t,e){var i=e.elm=t.elm,n=t.children,r=e.children;t!==e&&(aw(t,e),Jx(e.text)?tw(n)&&tw(r)?n!==r&&sw(i,n,r):tw(r)?(tw(t.text)&&Xx(i,""),rw(i,null,r,0,r.length-1)):tw(n)?ow(i,n,0,n.length-1):tw(t.text)&&Xx(i,""):t.text!==e.text&&(tw(n)&&ow(i,n,0,n.length-1),Xx(i,e.text)))}function uw(t,e){if(iw(t,e))lw(t,e);else{var i=t.elm,n=Ux(i);nw(e),null!==n&&(Hx(n,e.elm,Yx(i)),ow(n,[t],0,0))}return e}var cw=0,hw=function(){function t(t,e,i){if(this.type="svg",this.refreshHover=dw("refreshHover"),this.configLayer=dw("configLayer"),this.storage=e,this._opts=i=Object(s["m"])({},i),this.root=t,this._id="zr"+cw++,this._oldVNode=px(i.width,i.height),t&&!i.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=ax("svg");aw(null,this._oldVNode),n.appendChild(r),t.appendChild(n)}this.resize(i.width,i.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",uw(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Fx(t,dx(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),i=this._backgroundColor,n=this._width,r=this._height,o=dx(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress;var a=[];if(i&&"none"!==i){var l=Object(fe["p"])(i),u=l.color,c=l.opacity;this._bgVNode=sx("rect","bg",{width:n,height:r,x:"0",y:"0",id:"0",fill:u,"fill-opacity":c}),a.push(this._bgVNode)}else this._bgVNode=null;var h=t.compress?null:this._mainVNode=sx("g","main",{},[]);this._paintList(e,o,h?h.children:a),h&&a.push(h);var d=Object(s["H"])(Object(s["F"])(o.defs),(function(t){return o.defs[t]}));if(d.length&&a.push(sx("defs","defs",{},d)),t.animation){var p=hx(o.cssNodes,o.cssAnims,{newline:!0});if(p){var f=sx("style","stl",{},[],p);a.push(f)}}return px(n,r,a,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},cx(this.renderToVNode({animation:Object(s["P"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(s["P"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var i=Object(fe["p"])(t),n=i.color,r=i.opacity;e.elm.setAttribute("fill",n),r<1&&e.elm.setAttribute("fill-opacity",r)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,i){for(var n,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(d-1,p-1);f>=0;f--)if(h&&r&&h[f]===r[f])break;for(var g=p-1;g>f;g--)s--,n=a[s-1];for(var m=f+1;m<d;m++){var v={};qx(h[m],v,e);var y=sx("g","clip-g-"+l++,v,[]);(n?n.children:i).push(y),a[s++]=y,n=y}r=h;var b=Fx(c,e);b&&(n?n.children:i).push(b)}}},t.prototype.resize=function(t,e){var i=this._opts,n=this.root,r=this._viewport;if(null!=t&&(i.width=t),null!=e&&(i.height=e),n&&r&&(r.style.display="none",t=dy(n,0,i),e=dy(n,1,i),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e))}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=encodeURIComponent(this.renderToString()),i="data:image/svg+xml;";return t?(e=Object(fe["c"])(e),e&&i+"base64,"+e):i+"charset=UTF-8,"+e},t}();function dw(t){return function(){0}}var pw=hw;function fw(t){t.registerPainter("svg",pw)}function gw(t){return null==t?0:t.length||1}function mw(t){return t}var vw=function(){function t(t,e,i,n,r,o){this._old=t,this._new=e,this._oldKeyGetter=i||mw,this._newKeyGetter=n||mw,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},n=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,n,"_oldKeyGetter"),this._initIndexMap(e,i,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=n[o],s=i[a],l=gw(s);if(l>1){var u=s.shift();1===s.length&&(i[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(i[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},n={},r=[],o=[];this._initIndexMap(t,i,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=i[s],u=n[s],c=gw(l),h=gw(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),n[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),n[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),n[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),n[s]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,n)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var n=t[i],r=e[n],o=gw(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[n]=null}},t.prototype._initIndexMap=function(t,e,i,n){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[n](t[o],o);if(r||(i[o]=a),e){var s=e[a],l=gw(s);0===l?(e[a]=o,r&&i.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),yw=vw,bw=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function _w(t,e){var i={},n=i.encode={},r=Object(s["f"])(),o=[],a=[],l={};Object(s["k"])(t.dimensions,(function(e){var i=t.getDimensionInfo(e),s=i.coordDim;if(s){0;var u=i.coordDimIndex;xw(n,s)[u]=e,i.isExtraCoord||(r.set(s,1),Sw(i.type)&&(o[0]=e),xw(l,s)[u]=t.getDimensionIndex(i.name)),i.defaultTooltip&&a.push(e)}Zc.each((function(t,e){var r=xw(n,e),o=i.otherDims[e];null!=o&&!1!==o&&(r[o]=i.name)}))}));var u=[],c={};r.each((function(t,e){var i=n[e];c[e]=i[0],u=u.concat(i)})),i.dataDimsOnCoord=u,i.dataDimIndicesOnCoord=Object(s["H"])(u,(function(e){return t.getDimensionInfo(e).storeDimIndex})),i.encodeFirstDimNotExtra=c;var h=n.label;h&&h.length&&(o=h.slice());var d=n.tooltip;return d&&d.length?a=d.slice():a.length||(a=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=a,i.userOutput=new bw(l,e),i}function xw(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ww(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Sw(t){return!("ordinal"===t||"time"===t)}var Cw=function(){function t(t){this.otherDims={},null!=t&&s["m"](this,t)}return t}(),kw=Cw,Mw=kr(),Ow={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Tw=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Pw(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Object(s["P"])(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Nd(this.source),i=!Ew(t),n="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(n+=i?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),n+="$",n+=Ow[l]||"f",u&&(n+=u.uid),n+="$"}var d=this.source,p=[d.seriesLayoutBy,d.startIndex,n].join("$$");return{dimensions:r,hash:p}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,i=0;e<this._fullDimCount;e++){var n=void 0,r=this.dimensions[i];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(n=r.name),i++;else{var o=this.getSourceDimension(e);o&&(n=o.name)}t.push(n)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Aw(t){return t instanceof Tw}function Iw(t){for(var e=Object(s["f"])(),i=0;i<(t||[]).length;i++){var n=t[i],r=Object(s["A"])(n)?n.name:n;null!=r&&null==e.get(r)&&e.set(r,i)}return e}function Pw(t){var e=Mw(t);return e.dimNameMap||(e.dimNameMap=Iw(t.dimensionsDefine))}function Ew(t){return t>30}var Dw,Lw,jw,Rw,Bw,Fw,Nw,zw=s["A"],Vw=s["H"],qw="undefined"===typeof Int32Array?Array:Int32Array,$w="e\0\0",Hw=-1,Gw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Ww=["_approximateExtent"],Uw=function(){function t(t,e){var i;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n=!1;Aw(t)?(i=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(n=!0,i=t),i=i||["x","y"];for(var r={},o=[],a={},l=!1,u={},c=0;c<i.length;c++){var h=i[c],d=s["C"](h)?new kw({name:h}):h instanceof kw?h:new kw(h),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(p),r[p]=d,null!=u[p]&&(l=!0),d.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),n&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=s["f"]();s["k"](o,(function(t){g.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var i=this._dimIdxToName.get(e);if(null!=i)return i;var n=this._schema.getSourceDimension(e);return n?n.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var i=this._getDimInfo(t);return i?i.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(s["z"](t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var i=this._dimSummary;if(null==e)return i.encodeFirstDimNotExtra[t];var n=i.encode[t];return n?n[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,i=e.encode[t];return(i||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,i){var n,r=this;if(t instanceof jp&&(n=t),!n){var o=this.dimensions,a=Id(t)||s["u"](t)?new zd(t,o.length):t;n=new jp;var l=Vw(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));n.initData(a,l,i)}this._store=n,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,n.count()),this._dimSummary=_w(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var i=this._store.appendValues(t,e.length),n=i.start,r=i.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=n;a<r;a++){var s=a-n;this._nameList[a]=e[s],o&&Nw(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,i=0;i<e.length;i++){var n=this._dimInfos[e[i]];n.ordinalMeta&&t.collectOrdinalMeta(n.storeDimIndex,n.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==ih&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var i=this._store,n=i.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=n.getSource().sourceFormat,s=a===Qc;if(s&&!n.pure)for(var l=[],u=t;u<e;u++){var c=n.getItem(u,l);if(!this.hasItemOption&&sr(c)&&(this.hasItemOption=!0),c){var h=c.name;null==r[u]&&null!=h&&(r[u]=vr(h,null));var d=c.id;null==o[u]&&null!=d&&(o[u]=vr(d,null))}}if(this._shouldMakeIdFromName())for(u=t;u<e;u++)Nw(this,u);Dw(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){zw(t)?s["m"](this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),i=this._nameList[e];return null==i&&null!=this._nameDimIdx&&(i=jw(this,this._nameDimIdx,e)),null==i&&(i=""),i},t.prototype._getCategory=function(t,e){var i=this._store.get(t,e),n=this._store.getOrdinalMeta(t);return n?n.categories[i]:i},t.prototype.getId=function(t){return Lw(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.get(n.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var i=this._store,n=this._dimInfos[t];if(n)return i.getByRawIndex(n.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var i=this,n=this._store;return s["t"](t)?n.getValues(Vw(t,(function(t){return i._getStoreDimIndex(t)})),e):n.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,i=0,n=e.length;i<n;i++)if(isNaN(this._store.get(e[i],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,i=this._store.count();e<i;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var i=t&&this._invertedIndicesMap[t];var n=i[e];return null==n||isNaN(n)?Hw:n},t.prototype.indicesOfNearest=function(t,e,i){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,i)},t.prototype.each=function(t,e,i){s["w"](t)&&(i=e,e=t,t=[]);var n=i||this,r=Vw(Rw(t),this._getStoreDimIndex,this);this._store.each(r,n?s["c"](e,n):e)},t.prototype.filterSelf=function(t,e,i){s["w"](t)&&(i=e,e=t,t=[]);var n=i||this,r=Vw(Rw(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,n?s["c"](e,n):e),this},t.prototype.selectRange=function(t){var e=this,i={},n=s["F"](t),r=[];return s["k"](n,(function(n){var o=e._getStoreDimIndex(n);i[o]=t[n],r.push(o)})),this._store=this._store.selectRange(i),this},t.prototype.mapArray=function(t,e,i){s["w"](t)&&(i=e,e=t,t=[]),i=i||this;var n=[];return this.each(t,(function(){n.push(e&&e.apply(this,arguments))}),i),n},t.prototype.map=function(t,e,i,n){var r=i||n||this,o=Vw(Rw(t),this._getStoreDimIndex,this),a=Fw(this);return a._store=this._store.map(o,r?s["c"](e,r):e),a},t.prototype.modify=function(t,e,i,n){var r=i||n||this;var o=Vw(Rw(t),this._getStoreDimIndex,this);this._store.modify(o,r?s["c"](e,r):e)},t.prototype.downSample=function(t,e,i,n){var r=Fw(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,i,n),r},t.prototype.lttbDownSample=function(t,e){var i=Fw(this);return i._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),i},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,i=this.getRawDataItem(t);return new xu(i,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new yw(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return Lw(t,e)}),(function(t){return Lw(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},zw(t)?s["m"](this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var i=this._itemVisuals[t],n=i&&i[e];return null==n?this.getVisual(e):n},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var i=this._itemVisuals,n=i[t];n||(n=i[t]={});var r=n[e];return null==r&&(r=this.getVisual(e),s["t"](r)?r=r.slice():zw(r)&&(r=s["m"]({},r)),n[e]=r),r},t.prototype.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,zw(e)?s["m"](n,e):n[e]=i},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){zw(t)?s["m"](this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?s["m"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var i=this.hostModel&&this.hostModel.seriesIndex;_s(i,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){s["k"](this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Vw(this.dimensions,this._getDimInfo,this),this.hostModel)),Bw(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var i=this[t];s["w"](i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(s["S"](arguments)))})},t.internalField=function(){Dw=function(t){var e=t._invertedIndicesMap;s["k"](e,(function(i,n){var r=t._dimInfos[n],o=r.ordinalMeta,a=t._store;if(o){i=e[n]=new qw(o.categories.length);for(var s=0;s<i.length;s++)i[s]=Hw;for(s=0;s<a.count();s++)i[a.get(r.storeDimIndex,s)]=s}}))},jw=function(t,e,i){return vr(t._getCategory(e,i),null)},Lw=function(t,e){var i=t._idList[e];return null==i&&null!=t._idDimIdx&&(i=jw(t,t._idDimIdx,e)),null==i&&(i=$w+e),i},Rw=function(t){return s["t"](t)||(t=null!=t?[t]:[]),t},Fw=function(e){var i=new t(e._schema?e._schema:Vw(e.dimensions,e._getDimInfo,e),e.hostModel);return Bw(i,e),i},Bw=function(t,e){s["k"](Gw.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,s["k"](Ww,(function(i){t[i]=s["d"](e[i])})),t._calculationInfo=s["m"]({},e._calculationInfo)},Nw=function(t,e){var i=t._nameList,n=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=i[e],s=n[e];if(null==a&&null!=r&&(i[e]=a=jw(t,r,e)),null==s&&null!=o&&(n[e]=s=jw(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),n[e]=s}}}(),t}(),Yw=Uw;function Xw(t,e){Id(t)||(t=Ed(t)),e=e||{};var i=e.coordDimensions||[],n=e.dimensionsDefine||t.dimensionsDefine||[],r=Object(s["f"])(),o=[],a=Zw(t,i,n,e.dimensionsCount),l=e.canOmitUnusedDimensions&&Ew(a),u=n===t.dimensionsDefine,c=u?Pw(t):Iw(n),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var d=Object(s["f"])(h),p=new Op(a),f=0;f<p.length;f++)p[f]=-1;function g(t){var e=p[t];if(e<0){var i=n[t],r=Object(s["A"])(i)?i:{name:i},a=new kw,l=r.name;null!=l&&null!=c.get(l)&&(a.name=a.displayName=l),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var u=o.length;return p[t]=u,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!l)for(f=0;f<a;f++)g(f);d.each((function(t,e){var i=nr(t).slice();if(1===i.length&&!Object(s["C"])(i[0])&&i[0]<0)d.set(e,!1);else{var n=d.set(e,[]);Object(s["k"])(i,(function(t,i){var r=Object(s["C"])(t)?c.get(t):t;null!=r&&r<a&&(n[i]=r,v(g(r),e,i))}))}}));var m=0;function v(t,e,i){null!=Zc.get(e)?t.otherDims[e]=i:(t.coordDim=e,t.coordDimIndex=i,r.set(e,!0))}Object(s["k"])(i,(function(t){var e,i,n,r;if(Object(s["C"])(t))e=t,r={};else{r=t,e=r.name;var o=r.ordinalMeta;r.ordinalMeta=null,r=Object(s["m"])({},r),r.ordinalMeta=o,i=r.dimsDef,n=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var l=d.get(e);if(!1!==l){if(l=nr(l),!l.length)for(var c=0;c<(i&&i.length||1);c++){while(m<a&&null!=g(m).coordDim)m++;m<a&&l.push(m++)}Object(s["k"])(l,(function(t,o){var a=g(t);if(u&&null!=r.type&&(a.type=r.type),v(Object(s["i"])(a,r),e,o),null==a.name&&i){var l=i[o];!Object(s["A"])(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}n&&Object(s["i"])(a.otherDims,n)}))}}));var y=e.generateCoord,b=e.generateCoordCount,_=null!=b;b=y?b||1:0;var x=y||"value";function w(t){null==t.name&&(t.name=t.coordDim)}if(l)Object(s["k"])(o,(function(t){w(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var S=0;S<a;S++){var C=g(S),k=C.coordDim;null==k&&(C.coordDim=Qw(x,r,_),C.coordDimIndex=0,(!y||b<=0)&&(C.isExtraCoord=!0),b--),w(C),null!=C.type||ph(t,S)!==ah.Must&&(!C.isExtraCoord||null==C.otherDims.itemName&&null==C.otherDims.seriesName)||(C.type="ordinal")}return Kw(o),new Tw({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:l})}function Kw(t){for(var e=Object(s["f"])(),i=0;i<t.length;i++){var n=t[i],r=n.name,o=e.get(r)||0;o>0&&(n.name=r+(o-1)),o++,e.set(r,o)}}function Zw(t,e,i,n){var r=Math.max(t.dimensionsDetectedCount||1,e.length,i.length,n||0);return Object(s["k"])(e,(function(t){var e;Object(s["A"])(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function Qw(t,e,i){var n=e.data;if(i||n.hasOwnProperty(t)){var r=0;while(n.hasOwnProperty(t+r))r++;t+=r}return e.set(t,!0),t}var Jw=function(){function t(t){this.coordSysDims=[],this.axisMap=Object(s["f"])(),this.categoryAxisMap=Object(s["f"])(),this.coordSysName=t}return t}();function tS(t){var e=t.get("coordinateSystem"),i=new Jw(e),n=eS[e];if(n)return n(t,i,i.axisMap,i.categoryAxisMap),i}var eS={cartesian2d:function(t,e,i,n){var r=t.getReferringComponents("xAxis",Ar).models[0],o=t.getReferringComponents("yAxis",Ar).models[0];e.coordSysDims=["x","y"],i.set("x",r),i.set("y",o),iS(r)&&(n.set("x",r),e.firstCategoryDimIndex=0),iS(o)&&(n.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,i,n){var r=t.getReferringComponents("singleAxis",Ar).models[0];e.coordSysDims=["single"],i.set("single",r),iS(r)&&(n.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,i,n){var r=t.getReferringComponents("polar",Ar).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],i.set("radius",o),i.set("angle",a),iS(o)&&(n.set("radius",o),e.firstCategoryDimIndex=0),iS(a)&&(n.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,i,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,i,n){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();Object(s["k"])(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];i.set(l,s),iS(s)&&(n.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function iS(t){return"category"===t.get("type")}function nS(t,e,i){i=i||{};var n,r,o,a=i.byIndex,l=i.stackedCoordDimension;rS(e)?n=e:(r=e.schema,n=r.dimensions,o=e.store);var u,c,h,d,p=!(!t||!t.get("stack"));if(Object(s["k"])(n,(function(t,e){Object(s["C"])(t)&&(n[e]=t={name:t}),p&&!t.isExtraCoord&&(a||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))})),!c||a||u||(a=!0),c){h="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var f=c.coordDim,g=c.type,m=0;Object(s["k"])(n,(function(t){t.coordDim===f&&m++}));var v={name:h,coordDim:f,coordDimIndex:m,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length},y={name:d,coordDim:d,coordDimIndex:m+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:n.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(d,g),y.storeDimIndex=o.ensureCalculationDimension(h,g)),r.appendCalculationDimension(v),r.appendCalculationDimension(y)):(n.push(v),n.push(y))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:h}}function rS(t){return!Aw(t.schema)}function oS(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function aS(t,e){return oS(t,e)?t.getCalculationInfo("stackResultDimension"):e}function sS(t,e){var i,n=t.get("coordinateSystem"),r=Hh.get(n);return e&&e.coordSysDims&&(i=s["H"](e.coordSysDims,(function(t){var i={name:t},n=e.axisMap.get(t);if(n){var r=n.get("type");i.type=ww(r)}return i}))),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function lS(t,e,i){var n,r;return i&&s["k"](t,(function(t,o){var a=t.coordDim,s=i.categoryAxisMap.get(a);s&&(null==n&&(n=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==n||(t[n].otherDims.itemName=0),n}function uS(t,e,i){i=i||{};var n,r=e.getSourceManager(),o=!1;t?(o=!0,n=Ed(t)):(n=r.getSource(),o=n.sourceFormat===Qc);var a=tS(e),l=sS(e,a),u=i.useEncodeDefaulter,c=s["w"](u)?u:u?s["h"](uh,l,e):null,h={coordDimensions:l,generateCoord:i.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o},d=Xw(n,h),p=lS(d.dimensions,i.createInvertedIndices,a),f=o?null:r.getSharedDataStore(d),g=nS(e,{schema:d,store:f}),m=new Yw(d,e);m.setCalculationInfo(g);var v=null!=p&&cS(n)?function(t,e,i,n){return n===p?i:this.defaultDimValueGetter(t,e,i,n)}:null;return m.hasItemOption=!1,m.initData(o?n:f,null,v),m}function cS(t){if(t.sourceFormat===Qc){var e=hS(t.data||[]);return!s["t"](ar(e))}}function hS(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var dS=uS,pS=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return o(e,t),e.prototype.getInitialData=function(t){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new bn,i=ny("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(i),i.setStyle(t.lineStyle);var n=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===n?"circle":n,a=.8*t.itemHeight,s=ny(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(xf),fS=pS;function gS(t,e){var i=t.mapDimensionsAll("defaultedLabel"),n=i.length;if(1===n){var r=Zd(t,e,i[0]);return null!=r?r+"":null}if(n){for(var o=[],a=0;a<i.length;a++)o.push(Zd(t,e,i[a]));return o.join(" ")}}function mS(t,e){var i=t.mapDimensionsAll("defaultedLabel");if(!Object(s["t"])(e))return e+"";for(var n=[],r=0;r<i.length;r++){var o=t.getDimensionIndex(i[r]);o>=0&&n.push(e[o])}return n.join(" ")}var vS=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.updateData(e,i,n,r),o}return o(e,t),e.prototype._createSymbol=function(t,e,i,n,r){this.removeAll();var o=ny(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:n[0]/2,scaleY:n[1]/2}),o.drift=yS,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){rl(this.childAt(0))},e.prototype.downplay=function(){ol(this.childAt(0))},e.prototype.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},e.prototype.setDraggable=function(t,e){var i=this.childAt(0);i.draggable=t,i.cursor=!e&&t?"move":i.cursor},e.prototype.updateData=function(t,i,n,r){this.silent=!1;var o=t.getItemVisual(i,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,i),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(i,"symbolKeepAspect");this._createSymbol(o,t,i,s,c)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?h.attr(d):Fl(h,d,a,i),Hl(h)}if(this._updateCommon(t,i,s,n,r),l){h=this.childAt(0);if(!u){d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Nl(h,d,a,i)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,i,n,r){var o,a,l,u,c,h,d,p,f,g=this.childAt(0),m=t.hostModel;if(n&&(o=n.emphasisItemStyle,a=n.blurItemStyle,l=n.selectItemStyle,u=n.focus,c=n.blurScope,d=n.labelStatesModels,p=n.hoverScale,f=n.cursorStyle,h=n.emphasisDisabled),!n||t.hasItemOption){var v=n&&n.itemModel?n.itemModel:t.getItemModel(e),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),l=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),u=y.get("focus"),c=y.get("blurScope"),h=y.get("disabled"),d=Kl(v),p=y.getShallow("scale"),f=v.getShallow("cursor")}var b=t.getItemVisual(e,"symbolRotate");g.attr("rotation",(b||0)*Math.PI/180||0);var _=oy(t.getItemVisual(e,"symbolOffset"),i);_&&(g.x=_[0],g.y=_[1]),f&&g.attr("cursor",f);var x=t.getItemVisual(e,"style"),w=x.fill;if(g instanceof Ga){var S=g.style;g.useStyle(Object(s["m"])({image:S.image,x:S.x,y:S.y,width:S.width,height:S.height},x))}else g.__isEmptyBrush?g.useStyle(Object(s["m"])({},x)):g.useStyle(x),g.style.decal=null,g.setColor(w,r&&r.symbolInnerColor),g.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),k=this._z2;null!=C?null==k&&(this._z2=g.z2,g.z2+=C):null!=k&&(g.z2=k,this._z2=null);var M=r&&r.useNameLabel;function O(e){return M?t.getName(e):gS(t,e)}Xl(g,d,{labelFetcher:m,labelDataIndex:e,defaultText:O,inheritColor:w,defaultOpacity:x.opacity}),this._sizeX=i[0]/2,this._sizeY=i[1]/2;var T=g.ensureState("emphasis");if(T.style=o,g.ensureState("select").style=l,g.ensureState("blur").style=a,p){var A=Math.max(Object(s["z"])(p)?p:1.1,3/this._sizeY);T.scaleX=this._sizeX*A,T.scaleY=this._sizeY*A}this.setSymbolScale(1),Sl(this,u,c,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,i){var n=this.childAt(0),r=bs(this).dataIndex,o=i&&i.animation;if(this.silent=n.silent=!0,i&&i.fadeLabel){var a=n.getTextContent();a&&Vl(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){n.removeTextContent()}})}else n.removeTextContent();Vl(n,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return ry(t.getItemVisual(e,"symbolSize"))},e}(bn);function yS(t,e){this.parent.drift(t,e)}var bS=vS;function _S(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function xS(t){return null==t||Object(s["A"])(t)||(t={isIgnore:t}),t||{}}function wS(t){var e=t.hostModel,i=e.getModel("emphasis");return{emphasisItemStyle:i.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:i.get("focus"),blurScope:i.get("blurScope"),emphasisDisabled:i.get("disabled"),hoverScale:i.get("scale"),labelStatesModels:Kl(e),cursorStyle:e.get("cursor")}}var SS=function(){function t(t){this.group=new bn,this._SymbolCtor=t||bS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=xS(e);var i=this.group,n=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=wS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||i.removeAll(),t.diff(r).add((function(n){var r=u(n);if(_S(t,r,n,e)){var a=new o(t,n,s,l);a.setPosition(r),t.setItemGraphicEl(n,a),i.add(a)}})).update((function(c,h){var d=r.getItemGraphicEl(h),p=u(c);if(_S(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)i.remove(d),d=new o(t,c,s,l),d.setPosition(p);else{d.updateData(t,c,s,l);var m={x:p[0],y:p[1]};a?d.attr(m):Fl(d,m,n)}i.add(d),t.setItemGraphicEl(c,d)}else i.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){i.remove(e)}),n)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,i){var n=t._getSymbolPoint(i);e.setPosition(n),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=wS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,i){function n(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],i=xS(i);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(_S(e,o,r,i)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(n),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,i=this._data;i&&t?i.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),i.hostModel)})):e.removeAll()},t}(),CS=SS;function kS(t,e,i){var n=t.getBaseAxis(),r=t.getOtherAxis(n),o=MS(r,i),a=n.dim,l=r.dim,u=e.mapDimension(l),c=e.mapDimension(a),h="x"===l||"radius"===l?1:0,d=Object(s["H"])(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return oS(e,d[0])&&(p=!0,d[0]=f),oS(e,d[1])&&(p=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:l,baseAxisDim:a,stacked:!!p,valueDim:u,baseDim:c,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function MS(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:Object(s["z"])(e)&&!isNaN(e)?i=e:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function OS(t,e,i,n){var r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=i.get(t.baseDim,n),a[1-o]=r,e.dataToPoint(a)}var TS="undefined"!==typeof Float32Array,AS=TS?Float32Array:Array;function IS(t){return Object(s["t"])(t)?TS?new Float32Array(t):t:new AS(t)}function PS(t,e){var i=[];return e.diff(t).add((function(t){i.push({cmd:"+",idx:t})})).update((function(t,e){i.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){i.push({cmd:"-",idx:t})})).execute(),i}function ES(t,e,i,n,r,o,a,s){for(var l=PS(t,e),u=[],c=[],h=[],d=[],p=[],f=[],g=[],m=kS(r,e,a),v=t.getLayout("points")||[],y=e.getLayout("points")||[],b=0;b<l.length;b++){var _=l[b],x=!0,w=void 0,S=void 0;switch(_.cmd){case"=":w=2*_.idx,S=2*_.idx1;var C=v[w],k=v[w+1],M=y[S],O=y[S+1];(isNaN(C)||isNaN(k))&&(C=M,k=O),u.push(C,k),c.push(M,O),h.push(i[w],i[w+1]),d.push(n[S],n[S+1]),g.push(e.getRawIndex(_.idx1));break;case"+":var T=_.idx,A=m.dataDimsForPoint,I=r.dataToPoint([e.get(A[0],T),e.get(A[1],T)]);S=2*T,u.push(I[0],I[1]),c.push(y[S],y[S+1]);var P=OS(m,r,e,T);h.push(P[0],P[1]),d.push(n[S],n[S+1]),g.push(e.getRawIndex(T));break;case"-":x=!1}x&&(p.push(_),f.push(f.length))}f.sort((function(t,e){return g[t]-g[e]}));var E=u.length,D=IS(E),L=IS(E),j=IS(E),R=IS(E),B=[];for(b=0;b<f.length;b++){var F=f[b],N=2*b,z=2*F;D[N]=u[z],D[N+1]=u[z+1],L[N]=c[z],L[N+1]=c[z+1],j[N]=h[z],j[N+1]=h[z+1],R[N]=d[z],R[N+1]=d[z+1],B[b]=p[F]}return{current:D,next:L,stackedOnCurrent:j,stackedOnNext:R,status:B}}var DS=Math.min,LS=Math.max;function jS(t,e){return isNaN(t)||isNaN(e)}function RS(t,e,i,n,r,o,a,s,l){for(var u,c,h,d,p,f,g=i,m=0;m<n;m++){var v=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(jS(v,y)){if(l){g+=o;continue}break}if(g===i)t[o>0?"moveTo":"lineTo"](v,y),h=v,d=y;else{var b=v-u,_=y-c;if(b*b+_*_<.5){g+=o;continue}if(a>0){var x=g+o,w=e[2*x],S=e[2*x+1];while(w===v&&S===y&&m<n)m++,x+=o,g+=o,w=e[2*x],S=e[2*x+1],v=e[2*g],y=e[2*g+1],b=v-u,_=y-c;var C=m+1;if(l)while(jS(w,S)&&C<n)C++,x+=o,w=e[2*x],S=e[2*x+1];var k=.5,M=0,O=0,T=void 0,A=void 0;if(C>=n||jS(w,S))p=v,f=y;else{M=w-u,O=S-c;var I=v-u,P=w-v,E=y-c,D=S-y,L=void 0,j=void 0;if("x"===s){L=Math.abs(I),j=Math.abs(P);var R=M>0?1:-1;p=v-R*L*a,f=y,T=v+R*j*a,A=y}else if("y"===s){L=Math.abs(E),j=Math.abs(D);var B=O>0?1:-1;p=v,f=y-B*L*a,T=v,A=y+B*j*a}else L=Math.sqrt(I*I+E*E),j=Math.sqrt(P*P+D*D),k=j/(j+L),p=v-M*a*(1-k),f=y-O*a*(1-k),T=v+M*a*k,A=y+O*a*k,T=DS(T,LS(w,v)),A=DS(A,LS(S,y)),T=LS(T,DS(w,v)),A=LS(A,DS(S,y)),M=T-v,O=A-y,p=v-M*L/j,f=y-O*L/j,p=DS(p,LS(u,v)),f=DS(f,LS(c,y)),p=LS(p,DS(u,v)),f=LS(f,DS(c,y)),M=v-p,O=y-f,T=v+M*j/L,A=y+O*j/L}t.bezierCurveTo(h,d,p,f,v,y),h=T,d=A}else t.lineTo(v,y)}u=v,c=y,g+=o}return m}var BS=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),FS=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polyline",i}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new BS},e.prototype.buildPath=function(t,e){var i=e.points,n=0,r=i.length/2;if(e.connectNulls){for(;r>0;r--)if(!jS(i[2*r-2],i[2*r-1]))break;for(;n<r;n++)if(!jS(i[2*n],i[2*n+1]))break}while(n<r)n+=RS(t,i,n,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i,n,r=this.path,o=r.data,a=ha.CMD,s="x"===e,l=[],u=0;u<o.length;){var c=o[u++],h=void 0,d=void 0,p=void 0,f=void 0,g=void 0,m=void 0,v=void 0;switch(c){case a.M:i=o[u++],n=o[u++];break;case a.L:if(h=o[u++],d=o[u++],v=s?(t-i)/(h-i):(t-n)/(d-n),v<=1&&v>=0){var y=s?(d-n)*v+n:(h-i)*v+i;return s?[t,y]:[y,t]}i=h,n=d;break;case a.C:h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++],m=o[u++];var b=s?Zt(i,h,p,g,t,l):Zt(n,d,f,m,t,l);if(b>0)for(var _=0;_<b;_++){var x=l[_];if(x<=1&&x>=0){y=s?Xt(n,d,f,m,x):Xt(i,h,p,g,x);return s?[t,y]:[y,t]}}i=g,n=m;break}}},e}(Ba),NS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(BS),zS=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polygon",i}return o(e,t),e.prototype.getDefaultShape=function(){return new NS},e.prototype.buildPath=function(t,e){var i=e.points,n=e.stackedOnPoints,r=0,o=i.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0;o--)if(!jS(i[2*o-2],i[2*o-1]))break;for(;r<o;r++)if(!jS(i[2*r],i[2*r+1]))break}while(r<o){var s=RS(t,i,r,o,o,1,e.smooth,a,e.connectNulls);RS(t,n,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Ba);function VS(t,e,i,n,r){var o=t.getArea(),a=o.x,l=o.y,u=o.width,c=o.height,h=i.get(["lineStyle","width"])||2;a-=h/2,l-=h/2,u+=h,c+=h,a=Math.floor(a),u=Math.round(u);var d=new ts({shape:{x:a,y:l,width:u,height:c}});if(e){var p=t.getBaseAxis(),f=p.isHorizontal(),g=p.inverse;f?(g&&(d.shape.x+=u),d.shape.width=0):(g||(d.shape.y+=c),d.shape.height=0);var m=Object(s["w"])(r)?function(t){r(t,d)}:null;Nl(d,{shape:{width:u,height:c,x:a,y:l}},i,null,n,m)}return d}function qS(t,e,i){var n=t.getArea(),r=En(n.r0,1),o=En(n.r,1),a=new vg({shape:{cx:En(t.cx,1),cy:En(t.cy,1),r0:r,r:o,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(e){var s="angle"===t.getBaseAxis().dim;s?a.shape.endAngle=n.startAngle:a.shape.r=r,Nl(a,{shape:{endAngle:n.endAngle,r:o}},i)}return a}function $S(t,e,i,n,r){return t?"polar"===t.type?qS(t,e,i):"cartesian2d"===t.type?VS(t,e,i,n,r):null:null}function HS(t,e){return t.type===e}function GS(t,e){if(t.length===e.length){for(var i=0;i<t.length;i++)if(t[i]!==e[i])return;return!0}}function WS(t){for(var e=1/0,i=1/0,n=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),n=Math.max(a,n)),isNaN(s)||(i=Math.min(s,i),r=Math.max(s,r))}return[[e,i],[n,r]]}function US(t,e){var i=WS(t),n=i[0],r=i[1],o=WS(e),a=o[0],s=o[1];return Math.max(Math.abs(n[0]-a[0]),Math.abs(n[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function YS(t){return s["z"](t)?t:t?.5:0}function XS(t,e,i){if(!i.valueDim)return[];for(var n=e.count(),r=IS(2*n),o=0;o<n;o++){var a=OS(i,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}function KS(t,e,i,n){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],u=[],c=[],h=[];if(n){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),i){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var d=(u[o]+c[o])/2,p=[];l[o]=p[o]=d,l[1-o]=u[1-o],p[1-o]=c[1-o],a.push(l[0],l[1]),a.push(p[0],p[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function ZS(t,e){var i,n,r=[],o=t.length;function a(t,e,i){var n=t.coord,r=(i-n)/(e.coord-n),o=Object(pe["b"])(r,[t.color,e.color]);return{coord:i,color:o}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)i=l;else{if(u>e){n?r.push(a(n,l,e)):i&&r.push(a(i,l,0),a(i,l,e));break}i&&(r.push(a(i,l,0)),i=null),r.push(l),n=l}}return r}function QS(t,e,i){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=n.length-1;a>=0;a--){var l=t.getDimensionInfo(n[a].dimension);if(r=l&&l.coordDim,"x"===r||"y"===r){o=n[a];break}}if(o){var u=e.getAxis(r),c=s["H"](o.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=c.length,d=o.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var p=ZS(c,"x"===r?i.getWidth():i.getHeight()),f=p.length;if(!f&&h)return c[0].coord<0?d[1]?d[1]:c[h-1].color:d[0]?d[0]:c[0].color;var g=10,m=p[0].coord-g,v=p[f-1].coord+g,y=v-m;if(y<.001)return"transparent";s["k"](p,(function(t){t.offset=(t.coord-m)/y})),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var b=new Wg(0,0,0,0,p,!0);return b[r]=m,b[r+"2"]=v,b}}}function JS(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var o=i.getAxesByScale("ordinal")[0];if(o&&(!r||!tC(o,e))){var a=e.mapDimension(o.dim),l={};return s["k"](o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(a,t))}}}}function tC(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*bS.getSymbolSize(e,a)[t.isHorizontal()?1:0]>n)return!1;return!0}function eC(t,e){return isNaN(t)||isNaN(e)}function iC(t){for(var e=t.length/2;e>0;e--)if(!eC(t[2*e-2],t[2*e-1]))break;return e-1}function nC(t,e){return[t[2*e],t[2*e+1]]}function rC(t,e,i){for(var n,r,o=t.length/2,a="x"===i?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(n<=e&&r>=e||n>=e&&r<=e){l=u;break}s=u,n=r}else n=r;return{range:[s,l],t:(e-n)/(r-n)}}function oC(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Ts.length;e++)if(t.get([Ts[e],"endLabel","show"]))return!0;return!1}function aC(t,e,i,n){if(HS(e,"cartesian2d")){var r=n.getModel("endLabel"),o=r.get("valueAnimation"),a=n.getData(),s={lastFrameIndex:0},l=oC(n)?function(i,n){t._endLabelOnDuring(i,n,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=VS(e,i,n,(function(){var e=t._endLabel;e&&i&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!n.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return qS(e,i,n)}function sC(t,e){var i=e.getBaseAxis(),n=i.isHorizontal(),r=i.inverse,o=n?r?"right":"left":"center",a=n?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}var lC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=new bn,e=new CS;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,i){var n=this,r=t.coordinateSystem,o=this.group,a=t.getData(),l=t.getModel("lineStyle"),u=t.getModel("areaStyle"),c=a.getLayout("points")||[],h="polar"===r.type,d=this._coordSys,p=this._symbolDraw,f=this._polyline,g=this._polygon,m=this._lineGroup,v=t.get("animation"),y=!u.isEmpty(),b=u.get("origin"),_=kS(r,a,b),x=y&&XS(r,a,_),w=t.get("showSymbol"),S=t.get("connectNulls"),C=w&&!h&&JS(t,a,r),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),k.setItemGraphicEl(e,null))})),w||p.remove(),o.add(m);var M,O=!h&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(M=r.getArea(),null!=M.width?(M.x-=.1,M.y-=.1,M.width+=.2,M.height+=.2):M.r0&&(M.r0-=.5,M.r+=.5)),this._clipShapeForSymbol=M;var T=QS(a,r,i)||a.getVisual("style")[a.getVisual("drawType")];if(f&&d.type===r.type&&O===this._step){y&&!g?g=this._newPolygon(c,x):g&&!y&&(m.remove(g),g=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Ac(T));var A=m.getClipPath();if(A){var I=aC(this,r,!1,t);Nl(A,{shape:I.shape},t)}else m.setClipPath(aC(this,r,!0,t));w&&p.updateData(a,{isIgnore:C,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),GS(this._stackedOnPoints,x)&&GS(this._points,c)||(v?this._doUpdateAnimation(a,x,r,i,O,b,S):(O&&(c=KS(c,r,O,S),x&&(x=KS(x,r,O,S))),f.setShape({points:c}),g&&g.setShape({points:c,stackedOnPoints:x})))}else w&&p.updateData(a,{isIgnore:C,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),v&&this._initSymbolLabelAnimation(a,r,M),O&&(c=KS(c,r,O,S),x&&(x=KS(x,r,O,S))),f=this._newPolyline(c),y?g=this._newPolygon(c,x):g&&(m.remove(g),g=this._polygon=null),h||this._initOrUpdateEndLabel(t,r,Ac(T)),m.setClipPath(aC(this,r,!0,t));var P=t.getModel("emphasis"),E=P.get("focus"),D=P.get("blurScope"),L=P.get("disabled");if(f.useStyle(s["i"](l.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"})),Ol(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var j=f.getState("emphasis").style;j.lineWidth=+f.style.lineWidth+1}bs(f).seriesIndex=t.seriesIndex,Sl(f,E,D,L);var R=YS(t.get("smooth")),B=t.get("smoothMonotone");if(f.setShape({smooth:R,smoothMonotone:B,connectNulls:S}),g){var F=a.getCalculationInfo("stackedOnSeries"),N=0;g.useStyle(s["i"](u.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),F&&(N=YS(F.get("smooth"))),g.setShape({smooth:R,stackedOnSmooth:N,smoothMonotone:B,connectNulls:S}),Ol(g,t,"areaStyle"),bs(g).seriesIndex=t.seriesIndex,Sl(g,E,D,L)}var z=function(t){n._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=c,this._step=O,this._valueOrigin=b,t.get("triggerLineEvent")&&(this.packEventData(t,f),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,e){bs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,i,n){var r=t.getData(),o=Cr(r,n);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel"),h=t.get("z");s=new bS(r,o),s.x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Hm.prototype.highlight.call(this,t,e,i,n)},e.prototype.downplay=function(t,e,i,n){var r=t.getData(),o=Cr(r,n);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Hm.prototype.downplay.call(this,t,e,i,n)},e.prototype._changePolyState=function(t){var e=this._polygon;Xs(this._polyline,t),e&&Xs(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new FS({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new zS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(t,e,i){var n,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(n=o.isHorizontal(),r=!1):"polar"===e.type&&(n="angle"===o.dim,r=!0);var l=t.hostModel,u=l.get("animationDuration");s["w"](u)&&(u=u(null));var c=l.get("animationDelay")||0,h=s["w"](c)?c(null):c;t.eachItemGraphicEl((function(t,o){var l=t;if(l){var d=[t.x,t.y],p=void 0,f=void 0,g=void 0;if(i)if(r){var m=i,v=e.pointToCoord(d);n?(p=m.startAngle,f=m.endAngle,g=-v[1]/180*Math.PI):(p=m.r0,f=m.r,g=v[0])}else{var y=i;n?(p=y.x,f=y.x+y.width,g=t.x):(p=y.y+y.height,f=y.y,g=t.y)}var b=f===p?0:(g-p)/(f-p);a&&(b=1-b);var _=s["w"](c)?c(o):u*b+h,x=l.getSymbolPath(),w=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,i){var n=t.getModel("endLabel");if(oC(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new ys({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=iC(a);l>=0&&(Xl(o,Kl(t,"endLabel"),{inheritColor:i,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,i){return null!=i?mS(r,i):gS(r,t)},enableTextSetter:!0},sC(n,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,i,n,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==n.originalX&&(n.originalX=s.x,n.originalY=s.y);var u=i.getLayout("points"),c=i.hostModel,h=c.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),m=f.inverse,v=e.shape,y=m?g?v.x:v.y+v.height:g?v.x+v.width:v.y,b=(g?p:0)*(m?-1:1),_=(g?0:-p)*(m?-1:1),x=g?"x":"y",w=rC(u,y,x),S=w.range,C=S[1]-S[0],k=void 0;if(C>=1){if(C>1&&!h){var M=nC(u,S[0]);s.attr({x:M[0]+b,y:M[1]+_}),r&&(k=c.getRawValue(S[0]))}else{M=l.getPointOn(y,x);M&&s.attr({x:M[0]+b,y:M[1]+_});var O=c.getRawValue(S[0]),T=c.getRawValue(S[1]);r&&(k=jr(i,d,O,T,w.t))}n.lastFrameIndex=S[0]}else{var A=1===t||n.lastFrameIndex>0?S[0]:0;M=nC(u,A);r&&(k=c.getRawValue(A)),s.attr({x:M[0]+b,y:M[1]+_})}r&&au(s).setLabelText(k)}},e.prototype._doUpdateAnimation=function(t,e,i,n,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=ES(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,o),h=c.current,d=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(h=KS(c.current,i,r,a),d=KS(c.stackedOnCurrent,i,r,a),p=KS(c.next,i,r,a),f=KS(c.stackedOnNext,i,r,a)),US(h,p)>3e3||l&&US(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:p}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),Fl(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),Fl(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],v=c.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<m.length;e++){var i=m[e].el,n=2*m[e].ptIdx;i.x=t[n],i.y=t[n+1],i.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl((function(t,n){t.__temp&&(e.remove(t),i.setItemGraphicEl(n,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Hm),uC=lC;function cC(t,e){return{seriesType:t,plan:Cf(),reset:function(t){var i=t.getData(),n=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(n){var a=Object(s["H"])(n.dimensions,(function(t){return i.mapDimension(t)})).slice(0,2),l=a.length,u=i.getCalculationInfo("stackResultDimension");oS(i,a[0])&&(a[0]=u),oS(i,a[1])&&(a[1]=u);var c=i.getStore(),h=i.getDimensionIndex(a[0]),d=i.getDimensionIndex(a[1]);return l&&{progress:function(t,e){for(var i=t.end-t.start,r=o&&IS(i*l),a=[],s=[],u=t.start,p=0;u<t.end;u++){var f=void 0;if(1===l){var g=c.get(h,u);f=n.dataToPoint(g,null,s)}else a[0]=c.get(h,u),a[1]=c.get(d,u),f=n.dataToPoint(a,null,s);o?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(u,f.slice())}o&&e.setLayout("points",r)}}}}}}var hC={average:function(t){for(var e=0,i=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?NaN:e/i},sum:function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t.length;i++)t[i]>e&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i<t.length;i++)t[i]<e&&(e=t[i]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},dC=function(t){return Math.round(t.length/2)};function pC(t){return{seriesType:t,reset:function(t,e,i){var n=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=n.count();if(a>10&&"cartesian2d"===o.type&&r){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),h=i.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(h||1),p=Math.round(a/d);if(isFinite(p)&&p>1){"lttb"===r&&t.setData(n.lttbDownSample(n.mapDimension(u.dim),1/p));var f=void 0;Object(s["C"])(r)?f=hC[r]:Object(s["w"])(r)&&(f=r),f&&t.setData(n.downSample(n.mapDimension(u.dim),1/p,f,dC))}}}}}function fC(t){t.registerChartView(uC),t.registerSeriesModel(fS),t.registerLayout(cC("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),i=t.getModel("lineStyle").getLineStyle();i&&!i.stroke&&(i.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",i)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,pC("line"))}var gC="__ec_stack_";function mC(t){return t.get("stack")||gC+t.seriesIndex}function vC(t){return t.dim+t.index}function yC(t){var e=[],i=t.axis,n="axis0";if("category"===i.type){for(var r=i.getBandWidth(),o=0;o<t.count;o++)e.push(Object(s["i"])({bandWidth:r,axisKey:n,stackId:gC+o},t));var a=wC(e),l=[];for(o=0;o<t.count;o++){var u=a[n][gC+o];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function bC(t,e){var i=[];return e.eachSeriesByType(t,(function(t){MC(t)&&i.push(t)})),i}function _C(t){var e={};Object(s["k"])(t,(function(t){var i=t.coordinateSystem,n=i.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),o=n.dim+"_"+n.index,a=r.getDimensionIndex(r.mapDimension(n.dim)),s=r.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(a,l);e[o]?e[o].push(c):e[o]=[c]}}));var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var l=r[a]-r[a-1];l>0&&(o=null===o?l:Math.min(o,l))}i[n]=o}}return i}function xC(t){var e=_C(t),i=[];return Object(s["k"])(t,(function(t){var n,r=t.coordinateSystem,o=r.getBaseAxis(),a=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=e[s],u=Math.abs(a[1]-a[0]),c=o.scale.getExtent(),h=Math.abs(c[1]-c[0]);n=l?u/h*l:u}else{var d=t.getData();n=Math.abs(a[1]-a[0])/d.count()}var p=Pn(t.get("barWidth"),n),f=Pn(t.get("barMaxWidth"),n),g=Pn(t.get("barMinWidth")||(OC(t)?.5:1),n),m=t.get("barGap"),v=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:p,barMaxWidth:f,barMinWidth:g,barGap:m,barCategoryGap:v,axisKey:vC(o),stackId:mC(t)})})),wC(i)}function wC(t){var e={};Object(s["k"])(t,(function(t,i){var n=t.axisKey,r=t.bandWidth,o=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[n]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var i={};return Object(s["k"])(e,(function(t,e){i[e]={};var n=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=Object(s["F"])(n).length;o=Math.max(35-4*a,15)+"%"}var l=Pn(o,r),u=Pn(t.gap,1),c=t.remainedWidth,h=t.autoWidthCount,d=(c-l)/(h+(h-1)*u);d=Math.max(d,0),Object(s["k"])(n,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,c-=n+u*n,h--}else{var n=d;e&&e<n&&(n=Math.min(e,c)),i&&i>n&&(n=i),n!==d&&(t.width=n,c-=n+u*n,h--)}})),d=(c-l)/(h+(h-1)*u),d=Math.max(d,0);var p,f=0;Object(s["k"])(n,(function(t,e){t.width||(t.width=d),p=t,f+=t.width*(1+u)})),p&&(f-=p.width*u);var g=-f/2;Object(s["k"])(n,(function(t,n){i[e][n]=i[e][n]||{bandWidth:r,offset:g,width:t.width},g+=t.width*(1+u)}))})),i}function SC(t,e,i){if(t&&e){var n=t[vC(e)];return null!=n&&null!=i?n[mC(i)]:n}}function CC(t,e){var i=bC(t,e),n=xC(i);Object(s["k"])(i,(function(t){var e=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),o=mC(t),a=n[vC(r)][o],s=a.offset,l=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function kC(t){return{seriesType:t,plan:Cf(),reset:function(t){if(MC(t)){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),r=i.getOtherAxis(n),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(n.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=oS(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=TC(n,r),p=OC(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),m=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){var n,r=t.count,l=p&&IS(3*r),u=p&&s&&IS(3*r),y=p&&IS(r),b=i.master.getRect(),_=h?b.width:b.height,x=e.getStore(),w=0;while(null!=(n=t.next())){var S=x.get(c?g:o,n),C=x.get(a,n),k=d,M=void 0;c&&(M=+S-x.get(o,n));var O=void 0,T=void 0,A=void 0,I=void 0;if(h){var P=i.dataToPoint([S,C]);if(c){var E=i.dataToPoint([M,C]);k=E[0]}O=k,T=P[1]+v,A=P[0]-k,I=m,Math.abs(A)<f&&(A=(A<0?-1:1)*f)}else{P=i.dataToPoint([C,S]);if(c){E=i.dataToPoint([C,M]);k=E[1]}O=P[0]+v,T=k,A=m,I=P[1]-k,Math.abs(I)<f&&(I=(I<=0?-1:1)*f)}p?(l[w]=O,l[w+1]=T,l[w+2]=h?A:I,u&&(u[w]=h?b.x:O,u[w+1]=h?T:b.y,u[w+2]=_),y[n]=n):e.setItemLayout(n,{x:O,y:T,width:A,height:I}),w+=3}p&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function MC(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function OC(t){return t.pipelineContext&&t.pipelineContext.large}function TC(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var AC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var i=e.dataToPoint(e.clampData(t)),n=this.getData(),r=n.getLayout("offset"),o=n.getLayout("size"),a=e.getBaseAxis().isHorizontal()?0:1;return i[a]+=r+o/2,i}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(xf);xf.registerClass(AC);var IC=AC,PC=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.getInitialData=function(){return dS(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,i){return i.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Mu(IC.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(IC),EC=PC,DC=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),LC=function(t){function e(e){var i=t.call(this,e)||this;return i.type="sausage",i}return o(e,t),e.prototype.getDefaultShape=function(){return new DC},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),f=Math.sin(l),g=Math.cos(u),m=Math.sin(u);d?(t.moveTo(p*r+i,f*r+n),t.arc(p*s+i,f*s+n,a,-Math.PI+l,l,!c)):t.moveTo(p*o+i,f*o+n),t.arc(i,n,o,l,u,!c),t.arc(g*s+i,m*s+n,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(i,n,r,u,l,c)},e}(Ba),jC=LC;function RC(t,e){e=e||{};var i=e.isRoundCap;return function(e,n,r){var o=n.position;if(!o||o instanceof Array)return nn(e,n,r);var a=t(o),s=null!=n.distance?n.distance:5,l=this.shape,u=l.cx,c=l.cy,h=l.r,d=l.r0,p=(h+d)/2,f=l.startAngle,g=l.endAngle,m=(f+g)/2,v=i?Math.abs(h-d)/2:0,y=Math.cos,b=Math.sin,_=u+h*y(f),x=c+h*b(f),w="left",S="top";switch(a){case"startArc":_=u+(d-s)*y(m),x=c+(d-s)*b(m),w="center",S="top";break;case"insideStartArc":_=u+(d+s)*y(m),x=c+(d+s)*b(m),w="center",S="bottom";break;case"startAngle":_=u+p*y(f)+FC(f,s+v,!1),x=c+p*b(f)+NC(f,s+v,!1),w="right",S="middle";break;case"insideStartAngle":_=u+p*y(f)+FC(f,-s+v,!1),x=c+p*b(f)+NC(f,-s+v,!1),w="left",S="middle";break;case"middle":_=u+p*y(m),x=c+p*b(m),w="center",S="middle";break;case"endArc":_=u+(h+s)*y(m),x=c+(h+s)*b(m),w="center",S="bottom";break;case"insideEndArc":_=u+(h-s)*y(m),x=c+(h-s)*b(m),w="center",S="top";break;case"endAngle":_=u+p*y(g)+FC(g,s+v,!0),x=c+p*b(g)+NC(g,s+v,!0),w="left",S="middle";break;case"insideEndAngle":_=u+p*y(g)+FC(g,-s+v,!0),x=c+p*b(g)+NC(g,-s+v,!0),w="right",S="middle";break;default:return nn(e,n,r)}return e=e||{},e.x=_,e.y=x,e.align=w,e.verticalAlign=S,e}}function BC(t,e,i,n){if(Object(s["z"])(n))t.setTextConfig({rotation:n});else if(Object(s["t"])(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,l=o.clockwise?o.endAngle:o.startAngle,u=(a+l)/2,c=i(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=u;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=l;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===c&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}function FC(t,e,i){return e*Math.sin(t)*(i?-1:1)}function NC(t,e,i){return e*Math.cos(t)*(i?1:-1)}var zC=Math.max,VC=Math.min;function qC(t,e){var i=t.getArea&&t.getArea();if(HS(t,"cartesian2d")){var n=t.getBaseAxis();if("category"!==n.type||!n.onBand){var r=e.getLayout("bandWidth");n.isHorizontal()?(i.x-=r,i.width+=2*r):(i.y-=r,i.height+=2*r)}}return i}var $C=function(t){function e(){var i=t.call(this)||this;return i.type=e.type,i._isFirstFrame=!0,i}return o(e,t),e.prototype.render=function(t,e,i,n){this._model=t,this._removeOnRenderedListener(i),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i,n))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,i,n){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=WC(t,l);h&&this._enableRealtimeSort(h,a,i);var d=t.get("clip",!0)||h,p=qC(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],b=this._backgroundEls,_=n&&n.isInitSort,x=n&&"changeAxisOrder"===n.type;function w(t){var e=QC[l.type](a,t),i=uk(l,r,e);return i.useStyle(m.getItemStyle()),"cartesian2d"===l.type&&i.setShape("r",v),y[t]=i,i}a.diff(s).add((function(e){var i=a.getItemModel(e),n=QC[l.type](a,e,i);if(g&&w(e),a.hasValue(e)&&ZC[l.type](n)){var s=!1;d&&(s=HC[l.type](p,n));var m=GC[l.type](t,a,e,n,r,c,u.model,!1,f);h&&(m.forceLabelAnimation=!0),ek(m,a,e,i,n,t,r,"polar"===l.type),_?m.attr({shape:n}):h?UC(h,c,m,n,e,r,!1,!1):Nl(m,{shape:n},t,e),a.setItemGraphicEl(e,m),o.add(m),m.ignore=s}})).update((function(e,i){var n=a.getItemModel(e),S=QC[l.type](a,e,n);if(g){var C=void 0;0===b.length?C=w(i):(C=b[i],C.useStyle(m.getItemStyle()),"cartesian2d"===l.type&&C.setShape("r",v),y[e]=C);var k=QC[l.type](a,e),M=lk(r,k,l);Fl(C,{shape:M},c,e)}var O=s.getItemGraphicEl(i);if(a.hasValue(e)&&ZC[l.type](S)){var T=!1;if(d&&(T=HC[l.type](p,S),T&&o.remove(O)),O?Hl(O):O=GC[l.type](t,a,e,S,r,c,u.model,!!O,f),h&&(O.forceLabelAnimation=!0),x){var A=O.getTextContent();if(A){var I=au(A);null!=I.prevValue&&(I.prevValue=I.value)}}else ek(O,a,e,n,S,t,r,"polar"===l.type);_?O.attr({shape:S}):h?UC(h,c,O,S,e,r,!0,x):Fl(O,{shape:S},t,e,null),a.setItemGraphicEl(e,O),O.ignore=T,o.add(O)}else o.remove(O)})).remove((function(e){var i=s.getItemGraphicEl(e);i&&$l(i,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new bn);S.removeAll();for(var C=0;C<y.length;++C)S.add(y[C]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,i){this._clear(),ok(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),ok(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&$S(t.coordinateSystem,!1,t),i=this.group;e?i.setClipPath(e):i.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,i){var n=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,i),this._isFirstFrame=!1;else{var o=function(t){var i=e.getItemGraphicEl(t),n=i&&i.shape;return n&&Math.abs(r.isHorizontal()?n.height:n.width)||0};this._onRendered=function(){n._updateSortWithinSameData(e,o,r,i)},i.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,i){var n=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=i(e);r=null==r?NaN:r,n.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),n.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:Object(s["H"])(n,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,i){for(var n=i.scale,r=t.mapDimension(i.dim),o=Number.MAX_VALUE,a=0,s=n.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,n.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var i=e.scale,n=i.getExtent(),r=Math.max(0,n[0]),o=Math.min(n[1],i.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==i.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,i,n){if(this._isOrderChangedWithinSameData(t,e,i)){var r=this._dataSort(t,i,e);this._isOrderDifferentInView(r,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,i){var n=e.baseAxis,r=this._dataSort(t,n,(function(i){return t.get(t.mapDimension(e.otherAxis.dim),i)}));i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,i=this._data;t&&t.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl((function(e){$l(e,t,bs(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Hm),HC={cartesian2d:function(t,e){var i=e.width<0?-1:1,n=e.height<0?-1:1;i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=zC(e.x,t.x),s=VC(e.x+e.width,r),l=zC(e.y,t.y),u=VC(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var i=e.r0<=e.r?1:-1;if(i<0){var n=e.r;e.r=e.r0,e.r0=n}var r=VC(e.r,t.r),o=zC(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(i<0){n=e.r;e.r=e.r0,e.r0=n}return a}},GC={cartesian2d:function(t,e,i,n,r,o,a,l,u){var c=new ts({shape:Object(s["m"])({},n),z2:1});if(c.__dataIndex=i,c.name="item",o){var h=c.shape,d=r?"height":"width";h[d]=0}return c},polar:function(t,e,i,n,r,o,a,s,l){var u=!r&&l?jC:vg,c=new u({shape:n,z2:1});c.name="item";var h=tk(r);if(c.calculateTextPosition=RC(h,{isRoundCap:u===jC}),o){var d=c.shape,p=r?"r":"endAngle",f={};d[p]=r?0:n.startAngle,f[p]=n[p],(s?Fl:Nl)(c,{shape:f},o)}return c}};function WC(t,e){var i=t.get("realtimeSort",!0),n=e.getBaseAxis();if(i&&"category"===n.type&&"cartesian2d"===e.type)return{baseAxis:n,otherAxis:e.getOtherAxis(n)}}function UC(t,e,i,n,r,o,a,s){var l,u;o?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(a?Fl:Nl)(i,{shape:l},e,r,null);var c=e?t.baseAxis.model:null;(a?Fl:Nl)(i,{shape:u},c,r)}function YC(t,e){for(var i=0;i<e.length;i++)if(!isFinite(t[e[i]]))return!0;return!1}var XC=["x","y","width","height"],KC=["cx","cy","r","startAngle","endAngle"],ZC={cartesian2d:function(t){return!YC(t,XC)},polar:function(t){return!YC(t,KC)}},QC={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),r=i?ik(i,n):0,o=n.width>0?1:-1,a=n.height>0?1:-1;return{x:n.x+o*r/2,y:n.y+a*r/2,width:n.width-o*r,height:n.height-a*r}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function JC(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function tk(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function ek(t,e,i,n,r,o,a,l){var u=e.getItemVisual(i,"style");l||t.setShape("r",n.get(["itemStyle","borderRadius"])||0),t.useStyle(u);var c=n.getShallow("cursor");c&&t.attr("cursor",c);var h=l?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=Kl(n);Xl(t,d,{labelFetcher:o,labelDataIndex:i,defaultText:gS(o.getData(),i),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:h});var p=t.getTextContent();if(l&&p){var f=n.get(["label","position"]);t.textConfig.inside="middle"===f||null,BC(t,"outside"===f?h:f,tk(a),n.get(["label","rotate"]))}su(p,d,o.getRawValue(i),(function(t){return mS(e,t)}));var g=n.getModel(["emphasis"]);Sl(t,g.get("focus"),g.get("blurScope"),g.get("disabled")),Ol(t,n),JC(r)&&(t.style.fill="none",t.style.stroke="none",Object(s["k"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function ik(t,e){var i=t.get(["itemStyle","borderColor"]);if(!i||"none"===i)return 0;var n=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,r,o)}var nk=function(){function t(){}return t}(),rk=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeBar",i}return o(e,t),e.prototype.getDefaultShape=function(){return new nk},e.prototype.buildPath=function(t,e){for(var i=e.points,n=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<i.length;l+=3)a[n]=s,a[r]=i[l+2],o[n]=i[l+n],o[r]=i[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Ba);function ok(t,e,i,n){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new rk({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),i&&i.push(c)}var h=new rk({shape:{points:r.getLayout("largePoints")},incremental:!!n,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),bs(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",ak),h.on("mousemove",ak)),i&&i.push(h)}var ak=Ym((function(t){var e=this,i=sk(e,t.offsetX,t.offsetY);bs(e).dataIndex=i>=0?i:null}),30,!1);function sk(t,e,i){for(var n=t.baseDimIdx,r=1-n,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var d=3*c;if(l[n]=u,l[r]=o[d+2],s[n]=o[d+n],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&i>=s[1]&&i<=s[1]+l[1])return a[c]}return-1}function lk(t,e,i){if(HS(i,"cartesian2d")){var n=e,r=i.getArea();return{x:t?n.x:r.x,y:t?r.y:n.y,width:t?n.width:r.width,height:t?r.height:n.height}}r=i.getArea();var o=e;return{cx:r.cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function uk(t,e,i){var n="polar"===t.type?vg:ts;return new n({shape:lk(e,i,t),silent:!0,z2:0})}var ck=$C;function hk(t){t.registerChartView(ck),t.registerSeriesModel(EC),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,s["h"](CC,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,kC("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,pC("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var dk=2*Math.PI,pk=Math.PI/180;function fk(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function gk(t,e){var i=fk(t,e),n=t.get("center"),r=t.get("radius");s["t"](r)||(r=[0,r]),s["t"](n)||(n=[n,n]);var o=Pn(i.width,e.getWidth()),a=Pn(i.height,e.getHeight()),l=Math.min(o,a),u=Pn(n[0],o)+i.x,c=Pn(n[1],a)+i.y,h=Pn(r[0],l/2),d=Pn(r[1],l/2);return{cx:u,cy:c,r0:h,r:d}}function mk(t,e,i){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),r=fk(t,i),o=gk(t,i),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*pk,h=t.get("minAngle")*pk,d=0;e.each(n,(function(t){!isNaN(t)&&d++}));var p=e.getSum(n),f=Math.PI/(p||d)*2,g=t.get("clockwise"),m=t.get("roseType"),v=t.get("stillShowZeroSum"),y=e.getDataExtent(n);y[0]=0;var b=dk,_=0,x=c,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(n,(function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:m?NaN:l});else{n="area"!==m?0===p&&v?f:t*f:dk/d,n<h?(n=h,b-=h):_+=t;var r=x+w*n;e.setItemLayout(i,{angle:n,startAngle:x,endAngle:r,clockwise:g,cx:a,cy:s,r0:u,r:m?In(t,y,[u,l]):l}),x=r}})),b<dk&&d)if(b<=.001){var S=dk/d;e.each(n,(function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i);n.angle=S,n.startAngle=c+w*i*S,n.endAngle=c+w*(i+1)*S}}))}else f=b/_,x=c,e.each(n,(function(t,i){if(!isNaN(t)){var n=e.getItemLayout(i),r=n.angle===h?h:t*f;n.startAngle=x,n.endAngle=x+w*r,x+=w*r}}))}))}function vk(t){return{seriesType:t,reset:function(t,e){var i=e.findComponents({mainType:"legend"});if(i&&i.length){var n=t.getData();n.filterSelf((function(t){for(var e=n.getName(t),r=0;r<i.length;r++)if(!i[r].isSelected(e))return!1;return!0}))}}}}var yk=2*Math.PI,bk=ha.CMD,_k=["top","right","bottom","left"];function xk(t,e,i,n,r){var o=i.width,a=i.height;switch(t){case"top":n.set(i.x+o/2,i.y-e),r.set(0,-1);break;case"bottom":n.set(i.x+o/2,i.y+a+e),r.set(0,1);break;case"left":n.set(i.x-e,i.y+a/2),r.set(-1,0);break;case"right":n.set(i.x+o+e,i.y+a/2),r.set(1,0);break}}function wk(t,e,i,n,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s);a/=u,s/=u;var c=a*i+t,h=s*i+e;if(Math.abs(n-r)%yk<1e-4)return l[0]=c,l[1]=h,u-i;if(o){var d=n;n=ma(r),r=ma(d)}else n=ma(n),r=ma(r);n>r&&(r+=yk);var p=Math.atan2(s,a);if(p<0&&(p+=yk),p>=n&&p<=r||p+yk>=n&&p+yk<=r)return l[0]=c,l[1]=h,u-i;var f=i*Math.cos(n)+t,g=i*Math.sin(n)+e,m=i*Math.cos(r)+t,v=i*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),b=(m-a)*(m-a)+(v-s)*(v-s);return y<b?(l[0]=f,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(b))}function Sk(t,e,i,n,r,o,a,s){var l=r-t,u=o-e,c=i-t,h=n-e,d=Math.sqrt(c*c+h*h);c/=d,h/=d;var p=l*c+u*h,f=p/d;s&&(f=Math.min(Math.max(f,0),1)),f*=d;var g=a[0]=t+f*c,m=a[1]=e+f*h;return Math.sqrt((g-r)*(g-r)+(m-o)*(m-o))}function Ck(t,e,i,n,r,o,a){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n);var s=t+i,l=e+n,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var kk=[];function Mk(t,e,i){var n=Ck(e.x,e.y,e.width,e.height,t.x,t.y,kk);return i.set(kk[0],kk[1]),n}function Ok(t,e,i){for(var n,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,d=t.y,p=0;p<c.length;){var f=c[p++];1===p&&(o=c[p],a=c[p+1],s=o,l=a);var g=u;switch(f){case bk.M:s=c[p++],l=c[p++],o=s,a=l;break;case bk.L:g=Sk(o,a,c[p],c[p+1],h,d,kk,!0),o=c[p++],a=c[p++];break;case bk.C:g=te(o,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],h,d,kk),o=c[p++],a=c[p++];break;case bk.Q:g=se(o,a,c[p++],c[p++],c[p],c[p+1],h,d,kk),o=c[p++],a=c[p++];break;case bk.A:var m=c[p++],v=c[p++],y=c[p++],b=c[p++],_=c[p++],x=c[p++];p+=1;var w=!!(1-c[p++]);n=Math.cos(_)*y+m,r=Math.sin(_)*b+v,p<=1&&(s=n,l=r);var S=(h-m)*b/y+m;g=wk(m,v,b,_,_+x,w,S,d,kk),o=Math.cos(_+x)*y+m,a=Math.sin(_+x)*b+v;break;case bk.R:s=o=c[p++],l=a=c[p++];var C=c[p++],k=c[p++];g=Ck(s,l,C,k,h,d,kk);break;case bk.Z:g=Sk(o,a,s,l,h,d,kk,!0),o=s,a=l;break}g<u&&(u=g,i.set(kk[0],kk[1]))}return u}var Tk=new ji,Ak=new ji,Ik=new ji,Pk=new ji,Ek=new ji;function Dk(t,e){if(t){var i=t.getTextGuideLine(),n=t.getTextContent();if(n&&i){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||_k,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&xi([],c),d=e.get("length2")||0;u&&Ik.copy(u);for(var p=0;p<a.length;p++){var f=a[p];xk(f,0,s,Tk,Pk),ji.scaleAndAdd(Ak,Tk,Pk,d),Ak.transform(h);var g=t.getBoundingRect(),m=u?u.distance(Ak):t instanceof Ba?Ok(Ak,t.path,Ik):Mk(Ak,g,Ik);m<l&&(l=m,Ak.transform(c),Ik.transform(c),Ik.toArray(o[0]),Ak.toArray(o[1]),Tk.toArray(o[2]))}Rk(o,e.get("minTurnAngle")),i.setShape({points:o})}}}var Lk=[],jk=new ji;function Rk(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Tk.fromArray(t[0]),Ak.fromArray(t[1]),Ik.fromArray(t[2]),ji.sub(Pk,Tk,Ak),ji.sub(Ek,Ik,Ak);var i=Pk.len(),n=Ek.len();if(!(i<.001||n<.001)){Pk.scale(1/i),Ek.scale(1/n);var r=Pk.dot(Ek),o=Math.cos(e);if(o<r){var a=Sk(Ak.x,Ak.y,Ik.x,Ik.y,Tk.x,Tk.y,Lk,!1);jk.fromArray(Lk),jk.scaleAndAdd(Ek,a/Math.tan(Math.PI-e));var s=Ik.x!==Ak.x?(jk.x-Ak.x)/(Ik.x-Ak.x):(jk.y-Ak.y)/(Ik.y-Ak.y);if(isNaN(s))return;s<0?ji.copy(jk,Ak):s>1&&ji.copy(jk,Ik),jk.toArray(t[1])}}}}function Bk(t,e,i){if(i<=180&&i>0){i=i/180*Math.PI,Tk.fromArray(t[0]),Ak.fromArray(t[1]),Ik.fromArray(t[2]),ji.sub(Pk,Ak,Tk),ji.sub(Ek,Ik,Ak);var n=Pk.len(),r=Ek.len();if(!(n<.001||r<.001)){Pk.scale(1/n),Ek.scale(1/r);var o=Pk.dot(e),a=Math.cos(i);if(o<a){var s=Sk(Ak.x,Ak.y,Ik.x,Ik.y,Tk.x,Tk.y,Lk,!1);jk.fromArray(Lk);var l=Math.PI/2,u=Math.acos(Ek.dot(e)),c=l+u-i;if(c>=l)ji.copy(jk,Ik);else{jk.scaleAndAdd(Ek,s/Math.tan(Math.PI/2-c));var h=Ik.x!==Ak.x?(jk.x-Ak.x)/(Ik.x-Ak.x):(jk.y-Ak.y)/(Ik.y-Ak.y);if(isNaN(h))return;h<0?ji.copy(jk,Ak):h>1&&ji.copy(jk,Ik)}jk.toArray(t[1])}}}}function Fk(t,e,i,n){var r="normal"===i,o=r?t:t.ensureState(i);o.ignore=e;var a=n.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=n.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function Nk(t,e){var i=e.smooth,n=e.points;if(n)if(t.moveTo(n[0][0],n[0][1]),i>0&&n.length>=3){var r=w(n[0],n[1]),o=w(n[1],n[2]);if(!r||!o)return t.lineTo(n[1][0],n[1][1]),void t.lineTo(n[2][0],n[2][1]);var a=Math.min(r,o)*i,s=k([],n[1],n[0],a/r),l=k([],n[1],n[2],a/o),u=k([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)t.lineTo(n[c][0],n[c][1])}function zk(t,e,i){var n=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),l=r.ignore,u=0;u<As.length;u++){var c=As[u],h=e[c],d="normal"===c;if(h){var p=h.get("show"),f=d?l:Object(s["P"])(r.states[c]&&r.states[c].ignore,l);if(f||!Object(s["P"])(p,a)){var g=d?n:n&&n.states[c];g&&(g.ignore=!0);continue}n||(n=new Tg,t.setTextGuideLine(n),d||!l&&a||Fk(n,!0,"normal",e.normal),t.stateProxy&&(n.stateProxy=t.stateProxy)),Fk(n,!1,c,h)}}if(n){Object(s["i"])(n.style,i),n.style.fill=null;var m=o.get("showAbove"),v=t.textGuideLineConfig=t.textGuideLineConfig||{};v.showAbove=m||!1,n.buildPath=Nk}}else n&&t.removeTextGuideLine()}function Vk(t,e){e=e||"labelLine";for(var i={normal:t.getModel(e)},n=0;n<Ts.length;n++){var r=Ts[n];i[r]=t.getModel([r,e])}return i}function qk(t){for(var e=[],i=0;i<t.length;i++){var n=t[i];if(!n.defaultAttr.ignore){var r=n.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new tm(a,o):null;e.push({label:r,labelLine:n.labelLine,rect:u,localRect:a,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:o})}}return e}function $k(t,e,i,n,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,i){return t.rect[e]-i.rect[e]}));for(var s,l=0,u=!1,c=[],h=0,d=0;d<a;d++){var p=t[d],f=p.rect;s=f[e]-l,s<0&&(f[e]-=s,p.label[e]-=s,u=!0);var g=Math.max(-s,0);c.push(g),h+=g,l=f[e]+f[i]}h>0&&o&&w(-h/a,0,a);var m,v,y=t[0],b=t[a-1];return _(),m<0&&S(-m,.8),v<0&&S(v,.8),_(),x(m,v,1),x(v,m,-1),_(),m<0&&C(-m),v<0&&C(v),u}function _(){m=y.rect[e]-n,v=r-b.rect[e]-b.rect[i]}function x(t,e,i){if(t<0){var n=Math.min(e,-t);if(n>0){w(n*i,0,a);var r=n+t;r<0&&S(-r*i,1)}else S(-t*i,1)}}function w(i,n,r){0!==i&&(u=!0);for(var o=n;o<r;o++){var a=t[o],s=a.rect;s[e]+=i,a.label[e]+=i}}function S(n,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[i],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(n)/s,r);if(n>0)for(l=0;l<a-1;l++){var d=o[l]*h;w(d,0,l+1)}else for(l=a-1;l>0;l--){d=o[l-1]*h;w(-d,l,a)}}}function C(t){var e=t<0?-1:1;t=Math.abs(t);for(var i=Math.ceil(t/(a-1)),n=0;n<a-1;n++)if(e>0?w(i,0,n+1):w(-i,a-n-1,a),t-=i,t<=0)return}}function Hk(t,e,i,n){return $k(t,"x","width",e,i,n)}function Gk(t,e,i,n){return $k(t,"y","height",e,i,n)}function Wk(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var i=new Gi(0,0,0,0);function n(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;i.copy(o.rect),i.width-=.1,i.height-=.1,i.x+=.05,i.y+=.05;for(var h=o.obb,d=!1,p=0;p<e.length;p++){var f=e[p];if(i.intersect(f.rect)){if(a&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new tm(f.localRect,f.transform)),h||(h=new tm(s,l)),h.intersect(f.obb)){d=!0;break}}}d?(n(u),c&&n(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}var Uk=Math.PI/180;function Yk(t,e,i,n,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var d=t[h].label.x-u;t[h].linePoints[1][0]+=d,t[h].label.x=u}Gk(t,l,l+a)&&f(t)}function p(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-i),c=n+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/a))*h),p=e+(d+l.len2)*r,f=p-l.label.x,g=l.targetTextWidth-f*r;Kk(l,g,!0),l.label.x=p}}function f(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>i?a:o,c=Math.abs(l.label.y-i);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,d=n+l.len,f=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d;u.rB=f,u.maxY=c}u.list.push(l)}p(o),p(a)}}function Xk(t,e,i,n,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var p=t[d].label;Zk(t[d])||(p.x<e?(c=Math.min(c,p.x),l.push(t[d])):(h=Math.max(h,p.x),u.push(t[d])))}for(d=0;d<t.length;d++){var f=t[d];if(!Zk(f)&&f.linePoints){if(null!=f.labelStyleWidth)continue;p=f.label;var g=f.linePoints,m=void 0;m="edge"===f.labelAlignTo?p.x<e?g[2][0]-f.labelDistance-a-f.edgeDistance:a+r-f.edgeDistance-g[2][0]-f.labelDistance:"labelLine"===f.labelAlignTo?p.x<e?c-a-f.bleedMargin:a+r-h-f.bleedMargin:p.x<e?p.x-a-f.bleedMargin:a+r-p.x-f.bleedMargin,f.targetTextWidth=m,Kk(f,m)}}Yk(u,e,i,n,1,r,o,a,s,h),Yk(l,e,i,n,-1,r,o,a,s,c);for(d=0;d<t.length;d++){f=t[d];if(!Zk(f)&&f.linePoints){p=f.label,g=f.linePoints;var v="edge"===f.labelAlignTo,y=p.style.padding,b=y?y[1]+y[3]:0,_=p.style.backgroundColor?0:b,x=f.rect.width+_,w=g[1][0]-g[2][0];v?p.x<e?g[2][0]=a+f.edgeDistance+x+f.labelDistance:g[2][0]=a+r-f.edgeDistance-x-f.labelDistance:(p.x<e?g[2][0]=p.x+f.labelDistance:g[2][0]=p.x-f.labelDistance,g[1][0]=g[2][0]+w),g[1][1]=g[2][1]=p.y}}}function Kk(t,e,i){if(void 0===i&&(i=!1),null==t.labelStyleWidth){var n=t.label,r=n.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||i){var h=o.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",e-l);var d=n.getBoundingRect();n.setStyle("width",Math.ceil(d.width)),n.setStyle("backgroundColor",a)}else{var p=e-l,f=e<c?p:i?p>t.unconstrainedWidth?null:p:null;n.setStyle("width",f)}var g=n.getBoundingRect();o.width=g.width;var m=(n.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-h)/2}}}function Zk(t){return"center"===t.position}function Qk(t){var e,i,n=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*Uk,l=n.getLayout("viewRect"),u=n.getLayout("r"),c=l.width,h=l.x,d=l.y,p=l.height;function f(t){t.ignore=!0}function g(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}n.each((function(t){var l=n.getItemGraphicEl(t),d=l.shape,p=l.getTextContent(),m=l.getTextGuideLine(),v=n.getItemModel(t),y=v.getModel("label"),b=y.get("position")||v.get(["emphasis","label","position"]),_=y.get("distanceToLabelLine"),x=y.get("alignTo"),w=Pn(y.get("edgeDistance"),c),S=y.get("bleedMargin"),C=v.getModel("labelLine"),k=C.get("length");k=Pn(k,c);var M=C.get("length2");if(M=Pn(M,c),Math.abs(d.endAngle-d.startAngle)<a)return Object(s["k"])(p.states,f),void(p.ignore=!0);if(g(p)){var O,T,A,I,P=(d.startAngle+d.endAngle)/2,E=Math.cos(P),D=Math.sin(P);e=d.cx,i=d.cy;var L="inside"===b||"inner"===b;if("center"===b)O=d.cx,T=d.cy,I="center";else{var j=(L?(d.r+d.r0)/2*E:d.r*E)+e,R=(L?(d.r+d.r0)/2*D:d.r*D)+i;if(O=j+3*E,T=R+3*D,!L){var B=j+E*(k+u-d.r),F=R+D*(k+u-d.r),N=B+(E<0?-1:1)*M,z=F;O="edge"===x?E<0?h+w:h+c-w:N+(E<0?-_:_),T=z,A=[[j,R],[B,F],[N,z]]}I=L?"center":"edge"===x?E>0?"right":"left":E>0?"left":"right"}var V=Math.PI,q=0,$=y.get("rotate");if(Object(s["z"])($))q=$*(V/180);else if("center"===b)q=0;else if("radial"===$||!0===$){var H=E<0?-P+V:-P;q=H}else if("tangential"===$&&"outside"!==b&&"outer"!==b){var G=Math.atan2(E,D);G<0&&(G=2*V+G);var W=D>0;W&&(G=V+G),q=G-V}if(o=!!q,p.x=O,p.y=T,p.rotation=q,p.setStyle({verticalAlign:"middle"}),L){p.setStyle({align:I});var U=p.states.select;U&&(U.x+=p.x,U.y+=p.y)}else{var Y=p.getBoundingRect().clone();Y.applyTransform(p.getComputedTransform());var X=(p.style.margin||0)+2.1;Y.y-=X/2,Y.height+=X,r.push({label:p,labelLine:m,position:b,len:k,len2:M,minTurnAngle:C.get("minTurnAngle"),maxSurfaceAngle:C.get("maxSurfaceAngle"),surfaceNormal:new ji(E,D),linePoints:A,textAlign:I,labelDistance:_,labelAlignTo:x,edgeDistance:w,bleedMargin:S,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:p.style.width})}l.setTextConfig({inside:L})}})),!o&&t.get("avoidLabelOverlap")&&Xk(r,e,i,u,c,p,h,d);for(var m=0;m<r.length;m++){var v=r[m],y=v.label,b=v.labelLine,_=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:v.textAlign}),_&&(Object(s["k"])(y.states,f),y.ignore=!0);var x=y.states.select;x&&(x.x+=y.x,x.y+=y.y)}if(b){var w=v.linePoints;_||!w?(Object(s["k"])(b.states,f),b.ignore=!0):(Rk(w,v.minTurnAngle),Bk(w,v.surfaceNormal,v.maxSurfaceAngle),b.setShape({points:w}),y.__hostTarget.textGuideLineConfig={anchor:new ji(w[0][0],w[0][1])})}}}function Jk(t,e,i){var n=t.get("borderRadius");if(null==n)return i?{cornerRadius:0}:null;Object(s["t"])(n)||(n=[n,n,n,n]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Object(s["H"])(n,(function(t){return en(t,r)}))}}var tM=function(t){function e(e,i,n){var r=t.call(this)||this;r.z2=2;var o=new ys;return r.setTextContent(o),r.updateData(e,i,n,!0),r}return o(e,t),e.prototype.updateData=function(t,e,i,n){var r=this,o=t.hostModel,a=t.getItemModel(e),l=a.getModel("emphasis"),u=t.getItemLayout(e),c=Object(s["m"])(Jk(a.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))r.setShape(c);else{if(n){r.setShape(c);var h=o.getShallow("animationType");o.ecModel.ssr?(Nl(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=c.cx,r.originY=c.cy):"scale"===h?(r.shape.r=u.r0,Nl(r,{shape:{r:u.r}},o,e)):null!=i?(r.setShape({startAngle:i,endAngle:i}),Nl(r,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,e)):(r.shape.endAngle=u.startAngle,Fl(r,{shape:{endAngle:u.endAngle}},o,e))}else Hl(r),Fl(r,{shape:c},o,e);r.useStyle(t.getItemVisual(e,"style")),Ol(r,a);var d=(u.startAngle+u.endAngle)/2,p=o.get("selectedOffset"),f=Math.cos(d)*p,g=Math.sin(d)*p,m=a.getShallow("cursor");m&&r.attr("cursor",m),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=Object(s["m"])({r:u.r+(l.get("scale")&&l.get("scaleSize")||0)},Jk(l.getModel("itemStyle"),u)),Object(s["m"])(r.ensureState("select"),{x:f,y:g,shape:Jk(a.getModel(["select","itemStyle"]),u)}),Object(s["m"])(r.ensureState("blur"),{shape:Jk(a.getModel(["blur","itemStyle"]),u)});var v=r.getTextGuideLine(),y=r.getTextContent();v&&Object(s["m"])(v.ensureState("select"),{x:f,y:g}),Object(s["m"])(y.ensureState("select"),{x:f,y:g}),Sl(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))}},e.prototype._updateLabel=function(t,e,i){var n=this,r=e.getItemModel(i),o=r.getModel("labelLine"),a=e.getItemVisual(i,"style"),l=a&&a.fill,u=a&&a.opacity;Xl(n,Kl(r),{labelFetcher:e.hostModel,labelDataIndex:i,inheritColor:l,defaultOpacity:u,defaultText:t.getFormattedLabel(i,"normal")||e.getName(i)});var c=n.getTextContent();n.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var h=t.get(["label","position"]);if("outside"!==h&&"outer"!==h)n.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new Tg,this.setTextGuideLine(d)),zk(this,Vk(r),{stroke:l,opacity:Object(s["Q"])(o.get(["lineStyle","opacity"]),u,1)})}},e}(vg),eM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return o(e,t),e.prototype.render=function(t,e,i,n){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=new vg({shape:gk(t,i)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(t){var e=new tM(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var i=a.getItemGraphicEl(e);i.updateData(o,t,r),i.off("click"),s.add(i),o.setItemGraphicEl(t,i)})).remove((function(e){var i=a.getItemGraphicEl(e);$l(i,t,e)})).execute(),Qk(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var r=t[0]-n.cx,o=t[1]-n.cy,a=Math.sqrt(r*r+o*o);return a<=n.r&&a>=n.r0}},e.type="pie",e}(Hm),iM=eM;function nM(t,e,i){e=Object(s["t"])(e)&&{coordDimensions:e}||Object(s["m"])({encodeDefine:t.getEncode()},e);var n=t.getSource(),r=Xw(n,e).dimensions,o=new Yw(r,t);return o.initData(n,i),o}var rM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var i=this._getDataWithEncodedVisual();return i.getItemVisual(t,e)},t}(),oM=rM,aM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return nM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)})},e.prototype.getDataParams=function(e){var i=this.getData(),n=t.prototype.getDataParams.call(this,e),r=[];return i.each(i.mapDimension("value"),(function(t){r.push(t)})),n.percent=Bn(r,e,i.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},e.prototype._defaultLabelLine=function(t){rr(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(xf),sM=aM;function lM(t){return{seriesType:t,reset:function(t,e){var i=t.getData();i.filterSelf((function(t){var e=i.mapDimension("value"),n=i.get(e,t);return!(Object(s["z"])(n)&&!isNaN(n)&&n<0)}))}}}function uM(t){t.registerChartView(iM),t.registerSeriesModel(sM),zv("pie",t.registerAction),t.registerLayout(Object(s["h"])(mk,"pie")),t.registerProcessor(vk("pie")),t.registerProcessor(lM("pie"))}var cM=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,i){return i.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(xf),hM=cM,dM=4,pM=function(){function t(){}return t}(),fM=function(t){function e(e){var i=t.call(this,e)||this;return i._off=0,i.hoverDataIdx=-1,i}return o(e,t),e.prototype.getDefaultShape=function(){return new pM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var i,n=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<dM,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,i=this._off;i<n.length;){var c=n[i++],h=n[i++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=i,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,i=e.points,n=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<i.length;){var a=i[t++],s=i[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-n[0]/2,s-n[1]/2,n[0],n[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var i=this.shape,n=i.points,r=i.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-o/2,c=n[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(t=i[0],e=i[1],n.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,i=e.points,n=e.size,r=n[0],o=n[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<i.length;){var h=i[c++],d=i[c++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new Gi(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(Ba),gM=function(){function t(){this.group=new bn}return t.prototype.updateData=function(t,e){this._clear();var i=this._create();i.setShape({points:t.getLayout("points")}),this._setCommon(i,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var i=2*(t.endIndex-t.startIndex),n=4*t.startIndex*2;e=new Float32Array(e.buffer,n,i)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,i){var n=this._newAdded[0],r=e.getLayout("points"),o=n&&n.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),n.endIndex=t.end,n.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,i)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new fM({cursor:"default"});return this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,i){var n=e.hostModel;i=i||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=i.clipShape||null,t.symbolProxy=ny(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<dM;t.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=bs(t);l.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var i=t.hoverDataIdx;i>=0&&(l.dataIndex=i+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),mM=gM,vM=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this._updateSymbolDraw(n,t);r.updateData(n,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData(),r=this._updateSymbolDraw(n,t);r.incrementalPrepareUpdate(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,i){var n=t.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var r=cC("").reset(t,e,i);r.progress&&r.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},e.prototype._updateSymbolDraw=function(t,e){var i=this._symbolDraw,n=e.pipelineContext,r=n.large;return i&&r===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=r?new mM:new CS,this._isLargeDraw=r,this.group.removeAll()),this.group.add(i.group),i},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Hm),yM=vM,bM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Uc),_M=bM,xM=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}(),wM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ar).models[0]},e.type="cartesian2dAxis",e}(Uc);s["K"](wM,xM);var SM={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},CM=s["I"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},SM),kM=s["I"]({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},SM),MM=s["I"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},kM),OM=s["i"]({logBase:10},kM),TM={category:CM,value:kM,time:MM,log:OM},AM=0,IM=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++AM}return t.createByAxisModel=function(e){var i=e.option,n=i.data,r=n&&Object(s["H"])(n,PM);return new t({categories:r,needCollect:!r,deduplication:!1!==i.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,i=this._needCollect;if(!Object(s["C"])(t)&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=this._getOrCreateMap();return e=n.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(s["f"])(this.categories))},t}();function PM(t){return Object(s["A"])(t)&&null!=t.value?t.value:t+""}var EM=IM,DM={value:1,category:1,time:1,log:1};function LM(t,e,i,n){Object(s["k"])(DM,(function(r,a){var l=Object(s["I"])(Object(s["I"])({},TM[a],!0),n,!0),u=function(t){function i(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e+"Axis."+a,i}return o(i,t),i.prototype.mergeDefaultAndTheme=function(t,e){var i=zc(this),n=i?qc(t):{},r=e.getTheme();Object(s["I"])(t,r.get(a+"Axis")),Object(s["I"])(t,this.getDefaultOption()),t.type=jM(t),i&&Vc(t,n,i)},i.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=EM.createByAxisModel(this))},i.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},i.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},i.type=e+"Axis."+a,i.defaultOption=l,i}(i);t.registerComponentModel(u)})),t.registerSubTypeDefaulter(e+"Axis",jM)}function jM(t){return t.type||(t.data?"category":"value")}var RM=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Xr(RM);var BM=RM;function FM(t){return"interval"===t.type||"log"===t.type}function NM(t,e,i,n){var r={},o=t[1]-t[0],a=r.interval=Wn(o/e,!0);null!=i&&a<i&&(a=r.interval=i),null!=n&&a>n&&(a=r.interval=n);var s=r.intervalPrecision=VM(a),l=r.niceTickExtent=[En(Math.ceil(t[0]/a)*a,s),En(Math.floor(t[1]/a)*a,s)];return $M(l,t),r}function zM(t){var e=Math.pow(10,Gn(t)),i=t/e;return i?2===i?i=3:3===i?i=5:i*=2:i=1,En(i*e)}function VM(t){return Ln(t)+2}function qM(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function $M(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),qM(t,0,e),qM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function HM(t,e){return t>=e[0]&&t<=e[1]}function GM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function WM(t,e){return t*(e[1]-e[0])+e[0]}var UM=function(t){function e(e){var i=t.call(this,e)||this;i.type="ordinal";var n=i.getSetting("ordinalMeta");return n||(n=new EM({})),Object(s["t"])(n)&&(n=new EM({categories:Object(s["H"])(n,(function(t){return Object(s["A"])(t)?t.value:t}))})),i._ordinalMeta=n,i._extent=i.getSetting("extent")||[0,n.categories.length-1],i}return o(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(s["C"])(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),HM(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),GM(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(WM(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push({value:i}),i++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,i=this._ordinalNumbersByTick=[],n=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];i[r]=s,n[s]=r}for(var l=0;r<o;++r){while(null!=n[l])l++;i.push(l),n[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),i=this._ordinalMeta.categories[e];return null==i?"":i+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(BM);BM.registerClass(UM);var YM=UM,XM=En,KM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return o(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return HM(t,this._extent)},e.prototype.normalize=function(t){return GM(t,this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=VM(t)},e.prototype.getTicks=function(t){var e=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;i[0]<n[0]&&(t?o.push({value:XM(n[0]-e,r)}):o.push({value:i[0]}));var s=n[0];while(s<=n[1]){if(o.push({value:s}),s=XM(s+e,r),s===o[o.length-1].value)break;if(o.length>a)return[]}var l=o.length?o[o.length-1].value:n[1];return i[1]>l&&(t?o.push({value:XM(l+e,r)}):o.push({value:i[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;r<e.length;r++){var o=e[r],a=e[r-1],s=0,l=[],u=o.value-a.value,c=u/t;while(s<t-1){var h=XM(a.value+(s+1)*c);h>n[0]&&h<n[1]&&l.push(h),s++}i.push(l)}return i},e.prototype.getLabel=function(t,e){if(null==t)return"";var i=e&&e.precision;null==i?i=Ln(t.value)||0:"auto"===i&&(i=this._intervalPrecision);var n=XM(t.value,i,!0);return vc(n)},e.prototype.calcNiceTicks=function(t,e,i){t=t||5;var n=this._extent,r=n[1]-n[0];if(isFinite(r)){r<0&&(r=-r,n.reverse());var o=NM(n,t,e,i);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var i=e[0];t.fixMax||(e[1]+=i/2),e[0]-=i/2}else e[1]=1;var n=e[1]-e[0];isFinite(n)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=XM(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=XM(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(BM);BM.registerClass(KM);var ZM=KM,QM=function(t,e,i,n){while(i<n){var r=i+n>>>1;t[r][1]<e?i=r+1:n=r}return i},JM=function(t){function e(e){var i=t.call(this,e)||this;return i.type="time",i}return o(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Ju(t.value,Wu[Qu(Ku(this._minLevelUnit))]||Wu.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,i){var n=this.getSetting("useUTC"),r=this.getSetting("locale");return tc(t,e,i,r,n)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,i=[];if(!t)return i;i.push({value:e[0],level:0});var n=this.getSetting("useUTC"),r=lO(this._minLevelUnit,this._approxInterval,n,e);return i=i.concat(r),i.push({value:e[1],level:0}),i},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=qu,e[1]+=qu),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-qu}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,i){t=t||10;var n=this._extent,r=n[1]-n[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=i&&this._approxInterval>i&&(this._approxInterval=i);var o=tO.length,a=Math.min(QM(tO,this._approxInterval,0,o),o-1);this._interval=tO[a][1],this._minLevelUnit=tO[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(s["z"])(t)?t:+$n(t)},e.prototype.contain=function(t){return HM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return GM(this.parse(t),this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.type="time",e}(ZM),tO=[["second",Nu],["minute",zu],["hour",Vu],["quarter-day",6*Vu],["half-day",12*Vu],["day",1.2*qu],["half-week",3.5*qu],["week",7*qu],["month",31*qu],["quarter",95*qu],["half-year",$u/2],["year",$u]];function eO(t,e,i,n){var r=$n(e),o=$n(i),a=function(t){return ic(r,t,n)===ic(o,t,n)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},d=function(){return h()&&a("second")},p=function(){return d()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return p()}}function iO(t,e){return t/=qu,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function nO(t){var e=30*qu;return t/=e,t>6?6:t>3?3:t>2?2:1}function rO(t){return t/=Vu,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function oO(t,e){return t/=e?zu:Nu,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function aO(t){return Wn(t,!0)}function sO(t,e,i){var n=new Date(t);switch(Ku(e)){case"year":case"month":n[hc(i)](0);case"day":n[dc(i)](1);case"hour":n[pc(i)](0);case"minute":n[fc(i)](0);case"second":n[gc(i)](0),n[mc(i)](0)}return n.getTime()}function lO(t,e,i,n){var r=1e4,o=Yu,a=0;function l(t,e,i,r,o,a,s){var l=new Date(e),u=e,c=l[r]();while(u<i&&u<=n[1])s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function u(t,r,o){var a=[],s=!r.length;if(!eO(Ku(t),n[0],n[1],i)){s&&(r=[{value:sO(new Date(n[0]),t,i)},{value:n[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,p=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/qu/365)),p=nc(i),f=cc(i);break;case"half-year":case"quarter":case"month":d=nO(e),p=rc(i),f=hc(i);break;case"week":case"half-week":case"day":d=iO(e,31),p=oc(i),f=dc(i),g=!0;break;case"half-day":case"quarter-day":case"hour":d=rO(e),p=ac(i),f=pc(i);break;case"minute":d=oO(e,!0),p=sc(i),f=fc(i);break;case"second":d=oO(e,!1),p=lc(i),f=gc(i);break;case"millisecond":d=aO(e),p=uc(i),f=mc(i);break}l(d,c,h,p,f,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var c=[],h=[],d=0,p=0,f=0;f<o.length&&a++<r;++f){var g=Ku(o[f]);if(Zu(o[f])){u(o[f],c[c.length-1]||[],h);var m=o[f+1]?Ku(o[f+1]):null;if(g!==m){if(h.length){p=d,h.sort((function(t,e){return t.value-e.value}));for(var v=[],y=0;y<h.length;++y){var b=h[y].value;0!==y&&h[y-1].value===b||(v.push(h[y]),b>=n[0]&&b<=n[1]&&d++)}var _=(n[1]-n[0])/e;if(d>1.5*_&&p>_/1.5)break;if(c.push(v),d>_||t===o[f])break}h=[]}}}var x=Object(s["n"])(Object(s["H"])(c,(function(t){return Object(s["n"])(t,(function(t){return t.value>=n[0]&&t.value<=n[1]&&!t.notAdd}))})),(function(t){return t.length>0})),w=[],S=x.length-1;for(f=0;f<x.length;++f)for(var C=x[f],k=0;k<C.length;++k)w.push({value:C[k].value,level:S-f});w.sort((function(t,e){return t.value-e.value}));var M=[];for(f=0;f<w.length;++f)0!==f&&w[f].value===w[f-1].value||M.push(w[f]);return M}BM.registerClass(JM);var uO=JM,cO=BM.prototype,hO=ZM.prototype,dO=En,pO=Math.floor,fO=Math.ceil,gO=Math.pow,mO=Math.log,vO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new ZM,e._interval=0,e}return o(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,i=this._extent,n=e.getExtent(),r=hO.getTicks.call(this,t);return s["H"](r,(function(t){var e=t.value,r=En(gO(this.base,e));return r=e===i[0]&&this._fixMin?bO(r,n[0]):r,r=e===i[1]&&this._fixMax?bO(r,n[1]):r,{value:r}}),this)},e.prototype.setExtent=function(t,e){var i=this.base;t=mO(t)/mO(i),e=mO(e)/mO(i),hO.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=cO.getExtent.call(this);e[0]=gO(t,e[0]),e[1]=gO(t,e[1]);var i=this._originalScale,n=i.getExtent();return this._fixMin&&(e[0]=bO(e[0],n[0])),this._fixMax&&(e[1]=bO(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=mO(t[0])/mO(e),t[1]=mO(t[1])/mO(e),cO.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=Hn(i),r=t/i*n;r<=.5&&(n*=10);while(!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0)n*=10;var o=[En(fO(e[0]/n)*n),En(pO(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){hO.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=mO(t)/mO(this.base),HM(t,this._extent)},e.prototype.normalize=function(t){return t=mO(t)/mO(this.base),GM(t,this._extent)},e.prototype.scale=function(t){return t=WM(t,this._extent),gO(this.base,t)},e.type="log",e}(BM),yO=vO.prototype;function bO(t,e){return dO(t,Ln(e))}yO.getMinorTicks=hO.getMinorTicks,yO.getLabel=hO.getLabel,BM.registerClass(vO);var _O=vO,xO=function(){function t(t,e,i){this._prepareParams(t,e,i)}return t.prototype._prepareParams=function(t,e,i){i[1]<i[0]&&(i=[NaN,NaN]),this._dataMin=i[0],this._dataMax=i[1];var n=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Object(s["w"])(r)?this._modelMinNum=kO(t,r({min:i[0],max:i[1]})):"dataMin"!==r&&(this._modelMinNum=kO(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(Object(s["w"])(o)?this._modelMaxNum=kO(t,o({min:i[0],max:i[1]})):"dataMax"!==o&&(this._modelMaxNum=kO(t,o)),n)this._axisDataLen=e.getCategories().length;else{var a=e.get("boundaryGap"),l=Object(s["t"])(a)?a:[a||0,a||0];"boolean"===typeof l[0]||"boolean"===typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[en(l[0],1),en(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,i=this._dataMax,n=this._axisDataLen,r=this._boundaryGapInner,o=t?null:i-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?i:this._modelMaxNum,u=null!=a,c=null!=l;null==a&&(a=t?n?0:NaN:e-r[0]*o),null==l&&(l=t?n?n-1:NaN:i+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==l||!isFinite(l))&&(l=NaN);var h=Object(s["l"])(a)||Object(s["l"])(l)||t&&!n;this._needCrossZero&&(a>0&&l>0&&!u&&(a=0),a<0&&l<0&&!c&&(l=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(a=d,u=!0),null!=p&&(l=p,c=!0),{min:a,max:l,minFixed:u,maxFixed:c,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[SO[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var i=wO[t];this[i]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),wO={min:"_determinedMin",max:"_determinedMax"},SO={min:"_dataMin",max:"_dataMax"};function CO(t,e,i){var n=t.rawExtentInfo;return n||(n=new xO(t,e,i),t.rawExtentInfo=n,n)}function kO(t,e){return null==e?null:Object(s["l"])(e)?NaN:t.parse(e)}function MO(t,e){var i=t.type,n=CO(t,e,t.getExtent()).calculate();t.setBlank(n.isBlank);var r=n.min,o=n.max,a=e.ecModel;if(a&&"time"===i){var l=bC("bar",a),u=!1;if(s["k"](l,(function(t){u=u||t.getBaseAxis()===e.axis})),u){var c=xC(l),h=OO(r,o,e,c);r=h.min,o=h.max}}return{extent:[r,o],fixMin:n.minFixed,fixMax:n.maxFixed}}function OO(t,e,i,n){var r=i.axis.getExtent(),o=r[1]-r[0],a=SC(n,i.axis);if(void 0===a)return{min:t,max:e};var l=1/0;s["k"](a,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;s["k"](a,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,h=e-t,d=1-(l+u)/o,p=h/d-h;return e+=p*(u/c),t-=p*(l/c),{min:t,max:e}}function TO(t,e){var i=e,n=MO(t,i),r=n.extent,o=i.get("splitNumber");t instanceof _O&&(t.base=i.get("logBase"));var a=t.type,s=i.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?i.get("minInterval"):null,maxInterval:l?i.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function AO(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new YM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new uO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(BM.getClass(e)||ZM)}}function IO(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function PO(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(i,n){return t.scale.getFormattedLabel(i,n,e)}}(e):s["C"](e)?function(e){return function(i){var n=t.scale.getLabel(i),r=e.replace("{value}",null!=n?n:"");return r}}(e):s["w"](e)?function(e){return function(n,r){return null!=i&&(r=n.value-i),e(EO(t,n),r,null!=n.level?{level:n.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function EO(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function DO(t){var e=t.model,i=t.scale;if(e.get(["axisLabel","show"])&&!i.isBlank()){var n,r,o=i.getExtent();i instanceof YM?r=i.count():(n=i.getTicks(),r=n.length);var a,s=t.getLabelModel(),l=PO(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var h=n?n[c]:{value:o[0]+c},d=l(h,c),p=s.getTextRect(d),f=LO(p,s.get("rotate")||0);a?a.union(f):a=f}return a}}function LO(t,e){var i=e*Math.PI/180,n=t.width,r=t.height,o=n*Math.abs(Math.cos(i))+Math.abs(r*Math.sin(i)),a=n*Math.abs(Math.sin(i))+Math.abs(r*Math.cos(i)),s=new Gi(t.x,t.y,o,a);return s}function jO(t){var e=t.get("interval");return null==e?"auto":e}function RO(t){return"category"===t.type&&0===jO(t.getLabelModel())}function BO(t,e){var i={};return s["k"](t.mapDimensionsAll(e),(function(e){i[aS(t,e)]=!0})),s["F"](i)}function FO(t,e,i){e&&s["k"](BO(e,i),(function(i){var n=e.getApproximateExtent(i);n[0]<t[0]&&(t[0]=n[0]),n[1]>t[1]&&(t[1]=n[1])}))}var NO=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return s["H"](this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),s["n"](this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),zO=NO,VO=["x","y"];function qO(t){return"interval"===t.type||"time"===t.type}var $O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=VO,e}return o(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(qO(t)&&qO(e)){var i=t.getExtent(),n=e.getExtent(),r=this.dataToPoint([i[0],n[0]]),o=this.dataToPoint([i[1],n[1]]),a=i[1]-i[0],s=n[1]-n[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-i[0]*l,h=r[1]-n[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=xi([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var i=this.dataToPoint(t),n=this.dataToPoint(e),r=this.getArea(),o=new Gi(i[0],i[1],n[0]-i[0],n[1]-i[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,i){i=i||[];var n=t[0],r=t[1];if(this._transform&&null!=n&&isFinite(n)&&null!=r&&isFinite(r))return M(i,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.toGlobalCoord(o.dataToCoord(n,e)),i[1]=a.toGlobalCoord(a.dataToCoord(r,e)),i},e.prototype.clampData=function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),o=n.getExtent(),a=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var i=[];if(this._invTransform)return M(i,t,this._invTransform);var n=this.getAxis("x"),r=this.getAxis("y");return i[0]=n.coordToData(n.toLocalCoord(t[0]),e),i[1]=r.coordToData(r.toLocalCoord(t[1]),e),i},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n;return new Gi(i,n,r,o)},e}(zO),HO=$O,GO=kr();function WO(t){return"category"===t.type?YO(t):ZO(t)}function UO(t,e){return"category"===t.type?KO(t,e):{ticks:s["H"](t.scale.getTicks(),(function(t){return t.value}))}}function YO(t){var e=t.getLabelModel(),i=XO(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function XO(t,e){var i,n,r=QO(t,"labels"),o=jO(e),a=JO(r,o);return a||(s["w"](o)?i=oT(t,o):(n="auto"===o?eT(t):o,i=rT(t,n)),tT(r,o,{labels:i,labelCategoryInterval:n}))}function KO(t,e){var i,n,r=QO(t,"ticks"),o=jO(e),a=JO(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(i=[]),s["w"](o))i=oT(t,o,!0);else if("auto"===o){var l=XO(t,t.getLabelModel());n=l.labelCategoryInterval,i=s["H"](l.labels,(function(t){return t.tickValue}))}else n=o,i=rT(t,n,!0);return tT(r,o,{ticks:i,tickCategoryInterval:n})}function ZO(t){var e=t.scale.getTicks(),i=PO(t);return{labels:s["H"](e,(function(e,n){return{level:e.level,formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function QO(t,e){return GO(t)[e]||(GO(t)[e]=[])}function JO(t,e){for(var i=0;i<t.length;i++)if(t[i].key===e)return t[i].value}function tT(t,e,i){return t.push({key:e,value:i}),i}function eT(t){var e=GO(t).autoInterval;return null!=e?e:GO(t).autoInterval=t.calculateCategoryInterval()}function iT(t){var e=nT(t),i=PO(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(n)),h=Math.abs(u*Math.sin(n)),d=0,p=0;l<=o[1];l+=s){var f=0,g=0,m=Zi(i({value:l}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var v=d/c,y=p/h;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),_=GO(t.model),x=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-b)<=1&&Math.abs(S-a)<=1&&w>b&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?b=w:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=x[0],_.axisExtent1=x[1]),b}function nT(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function rT(t,e,i){var n=PO(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=RO(t),d=a.get("showMinLabel")||h,p=a.get("showMaxLabel")||h;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(i?t:{formattedLabel:n(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function oT(t,e,i){var n=t.scale,r=PO(t),o=[];return s["k"](n.getTicks(),(function(t){var a=n.getLabel(t),s=t.value;e(t.value,a)&&o.push(i?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var aT=[0,1],sT=function(){function t(t,e,i){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=i||[0,0]}return t.prototype.contain=function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Rn(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var i=this._extent;i[0]=t,i[1]=e},t.prototype.dataToCoord=function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),lT(i,n.count())),In(t,aT,i,e)},t.prototype.coordToData=function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),lT(i,n.count()));var r=In(t,i,aT,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=UO(this,e),n=i.ticks,r=Object(s["H"])(n,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get("alignWithLabel");return uT(this,r,o,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),n=Object(s["H"])(i,(function(t){return Object(s["H"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},t.prototype.getViewLabels=function(){return WO(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},t.prototype.calculateCategoryInterval=function(){return iT(this)},t}();function lT(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}function uT(t,e,i,n){var r=e.length;if(t.onBand&&!i&&r){var o,a,l=t.getExtent();if(1===r)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var u=e[r-1].tickValue-e[0].tickValue,c=(e[r-1].coord-e[0].coord)/u;Object(s["k"])(e,(function(t){t.coord-=c/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+c*a},e.push(o)}var d=l[0]>l[1];p(e[0].coord,l[0])&&(n?e[0].coord=l[0]:e.shift()),n&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:e.pop()),n&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=En(t),e=En(e),d?t>e:t<e}}var cT=sT,hT=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(cT),dT=hT;function pT(t,e,i){i=i||{};var n=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],l=r.position,u=a?"onZero":l,c=r.dim,h=n.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===c?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var m=a.toGlobalCoord(a.dataToCoord(0));g[p.onZero]=Math.max(Math.min(m,g[1]),g[0])}o.position=["y"===c?g[p[u]]:d[0],"x"===c?g[p[u]]:d[3]],o.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=v[l],o.labelOffset=a?g[p[l]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),s["O"](i.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var y=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===u?-y:y,o.z2=1,o}function fT(t){return"cartesian2d"===t.get("coordinateSystem")}function gT(t){var e={xAxisModel:null,yAxisModel:null};return s["k"](e,(function(i,n){var r=n.replace(/Model$/,""),o=t.getReferringComponents(r,Ar).models[0];e[n]=o})),e}var mT=Math.log;function vT(t,e,i){var n=ZM.prototype,r=n.getTicks.call(i),o=n.getTicks.call(i,!0),a=r.length-1,s=n.getInterval.call(i),l=MO(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var d=mT(t.base);u=[mT(u[0])/d,mT(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var p=n.getExtent.call(t);c&&(u[0]=p[0]),h&&(u[1]=p[1]);var f=n.getInterval.call(t),g=u[0],m=u[1];if(c&&h)f=(m-g)/a;else if(c){m=u[0]+f*a;while(m<u[1]&&isFinite(m)&&isFinite(u[1]))f=zM(f),m=u[0]+f*a}else if(h){g=u[1]-f*a;while(g>u[0]&&isFinite(g)&&isFinite(u[0]))f=zM(f),g=u[1]-f*a}else{var v=t.getTicks().length-1;v>a&&(f=zM(f));var y=f*a;m=Math.ceil(u[1]/f)*f,g=En(m-y),g<0&&u[0]>=0?(g=0,m=En(y)):m>0&&u[1]<=0&&(m=0,g=-En(y))}var b=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;n.setExtent.call(t,g+f*b,m+f*_),n.setInterval.call(t,f),(b||_)&&n.setNiceExtent.call(t,g+f,m-f)}var yT=function(){function t(t,e,i){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=VO,this._initCartesian(t,e,i),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var i=this._axesMap;function n(t){var e,i=Object(s["F"])(t),n=i.length;if(n){for(var r=[],o=n-1;o>=0;o--){var a=+i[o],l=t[a],u=l.model,c=l.scale;FM(c)&&u.get("alignTicks")&&null==u.get("interval")?r.push(l):(TO(c,u),FM(c)&&(e=l))}r.length&&(e||(e=r.pop(),TO(e.scale,e.model)),Object(s["k"])(r,(function(t){vT(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),n(i.x),n(i.y);var r={};Object(s["k"])(i.x,(function(t){_T(i,"y",t,r)})),Object(s["k"])(i.y,(function(t){_T(i,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,i){var n=t.getBoxLayoutParams(),r=!i&&t.get("containLabel"),o=Bc(n,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function l(){Object(s["k"])(a,(function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,o.height],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),wT(t,e?o.x:o.y)}))}l(),r&&(Object(s["k"])(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=DO(t);if(e){var i=t.isHorizontal()?"height":"width",n=t.model.get(["axisLabel","margin"]);o[i]-=e[i]+n,"top"===t.position?o.y+=e.height+n:"left"===t.position&&(o.x+=e.width+n)}}})),l()),Object(s["k"])(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i)return i[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var i="x"+t+"y"+e;return this._coordsMap[i]}Object(s["A"])(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===t||r[n].getAxis("y").index===e)return r[n]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},t.prototype.convertFromPixel=function(t,e,i){var n=this._findConvertTarget(e);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},t.prototype._findConvertTarget=function(t){var e,i,n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",Ar).models[0],o=t.yAxisModel||n&&n.getReferringComponents("yAxis",Ar).models[0],a=t.gridModel,l=this._coordsList;if(n)e=n.coordinateSystem,Object(s["r"])(l,e)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)i=this.getAxis("x",r.componentIndex);else if(o)i=this.getAxis("y",o.componentIndex);else if(a){var u=a.coordinateSystem;u===this&&(e=this._coordsList[0])}return{cartesian:e,axis:i}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,i){var n=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function u(e){return function(i,n){if(bT(i,t)){var s=i.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=o.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=o.left?"right":"left"),o[s]=!0;var u=new dT(e,AO(i),[0,0],i.get("type"),s),c="category"===u.type;u.onBand=c&&i.get("boundaryGap"),u.inverse=i.get("inverse"),i.axis=u,u.model=i,u.grid=r,u.index=n,r._axesList.push(u),a[e][n]=u,l[e]++}}}this._axesMap=a,Object(s["k"])(a.x,(function(e,i){Object(s["k"])(a.y,(function(r,o){var a="x"+i+"y"+o,s=new HO(a);s.master=n,s.model=t,n._coordsMap[a]=s,n._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function i(t,e){Object(s["k"])(BO(t,e.dim),(function(i){e.scale.unionExtentFromData(t,i)}))}Object(s["k"])(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(fT(t)){var n=gT(t),r=n.xAxisModel,o=n.yAxisModel;if(!bT(r,e)||!bT(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");i(s,l),i(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],i=[];return Object(s["k"])(this.getCartesians(),(function(n){var r=null!=t&&"auto"!==t?n.getAxis(t):n.getBaseAxis(),o=n.getOtherAxis(r);Object(s["r"])(e,r)<0&&e.push(r),Object(s["r"])(i,o)<0&&i.push(o)})),{baseAxes:e,otherAxes:i}},t.create=function(e,i){var n=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,i);a.name="grid_"+o,a.resize(r,i,!0),r.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if(fT(t)){var e=gT(t),i=e.xAxisModel,n=e.yAxisModel,r=i.getCoordSysModel();0;var o=r.coordinateSystem;t.coordinateSystem=o.getCartesian(i.componentIndex,n.componentIndex)}})),n},t.dimensions=VO,t}();function bT(t,e){return t.getCoordSysModel()===e}function _T(t,e,i,n){i.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=i.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)xT(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&xT(o[u])&&!n[c(o[u])]){r=o[u];break}r&&(n[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function xT(t){return t&&"category"!==t.type&&"time"!==t.type&&IO(t)}function wT(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}var ST=yT,CT=Math.PI,kT=function(){function t(t,e){this.group=new bn,this.opt=e,this.axisModel=t,Object(s["i"])(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var i=new bn({x:e.position[0],y:e.position[1],rotation:e.rotation});i.updateTransform(),this._transformGroup=i}return t.prototype.hasBuilder=function(t){return!!MT[t]},t.prototype.add=function(t){MT[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,i){var n,r,o=zn(e-t);return Vn(o)?(r=i>0?"top":"bottom",n="center"):Vn(o-CT)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=o>0&&o<CT?i>0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),MT={axisLine:function(t,e,i,n){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=n.transform,l=[o[0],0],u=[o[1],0];a&&(M(l,l,a),M(u,u,a));var c=Object(s["m"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Eg({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});h.anid="line",i.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);Object(s["C"])(d)&&(d=[d,d]),(Object(s["C"])(p)||Object(s["z"])(p))&&(p=[p,p]);var f=oy(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],m=p[1];Object(s["k"])([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((l[0]-u[0])*(l[0]-u[0])+(l[1]-u[1])*(l[1]-u[1]))}],(function(e,n){if("none"!==d[n]&&null!=d[n]){var r=ny(d[n],-g/2,-m/2,g,m,c.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:l[0]+o*Math.cos(t.rotation),y:l[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),i.add(r)}}))}}},axisTickLabel:function(t,e,i,n){var r=DT(i,n,e,t),o=jT(i,n,e,t);if(TT(e,o,r),LT(i,n,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=qk(Object(s["H"])(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));Wk(a)}},axisName:function(t,e,i,n){var r=Object(s["O"])(t.axisName,e.get("name"));if(r){var o,a,l=e.get("nameLocation"),u=t.nameDirection,c=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,d=e.axis.getExtent(),p=d[0]>d[1]?-1:1,f=["start"===l?d[0]-p*h:"end"===l?d[1]+p*h:(d[0]+d[1])/2,PT(l)?t.labelOffset+u*h:0],g=e.get("nameRotate");null!=g&&(g=g*CT/180),PT(l)?o=kT.innerTextLayout(t.rotation,null!=g?g:t.rotation,u):(o=OT(t.rotation,l,g||0,d),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var m=c.getFont(),v=e.get("nameTruncate",!0)||{},y=v.ellipsis,b=Object(s["O"])(t.nameTruncateMaxWidth,v.maxWidth,a),_=new ys({x:f[0],y:f[1],rotation:o.rotation,silent:kT.isLabelSilent(e),style:Zl(c,{text:r,font:m,overflow:"truncate",width:b,ellipsis:y,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Dm({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=kT.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,bs(_).eventData=x}n.add(_),_.updateTransform(),i.add(_),_.decomposeTransform()}}};function OT(t,e,i,n){var r,o,a=zn(i-t),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return Vn(a-CT/2)?(o=l?"bottom":"top",r="center"):Vn(a-1.5*CT)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*CT&&a>CT/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function TT(t,e,i){if(!RO(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],i=i||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],c=i[1],h=i[i.length-1],d=i[i.length-2];!1===n?(AT(o),AT(u)):IT(o,a)&&(n?(AT(a),AT(c)):(AT(o),AT(u))),!1===r?(AT(s),AT(h)):IT(l,s)&&(r?(AT(l),AT(d)):(AT(s),AT(h)))}}function AT(t){t&&(t.ignore=!0)}function IT(t,e){var i=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(i&&n){var r=gi([]);return bi(r,r,-t.rotation),i.applyTransform(vi([],r,t.getLocalTransform())),n.applyTransform(vi([],r,e.getLocalTransform())),i.intersect(n)}}function PT(t){return"middle"===t||"center"===t}function ET(t,e,i,n,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=i,e&&(M(a,a,e),M(s,s,e));var c=new Eg({subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}function DT(t,e,i,n){var r=i.axis,o=i.getModel("axisTick"),a=o.get("show");if("auto"===a&&n.handleAutoShown&&(a=n.handleAutoShown("axisTick")),a&&!r.scale.isBlank()){for(var l=o.getModel("lineStyle"),u=n.tickDirection*o.get("length"),c=r.getTicksCoords(),h=ET(c,e.transform,u,Object(s["i"])(l.getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<h.length;d++)t.add(h[d]);return h}}function LT(t,e,i,n){var r=i.axis,o=i.getModel("minorTick");if(o.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var l=o.getModel("lineStyle"),u=n*o.get("length"),c=Object(s["i"])(l.getLineStyle(),Object(s["i"])(i.getModel("axisTick").getLineStyle(),{stroke:i.get(["axisLine","lineStyle","color"])})),h=0;h<a.length;h++)for(var d=ET(a[h],e.transform,u,c,"minorticks_"+h),p=0;p<d.length;p++)t.add(d[p])}}function jT(t,e,i,n){var r=i.axis,o=Object(s["O"])(n.axisLabelShow,i.get(["axisLabel","show"]));if(o&&!r.scale.isBlank()){var a=i.getModel("axisLabel"),l=a.get("margin"),u=r.getViewLabels(),c=(Object(s["O"])(n.labelRotate,a.get("rotate"))||0)*CT/180,h=kT.innerTextLayout(n.rotation,c,n.labelDirection),d=i.getCategories&&i.getCategories(!0),p=[],f=kT.isLabelSilent(i),g=i.get("triggerEvent");return Object(s["k"])(u,(function(o,u){var c="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,m=o.formattedLabel,v=o.rawLabel,y=a;if(d&&d[c]){var b=d[c];Object(s["A"])(b)&&b.textStyle&&(y=new xu(b.textStyle,a,i.ecModel))}var _=y.getTextColor()||i.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(c),w=new ys({x:x,y:n.labelOffset+n.labelDirection*l,rotation:h.rotation,silent:f,z2:10+(o.level||0),style:Zl(y,{text:m,align:y.getShallow("align",!0)||h.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||h.textVerticalAlign,fill:Object(s["w"])(_)?_("category"===r.type?v:"value"===r.type?c+"":c,u):_})});if(w.anid="label_"+c,g){var S=kT.makeAxisEventDataBase(i);S.targetType="axisLabel",S.value=v,S.tickIndex=u,"category"===r.type&&(S.dataIndex=c),bs(w).eventData=S}e.add(w),w.updateTransform(),p.push(w),t.add(w),w.decomposeTransform()})),p}}var RT=kT;function BT(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return FT(i,t,e),i.seriesInvolved&&zT(i,t),i}function FT(t,e,i){var n=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];Object(s["k"])(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var l=UT(i.model),u=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=i;var c=i.model,h=c.getModel("tooltip",n);if(Object(s["k"])(i.getAxes(),Object(s["h"])(g,!1,null)),i.getTooltipAxes&&n&&h.get("show")){var d="axis"===h.get("trigger"),p="cross"===h.get(["axisPointer","type"]),f=i.getTooltipAxes(h.get(["axisPointer","axis"]));(d||p)&&Object(s["k"])(f.baseAxes,Object(s["h"])(g,!p||"cross",d)),p&&Object(s["k"])(f.otherAxes,Object(s["h"])(g,"cross",!1))}}function g(n,s,l){var c=l.model.getModel("axisPointer",r),d=c.get("show");if(d&&("auto"!==d||n||WT(c))){null==s&&(s=c.get("triggerTooltip")),c=n?NT(l,h,r,e,n,s):c;var p=c.get("snap"),f=UT(l.model),g=s||p||"category"===l.type,m=t.axesInfo[f]={key:f,axis:l,coordSys:i,axisPointerModel:c,triggerTooltip:s,involveSeries:g,snap:p,useHandle:WT(c),seriesModels:[],linkGroup:null};u[f]=m,t.seriesInvolved=t.seriesInvolved||g;var v=VT(o,l);if(null!=v){var y=a[v]||(a[v]={axesInfo:{}});y.axesInfo[f]=m,y.mapper=o[v].mapper,m.linkGroup=y}}}}))}function NT(t,e,i,n,r,o){var a=e.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};Object(s["k"])(l,(function(t){u[t]=Object(s["d"])(a.get(t))})),u.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(u.type="line");var c=u.label||(u.label={});if(null==c.show&&(c.show=!1),"cross"===r){var h=a.get(["label","show"]);if(c.show=null==h||h,!o){var d=u.lineStyle=a.get("crossStyle");d&&Object(s["i"])(c,d.textStyle)}}return t.model.getModel("axisPointer",new xu(u,i,n))}function zT(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&Object(s["k"])(t.coordSysAxesInfo[UT(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function VT(t,e){for(var i=e.model,n=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(qT(o[n+"AxisId"],i.id)||qT(o[n+"AxisIndex"],i.componentIndex)||qT(o[n+"AxisName"],i.name))return r}}function qT(t,e){return"all"===t||Object(s["t"])(t)&&Object(s["r"])(t,e)>=0||t===e}function $T(t){var e=HT(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,o=i.get("status"),a=i.get("value");null!=a&&(a=n.parse(a));var s=WT(i);null==o&&(r.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function HT(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[UT(t)]}function GT(t){var e=HT(t);return e&&e.axisPointerModel}function WT(t){return!!t.get(["handle","show"])}function UT(t){return t.type+"||"+t.id}var YT={},XT=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(e,i,n,r){this.axisPointerClass&&$T(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},e.prototype.updateAxisPointer=function(t,e,i,n){this._doUpdateAxisPointerClass(t,i,!1)},e.prototype.remove=function(t,e){var i=this._axisPointer;i&&i.remove(e)},e.prototype.dispose=function(e,i){this._disposeAxisPointer(i),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,i,n){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=GT(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,i,n):this._disposeAxisPointer(i)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){YT[t]=e},e.getAxisPointerClass=function(t){return t&&YT[t]},e.type="axis",e}(Sf),KT=XT,ZT=kr();function QT(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitArea"),a=o.getModel("areaStyle"),l=a.get("color"),u=n.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var h=l.length,d=ZT(t).splitAreaColors,p=s["f"](),f=0;if(d)for(var g=0;g<c.length;g++){var m=d.get(c[g].tickValue);if(null!=m){f=(m+(h-1)*g)%h;break}}var v=r.toGlobalCoord(c[0].coord),y=a.getAreaStyle();l=s["t"](l)?l:[l];for(g=1;g<c.length;g++){var b=r.toGlobalCoord(c[g].coord),_=void 0,x=void 0,w=void 0,S=void 0;r.isHorizontal()?(_=v,x=u.y,w=b-_,S=u.height,v=_+w):(_=u.x,x=v,w=u.width,S=b-x,v=x+S);var C=c[g-1].tickValue;null!=C&&p.set(C,f),e.add(new ts({anid:null!=C?"area_"+C:null,shape:{x:_,y:x,width:w,height:S},style:s["i"]({fill:l[f]},y),autoBatch:!0,silent:!0})),f=(f+1)%h}ZT(t).splitAreaColors=p}}}function JT(t){ZT(t).splitAreaColors=null}var tA=["axisLine","axisTickLabel","axisName"],eA=["splitArea","splitLine","minorSplitLine"],iA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="CartesianAxisPointer",i}return o(e,t),e.prototype.render=function(e,i,n,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new bn,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),l=pT(a,e),u=new RT(e,s["m"]({handleAutoShown:function(t){for(var i=a.coordinateSystem.getCartesians(),n=0;n<i.length;n++)if(FM(i[n].getOtherAxis(e.axis).scale))return!0;return!1}},l));s["k"](tA,u.add,u),this._axisGroup.add(u.getGroup()),s["k"](eA,(function(t){e.get([t,"show"])&&nA[t](this,this._axisGroup,e,a)}),this);var c=r&&"changeAxisOrder"===r.type&&r.isInitSort;c||km(o,this._axisGroup,e),t.prototype.render.call(this,e,i,n,r)}},e.prototype.remove=function(){JT(this)},e.type="cartesianAxis",e}(KT),nA={splitLine:function(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),l=a.get("color");l=s["t"](l)?l:[l];for(var u=n.coordinateSystem.getRect(),c=r.isHorizontal(),h=0,d=r.getTicksCoords({tickModel:o}),p=[],f=[],g=a.getLineStyle(),m=0;m<d.length;m++){var v=r.toGlobalCoord(d[m].coord);c?(p[0]=v,p[1]=u.y,f[0]=v,f[1]=u.y+u.height):(p[0]=u.x,p[1]=v,f[0]=u.x+u.width,f[1]=v);var y=h++%l.length,b=d[m].tickValue;e.add(new Eg({anid:null!=b?"line_"+d[m].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:f[0],y2:f[1]},style:s["i"]({stroke:l[y]},g),silent:!0}))}}},minorSplitLine:function(t,e,i,n){var r=i.axis,o=i.getModel("minorSplitLine"),a=o.getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=r.isHorizontal(),u=r.getMinorTicksCoords();if(u.length)for(var c=[],h=[],d=a.getLineStyle(),p=0;p<u.length;p++)for(var f=0;f<u[p].length;f++){var g=r.toGlobalCoord(u[p][f].coord);l?(c[0]=g,c[1]=s.y,h[0]=g,h[1]=s.y+s.height):(c[0]=s.x,c[1]=g,h[0]=s.x+s.width,h[1]=g),e.add(new Eg({anid:"minor_line_"+u[p][f].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:d,silent:!0}))}},splitArea:function(t,e,i,n){QT(t,e,i,n)}},rA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="xAxis",e}(iA),oA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=rA.type,e}return o(e,t),e.type="yAxis",e}(iA),aA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return o(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new ts({shape:t.coordinateSystem.getRect(),style:Object(s["i"])({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Sf),sA={offset:0};function lA(t){t.registerComponentView(aA),t.registerComponentModel(_M),t.registerCoordinateSystem("cartesian2d",ST),LM(t,"x",wM,sA),LM(t,"y",wM,sA),t.registerComponentView(rA),t.registerComponentView(oA),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function uA(t){A_(lA),t.registerSeriesModel(hM),t.registerChartView(yM),t.registerLayout(cC("scatter"))}function cA(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),i=[],n=t.coordinateSystem;if(n){var r=n.getIndicatorAxes();s["k"](r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){i[e]=i[e]||[];var r=n.dataToPoint(t,o);i[e][o]=hA(r)?r:dA(n)}))})),e.each((function(t){var r=s["o"](i[t],(function(t){return hA(t)}))||dA(n);i[t].push(r.slice()),e.setItemLayout(t,i[t])}))}}))}function hA(t){return!isNaN(t[0])&&!isNaN(t[1])}function dA(t){return[t.cx,t.cy]}function pA(t){var e=t.polar;if(e){s["t"](e)||(e=[e]);var i=[];s["k"](e,(function(e,n){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],s["t"](t.radar)||(t.radar=[t.radar]),t.radar.push(e)):i.push(e)})),t.polar=i}s["k"](t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var fA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var r=t.coordinateSystem,o=this.group,a=t.getData(),l=this._data;function u(t,e){var i=t.getItemVisual(e,"symbol")||"circle";if("none"!==i){var n=ry(t.getItemVisual(e,"symbolSize")),r=ny(i,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:n[0]/2,scaleY:n[1]/2,rotation:o*Math.PI/180||0}),r}}function c(e,i,r,o,a,s){r.removeAll();for(var l=0;l<i.length-1;l++){var c=u(o,a);c&&(c.__dimIdx=l,e[l]?(c.setPosition(e[l]),n[s?"initProps":"updateProps"](c,{x:i[l][0],y:i[l][1]},t,a)):c.setPosition(i[l]),r.add(c))}}function h(t){return s["H"](t,(function(t){return[r.cx,r.cy]}))}a.diff(l).add((function(e){var i=a.getItemLayout(e);if(i){var n=new kg,r=new Tg,o={shape:{points:i}};n.shape.points=h(i),r.shape.points=h(i),Nl(n,o,t,e),Nl(r,o,t,e);var s=new bn,l=new bn;s.add(r),s.add(n),s.add(l),c(r.shape.points,i,l,a,e,!0),a.setItemGraphicEl(e,s)}})).update((function(e,i){var n=l.getItemGraphicEl(i),r=n.childAt(0),o=n.childAt(1),s=n.childAt(2),u={shape:{points:a.getItemLayout(e)}};u.shape.points&&(c(r.shape.points,u.shape.points,s,a,e,!1),Hl(o),Hl(r),Fl(r,u,t),Fl(o,u,t),a.setItemGraphicEl(e,n))})).remove((function(t){o.remove(l.getItemGraphicEl(t))})).execute(),a.eachItemGraphicEl((function(t,e){var i=a.getItemModel(e),n=t.childAt(0),r=t.childAt(1),l=t.childAt(2),u=a.getItemVisual(e,"style"),c=u.fill;o.add(t),n.useStyle(s["i"](i.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Ol(n,i,"lineStyle"),Ol(r,i,"areaStyle");var h=i.getModel("areaStyle"),d=h.isEmpty()&&h.parentModel.isEmpty();r.ignore=d,s["k"](["emphasis","select","blur"],(function(t){var e=i.getModel([t,"areaStyle"]),n=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=n&&d})),r.useStyle(s["i"](h.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var p=i.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();l.eachChild((function(t){if(t instanceof Ga){var n=t.style;t.useStyle(s["m"]({image:n.image,x:n.x,y:n.y,width:n.width,height:n.height},u))}else t.useStyle(u),t.setColor(c),t.style.strokeNoScale=!0;var r=t.ensureState("emphasis");r.style=s["d"](f);var o=a.getStore().get(a.getDimensionIndex(t.__dimIdx),e);(null==o||isNaN(o))&&(o=""),Xl(t,Kl(i),{labelFetcher:a.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:o,inheritColor:c,defaultOpacity:u.opacity})})),Sl(t,p.get("focus"),p.get("blurScope"),p.get("disabled"))})),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Hm),gA=fA,mA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this))},e.prototype.getInitialData=function(t,e){return nM(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.coordinateSystem,o=r.getIndicatorAxes(),a=this.getData().getName(t),l=""===a?this.name:a,u=rf(this,t);return Hp("section",{header:l,sortBlocks:!0,blocks:s["H"](o,(function(e){var i=n.get(n.mapDimension(e.dim),t);return Hp("nameValue",{markerType:"subItem",markerColor:u,name:e.name,value:i,sortParam:i})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,n=e.getValues(s["H"](i.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=n.length;r<o;r++)if(!isNaN(n[r])){var a=i.getIndicatorAxes();return i.coordToPoint(a[r].dataToCoord(n[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(xf),vA=mA,yA=TM.value;function bA(t,e){return s["i"]({show:e},t)}var _A=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),l=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),h=this.get("triggerEvent"),d=s["H"](this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var p=a;null!=d.color&&(p=s["i"]({color:d.color},a));var f=s["I"](s["d"](d),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:o,name:d.text,showName:l,nameLocation:"end",nameGap:c,nameTextStyle:p,triggerEvent:h},!1);if(s["C"](u)){var g=f.name;f.name=u.replace("{value}",null!=g?g:"")}else s["w"](u)&&(f.name=u(f.name,f));var m=new xu(f,null,this.ecModel);return s["K"](m,xM.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:s["I"]({lineStyle:{color:"#bbb"}},yA.axisLine),axisLabel:bA(yA.axisLabel,!1),axisTick:bA(yA.axisTick,!1),splitLine:bA(yA.splitLine,!0),splitArea:bA(yA.splitArea,!0),indicator:[]},e}(Uc),xA=_A,wA=["axisLine","axisTickLabel","axisName"],SA=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=this.group;n.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=s["H"](i,(function(t){var i=t.model.get("showName")?t.name:"",n=new RT(t.model,{axisName:i,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));s["k"](n,(function(t){s["k"](wA,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),l=o.getModel("areaStyle"),u=r.get("show"),c=o.get("show"),h=a.get("color"),d=l.get("color"),p=s["t"](h)?h:[h],f=s["t"](d)?d:[d],g=[],m=[];if("circle"===n)for(var v=i[0].getTicksCoords(),y=e.cx,b=e.cy,_=0;_<v.length;_++){if(u){var x=A(g,p,_);g[x].push(new Kf({shape:{cx:y,cy:b,r:v[_].coord}}))}if(c&&_<v.length-1){x=A(m,f,_);m[x].push(new _g({shape:{cx:y,cy:b,r0:v[_].coord,r:v[_+1].coord}}))}}else{var w,S=s["H"](i,(function(t,i){var n=t.getTicksCoords();return w=null==w?n.length-1:Math.min(n.length-1,w),s["H"](n,(function(t){return e.coordToPoint(t.coord,i)}))})),C=[];for(_=0;_<=w;_++){for(var k=[],M=0;M<i.length;M++)k.push(S[M][_]);if(k[0]&&k.push(k[0].slice()),u){x=A(g,p,_);g[x].push(new Tg({shape:{points:k}}))}if(c&&C){x=A(m,f,_-1);m[x].push(new kg({shape:{points:k.concat(C)}}))}C=k.slice().reverse()}}var O=a.getLineStyle(),T=l.getAreaStyle();s["k"](m,(function(t,e){this.group.add(gm(t,{style:s["i"]({stroke:"none",fill:f[e%f.length]},T),silent:!0}))}),this),s["k"](g,(function(t,e){this.group.add(gm(t,{style:s["i"]({fill:"none",stroke:p[e%p.length]},O),silent:!0}))}),this)}function A(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}},e.type="radar",e}(Sf),CA=SA,kA=function(t){function e(e,i,n){var r=t.call(this,e,i,n)||this;return r.type="value",r.angle=0,r.name="",r}return o(e,t),e}(cT),MA=kA,OA=function(){function t(t,e,i){this.dimensions=[],this._model=t,this._indicatorAxes=Object(s["H"])(t.getIndicatorModels(),(function(t,e){var i="indicator_"+e,n=new MA(i,new ZM);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n}),this),this.resize(t,i)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,r=this.cx+t*Math.cos(n),o=this.cy-t*Math.sin(n);return[r,o]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var r,o=Math.atan2(-i,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(n))]},t.prototype.resize=function(t,e){var i=t.get("center"),n=e.getWidth(),r=e.getHeight(),o=Math.min(n,r)/2;this.cx=Pn(i[0],n),this.cy=Pn(i[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(Object(s["C"])(a)||Object(s["z"])(a))&&(a=[0,a]),this.r0=Pn(a[0],o),this.r=Pn(a[1],o),Object(s["k"])(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var i=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),t.angle=i}),this)},t.prototype.update=function(t,e){var i=this._indicatorAxes,n=this._model;Object(s["k"])(i,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===n){var o=e.getData();Object(s["k"])(i,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=n.get("splitNumber"),o=new ZM;o.setExtent(0,r),o.setInterval(1),Object(s["k"])(i,(function(t,e){vT(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,i){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,i){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,i){var n=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,i);n.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},t.dimensions=[],t}(),TA=OA;function AA(t){t.registerCoordinateSystem("radar",TA),t.registerComponentModel(xA),t.registerComponentView(CA),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}function IA(t){A_(AA),t.registerChartView(gA),t.registerSeriesModel(vA),t.registerLayout(cA),t.registerProcessor(vk("radar")),t.registerPreprocessor(pA)}var PA="\0_ec_interaction_mutex";function EA(t,e,i){var n=jA(t);n[e]=i}function DA(t,e,i){var n=jA(t),r=n[e];r===i&&(n[e]=null)}function LA(t,e){return!!jA(t)[e]}function jA(t){return t[PA]||(t[PA]={})}y_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},s["L"]);var RA=function(t){function e(e){var i=t.call(this)||this;i._zr=e;var n=Object(s["c"])(i._mousedownHandler,i),r=Object(s["c"])(i._mousemoveHandler,i),o=Object(s["c"])(i._mouseupHandler,i),a=Object(s["c"])(i._mousewheelHandler,i),l=Object(s["c"])(i._pinchHandler,i);return i.enable=function(t,i){this.disable(),this._opt=Object(s["i"])(Object(s["d"])(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",l))},i.disable=function(){e.off("mousedown",n),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",l)},i}return o(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(et(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&NA("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!LA(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,r=this._y,o=e-n,a=i-r;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&tt(t.event),FA(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:n,oldY:r,newX:e,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){et(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=NA("zoomOnMouseWheel",t,this._opt),i=NA("moveOnMouseWheel",t,this._opt),n=t.wheelDelta,r=Math.abs(n),o=t.offsetX,a=t.offsetY;if(0!==n&&(e||i)){if(e){var s=r>3?1.4:r>1?1.2:1.1,l=n>0?s:1/s;BA(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(i){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);BA(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!LA(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;BA(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(D);function BA(t,e,i,n,r){t.pointerChecker&&t.pointerChecker(n,r.originX,r.originY)&&(tt(n.event),FA(t,e,i,n,r))}function FA(t,e,i,n,r){r.isAvailableBehavior=Object(s["c"])(NA,null,i,n),t.trigger(e,r)}function NA(t,e,i){var n=i[t];return!t||n&&(!Object(s["C"])(n)||e.event[n+"Key"])}var zA=RA;function VA(t,e,i){var n=t.target;n.x+=e,n.y+=i,n.dirty()}function qA(t,e,i,n){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(i-r.x)*(u-1),r.y-=(n-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var $A,HA={axisPointer:1,tooltip:1,brush:1};function GA(t,e,i){var n=e.getComponentByElement(t.topTarget),r=n&&n.coordinateSystem;return n&&n!==i&&!HA.hasOwnProperty(n.mainType)&&r&&r.model!==i}function WA(t){if(Object(s["C"])(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var i=t;9===i.nodeType&&(i=i.firstChild);while("svg"!==i.nodeName.toLowerCase()||1!==i.nodeType)i=i.nextSibling;return i}var UA={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},YA=Object(s["F"])(UA),XA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},KA=Object(s["F"])(XA),ZA=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var i=WA(t);this._defsUsePending=[];var n=new bn;this._root=n;var r=[],o=i.getAttribute("viewBox")||"",a=parseFloat(i.getAttribute("width")||e.width),s=parseFloat(i.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),nI(i,n,null,!0,!1);var l,u,c=i.firstChild;while(c)this._parseNode(c,n,r,null,!1,!1),c=c.nextSibling;if(sI(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=uI(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(u=mI(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=n;n=new bn,n.add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||n.setClipPath(new ts({shape:{x:0,y:0,width:a,height:s}})),{root:n,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,i,n,r,o){var a,l=t.nodeName.toLowerCase(),u=n;if("defs"===l&&(r=!0),"text"===l&&(o=!0),"defs"===l||"switch"===l)a=e;else{if(!r){var c=$A[l];if(c&&Object(s["q"])($A,l)){a=c.call(this,t,e);var h=t.getAttribute("name");if(h){var d={name:h,namedFrom:null,svgNodeTagLower:l,el:a};i.push(d),"g"===l&&(u=d)}else n&&i.push({name:n.name,namedFrom:n,svgNodeTagLower:l,el:a});e.add(a)}}var p=QA[l];if(p&&Object(s["q"])(QA,l)){var f=p.call(this,t),g=t.getAttribute("id");g&&(this._defs[g]=f)}}if(a&&a.isGroup){var m=t.firstChild;while(m)1===m.nodeType?this._parseNode(m,a,i,u,r,o):3===m.nodeType&&o&&this._parseText(m,a),m=m.nextSibling}},t.prototype._parseText=function(t,e){var i=new za({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});eI(e,i),nI(t,i,this._defsUsePending,!1,!1),rI(i,e);var n=i.style,r=n.fontSize;r&&r<9&&(n.fontSize=9,i.scaleX*=r/9,i.scaleY*=r/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var a=i.getBoundingRect();return this._textX+=a.width,e.add(i),i},t.internalField=function(){$A={g:function(t,e){var i=new bn;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i},rect:function(t,e){var i=new ts;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),i.silent=!0,i},circle:function(t,e){var i=new Kf;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),i.silent=!0,i},line:function(t,e){var i=new Eg;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),i.silent=!0,i},ellipse:function(t,e){var i=new Jf;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),i.silent=!0,i},polygon:function(t,e){var i,n=t.getAttribute("points");n&&(i=iI(n));var r=new kg({shape:{points:i||[]},silent:!0});return eI(e,r),nI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var i,n=t.getAttribute("points");n&&(i=iI(n));var r=new Tg({shape:{points:i||[]},silent:!0});return eI(e,r),nI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var i=new Ga;return eI(e,i),nI(t,i,this._defsUsePending,!1,!1),i.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),i.silent=!0,i},text:function(t,e){var i=t.getAttribute("x")||"0",n=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(n)+parseFloat(o);var a=new bn;return eI(e,a),nI(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new bn;return eI(e,a),nI(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var i=t.getAttribute("d")||"",n=Hf(i);return eI(e,n),nI(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),t}(),QA={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),i=parseInt(t.getAttribute("y1")||"0",10),n=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Wg(e,i,n,r);return JA(t,o),tI(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),i=parseInt(t.getAttribute("cy")||"0",10),n=parseInt(t.getAttribute("r")||"0",10),r=new Yg(e,i,n);return JA(t,r),tI(t,r),r}};function JA(t,e){var i=t.getAttribute("gradientUnits");"userSpaceOnUse"===i&&(e.global=!0)}function tI(t,e){var i=t.firstChild;while(i){if(1===i.nodeType&&"stop"===i.nodeName.toLocaleLowerCase()){var n=i.getAttribute("offset"),r=void 0;r=n&&n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var o={};fI(i,o,o);var a=o.stopColor||i.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}i=i.nextSibling}}function eI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(s["i"])(e.__inheritedStyle,t.__inheritedStyle))}function iI(t){for(var e=uI(t),i=[],n=0;n<e.length;n+=2){var r=parseFloat(e[n]),o=parseFloat(e[n+1]);i.push([r,o])}return i}function nI(t,e,i,n,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},l={};1===t.nodeType&&(dI(t,e),fI(t,a,l),n||gI(t,a,l)),o.style=o.style||{},null!=a.fill&&(o.style.fill=aI(o,"fill",a.fill,i)),null!=a.stroke&&(o.style.stroke=aI(o,"stroke",a.stroke,i)),Object(s["k"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),Object(s["k"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=l),a.lineDash&&(o.style.lineDash=Object(s["H"])(uI(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function rI(t,e){var i=e.__selfStyle;if(i){var n=i.textBaseline,r=n;n&&"auto"!==n?"baseline"===n?r="alphabetic":"before-edge"===n||"text-before-edge"===n?r="top":"after-edge"===n||"text-after-edge"===n?r="bottom":"central"!==n&&"mathematical"!==n||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}var oI=/^url\(\s*#(.*?)\)/;function aI(t,e,i,n){var r=i&&i.match(oI);if(!r)return"none"===i&&(i=null),i;var o=Object(s["T"])(r[1]);n.push([t,e,o])}function sI(t,e){for(var i=0;i<e.length;i++){var n=e[i];n[0].style[n[1]]=t[n[2]]}}var lI=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function uI(t){return t.match(lI)||[]}var cI=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,hI=Math.PI/180;function dI(t,e){var i=t.getAttribute("transform");if(i){i=i.replace(/,/g," ");var n=[],r=null;i.replace(cI,(function(t,e,i){return n.push(e,i),""}));for(var o=n.length-1;o>0;o-=2){var a=n[o],s=n[o-1],l=uI(a);switch(r=r||fi(),s){case"translate":yi(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":_i(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":bi(r,r,-parseFloat(l[0])*hI);break;case"skewX":var u=Math.tan(parseFloat(l[0])*hI);vi(r,[1,0,u,1,0,0],r);break;case"skewY":var c=Math.tan(parseFloat(l[0])*hI);vi(r,[1,c,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var pI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function fI(t,e,i){var n=t.getAttribute("style");if(n){var r;pI.lastIndex=0;while(null!=(r=pI.exec(n))){var o=r[1],a=Object(s["q"])(UA,o)?UA[o]:null;a&&(e[a]=r[2]);var l=Object(s["q"])(XA,o)?XA[o]:null;l&&(i[l]=r[2])}}}function gI(t,e,i){for(var n=0;n<YA.length;n++){var r=YA[n],o=t.getAttribute(r);null!=o&&(e[UA[r]]=o)}for(n=0;n<KA.length;n++){r=KA[n],o=t.getAttribute(r);null!=o&&(i[XA[r]]=o)}}function mI(t,e){var i=e.width/t.width,n=e.height/t.height,r=Math.min(i,n);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}function vI(t,e){var i=new ZA;return i.parse(t,e)}var yI=1e-8;function bI(t,e){return Math.abs(t-e)<yI}function _I(t,e,i){var n=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];n+=ba(r[0],r[1],a[0],a[1],e,i),r=a}var s=t[0];return bI(r[0],s[0])&&bI(r[1],s[1])||(n+=ba(r[0],r[1],s[0],s[1],e,i)),0!==n}var xI=[];function wI(t,e){for(var i=0;i<t.length;i++)M(t[i],t[i],e)}function SI(t,e,i,n){for(var r=0;r<t.length;r++){var o=t[r];n&&(o=n.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(O(e,e,o),T(i,i,o))}}function CI(t){for(var e=0,i=0,n=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,i+=(o+l)*c,n+=(a+u)*c,o=l,a=u}return e?[i/e/3,n/e/3,e]:[t[0][0]||0,t[0][1]||0]}var kI=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),MI=function(){function t(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return t}(),OI=function(){function t(t){this.type="linestring",this.points=t}return t}(),TI=function(t){function e(e,i,n){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=i,r._center=n&&[n[0],n[1]],r}return o(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,i=0,n=0;n<e.length;n++){var r=e[n],o=r.exterior,a=o&&o.length;a>i&&(t=r,i=a)}if(t)return CI(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var i=[1/0,1/0],n=[-1/0,-1/0],r=this.geometries;return Object(s["k"])(r,(function(e){"polygon"===e.type?SI(e.exterior,i,n,t):Object(s["k"])(e.points,(function(e){SI(e,i,n,t)}))})),isFinite(i[0])&&isFinite(i[1])&&isFinite(n[0])&&isFinite(n[1])||(i[0]=i[1]=n[0]=n[1]=0),e=new Gi(i[0],i[1],n[0]-i[0],n[1]-i[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,r=i.length;n<r;n++){var o=i[n];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(_I(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(_I(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=r.width/r.height;i?n||(n=i/o):i=o*n;for(var a=new Gi(t,e,i,n),l=r.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var h=u[c];"polygon"===h.type?(wI(h.exterior,l),Object(s["k"])(h.interiors,(function(t){wI(t,l)}))):Object(s["k"])(h.points,(function(t){wI(t,l)}))}r=this._rect,r.copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var i=new e(t,this.geometries,this._center);return i._rect=this._rect,i.transformTo=null,i},e}(kI),AI=function(t){function e(e,i){var n=t.call(this,e)||this;return n.type="geoSVG",n._elOnlyForCalculate=i,n}return o(e,t),e.prototype.calcCenter=function(){var t=this._elOnlyForCalculate,e=t.getBoundingRect(),i=[e.x+e.width/2,e.y+e.height/2],n=gi(xI),r=t;while(r&&!r.isGeoSVGGraphicRoot)vi(n,r.getLocalTransform(),n),r=r.parent;return xi(n,n),M(i,i,n),i},e}(kI),II=Object(s["f"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),PI=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=Object(s["f"])(),this._freedGraphics=[],this._mapName=t,this._parsedXML=WA(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=DI(t.named),i=e.regions,n=e.regionsMap;this._regions=i,this._regionsMap=n}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,i;try{e=t&&vI(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=e.root,Object(s["b"])(null!=i)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var n=new bn;n.add(i),n.isGeoSVGGraphicRoot=!0;var r=e.width,o=e.height,a=e.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,c=void 0,h=void 0,d=void 0;if(null!=r?(u=0,h=r):a&&(u=a.x,h=a.width),null!=o?(c=0,d=o):a&&(c=a.y,d=a.height),null==u||null==c){var p=i.getBoundingRect();null==u&&(u=p.x,h=p.width),null==c&&(c=p.y,d=p.height)}l=this._boundingRect=new Gi(u,c,h,d)}if(a){var f=mI(a,l);i.scaleX=i.scaleY=f.scale,i.x=f.x,i.y=f.y}n.setClipPath(new ts({shape:l.plain()}));var g=[];return Object(s["k"])(e.named,(function(t){null!=II.get(t.svgNodeTagLower)&&(g.push(t),EI(t.el))})),{root:n,boundingRect:l,named:g}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);return i||(i=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,i),i)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);i&&(e.removeKey(t),this._freedGraphics.push(i))},t}();function EI(t){t.silent=!1,t.isGroup&&t.traverse((function(t){t.silent=!1}))}function DI(t){var e=[],i=Object(s["f"])();return Object(s["k"])(t,(function(t){if(null==t.namedFrom){var n=new AI(t.name,t.el);e.push(n),i.set(t.name,n)}})),{regions:e,regionsMap:i}}function LI(t){if(!t.UTF8Encoding)return t;var e=t,i=e.UTF8Scale;null==i&&(i=1024);var n=e.features;return s["k"](n,(function(t){var e=t.geometry,n=e.encodeOffsets,r=e.coordinates;if(n)switch(e.type){case"LineString":e.coordinates=RI(r,n,i);break;case"Polygon":jI(r,n,i);break;case"MultiLineString":jI(r,n,i);break;case"MultiPolygon":s["k"](r,(function(t,e){return jI(t,n[e],i)}))}})),e.UTF8Encoding=!1,e}function jI(t,e,i){for(var n=0;n<t.length;n++)t[n]=RI(t[n],e[n],i)}function RI(t,e,i){for(var n=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,n.push([s/i,l/i])}return n}function BI(t,e){return t=LI(t),s["H"](s["n"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,n=t.geometry,r=[];switch(n.type){case"Polygon":var o=n.coordinates;r.push(new MI(o[0],o.slice(1)));break;case"MultiPolygon":s["k"](n.coordinates,(function(t){t[0]&&r.push(new MI(t[0],t.slice(1)))}));break;case"LineString":r.push(new OI([n.coordinates]));break;case"MultiLineString":r.push(new OI(n.coordinates))}var a=new TI(i[e||"name"],r,i.cp);return a.properties=i,a}))}for(var FI=[126,25],NI="南海诸岛",zI=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],VI=0;VI<zI.length;VI++)for(var qI=0;qI<zI[VI].length;qI++)zI[VI][qI][0]/=10.5,zI[VI][qI][1]/=-14,zI[VI][qI][0]+=FI[0],zI[VI][qI][1]+=FI[1];function $I(t,e){if("china"===t){for(var i=0;i<e.length;i++)if(e[i].name===NI)return;e.push(new TI(NI,s["H"](zI,(function(t){return{type:"polygon",exterior:t}})),FI))}}var HI={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function GI(t,e){if("china"===t){var i=HI[e.name];if(i){var n=e.getCenter();n[0]+=i[0]/10.5,n[1]+=-i[1]/14,e.setCenter(n)}}}var WI=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function UI(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:WI[0]})}var YI="name",XI=function(){function t(t,e,i){this.type="geoJSON",this._parsedMap=Object(s["f"])(),this._mapName=t,this._specialAreas=i,this._geoJSON=ZI(e)}return t.prototype.load=function(t,e){e=e||YI;var i=this._parsedMap.get(e);if(!i){var n=this._parseToRegions(e);i=this._parsedMap.set(e,{regions:n,boundingRect:KI(n)})}var r=Object(s["f"])(),o=[];return Object(s["k"])(i.regions,(function(e){var i=e.name;t&&Object(s["q"])(t,i)&&(e=e.cloneShallow(i=t[i])),o.push(e),r.set(i,e)})),{regions:o,boundingRect:i.boundingRect||new Gi(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,i=this._mapName,n=this._geoJSON;try{e=n?BI(n,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return $I(i,e),Object(s["k"])(e,(function(t){var e=t.name;GI(i,t),UI(i,t);var n=this._specialAreas&&this._specialAreas[e];n&&t.transformTo(n.left,n.top,n.width,n.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function KI(t){for(var e,i=0;i<t.length;i++){var n=t[i].getBoundingRect();e=e||n.clone(),e.union(n)}return e}function ZI(t){return Object(s["C"])(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}var QI=Object(s["f"])(),JI={registerMap:function(t,e,i){if(e.svg){var n=new PI(t,e.svg);QI.set(t,n)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?i=e.specialAreas:r=e;n=new XI(t,r,i);QI.set(t,n)}},getGeoResource:function(t){return QI.get(t)},getMapForUser:function(t){var e=QI.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,i){var n=QI.get(t);if(n)return n.load(e,i)}},tP=["rect","circle","line","ellipse","polygon","polyline","path"],eP=s["f"](tP),iP=s["f"](tP.concat(["g"])),nP=s["f"](tP.concat(["g"])),rP=kr();function oP(t){var e=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(e.fill=i),e}function aP(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var sP=function(){function t(t){var e=new bn;this.uid=Su("ec_map_draw"),this._controller=new zA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new bn),e.add(this._svgGroup=new bn)}return t.prototype.draw=function(t,e,i,n,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam,p=!l.childAt(0)||r;p?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):Fl(u,d,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,g={api:i,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,i),this._updateMapSelectHandler(t,l,i,n)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=s["f"](),i=s["f"](),n=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,l=t.geo.projection,u=l&&l.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],i=!u&&l&&l.project,n=0;n<t.length;++n){var r=c(t[n],i);r&&e.push(r)}return e}function d(t){return{shape:{points:h(t)}}}n.removeAll(),s["k"](t.geo.regions,(function(r){var h=r.name,p=e.get(h),f=i.get(h)||{},g=f.dataIdx,m=f.regionModel;p||(p=e.set(h,new bn),n.add(p),g=a?a.indexOfName(h):null,m=t.isGeo?o.getRegionModel(h):a?a.getItemModel(g):null,i.set(h,{dataIdx:g,regionModel:m}));var v=[],y=[];s["k"](r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);u&&(e=pP(e,u)),s["k"](e,(function(t){v.push(new kg(d(t)))}))}else{var i=t.points;u&&(i=pP(i,u,!0)),s["k"](i,(function(t){y.push(new Tg(d(t)))}))}}));var b=c(r.getCenter(),l&&l.project);function _(e,i){if(e.length){var n=new qg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});p.add(n),lP(t,n,g,m),uP(t,n,h,m,o,g,b),i&&(aP(n),s["k"](n.states,aP))}}_(v),_(y,!0)})),e.each((function(e,n){var r=i.get(n),a=r.dataIdx,s=r.regionModel;cP(t,e,n,s,o,a),hP(t,e,n,s,o),dP(t,e,n,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,i=t.transformInfoRaw;this._svgGroup.x=i.x,this._svgGroup.y=i.y,this._svgGroup.scaleX=i.scaleX,this._svgGroup.scaleY=i.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var n=this._svgDispatcherMap=s["f"](),r=!1;s["k"](this._svgGraphicRecord.named,(function(e){var i=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(i):null,c=o.getRegionModel(i);if(null!=eP.get(s)&&l instanceof Io&&lP(t,l,u,c),l instanceof Io&&(l.culling=!0),l.z2EmphasisLift=0,!e.namedFrom&&(null!=nP.get(s)&&uP(t,l,i,c,o,u,null),cP(t,l,i,c,o,u),hP(t,l,i,c,o),null!=iP.get(s))){var h=dP(t,l,i,c,o);"self"===h&&(r=!0);var d=n.get(i)||n.set(i,[]);d.push(l)}}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var i=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),n=i.opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){el(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var i=e.coordinateSystem;if("geoJSON"===i.resourceType){var n=this._regionsGroupByName;if(n){var r=n.get(t);return r?[r]:[]}}else if("geoSVG"===i.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=JI.getGeoResource(t);if(e&&"geoSVG"===e.type){var i=e.useGraphic(this.uid);this._svgGroup.add(i.root),this._svgGraphicRecord=i,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=JI.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,i){var n=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=n.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function l(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,VA(o,t.dx,t.dy),i.dispatchAction(s["m"](l(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,qA(o,t.scale,t.originX,t.originY),i.dispatchAction(s["m"](l(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return n.containPoint([r,o])&&!GA(e,i,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=rP(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,i,n){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function lP(t,e,i,n){var r=n.getModel("itemStyle"),o=n.getModel(["emphasis","itemStyle"]),a=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),l=oP(r),u=oP(o),c=oP(s),h=oP(a),d=t.data;if(d){var p=d.getItemVisual(i,"style"),f=d.getItemVisual(i,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=Wy(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,el(e)}function uP(t,e,i,n,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var h=l?i:o,d=void 0;(!s||o>=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Xl(e,Kl(n),{labelFetcher:d,labelDataIndex:h,defaultText:i},p);var f=e.getTextContent();if(f&&(rP(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function cP(t,e,i,n,r,o){t.data?t.data.setItemGraphicEl(o,e):bs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:i,region:n&&n.option||{}}}function hP(t,e,i,n,r){t.data||Dm({el:e,componentModel:r,itemName:i,itemTooltipOption:n.get("tooltip")})}function dP(t,e,i,n,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=n.getModel("emphasis"),a=o.get("focus");return Sl(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&Il(e,r,i),a}function pP(t,e,i){var n,r=[];function o(){n=[]}function a(){n.length&&(r.push(n),n=[])}var l=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&n.push([t,e])},sphere:function(){}});return!i&&l.polygonStart(),s["k"](t,(function(t){l.lineStart();for(var e=0;e<t.length;e++)l.point(t[e][0],t[e][1]);l.lineEnd()})),!i&&l.polygonEnd(),r}var fP=sP,gP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&n&&"geoRoam"===n.type&&this._mapDraw.resetForLabelLayout(),n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id){o=this._mapDraw;o&&r.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new fP(i);r.add(o.group),o.draw(t,e,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,i){var n=t.originalData,r=this.group;n.each(n.mapDimension("value"),(function(e,i){if(!isNaN(e)){var o=n.getItemLayout(i);if(o&&o.point){var a=o.point,s=o.offset,l=new Kf({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Is+1)});if(!s){var u=t.mainSeries.getData(),c=n.getName(i),h=u.indexOfName(c),d=n.getItemModel(i),p=d.getModel("label"),f=u.getItemGraphicEl(h);Xl(l,Kl(d),{labelFetcher:{getFormattedLabel:function(e,i){return t.getFormattedLabel(h,i)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){Xs(l,t)}}r.add(l)}}}))},e.type="map",e}(Hm),mP=gP,vP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.needsDrawMap=!1,i.seriesGroup=[],i.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.getCenter())}},i}return o(e,t),e.prototype.getInitialData=function(t){for(var e=nM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)}),i=s["f"](),n=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);i.set(a,!0)}var l=JI.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return s["k"](l.regions,(function(t){var e=t.name;i.get(e)||n.push(e)})),e.appendValues([],n),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,i){for(var n=this.getData(),r=this.getRawValue(t),o=n.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=n.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Hp("section",{header:s.join(", "),noHeader:!s.length,blocks:[Hp("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",i=ny(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return i.setStyle(t.itemStyle),i.style.stroke="none",e.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(xf),yP=vP;function bP(t,e){var i={};return s["k"](t,(function(t){t.each(t.mapDimension("value"),(function(e,n){var r="ec-"+t.getName(n);i[r]=i[r]||[],isNaN(e)||i[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(n,r){for(var o,a="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,c=i[a].length,h=0;h<c;h++)l=Math.min(l,i[a][h]),u=Math.max(u,i[a][h]),s+=i[a][h];return o="min"===e?l:"max"===e?u:"average"===e?s/c:s,0===c?NaN:o}))}function _P(t){var e={};t.eachSeriesByType("map",(function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),s["k"](e,(function(t,e){for(var i=bP(s["H"](t,(function(t){return t.getData()})),t[0].get("mapValueCalculation")),n=0;n<t.length;n++)t[n].originalData=t[n].getData();for(n=0;n<t.length;n++)t[n].seriesGroup=t,t[n].needsDrawMap=0===n&&!t[n].getHostGeoModel(),t[n].setData(i.cloneShallow()),t[n].mainSeries=t[0]}))}function xP(t){var e={};t.eachSeriesByType("map",(function(i){var n=i.getMapType();if(!i.getHostGeoModel()&&!e[n]){var r={};s["k"](i.seriesGroup,(function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each(n.mapDimension("value"),(function(t,e){var o=n.getName(e),a=i.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=i.dataToPoint(a.getCenter());r[o]=s+1,n.setItemLayout(e,{point:l,offset:s})}}))}));var o=i.getData();o.each((function(t){var e=o.getName(t),i=o.getItemLayout(t)||{};i.showLabel=!r[e],o.setItemLayout(t,i)})),e[n]=!0}}))}var wP=M,SP=function(t){function e(e){var i=t.call(this)||this;return i.type="view",i.dimensions=["x","y"],i._roamTransformable=new Di,i._rawTransformable=new Di,i.name=e,i}return o(e,t),e.prototype.setBoundingRect=function(t,e,i,n){return this._rect=new Gi(t,e,i,n),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,i,n){this._transformTo(t,e,i,n),this._viewRect=new Gi(t,e,i,n)},e.prototype._transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Gi(t,e,i,n));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[Pn(t[0],e.getWidth()),Pn(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect(),e=t.x+t.width/2,i=t.y+t.height/2;return[e,i]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),r=this.getZoom();n=M([],n,t),i=M([],i,t),e.originX=n[0],e.originY=n[1],e.x=i[0]-n[0],e.y=i[1]-n[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),mi(this.transform||(this.transform=[]),e.transform||fi()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],xi(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,i=new Di;return i.transform=e.transform,i.decomposeTransform(),{roam:{x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,i){var n=e?this._rawTransform:this.transform;return i=i||[],n?wP(i,t,n):h(i,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?wP([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,i){var n=CP(e);return n===this?n.dataToPoint(i):null},e.prototype.convertFromPixel=function(t,e,i){var n=CP(e);return n===this?n.pointToData(i):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Di);function CP(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var kP=SP,MP={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},OP=["lng","lat"],TP=function(t){function e(e,i,n){var r=t.call(this,e)||this;r.dimensions=OP,r.type="geo",r._nameCoordMap=s["f"](),r.map=i;var o,a=n.projection,l=JI.load(i,n.nameMap,n.nameProperty),u=JI.getGeoResource(i),c=(r.resourceType=u?u.type:null,r.regions=l.regions),h=MP[u.type];if(r._regionsMap=l.regionsMap,r.regions=l.regions,r.projection=a,a)for(var d=0;d<c.length;d++){var p=c[d].getBoundingRect(a);o=o||p.clone(),o.union(p)}else o=l.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:s["P"](n.aspectScale,h.aspectScale),r._invertLongitute=!a&&h.invertLongitute,r}return o(e,t),e.prototype._transformTo=function(t,e,i,n){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Gi(t,e,i,n));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,i=0;i<e.length;i++){var n=e[i];if("geoJSON"===n.type&&n.contain(t))return e[i]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,i){if(s["C"](t)&&(t=this.getGeoCoord(t)),t){var n=this.projection;return n&&(t=n.project(t)),t&&this.projectedToPoint(t,e,i)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,i,n){return t.prototype.dataToPoint.call(this,e,i,n)},e.prototype.convertToPixel=function(t,e,i){var n=AP(e);return n===this?n.dataToPoint(i):null},e.prototype.convertFromPixel=function(t,e,i){var n=AP(e);return n===this?n.pointToData(i):null},e}(kP);function AP(t){var e=t.geoModel,i=t.seriesModel;return e?e.coordinateSystem:i?i.coordinateSystem||(i.getReferringComponents("geo",Ar).models[0]||{}).coordinateSystem:null}s["K"](TP,kP);var IP=TP;function PP(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],r=i[1];if(isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=n[0],s=n[1],l=r[0],u=r[1];n=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,i,a){for(var s=i-t,l=a-e,u=0;u<=100;u++){var c=u/100,h=o.project([t+s*c,e+l*c]);O(n,n,h),T(r,r,h)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(n[0],n[1],r[0]-n[0],r[1]-n[1])}else 0}var h,d,p,f=this.getBoundingRect(),g=t.get("layoutCenter"),m=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),b=f.width/f.height*this.aspectScale,_=!1;if(g&&m&&(h=[Pn(g[0],v),Pn(g[1],y)],d=Pn(m,Math.min(v,y)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(_=!0)),_)p={},b>1?(p.width=d,p.height=d/b):(p.height=d,p.width=d*b),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var x=t.getBoxLayoutParams();x.aspect=b,p=Bc(x,{width:v,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function EP(t,e){s["k"](e.get("geoCoord"),(function(e,i){t.addGeoCoord(i,e)}))}var DP=function(){function t(){this.dimensions=OP}return t.prototype.create=function(t,e){var i=[];function n(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new IP(o+r,o,s["m"]({nameMap:t.get("nameMap")},n(t)));a.zoomLimit=t.get("scaleLimit"),i.push(a),t.coordinateSystem=a,a.model=t,a.resize=PP,a.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var n=t.get("geoIndex")||0;t.coordinateSystem=i[n]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),s["k"](r,(function(t,r){var o=s["H"](t,(function(t){return t.get("nameMap")})),a=new IP(r,r,s["m"]({nameMap:s["J"](o)},n(t[0])));a.zoomLimit=s["O"].apply(null,s["H"](t,(function(t){return t.get("scaleLimit")}))),i.push(a),a.resize=PP,a.resize(t[0],e),s["k"](t,(function(t){t.coordinateSystem=a,EP(a,t)}))})),i},t.prototype.getFilledRegions=function(t,e,i,n){for(var r=(t||[]).slice(),o=s["f"](),a=0;a<r.length;a++)o.set(r[a].name,r[a]);var l=JI.load(e,i,n);return s["k"](l.regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}(),LP=new DP,jP=LP,RP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(t,e,i){var n=JI.getGeoResource(t.map);if(n&&"geoJSON"===n.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,i),rr(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=jP.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var i={};this._optionModelMap=s["N"](e.regions||[],(function(e,n){var r=n.name;return r&&(e.set(r,new xu(n,t,t.ecModel)),n.selected&&(i[r]=!0)),e}),s["f"]()),e.selectedMap||(e.selectedMap=i)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new xu(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var i=this.getRegionModel(t),n="normal"===e?i.get(["label","formatter"]):i.get(["emphasis","label","formatter"]),r={name:t};return s["w"](n)?(r.status=e,n(r)):s["C"](n)?n.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,i=e.selectedMode;if(i){"multiple"!==i&&(e.selectedMap=null);var n=e.selectedMap||(e.selectedMap={});n[t]=!0}},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Uc),BP=RP;function FP(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function NP(t,e,i,n){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(FP(t,s),n)),null!=a){if(i){var l=i.min||0,u=i.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=c,t.y-=h,t.updateTransform(),t.setCenter(FP(t,s),n),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var zP=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.focusBlurEnabled=!0,i}return o(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,i,n){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new fP(i));var r=this._mapDraw;r.draw(t,e,i,this,n),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,i)},e.prototype._handleRegionClick=function(t){var e;$v(t.target,(function(t){return null!=(e=bs(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,i){var n=this;this._mapDraw.group.traverse((function(t){var e=bs(t).eventData;if(e)return n._model.isSelected(e.name)?i.enterSelect(t):i.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Sf),VP=zP;function qP(t,e,i){JI.registerMap(t,e,i)}function $P(t){function e(e,i){i.update="geo:updateSelectStatus",t.registerAction(i,(function(t,i){var n={},r=[];return i.eachComponent({mainType:"geo",query:t},(function(i){i[e](t.name);var o=i.coordinateSystem;Object(s["k"])(o.regions,(function(t){n[t.name]=i.isSelected(t.name)||!1}));var a=[];Object(s["k"])(n,(function(t,e){n[e]&&a.push(e)})),r.push({geoIndex:i.componentIndex,name:a})})),{selected:n,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",jP),t.registerComponentModel(BP),t.registerComponentView(VP),t.registerImpl("registerMap",qP),t.registerImpl("getMap",(function(t){return JI.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,i){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=NP(r,t,e.get("scaleLimit"),i);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===n&&Object(s["k"])(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function HP(t){A_($P),t.registerChartView(mP),t.registerSeriesModel(yP),t.registerLayout(xP),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,_P),zv("map",t.registerAction)}function GP(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var i,n,r=[e];while(i=r.pop())if(n=i.children,i.isExpand&&n.length)for(var o=n.length,a=o-1;a>=0;a--){var s=n[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(s)}}function WP(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,r=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){ZP(t);var o=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=QP(t,r,t.parentNode.hierNode.defaultAncestor||n[0],e)}function UP(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function YP(t){return arguments.length?t:nE}function XP(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function KP(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function ZP(t){var e=t.children,i=e.length,n=0,r=0;while(--i>=0){var o=e[i];o.hierNode.prelim+=n,o.hierNode.modifier+=n,r+=o.hierNode.change,n+=o.hierNode.shift+r}}function QP(t,e,i,n){if(e){var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;while(s=JP(s),o=tE(o),s&&o){r=JP(r),a=tE(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+n(s,o);d>0&&(iE(eE(s,t,i),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!JP(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!tE(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,i=t)}return i}function JP(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function tE(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function eE(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function iE(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function nE(t,e){return t.parentNode===e.parentNode?1:2}var rE=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),oE=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rE},e.prototype.buildPath=function(t,e){var i=e.childPoints,n=i.length,r=e.parentPoint,o=i[0],a=i[n-1];if(1===n)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=Pn(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d<n-1;d++){var p=i[d];t.moveTo(p[0],p[1]),h[l]=p[l],t.lineTo(h[0],h[1])}},e}(Ba),aE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._mainGroup=new bn,i}return o(e,t),e.prototype.init=function(t,e){this._controller=new zA(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,i){var n=t.getData(),r=t.layoutInfo,o=this._mainGroup,a=t.get("layout");"radial"===a?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,i),this._updateController(t,e,i);var s=this._data;n.diff(s).add((function(e){sE(n,e)&&lE(n,e,null,o,t)})).update((function(e,i){var r=s.getItemGraphicEl(i);sE(n,e)?lE(n,e,r,o,t):r&&dE(s,i,r,o,t)})).remove((function(e){var i=s.getItemGraphicEl(e);i&&dE(s,e,i,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&n.eachItemGraphicEl((function(e,n){e.off("click").on("click",(function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:n})}))})),this._data=n},e.prototype._updateViewCoordSys=function(t,e){var i=t.getData(),n=[];i.each((function(t){var e=i.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||n.push([+e.x,+e.y])}));var r=[],o=[];No(n,r,o);var a=this._min,s=this._max;o[0]-r[0]===0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]===0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new kP;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,i){var n=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,n,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,r)&&!GA(e,i,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){VA(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){qA(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),n._updateNodeAndLinkScale(t),i.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),i=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(i)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=this._nodeScaleRatio,n=e.scaleX||1,r=e.getZoom(),o=(r-1)*i+1;return o/n},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(Hm);function sE(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)}function lE(t,e,i,n,r){var o=!i,a=t.tree.getNodeByDataIndex(e),l=a.getModel(),u=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?u:"#fff",h=t.tree.root,d=a.parentNode===h?a:a.parentNode||a,p=t.getItemGraphicEl(d.dataIndex),f=d.getLayout(),g=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,m=a.getLayout();o?(i=new bS(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),i.x=g.x,i.y=g.y):i.updateData(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=m.rawX,i.__radialRawY=m.rawY,n.add(i),t.setItemGraphicEl(e,i),i.__oldX=i.x,i.__oldY=i.y,Fl(i,{x:m.x,y:m.y},r);var v=i.getSymbolPath();if("radial"===r.get("layout")){var y=h.children[0],b=y.getLayout(),_=y.children.length,x=void 0,w=void 0;if(m.x===b.x&&!0===a.isExpand&&y.children.length){var S={x:(y.children[0].getLayout().x+y.children[_-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[_-1].getLayout().y)/2};x=Math.atan2(S.y-b.y,S.x-b.x),x<0&&(x=2*Math.PI+x),w=S.x<b.x,w&&(x-=Math.PI)}else x=Math.atan2(m.y-b.y,m.x-b.x),x<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=m.x<b.x,w&&(x-=Math.PI)):(w=m.x>b.x,w||(x-=Math.PI));var C=w?"left":"right",k=l.getModel("label"),M=k.get("rotate"),O=M*(Math.PI/180),T=v.getTextContent();T&&(v.setTextConfig({position:k.get("position")||C,rotation:null==M?-x:O,origin:"center"}),T.setStyle("verticalAlign","middle"))}var A=l.get(["emphasis","focus"]),I="relative"===A?s["e"](a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===A?a.getAncestorsIndices():"descendant"===A?a.getDescendantIndices():null;I&&(bs(i).focus=I),uE(r,a,h,i,g,f,m,n),i.__edge&&(i.onHoverStateChange=function(e){if("blur"!==e){var n=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);n&&n.hoverState===Ms||Xs(i.__edge,e)}})}function uE(t,e,i,n,r,o,a,l){var u=e.getModel(),c=t.get("edgeShape"),h=t.get("layout"),d=t.getOrient(),p=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),g=u.getModel("lineStyle").getLineStyle(),m=n.__edge;if("curve"===c)e.parentNode&&e.parentNode!==i&&(m||(m=n.__edge=new Bg({shape:pE(h,d,p,r,r)})),Fl(m,{shape:pE(h,d,p,o,a)},t));else if("polyline"===c)if("orthogonal"===h){if(e!==i&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,y=[],b=0;b<v.length;b++){var _=v[b].getLayout();y.push([_.x,_.y])}m||(m=n.__edge=new oE({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:f}})),Fl(m,{shape:{parentPoint:[a.x,a.y],childPoints:y}},t)}}else 0;m&&("polyline"!==c||e.isExpand)&&(m.useStyle(s["i"]({strokeNoScale:!0,fill:null},g)),Ol(m,u,"lineStyle"),el(m),l.add(m))}function cE(t,e,i,n,r){var o=e.tree.root,a=hE(o,t),s=a.source,l=a.sourceLayout,u=e.getItemGraphicEl(t.dataIndex);if(u){var c=e.getItemGraphicEl(s.dataIndex),h=c.__edge,d=u.__edge||(!1===s.isExpand||1===s.children.length?h:void 0),p=n.get("edgeShape"),f=n.get("layout"),g=n.get("orient"),m=n.get(["lineStyle","curveness"]);d&&("curve"===p?Vl(d,{shape:pE(f,g,m,l,l),style:{opacity:0}},n,{cb:function(){i.remove(d)},removeOpt:r}):"polyline"===p&&"orthogonal"===n.get("layout")&&Vl(d,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},n,{cb:function(){i.remove(d)},removeOpt:r}))}}function hE(t,e){var i,n=e.parentNode===t?e:e.parentNode||e;while(i=n.getLayout(),null==i)n=n.parentNode===t?n:n.parentNode||n;return{source:n,sourceLayout:i}}function dE(t,e,i,n,r){var o=t.tree.getNodeByDataIndex(e),a=t.tree.root,s=hE(a,o).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Vl(i,{x:s.x+1,y:s.y+1},r,{cb:function(){n.remove(i),t.setItemGraphicEl(e,null)},removeOpt:l}),i.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:l}),o.children.forEach((function(e){cE(e,t,n,r,l)})),cE(o,t,n,r,l)}function pE(t,e,i,n,r){var o,a,s,l,u,c,h,d;if("radial"===t){u=n.rawX,h=n.rawY,c=r.rawX,d=r.rawY;var p=XP(u,h),f=XP(u,h+(d-h)*i),g=XP(c,d+(h-d)*i),m=XP(c,d);return{x1:p.x||0,y1:p.y||0,x2:m.x||0,y2:m.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=n.x,h=n.y,c=r.x,d=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*i,a=h,s=c+(u-c)*i,l=d),"TB"!==e&&"BT"!==e||(o=u,a=h+(d-h)*i,s=c,l=d+(h-d)*i),{x1:u,y1:h,x2:c,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var fE=aE,gE=kr();function mE(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,SE(e,i,t),Object(s["k"])(i,(function(i){Object(s["k"])(e.TRANSFERABLE_METHODS,(function(e){i.wrapMethod(e,Object(s["h"])(vE,t))}))})),e.wrapMethod("cloneShallow",Object(s["h"])(bE,t)),Object(s["k"])(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,Object(s["h"])(yE,t))})),Object(s["b"])(i[e.dataType]===e)}function vE(t,e){if(wE(this)){var i=Object(s["m"])({},gE(this).datas);i[this.dataType]=e,SE(e,i,t)}else CE(e,this.dataType,gE(this).mainData,t);return e}function yE(t,e){return t.struct&&t.struct.update(),e}function bE(t,e){return Object(s["k"])(gE(e).datas,(function(i,n){i!==e&&CE(i.cloneShallow(),n,e,t)})),e}function _E(t){var e=gE(this).mainData;return null==t||null==e?e:gE(e).datas[t]}function xE(){var t=gE(this).mainData;return null==t?[{data:t}]:Object(s["H"])(Object(s["F"])(gE(t).datas),(function(e){return{type:e,data:gE(t).datas[e]}}))}function wE(t){return gE(t).mainData===t}function SE(t,e,i){gE(t).datas={},Object(s["k"])(e,(function(e,n){CE(e,n,t,i)}))}function CE(t,e,i,n){gE(i).datas[e]=t,gE(t).mainData=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=_E,t.getLinkedDataAll=xE}var kE=mE,ME=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,i){s["w"](t)&&(i=e,e=t,t=null),t=t||{},s["C"](t)&&(t={order:t});var n,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(n=e.call(i,this));for(var a=0;!n&&a<o.length;a++)o[a].eachNode(t,e,i);"postorder"===r&&e.call(i,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(t+1),n.height>e&&(e=n.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e<n;e++){var r=i[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,i=this.children,n=i.length;e<n;e++){var r=i[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){var e=[],i=t?this:this.parentNode;while(i)e.push(i),i=i.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){var t=[],e=this;while(e)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),OE=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,i){this.root.eachNode(t,e,i)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i<n;i++)e[i].dataIndex=-1;for(i=0,n=t.count();i<n;i++)e[t.getRawIndex(i)].dataIndex=i},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,i,n){var r=new t(i),o=[],a=1;function l(t,e){var i=t.value;a=Math.max(a,s["t"](i)?i.length:1),o.push(t);var n=new ME(vr(t.name,""),r);e?TE(n,e):r.root=n,r._nodes.push(n);var u=t.children;if(u)for(var c=0;c<u.length;c++)l(u[c],n)}l(e),r.root.updateDepthAndHeight(0);var u=Xw(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,c=new Yw(u,i);return c.initData(o),n&&n(c),kE({mainData:c,struct:r,structAttr:"tree"}),r.update(),r},t}();function TE(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}var AE=OE;function IE(t,e,i){if(t&&s["r"](e,t.type)>=0){var n=i.getData().tree.root,r=t.targetNode;if(s["C"](r)&&(r=n.getNodeById(r)),r&&n.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=n.getNodeById(o)))return{node:r}}}function PE(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function EE(t,e){var i=PE(t);return s["r"](i,e)>=0}function DE(t,e){var i=[];while(t){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}var LE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return o(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n=new xu(i,this,this.ecModel),r=AE.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var i=r.getNodeByDataIndex(e);return i&&i.children.length&&i.isExpand||(t.parentModel=n),t}))}var a=0;r.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,i){var n=this.getData().tree,r=n.root.children[0],o=n.getNodeByDataIndex(t),a=o.getValue(),s=o.name;while(o&&o!==r)s=o.parentNode.name+"."+s,o=o.parentNode;return Hp("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treeAncestors=DE(n,this),i.collapsed=!n.isExpand,i},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(xf),jE=LE;function RE(t,e,i){var n,r=[t],o=[];while(n=r.pop())if(o.push(n),n.isExpand){var a=n.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}while(n=o.pop())e(n,i)}function BE(t,e){var i,n=[t];while(i=n.pop())if(e(i),i.isExpand){var r=i.children;if(r.length)for(var o=r.length-1;o>=0;o--)n.push(r[o])}}function FE(t,e){t.eachSeriesByType("tree",(function(t){NE(t,e)}))}function NE(t,e){var i=KP(t,e);t.layoutInfo=i;var n=t.get("layout"),r=0,o=0,a=null;"radial"===n?(r=2*Math.PI,o=Math.min(i.height,i.width)/2,a=YP((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=i.width,o=i.height,a=YP());var s=t.getData().tree.root,l=s.children[0];if(l){GP(s),RE(l,WP,a),s.hierNode.modifier=-l.hierNode.prelim,BE(l,UP);var u=l,c=l,h=l;BE(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)}));var d=u===c?1:a(u,c)/2,p=d-u.getLayout().x,f=0,g=0,m=0,v=0;if("radial"===n)f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),BE(l,(function(t){m=(t.getLayout().x+p)*f,v=(t.depth-1)*g;var e=XP(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+d+p),f=r/(h.depth-1||1),BE(l,(function(t){v=(t.getLayout().x+p)*g,m="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:m,y:v},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),BE(l,(function(t){m=(t.getLayout().x+p)*f,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)})))}}}function zE(t){t.eachSeriesByType("tree",(function(t){var e=t.getData(),i=e.tree;i.eachNode((function(t){var i=t.getModel(),n=i.getModel("itemStyle").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,"style");Object(s["m"])(r,n)}))}))}function VE(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=t.dataIndex,n=e.getData().tree,r=n.getNodeByDataIndex(i);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,i){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=e.coordinateSystem,r=NP(n,t,void 0,i);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function qE(t){t.registerChartView(fE),t.registerSeriesModel(jE),t.registerLayout(FE),t.registerVisual(zE),VE(t)}var $E=["treemapZoomToNode","treemapRender","treemapMove"];function HE(t){for(var e=0;e<$E.length;e++)t.registerAction({type:$E[e],update:"updateView"},s["L"]);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function i(e,i){var n=["treemapZoomToNode","treemapRootToNode"],r=IE(t,n,e);if(r){var o=e.getViewRoot();o&&(t.direction=EE(o,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},i)}))}function GE(t){var e=t.getData(),i=e.tree,n={};i.eachNode((function(e){var i=e;while(i&&i.depth>1)i=i.parentNode;var r=xh(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var WE=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.preventUsingHoverLayer=!0,i}return o(e,t),e.prototype.getInitialData=function(t,e){var i={name:t.name,children:t.data};UE(i);var n=t.levels||[],r=this.designatedVisualItemStyle={},o=new xu({itemStyle:r},this,e);n=t.levels=YE(n,e);var a=s["H"](n||[],(function(t){return new xu(t,o,e)}),this),l=AE.createTree(i,this,u);function u(t){t.wrapMethod("getItemModel",(function(t,e){var i=l.getNodeByDataIndex(e),n=i?a[i.depth]:null;return t.parentModel=n||o,t}))}return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.getRawValue(t),o=n.getName(t);return Hp("nameValue",{name:o,value:r})},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treeAncestors=DE(n,this),i.treePathInfo=i.treeAncestors,i},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},s["m"](this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=s["f"](),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){GE(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(xf);function UE(t){var e=0;s["k"](t.children,(function(t){UE(t);var i=t.value;s["t"](i)&&(i=i[0]),e+=i}));var i=t.value;s["t"](i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),s["t"](t.value)?t.value[0]=i:t.value=i}function YE(t,e){var i=nr(e.get("color")),n=nr(e.get(["aria","decal","decals"]));if(i){var r,o;t=t||[],s["k"](t,(function(t){var e=new xu(t),i=e.get("color"),n=e.get("decal");(e.get(["itemStyle","color"])||i&&"none"!==i)&&(r=!0),(e.get(["itemStyle","decal"])||n&&"none"!==n)&&(o=!0)}));var a=t[0]||(t[0]={});return r||(a.color=i.slice()),!o&&n&&(a.decal=n.slice()),t}}var XE=WE,KE=8,ZE=8,QE=5,JE=function(){function t(t){this.group=new bn,t.add(this.group)}return t.prototype.render=function(t,e,i,n){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&i){var a=r.getModel("itemStyle"),s=a.getModel("textStyle"),l={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,l,s),this._renderContent(t,l,a,s,n),Fc(o,l.pos,l.box)}},t.prototype._prepare=function(t,e,i){for(var n=t;n;n=n.parentNode){var r=vr(n.getModel().get("name"),""),o=i.getTextRect(r),a=Math.max(o.width+2*KE,e.emptyItemWidth);e.totalWidth+=a+ZE,e.renderList.push({node:n,text:r,width:a})}},t.prototype._renderContent=function(t,e,i,n,r){for(var o=0,a=e.emptyItemWidth,l=t.get(["breadcrumb","height"]),u=Rc(e.pos,e.box),c=e.totalWidth,h=e.renderList,d=h.length-1;d>=0;d--){var p=h[d],f=p.node,g=p.width,m=p.text;c>u.width&&(c-=g-a,g=a,m=null);var v=new kg({shape:{points:tD(o,0,g,l,d===h.length-1,0===d)},style:Object(s["i"])(i.getItemStyle(),{lineJoin:"bevel"}),textContent:new ys({style:{text:m,fill:n.getTextColor(),font:n.getFont()}}),textConfig:{position:"inside"},z2:1e4*Is,onclick:Object(s["h"])(r,f)});v.disableLabelAnimation=!0,this.group.add(v),eD(v,t,f),o+=g+ZE}},t.prototype.remove=function(){this.group.removeAll()},t}();function tD(t,e,i,n,r,o){var a=[[r?t:t-QE,e],[t+i,e],[t+i,e+n],[r?t:t-QE,e+n]];return!o&&a.splice(2,0,[t+i+QE,e+n/2]),!r&&a.push([t,e+n/2]),a}function eD(t,e,i){bs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&DE(i,e)}}var iD=JE,nD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,i,n,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:i,delay:n,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,i=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},n=0,r=this._storage.length;n<r;n++){var o=this._storage[n];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:i,aborted:i})}return this},t}();function rD(){return new nD}var oD=bn,aD=ts,sD=3,lD="label",uD="upperLabel",cD=10*Is,hD=2*Is,dD=3*Is,pD=Kr([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),fD=function(t){var e=pD(t);return e.stroke=e.fill=e.lineWidth=null,e},gD=kr(),mD=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._state="ready",i._storage=vD(),i}return o(e,t),e.prototype.render=function(t,e,i,n){var r=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(Object(s["r"])(r,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],a=IE(n,o,t),l=n&&n.type,u=t.layoutInfo,c=!this._oldTree,h=this._storage,d="treemapRootToNode"===l&&a&&h?{rootNodeGroup:h.nodeGroup[a.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(u),f=t.get("animation"),g=this._doRender(p,t,d);!f||c||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?g.renderFinally():this._doAnimation(p,g,t,d),this._resetController(i),this._renderBreadcrumb(t,i,a)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new oD,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,i){var n=e.getData().tree,r=this._oldTree,o=vD(),a=vD(),l=this._storage,u=[];function c(t,n,r,s){return yD(e,a,l,i,o,u,t,n,r,s)}d(n.root?[n.root]:[],r&&r.root?[r.root]:[],t,n===r||!r,0);var h=p(l);return this._oldTree=n,this._storage=a,{lastsForAnimation:o,willDeleteEls:h,renderFinally:f};function d(t,e,i,n,r){function o(t){return t.getId()}function a(o,a){var s=null!=o?t[o]:null,l=null!=a?e[a]:null,u=c(s,l,i,r);u&&d(s&&s.viewChildren||[],l&&l.viewChildren||[],u,n,r+1)}n?(e=t,Object(s["k"])(t,(function(t,e){!t.isRemoved()&&a(e,e)}))):new yw(e,t,o,o).add(a).update(a).remove(Object(s["h"])(a,null)).execute()}function p(t){var e=vD();return t&&Object(s["k"])(t,(function(t,i){var n=e[i];Object(s["k"])(t,(function(t){t&&(n.push(t),gD(t).willDelete=!0)}))})),e}function f(){Object(s["k"])(h,(function(t){Object(s["k"])(t,(function(t){t.parent&&t.parent.remove(t)}))})),Object(s["k"])(u,(function(t){t.invisible=!0,t.dirty()}))}},e.prototype._doAnimation=function(t,e,i,n){var r=i.get("animationDurationUpdate"),o=i.get("animationEasing"),a=(Object(s["w"])(r)?0:r)||0,l=(Object(s["w"])(o)?null:o)||"cubicOut",u=rD();Object(s["k"])(e.willDeleteEls,(function(t,e){Object(s["k"])(t,(function(t,i){if(!t.invisible){var r,o=t.parent,s=gD(o);if(n&&"drillDown"===n.direction)r=o===n.rootNodeGroup?{shape:{x:0,y:0,width:s.nodeWidth,height:s.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;s.willDelete||(c=s.nodeWidth/2,h=s.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&u.add(t,r,a,0,l)}}))})),Object(s["k"])(this._storage,(function(t,i){Object(s["k"])(t,(function(t,n){var r=e.lastsForAnimation[i][n],o={};r&&(t instanceof bn?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=Object(s["m"])({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),u.add(t,o,a,0,l))}))}),this),this._state="animating",u.finished(Object(s["c"])((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||(e=this._controller=new zA(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",Object(s["c"])(this._onPan,this)),e.on("zoom",Object(s["c"])(this._onZoom,this)));var i=new Gi(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>sD||Math.abs(t.dy)>sD)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},e.prototype._onZoom=function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;var o=new Gi(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,i-=a.y;var s=fi();yi(s,s,[-e,-i]),_i(s,s,[t.scale,t.scale]),yi(s,s,[e,i]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var i=e.seriesModel.get("nodeClick",!0);if(i){var n=e.findTarget(t.offsetX,t.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)e._rootToNode(n);else if("zoomToNode"===i)e._zoomToNode(n);else if("link"===i){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Ic(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,i){var n=this;i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),i||(i={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new iD(this.group))).render(t,e,i.node,(function(e){"animating"!==n._state&&(EE(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=vD(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var r=this._storage.background[n.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;i={node:n,offsetX:o[0],offsetY:o[1]}}}),this),i},e.type="treemap",e}(Hm);function vD(){return{nodeGroup:[],background:[],content:[]}}function yD(t,e,i,n,r,o,a,l,u,c){if(a){var h=a.getLayout(),d=t.getData(),p=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),h&&h.isInView){var f=h.width,g=h.height,m=h.borderWidth,v=h.invisible,y=a.getRawIndex(),b=l&&l.getRawIndex(),_=a.viewChildren,x=h.upperHeight,w=_&&_.length,S=p.getModel("itemStyle"),C=p.getModel(["emphasis","itemStyle"]),k=p.getModel(["blur","itemStyle"]),M=p.getModel(["select","itemStyle"]),O=S.get("borderRadius")||0,T=V("nodeGroup",oD);if(T){if(u.add(T),T.x=h.x||0,T.y=h.y||0,T.markRedraw(),gD(T).nodeWidth=f,gD(T).nodeHeight=g,h.isAboveViewRoot)return T;var A=V("background",aD,c,hD);A&&R(T,A,w&&h.upperLabelHeight);var I=p.getModel("emphasis"),P=I.get("focus"),E=I.get("blurScope"),D=I.get("disabled"),L="ancestor"===P?a.getAncestorsIndices():"descendant"===P?a.getDescendantIndices():P;if(w)Al(T)&&Tl(T,!1),A&&(Tl(A,!D),d.setItemGraphicEl(a.dataIndex,A),Cl(A,L,E));else{var j=V("content",aD,c,dD);j&&B(T,j),A.disableMorphing=!0,A&&Al(A)&&Tl(A,!1),Tl(T,!D),d.setItemGraphicEl(a.dataIndex,T),Cl(T,L,E)}return T}}}function R(e,i,n){var r=bs(i);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:f,height:g,r:O}),v)F(i);else{i.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=fD(S);l.fill=s;var u=pD(C);u.fill=C.get("borderColor");var c=pD(k);c.fill=k.get("borderColor");var h=pD(M);if(h.fill=M.get("borderColor"),n){var d=f-2*m;N(i,s,o.opacity,{x:m,y:0,width:d,height:x})}else i.removeTextContent();i.setStyle(l),i.ensureState("emphasis").style=u,i.ensureState("blur").style=c,i.ensureState("select").style=h,el(i)}e.add(i)}function B(e,i){var n=bs(i);n.dataIndex=a.dataIndex,n.seriesIndex=t.seriesIndex;var r=Math.max(f-2*m,0),o=Math.max(g-2*m,0);if(i.culling=!0,i.setShape({x:m,y:m,width:r,height:o,r:O}),v)F(i);else{i.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=fD(S);u.fill=l,u.decal=s.decal;var c=pD(C),h=pD(k),d=pD(M);N(i,l,s.opacity,null),i.setStyle(u),i.ensureState("emphasis").style=c,i.ensureState("blur").style=h,i.ensureState("select").style=d,el(i)}e.add(i)}function F(t){!t.invisible&&o.push(t)}function N(e,i,n,r){var o=p.getModel(r?uD:lD),l=vr(p.get("name"),null),u=o.getShallow("show");Xl(e,Kl(p,r?uD:lD),{defaultText:u?l:null,inheritColor:i,defaultOpacity:n,labelFetcher:t,labelDataIndex:a.dataIndex});var c=e.getTextContent();if(c){var d=c.style,f=Object(s["M"])(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),i=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===i||c.setStyle({width:t,height:i})},d.truncateMinChar=2,d.lineOverflow="truncate",z(d,r,h);var g=c.getState("emphasis");z(g?g.style:null,r,h)}}function z(e,i,n){var r=e?e.text:null;if(!i&&n.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function V(t,n,o,a){var s=null!=b&&i[t][b],l=r[t];return s?(i[t][b]=null,q(l,s)):v||(s=new n,s instanceof Io&&(s.z2=bD(o,a)),$(l,s)),e[t][y]=s}function q(t,e){var i=t[y]={};e instanceof oD?(i.oldX=e.x,i.oldY=e.y):i.oldShape=Object(s["m"])({},e.shape)}function $(t,e){var i=t[y]={},o=a.parentNode,s=e instanceof bn;if(o&&(!n||"drillDown"===n.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!n&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(i.oldX=0,i.oldY=u):i.oldShape={x:l,y:u,width:0,height:0}}i.fadein=!s}}function bD(t,e){return t*cD+e}var _D=mD,xD=s["k"],wD=s["A"],SD=-1,CD=function(){function t(e){var i=e.mappingMethod,n=e.type,r=this.option=s["d"](e);this.type=n,this.mappingMethod=i,this._normalizeData=RD[i];var o=t.visualHandlers[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[i],"piecewise"===i?(OD(r),kD(r)):"category"===i?r.categories?MD(r):OD(r,!0):(s["b"]("linear"!==i||r.dataExtent),OD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return s["c"](this._normalizeData,this)},t.listVisualTypes=function(){return s["F"](t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,i){s["A"](t)?s["k"](t,e,i):e.call(i,t)},t.mapVisual=function(e,i,n){var r,o=s["t"](e)?[]:s["A"](e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=i.call(n,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var i,n={};return e&&xD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(n[r]=e[r],i=!0)})),i?n:null},t.prepareVisualTypes=function(t){if(s["t"](t))t=t.slice();else{if(!wD(t))return[];var e=[];xD(t,(function(t,i){e.push(i)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,i){for(var n,r=1/0,o=0,a=e.length;o<a;o++){var l=e[o].value;if(null!=l){if(l===t||s["C"](l)&&l===t+"")return o;i&&d(l,o)}}for(o=0,a=e.length;o<a;o++){var u=e[o],c=u.interval,h=u.close;if(c){if(c[0]===-1/0){if(BD(h[1],t,c[1]))return o}else if(c[1]===1/0){if(BD(h[0],c[0],t))return o}else if(BD(h[0],c[0],t)&&BD(h[1],t,c[1]))return o;i&&d(c[0],o),i&&d(c[1],o)}}if(i)return t===1/0?e.length-1:t===-1/0?0:n;function d(e,i){var o=Math.abs(e-t);o<r&&(r=o,n=i)}},t.visualHandlers={color:{applyVisual:ID("color"),getColorMapper:function(){var t=this.option;return s["c"]("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),PD.call(this,t)}:function(e,i,n){var r=!!n;return!i&&(e=this._normalizeData(e)),n=pe["a"](e,t.parsedVisual,n),r?n:pe["h"](n,"rgba")},this)},_normalizedToVisual:{linear:function(t){return pe["h"](pe["a"](t,this.option.parsedVisual),"rgba")},category:PD,piecewise:function(t,e){var i=LD.call(this,e);return null==i&&(i=pe["h"](pe["a"](t,this.option.parsedVisual),"rgba")),i},fixed:ED}},colorHue:TD((function(t,e){return pe["f"](t,e)})),colorSaturation:TD((function(t,e){return pe["f"](t,null,e)})),colorLightness:TD((function(t,e){return pe["f"](t,null,null,e)})),colorAlpha:TD((function(t,e){return pe["e"](t,e)})),decal:{applyVisual:ID("decal"),_normalizedToVisual:{linear:null,category:PD,piecewise:null,fixed:null}},opacity:{applyVisual:ID("opacity"),_normalizedToVisual:DD([0,1])},liftZ:{applyVisual:ID("liftZ"),_normalizedToVisual:{linear:ED,category:ED,piecewise:ED,fixed:ED}},symbol:{applyVisual:function(t,e,i){var n=this.mapValueToVisual(t);i("symbol",n)},_normalizedToVisual:{linear:AD,category:PD,piecewise:function(t,e){var i=LD.call(this,e);return null==i&&(i=AD.call(this,t)),i},fixed:ED}},symbolSize:{applyVisual:ID("symbolSize"),_normalizedToVisual:DD([0,1])}},t}();function kD(t){var e=t.pieceList;t.hasSpecialVisual=!1,s["k"](e,(function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function MD(t){var e=t.categories,i=t.categoryMap={},n=t.visual;if(xD(e,(function(t,e){i[t]=e})),!s["t"](n)){var r=[];s["A"](n)?xD(n,(function(t,e){var n=i[e];r[null!=n?n:SD]=t})):r[SD]=n,n=jD(t,r)}for(var o=e.length-1;o>=0;o--)null==n[o]&&(delete i[e[o]],e.pop())}function OD(t,e){var i=t.visual,n=[];s["A"](i)?xD(i,(function(t){n.push(t)})):null!=i&&n.push(i);var r={color:1,symbol:1};e||1!==n.length||r.hasOwnProperty(t.type)||(n[1]=n[0]),jD(t,n)}function TD(t){return{applyVisual:function(e,i,n){var r=this.mapValueToVisual(e);n("color",t(i("color"),r))},_normalizedToVisual:DD([0,1])}}function AD(t){var e=this.option.visual;return e[Math.round(In(t,[0,1],[0,e.length-1],!0))]||{}}function ID(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function PD(t){var e=this.option.visual;return e[this.option.loop&&t!==SD?t%e.length:t]}function ED(){return this.option.visual[0]}function DD(t){return{linear:function(e){return In(e,t,this.option.visual,!0)},category:PD,piecewise:function(e,i){var n=LD.call(this,i);return null==n&&(n=In(e,t,this.option.visual,!0)),n},fixed:ED}}function LD(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=CD.findPieceIndex(t,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function jD(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=s["H"](e,(function(t){var e=pe["g"](t);return e||[0,0,0,1]}))),e}var RD={linear:function(t){return In(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=CD.findPieceIndex(t,e,!0);if(null!=i)return In(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?SD:e},fixed:s["L"]};function BD(t,e,i){return t?e<=i:e<i}var FD=CD,ND="itemStyle",zD=kr(),VD={seriesType:"treemap",reset:function(t){var e=t.getData().tree,i=e.root;i.isRemoved()||qD(i,{},t.getViewRoot().getAncestors(),t)}};function qD(t,e,i,n){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var l,u=r.getModel(ND),c=$D(u,e,n),h=a.ensureUniqueItemVisual(t.dataIndex,"style"),d=u.get("borderColor"),p=u.get("borderColorSaturation");null!=p&&(l=HD(c),d=GD(p,l)),h.stroke=d;var f=t.viewChildren;if(f&&f.length){var g=UD(t,r,o,u,c,f);Object(s["k"])(f,(function(t,e){if(t.depth>=i.length||t===i[t.depth]){var o=XD(r,c,t,e,g,n);qD(t,o,i,n)}}))}else l=HD(c),h.fill=l}}function $D(t,e,i){var n=Object(s["m"])({},e),r=i.designatedVisualItemStyle;return Object(s["k"])(["color","colorAlpha","colorSaturation"],(function(i){r[i]=e[i];var o=t.get(i);r[i]=null,null!=o&&(n[i]=o)})),n}function HD(t){var e=WD(t,"color");if(e){var i=WD(t,"colorAlpha"),n=WD(t,"colorSaturation");return n&&(e=Object(pe["f"])(e,null,null,n)),i&&(e=Object(pe["e"])(e,i)),e}}function GD(t,e){return null!=e?Object(pe["f"])(e,null,null,t):null}function WD(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function UD(t,e,i,n,r,o){if(o&&o.length){var a=YD(e,"color")||null!=r.color&&"none"!==r.color&&(YD(e,"colorAlpha")||YD(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=i.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new FD(h);return zD(d).drColorMappingBy=c,d}}}function YD(t,e){var i=t.get(e);return Object(s["t"])(i)&&i.length?{name:e,range:i}:null}function XD(t,e,i,n,r,o){var a=Object(s["m"])({},e);if(r){var l=r.type,u="color"===l&&zD(r).drColorMappingBy,c="index"===u?n:"id"===u?o.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));a[l]=r.mapValueToVisual(c)}return a}var KD=Math.max,ZD=Math.min,QD=s["O"],JD=s["k"],tL=["itemStyle","borderWidth"],eL=["itemStyle","gapWidth"],iL=["upperLabel","show"],nL=["upperLabel","height"],rL={seriesType:"treemap",reset:function(t,e,i,n){var r=i.getWidth(),o=i.getHeight(),a=t.option,l=Bc(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()}),u=a.size||[],c=Pn(QD(l.width,u[0]),r),h=Pn(QD(l.height,u[1]),o),d=n&&n.type,p=["treemapZoomToNode","treemapRootToNode"],f=IE(n,p,t),g="treemapRender"===d||"treemapMove"===d?n.rootRect:null,m=t.getViewRoot(),v=PE(m);if("treemapMove"!==d){var y="treemapZoomToNode"===d?dL(t,f,m,c,h):g?[g.width,g.height]:[c,h],b=a.sort;b&&"asc"!==b&&"desc"!==b&&(b="desc");var _={squareRatio:a.squareRatio,sort:b,leafDepth:a.leafDepth};m.hostTree.clearLayouts();var x={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};m.setLayout(x),oL(m,_,!1,0),x=m.getLayout(),JD(v,(function(t,e){var i=(v[e+1]||m).getValue();t.setLayout(s["m"]({dataExtent:[i,i],borderWidth:0,upperHeight:0},x))}))}var w=t.getData().tree.root;w.setLayout(pL(l,g,f),!0),t.setLayoutInfo(l),fL(w,new Gi(-l.x,-l.y,r,o),v,m,0)}};function oL(t,e,i,n){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(tL),u=s.get(eL)/2,c=gL(s),h=Math.max(l,c),d=l-u,p=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0),r=KD(r-2*d,0),o=KD(o-d-p,0);var f=r*o,g=aL(t,s,f,e,i,n);if(g.length){var m={x:d,y:p,width:r,height:o},v=ZD(r,o),y=1/0,b=[];b.area=0;for(var _=0,x=g.length;_<x;){var w=g[_];b.push(w),b.area+=w.getLayout().area;var S=cL(b,v,e.squareRatio);S<=y?(_++,y=S):(b.area-=b.pop().getLayout().area,hL(b,v,m,u,!1),v=ZD(m.width,m.height),b.length=b.area=0,y=1/0)}if(b.length&&hL(b,v,m,u,!0),!i){var C=s.get("childrenVisibleMin");null!=C&&f<C&&(i=!0)}for(_=0,x=g.length;_<x;_++)oL(g[_],e,i,n+1)}}}function aL(t,e,i,n,r,o){var a=t.children||[],l=n.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=n.leafDepth&&n.leafDepth<=o;if(r&&!u)return t.viewChildren=[];a=s["n"](a,(function(t){return!t.isRemoved()})),lL(a,l);var c=uL(e,a,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=sL(e,i,c.sum,l,a),0===c.sum)return t.viewChildren=[];for(var h=0,d=a.length;h<d;h++){var p=a[h].getValue()/c.sum*i;a[h].setLayout({area:p})}return u&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0),t.viewChildren=a,t.setLayout({dataExtent:c.dataExtent},!0),a}function sL(t,e,i,n,r){if(!n)return i;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===n?a-l-1:l].getValue();u/i*e<o&&(s=l,i-=u)}return"asc"===n?r.splice(0,a-s):r.splice(s,a-s),i}function lL(t,e){return e&&t.sort((function(t,i){var n="asc"===e?t.getValue()-i.getValue():i.getValue()-t.getValue();return 0===n?"asc"===e?t.dataIndex-i.dataIndex:i.dataIndex-t.dataIndex:n})),t}function uL(t,e,i){for(var n=0,r=0,o=e.length;r<o;r++)n+=e[r].getValue();var a,s=t.get("visualDimension");return e&&e.length?"value"===s&&i?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===i&&a.reverse()):(a=[1/0,-1/0],JD(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:n,dataExtent:a}}function cL(t,e,i){for(var n=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)a=t[o].getLayout().area,a&&(a<r&&(r=a),a>n&&(n=a));var l=t.area*t.area,u=e*e*i;return l?KD(u*n/l,l/(u*r)):1/0}function hL(t,e,i,n,r){var o=e===i.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=i[s[o]],c=e?t.area/e:0;(r||c>i[l[a]])&&(c=i[l[a]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,m=f[l[a]]=KD(c-2*n,0),v=i[s[o]]+i[l[o]]-u,y=h===d-1||v<g?v:g,b=f[l[o]]=KD(y-2*n,0);f[s[a]]=i[s[a]]+ZD(n,m/2),f[s[o]]=u+ZD(n,b/2),u+=y,p.setLayout(f,!0)}i[s[a]]+=c,i[l[a]]-=c}function dL(t,e,i,n,r){var o,a=(e||{}).node,s=[n,r];if(!a||a===i)return s;var l=n*r,u=l*t.option.zoomToNodeRatio;while(o=a.parentNode){for(var c=0,h=o.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var f=a.getValue();if(0===f)return s;u*=c/f;var g=o.getModel(),m=g.get(tL),v=Math.max(m,gL(g));u+=4*m*m+(3*m+v)*Math.pow(u,.5),u>Nn&&(u=Nn),a=o}u<l&&(u=l);var y=Math.pow(u/l,.5);return[n*y,r*y]}function pL(t,e,i){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!i)return n;var r=i.node,o=r.getLayout();if(!o)return n;var a=[o.width/2,o.height/2],s=r;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}function fL(t,e,i,n,r){var o=t.getLayout(),a=i[r],s=a&&a===t;if(!(a&&!s||r===i.length&&t!==n)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Gi(e.x-o.x,e.y-o.y,e.width,e.height);JD(t.viewChildren||[],(function(t){fL(t,l,i,n,r+1)}))}}function gL(t){return t.get(iL)?t.get(nL):0}function mL(t){t.registerSeriesModel(XE),t.registerChartView(_D),t.registerVisual(VD),t.registerLayout(rL),HE(t)}function vL(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var i=t.getCategoriesData(),n=t.getGraph(),r=n.data,o=i.mapArray(i.getName);r.filterSelf((function(t){var i=r.getItemModel(t),n=i.getShallow("category");if(null!=n){Object(s["z"])(n)&&(n=o[n]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(n))return!1}return!0}))}))}function yL(t){var e={};t.eachSeriesByType("graph",(function(t){var i=t.getCategoriesData(),n=t.getData(),r={};i.each((function(n){var o=i.getName(n);r["ec-"+o]=n;var a=i.getItemModel(n),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),i.setItemVisual(n,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&i.setItemVisual(n,l[u],c)}})),i.count()&&n.each((function(t){var e=n.getItemModel(t),o=e.getShallow("category");if(null!=o){Object(s["C"])(o)&&(o=r["ec-"+o]);var a=i.getItemVisual(o,"style"),l=n.ensureUniqueItemVisual(t,"style");Object(s["m"])(l,a);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++)n.setItemVisual(t,u[c],i.getItemVisual(o,u[c]))}}))}))}function bL(t){return t instanceof Array||(t=[t,t]),t}function _L(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),i=t.getEdgeData(),n=bL(t.get("edgeSymbol")),r=bL(t.get("edgeSymbolSize"));i.setVisual("fromSymbol",n&&n[0]),i.setVisual("toSymbol",n&&n[1]),i.setVisual("fromSymbolSize",r&&r[0]),i.setVisual("toSymbolSize",r&&r[1]),i.setVisual("style",t.getModel("lineStyle").getLineStyle()),i.each((function(t){var n=i.getItemModel(t),r=e.getEdgeByIndex(t),o=bL(n.getShallow("symbol",!0)),a=bL(n.getShallow("symbolSize",!0)),l=n.getModel("lineStyle").getLineStyle(),u=i.ensureUniqueItemVisual(t,"style");switch(Object(s["m"])(u,l),u.stroke){case"source":var c=r.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=r.node2.getVisual("style");u.stroke=c&&c.fill;break}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var xL="--\x3e",wL=function(t){return t.get("autoCurveness")||null},SL=function(t,e){var i=wL(t),n=20,r=[];if(s["z"](i))n=i;else if(s["t"](i))return void(t.__curvenessList=i);e>n&&(n=e);var o=n%2?n+2:n+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},CL=function(t,e,i){var n=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[i.uid,n,r].join(xL)},kL=function(t){var e=t.split(xL);return[e[0],e[2],e[1]].join(xL)},ML=function(t,e){var i=CL(t.node1,t.node2,e);return e.__edgeMap[i]},OL=function(t,e){var i=TL(CL(t.node1,t.node2,e),e),n=TL(CL(t.node2,t.node1,e),e);return i+n},TL=function(t,e){var i=e.__edgeMap;return i[t]?i[t].length:0};function AL(t){wL(t)&&(t.__curvenessList=[],t.__edgeMap={},SL(t))}function IL(t,e,i,n){if(wL(i)){var r=CL(t,e,i),o=i.__edgeMap,a=o[kL(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(n)}}function PL(t,e,i,n){var r=wL(e),o=s["t"](r);if(!r)return null;var a=ML(t,e);if(!a)return null;for(var l=-1,u=0;u<a.length;u++)if(a[u]===i){l=u;break}var c=OL(t,e);SL(e,c),t.lineStyle=t.lineStyle||{};var h=CL(t.node1,t.node2,e),d=e.__curvenessList,p=o||c%2?0:1;if(a.isForward)return d[p+l];var f=kL(h),g=TL(f,e),m=d[l+g+p];return n?o?r&&0===r[0]?(g+p)%2?m:-m:((g%2?0:1)+p)%2?m:-m:(g+p)%2?m:-m:d[l+g+p]}function EL(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),DL(i,t)}}function DL(t,e){t.eachEdge((function(t,i){var n=s["Q"](t.getModel().get(["lineStyle","curveness"]),-PL(t,e,i,!0),0),r=d(t.node1.getLayout()),o=d(t.node2.getLayout()),a=[r,o];+n&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*n,(r[1]+o[1])/2-(o[0]-r[0])*n]),t.setLayout(a)}))}function LL(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),i=t.coordinateSystem;if(i&&"view"!==i.type){var n=t.getData(),r=[];Object(s["k"])(i.dimensions,(function(t){r=r.concat(n.mapDimensionsAll(t))}));for(var o=0;o<n.count();o++){for(var a=[],l=!1,u=0;u<r.length;u++){var c=n.get(r[u],o);isNaN(c)||(l=!0),a.push(c)}l?n.setItemLayout(o,i.dataToPoint(a)):n.setItemLayout(o,[NaN,NaN])}DL(n.graph,t)}else e&&"none"!==e||EL(t)}))}function jL(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var i=t.option.nodeScaleRatio,n=e.scaleX,r=e.getZoom(),o=(r-1)*i+1;return o/n}function RL(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var BL=Math.PI,FL=[];function NL(t,e){var i=t.coordinateSystem;if(!i||"view"===i.type){var n=i.getBoundingRect(),r=t.getData(),o=r.graph,a=n.width/2+n.x,l=n.height/2+n.y,u=Math.min(n.width,n.height)/2,c=r.count();r.setLayout({cx:a,cy:l}),c&&(zL[e](t,o,r,u,a,l,c),o.eachEdge((function(e,i){var n,r=s["Q"](e.getModel().get(["lineStyle","curveness"]),PL(e,t,i),0),o=d(e.node1.getLayout()),u=d(e.node2.getLayout()),c=(o[0]+u[0])/2,h=(o[1]+u[1])/2;+r&&(r*=3,n=[a*r+c*(1-r),l*r+h*(1-r)]),e.setLayout([o,u,n])})))}}var zL={value:function(t,e,i,n,r,o,a){var s=0,l=i.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),i=u*(l?e:1)/2;s+=i,t.setLayout([n*Math.cos(s)+r,n*Math.sin(s)+o]),s+=i}))},symbolSize:function(t,e,i,n,r,o,a){var s=0;FL.length=a;var l=jL(t);e.eachNode((function(t){var e=RL(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var i=Math.asin(e/2/n);isNaN(i)&&(i=BL/2),FL[t.dataIndex]=i,s+=2*i}));var u=(2*BL-s)/a/2,c=0;e.eachNode((function(t){var e=u+FL[t.dataIndex];c+=e,t.setLayout([n*Math.cos(c)+r,n*Math.sin(c)+o]),c+=e}))}};function VL(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&NL(t,"symbolSize")}))}var qL=g;function $L(t,e,i){for(var n=t,r=e,o=i.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==i.gravity?.1:i.gravity,f=0;f<n.length;f++){var g=n[f];g.p||(g.p=c(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),g.pp=d(g.p),g.edges=null}var y,b,x=null==i.friction?.6:i.friction,w=x;return{warmUp:function(){w=.8*x},setFixed:function(t){n[t].fixed=!0},setUnfixed:function(t){n[t].fixed=!1},beforeStep:function(t){y=t},afterStep:function(t){b=t},step:function(t){y&&y(n,r);for(var e=[],i=n.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1,c=a.n2;m(e,c.p,s.p);var d=v(e)-a.d,f=c.w/(s.w+c.w);isNaN(f)&&(f=0),_(e,e),!s.fixed&&qL(s.p,s.p,e,f*d*w),!c.fixed&&qL(c.p,c.p,e,-(1-f)*d*w)}}for(o=0;o<i;o++){var g=n[o];g.fixed||(m(e,l,g.p),qL(g.p,g.p,e,u*w))}for(o=0;o<i;o++){s=n[o];for(var x=o+1;x<i;x++){c=n[x];m(e,c.p,s.p);d=v(e);0===d&&(p(e,Math.random()-.5,Math.random()-.5),d=1);var S=(s.rep+c.rep)/d/d;!s.fixed&&qL(s.pp,s.pp,e,S),!c.fixed&&qL(c.pp,c.pp,e,-S)}}var C=[];for(o=0;o<i;o++){g=n[o];g.fixed||(m(C,g.p,g.pp),qL(g.p,g.p,C,w),h(g.pp,g.p))}w*=.992;var k=w<.01;b&&b(n,r,k),t&&t(k)}}}function HL(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var i=t.preservedPoints||{},n=t.getGraph(),r=n.data,o=n.edgeData,a=t.getModel("force"),l=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,i[e]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&NL(t,"value"):EL(t);var u=r.getDataExtent("value"),c=o.getDataExtent("value"),d=a.get("repulsion"),p=a.get("edgeLength"),f=s["t"](d)?d:[d,d],g=s["t"](p)?p:[p,p];g=[g[1],g[0]];var m=r.mapArray("value",(function(t,e){var i=r.getItemLayout(e),n=In(t,u,f);return isNaN(n)&&(n=(f[0]+f[1])/2),{w:n,rep:n,fixed:r.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),v=o.mapArray("value",(function(e,i){var r=n.getEdgeByIndex(i),o=In(e,c,g);isNaN(o)&&(o=(g[0]+g[1])/2);var a=r.getModel(),l=s["Q"](r.getModel().get(["lineStyle","curveness"]),-PL(r,t,i,!0),0);return{n1:m[r.node1.dataIndex],n2:m[r.node2.dataIndex],d:o,curveness:l,ignoreForceLayout:a.get("ignoreForceLayout")}})),y=e.getBoundingRect(),b=$L(m,v,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});b.beforeStep((function(t,e){for(var i=0,r=t.length;i<r;i++)t[i].fixed&&h(t[i].p,n.getNodeByIndex(i).getLayout())})),b.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||n.getNodeByIndex(a).setLayout(t[a].p),i[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=n.getEdgeByIndex(a),c=l.n1.p,d=l.n2.p,p=u.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],h(p[0],c),h(p[1],d),+l.curveness&&(p[2]=[(c[0]+d[0])/2-(c[1]-d[1])*l.curveness,(c[1]+d[1])/2-(d[0]-c[0])*l.curveness]),u.setLayout(p)}})),t.forceLayout=b,t.preservedPoints=i,b.step()}else t.forceLayout=null}))}function GL(t,e,i){var n=Object(s["m"])(t.getBoxLayoutParams(),{aspect:i});return Bc(n,{width:e.getWidth(),height:e.getHeight()})}function WL(t,e){var i=[];return t.eachSeriesByType("graph",(function(t){var n=t.get("coordinateSystem");if(!n||"view"===n){var r=t.getData(),o=r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),a=[],s=[];No(o,a,s),s[0]-a[0]===0&&(s[0]+=1,a[0]-=1),s[1]-a[1]===0&&(s[1]+=1,a[1]-=1);var l=(s[0]-a[0])/(s[1]-a[1]),u=GL(t,e,l);isNaN(l)&&(a=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-a[0],h=s[1]-a[1],d=u.width,p=u.height,f=t.coordinateSystem=new kP;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(a[0],a[1],c,h),f.setViewRect(u.x,u.y,d,p),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),i.push(f)}})),i}var UL=Eg.prototype,YL=Bg.prototype,XL=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}();(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}o(e,t)})(XL);function KL(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var ZL=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-line",i}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new XL},e.prototype.buildPath=function(t,e){KL(e)?UL.buildPath.call(this,t,e):YL.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return KL(this.shape)?UL.pointAt.call(this,t):YL.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,i=KL(e)?[e.x2-e.x1,e.y2-e.y1]:YL.tangentAt.call(this,t);return _(i,i)},e}(Ba),QL=ZL,JL=["fromSymbol","toSymbol"];function tj(t){return"_"+t+"Type"}function ej(t,e,i){var n=e.getItemVisual(i,t);if(n&&"none"!==n){var r=e.getItemVisual(i,t+"Size"),o=e.getItemVisual(i,t+"Rotate"),a=e.getItemVisual(i,t+"Offset"),s=e.getItemVisual(i,t+"KeepAspect"),l=ry(r),u=oy(a||0,l),c=ny(n,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function ij(t){var e=new QL({name:"line",subPixelOptimize:!0});return nj(e.shape,t),e}function nj(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var i=e[2];i?(t.cpx1=i[0],t.cpy1=i[1]):(t.cpx1=NaN,t.cpy1=NaN)}var rj=function(t){function e(e,i,n){var r=t.call(this)||this;return r._createLine(e,i,n),r}return o(e,t),e.prototype._createLine=function(t,e,i){var n=t.hostModel,r=t.getItemLayout(e),o=ij(r);o.shape.percent=0,Nl(o,{shape:{percent:1}},n,e),this.add(o),Object(s["k"])(JL,(function(i){var n=ej(i,t,e);this.add(n),this[tj(i)]=t.getItemVisual(e,i)}),this),this._updateCommonStl(t,e,i)},e.prototype.updateData=function(t,e,i){var n=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};nj(a.shape,o),Fl(r,a,n,e),Object(s["k"])(JL,(function(i){var n=t.getItemVisual(e,i),r=tj(i);if(this[r]!==n){this.remove(this.childOfName(i));var o=ej(i,t,e);this.add(o)}this[r]=n}),this),this._updateCommonStl(t,e,i)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,i){var n=t.hostModel,r=this.childOfName("line"),o=i&&i.emphasisLineStyle,a=i&&i.blurLineStyle,l=i&&i.selectLineStyle,u=i&&i.labelStatesModels,c=i&&i.emphasisDisabled,h=i&&i.focus,d=i&&i.blurScope;if(!i||t.hasItemOption){var p=t.getItemModel(e),f=p.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),c=f.get("disabled"),h=f.get("focus"),d=f.get("blurScope"),u=Kl(p)}var g=t.getItemVisual(e,"style"),m=g.stroke;r.useStyle(g),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=l,Object(s["k"])(JL,(function(t){var e=this.childOfName(t);if(e){e.setColor(m),e.style.opacity=g.opacity;for(var i=0;i<Ts.length;i++){var n=Ts[i],o=r.getState(n);if(o){var a=o.style||{},s=e.ensureState(n),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var v=n.getRawValue(e);Xl(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,i){return n.getFormattedLabel(e,i,t.dataType)}},inheritColor:m||"#000",defaultOpacity:g.opacity,defaultText:(null==v?t.getName(e):isFinite(v)?En(v):v)+""});var y=this.getTextContent();if(y){var b=u.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=b.get("position")||"middle";var _=b.get("distance");Object(s["t"])(_)||(_=[_,_]),y.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),Sl(this,h,d,c)},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");nj(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),n=t.getTextContent();if(e||i||n&&!n.ignore){var r=1,o=this.parent;while(o)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=m([],u,l);if(_(c,c),e&&(e.setPosition(l),k(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),i&&(i.setPosition(u),k(i,1),i.scaleX=i.scaleY=r*s,i.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var h=void 0,d=void 0,p=n.__labelDistance,f=p[0]*r,g=p[1]*r,v=s/2,y=a.tangentAt(v),b=[y[1],-y[0]],x=a.pointAt(v);b[1]>0&&(b[0]=-b[0],b[1]=-b[1]);var w=y[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var S=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(S=Math.PI+S),n.rotation=S}var C=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":C=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":C=g,d="top";break;default:C=0,d="middle"}switch(n.__position){case"end":n.x=c[0]*f+u[0],n.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*f+l[0],n.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*w+l[0],n.y=l[1]+C,h=y[0]<0?"right":"left",n.originX=-f*w,n.originY=-C;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=x[0],n.y=x[1]+C,h="center",n.originY=-C;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*w+u[0],n.y=u[1]+C,h=y[0]>=0?"right":"left",n.originX=f*w,n.originY=-C;break}n.scaleX=n.scaleY=r,n.setStyle({verticalAlign:n.__verticalAlign||d,align:n.__align||h})}}}function k(t,e){var i=t.__specifiedRotation;if(null==i){var n=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(n[1],n[0]))}else t.attr("rotation",i)}},e}(bn),oj=rj,aj=function(){function t(t){this.group=new bn,this._LineCtor=t||oj}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var i=this,n=i.group,r=i._lineData;i._lineData=t,r||n.removeAll();var o=lj(t);t.diff(r).add((function(i){e._doAdd(t,i,o)})).update((function(i,n){e._doUpdate(r,t,n,i,o)})).remove((function(t){n.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,i){e.updateLayout(t,i)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=lj(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function i(t){t.isGroup||sj(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var n=t.start;n<t.end;n++){var r=e.getItemLayout(n);if(cj(r)){var o=new this._LineCtor(e,n,this._seriesScope);o.traverse(i),this.group.add(o),e.setItemGraphicEl(n,o),this._progressiveEls.push(o)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,i){var n=t.getItemLayout(e);if(cj(n)){var r=new this._LineCtor(t,e,i);t.setItemGraphicEl(e,r),this.group.add(r)}},t.prototype._doUpdate=function(t,e,i,n,r){var o=t.getItemGraphicEl(i);cj(e.getItemLayout(n))?(o?o.updateData(e,n,r):o=new this._LineCtor(e,n,r),e.setItemGraphicEl(n,o),this.group.add(o)):this.group.remove(o)},t}();function sj(t){return t.animators&&t.animators.length>0}function lj(t){var e=t.hostModel,i=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:i.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:i.get("disabled"),blurScope:i.get("blurScope"),focus:i.get("focus"),labelStatesModels:Kl(e)}}function uj(t){return isNaN(t[0])||isNaN(t[1])}function cj(t){return t&&!uj(t[0])&&!uj(t[1])}var hj=aj,dj=[],pj=[],fj=[],gj=ie,mj=C,vj=Math.abs;function yj(t,e,i){for(var n,r=t[0],o=t[1],a=t[2],s=1/0,l=i*i,u=.1,c=.1;c<=.9;c+=.1){dj[0]=gj(r[0],o[0],a[0],c),dj[1]=gj(r[1],o[1],a[1],c);var h=vj(mj(dj,e)-l);h<s&&(s=h,n=c)}for(var d=0;d<32;d++){var p=n+u;pj[0]=gj(r[0],o[0],a[0],n),pj[1]=gj(r[1],o[1],a[1],n),fj[0]=gj(r[0],o[0],a[0],p),fj[1]=gj(r[1],o[1],a[1],p);h=mj(pj,e)-l;if(vj(h)<.01)break;var f=mj(fj,e)-l;u/=2,h<0?f>=0?n+=u:n-=u:f>=0?n-=u:n+=u}return n}function bj(t,e){var i=[],n=ae,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[d(l[0]),d(l[1])],l[2]&&l.__original.push(d(l[2])));var p=l.__original;if(null!=l[2]){if(h(r[0],p[0]),h(r[1],p[2]),h(r[2],p[1]),u&&"none"!==u){var f=RL(t.node1),v=yj(r,p[0],f*e);n(r[0][0],r[1][0],r[2][0],v,i),r[0][0]=i[3],r[1][0]=i[4],n(r[0][1],r[1][1],r[2][1],v,i),r[0][1]=i[3],r[1][1]=i[4]}if(c&&"none"!==c){f=RL(t.node2),v=yj(r,p[1],f*e);n(r[0][0],r[1][0],r[2][0],v,i),r[1][0]=i[1],r[2][0]=i[2],n(r[0][1],r[1][1],r[2][1],v,i),r[1][1]=i[1],r[2][1]=i[2]}h(l[0],r[0]),h(l[1],r[2]),h(l[2],r[1])}else{if(h(o[0],p[0]),h(o[1],p[1]),m(a,o[1],o[0]),_(a,a),u&&"none"!==u){f=RL(t.node1);g(o[0],o[0],a,f*e)}if(c&&"none"!==c){f=RL(t.node2);g(o[1],o[1],a,-f*e)}h(l[0],o[0]),h(l[1],o[1])}}))}function _j(t){return"view"===t.type}var xj=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(t,e){var i=new CS,n=new hj,r=this.group;this._controller=new zA(e.getZr()),this._controllerHost={target:r},r.add(i.group),r.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},e.prototype.render=function(t,e,i){var n=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,l=this.group;if(_j(r)){var u={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?l.attr(u):Fl(l,u,t)}bj(t.getGraph(),jL(t));var c=t.getData();o.updateData(c);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,i),clearTimeout(this._layoutTimeout);var d=t.forceLayout,p=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p),c.graph.eachNode((function(t){var e=t.dataIndex,i=t.getGraphicEl(),r=t.getModel();if(i){i.off("drag").off("dragend");var o=r.get("draggable");o&&i.on("drag",(function(){d&&(d.warmUp(),!n._layouting&&n._startForceLayoutIteration(d,p),d.setFixed(e),c.setItemLayout(e,[i.x,i.y]))})).on("dragend",(function(){d&&d.setUnfixed(e)})),i.setDraggable(o&&!!d,!!r.get("cursor"));var a=r.get(["emphasis","focus"]);"adjacency"===a&&(bs(i).focus=t.getAdjacentDataIndices())}})),c.graph.eachEdge((function(t){var e=t.getGraphicEl(),i=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===i&&(bs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=c.getLayout("cx"),m=c.getLayout("cy");c.eachItemGraphicEl((function(t,e){var i=c.getItemModel(e),n=i.get(["label","rotate"])||0,r=t.getSymbolPath();if(f){var o=c.getItemLayout(e),a=Math.atan2(o[1]-m,o[0]-g);a<0&&(a=2*Math.PI+a);var l=o[0]<g;l&&(a-=Math.PI);var u=l?"left":"right";r.setTextConfig({rotation:-a,position:u,origin:"center"});var h=r.ensureState("emphasis");s["m"](h.textConfig||(h.textConfig={}),{position:u})}else r.setTextConfig({rotation:n*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var i=this;(function n(){t.step((function(t){i.updateLayout(i._model),(i._layouting=!t)&&(e?i._layoutTimeout=setTimeout(n,16):n())}))})()},e.prototype._updateController=function(t,e,i){var n=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,n,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(n,r)&&!GA(e,i,t)})),_j(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){VA(o,e.dx,e.dy),i.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){qA(o,e.scale,e.originX,e.originY),i.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),n._updateNodeAndLinkScale(),bj(t.getGraph(),jL(t)),n._lineDraw.updateLayout(),i.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),i=jL(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(i)}))},e.prototype.updateLayout=function(t){bj(t.getGraph(),jL(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Hm),wj=xj;function Sj(t){return"_EC_"+t}var Cj=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[Sj(t)]){var n=new kj(t,e);return n.hostGraph=this,this.nodes.push(n),i[Sj(t)]=n,n}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[Sj(t)]},t.prototype.addEdge=function(t,e,i){var n=this._nodesMap,r=this._edgesMap;if(s["z"](t)&&(t=this.nodes[t]),s["z"](e)&&(e=this.nodes[e]),t instanceof kj||(t=n[Sj(t)]),e instanceof kj||(e=n[Sj(e)]),t&&e){var o=t.id+"-"+e.id,a=new Mj(t,e,i);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof kj&&(t=t.id),e instanceof kj&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var i=this.nodes,n=i.length,r=0;r<n;r++)i[r].dataIndex>=0&&t.call(e,i[r],r)},t.prototype.eachEdge=function(t,e){for(var i=this.edges,n=i.length,r=0;r<n;r++)i[r].dataIndex>=0&&i[r].node1.dataIndex>=0&&i[r].node2.dataIndex>=0&&t.call(e,i[r],r)},t.prototype.breadthFirstTraverse=function(t,e,i,n){if(e instanceof kj||(e=this._nodesMap[Sj(e)]),e){for(var r="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(n,e,null)){var a=[e];while(a.length){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(n,c,s))return;a.push(c),c.__visited=!0}}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,i=this.nodes,n=this.edges,r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)i[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var i=n[e.getRawIndex(t)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0}));for(r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)n[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),i=this.nodes,n=this.edges,r=0;r<i.length;r++)e.addNode(i[r].id,i[r].dataIndex);for(r=0;r<n.length;r++){var o=n[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),kj=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.data.getItemModel(this.dataIndex);return i.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var i=this.edges[e];i.dataIndex<0||(t.edge.push(i.dataIndex),t.node.push(i.node1.dataIndex,i.node2.dataIndex))}return t},t}(),Mj=function(){function t(t,e,i){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}return t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,i=e.edgeData.getItemModel(this.dataIndex);return i.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function Oj(t,e){return{getValue:function(i){var n=this[t][e];return n.getStore().get(n.getDimensionIndex(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i){return this[t][e].getItemVisual(this.dataIndex,i)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}s["K"](kj,Oj("hostGraph","data")),s["K"](Mj,Oj("hostGraph","edgeData"));var Tj=Cj;function Aj(t,e,i,n,r){for(var o=new Tj(n),a=0;a<t.length;a++)o.addNode(s["O"](t[a].id,t[a].name,a),a);var l=[],u=[],c=0;for(a=0;a<e.length;a++){var h=e[a],d=h.source,p=h.target;o.addEdge(d,p,c)&&(u.push(h),l.push(s["O"](vr(h.id,null),d+" > "+p)),c++)}var f,g=i.get("coordinateSystem");if("cartesian2d"===g||"polar"===g)f=dS(t,i);else{var m=Hh.get(g),v=m&&m.dimensions||[];s["r"](v,"value")<0&&v.concat(["value"]);var y=Xw(t,{coordDimensions:v,encodeDefine:i.getEncode()}).dimensions;f=new Yw(y,i),f.initData(t)}var b=new Yw(["value"],i);return b.initData(u,l),r&&r(f,b),kE({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var Ij=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var i=this;function n(){return i._categoriesData}this.legendVisualProvider=new oM(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),rr(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],r=this;if(n&&i){AL(this);var o=Aj(n,i,this,!0,a);return s["k"](o.edges,(function(t){IL(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t}));var i=xu.prototype.getModel;function n(t,e){var n=i.call(this,t,e);return n.resolveParentPath=o,n}function o(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=o,t.getModel=n,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,i){if("edge"===i){var n=this.getData(),r=this.getDataParams(t,i),o=n.graph.getEdgeByIndex(t),a=n.getName(o.node1.dataIndex),s=n.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Hp("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=sf({series:this,dataIndex:t,multipleSeries:e});return u},e.prototype._updateCategoriesData=function(){var t=s["H"](this.option.categories||[],(function(t){return null!=t.value?t:s["m"]({value:0},t)})),e=new Yw(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(xf),Pj=Ij,Ej={type:"graphRoam",event:"graphRoam",update:"none"};function Dj(t){t.registerChartView(wj),t.registerSeriesModel(Pj),t.registerProcessor(vL),t.registerVisual(yL),t.registerVisual(_L),t.registerLayout(LL),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,VL),t.registerLayout(HL),t.registerCoordinateSystem("graphView",{dimensions:kP.dimensions,create:WL}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},s["L"]),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},s["L"]),t.registerAction(Ej,(function(t,e,i){e.eachComponent({mainType:"series",query:t},(function(e){var n=e.coordinateSystem,r=NP(n,t,void 0,i);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var Lj=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),jj=function(t){function e(e){var i=t.call(this,e)||this;return i.type="pointer",i}return o(e,t),e.prototype.getDefaultShape=function(){return new Lj},e.prototype.buildPath=function(t,e){var i=Math.cos,n=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-i(a)*o*(o>=r/3?1:2),l=e.y-n(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(a)*o,e.y+n(a)*o),t.lineTo(e.x+i(e.angle)*r,e.y+n(e.angle)*r),t.lineTo(e.x-i(a)*o,e.y-n(a)*o),t.lineTo(s,l)},e}(Ba),Rj=jj;function Bj(t,e){var i=t.get("center"),n=e.getWidth(),r=e.getHeight(),o=Math.min(n,r),a=Pn(i[0],e.getWidth()),s=Pn(i[1],e.getHeight()),l=Pn(t.get("radius"),o/2);return{cx:a,cy:s,r:l}}function Fj(t,e){var i=null==t?"":t+"";return e&&(Object(s["C"])(e)?i=e.replace("{value}",i):Object(s["w"])(e)&&(i=e(t))),i}var Nj=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){this.group.removeAll();var n=t.get(["axisLine","lineStyle","color"]),r=Bj(t,i);this._renderMain(t,e,i,n,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,i,n,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap"),h=c?jC:vg,d=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),g=[s,l];ua(g,!a),s=g[0],l=g[1];for(var m=l-s,v=s,y=0;d&&y<n.length;y++){var b=Math.min(Math.max(n[y][0],0),1);l=s+m*b;var _=new h({shape:{startAngle:v,endAngle:l,cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});_.setStyle({fill:n[y][1]}),_.setStyle(p.getLineStyle(["color","width"])),o.add(_),v=l}var x=function(t){if(t<=0)return n[0][1];var e;for(e=0;e<n.length;e++)if(n[e][0]>=t&&(0===e?0:n[e-1][0])<t)return n[e][1];return n[e-1][1]};this._renderTicks(t,e,i,x,r,s,l,a,f),this._renderTitleAndDetail(t,e,i,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,i,x,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,i,n,r,o,a,s,l){for(var u,c,h=this.group,d=r.cx,p=r.cy,f=r.r,g=+t.get("min"),m=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),b=t.getModel("axisLabel"),_=t.get("splitNumber"),x=y.get("splitNumber"),w=Pn(v.get("length"),f),S=Pn(y.get("length"),f),C=o,k=(a-o)/_,M=k/x,O=v.getModel("lineStyle").getLineStyle(),T=y.getModel("lineStyle").getLineStyle(),A=v.get("distance"),I=0;I<=_;I++){if(u=Math.cos(C),c=Math.sin(C),v.get("show")){var P=A?A+l:l,E=new Eg({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-w-P)+d,y2:c*(f-w-P)+p},style:O,silent:!0});"auto"===O.stroke&&E.setStyle({stroke:n(I/_)}),h.add(E)}if(b.get("show")){P=b.get("distance")+A;var D=Fj(En(I/_*(m-g)+g),b.get("formatter")),L=n(I/_);h.add(new ys({style:Zl(b,{text:D,x:u*(f-w-P)+d,y:c*(f-w-P)+p,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:L}),silent:!0}))}if(y.get("show")&&I!==_){P=y.get("distance");P=P?P+l:l;for(var j=0;j<=x;j++){u=Math.cos(C),c=Math.sin(C);var R=new Eg({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-S-P)+d,y2:c*(f-S-P)+p},silent:!0,style:T});"auto"===T.stroke&&R.setStyle({stroke:n((I+j/x)/_)}),h.add(R),C+=M}C-=M}else C+=k}},e.prototype._renderPointer=function(t,e,i,n,r,o,a,l,u){var c=this.group,h=this._data,d=this._progressEls,p=[],f=t.get(["pointer","show"]),g=t.getModel("progress"),m=g.get("show"),v=t.getData(),y=v.mapDimension("value"),b=+t.get("min"),_=+t.get("max"),x=[b,_],w=[o,a];function S(e,i){var n,o=v.getItemModel(e),a=o.getModel("pointer"),s=Pn(a.get("width"),r.r),l=Pn(a.get("length"),r.r),u=t.get(["pointer","icon"]),c=a.get("offsetCenter"),h=Pn(c[0],r.r),d=Pn(c[1],r.r),p=a.get("keepAspect");return n=u?ny(u,h-s/2,d-l,s,l,null,p):new Rj({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}}),n.rotation=-(i+Math.PI/2),n.x=r.cx,n.y=r.cy,n}function C(t,e){var i=g.get("roundCap"),n=i?jC:vg,a=g.get("overlap"),s=a?g.get("width"):u/v.count(),c=a?r.r-s:r.r-(t+1)*s,h=a?r.r:r.r-t*s,d=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:l,r0:c,r:h}});return a&&(d.z2=_-v.get(y,t)%_),d}(m||f)&&(v.diff(h).add((function(e){var i=v.get(y,e);if(f){var n=S(e,o);Nl(n,{rotation:-((isNaN(+i)?w[0]:In(i,x,w,!0))+Math.PI/2)},t),c.add(n),v.setItemGraphicEl(e,n)}if(m){var r=C(e,o),a=g.get("clip");Nl(r,{shape:{endAngle:In(i,x,w,a)}},t),c.add(r),_s(t.seriesIndex,v.dataType,e,r),p[e]=r}})).update((function(e,i){var n=v.get(y,e);if(f){var r=h.getItemGraphicEl(i),a=r?r.rotation:o,s=S(e,a);s.rotation=a,Fl(s,{rotation:-((isNaN(+n)?w[0]:In(n,x,w,!0))+Math.PI/2)},t),c.add(s),v.setItemGraphicEl(e,s)}if(m){var l=d[i],u=l?l.shape.endAngle:o,b=C(e,u),_=g.get("clip");Fl(b,{shape:{endAngle:In(n,x,w,_)}},t),c.add(b),_s(t.seriesIndex,v.dataType,e,b),p[e]=b}})).execute(),v.each((function(t){var e=v.getItemModel(t),i=e.getModel("emphasis"),r=i.get("focus"),o=i.get("blurScope"),a=i.get("disabled");if(f){var l=v.getItemGraphicEl(t),u=v.getItemVisual(t,"style"),c=u.fill;if(l instanceof Ga){var h=l.style;l.useStyle(Object(s["m"])({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},u))}else l.useStyle(u),"pointer"!==l.type&&l.setColor(c);l.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===l.style.fill&&l.setStyle("fill",n(In(v.get(y,t),x,[0,1],!0))),l.z2EmphasisLift=0,Ol(l,e),Sl(l,r,o,a)}if(m){var d=p[t];d.useStyle(v.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,Ol(d,e),Sl(d,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var i=t.getModel("anchor"),n=i.get("show");if(n){var r=i.get("size"),o=i.get("icon"),a=i.get("offsetCenter"),s=i.get("keepAspect"),l=ny(o,e.cx-r/2+Pn(a[0],e.r),e.cy-r/2+Pn(a[1],e.r),r,r,null,s);l.z2=i.get("showAbove")?1:0,l.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,i,n,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new bn,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new ys({silent:!0}),d[t]=new ys({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var i=a.getItemModel(e),o=a.get(s,e),g=new bn,m=n(In(o,[l,u],[0,1],!0)),v=i.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),b=r.cx+Pn(y[0],r.r),_=r.cy+Pn(y[1],r.r),x=h[e];x.attr({z2:f?0:2,style:Zl(v,{x:b,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(x)}var w=i.getModel("detail");if(w.get("show")){var S=w.get("offsetCenter"),C=r.cx+Pn(S[0],r.r),k=r.cy+Pn(S[1],r.r),M=Pn(w.get("width"),r.r),O=Pn(w.get("height"),r.r),T=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:m,A=(x=d[e],w.get("formatter"));x.attr({z2:f?0:2,style:Zl(w,{x:C,y:k,text:Fj(o,A),width:isNaN(M)?null:M,height:isNaN(O)?null:O,align:"center",verticalAlign:"middle"},{inheritColor:T})}),su(x,{normal:w},o,(function(t){return Fj(t,A)})),p&&lu(x,e,a,t,{getFormattedLabel:function(t,e,i,n,r,a){return Fj(a?a.interpolatedValue:o,A)}}),g.add(x)}c.add(g)})),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Hm),zj=Nj,Vj=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="itemStyle",i}return o(e,t),e.prototype.getInitialData=function(t,e){return nM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(xf),qj=Vj;function $j(t){t.registerChartView(zj),t.registerSeriesModel(qj)}var Hj=["itemStyle","opacity"],Gj=function(t){function e(e,i){var n=t.call(this)||this,r=n,o=new Tg,a=new ys;return r.setTextContent(a),n.setTextGuideLine(o),n.updateData(e,i,!0),n}return o(e,t),e.prototype.updateData=function(t,e,i){var n=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(Hj);l=null==l?1:l,i||Hl(n),n.useStyle(t.getItemVisual(e,"style")),n.style.lineJoin="round",i?(n.setShape({points:a.points}),n.style.opacity=0,Nl(n,{style:{opacity:l}},r,e)):Fl(n,{style:{opacity:l},shape:{points:a.points}},r,e),Ol(n,o),this._updateLabel(t,e),Sl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var i=this,n=this.getTextGuideLine(),r=i.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"style"),c=u.fill;Xl(r,Kl(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:u.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),i.setTextConfig({local:!0,inside:!!l.inside,insideStroke:c,outsideFill:c});var h=l.linePoints;n.setShape({points:h}),i.textGuideLineConfig={anchor:h?new ji(h[0][0],h[0][1]):null},Fl(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),zk(i,Vk(a),{stroke:c})},e}(kg),Wj=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.ignoreLabelLineUpdate=!0,i}return o(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this._data,o=this.group;n.diff(r).add((function(t){var e=new Gj(n,t);n.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var i=r.getItemGraphicEl(e);i.updateData(n,t),o.add(i),n.setItemGraphicEl(t,i)})).remove((function(e){var i=r.getItemGraphicEl(e);$l(i,t,e)})).execute(),this._data=n},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Hm),Uj=Wj,Yj=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return nM(this,{coordDimensions:["value"],encodeDefaulter:s["h"](ch,this)})},e.prototype._defaultLabelLine=function(t){rr(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var i=this.getData(),n=t.prototype.getDataParams.call(this,e),r=i.mapDimension("value"),o=i.getSum(r);return n.percent=o?+(i.get(r,e)/o*100).toFixed(2):0,n.$vars.push("percent"),n},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(xf),Xj=Yj;function Kj(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Zj(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,(function(t){return t})),r=[],o="ascending"===e,a=0,l=t.count();a<l;a++)r[a]=a;return Object(s["w"])(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?n[t]-n[e]:n[e]-n[t]})),r}function Qj(t){var e=t.hostModel,i=e.get("orient");t.each((function(e){var n,r,o,a,s=t.getItemModel(e),l=s.getModel("label"),u=l.get("position"),c=s.getModel("labelLine"),h=t.getItemLayout(e),d=h.points,p="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(p)"insideLeft"===u?(r=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===u?(r=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,n="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),a=[[r,o],[r,o]];else{var f=void 0,g=void 0,m=void 0,v=void 0,y=c.get("length");0,"left"===u?(f=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,m=f-y,r=m-5,n="right"):"right"===u?(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,m=f+y,r=m+5,n="left"):"top"===u?(f=(d[3][0]+d[0][0])/2,g=(d[3][1]+d[0][1])/2,v=g-y,o=v-5,n="center"):"bottom"===u?(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,v=g+y,o=v+5,n="center"):"rightTop"===u?(f="horizontal"===i?d[3][0]:d[1][0],g="horizontal"===i?d[3][1]:d[1][1],"horizontal"===i?(v=g-y,o=v-5,n="center"):(m=f+y,r=m+5,n="top")):"rightBottom"===u?(f=d[2][0],g=d[2][1],"horizontal"===i?(v=g+y,o=v+5,n="center"):(m=f+y,r=m+5,n="bottom")):"leftTop"===u?(f=d[0][0],g="horizontal"===i?d[0][1]:d[1][1],"horizontal"===i?(v=g-y,o=v-5,n="center"):(m=f-y,r=m-5,n="right")):"leftBottom"===u?(f="horizontal"===i?d[1][0]:d[3][0],g="horizontal"===i?d[1][1]:d[2][1],"horizontal"===i?(v=g+y,o=v+5,n="center"):(m=f-y,r=m-5,n="right")):(f=(d[1][0]+d[2][0])/2,g=(d[1][1]+d[2][1])/2,"horizontal"===i?(v=g+y,o=v+5,n="center"):(m=f+y,r=m+5,n="left")),"horizontal"===i?(m=f,r=m):(v=g,o=v),a=[[f,g],[m,v]]}h.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:n,inside:p}}))}function Jj(t,e){t.eachSeriesByType("funnel",(function(t){var i=t.getData(),n=i.mapDimension("value"),r=t.get("sort"),o=Kj(t,e),a=t.get("orient"),s=o.width,l=o.height,u=Zj(i,r),c=o.x,h=o.y,d="horizontal"===a?[Pn(t.get("minSize"),l),Pn(t.get("maxSize"),l)]:[Pn(t.get("minSize"),s),Pn(t.get("maxSize"),s)],p=i.getDataExtent(n),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y="horizontal"===a?s:l,b=(y-v*(i.count()-1))/i.count(),_=function(t,e){if("horizontal"===a){var r=i.get(n,t)||0,o=In(r,[f,g],d,!0),u=void 0;switch(m){case"top":u=h;break;case"center":u=h+(l-o)/2;break;case"bottom":u=h+(l-o);break}return[[e,u],[e,u+o]]}var p,v=i.get(n,t)||0,y=In(v,[f,g],d,!0);switch(m){case"left":p=c;break;case"center":p=c+(s-y)/2;break;case"right":p=c+s-y;break}return[[p,e],[p+y,e]]};"ascending"===r&&(b=-b,v=-v,"horizontal"===a?c+=s:h+=l,u=u.reverse());for(var x=0;x<u.length;x++){var w=u[x],S=u[x+1],C=i.getItemModel(w);if("horizontal"===a){var k=C.get(["itemStyle","width"]);null==k?k=b:(k=Pn(k,s),"ascending"===r&&(k=-k));var M=_(w,c),O=_(S,c+k);c+=k+v,i.setItemLayout(w,{points:M.concat(O.slice().reverse())})}else{var T=C.get(["itemStyle","height"]);null==T?T=b:(T=Pn(T,l),"ascending"===r&&(T=-T));M=_(w,h),O=_(S,h+T);h+=T+v,i.setItemLayout(w,{points:M.concat(O.slice().reverse())})}}Qj(i)}))}function tR(t){t.registerChartView(Uj),t.registerSeriesModel(Xj),t.registerLayout(Jj),t.registerProcessor(vk("funnel"))}var eR=.3,iR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._dataGroup=new bn,i._initialized=!1,i}return o(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,i,n){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=aR(t);function c(t){var e=oR(o,r,t,l,s);sR(e,o,t,u)}function h(e,i){var n=a.getItemGraphicEl(i),r=rR(o,e,l,s);o.setItemGraphicEl(e,n),Fl(n,{shape:{points:r}},t,e),Hl(n),sR(n,o,e,u)}function d(t){var e=a.getItemGraphicEl(t);r.remove(e)}if(o.diff(a).add(c).update(h).remove(d).execute(),!this._initialized){this._initialized=!0;var p=nR(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(p)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,i){for(var n=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=aR(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=oR(n,this._dataGroup,l,o,r);u.incremental=!0,sR(u,n,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Hm);function nR(t,e,i){var n=t.model,r=t.getRect(),o=new ts({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===n.get("layout")?"width":"height";return o.setShape(a,0),Nl(o,{shape:{width:r.width,height:r.height}},e,i),o}function rR(t,e,i,n){for(var r=[],o=0;o<i.length;o++){var a=i[o],s=t.get(t.mapDimension(a),e);lR(s,n.getAxis(a).type)||r.push(n.dataToPoint(s,a))}return r}function oR(t,e,i,n,r){var o=rR(t,i,n,r),a=new Tg({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(i,a),a}function aR(t){var e=t.get("smooth",!0);return!0===e&&(e=eR),e=Xn(e),Object(s["l"])(e)&&(e=0),{smooth:e}}function sR(t,e,i,n){t.useStyle(e.getItemVisual(i,"style")),t.style.fill=null,t.setShape("smooth",n.smooth);var r=e.getItemModel(i),o=r.getModel("emphasis");Ol(t,r,"lineStyle"),Sl(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function lR(t,e){return"category"===e?null==t:null==t||isNaN(t)}var uR=iR,cR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="lineStyle",i.visualDrawType="stroke",i}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:Object(s["c"])(hR,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,(function(e,r){t===e&&n.push(i.getRawIndex(r))})),n},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(xf);function hR(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var i={};return Object(s["k"])(e.dimensions,(function(t){var e=dR(t);i[t]=e})),i}}function dR(t){return+t.replace("dim","")}var pR=cR,fR=["lineStyle","opacity"],gR={seriesType:"parallel",reset:function(t,e){var i=t.coordinateSystem,n={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){i.eachActiveState(e,(function(t,i){var r=n[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(i).get(fR,!0);null!=o&&(r=o)}var a=e.ensureUniqueItemVisual(i,"style");a.opacity=r}),t.start,t.end)}}}},mR=gR;function vR(t){yR(t),bR(t)}function yR(t){if(!t.parallel){var e=!1;s["k"](t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function bR(t){var e=nr(t.parallelAxis);s["k"](e,(function(e){if(s["A"](e)){var i=e.parallelIndex||0,n=nr(t.parallel)[i];n&&n.parallelAxisDefault&&s["I"](e,n.parallelAxisDefault,!1)}}))}var _R=5,xR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},Object(s["k"])(wR,(function(t,e){i.getZr().on(e,this._handlers[e]=Object(s["c"])(t,this))}),this)),Xm(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Km(this,"_throttledDispatchExpand"),Object(s["k"])(this._handlers,(function(t,i){e.getZr().off(i,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(Object(s["m"])({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Sf),wR={mousedown:function(t){SR(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(SR(this,"click")&&e){var i=[t.offsetX,t.offsetY],n=Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2);if(n>_R)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&SR(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n?null:{duration:0}})}}};function SR(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}var CR=xR,kR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&s["I"](e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},e.prototype.setAxisExpand=function(t){s["k"](["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=s["n"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);s["k"](i,(function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Uc),MR=kR,OR=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.type=r||"value",a.axisIndex=o,a}return o(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(cT),TR=OR;function AR(t,e,i,n,r,o){t=t||0;var a=i[1]-i[0];if(null!=r&&(r=PR(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===n){var s=Math.abs(e[1]-e[0]);s=PR(s,[0,a]),r=o=PR(s,[r,o]),n=0}e[0]=PR(e[0],i),e[1]=PR(e[1],i);var l=IR(e,n);e[n]+=t;var u,c=r||0,h=i.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[n]=PR(e[n],h),u=IR(e,n),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-n]=e[n]+l.sign*r),u=IR(e,n),null!=o&&u.span>o&&(e[1-n]=e[n]+u.sign*o),e}function IR(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function PR(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var ER=s["k"],DR=Math.min,LR=Math.max,jR=Math.floor,RR=Math.ceil,BR=En,FR=Math.PI,NR=function(){function t(t,e,i){this.type="parallel",this._axesMap=s["f"](),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,i)}return t.prototype._init=function(t,e,i){var n=t.dimensions,r=t.parallelAxisIndex;ER(n,(function(t,i){var n=r[i],o=e.getComponent("parallelAxis",n),a=this._axesMap.set(t,new TR(t,AO(o),[0,0],o.get("type"),n)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),i=e.axisBase,n=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=i&&o<=i+e.axisLength&&a>=n&&a<=n+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(i){if(t.contains(i,e)){var n=i.getData();ER(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),TO(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,i=this._rect,n=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=i[r[a]],l=[0,s],u=this.dimensions.length,c=zR(e.get("axisExpandWidth"),l),h=zR(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,p=e.get("axisExpandWindow");if(p)t=zR(p[1]-p[0],l),p[1]=p[0]+t;else{t=zR(c*(h-1),l);var f=e.get("axisExpandCenter")||jR(u/2);p=[c*f-t/2],p[1]=p[0]+t}var g=(s-t)/(u-h);g<3&&(g=0);var m=[jR(BR(p[0]/c,1))+1,RR(BR(p[1]/c,1))-1],v=g/c*p[0];return{layout:o,pixelDimIndex:a,layoutBase:i[n[a]],layoutLength:s,axisBase:i[n[1-a]],axisLength:i[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:p,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),r=n.layout;e.each((function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])})),ER(i,(function(e,i){var o=(n.axisExpandable?qR:VR)(i,n),a={horizontal:{x:o.position,y:n.axisLength},vertical:{x:0,y:o.position}},s={horizontal:FR/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=fi();bi(c,c,u),yi(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,i,n){null==i&&(i=0),null==n&&(n=t.count());var r=this._axesMap,o=this.dimensions,a=[],l=[];s["k"](o,(function(e){a.push(t.mapDimension(e)),l.push(r.get(e).model)}));for(var u=this.hasAxisBrushed(),c=i;c<n;c++){var h=void 0;if(u){h="active";for(var d=t.getValues(a,c),p=0,f=o.length;p<f;p++){var g=l[p].getActiveState(d[p]);if("inactive"===g){h="inactive";break}}}else h="normal";e(h,c)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,i=!1,n=0,r=t.length;n<r;n++)"normal"!==e.get(t[n]).model.getActiveState()&&(i=!0);return i},t.prototype.axisCoordToPoint=function(t,e){var i=this._axesLayout[e];return xm([t,0],i.transform)},t.prototype.getAxisLayout=function(t){return s["d"](this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),i=e.pixelDimIndex,n=e.axisExpandWindow.slice(),r=n[1]-n[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:n};var a,s=t[i]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?AR(a,n,o,"all"):l="none";else{var d=n[1]-n[0],p=o[1]*s/d;n=[LR(0,p-d/2)],n[1]=DR(o[1],n[0]+d),n[0]=n[1]-d}return{axisExpandWindow:n,behavior:l}},t}();function zR(t,e){return DR(LR(t,e[0]),e[1])}function VR(t,e){var i=e.layoutLength/(e.axisCount-1);return{position:i*t,axisNameAvailableWidth:i,axisLabelShow:!0}}function qR(t,e){var i,n,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(i=t*s,n=s):t<=l[1]?(i=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(i=r-(a-1-t)*s,n=s),{position:i,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:n}}var $R=NR;function HR(t,e){var i=[];return t.eachComponent("parallel",(function(n,r){var o=new $R(n,t,e);o.name="parallel_"+r,o.resize(n,e),n.coordinateSystem=o,o.model=n,i.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Ar).models[0];t.coordinateSystem=e.coordinateSystem}})),i}var GR={create:HR},WR=GR,UR=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.activeIntervals=[],i}return o(e,t),e.prototype.getAreaSelectStyle=function(){return Kr([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=s["d"](t);if(e)for(var i=e.length-1;i>=0;i--)Dn(e[i])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,r=e.length;n<r;n++)if(e[n][0]<=t&&t<=e[n][1])return"active";return"inactive"},e}(Uc);s["K"](UR,xM);var YR=UR,XR=!0,KR=Math.min,ZR=Math.max,QR=Math.pow,JR=1e4,tB=6,eB=6,iB="globalPan",nB={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},rB={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},oB={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},aB=0,sB=function(t){function e(e){var i=t.call(this)||this;return i._track=[],i._covers=[],i._handlers={},i._zr=e,i.group=new bn,i._uid="brushController_"+aB++,Object(s["k"])(NB,(function(t,e){this._handlers[e]=Object(s["c"])(t,this)}),i),i}return o(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||EA(e,iB,this._uid),Object(s["k"])(this._handlers,(function(t,i){e.on(i,t)})),this._brushType=t.brushType,this._brushOption=Object(s["I"])(Object(s["d"])(oB),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;DA(t,iB,this._uid),Object(s["k"])(this._handlers,(function(e,i){t.off(i,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Object(s["k"])(t,(function(t){e[t.panelId]=Object(s["d"])(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=Object(s["H"])(t,(function(t){return Object(s["I"])(Object(s["d"])(oB),t,!0)}));var e="\0-brush-index-",i=this._covers,n=this._covers=[],r=this,o=this._creatingCover;return new yw(i,t,l,a).add(u).update(u).remove(c).execute(),this;function a(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function l(t,e){return a(t.__brushOption,e)}function u(e,a){var s=t[e];if(null!=a&&i[a]===o)n[e]=i[a];else{var l=n[e]=null!=a?(i[a].__brushOption=s,i[a]):uB(r,lB(r,s));dB(r,l)}}function c(t){i[t]!==o&&r.group.remove(i[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),mB(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(D);function lB(t,e){var i=qB[e.brushType].createCover(t,e);return i.__brushOption=e,hB(i,e),t.group.add(i),i}function uB(t,e){var i=pB(e);return i.endCreating&&(i.endCreating(t,e),hB(e,e.__brushOption)),e}function cB(t,e){var i=e.__brushOption;pB(e).updateCoverShape(t,e,i.range,i)}function hB(t,e){var i=e.z;null==i&&(i=JR),t.traverse((function(t){t.z=i,t.z2=i}))}function dB(t,e){pB(e).updateCommon(t,e),cB(t,e)}function pB(t){return qB[t.__brushOption.brushType]}function fB(t,e,i){var n,r=t._panels;if(!r)return XR;var o=t._transform;return Object(s["k"])(r,(function(t){t.isTargetByCursor(e,i,o)&&(n=t)})),n}function gB(t,e){var i=t._panels;if(!i)return XR;var n=e.__brushOption.panelId;return null!=n?i[n]:XR}function mB(t){var e=t._covers,i=e.length;return Object(s["k"])(e,(function(e){t.group.remove(e)}),t),e.length=0,!!i}function vB(t,e){var i=Object(s["H"])(t._covers,(function(t){var e=t.__brushOption,i=Object(s["d"])(e.range);return{brushType:e.brushType,panelId:e.panelId,range:i}}));t.trigger("brush",{areas:i,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function yB(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],r=i[0]-n[0],o=i[1]-n[1],a=QR(r*r+o*o,.5);return a>tB}function bB(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function _B(t,e,i,n){var r=new bn;return r.add(new ts({name:"main",style:CB(i),silent:!0,draggable:!0,cursor:"move",drift:Object(s["h"])(AB,t,e,r,["n","s","w","e"]),ondragend:Object(s["h"])(vB,e,{isEnd:!0})})),Object(s["k"])(n,(function(i){r.add(new ts({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(s["h"])(AB,t,e,r,i),ondragend:Object(s["h"])(vB,e,{isEnd:!0})}))})),r}function xB(t,e,i,n){var r=n.brushStyle.lineWidth||0,o=ZR(r,eB),a=i[0][0],s=i[1][0],l=a-r/2,u=s-r/2,c=i[0][1],h=i[1][1],d=c-o+r/2,p=h-o+r/2,f=c-a,g=h-s,m=f+r,v=g+r;SB(t,e,"main",a,s,f,g),n.transformable&&(SB(t,e,"w",l,u,o,v),SB(t,e,"e",d,u,o,v),SB(t,e,"n",l,u,m,o),SB(t,e,"s",l,p,m,o),SB(t,e,"nw",l,u,o,o),SB(t,e,"ne",d,u,o,o),SB(t,e,"sw",l,p,o,o),SB(t,e,"se",d,p,o,o))}function wB(t,e){var i=e.__brushOption,n=i.transformable,r=e.childAt(0);r.useStyle(CB(i)),r.attr({silent:!n,cursor:n?"move":"default"}),Object(s["k"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(i){var r=e.childOfName(i.join("")),o=1===i.length?OB(t,i[0]):TB(t,i);r&&r.attr({silent:!n,invisible:!n,cursor:n?rB[o]+"-resize":null})}))}function SB(t,e,i,n,r,o,a){var s=e.childOfName(i);s&&s.setShape(DB(EB(t,e,[[n,r],[n+o,r+a]])))}function CB(t){return Object(s["i"])({strokeNoScale:!0},t.brushStyle)}function kB(t,e,i,n){var r=[KR(t,i),KR(e,n)],o=[ZR(t,i),ZR(e,n)];return[[r[0],o[0]],[r[1],o[1]]]}function MB(t){return _m(t.group)}function OB(t,e){var i={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},r=wm(i[e],MB(t));return n[r]}function TB(t,e){var i=[OB(t,e[0]),OB(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}function AB(t,e,i,n,r,o){var a=i.__brushOption,l=t.toRectRange(a.range),u=PB(e,r,o);Object(s["k"])(n,(function(t){var e=nB[t];l[e[0]][e[1]]+=u[e[0]]})),a.range=t.fromRectRange(kB(l[0][0],l[1][0],l[0][1],l[1][1])),dB(e,i),vB(e,{isEnd:!1})}function IB(t,e,i,n){var r=e.__brushOption.range,o=PB(t,i,n);Object(s["k"])(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),dB(t,e),vB(t,{isEnd:!1})}function PB(t,e,i){var n=t.group,r=n.transformCoordToLocal(e,i),o=n.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function EB(t,e,i){var n=gB(t,e);return n&&n!==XR?n.clipPath(i,t._transform):Object(s["d"])(i)}function DB(t){var e=KR(t[0][0],t[1][0]),i=KR(t[0][1],t[1][1]),n=ZR(t[0][0],t[1][0]),r=ZR(t[0][1],t[1][1]);return{x:e,y:i,width:n-e,height:r-i}}function LB(t,e,i){if(t._brushType&&!VB(t,e.offsetX,e.offsetY)){var n=t._zr,r=t._covers,o=fB(t,e,i);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===XR||s.panelId===o.panelId)&&qB[s.brushType].contain(r[a],i[0],i[1]))return}o&&n.setCursorStyle("crosshair")}}function jB(t){var e=t.event;e.preventDefault&&e.preventDefault()}function RB(t,e,i){return t.childOfName("main").contain(e,i)}function BB(t,e,i,n){var r,o=t._creatingCover,a=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),yB(t)||o){if(a&&!o){"single"===l.brushMode&&mB(t);var u=Object(s["d"])(l);u.brushType=FB(u.brushType,a),u.panelId=a===XR?null:a.panelId,o=t._creatingCover=lB(t,u),t._covers.push(o)}if(o){var c=qB[FB(t._brushType,a)],h=o.__brushOption;h.range=c.getCreatingRange(EB(t,o,t._track)),n&&(uB(t,o),c.updateCommon(t,o)),cB(t,o),r={isEnd:n}}}else n&&"single"===l.brushMode&&l.removeOnClick&&fB(t,e,i)&&mB(t)&&(r={isEnd:n,removeOnClick:!0});return r}function FB(t,e){return"auto"===t?e.defaultBrushType:t}var NB={mousedown:function(t){if(this._dragging)zB(this,t);else if(!t.target||!t.target.draggable){jB(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var i=this._creatingPanel=fB(this,t,e);i&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,i=t.offsetY,n=this.group.transformCoordToLocal(e,i);if(LB(this,t,n),this._dragging){jB(t);var r=BB(this,t,n,!1);r&&vB(this,r)}},mouseup:function(t){zB(this,t)}};function zB(t,e){if(t._dragging){jB(e);var i=e.offsetX,n=e.offsetY,r=t.group.transformCoordToLocal(i,n),o=BB(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&vB(t,o)}}function VB(t,e,i){var n=t._zr;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}var qB={lineX:$B(0),lineY:$B(1),rect:{createCover:function(t,e){function i(t){return t}return _B({toRectRange:i,fromRectRange:i},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=bB(t);return kB(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){xB(t,e,i,n)},updateCommon:wB,contain:RB},polygon:{createCover:function(t,e){var i=new bn;return i.add(new Tg({name:"main",style:CB(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new kg({name:"main",draggable:!0,drift:Object(s["h"])(IB,t,e),ondragend:Object(s["h"])(vB,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:EB(t,e,i)})},updateCommon:wB,contain:RB}};function $B(t){return{createCover:function(e,i){return _B({toRectRange:function(e){var i=[e,[0,100]];return t&&i.reverse(),i},fromRectRange:function(e){return e[t]}},e,i,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var i=bB(e),n=KR(i[0][t],i[1][t]),r=ZR(i[0][t],i[1][t]);return[n,r]},updateCoverShape:function(e,i,n,r){var o,a=gB(e,i);if(a!==XR&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,o];t&&l.reverse(),xB(e,i,l,r)},updateCommon:wB,contain:RB}}var HB=sB;function GB(t){return t=YB(t),function(e){return Mm(e,t)}}function WB(t,e){return t=YB(t),function(i){var n=null!=e?e:i,r=n?t.width:t.height,o=n?t.x:t.y;return[o,o+(r||0)]}}function UB(t,e,i){var n=YB(t);return function(t,r){return n.contain(r[0],r[1])&&!GA(t,e,i)}}function YB(t){return Gi.create(t)}var XB=["axisLine","axisTickLabel","axisName"],KB=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(e,i){t.prototype.init.apply(this,arguments),(this._brushController=new HB(i.getZr())).on("brush",s["c"](this._onBrush,this))},e.prototype.render=function(t,e,i,n){if(!ZB(t,e,n)){this.axisModel=t,this.api=i,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new bn,this.group.add(this._axisGroup),t.get("show")){var o=JB(t,e),a=o.coordinateSystem,l=t.getAreaSelectStyle(),u=l.width,c=t.axis.dim,h=a.getAxisLayout(c),d=s["m"]({strokeContainThreshold:u},h),p=new RT(t,d);s["k"](XB,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(d,l,t,o,u,i),km(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,i,n,r,o){var a=i.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Gi.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:GB(u),isTargetByCursor:UB(u,o,n),getLinearBrushOtherExtent:WB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(QB(i))},e.prototype._onBrush=function(t){var e=t.areas,i=this.axisModel,n=i.axis,r=s["H"](e,(function(t){return[n.coordToData(t.range[0],!0),n.coordToData(t.range[1],!0)]}));(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Sf);function ZB(t,e,i){return i&&"axisAreaSelect"===i.type&&e.findComponents({mainType:"parallelAxis",query:i})[0]===t}function QB(t){var e=t.axis;return s["H"](t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function JB(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var tF=KB,eF={type:"axisAreaSelect",event:"axisAreaSelected"};function iF(t){t.registerAction(eF,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}var nF={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function rF(t){t.registerComponentView(CR),t.registerComponentModel(MR),t.registerCoordinateSystem("parallel",WR),t.registerPreprocessor(vR),t.registerComponentModel(YR),t.registerComponentView(tF),LM(t,"parallel",YR,nF),iF(t)}function oF(t){A_(rF),t.registerChartView(uR),t.registerSeriesModel(pR),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,mR)}var aF=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),sF=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultShape=function(){return new aF},e.prototype.buildPath=function(t,e){var i=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e}(Ba),lF=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._focusAdjacencyDisabled=!1,i}return o(e,t),e.prototype.render=function(t,e,i){var n=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,l=a.width,u=a.height,c=t.getData(),h=t.getData("edge"),d=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var i=new sF,n=bs(i);n.dataIndex=e.dataIndex,n.seriesIndex=t.seriesIndex,n.dataType="edge";var r,a,c,p,f,g,m,v,y=e.getModel(),b=y.getModel("lineStyle"),_=b.get("curveness"),x=e.node1.getLayout(),w=e.node1.getModel(),S=w.get("localX"),C=w.get("localY"),k=e.node2.getLayout(),M=e.node2.getModel(),O=M.get("localX"),T=M.get("localY"),A=e.getLayout();switch(i.shape.extent=Math.max(1,A.dy),i.shape.orient=d,"vertical"===d?(r=(null!=S?S*l:x.x)+A.sy,a=(null!=C?C*u:x.y)+x.dy,c=(null!=O?O*l:k.x)+A.ty,p=null!=T?T*u:k.y,f=r,g=a*(1-_)+p*_,m=c,v=a*_+p*(1-_)):(r=(null!=S?S*l:x.x)+x.dx,a=(null!=C?C*u:x.y)+A.sy,c=null!=O?O*l:k.x,p=(null!=T?T*u:k.y)+A.ty,f=r*(1-_)+c*_,g=a,m=r*_+c*(1-_),v=p),i.setShape({x1:r,y1:a,x2:c,y2:p,cpx1:f,cpy1:g,cpx2:m,cpy2:v}),i.useStyle(b.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color"),i.style.decal=e.node1.getVisual("style").decal;break;case"target":i.style.fill=e.node2.getVisual("color"),i.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var I=e.node1.getVisual("color"),P=e.node2.getVisual("color");Object(s["C"])(I)&&Object(s["C"])(P)&&(i.style.fill=new Wg(0,0,+("horizontal"===d),+("vertical"===d),[{color:I,offset:0},{color:P,offset:1}]))}var E=y.getModel("emphasis");Ol(i,y,"lineStyle",(function(t){return t.getItemStyle()})),o.add(i),h.setItemGraphicEl(e.dataIndex,i);var D=E.get("focus");Sl(i,"adjacency"===D?e.getAdjacentDataIndices():D,E.get("blurScope"),E.get("disabled")),bs(i).dataType="edge"})),r.eachNode((function(e){var i=e.getLayout(),n=e.getModel(),r=n.get("localX"),a=n.get("localY"),s=n.getModel("emphasis"),h=new ts({shape:{x:null!=r?r*l:i.x,y:null!=a?a*u:i.y,width:i.dx,height:i.dy},style:n.getModel("itemStyle").getItemStyle(),z2:10});Xl(h,Kl(n),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),Ol(h,n),o.add(h),c.setItemGraphicEl(e.dataIndex,h),bs(h).dataType="node";var d=s.get("focus");Sl(h,"adjacency"===d?e.getAdjacentDataIndices():d,s.get("blurScope"),s.get("disabled"))})),c.eachItemGraphicEl((function(e,r){var o=c.getItemModel(r);o.get("draggable")&&(e.drift=function(e,o){n._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/u})},e.ondragend=function(){n._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(uF(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Hm);function uF(t,e,i){var n=new ts({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Nl(n,{shape:{width:t.width+20}},e,i),n}var cF=lF,hF=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.getInitialData=function(t,e){var i=t.edges||t.links,n=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new xu(r[a],this,e));if(n&&i){var s=Aj(n,i,this,!0,l);return s.data}function l(t,e){t.wrapMethod("getItemModel",(function(t,e){var i=t.parentModel,n=i.getData().getItemLayout(e);if(n){var r=n.depth,o=i.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var i=t.parentModel,n=i.getGraph().getEdgeByIndex(e),r=n.node1.getLayout();if(r){var o=r.depth,a=i.levelModels[o];a&&(t.parentModel=a)}return t}))}},e.prototype.setNodePosition=function(t,e){var i=this.option.data||this.option.nodes,n=i[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,i){function n(t){return isNaN(t)||null==t}if("edge"===i){var r=this.getDataParams(t,i),o=r.data,a=r.value,s=o.source+" -- "+o.target;return Hp("nameValue",{name:s,value:a,noValue:n(a)})}var l=this.getGraph().getNodeByIndex(t),u=l.getLayout().value,c=this.getDataParams(t,i).data.name;return Hp("nameValue",{name:null!=c?c+"":null,value:u,noValue:n(u)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,i){var n=t.prototype.getDataParams.call(this,e,i);if(null==n.value&&"node"===i){var r=this.getGraph().getNodeByIndex(e),o=r.getLayout().value;n.value=o}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(xf),dF=hF;function pF(t,e){t.eachSeriesByType("sankey",(function(t){var i=t.get("nodeWidth"),n=t.get("nodeGap"),r=fF(t,e);t.layoutInfo=r;var o=r.width,a=r.height,l=t.getGraph(),u=l.nodes,c=l.edges;mF(u);var h=s["n"](u,(function(t){return 0===t.getLayout().value})),d=0!==h.length?0:t.get("layoutIterations"),p=t.get("orient"),f=t.get("nodeAlign");gF(u,c,i,n,o,a,d,p,f)}))}function fF(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function gF(t,e,i,n,r,o,a,s,l){vF(t,e,i,r,o,s,l),wF(t,e,o,r,n,a,s),jF(t,s)}function mF(t){s["k"](t,(function(t){var e=DF(t.outEdges,EF),i=DF(t.inEdges,EF),n=t.getValue()||0,r=Math.max(e,i,n);t.setLayout({value:r},!0)}))}function vF(t,e,i,n,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;while(u.length){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&m.depth>=0;v&&m.depth>p&&(p=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:i},!0):g.setLayout({dx:i},!0);for(var y=0;y<g.outEdges.length;y++){var b=g.outEdges[y],_=e.indexOf(b);s[_]=0;var x=b.node2,w=t.indexOf(x);0===--l[w]&&c.indexOf(x)<0&&c.push(x)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var S=p>h-1?p:h-1;a&&"left"!==a&&bF(t,a,o,S);var C="vertical"===o?(r-i)/S:(n-i)/S;xF(t,C,o)}function yF(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function bF(t,e,i,n){if("right"===e){var r=[],o=t,a=0;while(o.length){for(var l=0;l<o.length;l++){var u=o[l];u.setLayout({skNodeHeight:a},!0);for(var c=0;c<u.inEdges.length;c++){var h=u.inEdges[c];r.indexOf(h.node1)<0&&r.push(h.node1)}}o=r,r=[],++a}s["k"](t,(function(t){yF(t)||t.setLayout({depth:Math.max(0,n-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&_F(t,n)}function _F(t,e){s["k"](t,(function(t){yF(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function xF(t,e,i){s["k"](t,(function(t){var n=t.getLayout().depth*e;"vertical"===i?t.setLayout({y:n},!0):t.setLayout({x:n},!0)}))}function wF(t,e,i,n,r,o,a){var s=SF(t,a);CF(s,e,i,n,r,a),kF(s,r,i,n,a);for(var l=1;o>0;o--)l*=.99,MF(s,l,a),kF(s,r,i,n,a),LF(s,l,a),kF(s,r,i,n,a)}function SF(t,e){var i=[],n="vertical"===e?"y":"x",r=Lr(t,(function(t){return t.getLayout()[n]}));return r.keys.sort((function(t,e){return t-e})),s["k"](r.keys,(function(t){i.push(r.buckets.get(t))})),i}function CF(t,e,i,n,r,o){var a=1/0;s["k"](t,(function(t){var e=t.length,l=0;s["k"](t,(function(t){l+=t.getLayout().value}));var u="vertical"===o?(n-(e-1)*r)/l:(i-(e-1)*r)/l;u<a&&(a=u)})),s["k"](t,(function(t){s["k"](t,(function(t,e){var i=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:i},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:i},!0))}))})),s["k"](e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))}function kF(t,e,i,n,r){var o="vertical"===r?"x":"y";s["k"](t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)s=t[d],l=u-s.getLayout()[o],l>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;var p="vertical"===r?n:i;if(l=u-e-p,l>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(d=c-2;d>=0;--d)s=t[d],l=s.getLayout()[o]+s.getLayout()[h]+e-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function MF(t,e,i){s["k"](t.slice().reverse(),(function(t){s["k"](t,(function(t){if(t.outEdges.length){var n=DF(t.outEdges,OF,i)/DF(t.outEdges,EF);if(isNaN(n)){var r=t.outEdges.length;n=r?DF(t.outEdges,TF,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(n-PF(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-PF(t,i))*e;t.setLayout({y:a},!0)}}}))}))}function OF(t,e){return PF(t.node2,e)*t.getValue()}function TF(t,e){return PF(t.node2,e)}function AF(t,e){return PF(t.node1,e)*t.getValue()}function IF(t,e){return PF(t.node1,e)}function PF(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function EF(t){return t.getValue()}function DF(t,e,i){var n=0,r=t.length,o=-1;while(++o<r){var a=+e(t[o],i);isNaN(a)||(n+=a)}return n}function LF(t,e,i){s["k"](t,(function(t){s["k"](t,(function(t){if(t.inEdges.length){var n=DF(t.inEdges,AF,i)/DF(t.inEdges,EF);if(isNaN(n)){var r=t.inEdges.length;n=r?DF(t.inEdges,IF,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(n-PF(t,i))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(n-PF(t,i))*e;t.setLayout({y:a},!0)}}}))}))}function jF(t,e){var i="vertical"===e?"x":"y";s["k"](t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[i]-e.node2.getLayout()[i]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[i]-e.node1.getLayout()[i]}))})),s["k"](t,(function(t){var e=0,i=0;s["k"](t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),s["k"](t.inEdges,(function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy}))}))}function RF(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),i=e.nodes;if(i.length){var n=1/0,r=-1/0;s["k"](i,(function(t){var e=t.getLayout().value;e<n&&(n=e),e>r&&(r=e)})),s["k"](i,(function(e){var i=new FD({type:"color",mappingMethod:"linear",dataExtent:[n,r],visual:t.get("color")}),o=i.mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",o),e.setVisual("style",{fill:o}))}))}}))}function BF(t){t.registerChartView(cF),t.registerSeriesModel(dF),t.registerLayout(pF),t.registerVisual(RF),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var FF=function(){function t(){}return t.prototype.getInitialData=function(t,e){var i,n,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),l=o.get("type");"category"===a?(t.layout="horizontal",i=r.getOrdinalMeta(),n=!0):"category"===l?(t.layout="vertical",i=o.getOrdinalMeta(),n=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c="horizontal"===t.layout?0:1,h=this._baseAxisDim=u[c],d=u[1-c],p=[r,o],f=p[c].get("type"),g=p[1-c].get("type"),m=t.data;if(m&&n){var v=[];s["k"](m,(function(t,e){var i;s["t"](t)?(i=t.slice(),t.unshift(e)):s["t"](t.value)?(i=s["m"]({},t),i.value=i.value.slice(),t.value.unshift(e)):i=t,v.push(i)})),t.data=v}var y=this.defaultValueDimensions,b=[{name:h,type:ww(f),ordinalMeta:i,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:ww(g),dimsDef:y.slice()}];return nM(this,{coordDimensions:b,dimensionsCount:y.length+1,encodeDefaulter:s["h"](uh,b,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),NF=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],i.visualDrawType="stroke",i}return o(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(xf);Object(s["K"])(NF,FF,!0);var zF=NF,VF=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;n.diff(o).add((function(t){if(n.hasValue(t)){var e=n.getItemLayout(t),i=HF(e,n,t,a,!0);n.setItemGraphicEl(t,i),r.add(i)}})).update((function(t,e){var i=o.getItemGraphicEl(e);if(n.hasValue(t)){var s=n.getItemLayout(t);i?(Hl(i),GF(s,i,n,t)):i=HF(s,n,t,a),r.add(i),n.setItemGraphicEl(t,i)}else r.remove(i)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=n},e.prototype.remove=function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Hm),qF=function(){function t(){}return t}(),$F=function(t){function e(e){var i=t.call(this,e)||this;return i.type="boxplotBoxPath",i}return o(e,t),e.prototype.getDefaultShape=function(){return new qF},e.prototype.buildPath=function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();n<i.length;n++)t.moveTo(i[n][0],i[n][1]),n++,t.lineTo(i[n][0],i[n][1])},e}(Ba);function HF(t,e,i,n,r){var o=t.ends,a=new $F({shape:{points:r?WF(o,n,t):o}});return GF(t,a,e,i,r),a}function GF(t,e,i,r,o){var a=i.hostModel,s=n[o?"initProps":"updateProps"];s(e,{shape:{points:t.ends}},a,r),e.useStyle(i.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var l=i.getItemModel(r),u=l.getModel("emphasis");Ol(e,l),Sl(e,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function WF(t,e,i){return s["H"](t,(function(t){return t=t.slice(),t[e]=i.initBaseline,t}))}var UF=VF;function YF(t,e){}var XF=s["k"];function KF(t){var e=ZF(t);XF(e,(function(t){var e=t.seriesModels;e.length&&(QF(t),XF(e,(function(e,i){JF(e,t.boxOffsetList[i],t.boxWidthList[i])})))}))}function ZF(t){var e=[],i=[];return t.eachSeriesByType("boxplot",(function(t){var n=t.getBaseAxis(),r=s["r"](i,n);r<0&&(r=i.length,i[r]=n,e[r]={axis:n,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function QF(t){var e,i=t.axis,n=t.seriesModels,r=n.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],l=[];if("category"===i.type)e=i.getBandWidth();else{var u=0;XF(n,(function(t){u=Math.max(u,t.getData().count())}));var c=i.getExtent();e=Math.abs(c[1]-c[0])/u}XF(n,(function(t){var i=t.get("boxWidth");s["t"](i)||(i=[i,i]),l.push([Pn(i[0],e)||0,Pn(i[1],e)||0])}));var h=.8*e-2,d=h/r*.3,p=(h-d*(r-1))/r,f=p/2-h/2;XF(n,(function(t,e){a.push(f),f+=d+p,o.push(Math.min(Math.max(p,l[e][0]),l[e][1]))}))}function JF(t,e,i){var n=t.coordinateSystem,r=t.getData(),o=i/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var h=0;h<r.count();h++){var d=r.get(u,h),p=b(d,c[2],h),f=b(d,c[0],h),g=b(d,c[1],h),m=b(d,c[3],h),v=b(d,c[4],h),y=[];_(y,g,!1),_(y,m,!0),y.push(f,g,v,m),x(y,f),x(y,v),x(y,p),r.setItemLayout(h,{initBaseline:p[s],ends:y})}function b(t,i,o){var l,u=r.get(i,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=n.dataToPoint(c),l[a]+=e),l}function _(t,e,i){var n=e.slice(),r=e.slice();n[a]+=o,r[a]-=o,i?t.push(n,r):t.push(r,n)}function x(t,e){var i=e.slice(),n=e.slice();i[a]-=o,n[a]+=o,t.push(i,n)}}function tN(t,e){e=e||{};for(var i=[],n=[],r=e.boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var l=Dn(t[a].slice()),u=Un(l,.25),c=Un(l,.5),h=Un(l,.75),d=l[0],p=l[l.length-1],f=(null==r?1.5:r)*(h-u),g=o?d:Math.max(d,u-f),m=o?p:Math.min(p,h+f),v=e.itemNameFormatter,y=Object(s["w"])(v)?v({value:a}):Object(s["C"])(v)?v.replace("{value}",a+""):a+"";i.push([y,g,u,c,h,m]);for(var b=0;b<l.length;b++){var _=l[b];if(_<g||_>m){var x=[y,_];n.push(x)}}}return{boxData:i,outliers:n}}var eN={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Jc){var i="";0,Ah(i)}var n=tN(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function iN(t){t.registerSeriesModel(zF),t.registerChartView(UF),t.registerVisual(YF),t.registerLayout(KF),t.registerTransform(eN)}var nN=["color","borderColor"],rN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,i){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,i,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),i=this._data,n=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||n.removeAll(),e.diff(i).add((function(i){if(e.hasValue(i)){var a=e.getItemLayout(i);if(o&&lN(s,a))return;var l=sN(a,i,!0);Nl(l,{shape:{points:a.ends}},t,i),uN(l,e,i,r),n.add(l),e.setItemGraphicEl(i,l)}})).update((function(a,l){var u=i.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&lN(s,c)?n.remove(u):(u?(Fl(u,{shape:{points:c.ends}},t,a),Hl(u)):u=sN(c,a),uN(u,e,a,r),n.add(u),e.setItemGraphicEl(a,u))}else n.remove(u)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),pN(t,this.group);var e=t.get("clip",!0)?$S(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var i,n=e.getData(),r=n.getLayout("isSimpleBox");while(null!=(i=t.next())){var o=n.getItemLayout(i),a=sN(o,i);uN(a,n,i,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){pN(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Hm),oN=function(){function t(){}return t}(),aN=function(t){function e(e){var i=t.call(this,e)||this;return i.type="normalCandlestickBox",i}return o(e,t),e.prototype.getDefaultShape=function(){return new oN},e.prototype.buildPath=function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))},e}(Ba);function sN(t,e,i){var n=t.ends;return new aN({shape:{points:i?cN(n,t):n},z2:100})}function lN(t,e){for(var i=!0,n=0;n<e.ends.length;n++)if(t.contain(e.ends[n][0],e.ends[n][1])){i=!1;break}return i}function uN(t,e,i,n){var r=e.getItemModel(i);t.useStyle(e.getItemVisual(i,"style")),t.style.strokeNoScale=!0,t.__simpleBox=n,Ol(t,r)}function cN(t,e){return s["H"](t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var hN=function(){function t(){}return t}(),dN=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeCandlestickBox",i}return o(e,t),e.prototype.getDefaultShape=function(){return new hN},e.prototype.buildPath=function(t,e){for(var i=e.points,n=0;n<i.length;)if(this.__sign===i[n++]){var r=i[n++];t.moveTo(r,i[n++]),t.lineTo(r,i[n++])}else n+=3},e}(Ba);function pN(t,e,i,n){var r=t.getData(),o=r.getLayout("largePoints"),a=new dN({shape:{points:o},__sign:1});e.add(a);var s=new dN({shape:{points:o},__sign:-1});e.add(s),fN(1,a,t,r),fN(-1,s,t,r),n&&(a.incremental=!0,s.incremental=!0),i&&i.push(a,s)}function fN(t,e,i,n){var r=i.get(["itemStyle",t>0?"borderColor":"borderColor0"])||i.get(["itemStyle",t>0?"color":"color0"]),o=i.getModel("itemStyle").getItemStyle(nN);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var gN=rN,mN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],i}return o(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(xf);Object(s["K"])(mN,FF,!0);var vN=mN;function yN(t){t&&s["t"](t.series)&&s["k"](t.series,(function(t){s["A"](t)&&"k"===t.type&&(t.type="candlestick")}))}var bN=["itemStyle","borderColor"],_N=["itemStyle","borderColor0"],xN=["itemStyle","color"],wN=["itemStyle","color0"],SN={seriesType:"candlestick",plan:Cf(),performRawSeries:!0,reset:function(t,e){function i(t,e){return e.get(t>0?xN:wN)}function n(t,e){return e.get(t>0?bN:_N)}if(!e.isSeriesFiltered(t)){var r=t.pipelineContext.large;return!r&&{progress:function(t,e){var r;while(null!=(r=t.next())){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,l=o.getItemStyle();l.fill=i(a,o),l.stroke=n(a,o)||l.fill;var u=e.ensureUniqueItemVisual(r,"style");Object(s["m"])(u,l)}}}}}},CN=SN,kN={seriesType:"candlestick",plan:Cf(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=ON(t,i),r=0,o=1,a=["x","y"],l=i.getDimensionIndex(i.mapDimension(a[r])),u=Object(s["H"])(i.mapDimensionsAll(a[o]),i.getDimensionIndex,i),c=u[0],h=u[1],d=u[2],p=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(l<0||u.length<4))return{progress:t.pipelineContext.large?g:f};function f(t,i){var a,s=i.getStore();while(null!=(a=t.next())){var u=s.get(l,a),f=s.get(c,a),g=s.get(h,a),m=s.get(d,a),v=s.get(p,a),y=Math.min(f,g),b=Math.max(f,g),_=k(y,u),x=k(b,u),w=k(m,u),S=k(v,u),C=[];M(C,x,0),M(C,_,1),C.push(T(S),T(x),T(w),T(_)),i.setItemLayout(a,{sign:MN(s,a,f,g,h),initBaseline:f>g?x[o]:_[o],ends:C,brushRect:O(m,v,u)})}function k(t,i){var n=[];return n[r]=i,n[o]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function M(t,e,i){var o=e.slice(),a=e.slice();o[r]=bm(o[r]+n/2,1,!1),a[r]=bm(a[r]-n/2,1,!0),i?t.push(o,a):t.push(a,o)}function O(t,e,i){var a=k(t,i),s=k(e,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function T(t){return t[r]=bm(t[r],1),t}}function g(t,i){var n,a,s=IS(4*t.count),u=0,f=[],g=[],m=i.getStore();while(null!=(a=t.next())){var v=m.get(l,a),y=m.get(c,a),b=m.get(h,a),_=m.get(d,a),x=m.get(p,a);isNaN(v)||isNaN(_)||isNaN(x)?(s[u++]=NaN,u+=3):(s[u++]=MN(m,a,y,b,h),f[r]=v,f[o]=_,n=e.dataToPoint(f,null,g),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,f[o]=x,n=e.dataToPoint(f,null,g),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function MN(t,e,i,n,r){var o;return o=i>n?-1:i<n?1:e>0?t.get(r,e-1)<=n?1:-1:1,o}function ON(t,e){var i,n=t.getBaseAxis(),r="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),o=Pn(Object(s["P"])(t.get("barMaxWidth"),r),r),a=Pn(Object(s["P"])(t.get("barMinWidth"),1),r),l=t.get("barWidth");return null!=l?Pn(l,r):Math.max(Math.min(r/2,o),a)}var TN=kN;function AN(t){t.registerChartView(gN),t.registerSeriesModel(vN),t.registerPreprocessor(yN),t.registerVisual(CN),t.registerLayout(TN)}function IN(t,e){var i=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?i:null,fill:"fill"===e.brushType?i:null}})}))}var PN=function(t){function e(e,i){var n=t.call(this)||this,r=new bS(e,i),o=new bn;return n.add(r),n.add(o),n.updateData(e,i),n}return o(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,n=t.rippleNumber,r=this.childAt(1),o=0;o<n;o++){var a=ny(e,-1,-1,2,2,i);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/n*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}IN(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale","rippleNumber"],r=0;r<n.length;r++){var o=n[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}IN(i,t)},e.prototype.highlight=function(){rl(this)},e.prototype.downplay=function(){ol(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var i=this,n=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=ry(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var h=oy(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var p={};p.showEffectOn=n.get("showEffectOn"),p.rippleScale=o.get(["rippleEffect","scale"]),p.brushType=o.get(["rippleEffect","brushType"]),p.period=1e3*o.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=n.getShallow("z")||0,p.zlevel=n.getShallow("zlevel")||0,p.symbolType=a,p.color=u,p.rippleEffectColor=o.get(["rippleEffect","color"]),p.rippleNumber=o.get(["rippleEffect","number"]),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&i.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&i.stopEffectAnimation()}),this._effectCfg=p,Sl(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(bn),EN=PN,DN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(){this._symbolDraw=new CS(EN)},e.prototype.render=function(t,e,i){var n=t.getData(),r=this._symbolDraw;r.updateData(n,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},e.prototype.updateTransform=function(t,e,i){var n=t.getData();this.group.dirty();var r=cC("").reset(t,e,i);r.progress&&r.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=wi(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Hm),LN=DN,jN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,i){return i.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(xf),RN=jN;function BN(t){t.registerChartView(LN),t.registerSeriesModel(RN),t.registerLayout(cC("effectScatter"))}var FN=function(t){function e(e,i,n){var r=t.call(this)||this;return r.add(r.createLine(e,i,n)),r._updateEffectSymbol(e,i),r}return o(e,t),e.prototype.createLine=function(t,e,i){return new oj(t,e,i)},e.prototype._updateEffectSymbol=function(t,e){var i=t.getItemModel(e),n=i.getModel("effect"),r=n.get("symbolSize"),o=n.get("symbol");s["t"](r)||(r=[r,r]);var a=t.getItemVisual(e,"style"),l=n.get("color")||a&&a.stroke,u=this.childAt(1);this._symbolType!==o&&(this.remove(u),u=ny(o,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(n.getItemStyle(["color"])),u.scaleX=r[0],u.scaleY=r[1],u.setColor(l),this._symbolType=o,this._symbolScale=r,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,i){var n=this.childAt(1);if(n){var r=t.getItemLayout(i),o=1e3*e.get("period"),a=e.get("loop"),l=e.get("constantSpeed"),u=s["O"](e.get("delay"),(function(e){return e/t.count()*o/3}));if(n.ignore=!0,this._updateAnimationPoints(n,r),l>0&&(o=this._getLineLength(n)/l*1e3),o!==this._period||a!==this._loop){n.stopAnimation();var c=void 0;c=s["w"](u)?u(i):u,n.__t>0&&(c=-o*n.__t),this._animateSymbol(n,o,c,a)}this._period=o,this._loop=a}},e.prototype._animateSymbol=function(t,e,i,n){if(e>0){t.__t=0;var r=this,o=t.animate("",n).when(e,{__t:1}).delay(i).during((function(){r._updateSymbolPosition(t)}));n||o.done((function(){r.remove(t)})),o.start()}},e.prototype._getLineLength=function(t){return w(t.__p1,t.__cp1)+w(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,r=t.__t,o=[t.x,t.y],a=o.slice(),s=ie,l=ne;o[0]=s(e[0],n[0],i[0],r),o[1]=s(e[1],n[1],i[1],r);var u=l(e[0],n[0],i[0],r),c=l(e[1],n[1],i[1],r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*w(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*w(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},e}(bn),NN=FN,zN=function(t){function e(e,i,n){var r=t.call(this)||this;return r._createPolyline(e,i,n),r}return o(e,t),e.prototype._createPolyline=function(t,e,i){var n=t.getItemLayout(e),r=new Tg({shape:{points:n}});this.add(r),this._updateCommonStl(t,e,i)},e.prototype.updateData=function(t,e,i){var n=t.hostModel,r=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};Fl(r,o,n,e),this._updateCommonStl(t,e,i)},e.prototype._updateCommonStl=function(t,e,i){var n=this.childAt(0),r=t.getItemModel(e),o=i&&i.emphasisLineStyle,a=i&&i.focus,s=i&&i.blurScope,l=i&&i.emphasisDisabled;if(!i||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}n.useStyle(t.getItemVisual(e,"style")),n.style.fill=null,n.style.strokeNoScale=!0;var c=n.ensureState("emphasis");c.style=o,Sl(this,a,s,l)},e.prototype.updateLayout=function(t,e){var i=this.childAt(0);i.setShape("points",t.getItemLayout(e))},e}(bn),VN=zN,qN=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return o(e,t),e.prototype.createLine=function(t,e,i){return new VN(t,e,i)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];n+=w(o,a),i.push(n)}if(0!==n){for(r=0;r<i.length;r++)i[r]/=n;this._offsets=i,this._length=n}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,i=this._points,n=this._offsets,r=i.length;if(n){var o,a=this._lastFrame;if(e<this._lastFramePercent){var s=Math.min(a+1,r-1);for(o=s;o>=0;o--)if(n[o]<=e)break;o=Math.min(o,r-2)}else{for(o=a;o<r;o++)if(n[o]>e)break;o=Math.min(o-1,r-2)}var l=(e-n[o])/(n[o+1]-n[o]),u=i[o],c=i[o+1];t.x=u[0]*(1-l)+l*c[0],t.y=u[1]*(1-l)+l*c[1];var h=c[0]-u[0],d=c[1]-u[1];t.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(NN),$N=qN,HN=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),GN=function(t){function e(e){var i=t.call(this,e)||this;return i._off=0,i.hoverDataIdx=-1,i}return o(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new HN},e.prototype.buildPath=function(t,e){var i,n=e.segs,r=e.curveness;if(e.polyline)for(i=this._off;i<n.length;){var o=n[i++];if(o>0){t.moveTo(n[i++],n[i++]);for(var a=1;a<o;a++)t.lineTo(n[i++],n[i++])}}else for(i=this._off;i<n.length;){var s=n[i++],l=n[i++],u=n[i++],c=n[i++];if(t.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=i,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var i=this.shape,n=i.segs,r=i.curveness,o=this.style.lineWidth;if(i.polyline)for(var a=0,s=0;s<n.length;){var l=n[s++];if(l>0)for(var u=n[s++],c=n[s++],h=1;h<l;h++){var d=n[s++],p=n[s++];if(da(u,c,d,p,o,t,e))return a}a++}else for(a=0,s=0;s<n.length;){u=n[s++],c=n[s++],d=n[s++],p=n[s++];if(r>0){var f=(u+d)/2-(c-p)*r,g=(c+p)/2-(d-u)*r;if(fa(u,c,f,g,d,p,o,t,e))return a}else if(da(u,c,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(t=i[0],e=i[1],n.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,i=e.segs,n=1/0,r=1/0,o=-1/0,a=-1/0,s=0;s<i.length;){var l=i[s++],u=i[s++];n=Math.min(l,n),o=Math.max(l,o),r=Math.min(u,r),a=Math.max(u,a)}t=this._rect=new Gi(n,r,o,a)}return t},e}(Ba),WN=function(){function t(){this.group=new bn}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var i=this._newAdded[0],n=e.getLayout("linesPoints"),r=i&&i.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+n.length);a.set(r),a.set(n,o),i.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:n}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new GN({cursor:"default"});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,i){var n=e.hostModel;t.setShape({polyline:n.get("polyline"),curveness:n.get(["lineStyle","curveness"])}),t.useStyle(n.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=bs(t);o.seriesIndex=n.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var i=t.hoverDataIdx;i>0&&(o.dataIndex=i+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),UN=WN,YN={seriesType:"lines",plan:Cf(),reset:function(t){var e=t.coordinateSystem;if(e){var i=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(n){var s=void 0,l=r.end-r.start;if(i){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var p=t.getLineCoords(c,a);i&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(a[f],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),m=(p=t.getLineCoords(c,a),[]);if(i)for(var v=0;v<p;v++)m.push(e.dataToPoint(a[v]));else{m[0]=e.dataToPoint(a[0]),m[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}}}}},XN=YN,KN=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this._updateLineDraw(n,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=i.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(n);var u=t.get("clip",!0)&&$S(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData(),r=this._updateLineDraw(n,t);r.incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,i){var n=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=XN.reset(t,e,i);o.progress&&o.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},e.prototype._updateLineDraw=function(t,e){var i=this._lineDraw,n=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext,a=o.large;return i&&n===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=a?new UN:new hj(r?n?$N:VN:n?NN:oj),this._hasEffet=n,this._isPolyline=r,this._isLargeDraw=a),this.group.add(i.group),i},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr(),i="svg"===e.painter.getType();i||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Hm),ZN=KN,QN="undefined"===typeof Uint32Array?Array:Uint32Array,JN="undefined"===typeof Float64Array?Array:Float64Array;function tz(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(s["H"])(e,(function(t){var e=[t[0].coord,t[1].coord],i={coords:e};return t[0].name&&(i.fromName=t[0].name),t[1].name&&(i.toName=t[1].name),Object(s["J"])([i,t[0],t[1]])})))}var ez=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.visualStyleAccessPath="lineStyle",i.visualDrawType="stroke",i}return o(e,t),e.prototype.init=function(e){e.data=e.data||[],tz(e);var i=this._processFlatCoordsArray(e.data);this._flatCoords=i.flatCoords,this._flatCoordsOffset=i.flatCoordsOffset,i.flatCoords&&(e.data=new Float32Array(i.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(tz(e),e.data){var i=this._processFlatCoordsArray(e.data);this._flatCoords=i.flatCoords,this._flatCoordsOffset=i.flatCoordsOffset,i.flatCoords&&(e.data=new Float32Array(i.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Object(s["e"])(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(s["e"])(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),i=e.option instanceof Array?e.option:e.getShallow("coords");return i},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*t],n=this._flatCoordsOffset[2*t+1],r=0;r<n;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[i+2*r],e[r][1]=this._flatCoords[i+2*r+1];return n}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),Object(s["z"])(t[0])){for(var i=t.length,n=new QN(i),r=new JN(i),o=0,a=0,l=0,u=0;u<i;){l++;var c=t[u++];n[a++]=o+e,n[a++]=c;for(var h=0;h<c;h++){var d=t[u++],p=t[u++];r[o++]=d,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(n.buffer,0,a),flatCoords:r,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var i=new Yw(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],(function(t,e,n,r){if(t instanceof Array)return NaN;i.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),i},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=n.getItemModel(t),o=r.get("name");if(o)return o;var a=r.get("fromName"),s=r.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Hp("nameValue",{name:l.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(xf),iz=ez;function nz(t){return t instanceof Array||(t=[t,t]),t}var rz={seriesType:"lines",reset:function(t){var e=nz(t.get("symbol")),i=nz(t.get("symbolSize")),n=t.getData();function r(t,e){var i=t.getItemModel(e),n=nz(i.getShallow("symbol",!0)),r=nz(i.getShallow("symbolSize",!0));n[0]&&t.setItemVisual(e,"fromSymbol",n[0]),n[1]&&t.setItemVisual(e,"toSymbol",n[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}return n.setVisual("fromSymbol",e&&e[0]),n.setVisual("toSymbol",e&&e[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),{dataEach:n.hasItemOption?r:null}}},oz=rz;function az(t){t.registerChartView(ZN),t.registerSeriesModel(iz),t.registerLayout(XN),t.registerVisual(oz)}var sz=256,lz=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Ui["d"].createCanvas();this.canvas=t}return t.prototype.update=function(t,e,i,n,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=i;for(var p=0;p<d;++p){var f=t[p],g=f[0],m=f[1],v=f[2],y=n(v);h.globalAlpha=y,h.drawImage(a,g-u,m-u)}if(!c.width||!c.height)return c;var b=h.getImageData(0,0,c.width,c.height),_=b.data,x=0,w=_.length,S=this.minOpacity,C=this.maxOpacity,k=C-S;while(x<w){y=_[x+3]/256;var M=4*Math.floor(y*(sz-1));if(y>0){var O=o(y)?s:l;y>0&&(y=y*k+S),_[x++]=O[M],_[x++]=O[M+1],_[x++]=O[M+2],_[x++]=O[M+3]*y*256}else x+=4}return h.putImageData(b,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Ui["d"].createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var n=t.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-e,e,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),t},t.prototype._getGradient=function(t,e){for(var i=this._gradientPixels,n=i[e]||(i[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),n[o++]=r[0],n[o++]=r[1],n[o++]=r[2],n[o++]=r[3];return n},t}(),uz=lz;function cz(t,e,i){var n=t[1]-t[0];e=s["H"](e,(function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}}));var r=e.length,o=0;return function(t){var n;for(n=o;n<r;n++){var a=e[n].interval;if(a[0]<=t&&t<=a[1]){o=n;break}}if(n===r)for(n=o-1;n>=0;n--){a=e[n].interval;if(a[0]<=t&&t<=a[1]){o=n;break}}return n>=0&&n<r&&i[n]}}function hz(t,e){var i=t[1]-t[0];return e=[(e[0]-t[0])/i,(e[1]-t[0])/i],function(t){return t>=e[0]&&t<=e[1]}}function dz(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var pz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(i){i===t&&(n=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):dz(r)&&this._renderOnGeo(r,t,n,i)},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,i,n){var r=e.coordinateSystem;r&&(dz(r)?this.render(e,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,i,n,r){var o,a,s,l,u=t.coordinateSystem,c=HS(u,"cartesian2d");if(c){var h=u.getAxis("x"),d=u.getAxis("y");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),b=Kl(t),_=t.getModel("emphasis"),x=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),C=c?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],k=i;k<n;k++){var M=void 0,O=f.getItemVisual(k,"style");if(c){var T=f.get(C[0],k),A=f.get(C[1],k);if(isNaN(f.get(C[2],k))||T<s[0]||T>s[1]||A<l[0]||A>l[1])continue;var I=u.dataToPoint([T,A]);M=new ts({shape:{x:I[0]-o/2,y:I[1]-a/2,width:o,height:a},style:O})}else{if(isNaN(f.get(C[1],k)))continue;M=new ts({z2:1,shape:u.dataToRect([f.get(C[0],k)]).contentShape,style:O})}if(f.hasItemOption){var P=f.getItemModel(k),E=P.getModel("emphasis");g=E.getModel("itemStyle").getItemStyle(),m=P.getModel(["blur","itemStyle"]).getItemStyle(),v=P.getModel(["select","itemStyle"]).getItemStyle(),y=P.get(["itemStyle","borderRadius"]),x=E.get("focus"),w=E.get("blurScope"),S=E.get("disabled"),b=Kl(P)}M.shape.r=y;var D=t.getRawValue(k),L="-";D&&null!=D[2]&&(L=D[2]+""),Xl(M,b,{labelFetcher:t,labelDataIndex:k,defaultOpacity:O.opacity,defaultText:L}),M.ensureState("emphasis").style=g,M.ensureState("blur").style=m,M.ensureState("select").style=v,Sl(M,x,w,S),M.incremental=r,r&&(M.states.emphasis.hoverLayer=!0),p.add(M),f.setItemGraphicEl(k,M),this._progressiveEls&&this._progressiveEls.push(M)}},e.prototype._renderOnGeo=function(t,e,i,n){var r=i.targetVisuals.inRange,o=i.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new uz;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,n.getWidth()),p=Math.min(l.height+l.y,n.getHeight()),f=d-c,g=p-h,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(m,(function(e,i,n){var r=t.dataToPoint([e,i]);return r[0]-=c,r[1]-=h,r.push(n),r})),y=i.getExtent(),b="visualMap.continuous"===i.type?hz(y,i.option.range):cz(y,i.getPieceList(),i.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new Ga({style:{width:f,height:g,x:c,y:h,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(Hm),fz=pz,gz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.getInitialData=function(t,e){return dS(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Hh.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(xf),mz=gz;function vz(t){t.registerChartView(fz),t.registerSeriesModel(mz)}var yz=["itemStyle","borderWidth"],bz=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],_z=new Kf,xz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),c={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:bz[+l],categoryDim:bz[1-+l]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=Dz(r,t),i=wz(r,t,e,c),o=Rz(r,c,i);r.setItemGraphicEl(t,o),n.add(o),qz(o,c,i)}})).update((function(t,e){var i=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=Dz(r,t),s=wz(r,t,a,c),l=Nz(r,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),r.setItemGraphicEl(t,null),i=null),i?Bz(i,c,s):i=Rz(r,c,s,!0),r.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=s,n.add(i),qz(i,c,s)}else n.remove(i)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&Fz(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl((function(e){Fz(n,bs(e).dataIndex,t,e)})):i.removeAll()},e.type="pictorialBar",e}(Hm);function wz(t,e,i,n){var r=t.getItemLayout(e),o=i.get("symbolRepeat"),a=i.get("symbolClip"),s=i.get("symbolPosition")||"start",l=i.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=i.get("symbolPatternSize")||2,h=i.isAnimationEnabled(),d={dataIndex:e,layout:r,itemModel:i,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:h?i:null,hoverScale:h&&i.get(["emphasis","scale"]),z2:i.getShallow("z",!0)||0};Sz(i,o,r,n,d),kz(t,e,r,o,a,d.boundingLength,d.pxSign,c,n,d),Mz(i,d.symbolScale,u,n,d);var p=d.symbolSize,f=oy(i.get("symbolOffset"),p);return Oz(i,p,r,o,a,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,n,d),d}function Sz(t,e,i,n,r){var o,a=n.valueDim,l=t.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(i[a.wh]<=0);if(s["t"](l)){var d=[Cz(u,l[0])-c,Cz(u,l[1])-c];d[1]<d[0]&&d.reverse(),o=d[h]}else o=null!=l?Cz(u,l)-c:e?n.coordSysExtent[a.index][h]-c:i[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=i[a.wh]),r.pxSign=o>0?1:-1}function Cz(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function kz(t,e,i,n,r,o,a,l,u,c){var h,d=u.valueDim,p=u.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(e,"symbolSize");h=s["t"](g)?g.slice():null==g?["100%","100%"]:[g,g],h[p.index]=Pn(h[p.index],f),h[d.index]=Pn(h[d.index],n?f:Math.abs(o)),c.symbolSize=h;var m=c.symbolScale=[h[0]/l,h[1]/l];m[d.index]*=(u.isHorizontal?-1:1)*a}function Mz(t,e,i,n,r){var o=t.get(yz)||0;o&&(_z.attr({scaleX:e[0],scaleY:e[1],rotation:i}),_z.updateTransform(),o/=_z.getLineScale(),o*=e[n.valueDim.index]),r.valueLineWidth=o||0}function Oz(t,e,i,n,r,o,a,l,u,c,h,d){var p=h.categoryDim,f=h.valueDim,g=d.pxSign,m=Math.max(e[f.index]+l,0),v=m;if(n){var y=Math.abs(u),b=s["O"](t.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var x=Pn(b,e[f.index]),w=Math.max(m+2*x,0),S=_?0:2*x,C=Kn(n),k=C?n:$z((y+S)/w),M=y-k*m;x=M/2/(_?k:Math.max(k-1,1)),w=m+2*x,S=_?0:2*x,C||"fixed"===n||(k=c?$z((Math.abs(c)+S)/w):0),v=k*w-S,d.repeatTimes=k,d.symbolMargin=x}var O=g*(v/2),T=d.pathPosition=[];T[p.index]=i[p.wh]/2,T[f.index]="start"===a?O:"end"===a?u-O:u/2,o&&(T[0]+=o[0],T[1]+=o[1]);var A=d.bundlePosition=[];A[p.index]=i[p.xy],A[f.index]=i[f.xy];var I=d.barRectShape=s["m"]({},i);I[f.wh]=g*Math.max(Math.abs(i[f.wh]),Math.abs(T[f.index]+O)),I[p.wh]=i[p.wh];var P=d.clipShape={};P[p.xy]=-i[p.xy],P[p.wh]=h.ecSize[p.wh],P[f.xy]=0,P[f.wh]=i[f.wh]}function Tz(t){var e=t.symbolPatternSize,i=ny(t.symbolType,-e/2,-e/2,e,e);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function Az(t,e,i,n){var r=t.__pictorialBundle,o=i.symbolSize,a=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*i.symbolMargin;for(zz(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?Vz(t,null,f(c),i,n):Vz(t,null,{scaleX:0,scaleY:0},i,n,(function(){r.remove(t)})),c++}));c<u;c++){var d=Tz(i);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var p=f(c);Vz(d,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},i,n)}function f(t){var e=s.slice(),n=i.pxSign,r=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:i.symbolScale[0],scaleY:i.symbolScale[1],rotation:i.rotation}}}function Iz(t,e,i,n){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?Vz(o,null,{x:i.pathPosition[0],y:i.pathPosition[1],scaleX:i.symbolScale[0],scaleY:i.symbolScale[1],rotation:i.rotation},i,n):(o=t.__pictorialMainPath=Tz(i),r.add(o),Vz(o,{x:i.pathPosition[0],y:i.pathPosition[1],scaleX:0,scaleY:0,rotation:i.rotation},{scaleX:i.symbolScale[0],scaleY:i.symbolScale[1]},i,n))}function Pz(t,e,i){var n=s["m"]({},e.barRectShape),r=t.__pictorialBarRect;r?Vz(r,null,{shape:n},e,i):(r=t.__pictorialBarRect=new ts({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),r.disableMorphing=!0,t.add(r))}function Ez(t,e,i,r){if(i.symbolClip){var o=t.__pictorialClipPath,a=s["m"]({},i.clipShape),l=e.valueDim,u=i.animationModel,c=i.dataIndex;if(o)Fl(o,{shape:a},u,c);else{a[l.wh]=0,o=new ts({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],n[r?"updateProps":"initProps"](o,{shape:h},u,c)}}}function Dz(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=Lz,i.isAnimationEnabled=jz,i}function Lz(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function jz(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Rz(t,e,i,n){var r=new bn,o=new bn;return r.add(o),r.__pictorialBundle=o,o.x=i.bundlePosition[0],o.y=i.bundlePosition[1],i.symbolRepeat?Az(r,e,i):Iz(r,e,i),Pz(r,i,n),Ez(r,e,i,n),r.__pictorialShapeStr=Nz(t,i),r.__pictorialSymbolMeta=i,r}function Bz(t,e,i){var n=i.animationModel,r=i.dataIndex,o=t.__pictorialBundle;Fl(o,{x:i.bundlePosition[0],y:i.bundlePosition[1]},n,r),i.symbolRepeat?Az(t,e,i,!0):Iz(t,e,i,!0),Pz(t,i,!0),Ez(t,e,i,!0)}function Fz(t,e,i,n){var r=n.__pictorialBarRect;r&&r.removeTextContent();var o=[];zz(n,(function(t){o.push(t)})),n.__pictorialMainPath&&o.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),s["k"](o,(function(t){Vl(t,{scaleX:0,scaleY:0},i,e,(function(){n.parent&&n.parent.remove(n)}))})),t.setItemGraphicEl(e,null)}function Nz(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function zz(t,e,i){s["k"](t.__pictorialBundle.children(),(function(n){n!==t.__pictorialBarRect&&e.call(i,n)}))}function Vz(t,e,i,r,o,a){e&&t.attr(e),r.symbolClip&&!o?i&&t.attr(i):i&&n[o?"updateProps":"initProps"](t,i,r.animationModel,r.dataIndex,a)}function qz(t,e,i){var n=i.dataIndex,r=i.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),l=r.getModel(["blur","itemStyle"]).getItemStyle(),u=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),h=o.get("focus"),d=o.get("blurScope"),p=o.get("scale");zz(t,(function(t){if(t instanceof Ga){var e=t.style;t.useStyle(s["m"]({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},i.style))}else t.useStyle(i.style);var n=t.ensureState("emphasis");n.style=a,p&&(n.scaleX=1.1*t.scaleX,n.scaleY=1.1*t.scaleY),t.ensureState("blur").style=l,t.ensureState("select").style=u,c&&(t.cursor=c),t.z2=i.z2}));var f=e.valueDim.posDesc[+(i.boundingLength>0)],g=t.__pictorialBarRect;Xl(g,Kl(r),{labelFetcher:e.seriesModel,labelDataIndex:n,defaultText:gS(e.seriesModel.getData(),n),inheritColor:i.style.fill,defaultOpacity:i.style.opacity,defaultOutsidePosition:f}),Sl(t,h,d,o.get("disabled"))}function $z(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var Hz=xz,Gz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i.defaultSymbol="roundRect",i}return o(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Mu(IC.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(IC),Wz=Gz;function Uz(t){t.registerChartView(Hz),t.registerSeriesModel(Wz),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(s["h"])(CC,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,kC("pictorialBar"))}var Yz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._layers=[],i}return o(e,t),e.prototype.render=function(t,e,i){var n=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),l=n.getLayout("layoutInfo"),u=l.rect,c=l.boundaryGap;function h(t){return t.name}o.x=0,o.y=u.y+c[0];var d=new yw(this._layersSeries||[],a,h,h),p=[];function f(e,i,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],d=[],f=a[i].indices,g=0;g<f.length;g++){var m=n.getItemLayout(f[g]),v=m.x,y=m.y0,b=m.y;h.push(v,y),d.push(v,y+b),u=n.getItemVisual(f[g],"style")}var _=n.getItemLayout(f[0]),x=t.getModel("label"),w=x.get("margin"),S=t.getModel("emphasis");if("add"===e){var C=p[i]=new bn;c=new zS({shape:{points:h,stackedOnPoints:d,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),C.add(c),o.add(C),t.isAnimationEnabled()&&c.setClipPath(Xz(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{C=l[s];c=C.childAt(0),o.add(C),p[i]=C,Fl(c,{shape:{points:h,stackedOnPoints:d}},t),Hl(c)}Xl(c,Kl(t),{labelDataIndex:f[g-1],defaultText:n.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var k=c.getTextContent();k&&(k.x=_.x-w,k.y=_.y0+_.y/2),c.useStyle(u),n.setItemGraphicEl(i,c),Ol(c,t),Sl(c,S.get("focus"),S.get("blurScope"),S.get("disabled"))}else o.remove(l[i])}d.add(Object(s["c"])(f,this,"add")).update(Object(s["c"])(f,this,"update")).remove(Object(s["c"])(f,this,"remove")).execute(),this._layersSeries=a,this._layers=p},e.type="themeRiver",e}(Hm);function Xz(t,e,i){var n=new ts({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Nl(n,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,i),n}var Kz=Yz,Zz=2,Qz=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new oM(s["c"](this.getData,this),s["c"](this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,i={},n=Lr(t,(function(t){return i.hasOwnProperty(t[0]+"")||(i[t[0]+""]=-1),t[2]})),r=[];n.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";i[u]=a}for(var u in i)i.hasOwnProperty(u)&&i[u]!==a&&(i[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var i=this.getReferringComponents("singleAxis",Ar).models[0],n=i.get("type"),r=s["n"](t.data,(function(t){return void 0!==t[2]})),o=this.fixData(r||[]),a=[],l=this.nameMap=s["f"](),u=0,c=0;c<o.length;++c)a.push(o[c][Zz]),l.get(o[c][Zz])||(l.set(o[c][Zz],u),u++);var h=Xw(o,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:ww(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new Yw(h,this);return d.initData(o),d},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),i=[],n=0;n<e;++n)i[n]=n;var r=t.mapDimension("single"),o=Lr(i,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,i){e.sort((function(e,i){return t.get(r,e)-t.get(r,i)})),a.push({name:i,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,i){s["t"](t)||(t=t?[t]:[]);for(var n,r=this.getData(),o=this.getLayerSeries(),a=[],l=o.length,u=0;u<l;++u){for(var c=Number.MAX_VALUE,h=-1,d=o[u].indices.length,p=0;p<d;++p){var f=r.get(t[0],o[u].indices[p]),g=Math.abs(f-e);g<=c&&(n=f,c=g,h=o[u].indices[p])}a.push(h)}return{dataIndices:a,nestestValue:n}},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=n.getName(t),o=n.get(n.mapDimension("value"),t);return Hp("nameValue",{name:r,value:o})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(xf),Jz=Qz;function tV(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),i=t.coordinateSystem,n={},r=i.getRect();n.rect=r;var o=t.get("boundaryGap"),a=i.getAxis();if(n.boundaryGap=o,"horizontal"===a.orient){o[0]=Pn(o[0],r.height),o[1]=Pn(o[1],r.height);var s=r.height-o[0]-o[1];eV(e,t,s)}else{o[0]=Pn(o[0],r.width),o[1]=Pn(o[1],r.width);var l=r.width-o[0]-o[1];eV(e,t,l)}e.setLayout("layoutInfo",n)}))}function eV(t,e,i){if(t.count())for(var n,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),l=t.mapDimension("value"),u=s["H"](o,(function(e){return s["H"](e.indices,(function(e){var i=r.dataToPoint(t.get(a,e));return i[1]=t.get(l,e),i}))})),c=iV(u),h=c.y0,d=i/c.max,p=o.length,f=o[0].indices.length,g=0;g<f;++g){n=h[g]*d,t.setItemLayout(o[0].indices[g],{layerIndex:0,x:u[0][g][0],y0:n,y:u[0][g][1]*d});for(var m=1;m<p;++m)n+=u[m-1][g][1]*d,t.setItemLayout(o[m].indices[g],{layerIndex:m,x:u[m][g][0],y0:n,y:u[m][g][1]*d})}}function iV(t){for(var e=t.length,i=t[0].length,n=[],r=[],o=0,a=0;a<i;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),n.push(s)}for(var u=0;u<i;++u)r[u]=(o-n[u])/2;o=0;for(var c=0;c<i;++c){var h=n[c]+r[c];h>o&&(o=h)}return{y0:r,max:o}}function nV(t){t.registerChartView(Kz),t.registerSeriesModel(Jz),t.registerLayout(tV),t.registerProcessor(vk("themeRiver"))}var rV=2,oV=4,aV=function(t){function e(e,i,n,r){var o=t.call(this)||this;o.z2=rV,o.textConfig={inside:!0},bs(o).seriesIndex=i.seriesIndex;var a=new ys({z2:oV,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,i,n,r),o}return o(e,t),e.prototype.updateData=function(t,e,i,n,r){this.node=e,e.piece=this,i=i||this._seriesModel,n=n||this._ecModel;var o=this;bs(o).dataIndex=e.dataIndex;var a=e.getModel(),l=a.getModel("emphasis"),u=e.getLayout(),c=s["m"]({},u);c.label=null;var h=e.getVisual("style");h.lineJoin="bevel";var d=e.getVisual("decal");d&&(h.decal=Wy(d,r));var p=Jk(a.getModel("itemStyle"),c,!0);s["m"](c,p),s["k"](Ts,(function(t){var e=o.ensureState(t),i=a.getModel([t,"itemStyle"]);e.style=i.getItemStyle();var n=Jk(i,c);n&&(e.shape=n)})),t?(o.setShape(c),o.shape.r=u.r0,Fl(o,{shape:{r:u.r}},i,e.dataIndex)):(Fl(o,{shape:c},i),Hl(o)),o.useStyle(h),this._updateLabel(i);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=i||this._seriesModel,this._ecModel=n||this._ecModel;var g=l.get("focus"),m="ancestor"===g?e.getAncestorsIndices():"descendant"===g?e.getDescendantIndices():g;Sl(this,m,l.get("blurScope"),l.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,i=this.node.getModel(),n=i.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,l=Math.cos(a),u=Math.sin(a),c=this,h=c.getTextContent(),d=this.node.dataIndex,p=n.get("minAngle")/180*Math.PI,f=n.get("show")&&!(null!=p&&Math.abs(o)<p);function g(t,e){var i=t.get(e);return null==i?n.get(e):i}h.ignore=!f,s["k"](As,(function(n){var p="normal"===n?i.getModel("label"):i.getModel([n,"label"]),f="normal"===n,m=f?h:h.ensureState(n),v=t.getFormattedLabel(d,n);f&&(v=v||e.node.name),m.style=Zl(p,{},null,"normal"!==n,!0),v&&(m.style.text=v);var y=p.get("show");null==y||f||(m.ignore=!y);var b,_=g(p,"position"),x=f?c:c.states[n],w=x.style.fill;x.textConfig={outsideFill:"inherit"===p.get("color")?w:null,inside:"outside"!==_};var S=g(p,"distance")||0,C=g(p,"align");"outside"===_?(b=r.r+S,C=a>Math.PI/2?"right":"left"):C&&"center"!==C?"left"===C?(b=r.r0+S,a>Math.PI/2&&(C="right")):"right"===C&&(b=r.r-S,a>Math.PI/2&&(C="left")):(b=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,C="center"),m.style.align=C,m.style.verticalAlign=g(p,"verticalAlign")||"middle",m.x=b*l+r.cx,m.y=b*u+r.cy;var k=g(p,"rotate"),M=0;"radial"===k?(M=-a,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===k?(M=Math.PI/2-a,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):s["z"](k)&&(M=k*Math.PI/180),m.rotation=M})),h.dirtyStyle()},e}(vg),sV=aV,lV="sunburstRootToNode",uV="sunburstHighlight",cV="sunburstUnhighlight";function hV(t){t.registerAction({type:lV,update:"updateView"},(function(t,e){function i(e,i){var n=IE(t,[lV],e);if(n){var r=e.getViewRoot();r&&(t.direction=EE(r,n.node)?"rollUp":"drillDown"),e.resetViewRoot(n.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},i)})),t.registerAction({type:uV,update:"none"},(function(t,e,i){function n(e){var i=IE(t,[uV],e);i&&(t.dataIndex=i.node.dataIndex)}t=Object(s["m"])({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},n),i.dispatchAction(Object(s["m"])(t,{type:"highlight"}))})),t.registerAction({type:cV,update:"updateView"},(function(t,e,i){t=Object(s["m"])({},t),i.dispatchAction(Object(s["m"])(t,{type:"downplay"}))}))}var dV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i,n){var r=this;this.seriesModel=t,this.api=i,this.ecModel=e;var o=t.getData(),a=o.tree.root,l=t.getViewRoot(),u=this.group,c=t.get("renderLabelForZeroData"),h=[];l.eachNode((function(t){h.push(t)}));var d=this._oldChildren||[];function p(t,e){function i(t){return t.getId()}function n(i,n){var r=null==i?null:t[i],o=null==n?null:e[n];f(r,o)}0===t.length&&0===e.length||new yw(e,t,i,i).add(n).update(n).remove(s["h"](n,null)).execute()}function f(n,r){if(c||!n||n.getValue()||(n=null),n!==a&&r!==a)if(r&&r.piece)n?(r.piece.updateData(!1,n,t,e,i),o.setItemGraphicEl(n.dataIndex,r.piece)):g(r);else if(n){var s=new sV(n,t,e,i);u.add(s),o.setItemGraphicEl(n.dataIndex,s)}}function g(t){t&&t.piece&&(u.remove(t.piece),t.piece=null)}function m(n,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,n,t,e,i):(r.virtualPiece=new sV(n,t,e,i),u.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(u.remove(r.virtualPiece),r.virtualPiece=null)}p(h,d),m(a,l),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var i=!1,n=t.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece===e.target){var r=n.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(n);else if("link"===r){var o=n.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Ic(a,s)}}i=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:lV,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var r=t[0]-n.cx,o=t[1]-n.cy,a=Math.sqrt(r*r+o*o);return a<=n.r&&a>=n.r0}},e.type="sunburst",e}(Hm),pV=dV,fV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.ignoreStyleOnData=!0,i}return o(e,t),e.prototype.getInitialData=function(t,e){var i={name:t.name,children:t.data};gV(i);var n=this._levelModels=s["H"](t.levels||[],(function(t){return new xu(t,this,e)}),this),r=AE.createTree(i,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var i=r.getNodeByDataIndex(e),o=n[i.depth];return o&&(t.parentModel=o),t}))}return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var i=t.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return i.treePathInfo=DE(n,this),i},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){GE(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(xf);function gV(t){var e=0;s["k"](t.children,(function(t){gV(t);var i=t.value;s["t"](i)&&(i=i[0]),e+=i}));var i=t.value;s["t"](i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),s["t"](t.value)?t.value[0]=i:t.value=i}var mV=fV,vV=Math.PI/180;function yV(t,e,i){e.eachSeriesByType(t,(function(t){var e=t.get("center"),n=t.get("radius");s["t"](n)||(n=[0,n]),s["t"](e)||(e=[e,e]);var r=i.getWidth(),o=i.getHeight(),a=Math.min(r,o),l=Pn(e[0],r),u=Pn(e[1],o),c=Pn(n[0],a/2),h=Pn(n[1],a/2),d=-t.get("startAngle")*vV,p=t.get("minAngle")*vV,f=t.getData().tree.root,g=t.getViewRoot(),m=g.depth,v=t.get("sort");null!=v&&bV(g,v);var y=0;s["k"](g.children,(function(t){!isNaN(t.getValue())&&y++}));var b=g.getValue(),_=Math.PI/(b||y)*2,x=g.depth>0,w=g.height-(x?-1:1),S=(h-c)/(w||1),C=t.get("clockwise"),k=t.get("stillShowZeroSum"),M=C?1:-1,O=function(e,i){if(e){var n=i;if(e!==f){var r=e.getValue(),o=0===b&&k?_:r*_;o<p&&(o=p),n=i+M*o;var h=e.depth-m-(x?-1:1),d=c+S*h,g=c+S*(h+1),v=t.getLevelModel(e);if(v){var y=v.get("r0",!0),w=v.get("r",!0),T=v.get("radius",!0);null!=T&&(y=T[0],w=T[1]),null!=y&&(d=Pn(y,a/2)),null!=w&&(g=Pn(w,a/2))}e.setLayout({angle:o,startAngle:i,endAngle:n,clockwise:C,cx:l,cy:u,r0:d,r:g})}if(e.children&&e.children.length){var A=0;s["k"](e.children,(function(t){A+=O(t,i+A)}))}return n-i}};if(x){var T=c,A=c+S,I=2*Math.PI;f.setLayout({angle:I,startAngle:d,endAngle:d+I,clockwise:C,cx:l,cy:u,r0:T,r:A})}O(g,d)}))}function bV(t,e){var i=t.children||[];t.children=_V(i,e),i.length&&s["k"](t.children,(function(t){bV(t,e)}))}function _V(t,e){if(s["w"](e)){var i=s["H"](t,(function(t,e){var i=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return i}},index:e}}));return i.sort((function(t,i){return e(t.params,i.params)})),s["H"](i,(function(e){return t[e.index]}))}var n="asc"===e;return t.sort((function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0===i?(t.dataIndex-e.dataIndex)*(n?-1:1):i}))}function xV(t){var e={};function i(t,i,n){var r=t;while(r&&r.depth>1)r=r.parentNode;var o=i.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&Object(s["C"])(o)&&(o=Object(pe["c"])(o,(t.depth-1)/(n-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(r){var o=r.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=i(r,t,n.root.height));var l=e.ensureUniqueItemVisual(r.dataIndex,"style");Object(s["m"])(l,a)}))}))}function wV(t){t.registerChartView(pV),t.registerSeriesModel(mV),t.registerLayout(Object(s["h"])(yV,"sunburst")),t.registerProcessor(Object(s["h"])(vk,"sunburst")),t.registerVisual(xV),hV(t)}var SV={color:"fill",borderColor:"stroke"},CV={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},kV=kr(),MV=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return dS(null,this)},e.prototype.getDataParams=function(e,i,n){var r=t.prototype.getDataParams.call(this,e,i);return n&&(r.info=kV(n).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(xf),OV=MV;function TV(t,e){return e=e||[0,0],s["H"](["x","y"],(function(i,n){var r=this.getAxis(i),o=e[n],a=t[n]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function AV(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:s["c"](TV,t)}}}function IV(t,e){return e=e||[0,0],s["H"]([0,1],(function(i){var n=e[i],r=t[i]/2,o=[],a=[];return o[i]=n-r,a[i]=n+r,o[1-i]=a[1-i]=e[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(a)[i])}),this)}function PV(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:s["c"](IV,t)}}}function EV(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function DV(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:Object(s["c"])(EV,t)}}}function LV(t,e){return e=e||[0,0],s["H"](["Radius","Angle"],(function(i,n){var r="get"+i+"Axis",o=this[r](),a=e[n],s=t[n]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===i&&(l=l*Math.PI/180),l}),this)}function jV(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),n=e.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:n[1],r0:n[0]},api:{coord:function(n){var r=e.dataToRadius(n[0]),o=i.dataToAngle(n[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:s["c"](LV,t)}}}function RV(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}function BV(t,e,i,n){return t&&(t.legacy||!1!==t.legacy&&!i&&!n&&"tspan"!==e&&("text"===e||Object(s["q"])(t,"text")))}function FV(t,e,i){var n,r,o,a=t;if("text"===e)o=a;else{o={},Object(s["q"])(a,"text")&&(o.text=a.text),Object(s["q"])(a,"rich")&&(o.rich=a.rich),Object(s["q"])(a,"textFill")&&(o.fill=a.textFill),Object(s["q"])(a,"textStroke")&&(o.stroke=a.textStroke),Object(s["q"])(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(s["q"])(a,"fontSize")&&(o.fontSize=a.fontSize),Object(s["q"])(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(s["q"])(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},n={};var l=Object(s["q"])(a,"textPosition");i?n.position=l?a.textPosition:"inside":l&&(n.position=a.textPosition),Object(s["q"])(a,"textPosition")&&(n.position=a.textPosition),Object(s["q"])(a,"textOffset")&&(n.offset=a.textOffset),Object(s["q"])(a,"textRotation")&&(n.rotation=a.textRotation),Object(s["q"])(a,"textDistance")&&(n.distance=a.textDistance)}return NV(o,t),Object(s["k"])(o.rich,(function(t){NV(t,t)})),{textConfig:n,textContent:r}}function NV(t,e){e&&(e.font=e.textFont||e.font,Object(s["q"])(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(s["q"])(e,"textAlign")&&(t.align=e.textAlign),Object(s["q"])(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(s["q"])(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(s["q"])(e,"textWidth")&&(t.width=e.textWidth),Object(s["q"])(e,"textHeight")&&(t.height=e.textHeight),Object(s["q"])(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(s["q"])(e,"textPadding")&&(t.padding=e.textPadding),Object(s["q"])(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(s["q"])(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(s["q"])(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(s["q"])(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(s["q"])(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(s["q"])(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(s["q"])(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function zV(t,e,i){var n=t;n.textPosition=n.textPosition||i.position||"inside",null!=i.offset&&(n.textOffset=i.offset),null!=i.rotation&&(n.textRotation=i.rotation),null!=i.distance&&(n.textDistance=i.distance);var r=n.textPosition.indexOf("inside")>=0,o=t.fill||"#000";VV(n,e);var a=null==n.textFill;return r?a&&(n.textFill=i.insideFill||"#fff",!n.textStroke&&i.insideStroke&&(n.textStroke=i.insideStroke),!n.textStroke&&(n.textStroke=o),null==n.textStrokeWidth&&(n.textStrokeWidth=2)):(a&&(n.textFill=t.fill||i.outsideFill||"#000"),!n.textStroke&&i.outsideStroke&&(n.textStroke=i.outsideStroke)),n.text=e.text,n.rich=e.rich,Object(s["k"])(e.rich,(function(t){VV(t,t)})),n}function VV(t,e){e&&(Object(s["q"])(e,"fill")&&(t.textFill=e.fill),Object(s["q"])(e,"stroke")&&(t.textStroke=e.fill),Object(s["q"])(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(s["q"])(e,"font")&&(t.font=e.font),Object(s["q"])(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(s["q"])(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(s["q"])(e,"fontSize")&&(t.fontSize=e.fontSize),Object(s["q"])(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(s["q"])(e,"align")&&(t.textAlign=e.align),Object(s["q"])(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(s["q"])(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(s["q"])(e,"width")&&(t.textWidth=e.width),Object(s["q"])(e,"height")&&(t.textHeight=e.height),Object(s["q"])(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(s["q"])(e,"padding")&&(t.textPadding=e.padding),Object(s["q"])(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(s["q"])(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(s["q"])(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(s["q"])(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(s["q"])(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(s["q"])(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(s["q"])(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(s["q"])(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(s["q"])(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(s["q"])(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(s["q"])(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var qV={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},$V=Object(s["F"])(qV),HV=(Object(s["N"])(Pi,(function(t,e){return t[e]=1,t}),{}),Pi.join(", "),["","style","shape","extra"]),GV=kr();function WV(t,e,i,n,r){var o=t+"Animation",a=Rl(t,n,r)||{},l=GV(e).userDuring;return a.duration>0&&(a.during=l?Object(s["c"])(iq,{el:e,userDuring:l}):null,a.setToFinal=!0,a.scope=t),Object(s["m"])(a,i[o]),a}function UV(t,e,i,n){n=n||{};var r=n.dataIndex,o=n.isInit,a=n.clearStyle,l=i.isAnimationEnabled(),u=GV(t),c=e.style;u.userDuring=e.during;var h={},d={};if(aq(t,e,d),rq("shape",e,d),rq("extra",e,d),!o&&l&&(oq(t,e,h),nq("shape",t,e,h),nq("extra",t,e,h),sq(t,e,c,h)),d.style=c,ZV(t,d,a),JV(t,e),l)if(o){var p={};Object(s["k"])(HV,(function(t){var i=t?e[t]:e;i&&i.enterFrom&&(t&&(p[t]=p[t]||{}),Object(s["m"])(t?p[t]:p,i.enterFrom))}));var f=WV("enter",t,e,i,r);f.duration>0&&t.animateFrom(p,f)}else QV(t,e,r||0,i,h);YV(t,e),c?t.dirty():t.markRedraw()}function YV(t,e){for(var i=GV(t).leaveToProps,n=0;n<HV.length;n++){var r=HV[n],o=r?e[r]:e;o&&o.leaveTo&&(i||(i=GV(t).leaveToProps={}),r&&(i[r]=i[r]||{}),Object(s["m"])(r?i[r]:i,o.leaveTo))}}function XV(t,e,i,n){if(t){var r=t.parent,o=GV(t).leaveToProps;if(o){var a=WV("update",t,e,i,0);a.done=function(){r.remove(t),n&&n()},t.animateTo(o,a)}else r.remove(t),n&&n()}}function KV(t){return"all"===t}function ZV(t,e,i){var n=e.style;if(!t.isGroup&&n){if(i){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(n)}e&&(e.style=null,e&&t.attr(e),e.style=n)}function QV(t,e,i,n,r){if(r){var o=WV("update",t,e,n,i);o.duration>0&&t.animateFrom(r,o)}}function JV(t,e){Object(s["q"])(e,"silent")&&(t.silent=e.silent),Object(s["q"])(e,"ignore")&&(t.ignore=e.ignore),t instanceof Io&&Object(s["q"])(e,"invisible")&&(t.invisible=e.invisible),t instanceof Ba&&Object(s["q"])(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var tq={},eq={setTransform:function(t,e){return tq.el[t]=e,this},getTransform:function(t){return tq.el[t]},setShape:function(t,e){var i=tq.el,n=i.shape||(i.shape={});return n[t]=e,i.dirtyShape&&i.dirtyShape(),this},getShape:function(t){var e=tq.el.shape;if(e)return e[t]},setStyle:function(t,e){var i=tq.el,n=i.style;return n&&(n[t]=e,i.dirtyStyle&&i.dirtyStyle()),this},getStyle:function(t){var e=tq.el.style;if(e)return e[t]},setExtra:function(t,e){var i=tq.el.extra||(tq.el.extra={});return i[t]=e,this},getExtra:function(t){var e=tq.el.extra;if(e)return e[t]}};function iq(){var t=this,e=t.el;if(e){var i=GV(e).userDuring,n=t.userDuring;i===n?(tq.el=e,n(eq)):t.el=t.userDuring=null}}function nq(t,e,i,n){var r=i[t];if(r){var o,a=e[t];if(a){var l=i.transition,u=r.transition;if(u)if(!o&&(o=n[t]={}),KV(u))Object(s["m"])(o,a);else for(var c=nr(u),h=0;h<c.length;h++){var d=c[h],p=a[d];o[d]=p}else if(KV(l)||Object(s["r"])(l,t)>=0){!o&&(o=n[t]={});var f=Object(s["F"])(a);for(h=0;h<f.length;h++){d=f[h],p=a[d];lq(r[d],p)&&(o[d]=p)}}}}}function rq(t,e,i){var n=e[t];if(n)for(var r=i[t]={},o=Object(s["F"])(n),a=0;a<o.length;a++){var l=o[a];r[l]=Se(n[l])}}function oq(t,e,i){for(var n=e.transition,r=KV(n)?Pi:nr(n||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];0,i[a]=s}}}function aq(t,e,i){for(var n=0;n<$V.length;n++){var r=$V[n],o=qV[r],a=e[r];a&&(i[o[0]]=a[0],i[o[1]]=a[1])}for(n=0;n<Pi.length;n++){var s=Pi[n];null!=e[s]&&(i[s]=e[s])}}function sq(t,e,i,n){if(i){var r,o=t.style;if(o){var a=i.transition,l=e.transition;if(a&&!KV(a)){var u=nr(a);!r&&(r=n.style={});for(var c=0;c<u.length;c++){var h=u[c],d=o[h];r[h]=d}}else if(t.getAnimationStyleProps&&(KV(l)||KV(a)||Object(s["r"])(l,"style")>=0)){var p=t.getAnimationStyleProps(),f=p?p.style:null;if(f){!r&&(r=n.style={});var g=Object(s["F"])(i);for(c=0;c<g.length;c++){h=g[c];if(f[h]){d=o[h];r[h]=d}}}}}}}function lq(t,e){return Object(s["u"])(t)?t!==e:null!=t&&isFinite(t)}var uq=kr(),cq=["percent","easing","shape","style","extra"];function hq(t){t.stopAnimation("keyframe"),t.attr(uq(t))}function dq(t,e,i){if(i.isAnimationEnabled()&&e)if(Object(s["t"])(e))Object(s["k"])(e,(function(e){dq(t,e,i)}));else{var n=e.keyframes,r=e.duration;if(i&&null==r){var o=Rl("enter",i,0);r=o&&o.duration}if(n&&r){var a=uq(t);Object(s["k"])(HV,(function(i){if(!i||t[i]){var o;n.sort((function(t,e){return t.percent-e.percent})),Object(s["k"])(n,(function(n){var l=t.animators,u=i?n[i]:n;if(u){var c=Object(s["F"])(u);if(i||(c=Object(s["n"])(c,(function(t){return Object(s["r"])(cq,t)<0}))),c.length){o||(o=t.animate(i,e.loop,!0),o.scope="keyframe");for(var h=0;h<l.length;h++)l[h]!==o&&l[h].targetName===o.targetName&&l[h].stopTracks(c);i&&(a[i]=a[i]||{});var d=i?a[i]:a;Object(s["k"])(c,(function(e){d[e]=((i?t[i]:t)||{})[e]})),o.whenWithKeys(r*n.percent,u,c,n.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing)}}))}}}var pq="emphasis",fq="normal",gq="blur",mq="select",vq=[fq,pq,gq,mq],yq={normal:["itemStyle"],emphasis:[pq,"itemStyle"],blur:[gq,"itemStyle"],select:[mq,"itemStyle"]},bq={normal:["label"],emphasis:[pq,"label"],blur:[gq,"label"],select:[mq,"label"]},_q=["x","y"],xq="e\0\0",wq={normal:{},emphasis:{},blur:{},select:{}},Sq={cartesian2d:AV,geo:PV,single:DV,polar:jV,calendar:RV};function Cq(t){return t instanceof Ba}function kq(t){return t instanceof Io}function Mq(t,e){e.copyTransform(t),kq(e)&&kq(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,Cq(e)&&Cq(t)&&e.setShape(t.shape))}var Oq=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i,n){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=Lq(t,o,e,i);r||a.removeAll(),o.diff(r).add((function(e){Rq(i,null,e,s(e,n),t,a,o)})).remove((function(e){var i=r.getItemGraphicEl(e);XV(i,kV(i).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);Rq(i,u,e,s(e,n),t,a,o)})).execute();var l=t.get("clip",!0)?$S(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,i,n,r){var o=e.getData(),a=Lq(e,o,i,n),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=Rq(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){jm(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,i,n){var r=e.element;if(null==r||i.name===r)return!0;while((i=i.__hostTarget||i.parent)&&i!==this.group)if(i.name===r)return!0;return!1},e.type="custom",e}(Hm),Tq=Oq;function Aq(t){var e,i=t.type;if("path"===i){var n=t.shape,r=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=Xq(n);e=dm(o,null,r,n.layout||"center"),kV(e).customPathData=o}else if("image"===i)e=new Ga({}),kV(e).customImagePath=t.style.image;else if("text"===i)e=new ys({});else if("group"===i)e=new bn;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');var a=hm(i);if(!a){var s="";0,Ah(s)}e=new a}return kV(e).customGraphicType=i,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function Iq(t,e,i,n,r,o,a){hq(e);var l=r&&r.normal.cfg;l&&e.setTextConfig(l),n&&null==n.transition&&(n.transition=_q);var u=n&&n.style;if(u){if("text"===e.type){var c=u;Object(s["q"])(c,"textFill")&&(c.fill=c.textFill),Object(s["q"])(c,"textStroke")&&(c.stroke=c.textStroke)}var h=void 0,d=Cq(e)?u.decal:null;t&&d&&(d.dirty=!0,h=Wy(d,t)),u.__decalPattern=h}if(kq(e)&&u){h=u.__decalPattern;h&&(u.decal=h)}UV(e,n,o,{dataIndex:i,isInit:a,clearStyle:!0}),dq(e,n.keyframeAnimation,o)}function Pq(t,e,i,n,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===n){var l=o.getState(t);l&&(l.style=null)}else s.style=n||null;a&&(s.textConfig=a),el(o)}}function Eq(t,e,i){if(!t.isGroup){var n=t,r=i.currentZ,o=i.currentZLevel;n.z=r,n.zlevel=o;var a=e.z2;null!=a&&(n.z2=a||0);for(var s=0;s<vq.length;s++)Dq(n,e,vq[s])}}function Dq(t,e,i){var n,r=i===fq,o=r?e:qq(e,i),a=o?o.z2:null;null!=a&&(n=r?t:t.ensureState(i),n.z2=a||0)}function Lq(t,e,i,n){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):Sq[o.type](o));for(var l,u,c=Object(s["i"])({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:x,style:S,ordinalRawValue:w,styleEmphasis:C,visual:O,barLayout:T,currentSeriesIndices:A,font:I},a.api||{}),h={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:jq(t.getData())},d={},p={},f={},g={},m=0;m<vq.length;m++){var v=vq[m];f[v]=t.getModel(yq[v]),g[v]=t.getModel(bq[v])}function y(t){return t===l?u||(u=e.getItemModel(t)):e.getItemModel(t)}function b(t,i){return e.hasItemOption?t===l?d[i]||(d[i]=y(t).getModel(yq[i])):y(t).getModel(yq[i]):f[i]}function _(t,i){return e.hasItemOption?t===l?p[i]||(p[i]=y(t).getModel(bq[i])):y(t).getModel(bq[i]):g[i]}return function(t,i){return l=t,u=null,d={},p={},r&&r(Object(s["i"])({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:i?i.type:null},h),c)};function x(t,i){return null==i&&(i=l),e.getStore().get(e.getDimensionIndex(t||0),i)}function w(t,i){null==i&&(i=l),t=t||0;var n=e.getDimensionInfo(t);if(!n){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,i):void 0}var o=e.get(n.name,i),a=n&&n.ordinalMeta;return a?a.categories[o]:o}function S(i,n){null==n&&(n=l);var r=e.getItemVisual(n,"style"),o=r&&r.fill,a=r&&r.opacity,u=b(n,fq).getItemStyle();null!=o&&(u.fill=o),null!=a&&(u.opacity=a);var c={inheritColor:Object(s["C"])(o)?o:"#000"},h=_(n,fq),d=Zl(h,null,c,!1,!0);d.text=h.getShallow("show")?Object(s["P"])(t.getFormattedLabel(n,fq),gS(e,n)):null;var p=Ql(h,c,!1);return M(i,u),u=zV(u,d,p),i&&k(u,i),u.legacy=!0,u}function C(i,n){null==n&&(n=l);var r=b(n,pq).getItemStyle(),o=_(n,pq),a=Zl(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(s["Q"])(t.getFormattedLabel(n,pq),t.getFormattedLabel(n,fq),gS(e,n)):null;var u=Ql(o,null,!0);return M(i,r),r=zV(r,a,u),i&&k(r,i),r.legacy=!0,r}function k(t,e){for(var i in e)Object(s["q"])(e,i)&&(t[i]=e[i])}function M(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function O(t,i){if(null==i&&(i=l),Object(s["q"])(SV,t)){var n=e.getItemVisual(i,"style");return n?n[SV[t]]:null}if(Object(s["q"])(CV,t))return e.getItemVisual(i,t)}function T(t){if("cartesian2d"===o.type){var e=o.getBaseAxis();return yC(Object(s["i"])({axis:e},t))}}function A(){return i.getCurrentSeriesIndices()}function I(t){return ou(t,i)}}function jq(t){var e={};return Object(s["k"])(t.dimensions,(function(i){var n=t.getDimensionInfo(i);if(!n.isExtraCoord){var r=n.coordDim,o=e[r]=e[r]||[];o[n.coordDimIndex]=t.getDimensionIndex(i)}})),e}function Rq(t,e,i,n,r,o,a){if(n){var s=Bq(t,e,i,n,r,o);return s&&a.setItemGraphicEl(i,s),s&&Sl(s,n.focus,n.blurScope,n.emphasisDisabled),s}o.remove(e)}function Bq(t,e,i,n,r,o){var a=-1,l=e;e&&Fq(e,n,r)&&(a=Object(s["r"])(o.childrenRef(),e),e=null);var u=!e,c=e;c?c.clearStates():(c=Aq(n),l&&Mq(l,c)),!1===n.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),wq.normal.cfg=wq.normal.conOpt=wq.emphasis.cfg=wq.emphasis.conOpt=wq.blur.cfg=wq.blur.conOpt=wq.select.cfg=wq.select.conOpt=null,wq.isLegacy=!1,zq(c,i,n,r,u,wq),Nq(c,i,n,r,u),Iq(t,c,i,n,wq,r,u),Object(s["q"])(n,"info")&&(kV(c).info=n.info);for(var h=0;h<vq.length;h++){var d=vq[h];if(d!==fq){var p=qq(n,d),f=$q(n,p,d);Pq(d,c,p,f,wq)}}return Eq(c,n,r),"group"===n.type&&Hq(t,c,i,n,r),a>=0?o.replaceAt(c,a):o.add(c),c}function Fq(t,e,i){var n=kV(t),r=e.type,o=e.shape,a=e.style;return i.isUniversalTransitionEnabled()||null!=r&&r!==n.customGraphicType||"path"===r&&Kq(o)&&Xq(o)!==n.customPathData||"image"===r&&Object(s["q"])(a,"image")&&a.image!==n.customImagePath}function Nq(t,e,i,n,r){var o=i.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&Fq(a,o,n)&&(a=null),a||(a=Aq(o),t.setClipPath(a)),Iq(null,a,e,o,null,n,r)}}function zq(t,e,i,n,r,o){if(!t.isGroup){Vq(i,null,o),Vq(i,pq,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=Aq(a),t.setTextContent(c)),Iq(null,c,e,a,null,n,r);for(var h=a&&a.style,d=0;d<vq.length;d++){var p=vq[d];if(p!==fq){var f=o[p].conOpt;Pq(p,c,f,$q(a,f,p),null)}}h?c.dirty():c.markRedraw()}}}}function Vq(t,e,i){var n=e?qq(t,e):t,r=e?$q(t,n,pq):t.style,o=t.type,a=n?n.textConfig:null,s=t.textContent,l=s?e?qq(s,e):s:null;if(r&&(i.isLegacy||BV(r,o,!!a,!!l))){i.isLegacy=!0;var u=FV(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?i[e]:i.normal;h.cfg=a,h.conOpt=l}function qq(t,e){return e?t?t[e]:null:t}function $q(t,e,i){var n=e&&e.style;return null==n&&i===pq&&t&&(n=t.styleEmphasis),n}function Hq(t,e,i,n,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)Gq({api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:i,seriesModel:r,group:e});else{u&&e.removeAll();for(var c=0;c<a;c++)o[c]&&Bq(t,e.childAt(c),i,o[c],r,e);for(var h=e.childCount()-1;h>=c;h--){var d=e.childAt(h);XV(d,kV(e).option,r)}}}function Gq(t){new yw(t.oldChildren,t.newChildren,Wq,Wq,t).add(Uq).update(Uq).remove(Yq).execute()}function Wq(t,e){var i=t&&t.name;return null!=i?i:xq+e}function Uq(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null,r=null!=e?i.oldChildren[e]:null;Bq(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function Yq(t){var e=this.context,i=e.oldChildren[t];XV(i,kV(i).option,e.seriesModel)}function Xq(t){return t&&(t.pathData||t.d)}function Kq(t){return t&&(Object(s["q"])(t,"pathData")||Object(s["q"])(t,"d"))}function Zq(t){t.registerChartView(Tq),t.registerSeriesModel(OV)}var Qq=kr(),Jq=s["d"],t$=s["c"],e$=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,i,n){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,n||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,l=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(l&&l.hide());a&&a.show(),l&&l.show();var u={};this.makeElOption(u,r,t,e,i);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=s["h"](i$,e,h);this.updatePointerEl(a,u,d),this.updateLabelEl(a,u,d,e)}else a=this._group=new bn,this.createPointerEl(a,u,t,e),this.createLabelEl(a,u,t,e),i.getZr().add(a);a$(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var i=e.get("animation"),n=t.axis,r="category"===n.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(r&&n.getBandWidth()>a)return!0;if(o){var s=HT(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===i},t.prototype.makeElOption=function(t,e,i,n,r){},t.prototype.createPointerEl=function(t,e,i,r){var o=e.pointer;if(o){var a=Qq(t).pointerEl=new n[o.type](Jq(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,i,n){if(e.label){var r=Qq(t).labelEl=new ys(Jq(e.label));t.add(r),r$(r,n)}},t.prototype.updatePointerEl=function(t,e,i){var n=Qq(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,i,n){var r=Qq(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{x:e.label.x,y:e.label.y}),r$(r,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,n=this._api.getZr(),r=this._handle,o=i.getModel("handle"),a=i.get("status");if(!o.get("show")||!a||"hide"===a)return r&&n.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Tm(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){tt(t.event)},onmousedown:t$(this._onHandleDragMove,this,0,0),drift:t$(this._onHandleDragMove,this),ondragend:t$(this._onHandleDragEnd,this)}),n.add(r)),a$(r,i,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=o.get("size");s["t"](l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,Xm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){i$(this._axisPointerModel,!e&&this._moveAnimation,this._handle,o$(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(o$(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(o$(n)),Qq(i).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Km(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}},t}();function i$(t,e,i,n){n$(Qq(i).lastProp,n)||(Qq(i).lastProp=n,e?Fl(i,n,t):(i.stopAnimation(),i.attr(n)))}function n$(t,e){if(s["A"](t)&&s["A"](e)){var i=!0;return s["k"](e,(function(e,n){i=i&&n$(t[n],e)})),!!i}return t===e}function r$(t,e){t[e.get(["label","show"])?"show":"hide"]()}function o$(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function a$(t,e,i){var n=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),t.silent=i)}))}var s$=e$;function l$(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle(),e.fill=null):"shadow"===i&&(e=n.getAreaStyle(),e.stroke=null),e}function u$(t,e,i,n,r){var o=i.get("value"),a=h$(o,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get(["label","precision"]),formatter:i.get(["label","formatter"])}),s=i.getModel("label"),l=bc(s.get("padding")||0),u=s.getFont(),c=Zi(a,u),h=r.position,d=c.width+l[1]+l[3],p=c.height+l[0]+l[2],f=r.align;"right"===f&&(h[0]-=d),"center"===f&&(h[0]-=d/2);var g=r.verticalAlign;"bottom"===g&&(h[1]-=p),"middle"===g&&(h[1]-=p/2),c$(h,d,p,n);var m=s.get("backgroundColor");m&&"auto"!==m||(m=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:Zl(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:m}),z2:10}}function c$(t,e,i,n){var r=n.getWidth(),o=n.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+i,o)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function h$(t,e,i,n,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var l={value:EO(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};s["k"](n,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&l.seriesData.push(r)})),s["C"](a)?o=a.replace("{value}",o):s["w"](a)&&(o=a(l))}return o}function d$(t,e,i){var n=fi();return bi(n,n,i.rotation),yi(n,n,i.position),xm([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function p$(t,e,i,n,r,o){var a=RT.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=r.get(["label","margin"]),u$(e,n,r,o,{position:d$(n.axis,t,i),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function f$(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function g$(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function m$(t,e,i,n,r,o){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:o,clockwise:!0}}var v$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis,a=o.grid,s=n.get("type"),l=y$(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=l$(n),h=b$[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=pT(a.model,i);p$(e,t,d,i,n,r)},e.prototype.getHandleTransform=function(t,e,i){var n=pT(e.axis.grid.model,e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=d$(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,n){var r=i.axis,o=r.grid,a=r.getGlobalExtent(!0),s=y$(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:d[l]}},e}(s$);function y$(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var b$={line:function(t,e,i){var n=f$([e,i[0]],[e,i[1]],_$(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:g$([e-n/2,i[0]],[n,r],_$(t))}}};function _$(t){return"x"===t.dim?0:1}var x$=v$,w$=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Uc),S$=w$,C$=kr(),k$=s["k"];function M$(t,e,i){if(!a["a"].node){var n=e.getZr();C$(n).records||(C$(n).records={}),O$(n,e);var r=C$(n).records[t]||(C$(n).records[t]={});r.handler=i}}function O$(t,e){function i(i,n){t.on(i,(function(i){var r=P$(e);k$(C$(t).records,(function(t){t&&n(t,i,r.dispatchAction)})),T$(r.pendings,e)}))}C$(t).initialized||(C$(t).initialized=!0,i("click",s["h"](I$,"click")),i("mousemove",s["h"](I$,"mousemove")),i("globalout",A$))}function T$(t,e){var i,n=t.showTip.length,r=t.hideTip.length;n?i=t.showTip[n-1]:r&&(i=t.hideTip[r-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function A$(t,e,i){t.handler("leave",null,i)}function I$(t,e,i,n){e.handler(t,i,n)}function P$(t){var e={showTip:[],hideTip:[]},i=function(n){var r=e[n.type];r?r.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function E$(t,e){if(!a["a"].node){var i=e.getZr(),n=(C$(i).records||{})[t];n&&(C$(i).records[t]=null)}}var D$=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=e.getComponent("tooltip"),r=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";M$("axisPointer",i,(function(t,e,i){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){E$("axisPointer",e)},e.prototype.dispose=function(t,e){E$("axisPointer",e)},e.type="axisPointer",e}(Sf),L$=D$;function j$(t,e){var i,n=[],r=t.seriesIndex;if(null==r||!(i=e.getSeriesByIndex(r)))return{point:[]};var o=i.getData(),a=Cr(o,t);if(null==a||a<0||s["t"](a))return{point:[]};var l=o.getItemGraphicEl(a),u=i.coordinateSystem;if(i.getTooltipPosition)n=i.getTooltipPosition(a)||[];else if(u&&u.dataToPoint)if(t.isStacked){var c=u.getBaseAxis(),h=u.getOtherAxis(c),d=h.dim,p=c.dim,f="x"===d||"radius"===d?1:0,g=o.mapDimension(p),m=[];m[f]=o.get(g,a),m[1-f]=o.get(o.getCalculationInfo("stackResultDimension"),a),n=u.dataToPoint(m)||[]}else n=u.dataToPoint(o.getValues(s["H"](u.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(l){var v=l.getBoundingRect().clone();v.applyTransform(l.transform),n=[v.x+v.width/2,v.y+v.height/2]}return{point:n,el:l}}var R$=kr();function B$(t,e,i){var n=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||Object(s["c"])(i.dispatchAction,i),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){U$(r)&&(r=j$({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var u=U$(r),c=o.axesInfo,h=l.axesInfo,d="leave"===n||U$(r),p={},f={},g={list:[],map:{}},m={showPointer:Object(s["h"])(z$,f),showTooltip:Object(s["h"])(V$,g)};Object(s["k"])(l.coordSysMap,(function(t,e){var i=u||t.containPoint(r);Object(s["k"])(l.coordSysAxesInfo[e],(function(t,e){var n=t.axis,o=G$(c,t);if(!d&&i&&(!c||o)){var a=o&&o.value;null!=a||u||(a=n.pointToData(r)),null!=a&&F$(t,a,m,!1,p)}}))}));var v={};return Object(s["k"])(h,(function(t,e){var i=t.linkGroup;i&&!f[e]&&Object(s["k"])(i.axesInfo,(function(e,n){var r=f[n];if(e!==t&&r){var o=r.value;i.mapper&&(o=t.axis.scale.parse(i.mapper(o,W$(e),W$(t)))),v[t.key]=o}}))})),Object(s["k"])(v,(function(t,e){F$(h[e],t,m,!0,p)})),q$(f,h,p),$$(g,r,t,a),H$(h,a,i),p}}function F$(t,e,i,n,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=N$(e,t),l=a.payloadBatch,u=a.snapToValue;l[0]&&null==r.seriesIndex&&Object(s["m"])(r,l[0]),!n&&t.snap&&o.containData(u)&&null!=u&&(e=u),i.showPointer(t,e,l),i.showTooltip(t,a,u)}else i.showPointer(t,e)}function N$(t,e){var i=e.axis,n=i.dim,r=t,o=[],a=Number.MAX_VALUE,l=-1;return Object(s["k"])(e.seriesModels,(function(e,u){var c,h,d=e.getData().mapDimensionsAll(n);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,i);h=p.dataIndices,c=p.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===i.type?.5:null),!h.length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var f=t-c,g=Math.abs(f);g<=a&&((g<a||f>=0&&l<0)&&(a=g,l=f,r=c,o.length=0),Object(s["k"])(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function z$(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function V$(t,e,i,n){var r=i.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=UT(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function q$(t,e,i){var n=i.axesInfo=[];Object(s["k"])(e,(function(e,i){var r=e.axisPointerModel.option,o=t[i];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function $$(t,e,i,n){if(!U$(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function H$(t,e,i){var n=i.getZr(),r="axisPointerLastHighlights",o=R$(n)[r]||{},a=R$(n)[r]={};Object(s["k"])(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&Object(s["k"])(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var l=[],u=[];Object(s["k"])(o,(function(t,e){!a[e]&&u.push(t)})),Object(s["k"])(a,(function(t,e){!o[e]&&l.push(t)})),u.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function G$(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function W$(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function U$(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Y$(t){KT.registerAxisPointerClass("CartesianAxisPointer",x$),t.registerComponentModel(S$),t.registerComponentView(L$),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(s["t"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=BT(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},B$)}function X$(t){A_(lA),A_(Y$)}var K$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(e),c=n.get("type");if(c&&"none"!==c){var h=l$(n),d=Q$[c](o,a,u,l);d.style=h,t.graphicKey=d.type,t.pointer=d}var p=n.get(["label","margin"]),f=Z$(e,i,n,a,p);u$(t,i,n,r,f)},e}(s$);function Z$(t,e,i,n,r){var o=e.axis,a=o.dataToCoord(t),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=n.getRadiusAxis().getExtent();if("radius"===o.dim){var d=fi();bi(d,d,s),yi(d,d,[n.cx,n.cy]),l=xm([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=RT.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=n.coordToPoint([g+r,a]);var m=n.cx,v=n.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var Q$={line:function(t,e,i,n){return"angle"===t.dim?{type:"Line",shape:f$(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:m$(e.cx,e.cy,n[0],n[1],(-i-r/2)*o,(r/2-i)*o)}:{type:"Sector",shape:m$(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}},J$=K$,tH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.findAxisModel=function(t){var e,i=this.ecModel;return i.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Uc),eH=tH,iH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ar).models[0]},e.type="polarAxis",e}(Uc);s["K"](iH,xM);var nH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="angleAxis",e}(iH),rH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="radiusAxis",e}(iH),oH=function(t){function e(e,i){return t.call(this,"radius",e,i)||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(cT);oH.prototype.dataToRadius=cT.prototype.dataToCoord,oH.prototype.radiusToData=cT.prototype.coordToData;var aH=oH,sH=kr(),lH=function(t){function e(e,i){return t.call(this,"angle",e,i||[0,360])||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),i=t.scale,n=i.getExtent(),r=i.count();if(n[1]-n[0]<1)return 0;var o=n[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Zi(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var h=Math.max(0,Math.floor(c)),d=sH(t.model),p=d.lastAutoInterval,f=d.lastTickCount;return null!=p&&null!=f&&Math.abs(p-h)<=1&&Math.abs(f-r)<=1&&p>h?h=p:(d.lastTickCount=r,d.lastAutoInterval=h),h},e}(cT);lH.prototype.dataToAngle=cT.prototype.dataToCoord,lH.prototype.angleToData=cT.prototype.coordToData;var uH=lH,cH=["radius","angle"],hH=function(){function t(t){this.dimensions=cH,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new aH,this._angleAxis=new uH,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),r=n.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);n.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;var l=Math.atan2(-i,e)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],i=t[1]/180*Math.PI,n=Math.cos(i)*e+this.cx,r=-Math.sin(i)*e+this.cy;return[n,r]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),i=e.getExtent().slice();i[0]>i[1]&&i.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,r=i*i+n*n-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,i){var n=dH(e);return n===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){var n=dH(e);return n===this?this.pointToData(i):null},t}();function dH(t){var e=t.seriesModel,i=t.polarModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}var pH=hH;function fH(t,e,i){var n=e.get("center"),r=i.getWidth(),o=i.getHeight();t.cx=Pn(n[0],r),t.cy=Pn(n[1],o);var a=t.getRadiusAxis(),l=Math.min(r,o)/2,u=e.get("radius");null==u?u=[0,"100%"]:s["t"](u)||(u=[0,u]);var c=[Pn(u[0],l),Pn(u[1],l)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}function gH(t,e){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===i){var e=t.getData();s["k"](BO(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),s["k"](BO(e,"angle"),(function(t){n.scale.unionExtentFromData(e,t)}))}})),TO(n.scale,n.model),TO(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),a=360/n.scale.count();n.inverse?o[1]+=a:o[1]-=a,n.setExtent(o[0],o[1])}}function mH(t){return"angleAxis"===t.mainType}function vH(t,e){if(t.type=e.get("type"),t.scale=AO(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),mH(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}var yH={dimensions:cH,create:function(t,e){var i=[];return t.eachComponent("polar",(function(t,n){var r=new pH(n+"");r.update=gH;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");vH(o,s),vH(a,l),fH(r,t,e),i.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Ar).models[0];0,t.coordinateSystem=e.coordinateSystem}})),i}},bH=yH,_H=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function xH(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),r=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:r[0],y2:r[1]}}function wH(t){var e=t.getRadiusAxis();return e.inverse?0:1}function SH(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var CH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="PolarAxisPointer",i}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,n=i.polar,r=n.getRadiusAxis().getExtent(),o=i.getTicksCoords(),a=i.getMinorTicksCoords(),l=s["H"](i.getViewLabels(),(function(t){t=s["d"](t);var e=i.scale,n="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=i.dataToCoord(n),t}));SH(l),SH(o),s["k"](_H,(function(e){!t.get([e,"show"])||i.scale.isBlank()&&"axisLine"!==e||kH[e](this.group,t,n,o,a,r,l)}),this)}},e.type="angleAxis",e}(KT),kH={axisLine:function(t,e,i,n,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=wH(i),u=l?0:1;a=0===o[u]?new Kf({shape:{cx:i.cx,cy:i.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new _g({shape:{cx:i.cx,cy:i.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,t.add(a)},axisTick:function(t,e,i,n,r,o){var a=e.getModel("axisTick"),l=(a.get("inside")?-1:1)*a.get("length"),u=o[wH(i)],c=s["H"](n,(function(t){return new Eg({shape:xH(i,[u,u+l],t.coord)})}));t.add(gm(c,{style:s["i"](a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,i,n,r,o){if(r.length){for(var a=e.getModel("axisTick"),l=e.getModel("minorTick"),u=(a.get("inside")?-1:1)*l.get("length"),c=o[wH(i)],h=[],d=0;d<r.length;d++)for(var p=0;p<r[d].length;p++)h.push(new Eg({shape:xH(i,[c,c+u],r[d][p].coord)}));t.add(gm(h,{style:s["i"](l.getModel("lineStyle").getLineStyle(),s["i"](a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,i,n,r,o,a){var l=e.getCategories(!0),u=e.getModel("axisLabel"),c=u.get("margin"),h=e.get("triggerEvent");s["k"](a,(function(n,r){var a=u,d=n.tickValue,p=o[wH(i)],f=i.coordToPoint([p+c,n.coord]),g=i.cx,m=i.cy,v=Math.abs(f[0]-g)/p<.3?"center":f[0]>g?"left":"right",y=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";if(l&&l[d]){var b=l[d];s["A"](b)&&b.textStyle&&(a=new xu(b.textStyle,u,u.ecModel))}var _=new ys({silent:RT.isLabelSilent(e),style:Zl(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:n.formattedLabel,align:v,verticalAlign:y})});if(t.add(_),h){var x=RT.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=n.rawLabel,bs(_).eventData=x}}),this)},splitLine:function(t,e,i,n,r,o){var a=e.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<n.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new Eg({shape:xH(i,o,n[d].coord)}))}for(d=0;d<h.length;d++)t.add(gm(h[d],{style:s["i"]({stroke:u[d%u.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,i,n,r,o){if(r.length){for(var a=e.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],u=0;u<r.length;u++)for(var c=0;c<r[u].length;c++)l.push(new Eg({shape:xH(i,o,r[u][c].coord)}));t.add(gm(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,i,n,r,o){if(n.length){var a=e.getModel("splitArea"),l=a.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=Math.PI/180,p=-n[0].coord*d,f=Math.min(o[0],o[1]),g=Math.max(o[0],o[1]),m=e.get("clockwise"),v=1,y=n.length;v<=y;v++){var b=v===y?n[0].coord:n[v].coord,_=c++%u.length;h[_]=h[_]||[],h[_].push(new vg({shape:{cx:i.cx,cy:i.cy,r0:f,r:g,startAngle:p,endAngle:-b*d,clockwise:m},silent:!0})),p=-b*d}for(v=0;v<h.length;v++)t.add(gm(h[v],{style:s["i"]({fill:u[v%u.length]},l.getAreaStyle()),silent:!0}))}}},MH=CH,OH=["axisLine","axisTickLabel","axisName"],TH=["splitLine","splitArea","minorSplitLine"],AH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="PolarAxisPointer",i}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var i=this._axisGroup,n=this._axisGroup=new bn;this.group.add(n);var r=t.axis,o=r.polar,a=o.getAngleAxis(),l=r.getTicksCoords(),u=r.getMinorTicksCoords(),c=a.getExtent()[0],h=r.getExtent(),d=PH(o,t,c),p=new RT(t,d);s["k"](OH,p.add,p),n.add(p.getGroup()),km(i,n,t),s["k"](TH,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&IH[e](this.group,t,o,c,h,l,u)}),this)}},e.type="radiusAxis",e}(KT),IH={splitLine:function(t,e,i,n,r,o){var a=e.getModel("splitLine"),l=a.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=0;d<o.length;d++){var p=c++%u.length;h[p]=h[p]||[],h[p].push(new Kf({shape:{cx:i.cx,cy:i.cy,r:Math.max(o[d].coord,0)}}))}for(d=0;d<h.length;d++)t.add(gm(h[d],{style:s["i"]({stroke:u[d%u.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,i,n,r,o,a){if(a.length){for(var l=e.getModel("minorSplitLine"),u=l.getModel("lineStyle"),c=[],h=0;h<a.length;h++)for(var d=0;d<a[h].length;d++)c.push(new Kf({shape:{cx:i.cx,cy:i.cy,r:a[h][d].coord}}));t.add(gm(c,{style:s["i"]({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(t,e,i,n,r,o){if(o.length){var a=e.getModel("splitArea"),l=a.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var h=[],d=o[0].coord,p=1;p<o.length;p++){var f=c++%u.length;h[f]=h[f]||[],h[f].push(new vg({shape:{cx:i.cx,cy:i.cy,r0:d,r:o[p].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[p].coord}for(p=0;p<h.length;p++)t.add(gm(h[p],{style:s["i"]({fill:u[p%u.length]},l.getAreaStyle()),silent:!0}))}}};function PH(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}var EH=AH;function DH(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function LH(t,e){return e.dim+t.model.componentIndex}function jH(t,e,i){var n={},r=RH(s["n"](e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,o=i.getBaseAxis(),a=LH(i,o),s=DH(t),l=r[a][s],u=l.offset,c=l.width,h=i.getOtherAxis(o),d=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;n[s]=n[s]||[];for(var m=e.mapDimension(h.dim),v=e.mapDimension(o.dim),y=oS(e,m),b="radius"!==o.dim||!t.get("roundCap",!0),_=h.dataToCoord(0),x=0,w=e.count();x<w;x++){var S=e.get(m,x),C=e.get(v,x),k=S>=0?"p":"n",M=_;y&&(n[s][C]||(n[s][C]={p:_,n:_}),M=n[s][C][k]);var O=void 0,T=void 0,A=void 0,I=void 0;if("radius"===h.dim){var P=h.dataToCoord(S)-_,E=o.dataToCoord(C);Math.abs(P)<f&&(P=(P<0?-1:1)*f),O=M,T=M+P,A=E-u,I=A-c,y&&(n[s][C][k]=T)}else{var D=h.dataToCoord(S,b)-_,L=o.dataToCoord(C);Math.abs(D)<g&&(D=(D<0?-1:1)*g),O=L+u,T=O+c,A=M,I=M+D,y&&(n[s][C][k]=I)}e.setItemLayout(x,{cx:d,cy:p,r0:O,r:T,startAngle:-A*Math.PI/180,endAngle:-I*Math.PI/180,clockwise:A>=I})}}}))}function RH(t){var e={};s["k"](t,(function(t,i){var n=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=LH(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/n.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var h=DH(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=Pn(t.get("barWidth"),l),p=Pn(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),p&&(c[h].maxWidth=p),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var i={};return s["k"](e,(function(t,e){i[e]={};var n=t.stacks,r=t.bandWidth,o=Pn(t.categoryGap,r),a=Pn(t.gap,1),l=t.remainedWidth,u=t.autoWidthCount,c=(l-o)/(u+(u-1)*a);c=Math.max(c,0),s["k"](n,(function(t,e){var i=t.maxWidth;i&&i<c&&(i=Math.min(i,l),t.width&&(i=Math.min(i,t.width)),l-=i,t.width=i,u--)})),c=(l-o)/(u+(u-1)*a),c=Math.max(c,0);var h,d=0;s["k"](n,(function(t,e){t.width||(t.width=c),h=t,d+=t.width*(1+a)})),h&&(d-=h.width*a);var p=-d/2;s["k"](n,(function(t,n){i[e][n]=i[e][n]||{offset:p,width:t.width},p+=t.width*(1+a)}))})),i}var BH=jH,FH={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},NH={splitNumber:5},zH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="polar",e}(Sf);function VH(t){A_(Y$),KT.registerAxisPointerClass("PolarAxisPointer",J$),t.registerCoordinateSystem("polar",bH),t.registerComponentModel(eH),t.registerComponentView(zH),LM(t,"angle",nH,FH),LM(t,"radius",rH,NH),t.registerComponentView(MH),t.registerComponentView(EH),t.registerLayout(Object(s["h"])(BH,"bar"))}function qH(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,r={},o=n.position,a=n.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};r.position=["vertical"===a?c.vertical[o]:u[0],"horizontal"===a?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[a];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),s["O"](e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var p=e.rotate;return null==p&&(p=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-p:p,r.z2=1,r}var $H=["axisLine","axisTickLabel","axisName"],HH=["splitArea","splitLine"],GH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="SingleAxisPointer",i}return o(e,t),e.prototype.render=function(e,i,n,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new bn;var l=qH(e),u=new RT(e,l);s["k"]($H,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),s["k"](HH,(function(t){e.get([t,"show"])&&WH[t](this,this.group,this._axisGroup,e)}),this),km(a,this._axisGroup,e),t.prototype.render.call(this,e,i,n,r)},e.prototype.remove=function(){JT(this)},e.type="singleAxis",e}(KT),WH={splitLine:function(t,e,i,n){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),l=a.get("color");l=l instanceof Array?l:[l];for(var u=n.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],m=0;m<p.length;++m){var v=r.toGlobalCoord(p[m].coord);c?(f[0]=v,f[1]=u.y,g[0]=v,g[1]=u.y+u.height):(f[0]=u.x,f[1]=v,g[0]=u.x+u.width,g[1]=v);var y=d++%l.length;h[y]=h[y]||[],h[y].push(new Eg({subPixelOptimize:!0,shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},silent:!0}))}var b=a.getLineStyle(["color"]);for(m=0;m<h.length;++m)e.add(gm(h[m],{style:s["i"]({stroke:l[m%l.length]},b),silent:!0}))}},splitArea:function(t,e,i,n){QT(t,i,n,n)}},UH=GH,YH=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Uc);Object(s["K"])(YH,xM.prototype);var XH=YH,KH=function(t){function e(e,i,n,r,o){var a=t.call(this,e,i,n)||this;return a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(cT),ZH=KH,QH=["single"],JH=function(){function t(t,e,i){this.type="single",this.dimension="single",this.dimensions=QH,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,i)}return t.prototype._init=function(t,e,i){var n=this.dimension,r=new ZH(n,AO(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();Object(s["k"])(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),TO(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Bc({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(n[r],n[1-r]),this._updateAxisTransform(e,i?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var i=t.getExtent(),n=i[0]+i[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return n-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),i=this.getRect(),n=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[r]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-r]=0===r?i.y+i.height/2:i.x+i.width/2,n},t.prototype.convertToPixel=function(t,e,i){var n=tG(e);return n===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){var n=tG(e);return n===this?this.pointToData(i):null},t}();function tG(t){var e=t.seriesModel,i=t.singleAxisModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}var eG=JH;function iG(t,e){var i=[];return t.eachComponent("singleAxis",(function(n,r){var o=new eG(n,t,e);o.name="single_"+r,o.resize(n,e),n.coordinateSystem=o,i.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Ar).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),i}var nG={create:iG,dimensions:QH},rG=nG,oG=["x","y"],aG=["width","height"],sG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,i,n,r){var o=i.axis,a=o.coordinateSystem,s=cG(a,1-uG(o)),l=a.dataToPoint(e)[0],u=n.get("type");if(u&&"none"!==u){var c=l$(n),h=lG[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=qH(i);p$(e,t,d,i,n,r)},e.prototype.getHandleTransform=function(t,e,i){var n=qH(e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=d$(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,n){var r=i.axis,o=r.coordinateSystem,a=uG(r),s=cG(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=cG(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(s$),lG={line:function(t,e,i){var n=f$([e,i[0]],[e,i[1]],uG(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,i){var n=t.getBandWidth(),r=i[1]-i[0];return{type:"Rect",shape:g$([e-n/2,i[0]],[n,r],uG(t))}}};function uG(t){return t.isHorizontal()?0:1}function cG(t,e){var i=t.getRect();return[i[oG[e]],i[oG[e]]+i[aG[e]]]}var hG=sG,dG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="single",e}(Sf);function pG(t){A_(Y$),KT.registerAxisPointerClass("SingleAxisPointer",hG),t.registerComponentView(dG),t.registerComponentView(UH),t.registerComponentModel(XH),LM(t,"single",XH,XH.defaultOption),t.registerCoordinateSystem("single",rG)}var fG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(e,i,n){var r=qc(e);t.prototype.init.apply(this,arguments),gG(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),gG(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Uc);function gG(t,e){var i,n=t.cellSize;i=s["t"](n)?n:t.cellSize=[n,n],1===i.length&&(i[1]=i[0]);var r=s["H"]([0,1],(function(t){return Nc(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));Vc(t,e,{type:"box",ignoreSize:r})}var mG=fG,vG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){var n=this.group;n.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,n),this._renderLines(t,o,a,n),this._renderYearText(t,o,a,n),this._renderMonthText(t,s,a,n),this._renderWeekText(t,s,o,a,n)},e.prototype._renderDayRect=function(t,e,i){for(var n=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=n.getCellWidth(),a=n.getCellHeight(),s=e.start.time;s<=e.end.time;s=n.getNextNDay(s,1).time){var l=n.dataToRect([s],!1).tl,u=new ts({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});i.add(u)}},e.prototype._renderLines=function(t,e,i,n){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,i);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,n)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,i),a,n),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,i),a,n)},e.prototype._getEdgesPoints=function(t,e,i){var n=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===i?0:1;return n[0][r]=n[0][r]-e/2,n[1][r]=n[1][r]+e/2,n},e.prototype._drawSplitline=function(t,e,i){var n=new Tg({z2:20,shape:{points:t},style:e});i.add(n)},e.prototype._getLinePointsOfOneWeek=function(t,e,i){for(var n=t.coordinateSystem,r=n.getDateInfo(e),o=[],a=0;a<7;a++){var s=n.getNextNDay(r.time,a),l=n.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===i?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Object(s["C"])(t)&&t?Oc(t,e):Object(s["w"])(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,i,n,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===n?(a+=r,s=["center","top"]):"left"===n?o-=r:"right"===n?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==n&&"right"!==n||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,i,n){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==i?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===i?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),m=new ys({z2:30,style:Zl(r,{text:g})});m.attr(this._yearTextPositionControl(m,h[a],i,a,o)),n.add(m)}},e.prototype._monthTextPositionControl=function(t,e,i,n,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===i?(l+=r,e&&(o="center"),"start"===n&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===n&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,i,n){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),l=r.get("position"),u=r.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(s["C"])(o)||(o&&(e=Bu(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===l?0:1,d="horizontal"===i?0:1;a="start"===l?-a:a;for(var p="center"===u,f=0;f<c[h].length-1;f++){var g=c[h][f].slice(),m=this._firstDayOfMonth[f];if(p){var v=this._firstDayPoints[f];g[d]=(v[d]+c[0][f+1][d])/2}var y=r.get("formatter"),b=o[+m.m-1],_={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:b},x=this._formatterLabel(y,_),w=new ys({z2:30,style:Object(s["m"])(Zl(r,{text:x}),this._monthTextPositionControl(g,p,i,l,a))});n.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,i,n,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===i;return"horizontal"===e?(s=s+n+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+n+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,i,n,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,l=o.get("position"),u=o.get("nameMap"),c=o.get("margin"),h=a.getFirstDayOfWeek();if(!u||Object(s["C"])(u)){u&&(e=Bu(u)||e);var d=e.get(["time","dayOfWeekShort"]);u=d||Object(s["H"])(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}))}var p=a.getNextNDay(i.end.time,7-i.lweek).time,f=[a.getCellWidth(),a.getCellHeight()];c=Pn(c,Math.min(f[1],f[0])),"start"===l&&(p=a.getNextNDay(i.start.time,-(7+i.fweek)).time,c=-c);for(var g=0;g<7;g++){var m=a.getNextNDay(p,g),v=a.dataToRect([m.time],!1).center,y=g;y=Math.abs((g+h)%7);var b=new ys({z2:30,style:Object(s["m"])(Zl(o,{text:u[y]}),this._weekTextPositionControl(v,n,l,c,f))});r.add(b)}}},e.type="calendar",e}(Sf),yG=vG,bG=864e5,_G=function(){function t(e,i,n){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){t=$n(t);var e=t.getFullYear(),i=t.getMonth()+1,n=i<10?"0"+i:""+i,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return a=Math.abs((a+7-this.getFirstDayOfWeek())%7),{y:e+"",m:n,d:o,day:a,time:t.getTime(),formatedDate:e+"-"+n+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,n=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[i,7]:[7,i];s["k"]([0,1],(function(t){c(r,t)&&(o[n[t]]=r[t]*a[t])}));var l={width:e.getWidth(),height:e.getHeight()},u=this._rect=Bc(o,l);function c(t,e){return null!=t[e]&&"auto"!==t[e]}s["k"]([0,1],(function(t){c(r,t)||(r[t]=u[n[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){s["t"](t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),n=this._rangeInfo,r=i.formatedDate;if(e&&!(i.time>=n.start.time&&i.time<n.end.time+bG))return[NaN,NaN];var o=i.day,a=this._getRangeInfo([n.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},t.prototype.convertToPixel=function(t,e,i){var n=xG(e);return n===this?n.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){var n=xG(e);return n===this?n.pointToData(i):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(s["t"](e)&&1===e.length&&(e=e[0]),s["t"](e))t=e;else{var i=e.toString();if(/^\d{4}$/.test(i)&&(t=[i+"-01-01",i+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(i)){var n=this.getDateInfo(i),r=n.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(i)&&(t=[i,i])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,i=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];i[0].time>i[1].time&&(e=!0,i.reverse());var n=Math.floor(i[1].time/bG)-Math.floor(i[0].time/bG)+1,r=new Date(i[0].time),o=r.getDate(),a=i[1].date.getDate();r.setDate(o+n-1);var s=r.getDate();if(s!==a){var l=r.getTime()-i[1].time>0?1:-1;while((s=r.getDate())!==a&&(r.getTime()-i[1].time)*l>0)n-=l,r.setDate(s-l)}var u=Math.floor((n+i[0].day+6)/7),c=e?1-u:u-1;return e&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:n,weeks:u,nthWeek:c,fweek:i[0].day,lweek:i[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)return null;var r=7*(t-1)-n.fweek+e,o=new Date(n.start.time);return o.setDate(+n.start.d+r),this.getDateInfo(o)},t.create=function(e,i){var n=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,i);n.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},t.dimensions=["time","value"],t}();function xG(t){var e=t.calendarModel,i=t.seriesModel,n=e?e.coordinateSystem:i?i.coordinateSystem:null;return n}var wG=_G;function SG(t){t.registerComponentModel(mG),t.registerComponentView(yG),t.registerCoordinateSystem("calendar",wG)}function CG(t,e){var i=t.existing;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function kG(t,e){var i;return s["k"](e,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function MG(t,e,i){var n=s["m"]({},i),r=t[e],o=i.$action||"merge";"merge"===o?r?(s["I"](r,n,!0),Vc(r,n,{ignoreSize:!0}),$c(i,r),AG(i,r),AG(i,r,"shape"),AG(i,r,"style"),AG(i,r,"extra"),i.clipPath=r.clipPath):t[e]=n:"replace"===o?t[e]=n:"remove"===o&&r&&(t[e]=null)}var OG=["transition","enterFrom","leaveTo"],TG=OG.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function AG(t,e,i){if(i&&(!t[i]&&e[i]&&(t[i]={}),t=t[i],e=e[i]),t&&e)for(var n=i?OG:TG,r=0;r<n.length;r++){var o=n[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}function IG(t,e){if(t&&(t.hv=e.hv=[kG(e,["left","right"]),kG(e,["top","bottom"])],"group"===t.type)){var i=t,n=e;null==i.width&&(i.width=n.width=0),null==i.height&&(i.height=n.height=0)}}var PG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.preventAutoZ=!0,i}return o(e,t),e.prototype.mergeOption=function(e,i){var n=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,i),this.option.elements=n},e.prototype.optionUpdated=function(t,e){var i=this.option,n=(e?i:t).elements,r=i.elements=e?[]:i.elements,o=[];this._flatten(n,o,null);var a=lr(r,o,"normalMerge"),l=this._elOptionsToUpdate=[];s["k"](a,(function(t,e){var i=t.newOption;i&&(l.push(i),CG(t,i),MG(r,e,i),IG(r[e],i))}),this),i.elements=s["n"](r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,i){s["k"](t,(function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;n&&n.length&&this._flatten(n,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Uc),EG={path:null,compoundPath:null,group:bn,image:Ga,text:ys},DG=kr(),LG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(){this._elMap=s["f"]()},e.prototype.render=function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,i)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var i=this._elMap,n=this.group,r=t.get("z"),o=t.get("zlevel");s["k"](e,(function(e){var a=vr(e.id,null),s=null!=a?i.get(a):null,l=vr(e.parentId,null),u=null!=l?i.get(l):n,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,p=e.textConfig;if(h&&BV(h,c,!!p,!!d)){var f=FV(h,c,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!d&&f.textContent&&(d=f.textContent)}var g=NG(e);var m=e.$action||"merge",v="merge"===m,y="replace"===m;if(v){var b=!s,_=s;b?_=RG(a,u,e.type,i):(_&&(DG(_).isNew=!1),hq(_)),_&&(UV(_,g,t,{isInit:b}),FG(_,e,r,o))}else if(y){BG(s,e,i,t);var x=RG(a,u,e.type,i);x&&(UV(x,g,t,{isInit:!0}),FG(x,e,r,o))}else"remove"===m&&(YV(s,e),BG(s,e,i,t));var w=i.get(a);if(w&&d)if(v){var S=w.getTextContent();S?S.attr(d):w.setTextContent(new ys(d))}else y&&w.setTextContent(new ys(d));if(w){var C=e.clipPath;if(C){var k=C.type,M=void 0;b=!1;if(v){var O=w.getClipPath();b=!O||DG(O).type!==k,M=b?jG(k):O}else y&&(b=!0,M=jG(k));w.setClipPath(M),UV(M,C,t,{isInit:b}),dq(M,C.keyframeAnimation,t)}var T=DG(w);w.setTextConfig(p),T.option=e,zG(w,t,e),Dm({el:w,componentModel:t,itemName:w.name,itemTooltipOption:e.tooltip}),dq(w,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var i=t.option.elements,n=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),l=["x","y"],u=0;u<i.length;u++){var c=i[u],h=vr(c.id,null),d=null!=h?r.get(h):null;if(d&&d.isGroup){var p=d.parent,f=p===n,g=DG(d),m=DG(p);g.width=Pn(g.option.width,f?o:m.width)||0,g.height=Pn(g.option.height,f?a:m.height)||0}}for(u=i.length-1;u>=0;u--){c=i[u],h=vr(c.id,null),d=null!=h?r.get(h):null;if(d){p=d.parent,m=DG(p);var v=p===n?{width:o,height:a}:{width:m.width,height:m.height},y={},b=Fc(d,c,v,null,{hv:c.hv,boundingMode:c.bounding},y);if(!DG(d).isNew&&b){for(var _=c.transition,x={},w=0;w<l.length;w++){var S=l[w],C=y[S];_&&(KV(_)||s["r"](_,S)>=0)?x[S]=C:d[S]=C}Fl(d,x,t,0)}else d.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(i){BG(i,DG(i).option,e,t._lastGraphicModel)})),this._elMap=s["f"]()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Sf);function jG(t){var e=s["q"](EG,t)?EG[t]:hm(t);var i=new e({});return DG(i).type=t,i}function RG(t,e,i,n){var r=jG(i);return e.add(r),n.set(t,r),DG(r).id=t,DG(r).isNew=!0,r}function BG(t,e,i,n){var r=t&&t.parent;r&&("group"===t.type&&t.traverse((function(t){BG(t,e,i,n)})),XV(t,e,n),i.removeKey(DG(t).id))}function FG(t,e,i,n){t.isGroup||s["k"]([["cursor",Io.prototype.cursor],["zlevel",n||0],["z",i||0],["z2",0]],(function(i){var n=i[0];s["q"](e,n)?t[n]=s["P"](e[n],i[1]):null==t[n]&&(t[n]=i[1])})),s["k"](s["F"](e),(function(i){if(0===i.indexOf("on")){var n=e[i];t[i]=s["w"](n)?n:null}})),s["q"](e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function NG(t){return t=s["m"]({},t),s["k"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Ec),(function(e){delete t[e]})),t}function zG(t,e,i){var n=bs(t).eventData;t.silent||t.ignore||n||(n=bs(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=i.info)}function VG(t){t.registerComponentModel(PG),t.registerComponentView(LG),t.registerPreprocessor((function(t){var e=t.graphic;Object(s["t"])(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var qG=["x","y","radius","angle","single"],$G=["cartesian2d","polar","singleAxis"];function HG(t){var e=t.get("coordinateSystem");return Object(s["r"])($G,e)>=0}function GG(t){return t+"Axis"}function WG(t,e){var i,n=Object(s["f"])(),r=[],o=Object(s["f"])();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||l(t)}));do{i=!1,t.eachComponent("dataZoom",a)}while(i);function a(t){!o.get(t.uid)&&u(t)&&(l(t),i=!0)}function l(t){o.set(t.uid,!0),r.push(t),c(t)}function u(t){var e=!1;return t.eachTargetAxis((function(t,i){var r=n.get(t);r&&r[i]&&(e=!0)})),e}function c(t){t.eachTargetAxis((function(t,e){(n.get(t)||n.set(t,[]))[e]=!0}))}return r}function UG(t){var e=t.ecModel,i={infoList:[],infoMap:Object(s["f"])()};return t.eachTargetAxis((function(t,n){var r=e.getComponent(GG(t),n);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=i.infoMap.get(a);s||(s={model:o,axisModels:[]},i.infoList.push(s),i.infoMap.set(a,s)),s.axisModels.push(r)}}})),i}var YG=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),XG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._autoThrottle=!0,i._noTarget=!0,i._rangePropMode=["percent","percent"],i}return o(e,t),e.prototype.init=function(t,e,i){var n=KG(t);this.settledOption=n,this.mergeDefaultAndTheme(t,i),this._doInit(n)},e.prototype.mergeOption=function(t){var e=KG(t);Object(s["I"])(this.option,t,!0),Object(s["I"])(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var i=this.settledOption;Object(s["k"])([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(s["f"])(),i=this._fillSpecifiedTargetAxis(e);i?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Object(s["k"])(qG,(function(i){var n=this.getReferringComponents(GG(i),Ir);if(n.specified){e=!0;var r=new YG;Object(s["k"])(n.models,(function(t){r.add(t.componentIndex)})),t.set(i,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var i=this.ecModel,n=!0;if(n){var r="vertical"===e?"y":"x",o=i.findComponents({mainType:r+"Axis"});a(o,r)}if(n){o=i.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});a(o,"single")}function a(e,i){var r=e[0];if(r){var o=new YG;if(o.add(r.componentIndex),t.set(i,o),n=!1,"x"===i||"y"===i){var a=r.getReferringComponents("grid",Ar).models[0];a&&Object(s["k"])(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Ar).models[0]&&o.add(t.componentIndex)}))}}}n&&Object(s["k"])(qG,(function(e){if(n){var r=i.findComponents({mainType:GG(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new YG;o.add(r[0].componentIndex),t.set(e,o),n=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,i=this.get("rangeMode");Object(s["k"])([["start","startValue"],["end","endValue"]],(function(n,r){var o=null!=t[n[0]],a=null!=t[n[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":i?e[r]=i[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,i){null==t&&(t=this.ecModel.getComponent(GG(e),i))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(i,n){Object(s["k"])(i.indexList,(function(i){t.call(e,n,i)}))}))},e.prototype.getAxisProxy=function(t,e){var i=this.getAxisModel(t,e);if(i)return i.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var i=this._targetAxisInfoMap.get(t);if(i&&i.indexMap[e])return this.ecModel.getComponent(GG(t),e)},e.prototype.setRawRange=function(t){var e=this.option,i=this.settledOption;Object(s["k"])([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(s["k"])(["start","startValue","end","endValue"],(function(i){e[i]=t[i]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,i=this._targetAxisInfoMap.keys(),n=0;n<i.length;n++)for(var r=i[n],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Uc);function KG(t){var e={};return Object(s["k"])(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}var ZG=XG,QG=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="dataZoom.select",e}(ZG),JG=QG,tW=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},e.type="dataZoom",e}(Sf),eW=tW,iW=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="dataZoom.select",e}(eW),nW=iW,rW=s["k"],oW=Dn,aW=function(){function t(t,e,i,n){this._dimName=t,this._axisIndex=e,this.ecModel=n,this._dataZoomModel=i}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(HG(e)){var i=GG(this._dimName),n=e.getReferringComponents(i,Ar).models[0];n&&this._axisIndex===n.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return s["d"](this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,i=this._dataExtent,n=this.getAxisModel(),r=n.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];rW(["start","end"],(function(n,u){var c=t[n],h=t[n+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),h=r.parse(In(c,a,i))):(e=!0,h=null==h?i[u]:r.parse(h),c=In(h,i,a)),l[u]=h,s[u]=c})),oW(l),oW(s);var u=this._minMaxSpan;function c(t,e,i,n,o){var a=o?"Span":"ValueSpan";AR(0,t,i,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)e[s]=In(t[s],i,n,!0),o&&(e[s]=r.parse(e[s]))}return e?c(l,s,i,a,!1):c(s,l,a,i,!0),{valueWindow:l,percentWindow:s}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=sW(this,this._dimName,e),this._updateMinMaxSpan();var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&rW(n,(function(t){var e=t.getData(),n=e.mapDimensionsAll(i);if(n.length){if("weakFilter"===r){var l=e.getStore(),u=s["H"](n,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,i,r,a=0;a<n.length;a++){var s=l.get(u[a],t),c=!isNaN(s),h=s<o[0],d=s>o[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(i=!0)}return r&&e&&i}))}else rW(n,(function(i){if("empty"===r)t.setData(e=e.map(i,(function(t){return a(t)?t:NaN})));else{var n={};n[i]=o,e.selectRange(n)}}));rW(n,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,i=this._dataExtent;rW(["min","max"],(function(n){var r=e.get(n+"Span"),o=e.get(n+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=In(i[0]+o,i,[0,100],!0):null!=r&&(o=In(r,[0,100],i,!0)-i[0]),t[n+"Span"]=r,t[n+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,i=this._valueWindow;if(e){var n=Rn(i,[0,500]);n=Math.min(n,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+i[0].toFixed(n)),100!==e[1]&&r.setDeterminedMinMax("max",+i[1].toFixed(n)),r.freeze()}},t}();function sW(t,e,i){var n=[1/0,-1/0];rW(i,(function(t){FO(n,t.getData(),e)}));var r=t.getAxisModel(),o=CO(r.axis.scale,r,n).calculate();return[o.min,o.max]}var lW=aW,uW={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(i){i.eachTargetAxis((function(n,r){var o=t.getComponent(GG(n),r);e(n,r,o,i)}))}))}e((function(t,e,i,n){i.__dzAxisProxy=null}));var i=[];e((function(e,n,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new lW(e,n,o,t),i.push(r.__dzAxisProxy))}));var n=Object(s["f"])();return Object(s["k"])(i,(function(t){Object(s["k"])(t.getTargetSeriesModels(),(function(t){n.set(t.uid,t)}))})),n},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,i){t.getAxisProxy(e,i).reset(t)})),t.eachTargetAxis((function(i,n){t.getAxisProxy(i,n).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}}))}},cW=uW;function hW(t){t.registerAction("dataZoom",(function(t,e){var i=WG(e,t);Object(s["k"])(i,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var dW=!1;function pW(t){dW||(dW=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,cW),hW(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function fW(t){t.registerComponentModel(JG),t.registerComponentView(nW),pW(t)}var gW=function(){function t(){}return t}(),mW={};function vW(t,e){mW[t]=e}function yW(t){return mW[t]}var bW=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;s["k"](this.option.feature,(function(t,i){var n=yW(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),s["I"](t,n.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Uc),_W=bW;function xW(t,e,i){var n=e.getBoxLayoutParams(),r=e.get("padding"),o={width:i.getWidth(),height:i.getHeight()},a=Bc(n,o,r);jc(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Fc(t,n,o,r)}function wW(t,e){var i=bc(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new ts({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1}),t}var SW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,i,n){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),l=t.get("feature")||{},u=this._features||(this._features={}),c=[];s["k"](l,(function(t,e){c.push(e)})),new yw(this._featureNames||[],c).add(h).update(h).remove(s["h"](h,null)).execute(),this._featureNames=c,xW(r,t,i),r.add(wW(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,n=t.ensureState("emphasis"),a=n.textConfig||(n.textConfig={}),l=t.getTextContent(),u=l&&l.ensureState("emphasis");if(u&&!s["w"](u)&&e){var c=u.style||(u.style={}),h=Zi(e,ys.makeFont(c)),d=t.x+r.x,p=t.y+r.y+o,f=!1;p+h.height>i.getHeight()&&(a.position="top",f=!0);var g=f?-5-h.height:o+10;d+h.width/2>i.getWidth()?(a.position=["100%",g],c.align="right"):d-h.width/2<0&&(a.position=[0,g],c.align="left")}}))}function h(r,o){var a,s=c[r],h=c[o],p=l[s],f=new xu(p,t,t.ecModel);if(n&&null!=n.newTitle&&n.featureName===s&&(p.title=n.newTitle),s&&!h){if(CW(s))a={onclick:f.option.onclick,featureName:s};else{var g=yW(s);if(!g)return;a=new g}u[s]=a}else if(a=u[h],!a)return;a.uid=Su("toolbox-feature"),a.model=f,a.ecModel=e,a.api=i;var m=a instanceof gW;s||!h?!f.get("show")||m&&a.unusable?m&&a.remove&&a.remove(e,i):(d(f,a,s),f.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&("emphasis"===e?rl:ol)(n[t])},a instanceof gW&&a.render&&a.render(f,e,i,n)):m&&a.dispose&&a.dispose(e,i)}function d(n,l,u){var c,h,d=n.getModel("iconStyle"),p=n.getModel(["emphasis","iconStyle"]),f=l instanceof gW&&l.getIcons?l.getIcons():n.get("icon"),g=n.get("title")||{};s["C"](f)?(c={},c[u]=f):c=f,s["C"](g)?(h={},h[u]=g):h=g;var m=n.iconPaths={};s["k"](c,(function(u,c){var f=Tm(u,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle());var g=f.ensureState("emphasis");g.style=p.getItemStyle();var v=new ys({style:{text:h[c],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});f.setTextContent(v),Dm({el:f,componentModel:t,itemName:c,formatterParamsExtra:{title:h[c]}}),f.__title=h[c],f.on("mouseover",(function(){var e=p.getItemStyle(),n=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";v.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),f.setTextConfig({position:p.get("textPosition")||n}),v.ignore=!t.get("showTitle"),i.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==n.get(["iconStatus",c])&&i.leaveEmphasis(this),v.hide()})),("emphasis"===n.get(["iconStatus",c])?rl:ol)(f),r.add(f),f.on("click",s["c"](l.onclick,l,e,i,c)),m[c]=f}))}},e.prototype.updateView=function(t,e,i,n){s["k"](this._features,(function(t){t instanceof gW&&t.updateView&&t.updateView(t.model,e,i,n)}))},e.prototype.remove=function(t,e){s["k"](this._features,(function(i){i instanceof gW&&i.remove&&i.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){s["k"](this._features,(function(i){i instanceof gW&&i.dispose&&i.dispose(t,e)}))},e.type="toolbox",e}(Sf);function CW(t){return 0===t.indexOf("my")}var kW=SW,MW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){var i=this.model,n=i.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",l=e.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),u=a["a"].browser;if(Object(s["w"])(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=n+"."+o,c.target="_blank",c.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||r){var d=l.split(","),p=d[0].indexOf("base64")>-1,f=r?decodeURIComponent(d[1]):d[1];p&&(f=window.atob(f));var g=n+"."+o;if(window.navigator.msSaveOrOpenBlob){var m=f.length,v=new Uint8Array(m);while(m--)v[m]=f.charCodeAt(m);var y=new Blob([v]);window.navigator.msSaveOrOpenBlob(y,g)}else{var b=document.createElement("iframe");document.body.appendChild(b);var _=b.contentWindow,x=_.document;x.open("image/svg+xml","replace"),x.write(f),x.close(),_.focus(),x.execCommand("SaveAs",!0,g),document.body.removeChild(b)}}else{var w=i.get("lang"),S='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(S),C.document.title=n}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(gW),OW=MW,TW="__ec_magicType_stack__",AW=[["line","bar"],["stack"]],IW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return s["k"](t.get("type"),(function(t){e[t]&&(i[t]=e[t])})),i},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,i){var n=this.model,r=n.get(["seriesIndex",i]);if(PW[i]){var o,a={series:[]},l=function(t){var e=t.subType,r=t.id,o=PW[i](e,r,t,n);o&&(s["i"](o,t.option),a.series.push(o));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===i||"bar"===i)){var u=l.getAxesByScale("ordinal")[0];if(u){var c=u.dim,h=c+"Axis",d=t.getReferringComponents(h,Ar).models[0],p=d.componentIndex;a[h]=a[h]||[];for(var f=0;f<=p;f++)a[h][p]=a[h][p]||{};a[h][p].boundaryGap="bar"===i}}};s["k"](AW,(function(t){s["r"](t,i)>=0&&s["k"](t,(function(t){n.setIconStatus(t,"normal")}))})),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},l);var u=i;"stack"===i&&(o=s["I"]({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),"emphasis"!==n.get(["iconStatus",i])&&(u="tiled")),e.dispatchAction({type:"changeMagicType",currentType:u,newOption:a,newTitle:o,featureName:"magicType"})}},e}(gW),PW={line:function(t,e,i,n){if("bar"===t)return s["I"]({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(t,e,i,n){if("line"===t)return s["I"]({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(t,e,i,n){var r=i.get("stack")===TW;if("line"===t||"bar"===t)return n.setIconStatus("stack",r?"normal":"emphasis"),s["I"]({id:e,stack:r?"":TW},n.get(["option","stack"])||{},!0)}};y_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var EW=IW,DW=new Array(60).join("-"),LW="\t";function jW(t){var e={},i=[],n=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else i.push(t)}})),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function RW(t){var e=[];return s["k"](t,(function(t,i){var n=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[" "].concat(s["H"](t.series,(function(t){return t.name}))),l=[n.model.getCategories()];s["k"](t.series,(function(t){var e=t.getRawData();l.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var u=[a.join(LW)],c=0;c<l[0].length;c++){for(var h=[],d=0;d<l.length;d++)h.push(l[d][c]);u.push(h.join(LW))}e.push(u.join("\n"))})),e.join("\n\n"+DW+"\n\n")}function BW(t){return s["H"](t,(function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)n[a]=arguments[a];i.push((o?o+LW:"")+n.join(LW))})),i.join("\n")})).join("\n\n"+DW+"\n\n")}function FW(t){var e=jW(t);return{value:s["n"]([RW(e.seriesGroupByCategoryAxis),BW(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+DW+"\n\n"),meta:e.meta}}function NW(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function zW(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(LW)>=0)return!0}var VW=new RegExp("["+LW+"]+","g");function qW(t){for(var e=t.split(/\n+/g),i=NW(e.shift()).split(VW),n=[],r=s["H"](i,(function(t){return{name:t,data:[]}})),o=0;o<e.length;o++){var a=NW(e[o]).split(VW);n.push(a.shift());for(var l=0;l<a.length;l++)r[l]&&(r[l].data[o]=a[l])}return{series:r,categories:n}}function $W(t){for(var e=t.split(/\n+/g),i=NW(e.shift()),n=[],r=0;r<e.length;r++){var o=NW(e[r]);if(o){var a=o.split(VW),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),n[r]={name:s,value:[]},l=n[r].value):l=n[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?n[r].value=l[0]:n[r]=l[0])}}return{name:i,data:n}}function HW(t,e){var i=t.split(new RegExp("\n*"+DW+"\n*","g")),n={series:[]};return s["k"](i,(function(t,i){if(zW(t)){var r=qW(t),o=e[i],a=o.axisDim+"Axis";o&&(n[a]=n[a]||[],n[a][o.axisIndex]={data:r.categories},n.series=n.series.concat(r.series))}else{r=$W(t);n.series.push(r)}})),n}var GW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var i=e.getDom(),n=this.model;this._dom&&i.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=n.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=n.get("lang")||[];o.innerHTML=a[0]||n.get("title"),o.style.cssText="margin:10px 20px",o.style.color=n.get("textColor");var l=document.createElement("div"),u=document.createElement("textarea");l.style.cssText="overflow:auto";var c=n.get("optionToContent"),h=n.get("contentToOption"),d=FW(t);if(s["w"](c)){var p=c(e.getOption());s["C"](p)?l.innerHTML=p:s["v"](p)&&l.appendChild(p)}else{u.readOnly=n.get("readOnly");var f=u.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=n.get("textColor"),f.borderColor=n.get("textareaBorderColor"),f.backgroundColor=n.get("textareaColor"),u.value=d.value,l.appendChild(u)}var g=d.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),b=document.createElement("div");v+=";background-color:"+n.get("buttonColor"),v+=";color:"+n.get("buttonTextColor");var _=this;function x(){i.removeChild(r),_._dom=null}Q(y,"click",x),Q(b,"click",(function(){if(null==h&&null!=c||null!=h&&null==c)x();else{var t;try{t=s["w"](h)?h(l,e.getOption()):HW(u.value,g)}catch(i){throw x(),new Error("Data view format error "+i)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),y.innerHTML=a[1],b.innerHTML=a[2],b.style.cssText=y.style.cssText=v,!n.get("readOnly")&&m.appendChild(b),m.appendChild(y),r.appendChild(o),r.appendChild(l),r.appendChild(m),l.style.height=i.clientHeight-80+"px",i.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){var e={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(gW);function WW(t,e){return s["H"](t,(function(t,i){var n=e&&e[i];if(s["A"](n)&&!s["t"](n)){var r=s["A"](t)&&!s["t"](t);r||(t={value:t});var o=null!=n.name&&null==t.name;return t=s["i"](t,n),o&&delete t.name,t}return t}))}y_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var i=[];s["k"](t.newOption.series,(function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:WW(t.data,r)})}else i.push(s["m"]({type:"scatter"},t))})),e.mergeOption(s["i"]({series:i},t.newOption))}));var UW=GW,YW=s["k"],XW=kr();function KW(t,e){var i=tU(t);YW(e,(function(e,n){for(var r=i.length-1;r>=0;r--){var o=i[r];if(o[n])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var s=a.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(e)}function ZW(t){var e=tU(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return YW(i,(function(t,i){for(var r=e.length-1;r>=0;r--)if(t=e[r][i],t){n[i]=t;break}})),n}function QW(t){XW(t).snapshots=null}function JW(t){return tU(t).length}function tU(t){var e=XW(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var eU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){QW(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(gW);y_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var iU=eU,nU=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],rU=function(){function t(t,e,i){var n=this;this._targetInfoList=[];var r=aU(e,t);Object(s["k"])(sU,(function(t,e){(!i||!i.include||Object(s["r"])(i.include,e)>=0)&&t(r,n._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=cU[t.brushType](0,i,e);t.__rangeOffset={offset:dU[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,i){Object(s["k"])(t,(function(t){var n=this.findTargetInfo(t,e);n&&!0!==n&&Object(s["k"])(n.coordSyses,(function(n){var r=cU[t.brushType](1,n,t.range,!0);i(t,r.values,n,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(s["k"])(t,(function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=cU[t.brushType](0,i.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?dU[t.brushType](n.values,r.offset,fU(n.xyMinMax,r.xyMinMax)):n.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(s["H"])(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e?e(i):null,clipPath:GB(n),isTargetByCursor:UB(n,t,i.coordSysModel),getLinearBrushOtherExtent:WB(n)}}))},t.prototype.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&Object(s["r"])(n.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=aU(e,t),r=0;r<i.length;r++){var o=i[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<lU.length;s++)if(lU[s](n,o))return o}return!0},t}();function oU(t){return t[0]>t[1]&&t.reverse(),t}function aU(t,e){return Or(t,e,{includeMainTypes:nU})}var sU={grid:function(t,e){var i=t.xAxisModels,n=t.yAxisModels,r=t.gridModels,o=Object(s["f"])(),a={},l={};(i||n||r)&&(Object(s["k"])(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Object(s["k"])(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),l[e.id]=!0})),Object(s["k"])(r,(function(t){o.set(t.id,t),a[t.id]=!0,l[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];Object(s["k"])(r.getCartesians(),(function(t,e){(Object(s["r"])(i,t.getAxis("x").model)>=0||Object(s["r"])(n,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:uU.grid,xAxisDeclared:a[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){Object(s["k"])(t.geoModels,(function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:uU.geo})}))}},lU=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,r=t.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],uU={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(_m(t)),e}},cU={lineX:Object(s["h"])(hU,0),lineY:Object(s["h"])(hU,1),rect:function(t,e,i,n){var r=t?e.pointToData([i[0][0],i[1][0]],n):e.dataToPoint([i[0][0],i[1][0]],n),o=t?e.pointToData([i[0][1],i[1][1]],n):e.dataToPoint([i[0][1],i[1][1]],n),a=[oU([r[0],o[0]]),oU([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,i,n){var r=[[1/0,-1/0],[1/0,-1/0]],o=Object(s["H"])(i,(function(i){var o=t?e.pointToData(i,n):e.dataToPoint(i,n);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function hU(t,e,i,n){var r=i.getAxis(["x","y"][t]),o=oU(Object(s["H"])([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(n[t]),!0):r.toGlobalCoord(r.dataToCoord(n[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var dU={lineX:Object(s["h"])(pU,0),lineY:Object(s["h"])(pU,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return Object(s["H"])(t,(function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]}))}};function pU(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function fU(t,e){var i=gU(t),n=gU(e),r=[i[0]/n[0],i[1]/n[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function gU(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var mU=rU,vU=s["k"],yU=_r("toolbox-dataZoom_"),bU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,i,n){this._brushController||(this._brushController=new HB(i.getZr()),this._brushController.on("brush",s["c"](this._onBrush,this)).mount()),SU(t,e,this,n,i),wU(t,e)},e.prototype.onclick=function(t,e,i){_U[i].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var r=new mU(xU(this.model),n,{include:["grid"]});r.matchOutputRanges(e,n,(function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(o("x",i,e[0]),o("y",i,e[1])):o({lineX:"x",lineY:"y"}[n],i,e)}})),KW(n,i),this._dispatchZoomAction(i)}function o(t,e,r){var o=e.getAxis(t),s=o.model,l=a(t,s,n),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=AR(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(i[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function a(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var r=i.getAxisModel(t,e.componentIndex);r&&(n=i)})),n}},e.prototype._dispatchZoomAction=function(t){var e=[];vU(t,(function(t,i){e.push(s["d"](t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(gW),_U={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(ZW(this.ecModel))}};function xU(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function wU(t,e){t.setIconStatus("back",JW(e)>1?"emphasis":"normal")}function SU(t,e,i,n,r){var o=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new mU(xU(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));i._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}mh("dataZoom",(function(t){var e=t.getComponent("toolbox",0),i=["feature","dataZoom"];if(e&&null!=e.get(i)){var n=e.getModel(i),r=[],o=xU(n),a=Or(t,o);return vU(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),vU(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,i){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:yU+e+o};a[i]=o,r.push(a)}}));var CU=bU;function kU(t){t.registerComponentModel(_W),t.registerComponentView(kW),vW("saveAsImage",OW),vW("magicType",EW),vW("dataView",UW),vW("dataZoom",CU),vW("restore",iU),A_(fW)}var MU=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Uc),OU=MU;function TU(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function AU(t){if(a["a"].domSupported)for(var e=document.documentElement.style,i=0,n=t.length;i<n;i++)if(t[i]in e)return t[i]}var IU=AU(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),PU=AU(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function EU(t,e){if(!t)return e;e=yc(e,!0);var i=t.indexOf(e);return t=-1===i?e:"-"+t.slice(0,i)+"-"+e,t.toLowerCase()}function DU(t,e){var i=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return i?e?i[e]:i:null}var LU=EU(PU,"transition"),jU=EU(IU,"transform"),RU="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(a["a"].transform3dSupported?"will-change:transform;":"");function BU(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function FU(t,e,i){if(!Object(s["C"])(i)||"inside"===i)return"";var n=t.get("backgroundColor"),r=t.get("borderWidth");e=Ac(e);var o,a=BU(i),l=Math.max(1.5*Math.round(r),6),u="",c=jU+":";Object(s["r"])(["left","right"],a)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var h=o*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100;u+=";"+a+":-"+f+"px";var g=e+" solid "+r+"px;",m=["position:absolute;width:"+l+"px;height:"+l+"px;",u+";"+c+";","border-bottom:"+g,"border-right:"+g,"background-color:"+n+";"];return'<div style="'+m.join("")+'"></div>'}function NU(t,e){var i="cubic-bezier(0.23,1,0.32,1)",n=" "+t/2+"s "+i,r="opacity"+n+",visibility"+n;return e||(n=" "+t+"s "+i,r+=a["a"].transformSupported?","+jU+n:",left"+n+",top"+n),LU+":"+r}function zU(t,e,i){var n=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!a["a"].transformSupported)return i?"top:"+r+";left:"+n+";":[["top",r],["left",n]];var o=a["a"].transform3dSupported,s="translate"+(o?"3d":"")+"("+n+","+r+(o?",0":"")+")";return i?"top:0;left:0;"+jU+":"+s+";":[["top",0],["left",0],[IU,s]]}function VU(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+l+"px "+o+"px "+r),Object(s["k"])(["decoration","align"],(function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)})),e.join(";")}function qU(t,e,i){var n=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),l=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),h=t.getModel("textStyle"),d=of(t,"html"),p=u+"px "+c+"px "+a+"px "+l;return n.push("box-shadow:"+p),e&&r&&n.push(NU(r,i)),o&&n.push("background-color:"+o),Object(s["k"])(["width","color","radius"],(function(e){var i="border-"+e,r=yc(i),o=t.get(r);null!=o&&n.push(i+":"+o+("color"===e?"":"px"))})),n.push(VU(h)),null!=d&&n.push("padding:"+bc(d).join("px ")+"px"),n.join(";")+";"}function $U(t,e,i,n,r){var o=e&&e.painter;if(i){var a=o&&o.getViewportRoot();a&&N(t,a,document.body,n,r)}else{t[0]=n,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var HU=function(){function t(t,e,i){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,a["a"].wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=e.getZr(),o=this._appendToBody=i&&i.appendToBody;$U(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(n):t.appendChild(n),this._container=t;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=r.handler,i=r.painter.getViewportRoot();K(i,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){var e=this._container,i=DU(e,"position"),n=e.style;"absolute"!==n.position&&"absolute"!==i&&(n.position="relative");var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var i=this.el,n=i.style,r=this._styleCoord;i.innerHTML?n.cssText=RU+qU(t,!this._firstShow,this._longHide)+zU(r[0],r[1],!0)+"border-color:"+Ac(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,i,n,r){var o=this.el;if(null!=t){var a="";if(Object(s["C"])(r)&&"item"===i.get("trigger")&&!TU(i)&&(a=FU(i,n,r)),Object(s["C"])(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(s["t"])(t)||(t=[t]);for(var l=0;l<t.length;l++)Object(s["v"])(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var i=this._styleCoord;if($U(i,this._zr,this._appendToBody,t,e),null!=i[0]&&null!=i[1]){var n=this.el.style,r=zU(i[0],i[1]);Object(s["k"])(r,(function(t){n[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",a["a"].transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Object(s["c"])(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),GU=HU,WU=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),XU(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,i,n,r){var o=this;s["A"](t)&&Ah(""),this.el&&this._zr.remove(this.el);var a=i.getModel("textStyle");this.el=new ys({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:n,textShadowColor:a.get("textShadowColor"),fill:i.get(["textStyle","color"]),padding:of(i,"richText"),verticalAlign:"top",align:"left"},z:i.get("z")}),s["k"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=i.get(t)})),s["k"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var l=this;this.el.on("mouseover",(function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0})),this.el.on("mouseout",(function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),i=YU(t.style);return[e.width+i.left+i.right,e.height+i.top+i.bottom]},t.prototype.moveTo=function(t,e){var i=this.el;if(i){var n=this._styleCoord;XU(n,this._zr,t,e),t=n[0],e=n[1];var r=i.style,o=UU(r.borderWidth||0),a=YU(r);i.x=t+o+a.left,i.y=e+o+a.top,i.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s["c"](this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function UU(t){return Math.max(0,t)}function YU(t){var e=UU(t.shadowBlur||0),i=UU(t.shadowOffsetX||0),n=UU(t.shadowOffsetY||0);return{left:UU(e-i),right:UU(e+i),top:UU(e-n),bottom:UU(e+n)}}function XU(t,e,i,n){t[0]=i,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var KU=WU,ZU=new ts({shape:{x:-1,y:-1,width:2,height:2}}),QU=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(t,e){if(!a["a"].node&&e.getDom()){var i=t.getComponent("tooltip"),n=this._renderMode=Dr(i.get("renderMode"));this._tooltipContent="richText"===n?new KU(e):new GU(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)})}},e.prototype.render=function(t,e,i){if(!a["a"].node&&i.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Xm(this,"_updatePosition",50,"fixRate"):Km(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");M$("itemTooltip",this._api,Object(s["c"])((function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,i=this._api,n=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==n&&"click"!==n){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&r.manuallyShowTip(t,e,i,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,i,n){if(n.from!==this.uid&&!a["a"].node&&i.getDom()){var r=tY(n,i);this._ticket="";var o=n.dataByCoordSys,s=oY(n,e,i);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:n.position,positionDefault:"bottom"},r)}else if(n.tooltip&&null!=n.x&&null!=n.y){var u=ZU;u.x=n.x,u.y=n.y,u.update(),bs(u).tooltipConfig={name:null,option:n.tooltip},this._tryShow({offsetX:n.x,offsetY:n.y,target:u},r)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:o,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var c=j$(n,e),h=c.point[0],d=c.point[1];null!=h&&null!=d&&this._tryShow({offsetX:h,offsetY:d,target:c.el,position:n.position,positionDefault:"bottom"},r)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(tY(n,i))},e.prototype._manuallyAxisShowTip=function(t,e,i,n){var r=n.seriesIndex,o=n.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=JU([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:n.position}),!0}}},e.prototype._tryShow=function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(i){var o,a;this._lastDataByCoordSys=null,$v(i,(function(t){return null!=bs(t).dataIndex?(o=t,!0):null!=bs(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var i=t.get("showDelay");e=Object(s["c"])(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},e.prototype._showAxisTooltip=function(t,e){var i=this._ecModel,n=this._tooltipModel,r=[e.offsetX,e.offsetY],o=JU([e.tooltipOption],n),a=this._renderMode,l=[],u=Hp("section",{blocks:[],noHeader:!0}),c=[],h=new af;Object(s["k"])(t,(function(t){Object(s["k"])(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=h$(r,e.axis,i,t.seriesDataIndices,t.valueLabelOpt),d=Hp("section",{header:o,noHeader:!Object(s["T"])(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),Object(s["k"])(t.seriesDataIndices,(function(u){var p=i.getSeriesByIndex(u.seriesIndex),f=u.dataIndexInside,g=p.getDataParams(f);if(!(g.dataIndex<0)){g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=EO(e.axis,{value:r}),g.axisValueLabel=o,g.marker=h.makeTooltipMarker("item",Ac(g.color),a);var m=tp(p.formatTooltip(f,!0,null)),v=m.frag;if(v){var y=JU([p],n).get("valueFormatter");d.blocks.push(y?Object(s["m"])({valueFormatter:y},v):v)}m.text&&c.push(m.text),l.push(g)}}))}}))})),u.blocks.reverse(),c.reverse();var d=e.position,p=o.get("order"),f=Kp(u,h,a,p,i.get("useUTC"),o.get("textStyle"));f&&c.unshift(f);var g="richText"===a?"\n\n":"<br/>",m=c.join(g);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,i){var n=this._ecModel,r=bs(e),o=r.seriesIndex,a=n.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,c=r.dataType,h=l.getData(c),d=this._renderMode,p=t.positionDefault,f=JU([h.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=f.get("trigger");if(null==g||"item"===g){var m=l.getDataParams(u,c),v=new af;m.marker=v.makeTooltipMarker("item",Ac(m.color),d);var y=tp(l.formatTooltip(u,!1,c)),b=f.get("order"),_=f.get("valueFormatter"),x=y.frag,w=x?Kp(_?Object(s["m"])({valueFormatter:_},x):x,v,d,b,n.get("useUTC"),f.get("textStyle")):y.text,S="item_"+l.name+"_"+u;this._showOrMove(f,(function(){this._showTooltipContent(f,w,m,S,t.offsetX,t.offsetY,t.position,t.target,v)})),i({type:"showTip",dataIndexInside:u,dataIndex:h.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,i){var n=bs(e),r=n.tooltipConfig,o=r.option||{};if(Object(s["C"])(o)){var a=o;o={content:a,formatter:a}}var l=[o],u=this._ecModel.getComponent(n.componentMainType,n.componentIndex);u&&l.push(u),l.push({formatter:o.content});var c=t.positionDefault,h=JU(l,this._tooltipModel,c?{position:c}:null),d=h.get("content"),p=Math.random()+"",f=new af;this._showOrMove(h,(function(){var i=Object(s["d"])(h.get("formatterParams")||{});this._showTooltipContent(h,d,i,p,t.offsetX,t.offsetY,t.position,e,f)})),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,i,n,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var d=e,p=this._getNearestPoint([r,o],i,t.get("trigger"),t.get("borderColor")),f=p.color;if(h)if(Object(s["C"])(h)){var g=t.ecModel.get("useUTC"),m=Object(s["t"])(i)?i[0]:i,v=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,v&&(d=Ju(m.axisValue,d,g)),d=Mc(d,i,!0)}else if(Object(s["w"])(h)){var y=Object(s["c"])((function(e,n){e===this._ticket&&(c.setContent(n,u,t,f,a),this._updatePosition(t,a,r,o,c,i,l))}),this);this._ticket=n,d=h(i,n,y)}else d=h;c.setContent(d,u,t,f,a),c.show(t,f),this._updatePosition(t,a,r,o,c,i,l)}},e.prototype._getNearestPoint=function(t,e,i,n){return"axis"===i||Object(s["t"])(e)?{color:n||("html"===this._renderMode?"#fff":"none")}:Object(s["t"])(e)?void 0:{color:n||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,i,n,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),Object(s["w"])(e)&&(e=e([i,n],o,r.el,p,{viewSize:[l,u],contentSize:c.slice()})),Object(s["t"])(e))i=Pn(e[0],l),n=Pn(e[1],u);else if(Object(s["A"])(e)){var f=e;f.width=c[0],f.height=c[1];var g=Bc(f,{width:l,height:u});i=g.x,n=g.y,h=null,d=null}else if(Object(s["C"])(e)&&a){var m=nY(e,p,c,t.get("borderWidth"));i=m[0],n=m[1]}else{m=eY(i,n,r,l,u,h?null:20,d?null:20);i=m[0],n=m[1]}if(h&&(i-=rY(h)?c[0]/2:"right"===h?c[0]:0),d&&(n-=rY(d)?c[1]/2:"bottom"===d?c[1]:0),TU(t)){m=iY(i,n,r,l,u);i=m[0],n=m[1]}r.moveTo(i,n)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var i=this._lastDataByCoordSys,n=this._cbParamsList,r=!!i&&i.length===t.length;return r&&Object(s["k"])(i,(function(i,o){var a=i.dataByAxis||[],l=t[o]||{},u=l.dataByAxis||[];r=r&&a.length===u.length,r&&Object(s["k"])(a,(function(t,i){var o=u[i]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length,r&&Object(s["k"])(a,(function(t,e){var i=l[e];r=r&&t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex})),n&&Object(s["k"])(t.seriesDataIndices,(function(t){var i=t.seriesIndex,o=e[i],a=n[i];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!a["a"].node&&e.getDom()&&(Km(this,"_updatePosition"),this._tooltipContent.dispose(),E$("itemTooltip",e))},e.type="tooltip",e}(Sf);function JU(t,e,i){var n,r=e.ecModel;i?(n=new xu(i,r,r),n=new xu(e.option,n,r)):n=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof xu&&(a=a.get("tooltip",!0)),Object(s["C"])(a)&&(a={formatter:a}),a&&(n=new xu(a,n,r)))}return n}function tY(t,e){return t.dispatchAction||Object(s["c"])(e.dispatchAction,e)}function eY(t,e,i,n,r,o,a){var s=i.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>n?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function iY(t,e,i,n,r){var o=i.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,n)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function nY(t,e,i,n){var r=i[0],o=i[1],a=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}function rY(t){return"center"===t||"middle"===t}function oY(t,e,i){var n=Tr(t).queryOptionMap,r=n.keys()[0];if(r&&"series"!==r){var o=Pr(e,r,n.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=i.getViewOfComponentModel(a);return l.group.traverse((function(e){var i=bs(e).tooltipConfig;if(i&&i.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var aY=QU;function sY(t){A_(Y$),t.registerComponentModel(OU),t.registerComponentView(aY),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s["L"]),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s["L"])}var lY=["rect","polygon","keep","clear"];function uY(t,e){var i=nr(t?t.brush:[]);if(i.length){var n=[];s["k"](i,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(n=n.concat(e))}));var r=t&&t.toolbox;s["t"](r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),l=a.type||(a.type=[]);l.push.apply(l,n),cY(l),e&&!l.length&&l.push.apply(l,lY)}}function cY(t){var e={};s["k"](t,(function(t){e[t]=1})),t.length=0,s["k"](e,(function(e,i){t.push(i)}))}var hY=s["k"];function dY(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function pY(t,e,i){var n={};return hY(e,(function(e){var o=n[e]=r();hY(t[e],(function(t,n){if(FD.isValidType(n)){var r={type:n,visual:t};i&&i(r,e),o[n]=new FD(r),"opacity"===n&&(r=s["d"](r),r.type="colorAlpha",o.__hidden.__alphaForOpacity=new FD(r))}}))})),n;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function fY(t,e,i){var n;s["k"](i,(function(t){e.hasOwnProperty(t)&&dY(e[t])&&(n=!0)})),n&&s["k"](i,(function(i){e.hasOwnProperty(i)&&dY(e[i])?t[i]=s["d"](e[i]):delete t[i]}))}function gY(t,e,i,n,r,o){var a,l={};function u(t){return Bv(i,a,t)}function c(t,e){Nv(i,a,t,e)}function h(t,s){a=null==o?t:s;var h=i.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=n.call(r,t),p=e[d],f=l[d],g=0,m=f.length;g<m;g++){var v=f[g];p[v]&&p[v].applyVisual(t,u,c)}}s["k"](t,(function(t){var i=FD.prepareVisualTypes(e[t]);l[t]=i})),null==o?i.each(h):i.each([o],h)}function mY(t,e,i,n){var r={};return s["k"](t,(function(t){var i=FD.prepareVisualTypes(e[t]);r[t]=i})),{progress:function(t,o){var a,s;function l(t){return Bv(o,s,t)}function u(t,e){Nv(o,s,t,e)}null!=n&&(a=o.getDimensionIndex(n));var c=o.getStore();while(null!=(s=t.next())){var h=o.getRawDataItem(s);if(!h||!1!==h.visualMap)for(var d=null!=n?c.get(a,s):s,p=i(d),f=e[p],g=r[p],m=0,v=g.length;m<v;m++){var y=g[m];f[y]&&f[y].applyVisual(d,l,u)}}}}}function vY(t){var e=t.brushType,i={point:function(n){return yY[e].point(n,i,t)},rect:function(n){return yY[e].rect(n,i,t)}};return i}var yY={lineX:bY(0),lineY:bY(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&_I(i.range,t[0],t[1])},rect:function(t,e,i){var n=i.range;if(!t||n.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=n[0];return!!(_I(n,r,o)||_I(n,r+a,o)||_I(n,r,o+s)||_I(n,r+a,o+s)||Gi.create(t).contain(l[0],l[1])||Am(r,o,r+a,o,n)||Am(r,o,r,o+s,n)||Am(r+a,o,r+a,o+s,n)||Am(r,o+s,r+a,o+s,n))||void 0}}};function bY(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var r=n.range,o=e[t];return _Y(o,r)}},rect:function(n,r,o){if(n){var a=o.range,s=[n[e[t]],n[e[t]]+n[i[t]]];return s[1]<s[0]&&s.reverse(),_Y(s[0],a)||_Y(s[1],a)||_Y(a[0],s)||_Y(a[1],s)}}}}function _Y(t,e){return e[0]<=t&&t<=e[1]}var xY=["inBrush","outOfBrush"],wY="__ecBrushSelect",SY="__ecInBrushSelectEvent";function CY(t){t.eachComponent({mainType:"brush"},(function(e){var i=e.brushTargetManager=new mU(e.option,t);i.setInputRanges(e.areas,t)}))}function kY(t,e,i){var n,r,o=[];t.eachComponent({mainType:"brush"},(function(t){i&&"takeGlobalCursor"===i.type&&t.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1})})),CY(t),t.eachComponent({mainType:"brush"},(function(e,i){var a={brushId:e.id,brushIndex:i,brushName:e.name,areas:s["d"](e.areas),selected:[]};o.push(a);var l=e.option,u=l.brushLink,c=[],h=[],d=[],p=!1;i||(n=l.throttleType,r=l.throttleDelay);var f=s["H"](e.areas,(function(t){var e=IY[t.brushType],i=s["i"]({boundingRect:e?e(t):void 0},t);return i.selectors=vY(i),i})),g=pY(e.option,xY,(function(t){t.mappingMethod="fixed"}));function m(t){return"all"===u||!!c[t]}function v(t){return!!t.length}function y(t,e){var i=t.coordinateSystem;p=p||i.hasAxisBrushed(),m(e)&&i.eachActiveState(t.getData(),(function(t,e){"active"===t&&(h[e]=1)}))}function b(i,n,r){if(i.brushSelector&&!AY(e,n)&&(s["k"](f,(function(n){e.brushTargetManager.controlSeries(n,i,t)&&r.push(n),p=p||v(r)})),m(n)&&v(r))){var o=i.getData();o.each((function(t){TY(i,r,o,t)&&(h[t]=1)}))}}s["t"](u)&&s["k"](u,(function(t){c[t]=1})),t.eachSeries((function(t,e){var i=d[e]=[];"parallel"===t.subType?y(t,e):b(t,e,i)})),t.eachSeries((function(t,e){var i={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(i);var n=d[e],r=t.getData(),o=m(e)?function(t){return h[t]?(i.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return TY(t,n,r,e)?(i.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(m(e)?p:v(n))&&gY(xY,g,r,o)}))})),MY(e,n,r,o,i)}function MY(t,e,i,n,r){if(r){var o=t.getZr();if(!o[SY]){o[wY]||(o[wY]=OY);var a=Xm(o,wY,i,e);a(t,n)}}}function OY(t,e){if(!t.isDisposed()){var i=t.getZr();i[SY]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[SY]=!1}}function TY(t,e,i,n){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(n,i,a.selectors,a))return!0}}function AY(t,e){var i=t.option.seriesIndex;return null!=i&&"all"!==i&&(s["t"](i)?s["r"](i,e)<0:e!==i)}var IY={rect:function(t){return PY(t.range)},polygon:function(t){for(var e,i=t.range,n=0,r=i.length;n<r;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=i[n];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&PY(e)}};function PY(t){return new Gi(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var EY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new HB(e.getZr())).on("brush",s["c"](this._onBrush,this)).mount()},e.prototype.render=function(t,e,i,n){this.model=t,this._updateController(t,e,i,n)},e.prototype.updateTransform=function(t,e,i,n){CY(e),this._updateController(t,e,i,n)},e.prototype.updateVisual=function(t,e,i,n){this.updateTransform(t,e,i,n)},e.prototype.updateView=function(t,e,i,n){this._updateController(t,e,i,n)},e.prototype._updateController=function(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,i=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:s["d"](i),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:s["d"](i),$from:e})},e.type="brush",e}(Sf),DY=EY,LY="#ddd",jY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.areas=[],i.brushOption={},i}return o(e,t),e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&fY(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:LY},n.hasOwnProperty("liftZ")||(n.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=s["H"](t,(function(t){return RY(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=RY(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Uc);function RY(t,e){return s["I"]({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new xu(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var BY=jY,FY=["rect","polygon","lineX","lineY","keep","clear"],NY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,i){var n,r,o;e.eachComponent({mainType:"brush"},(function(t){n=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=n,this._brushMode=r,s["k"](t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===n)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,i){this.render(t,e,i)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return s["k"](t.get("type",!0),(function(t){e[t]&&(i[t]=e[t])})),i},e.prototype.onclick=function(t,e,i){var n=this._brushType,r=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){var e={show:!0,type:FY.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return e},e}(gW),zY=NY;function VY(t){t.registerComponentView(DY),t.registerComponentModel(BY),t.registerPreprocessor(uY),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,kY),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},s["L"]),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},s["L"]),vW("brush",zY)}var qY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return o(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Uc),$Y=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.render=function(t,e,i){if(this.group.removeAll(),t.get("show")){var n=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),l=s["P"](t.get("textBaseline"),t.get("textVerticalAlign")),u=new ys({style:Zl(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),h=t.get("subtext"),d=new ys({style:Zl(o,{text:h,fill:o.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),f=t.get("sublink"),g=t.get("triggerEvent",!0);u.silent=!p&&!g,d.silent=!f&&!g,p&&u.on("click",(function(){Ic(p,"_"+t.get("target"))})),f&&d.on("click",(function(){Ic(f,"_"+t.get("subtarget"))})),bs(u).eventData=bs(d).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,n.add(u),h&&n.add(d);var m=n.getBoundingRect(),v=t.getBoxLayoutParams();v.width=m.width,v.height=m.height;var y=Bc(v,{width:i.getWidth(),height:i.getHeight()},t.get("padding"));a||(a=t.get("left")||t.get("right"),"middle"===a&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),l||(l=t.get("top")||t.get("bottom"),"center"===l&&(l="middle"),"bottom"===l?y.y+=y.height:"middle"===l&&(y.y+=y.height/2),l=l||"top"),n.x=y.x,n.y=y.y,n.markRedraw();var b={align:a,verticalAlign:l};u.setStyle(b),d.setStyle(b),m=n.getBoundingRect();var _=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new ts({shape:{x:m.x-_[3],y:m.y-_[0],width:m.width+_[1]+_[3],height:m.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});n.add(w)}},e.type="title",e}(Sf);function HY(t){t.registerComponentModel(qY),t.registerComponentView($Y)}var GY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode="box",i}return o(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,i=e.data||[],n=e.axisType,r=this._names=[];"category"===n?(t=[],Object(s["k"])(i,(function(e,i){var n,o=vr(ar(e),"");Object(s["A"])(e)?(n=Object(s["d"])(e),n.value=i):n=i,t.push(n),r.push(o)}))):t=i;var o={category:"ordinal",time:"time",value:"number"}[n]||"number",a=this._data=new Yw([{name:"value",type:o}],this);a.initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Uc),WY=GY,UY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="timeline.slider",e.defaultOption=Mu(WY.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(WY);Object(s["K"])(UY,Jd.prototype);var YY=UY,XY=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="timeline",e}(Sf),KY=XY,ZY=function(t){function e(e,i,n,r){var o=t.call(this,e,i,n)||this;return o.type=r||"value",o}return o(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(cT),QY=ZY,JY=Math.PI,tX=kr(),eX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,i){if(this.model=t,this.api=i,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var n=this._layout(t,i),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(n,t);t.formatTooltip=function(t){var e=a.scale.getLabel({value:t});return Hp("nameValue",{noName:!0,value:e})},Object(s["k"])(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](n,r,a,t)}),this),this._renderAxisLabel(n,o,a,t),this._position(n,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var i,n=t.get(["label","position"]),r=t.get("orient"),o=nX(t,e);i=null==n||"auto"===n?"horizontal"===r?o.y+o.height/2<e.getHeight()/2?"-":"+":o.x+o.width/2<e.getWidth()/2?"+":"-":Object(s["C"])(n)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][n]:n;var a,l,u,c={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},h={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:JY/2},p="vertical"===r?o.height:o.width,f=t.getModel("controlStyle"),g=f.get("show",!0),m=g?f.get("itemSize"):0,v=g?f.get("itemGap"):0,y=m+v,b=t.get(["label","rotate"])||0;b=b*JY/180;var _=f.get("position",!0),x=g&&f.get("showPlayBtn",!0),w=g&&f.get("showPrevBtn",!0),S=g&&f.get("showNextBtn",!0),C=0,k=p;"left"===_||"bottom"===_?(x&&(a=[0,0],C+=y),w&&(l=[C,0],C+=y),S&&(u=[k-m,0],k-=y)):(x&&(a=[k-m,0],k-=y),w&&(l=[0,0],C+=y),S&&(u=[k-m,0],k-=y));var M=[C,k];return t.get("inverse")&&M.reverse(),{viewRect:o,mainLength:p,orient:r,rotation:d[r],labelRotation:b,labelPosOpt:i,labelAlign:t.get(["label","align"])||c[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[r],playPosition:a,prevBtnPosition:l,nextBtnPosition:u,axisExtent:M,controlSize:m,controlGap:v}},e.prototype._position=function(t,e){var i=this._mainGroup,n=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=fi(),a=r.x,l=r.y+r.height;yi(o,o,[-a,-l]),bi(o,o,-JY/2),yi(o,o,[a,l]),r=r.clone(),r.applyTransform(o)}var u=v(r),c=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=[i.x,i.y],p=[n.x,n.y];p[0]=d[0]=u[0][0];var f=t.labelPosOpt;if(null==f||Object(s["C"])(f)){var g="+"===f?0:1;y(d,c,u,1,g),y(p,h,u,1,1-g)}else{g=f>=0?0:1;y(d,c,u,1,g),p[1]=d[1]+f}function m(t){t.originX=u[0][0]-t.x,t.originY=u[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function y(t,e,i,n,r){t[n]+=i[n][r]-e[n][r]}i.setPosition(d),n.setPosition(p),i.rotation=n.rotation=t.rotation,m(i),m(n)},e.prototype._createAxis=function(t,e){var i=e.getData(),n=e.get("axisType"),r=iX(e,n);r.getTicks=function(){return i.mapArray(["value"],(function(t){return{value:t}}))};var o=i.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new QY("value",r,t.axisExtent,n);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new bn;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,i,n){var r=i.getExtent();if(n.get(["lineStyle","show"])){var o=new Eg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(s["m"])({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Eg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(s["i"])({lineCap:"round",lineWidth:o.style.lineWidth},n.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,i,n){var r=this,o=n.getData(),a=i.scale.getTicks();this._tickSymbols=[],Object(s["k"])(a,(function(t){var a=i.dataToCoord(t.value),l=o.getItemModel(t.value),u=l.getModel("itemStyle"),c=l.getModel(["emphasis","itemStyle"]),h=l.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:Object(s["c"])(r._changeTimeline,r,t.value)},p=oX(l,u,e,d);p.ensureState("emphasis").style=c.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),xl(p);var f=bs(p);l.get("tooltip")?(f.dataIndex=t.value,f.dataModel=n):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,i,n){var r=this,o=i.getLabelModel();if(o.get("show")){var a=n.getData(),l=i.getViewLabels();this._tickLabels=[],Object(s["k"])(l,(function(n){var o=n.tickValue,l=a.getItemModel(o),u=l.getModel("label"),c=l.getModel(["emphasis","label"]),h=l.getModel(["progress","label"]),d=i.dataToCoord(n.tickValue),p=new ys({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(s["c"])(r._changeTimeline,r,o),silent:!1,style:Zl(u,{text:n.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Zl(c),p.ensureState("progress").style=Zl(h),e.add(p),xl(p),tX(p).dataIndex=o,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,i,n){var r=t.controlSize,o=t.rotation,a=n.getModel("controlStyle").getItemStyle(),l=n.getModel(["emphasis","controlStyle"]).getItemStyle(),u=n.getPlayState(),c=n.get("inverse",!0);function h(t,i,u,c){if(t){var h=en(Object(s["P"])(n.get(["controlStyle",i+"BtnSize"]),r),r),d=[0,-h/2,h,h],p=rX(n,i+"Icon",d,{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:u});p.ensureState("emphasis").style=l,e.add(p),xl(p)}}h(t.nextBtnPosition,"next",Object(s["c"])(this._changeTimeline,this,c?"-":"+")),h(t.prevBtnPosition,"prev",Object(s["c"])(this._changeTimeline,this,c?"+":"-")),h(t.playPosition,u?"stop":"play",Object(s["c"])(this._handlePlayClick,this,!u),!0)},e.prototype._renderCurrentPointer=function(t,e,i,n){var r=n.getData(),o=n.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),l=this,u={onCreate:function(t){t.draggable=!0,t.drift=Object(s["c"])(l._handlePointerDrag,l),t.ondragend=Object(s["c"])(l._handlePointerDragend,l),aX(t,l._progressLine,o,i,n,!0)},onUpdate:function(t){aX(t,l._progressLine,o,i,n)}};this._currentPointer=oX(a,a,this._mainGroup,{},this._currentPointer,u)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,r=Dn(n.getExtent().slice());i>r[1]&&(i=r[1]),i<r[0]&&(i=r[0]),this._currentPointer.x=i,this._currentPointer.markRedraw(),this._progressLine.shape.x2=i,this._progressLine.dirty();var o=this._findNearestTick(i),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){var e=this._mainGroup.getLocalTransform();return xm(t,e,!0)},e.prototype._findNearestTick=function(t){var e,i=this.model.getData(),n=1/0,r=this._axis;return i.each(["value"],(function(i,o){var a=r.dataToCoord(i),s=Math.abs(a-t);s<n&&(n=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,i=this._tickLabels;if(e)for(var n=0;n<e.length;n++)e&&e[n]&&e[n].toggleState("progress",n<t);if(i)for(n=0;n<i.length;n++)i&&i[n]&&i[n].toggleState("progress",tX(i[n]).dataIndex<=t)},e.type="timeline.slider",e}(KY);function iX(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new YM({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new uO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new ZM}}function nX(t,e){return Bc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function rX(t,e,i,n){var r=n.style,o=Tm(t.get(["controlStyle",e]),n||{},new Gi(i[0],i[1],i[2],i[3]));return r&&o.setStyle(r),o}function oX(t,e,i,n,r,o){var a=e.get("color");if(r)r.setColor(a),i.add(r),o&&o.onUpdate(r);else{var l=t.get("symbol");r=ny(l,-1,-1,2,2,a),r.setStyle("strokeNoScale",!0),i.add(r),o&&o.onCreate(r)}var u=e.getItemStyle(["color"]);r.setStyle(u),n=Object(s["I"])({rectHover:!0,z2:100},n,!0);var c=ry(t.get("symbolSize"));n.scaleX=c[0]/2,n.scaleY=c[1]/2;var h=oy(t.get("symbolOffset"),c);h&&(n.x=(n.x||0)+h[0],n.y=(n.y||0)+h[1]);var d=t.get("symbolRotate");return n.rotation=(d||0)*Math.PI/180||0,r.attr(n),r.updateTransform(),r}function aX(t,e,i,n,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=n.dataToCoord(r.getData().get("value",i));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var sX=eX;function lX(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,i){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.getPlayState()&&(n.setPlayState(!1),i.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:n.get("replaceMerge",!0)}),Object(s["i"])({currentIndex:n.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)}))}function uX(t){var e=t&&t.timeline;s["t"](e)||(e=e?[e]:[]),s["k"](e,(function(t){t&&cX(t)}))}function cX(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),hX(t),dX(t,"controlPosition")){var n=t.controlStyle||(t.controlStyle={});dX(n,"position")||(n.position=t.controlPosition),"none"!==n.position||dX(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition}s["k"](t.data||[],(function(t){s["A"](t)&&!s["t"](t)&&(!dX(t,"value")&&dX(t,"name")&&(t.value=t.name),hX(t))}))}function hX(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),n=t.label||t.label||{},r=n.normal||(n.normal={}),o={normal:1,emphasis:1};s["k"](n,(function(t,e){o[e]||dX(r,e)||(r[e]=t)})),i.label&&!dX(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function dX(t,e){return t.hasOwnProperty(e)}function pX(t){t.registerComponentModel(YY),t.registerComponentView(sX),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),lX(t),t.registerPreprocessor(uX)}function fX(t,e){if(!t)return!1;for(var i=Object(s["t"])(t)?t:[t],n=0;n<i.length;n++)if(i[n]&&i[n][e])return!0;return!1}function gX(t){rr(t,"label",["show"])}var mX=kr(),vX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.createdBySelf=!1,i}return o(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),this._mergeOption(t,i,!1,!0)},e.prototype.isAnimationEnabled=function(){if(a["a"].node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,i,n){var r=this.mainType;i||e.eachSeries((function(t){var i=t.get(this.mainType,!0),o=mX(t)[r];i&&i.data?(o?o._mergeOption(i,e,!0):(n&&gX(i),s["k"](i.data,(function(t){t instanceof Array?(gX(t[0]),gX(t[1])):gX(t)})),o=this.createMarkerModelFromSeries(i,this,e),s["m"](o,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),mX(t)[r]=o):mX(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,i){var n=this.getData(),r=this.getRawValue(t),o=n.getName(t);return Hp("section",{header:this.name,blocks:[Hp("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return mX(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Uc);s["K"](vX,Jd.prototype);var yX=vX,bX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(yX),_X=bX;function xX(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function wX(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function SX(t,e,i,n,r,o){var a=[],s=oS(e,n),l=s?e.getCalculationInfo("stackResultDimension"):n,u=PX(e,l,t),c=e.indicesOfNearest(l,u)[0];a[r]=e.get(i,c),a[o]=e.get(l,c);var h=e.get(n,c),d=Ln(e.get(n,c));return d=Math.min(d,20),d>=0&&(a[o]=+a[o].toFixed(d)),[a,h]}var CX={min:Object(s["h"])(SX,"min"),max:Object(s["h"])(SX,"max"),average:Object(s["h"])(SX,"average"),median:Object(s["h"])(SX,"median")};function kX(t,e){var i=t.getData(),n=t.coordinateSystem;if(e&&!wX(e)&&!Object(s["t"])(e.coord)&&n){var r=n.dimensions,o=MX(e,i,n,t);if(e=Object(s["d"])(e),e.type&&CX[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(s["r"])(r,o.baseAxis.dim),l=Object(s["r"])(r,o.valueAxis.dim),u=CX[e.type](i,o.baseDataDim,o.valueDataDim,a,l);e.coord=u[0],e.value=u[1]}else{for(var c=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],h=0;h<2;h++)CX[c[h]]&&(c[h]=PX(i,i.mapDimension(r[h]),c[h]));e.coord=c}}return e}function MX(t,e,i,n){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=i.getAxis(OX(n,r.valueDataDim)),r.baseAxis=i.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=n.getBaseAxis(),r.valueAxis=i.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function OX(t,e){var i=t.getData().getDimensionInfo(e);return i&&i.coordDim}function TX(t,e){return!(t&&t.containData&&e.coord&&!xX(e))||t.containData(e.coord)}function AX(t,e,i){return!(t&&t.containZone&&e.coord&&i.coord&&!xX(e)&&!xX(i))||t.containZone(e.coord,i.coord)}function IX(t,e){return t?function(t,i,n,r){var o=r<2?t.coord&&t.coord[r]:t.value;return rp(o,e[r])}:function(t,i,n,r){return rp(t.value,e[r])}}function PX(t,e,i){if("average"===i){var n=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(n+=t,r++)})),n/r}return"median"===i?t.getMedian(e):t.getDataExtent(e)["max"===i?1:0]}var EX=kr(),DX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.init=function(){this.markerGroupMap=Object(s["f"])()},e.prototype.render=function(t,e,i){var n=this,r=this.markerGroupMap;r.each((function(t){EX(t).keep=!1})),e.eachSeries((function(t){var r=yX.getMarkerModelFromSeries(t,n.type);r&&n.renderSeries(t,r,e,i)})),r.each((function(t){!EX(t).keep&&n.group.remove(t.group)}))},e.prototype.markKeep=function(t){EX(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var i=this;Object(s["k"])(t,(function(t){var n=yX.getMarkerModelFromSeries(t,i.type);if(n){var r=n.getData();r.eachItemGraphicEl((function(t){t&&(e?al(t):sl(t))}))}}))},e.type="marker",e}(Sf),LX=DX;function jX(t,e,i){var n=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=Pn(a.get("x"),i.getWidth()),l=Pn(a.get("y"),i.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(n){var u=t.get(n.dimensions[0],r),c=t.get(n.dimensions[1],r);o=n.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var RX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markPoint");e&&(jX(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,new CS),c=BX(r,t,e);e.setData(c),jX(e.getData(),t,n),c.each((function(t){var i=c.getItemModel(t),n=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),l=i.getShallow("symbolOffset"),u=i.getShallow("symbolKeepAspect");if(Object(s["w"])(n)||Object(s["w"])(r)||Object(s["w"])(o)||Object(s["w"])(l)){var h=e.getRawValue(t),d=e.getDataParams(t);Object(s["w"])(n)&&(n=n(h,d)),Object(s["w"])(r)&&(r=r(h,d)),Object(s["w"])(o)&&(o=o(h,d)),Object(s["w"])(l)&&(l=l(h,d))}var p=i.getModel("itemStyle").getItemStyle(),f=Fv(a,"color");p.fill||(p.fill=f),c.setItemVisual(t,{symbol:n,symbolSize:r,symbolRotate:o,symbolOffset:l,symbolKeepAspect:u,style:p})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(t){t.traverse((function(t){bs(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(LX);function BX(t,e,i){var n;n=t?Object(s["H"])(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},i),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Yw(n,i),o=Object(s["H"])(i.get("data"),Object(s["h"])(kX,e));t&&(o=Object(s["n"])(o,Object(s["h"])(TX,t)));var a=IX(!!t,n);return r.initData(o,null,a),r}var FX=RX;function NX(t){t.registerComponentModel(_X),t.registerComponentView(FX),t.registerPreprocessor((function(t){fX(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var zX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(yX),VX=zX,qX=kr(),$X=function(t,e,i,n){var r,o=t.getData();if(Object(s["t"])(n))r=n;else{var a=n.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=n.xAxis||null!=n.yAxis){var l=void 0,u=void 0;if(null!=n.yAxis||null!=n.xAxis)l=e.getAxis(null!=n.yAxis?"y":"x"),u=Object(s["O"])(n.yAxis,n.xAxis);else{var c=MX(n,o,e,t);l=c.valueAxis;var h=aS(o,c.valueDataDim);u=PX(o,h,a)}var d="x"===l.dim?0:1,p=1-d,f=Object(s["d"])(n),g={coord:[]};f.type=null,f.coord=[],f.coord[p]=-1/0,g.coord[p]=1/0;var m=i.get("precision");m>=0&&Object(s["z"])(u)&&(u=+u.toFixed(Math.min(m,20))),f.coord[d]=g.coord[d]=u,r=[f,g,{type:a,valueIndex:n.valueIndex,value:u}]}else r=[]}var v=[kX(t,r[0]),kX(t,r[1]),Object(s["m"])({},r[2])];return v[2].type=v[2].type||null,Object(s["I"])(v[2],v[0]),Object(s["I"])(v[2],v[1]),v};function HX(t){return!isNaN(t)&&!isFinite(t)}function GX(t,e,i,n){var r=1-t,o=n.dimensions[t];return HX(e[r])&&HX(i[r])&&e[t]===i[t]&&n.getAxis(o).containData(e[t])}function WX(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(GX(1,i,n,t)||GX(0,i,n,t)))return!0}return TX(t,e[0])&&TX(t,e[1])}function UX(t,e,i,n,r){var o,a=n.coordinateSystem,s=t.getItemModel(e),l=Pn(s.get("x"),r.getWidth()),u=Pn(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([h,d])}if(HS(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=a.dimensions;HX(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[i?0:1]):HX(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[i?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var YX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markLine");if(e){var n=e.getData(),r=qX(e).from,o=qX(e).to;r.each((function(e){UX(r,e,!0,t,i),UX(o,e,!1,t,i)})),n.each((function(t){n.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,new hj);this.group.add(u.group);var c=XX(r,t,e),h=c.from,d=c.to,p=c.line;qX(e).from=h,qX(e).to=d,e.setData(p);var f=e.get("symbol"),g=e.get("symbolSize"),m=e.get("symbolRotate"),v=e.get("symbolOffset");function y(e,i,r){var o=e.getItemModel(i);UX(e,i,r,t,n);var l=o.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=Fv(a,"color")),e.setItemVisual(i,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(s["P"])(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:Object(s["P"])(o.get("symbolRotate",!0),m[r?0:1]),symbolSize:Object(s["P"])(o.get("symbolSize"),g[r?0:1]),symbol:Object(s["P"])(o.get("symbol",!0),f[r?0:1]),style:l})}Object(s["t"])(f)||(f=[f,f]),Object(s["t"])(g)||(g=[g,g]),Object(s["t"])(m)||(m=[m,m]),Object(s["t"])(v)||(v=[v,v]),c.from.each((function(t){y(h,t,!0),y(d,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),u.updateData(p),c.line.eachItemGraphicEl((function(t){bs(t).dataModel=e,t.traverse((function(t){bs(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(LX);function XX(t,e,i){var n;n=t?Object(s["H"])(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},i),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Yw(n,i),o=new Yw(n,i),a=new Yw([],i),l=Object(s["H"])(i.get("data"),Object(s["h"])($X,e,t,i));t&&(l=Object(s["n"])(l,Object(s["h"])(WX,t)));var u=IX(!!t,n);return r.initData(Object(s["H"])(l,(function(t){return t[0]})),null,u),o.initData(Object(s["H"])(l,(function(t){return t[1]})),null,u),a.initData(Object(s["H"])(l,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}var KX=YX;function ZX(t){t.registerComponentModel(VX),t.registerComponentView(KX),t.registerPreprocessor((function(t){fX(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var QX=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(yX),JX=QX,tK=kr(),eK=function(t,e,i,n){var r=kX(t,n[0]),o=kX(t,n[1]),a=r.coord,l=o.coord;a[0]=Object(s["O"])(a[0],-1/0),a[1]=Object(s["O"])(a[1],-1/0),l[0]=Object(s["O"])(l[0],1/0),l[1]=Object(s["O"])(l[1],1/0);var u=Object(s["J"])([{},r,o]);return u.coord=[r.coord,o.coord],u.x0=r.x,u.y0=r.y,u.x1=o.x,u.y1=o.y,u};function iK(t){return!isNaN(t)&&!isFinite(t)}function nK(t,e,i,n){var r=1-t;return iK(e[r])&&iK(i[r])}function rK(t,e){var i=e.coord[0],n=e.coord[1],r={coord:i,x:e.x0,y:e.y0},o={coord:n,x:e.x1,y:e.y1};return HS(t,"cartesian2d")?!(!i||!n||!nK(1,i,n,t)&&!nK(0,i,n,t))||AX(t,r,o):TX(t,r)||TX(t,o)}function oK(t,e,i,n,r){var o,a=n.coordinateSystem,s=t.getItemModel(e),l=Pn(s.get(i[0]),r.getWidth()),u=Pn(s.get(i[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(i,e));else{var c=t.get(i[0],e),h=t.get(i[1],e),d=[c,h];a.clampData&&a.clampData(d,d),o=a.dataToPoint(d,!0)}if(HS(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=t.get(i[0],e),h=t.get(i[1],e);iK(c)?o[0]=p.toGlobalCoord(p.getExtent()["x0"===i[0]?0:1]):iK(h)&&(o[1]=f.toGlobalCoord(f.getExtent()["y0"===i[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var aK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],sK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries((function(t){var e=yX.getMarkerModelFromSeries(t,"markArea");if(e){var n=e.getData();n.each((function(e){var r=Object(s["H"])(aK,(function(r){return oK(n,e,r,t,i)}));n.setItemLayout(e,r);var o=n.getItemGraphicEl(e);o.setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,i,n){var r=t.coordinateSystem,o=t.id,a=t.getData(),l=this.markerGroupMap,u=l.get(o)||l.set(o,{group:new bn});this.group.add(u.group),this.markKeep(u);var c=lK(r,t,e);e.setData(c),c.each((function(e){var i=Object(s["H"])(aK,(function(i){return oK(c,e,i,t,n)})),o=r.getAxis("x").scale,l=r.getAxis("y").scale,u=o.getExtent(),h=l.getExtent(),d=[o.parse(c.get("x0",e)),o.parse(c.get("x1",e))],p=[l.parse(c.get("y0",e)),l.parse(c.get("y1",e))];Dn(d),Dn(p);var f=!(u[0]>d[1]||u[1]<d[0]||h[0]>p[1]||h[1]<p[0]),g=!f;c.setItemLayout(e,{points:i,allClipped:g});var m=c.getItemModel(e).getModel("itemStyle").getItemStyle(),v=Fv(a,"color");m.fill||(m.fill=v,Object(s["C"])(m.fill)&&(m.fill=pe["e"](m.fill,.4))),m.stroke||(m.stroke=v),c.setItemVisual(e,"style",m)})),c.diff(tK(u).data).add((function(t){var e=c.getItemLayout(t);if(!e.allClipped){var i=new kg({shape:{points:e.points}});c.setItemGraphicEl(t,i),u.group.add(i)}})).update((function(t,i){var n=tK(u).data.getItemGraphicEl(i),r=c.getItemLayout(t);r.allClipped?n&&u.group.remove(n):(n?Fl(n,{shape:{points:r.points}},e,t):n=new kg({shape:{points:r.points}}),c.setItemGraphicEl(t,n),u.group.add(n))})).remove((function(t){var e=tK(u).data.getItemGraphicEl(t);u.group.remove(e)})).execute(),c.eachItemGraphicEl((function(t,i){var n=c.getItemModel(i),r=c.getItemVisual(i,"style");t.useStyle(c.getItemVisual(i,"style")),Xl(t,Kl(n),{labelFetcher:e,labelDataIndex:i,defaultText:c.getName(i)||"",inheritColor:Object(s["C"])(r.fill)?pe["e"](r.fill,1):"#000"}),Ol(t,n),Sl(t,null,null,n.get(["emphasis","disabled"])),bs(t).dataModel=e})),tK(u).data=c,u.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(LX);function lK(t,e,i){var n,r,o=["x0","y0","x1","y1"];if(t){var a=Object(s["H"])(t&&t.dimensions,(function(t){var i=e.getData(),n=i.getDimensionInfo(i.mapDimension(t))||{};return Object(s["m"])(Object(s["m"])({},n),{name:t,ordinalMeta:null})}));r=Object(s["H"])(o,(function(t,e){return{name:t,type:a[e%2].type}})),n=new Yw(r,i)}else r=[{name:"value",type:"float"}],n=new Yw(r,i);var l=Object(s["H"])(i.get("data"),Object(s["h"])(eK,e,t,i));t&&(l=Object(s["n"])(l,Object(s["h"])(rK,t)));var u=t?function(t,e,i,n){var o=t.coord[Math.floor(n/2)][n%2];return rp(o,r[n])}:function(t,e,i,n){return rp(t.value,r[n])};return n.initData(l,null,u),n.hasItemOption=!0,n}var uK=sK;function cK(t){t.registerComponentModel(JX),t.registerComponentView(uK),t.registerPreprocessor((function(t){fX(t.series,"markArea")&&(t.markArea=t.markArea||{})}))}var hK=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},dK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return o(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,i=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),s["t"](e)&&s["k"](e,(function(t,n){s["C"](t)&&(t={type:t}),e[n]=s["I"](t,hK(i,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i<t.length;i++){var n=t[i].get("name");if(this.isSelected(n)){this.select(n),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],i=[];t.eachRawSeries((function(n){var r,o=n.name;if(i.push(o),n.legendVisualProvider){var a=n.legendVisualProvider,s=a.getAllNames();t.isSeriesFiltered(n)||(i=i.concat(s)),s.length?e=e.concat(s):r=!0}else r=!0;r&&yr(n)&&e.push(n.name)})),this._availableNames=i;var n=this.get("data")||e,r=s["H"](n,(function(t){return(s["C"](t)||s["z"](t))&&(t={name:t}),new xu(t,this,this.ecModel)}),this);this._data=r},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected,i=this.get("selectedMode");if("single"===i){var n=this._data;s["k"](n,(function(t){e[t.get("name")]=!1}))}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;s["k"](t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;s["k"](t,(function(t){var i=t.get("name",!0);e.hasOwnProperty(i)||(e[i]=!0),e[i]=!e[i]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&s["r"](this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Uc),pK=dK,fK=s["h"],gK=s["k"],mK=bn,vK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.newlineDisabled=!1,i}return o(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new mK),this.group.add(this._selectorGroup=new mK),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),l=t.get("selectorPosition",!0);!a||l&&"auto"!==l||(l="horizontal"===o?"end":"start"),this.renderInner(r,t,e,i,a,o,l);var u=t.getBoxLayoutParams(),c={width:i.getWidth(),height:i.getHeight()},h=t.get("padding"),d=Bc(u,c,h),p=this.layoutInner(t,r,d,n,a,l),f=Bc(s["i"]({width:p.width,height:p.height},u),c,h);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=wW(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,i,n,r,o,a){var l=this.getContentGroup(),u=s["f"](),c=e.get("selectedMode"),h=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),gK(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new mK;return d.newline=!0,void l.add(d)}var p=i.getSeriesByName(a)[0];if(!u.get(a)){if(p){var f=p.getData(),g=f.getVisual("legendLineStyle")||{},m=f.getVisual("legendIcon"),v=f.getVisual("style"),y=this._createItem(p,a,o,r,e,t,g,v,m,c,n);y.on("click",fK(_K,a,null,n,h)).on("mouseover",fK(wK,p.name,null,n,h)).on("mouseout",fK(SK,p.name,null,n,h)),u.set(a,!0)}else i.eachRawSeries((function(i){if(!u.get(a)&&i.legendVisualProvider){var l=i.legendVisualProvider;if(!l.containName(a))return;var d=l.indexOfName(a),p=l.getItemVisual(d,"style"),f=l.getItemVisual(d,"legendIcon"),g=Object(pe["g"])(p.fill);g&&0===g[3]&&(g[3]=.2,p=s["m"](s["m"]({},p),{fill:Object(pe["h"])(g,"rgba")}));var m=this._createItem(i,a,o,r,e,t,{},p,f,c,n);m.on("click",fK(_K,null,a,n,h)).on("mouseover",fK(wK,null,a,n,h)).on("mouseout",fK(SK,null,a,n,h)),u.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,n,o,a)},e.prototype._createSelector=function(t,e,i,n,r){var o=this.getSelectorGroup();gK(t,(function(t){var n=t.type,r=new ys({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);Xl(r,{normal:a,emphasis:s},{defaultText:t.title}),xl(r)}))},e.prototype._createItem=function(t,e,i,n,r,o,a,l,u,c,h){var d=t.visualDrawType,p=r.get("itemWidth"),f=r.get("itemHeight"),g=r.isSelected(e),m=n.get("symbolRotate"),v=n.get("symbolKeepAspect"),y=n.get("icon");u=y||u||"roundRect";var b=yK(u,n,a,l,d,g,h),_=new mK,x=n.getModel("textStyle");if(!s["w"](t.getLegendIcon)||y&&"inherit"!==y){var w="inherit"===y&&t.getData().getVisual("symbol")?"inherit"===m?t.getData().getVisual("symbolRotate"):m:0;_.add(bK({itemWidth:p,itemHeight:f,icon:u,iconRotate:w,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}))}else _.add(t.getLegendIcon({itemWidth:p,itemHeight:f,icon:u,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:v}));var S="left"===o?p+5:-5,C=o,k=r.get("formatter"),M=e;s["C"](k)&&k?M=k.replace("{name}",null!=e?e:""):s["w"](k)&&(M=k(e));var O=n.get("inactiveColor");_.add(new ys({style:Zl(x,{text:M,x:S,y:f/2,fill:g?x.getTextColor():O,align:C,verticalAlign:"middle"})}));var T=new ts({shape:_.getBoundingRect(),invisible:!0}),A=n.getModel("tooltip");return A.get("show")&&Dm({el:T,componentModel:r,itemName:e,itemTooltipOption:A.option}),_.add(T),_.eachChild((function(t){t.silent=!0})),T.silent=!c,this.getContentGroup().add(_),xl(_),_.__legendDataIndex=i,_},e.prototype.layoutInner=function(t,e,i,n,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();jc(t.get("orient"),a,t.get("itemGap"),i.width,i.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){jc("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",m=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+d+c[f],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+h[1-p]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Sf);function yK(t,e,i,n,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),gK(t,(function(i,n){"inherit"===t[n]&&(t[n]=e[n])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?Wy(h,a):n.decal,"inherit"===u.fill&&(u.fill=n[r]),"inherit"===u.stroke&&(u.stroke=n[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?n:i).opacity),s(u,n);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,i),"auto"===u.fill&&(u.fill=n.fill),"auto"===u.stroke&&(u.stroke=n.fill),"auto"===p.stroke&&(p.stroke=n.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===f?n.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function bK(t){var e=t.icon||"roundRect",i=ny(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return i.setStyle(t.itemStyle),i.rotation=(t.iconRotate||0)*Math.PI/180,i.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i}function _K(t,e,i,n){SK(t,e,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),wK(t,e,i,n)}function xK(t){var e,i=t.getZr().storage.getDisplayList(),n=0,r=i.length;while(n<r&&!(e=i[n].states.emphasis))n++;return e&&e.hoverLayer}function wK(t,e,i,n){xK(i)||i.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function SK(t,e,i,n){xK(i)||i.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}var CK=vK;function kK(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;i<e.length;i++)if(!e[i].isSelected(t.name))return!1;return!0}))}function MK(t,e,i){var n,r={},o="toggleSelected"===t;return i.eachComponent("legend",(function(i){o&&null!=n?i[n?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](e.name),n=i.isSelected(e.name));var a=i.getData();Object(s["k"])(a,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&n:r[e]=n}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function OK(t){t.registerAction("legendToggleSelect","legendselectchanged",Object(s["h"])(MK,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Object(s["h"])(MK,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Object(s["h"])(MK,"inverseSelect")),t.registerAction("legendSelect","legendselected",Object(s["h"])(MK,"select")),t.registerAction("legendUnSelect","legendunselected",Object(s["h"])(MK,"unSelect"))}function TK(t){t.registerComponentModel(pK),t.registerComponentView(CK),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,kK),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),OK(t)}var AK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,i,n){var r=qc(e);t.prototype.init.call(this,e,i,n),IK(this,e,r)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),IK(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Mu(pK.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(pK);function IK(t,e,i){var n=t.getOrient(),r=[1,1];r[n.index]=0,Vc(e,i,{type:"box",ignoreSize:!!r})}var PK=AK,EK=bn,DK=["width","height"],LK=["x","y"],jK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.newlineDisabled=!0,i._currentIndex=0,i}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new EK),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new EK)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,i,n,r,o,a,l){var u=this;t.prototype.renderInner.call(this,e,i,n,r,o,a,l);var c=this._controllerGroup,h=i.get("pageIconSize",!0),d=s["t"](h)?h:[h,h];f("pagePrev",0);var p=i.getModel("pageTextStyle");function f(t,e){var n=t+"DataIndex",o=Tm(i.get("pageIcons",!0)[i.getOrient().name][e],{onclick:s["c"](u._pageGo,u,n,i,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});o.name=t,c.add(o)}c.add(new ys({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,i,n,r,o){var a=this.getSelectorGroup(),l=t.getOrient().index,u=DK[l],c=LK[l],h=DK[1-l],d=LK[1-l];r&&jc("horizontal",a,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),g=[-f.x,-f.y],m=s["d"](i);r&&(m[u]=i[u]-f[u]-p);var v=this._layoutContentAndController(t,n,m,l,u,h,d,c);if(r){if("end"===o)g[l]+=v[u]+p;else{var y=f[u]+p;g[l]-=y,v[c]-=y}v[u]+=f[u]+p,g[1-l]+=v[d]+v[h]/2-f[h]/2,v[h]=Math.max(v[h],f[h]),v[d]=Math.min(v[d],f[d]+g[1-l]),a.x=g[0],a.y=g[1],a.markRedraw()}return v},e.prototype._layoutContentAndController=function(t,e,i,n,r,o,a,l){var u=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;jc(t.get("orient"),u,t.get("itemGap"),n?i.width:null,n?null:i.height),jc("horizontal",h,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),p=h.getBoundingRect(),f=this._showController=d[r]>i[r],g=[-d.x,-d.y];e||(g[n]=u[l]);var m=[0,0],v=[-p.x,-p.y],y=s["P"](t.get("pageButtonGap",!0),t.get("itemGap",!0));if(f){var b=t.get("pageButtonPosition",!0);"end"===b?v[n]+=i[r]-p[r]:m[n]+=p[r]+y}v[1-n]+=d[o]/2-p[o]/2,u.setPosition(g),c.setPosition(m),h.setPosition(v);var _={x:0,y:0};if(_[r]=f?i[r]:d[r],_[o]=Math.max(d[o],p[o]),_[a]=Math.min(0,p[a]+v[1-n]),c.__rectSize=i[r],f){var x={x:0,y:0};x[r]=Math.max(i[r]-p[r]-y,0),x[o]=_[o],c.setClipPath(new ts({shape:x})),c.__rectSize=x[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&Fl(u,{x:w.contentPosition[0],y:w.contentPosition[1]},f?t:null),this._updatePageInfoView(t,w),_},e.prototype._pageGo=function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var i=this._controllerGroup;s["k"](["pagePrev","pageNext"],(function(n){var r=n+"DataIndex",o=null!=e[r],a=i.childOfName(n);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var n=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,l=e.pageCount;n&&r&&n.setStyle("text",s["C"](r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==l?"":l+""):r({current:a,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,r=t.getOrient().index,o=DK[r],a=LK[r],s=this._findTargetItemIndex(e),l=i.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,m=p,v=null;f<=c;++f)v=y(l[f]),(!v&&m.e>g.s+n||v&&!b(v,g.s))&&(g=m.i>g.i?m:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),m=v;for(f=s-1,g=p,m=p,v=null;f>=-1;--f)v=y(l[f]),v&&b(m,v.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=v;return d;function y(t){if(t){var e=t.getBoundingRect(),i=e[a]+t[a];return{s:i,e:i+e[o],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+n}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,i,n=this.getContentGroup();return n.eachChild((function(n,r){var o=n.__legendDataIndex;null==i&&null!=o&&(i=r),o===t&&(e=r)})),null!=e?e:i},e.type="legend.scroll",e}(CK),RK=jK;function BK(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(i)}))}))}function FK(t){A_(TK),t.registerComponentModel(PK),t.registerComponentView(RK),BK(t)}function NK(t){A_(TK),A_(FK)}var zK=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="dataZoom.inside",e.defaultOption=Mu(ZG.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(ZG),VK=zK,qK=kr();function $K(t,e,i){qK(t).coordSysRecordMap.each((function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=i)}))}function HK(t,e){for(var i=qK(t).coordSysRecordMap,n=i.keys(),r=0;r<n.length;r++){var o=n[r],a=i.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||GK(i,a))}}}function GK(t,e){if(e){t.removeKey(e.model.uid);var i=e.controller;i&&i.dispose()}}function WK(t,e){var i={model:e,containsPoint:Object(s["h"])(YK,e),dispatchAction:Object(s["h"])(UK,t),dataZoomInfoMap:null,controller:null},n=i.controller=new zA(t.getZr());return Object(s["k"])(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(e){var n=[];i.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,i.model.mainType,i.controller,e);!r.model.get("disabled",!0)&&a&&n.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),n.length&&i.dispatchAction(n)}))})),i}function UK(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function YK(t,e,i,n){return t.coordinateSystem.containPoint([i,n])}function XK(t){var e,i="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");n[i+a]>n[i+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function KK(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var i=qK(e),n=i.coordSysRecordMap||(i.coordSysRecordMap=Object(s["f"])());n.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var i=UG(t);Object(s["k"])(i.infoList,(function(i){var r=i.model.uid,o=n.get(r)||n.set(r,WK(e,i.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(s["f"])());a.set(t.uid,{dzReferCoordSysInfo:i,model:t,getRange:null})}))})),n.each((function(t){var e,i=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=XK(r);i.enable(a.controlType,a.opt),i.setPointerChecker(t.containsPoint),Xm(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else GK(n,t)}))}))}var ZK=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return o(e,t),e.prototype.render=function(e,i,n){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),$K(n,e,{pan:Object(s["c"])(QK.pan,this),zoom:Object(s["c"])(QK.zoom,this),scrollMove:Object(s["c"])(QK.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){HK(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(eW),QK={zoom:function(t,e,i,n){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=tZ[e](null,[n.originX,n.originY],a,i,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/n.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return AR(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:JK((function(t,e,i,n,r,o){var a=tZ[n]([o.oldX,o.oldY],[o.newX,o.newY],e,r,i);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:JK((function(t,e,i,n,r,o){var a=tZ[n]([0,0],[o.scrollDelta,o.scrollDelta],e,r,i);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function JK(t){return function(e,i,n,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,i,n,r);return AR(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var tZ={grid:function(t,e,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,i,n,r){var o=i.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},eZ=ZK;function iZ(t){pW(t),t.registerComponentModel(VK),t.registerComponentView(eZ),KK(t)}var nZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Mu(ZG.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(ZG),rZ=nZ,oZ=ts,aZ=7,sZ=1,lZ=30,uZ=7,cZ="horizontal",hZ="vertical",dZ=5,pZ=["line","bar","candlestick","scatter"],fZ={easing:"cubicOut",duration:100,delay:0},gZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._displayables={},i}return o(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(s["c"])(this._onBrush,this),this._onBrushEnd=Object(s["c"])(this._onBrushEnd,this)},e.prototype.render=function(e,i,n,r){if(t.prototype.render.apply(this,arguments),Xm(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Km(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new bn;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,i=t.get("brushSelect"),n=i?uZ:0,r=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===cZ?{right:o.width-r.x-r.width,top:o.height-lZ-aZ-n,width:r.width,height:lZ}:{right:aZ,top:r.y,width:lZ,height:r.height},l=qc(t.option);Object(s["k"])(["right","top","width","height"],(function(t){"ph"===l[t]&&(l[t]=a[t])}));var u=Bc(l,o);this._location={x:u.x,y:u.y},this._size=[u.width,u.height],this._orient===hZ&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==cZ||r?i===cZ&&r?{scaleY:a?1:-1,scaleX:-1}:i!==hZ||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.sliderGroup,n=t.get("brushSelect");i.add(new oZ({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new oZ({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(s["c"])(this._onClickPanel,this)}),o=this.api.getZr();n?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),i.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,i=this._shadowSize||[],n=t.series,r=n.getRawData(),o=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=o){var a=this._shadowPolygonPts,s=this._shadowPolylinePts;if(r!==this._shadowData||o!==this._shadowDim||e[0]!==i[0]||e[1]!==i[1]){var l=r.getDataExtent(o),u=.3*(l[1]-l[0]);l=[l[0]-u,l[1]+u];var c,h=[0,e[1]],d=[0,e[0]],p=[[e[0],0],[0,0]],f=[],g=d[1]/(r.count()-1),m=0,v=Math.round(r.count()/e[0]);r.each([o],(function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:In(t,l,h,!0);i&&!c&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,c=i}})),a=this._shadowPolygonPts=p,s=this._shadowPolylinePts=f}this._shadowData=r,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var y=this.dataZoomModel,b=0;b<3;b++){var _=x(1===b);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function x(t){var e=y.getModel(t?"selectedDataBackground":"dataBackground"),i=new bn,n=new kg({shape:{points:a},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Tg({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return i.add(n),i.add(r),i}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,n=this.ecModel;return t.eachTargetAxis((function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();Object(s["k"])(a,(function(t){if(!i&&!(!0!==e&&Object(s["r"])(pZ,t.get("type"))<0)){var a,l=n.getComponent(GG(r),o).axis,u=mZ(r),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r,otherDim:u,otherAxisInverse:a}}}),this)}),this),i}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,i=e.handles=[null,null],n=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,l=this.api,u=a.get("borderRadius")||0,c=a.get("brushSelect"),h=e.filler=new oZ({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new oZ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:u},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:sZ,fill:"rgba(0,0,0,0)"}})),Object(s["k"])([0,1],(function(e){var o=a.get("handleIcon");!ty[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var l=ny(o,-1,0,2,2,null,!0);l.attr({cursor:vZ(this._orient),draggable:!0,drift:Object(s["c"])(this._onDragMove,this,e),ondragend:Object(s["c"])(this._onDragEnd,this),onmouseover:Object(s["c"])(this._showDataInfo,this,!0),onmouseout:Object(s["c"])(this._showDataInfo,this,!1),z2:5});var u=l.getBoundingRect(),c=a.get("handleSize");this._handleHeight=Pn(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(a.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),xl(l);var h=a.get("handleColor");null!=h&&(l.style.fill=h),r.add(i[e]=l);var d=a.getModel("textStyle");t.add(n[e]=new ys({silent:!0,invisible:!0,style:Zl(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=h;if(c){var p=Pn(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new ts({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=.8*p,m=e.moveHandleIcon=ny(a.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(p,10));d=e.moveZone=new ts({invisible:!0,shape:{y:o[1]-v,height:p+v}}),d.on("mouseover",(function(){l.enterEmphasis(f)})).on("mouseout",(function(){l.leaveEmphasis(f)})),r.add(f),r.add(m),r.add(d)}d.attr({draggable:!0,cursor:vZ(this._orient),drift:Object(s["c"])(this._onDragMove,this,"all"),ondragstart:Object(s["c"])(this._showDataInfo,this,!0),ondragend:Object(s["c"])(this._onDragEnd,this),onmouseover:Object(s["c"])(this._showDataInfo,this,!0),onmouseout:Object(s["c"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[In(t[0],[0,100],e,!0),In(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var i=this.dataZoomModel,n=this._handleEnds,r=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];AR(e,n,r,i.get("zoomLock")?"all":t,null!=o.minSpan?In(o.minSpan,a,r,!0):null,null!=o.maxSpan?In(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=Dn([In(n[0],r,a,!0),In(n[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,i=this._handleEnds,n=Dn(i.slice()),r=this._size;Object(s["k"])([0,1],(function(t){var n=e.handles[t],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:i[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:r[1]});var o={x:n[0],width:n[1]-n[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,l=[0,n[0],n[1],r[0]],u=0;u<a.length;u++){var c=a[u],h=c.getClipPath();h||(h=new ts,c.setClipPath(h)),h.setShape({x:l[u],y:0,width:l[u+1]-l[u],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=Dn(this._handleEnds.slice());function h(t){var e=_m(i.handles[t].parent,this.group),a=wm(0===t?"right":"left",e),s=this._handleWidth/2+dZ,l=xm([c[t]+(0===t?-s:s),this._size[1]/2],e);n[t].setStyle({x:l[0],y:l[1],verticalAlign:r===cZ?"middle":a,align:r===cZ?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var i=this.dataZoomModel,n=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return Object(s["w"])(n)?n(t,o):Object(s["C"])(n)?n.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,i=e.handleLabels;i[0].attr("invisible",!t),i[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,i,n){this._dragging=!0,tt(n.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=xm([e,i],r,!0),a=this._updateInterval(t,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,o=this._updateInterval("all",i[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,i=t.offsetY;this._brushStart=new ji(e,i),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var i=e.shape,n=+new Date;if(!(n-this._brushStartTime<200&&Math.abs(i.width)<5)){var r=this._getViewExtent(),o=[0,100];this._range=Dn([In(i.x,r,o,!0),In(i.x+i.width,r,o,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(tt(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var i=this._displayables,n=this.dataZoomModel,r=i.brushRect;r||(r=i.brushRect=new oZ({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?fZ:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=UG(this.dataZoomModel).infoList;if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}if(!t){var n=this.api.getWidth(),r=this.api.getHeight();t={x:.2*n,y:.2*r,width:.6*n,height:.6*r}}return t},e.type="dataZoom.slider",e}(eW);function mZ(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function vZ(t){return"vertical"===t?"ns-resize":"ew-resize"}var yZ=gZ;function bZ(t){t.registerComponentModel(rZ),t.registerComponentView(yZ),pW(t)}function _Z(t){A_(iZ),A_(bZ)}var xZ={get:function(t,e,i){var n=s["d"]((wZ[t]||{})[e]);return i&&s["t"](n)?n[n.length-1]:n}},wZ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},SZ=xZ,CZ=FD.mapVisual,kZ=FD.eachVisual,MZ=s["t"],OZ=s["k"],TZ=Dn,AZ=In,IZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.stateList=["inRange","outOfRange"],i.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],i.layoutMode={type:"box",ignoreSize:!0},i.dataBound=[-1/0,1/0],i.targetVisuals={},i.controllerVisuals={},i}return o(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&fY(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=s["c"](t,this),this.controllerVisuals=pY(this.option.controller,e,t),this.targetVisuals=pY(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,i){e.push(i)})):e=nr(t),e},e.prototype.eachTargetSeries=function(t,e){s["k"](this.getTargetSeriesIndices(),(function(i){var n=this.ecModel.getSeriesByIndex(i);n&&t.call(e,n)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(i){i===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,i){var n,r=this.option,o=r.precision,a=this.dataBound,l=r.formatter;i=i||["<",">"],s["t"](t)&&(t=t.slice(),n=!0);var u=e?t:n?[c(t[0]),c(t[1])]:c(t);return s["C"](l)?l.replace("{value}",n?u[0]:u).replace("{value2}",n?u[1]:u):s["w"](l)?n?l(t[0],t[1]):l(t):n?t[0]===a[0]?i[0]+" "+u[1]:t[1]===a[1]?i[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=TZ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var i=t.dimensions,n=i.length-1;n>=0;n--){var r=i[n],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,i={inRange:e.inRange,outOfRange:e.outOfRange},n=e.target||(e.target={}),r=e.controller||(e.controller={});s["I"](n,i),s["I"](r,i);var o=this.isCategory();function a(i){MZ(e.color)&&!i.inRange&&(i.inRange={color:e.color.slice().reverse()}),i.inRange=i.inRange||{color:t.get("gradientColor")}}function l(t,e,i){var n=t[e],r=t[i];n&&!r&&(r=t[i]={},OZ(n,(function(t,e){if(FD.isValidType(e)){var i=SZ.get(e,"inactive",o);null!=i&&(r[e]=i,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function u(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),r=this.getItemSymbol(),a=r||"roundRect";OZ(this.stateList,(function(r){var l=this.itemSize,u=t[r];u||(u=t[r]={color:o?n:[n]}),null==u.symbol&&(u.symbol=e&&s["d"](e)||(o?a:[a])),null==u.symbolSize&&(u.symbolSize=i&&s["d"](i)||(o?l[0]:[l[0],l[0]])),u.symbol=CZ(u.symbol,(function(t){return"none"===t?a:t}));var c=u.symbolSize;if(null!=c){var h=-1/0;kZ(c,(function(t){t>h&&(h=t)})),u.symbolSize=CZ(c,(function(t){return AZ(t,[0,h],[0,l[0]],!0)}))}}),this)}a.call(this,n),a.call(this,r),l.call(this,n,"inRange","outOfRange"),u.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Uc),PZ=IZ,EZ=[20,140],DZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=EZ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=EZ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):s["t"](e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),s["k"](this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=Dn((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,i=this.getExtent();return(e[0]<=i[0]||e[0]<=t)&&(e[1]>=i[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],r=i.getData();r.each(this.getDataDimensionIndex(r),(function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},e.prototype.getVisualMeta=function(t){var e=LZ(this,"outOfRange",this.getExtent()),i=LZ(this,"inRange",this.option.range.slice()),n=[];function r(e,i){n.push({value:e,color:t(e,i)})}for(var o=0,a=0,s=i.length,l=e.length;a<l&&(!i.length||e[a]<=i[0]);a++)e[a]<i[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&n.length&&r(i[o],"outOfRange"),r(i[o],"inRange");for(u=1;a<l;a++)(!i.length||i[i.length-1]<e[a])&&(u&&(n.length&&r(n[n.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Mu(PZ.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(PZ);function LZ(t,e,i){if(i[0]===i[1])return i.slice();for(var n=200,r=(i[1]-i[0])/n,o=i[0],a=[],s=0;s<=n&&o<i[1];s++)a.push(o),o+=r;return a.push(i[1]),a}var jZ=DZ,RZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.autoPositionValues={left:1,right:1,top:1,bottom:1},i}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,i,n){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,i,n):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,i=bc(e.get("padding")||0),n=t.getBoundingRect();t.add(new ts({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,i){i=i||{};var n=i.forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function l(t){return o[t]}function u(t,e){o[t]=e}var c=r.controllerVisuals[n||r.getValueState(t)],h=FD.prepareVisualTypes(c);return s["k"](h,(function(n){var r=c[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=c.__alphaForOpacity),FD.dependsOn(n,e)&&r&&r.applyVisual(t,l,u)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,i=this.api;Fc(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},e.prototype.doRender=function(t,e,i,n){},e.type="visualMap",e}(Sf),BZ=RZ,FZ=[["left","right","width"],["top","bottom","height"]];function NZ(t,e,i){var n=t.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===n.orient?1:0,s=FZ[a],l=[0,null,10],u={},c=0;c<3;c++)u[FZ[1-a][c]]=l[c],u[s[c]]=2===c?i[0]:n[s[c]];var h=[["x","width",3],["y","height",0]][a],d=Bc(u,o,n.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function zZ(t,e){return s["k"](t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var VZ=In,qZ=s["k"],$Z=Math.min,HZ=Math.max,GZ=12,WZ=6,UZ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._shapes={},i._dataInterval=[],i._handleEnds=[],i._hoverLinkDataIndices=[],i}return o(e,t),e.prototype.doRender=function(t,e,i,n){this._api=i,n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===i?-o:a[1]+o],s),u=this._applyTransform(0===i?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new ys({style:Zl(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:n})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,i=this._shapes,n=e.itemSize,r=this._orient,o=this._useHandle,a=NZ(e,this.api,n),l=i.mainGroup=this._createBarGroup(a),u=new bn;l.add(u),u.add(i.outOfRange=YZ()),u.add(i.inRange=YZ(null,o?ZZ(this._orient):null,s["c"](this._dragHandle,this,"all",!1),s["c"](this._dragHandle,this,"all",!0))),u.setClipPath(new ts({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var c=e.textStyleModel.getTextRect("国"),h=HZ(c.width,c.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(e,l,0,n,h,r),this._createHandle(e,l,1,n,h,r)),this._createIndicator(e,l,n,h,r),t.add(l)},e.prototype._createHandle=function(t,e,i,n,r,o){var a=s["c"](this._dragHandle,this,i,!1),l=s["c"](this._dragHandle,this,i,!0),u=en(t.get("handleSize"),n[0]),c=ny(t.get("handleIcon"),-u/2,-u/2,u,u,null,!0),h=ZZ(this._orient);c.attr({cursor:h,draggable:!0,drift:a,ondragend:l,onmousemove:function(t){tt(t.event)}}),c.x=n[0]/2,c.useStyle(t.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),Tl(c,!0),e.add(c);var d=this.visualMapModel.textStyleModel,p=new ys({cursor:h,draggable:!0,drift:a,onmousemove:function(t){tt(t.event)},ondragend:l,style:Zl(d,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[u,0],g=this._shapes;g.handleThumbs[i]=c,g.handleLabelPoints[i]=f,g.handleLabels[i]=p},e.prototype._createIndicator=function(t,e,i,n,r){var o=en(t.get("indicatorSize"),i[0]),a=ny(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Ga){var u=a.style;a.useStyle(s["m"]({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else a.useStyle(l);e.add(a);var c=this.visualMapModel.textStyleModel,h=new ys({silent:!0,invisible:!0,style:Zl(c,{x:0,y:0,text:""})});this.group.add(h);var d=[("horizontal"===r?n/2:WZ)+i[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=h,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([i,n],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():KZ(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[VZ(e[0],i,n,!0),VZ(e[1],i,n,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,r=[0,i.itemSize[1]];AR(e,n,r,t,0);var o=i.getExtent();this._dataInterval=[VZ(n[0],r,o,!0),VZ(n[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,r,"outOfRange");n.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(i,a);return{barColor:new Wg(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var i=100,n=[],r=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<i;o++){var a=t[0]+r*o;if(a>t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:o/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new bn("horizontal"!==e||i?"horizontal"===e&&i?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||i?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,o=i.handleLabels,a=n.itemSize,s=n.getExtent();qZ([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=VZ(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/a[0],u.x=a[0]-h/2;var d=xm(i.handleLabelPoints[l],_m(u,this.group));o[l].setStyle({x:d[0],y:d[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",i.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,i,n){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,"color",c),d=this.getControllerVisual(t,"symbolSize"),p=VZ(t,o,s,!0),f=a[0]-d/2,g={x:u.x,y:u.y};u.y=p,u.x=f;var m=xm(l.indicatorLabelPoint,_m(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),b=this._orient,_="horizontal"===b;v.setStyle({text:(i||"")+r.formatValueText(e),verticalAlign:_?y:"middle",align:_?"center":y});var x={x:f,y:p,style:{fill:h}},w={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(x,S),v.animateTo(w,S)}else u.attr(x),v.attr(w);this._firstShowIndicator=!1;var C=this._shapes.handleLabels;if(C)for(var k=0;k<C.length;k++)this._api.enterBlur(C[k])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);n[1]=$Z(HZ(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var r=[0,n[1]],o=i.getExtent();t=$Z(HZ(r[0],t),r[1]);var a=XZ(i,o,r),s=[t-a,t+a],l=VZ(t,r,o,!0),u=[VZ(s[0],r,o,!0),VZ(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,h=[];(e||KZ(i))&&(h=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var d=Sr(c,h);this._dispatchHighDown("downplay",zZ(d[0],i)),this._dispatchHighDown("highlight",zZ(d[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=bs(e).dataIndex){var n=bs(e),r=this.ecModel.getSeriesByIndex(n.seriesIndex);if(i.isTargetSeries(r)){var o=r.getData(n.dataType),a=o.getStore().get(i.getDataDimensionIndex(o),n.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var i=0;i<e.length;i++)this._api.leaveBlur(e[i])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",zZ(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,i,n){var r=_m(e,n?null:this.group);return s["t"](t)?xm(t,r,i):wm(t,r,i)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(BZ);function YZ(t,e,i,n){return new kg({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){tt(t.event)},ondragend:n})}function XZ(t,e,i){var n=GZ/2,r=t.get("hoverLinkDataSize");return r&&(n=VZ(r,e,i,!0)/2),n}function KZ(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function ZZ(t){return"vertical"===t?"ns-resize":"ew-resize"}var QZ=UZ,JZ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},tQ=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},eQ=[{createOnAllSeries:!0,reset:function(t,e){var i=[];return e.eachComponent("visualMap",(function(e){var n=t.pipelineContext;!e.isTargetSeries(t)||n&&n.large||i.push(mY(e.stateList,e.targetVisuals,s["c"](e.getValueState,e),e.getDataDimensionIndex(t.getData())))})),i}},{createOnAllSeries:!0,reset:function(t,e){var i=t.getData(),n=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(s["c"](iQ,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(i);o>=0&&(r.dimension=o,n.push(r))}})),t.getData().setVisual("visualMeta",n)}}];function iQ(t,e,i,n){for(var r=e.targetVisuals[n],o=FD.prepareVisualTypes(r),a={color:Fv(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(i,h,d)}return a.color;function h(t){return a[t]}function d(t,e){a[t]=e}}var nQ=s["k"];function rQ(t){var e=t&&t.visualMap;s["t"](e)||(e=e?[e]:[]),nQ(e,(function(t){if(t){oQ(t,"splitList")&&!oQ(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&s["t"](e)&&nQ(e,(function(t){s["A"](t)&&(oQ(t,"start")&&!oQ(t,"min")&&(t.min=t.start),oQ(t,"end")&&!oQ(t,"max")&&(t.max=t.end))}))}}))}function oQ(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var aQ=!1;function sQ(t){aQ||(aQ=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(JZ,tQ),Object(s["k"])(eQ,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(rQ))}function lQ(t){t.registerComponentModel(jZ),t.registerComponentView(QZ),sQ(t)}var uQ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._pieceList=[],i}return o(e,t),e.prototype.optionUpdated=function(e,i){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],cQ[this._mode].call(this,this._pieceList),this._resetSelected(e,i);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=s["d"](r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=s["H"](this._pieceList,(function(t){return t=s["d"](t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,i={},n=FD.listVisualTypes(),r=this.isCategory();function o(t,e,i){return t&&t[e]&&t[e].hasOwnProperty(i)}s["k"](e.pieces,(function(t){s["k"](n,(function(e){t.hasOwnProperty(e)&&(i[e]=1)}))})),s["k"](i,(function(t,i){var n=!1;s["k"](this.stateList,(function(t){n=n||o(e,t,i)||o(e.target,t,i)}),this),!n&&s["k"](this.stateList,(function(t){(e[t]||(e[t]={}))[i]=SZ.get(i,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var i=this.option,n=this._pieceList,r=(e?i:t).selected||{};if(i.selected=r,s["k"](n,(function(t,e){var i=this.getSelectedMapKey(t);r.hasOwnProperty(i)||(r[i]=!0)}),this),"single"===i.selectedMode){var o=!1;s["k"](n,(function(t,e){var i=this.getSelectedMapKey(t);r[i]&&(o?r[i]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=s["d"](t)},e.prototype.getValueState=function(t){var e=FD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],i=this._pieceList;return this.eachTargetSeries((function(n){var r=[],o=n.getData();o.each(this.getDataDimensionIndex(o),(function(e,n){var o=FD.findPieceIndex(e,i);o===t&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],i=["",""],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return s["k"](r,(function(t){var e=t.interval;e&&(e[0]>a&&l([a,e[0]],"outOfRange"),l(e.slice()),a=e[1])}),this),{stops:e,outerColors:i}}function l(r,o){var a=n.getRepresentValue({interval:r});o||(o=n.getValueState(a));var s=t(a,o);r[0]===-1/0?i[0]=s:r[1]===1/0?i[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Mu(PZ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(PZ),cQ={splitNumber:function(t){var e=this.option,i=Math.min(e.precision,20),n=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;e.precision=i,o=+o.toFixed(i),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var a=0,l=n[0];a<r;l+=o,a++){var u=a===r-1?n[1]:l+o;t.push({interval:[l,u],close:[1,1]})}e.maxOpen&&t.push({interval:[n[1],1/0],close:[0,0]}),Yn(t),s["k"](t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;s["k"](e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),hQ(e,t)},pieces:function(t){var e=this.option;s["k"](e.pieces,(function(e,i){s["A"](e)||(e={value:e});var n={text:"",index:i};if(null!=e.label&&(n.text=e.label),e.hasOwnProperty("value")){var r=n.value=e.value;n.interval=[r,r],n.close=[1,1]}else{for(var o=n.interval=[],a=n.close=[0,0],l=[1,0,1],u=[-1/0,1/0],c=[],h=0;h<2;h++){for(var d=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==o[h];p++)o[h]=e[d[p]],a[h]=l[p],c[h]=2===p;null==o[h]&&(o[h]=u[h])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(n.value=o[0])}n.visual=FD.retrieveVisuals(e),t.push(n)}),this),hQ(e,t),Yn(t),s["k"](t,(function(t){var e=t.close,i=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)}),this)}};function hQ(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var dQ=uQ,pQ=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return o(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),n=e.textStyleModel,r=n.getFont(),o=n.getTextColor(),a=this._getItemAlign(),l=e.itemSize,u=this._getViewData(),c=u.endsText,h=s["O"](e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],l,h,a),s["k"](u.viewPieceList,(function(n){var u=n.piece,c=new bn;c.onclick=s["c"](this._onItemClick,this,u),this._enableHoverLink(c,n.indexInModelPieceList);var d=e.getRepresentValue(u);if(this._createItemSymbol(c,d,[0,0,l[0],l[1]]),h){var p=this.visualMapModel.getValueState(d);c.add(new ys({style:{x:"right"===a?-i:l[0]+i,y:l[1]/2,text:u.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===p?.5:1}}))}t.add(c)}),this),c&&this._renderEndsText(t,c[1],l,h,a),jc(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var i=this;t.on("mouseover",(function(){return n("highlight")})).on("mouseout",(function(){return n("downplay")}));var n=function(t){var n=i.visualMapModel;n.option.hoverLink&&i.api.dispatchAction({type:t,batch:zZ(n.findTargetDataIndices(e),n)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return NZ(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},e.prototype._renderEndsText=function(t,e,i,n,r){if(e){var o=new bn,a=this.visualMapModel.textStyleModel;o.add(new ys({style:Zl(a,{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=s["H"](t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=t.get("text"),n=t.get("orient"),r=t.get("inverse");return("horizontal"===n?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},e.prototype._createItemSymbol=function(t,e,i){t.add(ny(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,i=e.option,n=i.selectedMode;if(n){var r=s["d"](i.selected),o=e.getSelectedMapKey(t);"single"===n||!0===n?(r[o]=!0,s["k"](r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(BZ),fQ=pQ;function gQ(t){t.registerComponentModel(dQ),t.registerComponentView(fQ),sQ(t)}function mQ(t){A_(lQ),A_(gQ)}var vQ={label:{enabled:!0},decal:{show:!1}},yQ=kr(),bQ={};function _Q(t,e){var i=t.getModel("aria");if(i.get("enabled")){var n=s["d"](vQ);s["I"](n.label,t.getLocaleModel().get("aria"),!1),s["I"](i.option,n,!1),r(),o()}function r(){var e=i.getModel("decal"),n=e.get("show");if(n){var r=s["f"]();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=r.get(t.type);e||(e={},r.set(t.type,e)),yQ(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(s["w"](e.enableAriaDecal))e.enableAriaDecal();else{var i=e.getData();if(e.isColorBySeries()){var n=xh(e.ecModel,e.name,bQ,t.getSeriesCount()),r=i.getVisual("decal");i.setVisual("decal",c(r,n))}else{var o=e.getRawData(),a={},l=yQ(e).scope;i.each((function(t){var e=i.getRawIndex(t);a[e]=t}));var u=o.count();o.each((function(t){var n=a[t],r=o.getName(t)||t+"",s=xh(e.ecModel,r,l,u),h=i.getItemVisual(n,"decal");i.setItemVisual(n,"decal",c(h,s))}))}}function c(t,e){var i=t?s["m"](s["m"]({},e),t):e;return i.dirty=!0,i}}))}}function o(){var n=t.getLocaleModel().get("aria"),r=i.getModel("label");if(r.option=s["i"](r.option,n),r.get("enabled")){var o=e.getZr().dom;if(r.get("description"))o.setAttribute("aria-label",r.get("description"));else{var c,h=t.getSeriesCount(),d=r.get(["data","maxCount"])||10,p=r.get(["series","maxCount"])||10,f=Math.min(h,p);if(!(h<1)){var g=l();if(g){var m=r.get(["general","withTitle"]);c=a(m,{title:g})}else c=r.get(["general","withoutTitle"]);var v=[],y=h>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]);c+=a(y,{seriesCount:h}),t.eachSeries((function(t,e){if(e<f){var i=void 0,n=t.get("name"),o=n?"withName":"withoutName";i=h>1?r.get(["series","multiple",o]):r.get(["series","single",o]),i=a(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:u(t.subType)});var s=t.getData();if(s.count()>d){var l=r.get(["data","partialData"]);i+=a(l,{displayCnt:d})}else i+=r.get(["data","allData"]);for(var c=r.get(["data","separator","middle"]),p=r.get(["data","separator","end"]),g=[],m=0;m<s.count();m++)if(m<d){var y=s.getName(m),b=s.getValues(m),_=r.get(["data",y?"withName":"withoutName"]);g.push(a(_,{name:y,value:b.join(c)}))}i+=g.join(c)+p,v.push(i)}}));var b=r.getModel(["series","multiple","separator"]),_=b.get("middle"),x=b.get("end");c+=v.join(_)+x,o.setAttribute("aria-label",c)}}}}function a(t,e){if(!s["C"](t))return t;var i=t;return s["k"](e,(function(t,e){i=i.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),i}function l(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}function u(e){return t.getLocaleModel().get(["series","typeNames"])[e]||"自定义图"}}function xQ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},s["k"](["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}function wQ(t){t.registerPreprocessor(xQ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,_Q)}var SQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},CQ=function(){function t(t){var e=this._condVal=Object(s["C"])(t)?new RegExp(t):Object(s["B"])(t)?t:null;if(null==e){var i="";0,Ah(i)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(s["C"])(e)?this._condVal.test(t):!!Object(s["z"])(e)&&this._condVal.test(t+"")},t}(),kQ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),MQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),OQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),TQ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),AQ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=this.getValue,i=e(this.valueGetterParam),n=t?this.valueParser(i):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(t?n:i))return!1;return!0},t}();function IQ(t,e){if(!0===t||!1===t){var i=new kQ;return i.value=t,i}var n="";return LQ(t)||Ah(n),t.and?PQ("and",t,e):t.or?PQ("or",t,e):t.not?EQ(t,e):DQ(t,e)}function PQ(t,e,i){var n=e[t],r="";Object(s["t"])(n)||Ah(r),n.length||Ah(r);var o="and"===t?new MQ:new OQ;return o.children=Object(s["H"])(n,(function(t){return IQ(t,i)})),o.children.length||Ah(r),o}function EQ(t,e){var i=t.not,n="";LQ(i)||Ah(n);var r=new TQ;return r.child=IQ(i,e),r.child||Ah(n),r}function DQ(t,e){for(var i="",n=e.prepareGetValue(t),r=[],o=Object(s["F"])(t),a=t.parser,l=a?ap(a):null,u=0;u<o.length;u++){var c=o[u];if("parser"!==c&&!e.valueGetterAttrMap.get(c)){var h=Object(s["q"])(SQ,c)?SQ[c]:c,d=t[c],p=l?l(d):d,f=hp(h,p)||"reg"===h&&new CQ(p);f||Ah(i),r.push(f)}}r.length||Ah(i);var g=new AQ;return g.valueGetterParam=n,g.valueParser=l,g.getValue=e.getValue,g.subCondList=r,g}function LQ(t){return Object(s["A"])(t)&&!Object(s["u"])(t)}var jQ=function(){function t(t,e){this._cond=IQ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function RQ(t,e){return new jQ(t,e)}var BQ={type:"echarts:filter",transform:function(t){for(var e,i=t.upstream,n=RQ(t.config,{valueGetterAttrMap:Object(s["f"])({dimension:!0}),prepareGetValue:function(t){var e="",n=t.dimension;Object(s["q"])(t,"dimension")||Ah(e);var r=i.getDimensionInfo(n);return r||Ah(e),{dimIdx:r.index}},getValue:function(t){return i.retrieveValueFromItem(e,t.dimIdx)}}),r=[],o=0,a=i.count();o<a;o++)e=i.getRawDataItem(o),n.evaluate()&&r.push(e);return{data:r}}};var FQ={type:"echarts:sort",transform:function(t){var e=t.upstream,i=t.config,n="",r=nr(i);r.length||Ah(n);var o=[];Object(s["k"])(r,(function(t){var i=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==i&&Ah(n),"asc"!==r&&"desc"!==r&&Ah(n),s&&"min"!==s&&"max"!==s){var l="";0,Ah(l)}if("asc"!==r&&"desc"!==r){var u="";0,Ah(u)}var c=e.getDimensionInfo(i);c||Ah(n);var h=a?ap(a):null;a&&!h&&Ah(n),o.push({dimIdx:c.index,parser:h,comparator:new up(r,s)})}));var a=e.sourceFormat;a!==Jc&&a!==th&&Ah(n);for(var l=[],u=0,c=e.count();u<c;u++)l.push(e.getRawDataItem(u));return l.sort((function(t,i){for(var n=0;n<o.length;n++){var r=o[n],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(i,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:l}}};function NQ(t){t.registerTransform(BQ),t.registerTransform(FQ)}var zQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.prototype.init=function(e,i,n){t.prototype.init.call(this,e,i,n),this._sourceManager=new Rp(this),Bp(this)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),Bp(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:rh},e}(Uc),VQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.type="dataset",e}(Sf);function qQ(t){t.registerComponentModel(zQ),t.registerComponentView(VQ)}var $Q=ha.CMD;function HQ(t,e){return Math.abs(t-e)<1e-5}function GQ(t){var e,i,n,r,o,a=t.data,s=t.len(),l=[],u=0,c=0,h=0,d=0;function p(t,i){e&&e.length>2&&l.push(e),e=[t,i]}function f(t,i,n,r){HQ(t,n)&&HQ(i,r)||e.push(t,i,n,r,n,r)}function g(t,i,n,r,o,a){var s=Math.abs(i-t),l=4*Math.tan(s/4)/3,u=i<t?-1:1,c=Math.cos(t),h=Math.sin(t),d=Math.cos(i),p=Math.sin(i),f=c*o+n,g=h*a+r,m=d*o+n,v=p*a+r,y=o*l*u,b=a*l*u;e.push(f-y*h,g+b*c,m+y*p,v-b*d,m,v)}for(var m=0;m<s;){var v=a[m++],y=1===m;switch(y&&(u=a[m],c=a[m+1],h=u,d=c,v!==$Q.L&&v!==$Q.C&&v!==$Q.Q||(e=[h,d])),v){case $Q.M:u=h=a[m++],c=d=a[m++],p(h,d);break;case $Q.L:i=a[m++],n=a[m++],f(u,c,i,n),u=i,c=n;break;case $Q.C:e.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],c=a[m++]);break;case $Q.Q:i=a[m++],n=a[m++],r=a[m++],o=a[m++],e.push(u+2/3*(i-u),c+2/3*(n-c),r+2/3*(i-r),o+2/3*(n-o),r,o),u=r,c=o;break;case $Q.A:var b=a[m++],_=a[m++],x=a[m++],w=a[m++],S=a[m++],C=a[m++]+S;m+=1;var k=!a[m++];i=Math.cos(S)*x+b,n=Math.sin(S)*w+_,y?(h=i,d=n,p(h,d)):f(u,c,i,n),u=Math.cos(C)*x+b,c=Math.sin(C)*w+_;for(var M=(k?-1:1)*Math.PI/2,O=S;k?O>C:O<C;O+=M){var T=k?Math.max(O+M,C):Math.min(O+M,C);g(O,T,b,_,x,w)}break;case $Q.R:h=u=a[m++],d=c=a[m++],i=h+a[m++],n=d+a[m++],p(i,d),f(i,d,i,n),f(i,n,h,n),f(h,n,h,d),f(h,d,i,d);break;case $Q.Z:e&&f(u,c,h,d),u=h,c=d;break}}return e&&e.length>2&&l.push(e),l}function WQ(t,e,i,n,r,o,a,s,l,u){if(HQ(t,i)&&HQ(e,n)&&HQ(r,a)&&HQ(o,s))l.push(a,s);else{var c=2/u,h=c*c,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=i-t,m=n-e,v=r-a,y=o-s,b=g*g+m*m,_=v*v+y*y;if(b<h&&_<h)l.push(a,s);else{var x=d*g+p*m,w=-d*v-p*y,S=b-x*x,C=_-w*w;if(S<h&&x>=0&&C<h&&w>=0)l.push(a,s);else{var k=[],M=[];Jt(t,i,r,a,.5,k),Jt(e,n,o,s,.5,M),WQ(k[0],M[0],k[1],M[1],k[2],M[2],k[3],M[3],l,u),WQ(k[4],M[4],k[5],M[5],k[6],M[6],k[7],M[7],l,u)}}}}function UQ(t,e){var i=GQ(t),n=[];e=e||1;for(var r=0;r<i.length;r++){var o=i[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++];WQ(s,l,c,h,d,p,f,g,a,e),s=f,l=g}n.push(a)}return n}function YQ(t,e,i){var n=t[e],r=t[1-e],o=Math.abs(n/r),a=Math.ceil(Math.sqrt(o*i)),s=Math.floor(i/a);0===s&&(s=1,a=i);for(var l=[],u=0;u<a;u++)l.push(s);var c=a*s,h=i-c;if(h>0)for(u=0;u<h;u++)l[u%a]+=1;return l}function XQ(t,e,i){for(var n=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-n,c=l>Math.abs(u),h=YQ([l,u],c?0:1,e),d=(c?s:u)/h.length,p=0;p<h.length;p++)for(var f=(c?u:s)/h[p],g=0;g<h[p];g++){var m={};c?(m.startAngle=o+d*p,m.endAngle=o+d*(p+1),m.r0=n+f*g,m.r=n+f*(g+1)):(m.startAngle=o+f*g,m.endAngle=o+f*(g+1),m.r0=n+d*p,m.r=n+d*(p+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,i.push(m)}}function KQ(t,e,i){for(var n=t.width,r=t.height,o=n>r,a=YQ([n,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,d=0;d<a.length;d++)for(var p=t[l]/a[d],f=0;f<a[d];f++){var g={};g[u]=d*h,g[c]=f*p,g[s]=h,g[l]=p,g.x+=t.x,g.y+=t.y,i.push(g)}}function ZQ(t,e,i,n){return t*n-i*e}function QQ(t,e,i,n,r,o,a,s){var l=i-t,u=n-e,c=a-r,h=s-o,d=ZQ(c,h,l,u);if(Math.abs(d)<1e-6)return null;var p=t-r,f=e-o,g=ZQ(p,f,c,h)/d;return g<0||g>1?null:new ji(g*l+t,g*u+e)}function JQ(t,e,i){var n=new ji;ji.sub(n,i,e),n.normalize();var r=new ji;ji.sub(r,t,e);var o=r.dot(n);return o}function tJ(t,e){var i=t[t.length-1];i&&i[0]===e[0]&&i[1]===e[1]||t.push(e)}function eJ(t,e,i){for(var n=t.length,r=[],o=0;o<n;o++){var a=t[o],s=t[(o+1)%n],l=QQ(a[0],a[1],s[0],s[1],e.x,e.y,i.x,i.y);l&&r.push({projPt:JQ(l,e,i),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],f=[d],g=[p];for(o=u.idx+1;o<=c.idx;o++)tJ(f,t[o].slice());tJ(f,p),tJ(f,d);for(o=c.idx+1;o<=u.idx+n;o++)tJ(g,t[o%n].slice());return tJ(g,d),tJ(g,p),[{points:f},{points:g}]}function iJ(t){var e=t.points,i=[],n=[];No(e,i,n);var r=new Gi(i[0],i[1],n[0]-i[0],n[1]-i[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new ji,c=new ji;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),eJ(e,u,c)}function nJ(t,e,i,n){if(1===i)n.push(e);else{var r=Math.floor(i/2),o=t(e);nJ(t,o[0],r,n),nJ(t,o[1],i-r,n)}return n}function rJ(t,e){for(var i=[],n=0;n<e;n++)i.push(Uf(t));return i}function oJ(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function aJ(t){for(var e=[],i=0;i<t.length;)e.push([t[i++],t[i++]]);return e}function sJ(t,e){var i,n=[],r=t.shape;switch(t.type){case"rect":KQ(r,e,n),i=ts;break;case"sector":XQ(r,e,n),i=vg;break;case"circle":XQ({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,n),i=vg;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,l=Object(s["H"])(UQ(t.getUpdatedPathProxy(),a),(function(t){return aJ(t)})),u=l.length;if(0===u)nJ(iJ,{points:l[0]},e,n);else if(u===e)for(var c=0;c<u;c++)n.push({points:l[c]});else{var h=0,d=Object(s["H"])(l,(function(t){var e=[],i=[];No(t,e,i);var n=(i[1]-e[1])*(i[0]-e[0]);return h+=n,{poly:t,area:n}}));d.sort((function(t,e){return e.area-t.area}));var p=e;for(c=0;c<u;c++){var f=d[c];if(p<=0)break;var g=c===u-1?p:Math.ceil(f.area/h*e);g<0||(nJ(iJ,{points:f.poly},g,n),p-=g)}}i=kg;break}if(!i)return rJ(t,e);var m=[];for(c=0;c<n.length;c++){var v=new i;v.setShape(n[c]),oJ(t,v),m.push(v)}return m}function lJ(t,e){var i=t.length,n=e.length;if(i===n)return[t,e];for(var r=[],o=[],a=i<n?t:e,s=Math.min(i,n),l=Math.abs(n-i)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[a[0],a[1]],d=l,p=2;p<s;){var f=a[p-2],g=a[p-1],m=a[p++],v=a[p++],y=a[p++],b=a[p++],_=a[p++],x=a[p++];if(d<=0)h.push(m,v,y,b,_,x);else{for(var w=Math.min(d,c-1)+1,S=1;S<=w;S++){var C=S/w;Jt(f,m,y,_,C,r),Jt(g,v,b,x,C,o),f=r[3],g=o[3],h.push(r[1],o[1],r[2],o[2],f,g),m=r[5],v=o[5],y=r[6],b=o[6]}d-=w-1}}return a===t?[h,e]:[t,h]}function uJ(t,e){for(var i=t.length,n=t[i-2],r=t[i-1],o=[],a=0;a<e.length;)o[a++]=n,o[a++]=r;return o}function cJ(t,e){for(var i,n,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(i=lJ(l,u),c=i[0],h=i[1],n=c,r=h):(h=uJ(r||l,l),c=l):(c=uJ(n||u,u),h=u),o.push(c),a.push(h)}return[o,a]}function hJ(t){for(var e=0,i=0,n=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],h=s*c-u*l;e+=h,i+=(s+u)*h,n+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[i/e/3,n/e/3,e]}function dJ(t,e,i,n){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var p=0===d?c:(c+d-2)%l+2,f=t[p]-i[0],g=t[p+1]-i[1],m=e[d]-n[0],v=e[d+1]-n[1],y=m-f,b=v-g;h+=y*y+b*b}h<o&&(o=h,a=u)}return a}function pJ(t){for(var e=[],i=t.length,n=0;n<i;n+=2)e[n]=t[i-n-2],e[n+1]=t[i-n-1];return e}function fJ(t,e,i,n){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=hJ(s),c=hJ(l);null==r&&(r=u[2]<0!==c[2]<0);var h=[],d=[],p=0,f=1/0,g=[],m=s.length;r&&(s=pJ(s));for(var v=6*dJ(s,l,u,c),y=m-2,b=0;b<y;b+=2){var _=(v+b)%y+2;h[b+2]=s[_]-u[0],h[b+3]=s[_+1]-u[1]}if(h[0]=s[v]-u[0],h[1]=s[v+1]-u[1],i>0)for(var x=n/i,w=-n/2;w<=n/2;w+=x){var S=Math.sin(w),C=Math.cos(w),k=0;for(b=0;b<s.length;b+=2){var M=h[b],O=h[b+1],T=l[b]-c[0],A=l[b+1]-c[1],I=T*C-A*S,P=T*S+A*C;g[b]=I,g[b+1]=P;var E=I-M,D=P-O;k+=E*E+D*D}if(k<f){f=k,p=w;for(var L=0;L<g.length;L++)d[L]=g[L]}}else for(var j=0;j<m;j+=2)d[j]=l[j]-c[0],d[j+1]=l[j+1]-c[1];o.push({from:h,to:d,fromCp:u,toCp:c,rotation:-p})}return o}function gJ(t){return t.__isCombineMorphing}var mJ="__mOriginal_";function vJ(t,e,i){var n=mJ+e,r=t[n]||t[e];t[n]||(t[n]=t[e]);var o=i.replace,a=i.after,s=i.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function yJ(t,e){var i=mJ+e;t[i]&&(t[e]=t[i],t[i]=null)}function bJ(t,e){for(var i=0;i<t.length;i++)for(var n=t[i],r=0;r<n.length;){var o=n[r],a=n[r+1];n[r++]=e[0]*o+e[2]*a+e[4],n[r++]=e[1]*o+e[3]*a+e[5]}}function _J(t,e){var i=t.getUpdatedPathProxy(),n=e.getUpdatedPathProxy(),r=cJ(GQ(i),GQ(n)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();function u(){this.transform=null}s&&bJ(o,s),l&&bJ(a,l),vJ(e,"updateTransform",{replace:u}),e.transform=null;var c=fJ(o,a,10,Math.PI),h=[];vJ(e,"buildPath",{replace:function(t){for(var i=e.__morphT,n=1-i,r=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*i,d=a.fromCp,p=a.toCp,f=Math.sin(u),g=Math.cos(u);k(r,d,p,i);for(var m=0;m<s.length;m+=2){var v=s[m],y=s[m+1],b=l[m],_=l[m+1],x=v*n+b*i,w=y*n+_*i;h[m]=x*g-w*f+r[0],h[m+1]=x*f+w*g+r[1]}var S=h[0],C=h[1];t.moveTo(S,C);for(m=2;m<s.length;){b=h[m++],_=h[m++];var M=h[m++],O=h[m++],T=h[m++],A=h[m++];S===b&&C===_&&M===T&&O===A?t.lineTo(T,A):t.bezierCurveTo(b,_,M,O,T,A),S=T,C=A}}}})}function xJ(t,e,i){if(!t||!e)return e;var n=i.done,r=i.during;function o(){yJ(e,"buildPath"),yJ(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return _J(t,e),e.__morphT=0,e.animateTo({__morphT:1},Object(s["i"])({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){o(),n&&n()}},i)),e}function wJ(t,e,i,n,r,o){var a=16;t=r===i?0:Math.round(32767*(t-i)/(r-i)),e=o===n?0:Math.round(32767*(e-n)/(o-n));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,h=0;(t&u)>0&&(c=1),(e&u)>0&&(h=1),l+=u*u*(3*c^h),0===h&&(1===c&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return l}function SJ(t){var e=1/0,i=1/0,n=-1/0,r=-1/0,o=Object(s["H"])(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),i=Math.min(l,i),n=Math.max(s,n),r=Math.max(l,r),[s,l]})),a=Object(s["H"])(o,(function(o,a){return{cp:o,z:wJ(o[0],o[1],e,i,n,r),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function CJ(t){return sJ(t.path,t.count)}function kJ(){return{fromIndividuals:[],toIndividuals:[],count:0}}function MJ(t,e,i){var n=[];function r(t){for(var e=0;e<t.length;e++){var i=t[e];gJ(i)?r(i.childrenRef()):i instanceof Ba&&n.push(i)}}r(t);var o=n.length;if(!o)return kJ();var a=i.dividePath||CJ,l=a({path:e,count:o});if(l.length!==o)return console.error("Invalid morphing: unmatched splitted path"),kJ();n=SJ(n),l=SJ(l);for(var u=i.done,c=i.during,h=i.individualDelay,d=new Di,p=0;p<o;p++){var f=n[p],g=l[p];g.parent=e,g.copyTransform(d),h||_J(f,g)}function m(t){for(var e=0;e<l.length;e++)l[e].addSelfToZr(t)}function v(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,yJ(e,"addSelfToZr"),yJ(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return l},vJ(e,"addSelfToZr",{after:function(t){m(t)}}),vJ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<l.length;e++)l[e].removeSelfFromZr(t)}});var y=l.length;if(h){var b=y,_=function(){b--,0===b&&(v(),u&&u())};for(p=0;p<y;p++){var x=h?Object(s["i"])({delay:(i.delay||0)+h(p,y,n[p],l[p]),done:_},i):i;xJ(n[p],l[p],x)}}else e.__morphT=0,e.animateTo({__morphT:1},Object(s["i"])({during:function(t){for(var i=0;i<y;i++){var n=l[i];n.__morphT=e.__morphT,n.dirtyShape()}c&&c(t)},done:function(){v();for(var e=0;e<t.length;e++)yJ(t[e],"updateTransform");u&&u()}},i));return e.__zr&&m(e.__zr),{fromIndividuals:n,toIndividuals:l,count:y}}function OJ(t,e,i){var n=e.length,r=[],o=i.dividePath||CJ;function a(t){for(var e=0;e<t.length;e++){var i=t[e];gJ(i)?a(i.childrenRef()):i instanceof Ba&&r.push(i)}}if(gJ(t)){a(t.childrenRef());var l=r.length;if(l<n)for(var u=0,c=l;c<n;c++)r.push(Uf(r[u++%l]));r.length=n}else{r=o({path:t,count:n});var h=t.getComputedTransform();for(c=0;c<r.length;c++)r[c].setLocalTransform(h);if(r.length!==n)return console.error("Invalid morphing: unmatched splitted path"),kJ()}r=SJ(r),e=SJ(e);var d=i.individualDelay;for(c=0;c<n;c++){var p=d?Object(s["i"])({delay:(i.delay||0)+d(c,n,r[c],e[c])},i):i;xJ(r[c],e[c],p)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}function TJ(t){return Object(s["t"])(t[0])}function AJ(t,e){for(var i=[],n=t.length,r=0;r<n;r++)i.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)i[a%n].many.push(e[r][a])}var s=0;for(r=n-1;r>=0;r--)if(!i[r].many.length){var l=i[s].many;if(l.length<=1){if(!s)return i;s=0}o=l.length;var u=Math.ceil(o/2);i[r].many=l.slice(u,o),i[s].many=l.slice(0,u),s++}return i}var IJ={clone:function(t){for(var e=[],i=1-Math.pow(1-t.path.style.opacity,1/t.count),n=0;n<t.count;n++){var r=Uf(t.path);r.setStyle("opacity",i),e.push(r)}return e},split:null};function PJ(t,e,i,n,r,o){if(t.length&&e.length){var a=Rl("update",n,r);if(a&&a.duration>0){var l,u,c=n.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);TJ(t)&&(l=t,u=e),TJ(e)&&(l=e,u=t);for(var d=l?l===t:t.length>e.length,p=l?AJ(u,l):AJ(d?e:t,[d?t:e]),f=0,g=0;g<p.length;g++)f+=p[g].many.length;var m=0;for(g=0;g<p.length;g++)v(p[g],d,m,f),m+=p[g].many.length}}function v(t,e,n,r,a){var l=t.many,u=t.one;if(1!==l.length||a)for(var d=Object(s["i"])({dividePath:IJ[i],individualDelay:c&&function(t,e,i,o){return c(t+n,r)}},h),p=e?MJ(l,u,d):OJ(u,l,d),f=p.fromIndividuals,g=p.toIndividuals,m=f.length,y=0;y<m;y++){x=c?Object(s["i"])({delay:c(y,m)},h):h;o(f[y],g[y],e?l[y]:t.one,e?t.one:l[y],x)}else{var b=e?l[0]:u,_=e?u:l[0];if(gJ(b))v({many:[b],one:_},!0,n,r,!0);else{var x=c?Object(s["i"])({delay:c(n,r)},h):h;xJ(b,_,x),o(b,_,b,_,x)}}}}function EJ(t){if(!t)return[];if(Object(s["t"])(t)){for(var e=[],i=0;i<t.length;i++)e.push(EJ(t[i]));return e}var n=[];return t.traverse((function(t){t instanceof Ba&&!t.disableMorphing&&!t.invisible&&!t.ignore&&n.push(t)})),n}var DJ=1e4,LJ=kr();function jJ(t){for(var e=t.dimensions,i=0;i<e.length;i++){var n=t.getDimensionInfo(e[i]);if(n&&0===n.otherDims.itemGroupId)return e[i]}}function RJ(t){var e=[];return Object(s["k"])(t,(function(t){var i=t.data;if(!(i.count()>DJ))for(var n=i.getIndices(),r=jJ(i),o=0;o<n.length;o++)e.push({data:i,dim:t.dim||r,divide:t.divide,dataIndex:o})})),e}function BJ(t,e,i){t.traverse((function(t){t instanceof Ba&&Nl(t,{style:{opacity:0}},e,{dataIndex:i,isFrom:!0})}))}function FJ(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function NJ(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function zJ(t,e,i){var n=Rl("update",i,e);n&&t.traverse((function(t){if(t instanceof Io){var e=Gl(t);e&&t.animateFrom({style:e},n)}}))}function VJ(t,e){var i=t.length;if(i!==e.length)return!1;for(var n=0;n<i;n++){var r=t[n],o=e[n];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function qJ(t,e,i){var n=RJ(t),r=RJ(e);function o(t,e,i,n,r){(i||t)&&e.animateFrom({style:i&&i!==t?Object(s["m"])(Object(s["m"])({},i.style),t.style):t.style},r)}function a(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var l=a(n),u=a(r),c=!1;function h(t,e){return function(i){var n=i.data,r=i.dataIndex;if(e)return n.getId(r);var o=n.hostModel&&n.hostModel.get("dataGroupId"),a=t?l||u:u||l,s=a&&n.getDimensionInfo(a),c=s&&s.ordinalMeta;if(s){var h=n.get(s.name,r);return c&&c.categories[h]||h+""}var d=n.getRawDataItem(r);return d&&d.groupId?d.groupId+"":o||n.getId(r)}}var d=VJ(n,r),p={};if(!d)for(var f=0;f<r.length;f++){var g=r[f],m=g.data.getItemGraphicEl(g.dataIndex);m&&(p[m.id]=!0)}function v(t,e){var i=n[e],a=r[t],s=a.data.hostModel,l=i.data.getItemGraphicEl(i.dataIndex),u=a.data.getItemGraphicEl(a.dataIndex);l!==u?l&&p[l.id]||u&&(NJ(u),l?(NJ(l),FJ(l),c=!0,PJ(EJ(l),EJ(u),a.divide,s,t,o)):BJ(u,s,t)):u&&zJ(u,a.dataIndex,s)}new yw(n,r,h(!0,d),h(!1,d),null,"multiple").update(v).updateManyToOne((function(t,e){var i=r[t],a=i.data,l=a.hostModel,u=a.getItemGraphicEl(i.dataIndex),h=Object(s["n"])(Object(s["H"])(e,(function(t){return n[t].data.getItemGraphicEl(n[t].dataIndex)})),(function(t){return t&&t!==u&&!p[t.id]}));u&&(NJ(u),h.length?(Object(s["k"])(h,(function(t){NJ(t),FJ(t)})),c=!0,PJ(EJ(h),EJ(u),i.divide,l,t,o)):BJ(u,l,i.dataIndex))})).updateOneToMany((function(t,e){var i=n[e],a=i.data.getItemGraphicEl(i.dataIndex);if(!a||!p[a.id]){var l=Object(s["n"])(Object(s["H"])(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==a})),u=r[t[0]].data.hostModel;l.length&&(Object(s["k"])(l,(function(t){return NJ(t)})),a?(NJ(a),FJ(a),c=!0,PJ(EJ(a),EJ(l),i.divide,u,t[0],o)):Object(s["k"])(l,(function(e){return BJ(e,u,t[0])})))}})).updateManyToMany((function(t,e){new yw(e,t,(function(t){return n[t].data.getId(n[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(i,n){v(t[i],e[n])})).execute()})).execute(),c&&Object(s["k"])(e,(function(t){var e=t.data,n=e.hostModel,r=n&&i.getViewOfSeriesModel(n),o=Rl("update",n,0);r&&n.isAnimationEnabled()&&o&&o.duration>0&&r.group.traverse((function(t){t instanceof Ba&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)}))}))}function $J(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function HJ(t){return Object(s["t"])(t)?t.sort().join(","):t}function GJ(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function WJ(t,e){var i=Object(s["f"])(),n=Object(s["f"])(),r=Object(s["f"])();return Object(s["k"])(t.oldSeries,(function(e,i){var o=t.oldData[i],a=$J(e),l=HJ(a);n.set(l,o),Object(s["t"])(a)&&Object(s["k"])(a,(function(t){r.set(t,{data:o,key:l})}))})),Object(s["k"])(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),o=$J(t),a=HJ(o),l=n.get(a);if(l)i.set(a,{oldSeries:[{divide:GJ(l),data:l}],newSeries:[{divide:GJ(e),data:e}]});else if(Object(s["t"])(o)){0;var u=[];Object(s["k"])(o,(function(t){var e=n.get(t);e&&u.push({divide:GJ(e),data:e})})),u.length&&i.set(a,{oldSeries:u,newSeries:[{data:e,divide:GJ(e)}]})}else{var c=r.get(o);if(c){var h=i.get(c.key);h||(h={oldSeries:[{data:c.data,divide:GJ(c.data)}],newSeries:[]},i.set(c.key,h)),h.newSeries.push({data:e,divide:GJ(e)})}}}})),i}function UJ(t,e){for(var i=0;i<t.length;i++){var n=null!=e.seriesIndex&&e.seriesIndex===t[i].seriesIndex||null!=e.seriesId&&e.seriesId===t[i].id;if(n)return i}}function YJ(t,e,i,n){var r=[],o=[];Object(s["k"])(nr(t.from),(function(t){var i=UJ(e.oldSeries,t);i>=0&&r.push({data:e.oldData[i],divide:GJ(e.oldData[i]),dim:t.dimension})})),Object(s["k"])(nr(t.to),(function(t){var e=UJ(i.updatedSeries,t);if(e>=0){var n=i.updatedSeries[e].getData();o.push({data:n,divide:GJ(n),dim:t.dimension})}})),r.length>0&&o.length>0&&qJ(r,o,n)}function XJ(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,i){Object(s["k"])(nr(i.seriesTransition),(function(t){Object(s["k"])(nr(t.to),(function(t){for(var e=i.updatedSeries,n=0;n<e.length;n++)(null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id)&&(e[n][hf]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,i){var n=LJ(e);if(n.oldSeries&&i.updatedSeries&&i.optionChanged){var r=i.seriesTransition;if(r)Object(s["k"])(nr(r),(function(t){YJ(t,n,i,e)}));else{var o=WJ(n,i);Object(s["k"])(o.keys(),(function(t){var i=o.get(t);qJ(i.oldSeries,i.newSeries,e)}))}Object(s["k"])(i.updatedSeries,(function(t){t[hf]&&(t[hf]=!1)}))}for(var a=t.getSeries(),l=n.oldSeries=[],u=n.oldData=[],c=0;c<a.length;c++){var h=a[c].getData();h.count()<DJ&&(l.push(a[c]),u.push(h))}}))}function KJ(t){if(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i].slice());return e}}function ZJ(t,e){var i=t.label,n=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:i.style.align,verticalAlign:i.style.verticalAlign,labelLinePoints:KJ(n&&n.shape.points)}}var QJ=["align","verticalAlign","width","height","fontSize"],JJ=new Di,t0=kr(),e0=kr();function i0(t,e,i){for(var n=0;n<i.length;n++){var r=i[n];null!=e[r]&&(t[r]=e[r])}}var n0=["x","y","rotation"],r0=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,i,n,r){var o=n.style,a=n.__hostTarget,s=a.textConfig||{},l=n.getComputedTransform(),u=n.getBoundingRect().plain();Gi.applyTransform(u,u,l),l?JJ.setLocalTransform(l):(JJ.x=JJ.y=JJ.rotation=JJ.originX=JJ.originY=0,JJ.scaleX=JJ.scaleY=1);var c,h=n.__hostTarget;if(h){c=h.getBoundingRect().plain();var d=h.getComputedTransform();Gi.applyTransform(c,c,d)}var p=c&&h.getTextGuideLine();this._labelList.push({label:n,labelLine:p,seriesModel:i,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:n.ignore,labelGuideIgnore:p&&p.ignore,x:JJ.x,y:JJ.y,scaleX:JJ.scaleX,scaleY:JJ.scaleY,rotation:JJ.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:n.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var i=t.__model,n=i.get("labelLayout");(Object(s["w"])(n)||Object(s["F"])(n).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=bs(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,i,r,n)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),i=t.getHeight();function n(t,e){return function(){Dk(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,l=a.__hostTarget,u=o.defaultAttr,c=void 0;c=Object(s["w"])(o.layoutOption)?o.layoutOption(ZJ(o,l)):o.layoutOption,c=c||{},o.computedLayoutOption=c;var h=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*h:u.attachedRot,offset:[c.dx||0,c.dy||0]});var d=!1;if(null!=c.x?(a.x=Pn(c.x,e),a.setStyle("x",0),d=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=c.y?(a.y=Pn(c.y,i),a.setStyle("y",0),d=!0):(a.y=u.y,a.setStyle("y",u.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),d=!1)}var f=t0(a);f.needsUpdateLabelLine=d,a.rotation=null!=c.rotate?c.rotate*h:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var g=0;g<QJ.length;g++){var m=QJ[g];a.setStyle(m,null!=c[m]?c[m]:u.style[m])}if(c.draggable){if(a.draggable=!0,a.cursor="move",l){var v=o.seriesModel;if(null!=o.dataIndex){var y=o.seriesModel.getData(o.dataType);v=y.getItemModel(o.dataIndex)}a.on("drag",n(l,v.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),i=t.getHeight(),n=qk(this._labelList),r=Object(s["n"])(n,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=Object(s["n"])(n,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));Hk(r,0,e),Gk(o,0,i);var a=Object(s["n"])(n,(function(t){return t.layoutOption.hideOverlap}));Wk(a)},t.prototype.processLabelsOverall=function(){var t=this;Object(s["k"])(this._chartViewList,(function(e){var i=e.__model,n=e.ignoreLabelLineUpdate,r=i.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!n,a=e.getTextContent();!o&&a&&(o=t0(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,i),r&&t._animateLabels(e,i)}))}))},t.prototype._updateLabelLine=function(t,e){var i=t.getTextContent(),n=bs(t),r=n.dataIndex;if(i&&null!=r){var o=e.getData(n.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style"),u=o.getVisual("drawType");s.stroke=l[u];var c=a.getModel("labelLine");zk(t,Vk(a),s),Dk(t,c)}},t.prototype._animateLabels=function(t,e){var i=t.getTextContent(),n=t.getTextGuideLine();if(i&&(t.forceLabelAnimation||!i.ignore&&!i.invisible&&!t.disableLabelAnimation&&!zl(t))){var r=t0(i),o=r.oldLayout,a=bs(t),l=a.dataIndex,u={x:i.x,y:i.y,rotation:i.rotation},c=e.getData(a.dataType);if(o){i.attr(o);var h=t.prevStates;h&&(Object(s["r"])(h,"select")>=0&&i.attr(r.oldLayoutSelect),Object(s["r"])(h,"emphasis")>=0&&i.attr(r.oldLayoutEmphasis)),Fl(i,u,e,l)}else if(i.attr(u),!au(i).valueAnimation){var d=Object(s["P"])(i.style.opacity,1);i.style.opacity=0,Nl(i,{style:{opacity:d}},e,l)}if(r.oldLayout=u,i.states.select){var p=r.oldLayoutSelect={};i0(p,u,n0),i0(p,i.states.select,n0)}if(i.states.emphasis){var f=r.oldLayoutEmphasis={};i0(f,u,n0),i0(f,i.states.emphasis,n0)}lu(i,l,c,e,e)}if(n&&!n.ignore&&!n.invisible){r=e0(n),o=r.oldLayout;var g={points:n.shape.points};o?(n.attr({shape:o}),Fl(n,{shape:g},e)):(n.setShape(g),n.style.strokePercent=0,Nl(n,{style:{strokePercent:1}},e)),r.oldLayout=g}},t}(),o0=r0,a0=kr();function s0(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,i){var n=a0(e).labelManager;n||(n=a0(e).labelManager=new o0),n.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,i){var n=a0(e).labelManager;i.updatedSeries.forEach((function(t){n.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),n.updateLayoutConfig(e),n.layout(e),n.processLabelsOverall()}))}A_([V_]),A_([fw]),A_([fC,hk,uM,uA,IA,HP,qE,mL,Dj,$j,tR,oF,BF,iN,AN,BN,az,vz,Uz,nV,wV,Zq]),A_(X$),A_(VH),A_($P),A_(pG),A_(rF),A_(SG),A_(VG),A_(kU),A_(sY),A_(Y$),A_(VY),A_(HY),A_(pX),A_(NX),A_(ZX),A_(cK),A_(NK),A_(_Z),A_(iZ),A_(bZ),A_(mQ),A_(lQ),A_(gQ),A_(wQ),A_(NQ),A_(qQ),A_(XJ),A_(s0)},"342f":function(t,e,i){var n=i("d066");t.exports=n("navigator","userAgent")||""},"349c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),t=t.toUpperCase(),i.mod43&&(t+=g(v(t))),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return u(e,t),n(e,[{key:"encode",value:function(){for(var t=p("*"),e=0;e<this.data.length;e++)t+=p(this.data[e])+"0";return t+=p("*"),{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(o.default),h=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],d=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function p(t){return f(m(t))}function f(t){return d[t].toString(2)}function g(t){return h[t]}function m(t){return h.indexOf(t)}function v(t){for(var e=0,i=0;i<t.length;i++)e+=m(t[i]);return e%=43,e}e.CODE39=c},"34fc":function(t,e,i){const n=i("7a43"),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return r[4*(t-1)+0];case n.M:return r[4*(t-1)+1];case n.Q:return r[4*(t-1)+2];case n.H:return r[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}}},"35a1":function(t,e,i){var n=i("f5df"),r=i("dc4a"),o=i("3f8c"),a=i("b622"),s=a("iterator");t.exports=function(t){if(void 0!=t)return r(t,s)||r(t,"@@iterator")||o[n(t)]}},3627:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return a}));const n=["left","right","up","down","horizontal","vertical"],r={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0,all:!0};function o(t){const e={};return n.forEach((i=>{t[i]&&(e[i]=!0)})),0===Object.keys(e).length?r:(!0===e.horizontal&&(e.left=e.right=!0),!0===e.vertical&&(e.up=e.down=!0),!0===e.left&&!0===e.right&&(e.horizontal=!0),!0===e.up&&!0===e.down&&(e.vertical=!0),!0===e.horizontal&&!0===e.vertical&&(e.all=!0),e)}function a(t,e){return void 0===e.event&&void 0!==t.target&&!0!==t.target.draggable&&"function"===typeof e.handler&&"INPUT"!==t.target.nodeName.toUpperCase()&&(void 0===t.qClonedBy||-1===t.qClonedBy.indexOf(e.uid))}},"37e8":function(t,e,i){var n=i("83ab"),r=i("aed9"),o=i("9bf2"),a=i("825a"),s=i("fc6a"),l=i("df75");e.f=n&&!r?Object.defineProperties:function(t,e){a(t);var i,n=s(e),r=l(e),u=r.length,c=0;while(u>c)o.f(t,i=r[c++],n[i]);return t}},"387f":function(t,e,i){"use strict";t.exports=function(t,e,i,n,r){return t.config=e,i&&(t.code=i),t.request=n,t.response=r,t.isAxiosError=!0,t.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:this.config,code:this.code}},t}},3934:function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(t){var n=t;return e&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=r(window.location.href),function(e){var i=n.isString(e)?r(e):e;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},3980:function(t,e,i){"use strict";var n=i("2b0e"),r=i("d882"),o=i("0967"),a={data(){return{canRender:!o["f"]}},mounted(){!1===this.canRender&&(this.canRender=!0)}},s=i("0cd3");e["a"]=n["a"].extend({name:"QResizeObserver",mixins:[a],props:{debounce:{type:[String,Number],default:100}},data(){return!0===this.hasObserver?{}:{url:!0===this.$q.platform.is.ie?null:"about:blank"}},methods:{trigger(t){!0===t||0===this.debounce||"0"===this.debounce?this.__emit():null===this.timer&&(this.timer=setTimeout(this.__emit,this.debounce))},__emit(){if(null!==this.timer&&(clearTimeout(this.timer),this.timer=null),!this.$el||!this.$el.parentNode)return;const t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))},__cleanup(){void 0!==this.curDocView&&(void 0!==this.curDocView.removeEventListener&&this.curDocView.removeEventListener("resize",this.trigger,r["f"].passive),this.curDocView=void 0)},__onObjLoad(){this.__cleanup(),this.$el.contentDocument&&(this.curDocView=this.$el.contentDocument.defaultView,this.curDocView.addEventListener("resize",this.trigger,r["f"].passive)),this.__emit()}},render(t){if(!1!==this.canRender&&!0!==this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":"true"},on:Object(s["b"])(this,"load",{load:this.__onObjLoad})})},beforeCreate(){this.size={width:-1,height:-1},!0!==o["e"]&&(this.hasObserver="undefined"!==typeof ResizeObserver,!0!==this.hasObserver&&(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted(){if(this.timer=null,!0===this.hasObserver)return this.observer=new ResizeObserver(this.trigger),this.observer.observe(this.$el.parentNode),void this.__emit();!0===this.$q.platform.is.ie?(this.url="about:blank",this.__emit()):this.__onObjLoad()},beforeDestroy(){clearTimeout(this.timer),!0!==this.hasObserver?this.__cleanup():void 0!==this.observer&&this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode)}})},"3a9b":function(t,e,i){var n=i("e330");t.exports=n({}.isPrototypeOf)},"3b16":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("9c40"),o=i("27f9"),a=i("b7fa"),s=i("87e8"),l=i("d882"),u=i("7937"),c=i("d728"),h=i("0cd3");e["a"]=n["a"].extend({name:"QPagination",mixins:[a["a"],s["a"]],props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,activeColor:String,activeTextColor:String,inputStyle:[Array,String,Object],inputClass:[Array,String,Object],size:String,disable:Boolean,input:Boolean,iconPrev:String,iconNext:String,iconFirst:String,iconLast:String,toFn:Function,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:t=>t>=0},ripple:{type:[Boolean,Object],default:null},round:Boolean,rounded:Boolean,flat:Boolean,outline:Boolean,unelevated:Boolean,push:Boolean,glossy:Boolean,dense:Boolean,padding:{type:String,default:"3px 2px"}},data(){return{newPage:null}},watch:{min(){this.model=this.value},max(){this.model=this.value}},computed:{model:{get(){return this.value},set(t){if(t=parseInt(t,10),this.disable||isNaN(t))return;const e=Object(u["a"])(t,this.min,this.max);this.$emit("input",e)}},inputPlaceholder(){return this.model+" / "+this.max},__boundaryLinks(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks(){return this.__getBool(this.directionLinks,this.input)},__ellipses(){return this.__getBool(this.ellipses,!this.input)},icons(){const t=[this.iconFirst||this.$q.iconSet.pagination.first,this.iconPrev||this.$q.iconSet.pagination.prev,this.iconNext||this.$q.iconSet.pagination.next,this.iconLast||this.$q.iconSet.pagination.last];return!0===this.$q.lang.rtl?t.reverse():t},attrs(){if(!0===this.disable)return{"aria-disabled":"true"}},btnProps(){return{round:this.round,rounded:this.rounded,outline:this.outline,unelevated:this.unelevated,push:this.push,glossy:this.glossy,dense:this.dense,padding:this.padding,color:this.color,flat:!0,size:this.size,ripple:null===this.ripple||this.ripple}},activeBtnProps(){return{flat:this.flat,color:this.activeColor||this.color,textColor:this.activeTextColor||this.textColor}}},methods:{set(t){this.model=t},setByOffset(t){this.model=this.model+t},__update(){this.model=this.newPage,this.newPage=null},__getBool(t,e){return[!0,!1].includes(t)?t:e},__getBtn(t,e,i,n){return e.props={...this.btnProps,...i},void 0!==n&&(void 0!==this.toFn?e.props.to=this.toFn(n):e.on={click:()=>this.set(n)}),t(r["a"],e)}},render(t){const e=[],i=[],n=[];if(this.__boundaryLinks&&(e.push(this.__getBtn(t,{key:"bls"},{disable:this.disable||this.value<=this.min,icon:this.icons[0]},this.min)),i.unshift(this.__getBtn(t,{key:"ble"},{disable:this.disable||this.value>=this.max,icon:this.icons[3]},this.max))),this.__directionLinks&&(e.push(this.__getBtn(t,{key:"bdp"},{disable:this.disable||this.value<=this.min,icon:this.icons[1]},this.value-1)),i.unshift(this.__getBtn(t,{key:"bdn"},{disable:this.disable||this.value>=this.max,icon:this.icons[2]},this.value+1))),!0===this.input)n.push(t(o["a"],{staticClass:"inline",style:{width:this.inputPlaceholder.length/1.5+"em"},props:{type:"number",dense:!0,value:this.newPage,disable:this.disable,dark:this.isDark,borderless:!0,inputClass:this.inputClass,inputStyle:this.inputStyle},attrs:{placeholder:this.inputPlaceholder,min:this.min,max:this.max},on:Object(h["b"])(this,"inp",{input:t=>{this.newPage=t},keyup:t=>{!0===Object(c["a"])(t,13)&&this.__update()},blur:this.__update})}));else{let r=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),o=this.min,a=this.max,s=!1,l=!1,u=!1,c=!1;this.maxPages&&r<this.max-this.min+1&&(r=1+2*Math.floor(r/2),o=Math.max(this.min,Math.min(this.max-r+1,this.value-Math.floor(r/2))),a=Math.min(this.max,o+r-1),this.__boundaryNumbers&&(u=!0,o+=1),this.__ellipses&&o>this.min+(this.__boundaryNumbers?1:0)&&(s=!0,o+=1),this.__boundaryNumbers&&(c=!0,a-=1),this.__ellipses&&a<this.max-(this.__boundaryNumbers?1:0)&&(l=!0,a-=1));const h={minWidth:`${Math.max(2,String(this.max).length)}em`};if(u){const i=this.min===this.value,n={disable:this.disable,flat:!i,label:this.min};i&&(n.color=this.activeColor||this.color,n.textColor=this.activeTextColor||this.textColor),e.push(this.__getBtn(t,{key:"bns",style:h},n,this.min))}if(c){const e=this.max===this.value,n={disable:this.disable,flat:!e,label:this.max};e&&(n.color=this.activeColor||this.color,n.textColor=this.activeTextColor||this.textColor),i.unshift(this.__getBtn(t,{key:"bne",style:h},n,this.max))}s&&e.push(this.__getBtn(t,{key:"bes",style:h},{disable:this.disable,label:"…",ripple:!1},o-1)),l&&i.unshift(this.__getBtn(t,{key:"bee",style:h},{disable:this.disable,label:"…",ripple:!1},a+1));for(let e=o;e<=a;e++){const i={disable:this.disable,flat:!0,label:e};e===this.value&&Object.assign(i,this.activeBtnProps),n.push(this.__getBtn(t,{key:`bpg${e}`,style:h},i,e))}}return t("div",{staticClass:"q-pagination row no-wrap items-center",class:{disabled:this.disable},attrs:this.attrs,on:{...this.qListeners}},[e,t("div",{staticClass:"row justify-center",on:!0===this.input?Object(h["b"])(this,"stop",{input:l["k"]}):null},[n]),i])}})},"3b73":function(t,e,i){"use strict";var n=i("2b0e"),r=i("66e5"),o=i("4074"),a=i("0170"),s=i("0016"),l=i("dde5"),u=i("0cd3"),c=n["a"].extend({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin(t,e,i){t.style.overflowY="hidden",void 0!==e&&(t.style.height=`${e}px`),t.style.transition=`height ${this.duration}ms cubic-bezier(.25, .8, .50, 1)`,this.animating=!0,this.done=i},__end(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),clearTimeout(this.timerFallback),void 0!==this.el&&this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy(){this.animating&&this.__cleanup()},render(t){return t("transition",{props:{css:!1,appear:this.appear},on:Object(u["b"])(this,"tr",{enter:(t,e)=>{let i=0;this.el=t,!0===this.animating?(this.__cleanup(),i=t.offsetHeight===t.scrollHeight?0:void 0):this.lastEvent="hide",this.__begin(t,i,e),this.timer=setTimeout((()=>{t.style.height=`${t.scrollHeight}px`,this.animListener=e=>{Object(e)===e&&e.target!==t||this.__end(t,"show")},t.addEventListener("transitionend",this.animListener),this.timerFallback=setTimeout(this.animListener,1.1*this.duration)}),100)},leave:(t,e)=>{let i;this.el=t,!0===this.animating?this.__cleanup():(this.lastEvent="show",i=t.scrollHeight),this.__begin(t,i,e),this.timer=setTimeout((()=>{t.style.height=0,this.animListener=e=>{Object(e)===e&&e.target!==t||this.__end(t,"hide")},t.addEventListener("transitionend",this.animListener),this.timerFallback=setTimeout(this.animListener,1.1*this.duration)}),100)}})},Object(l["c"])(this,"default"))}}),h=i("eb85"),d=i("8716"),p=i("7ee0"),f=i("b7fa"),g=i("d882");const m="q:expansion-item:close";e["a"]=n["a"].extend({name:"QExpansionItem",mixins:[f["a"],d["a"],p["a"]],props:{icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},data(){return{showing:void 0!==this.value?this.value:this.defaultOpened}},watch:{showing(t){!0===t&&void 0!==this.group&&this.$root.$emit(m,this)},group(t,e){void 0!==t&&void 0===e?this.$root.$on(m,this.__eventHandler):void 0===t&&void 0!==e&&this.$root.$off(m,this.__eventHandler)}},computed:{classes(){return"q-expansion-item--"+(!0===this.showing?"expanded":"collapsed")+" q-expansion-item--"+(!0===this.popup?"popup":"standard")},contentStyle(){if(void 0!==this.contentInsetLevel){const t=!0===this.$q.lang.rtl?"Right":"Left";return{["padding"+t]:56*this.contentInsetLevel+"px"}}},isClickable(){return!0===this.hasLink||!0!==this.expandIconToggle},expansionIcon(){return void 0!==this.expandedIcon&&!0===this.showing?this.expandedIcon:this.expandIcon||this.$q.iconSet.expansionItem[!0===this.denseToggle?"denseIcon":"icon"]},activeToggleIcon(){return!0!==this.disable&&(!0===this.hasLink||!0===this.expandIconToggle)}},methods:{__onHeaderClick(t){!0!==this.hasLink&&this.toggle(t),this.$emit("click",t)},__toggleIconKeyboard(t){13===t.keyCode&&this.__toggleIcon(t,!0)},__toggleIcon(t,e){!0!==e&&void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus(),this.toggle(t),Object(g["l"])(t)},__eventHandler(t){this!==t&&this.group===t.group&&this.hide()},__getToggleIcon(t){const e={staticClass:"q-focusable relative-position cursor-pointer"+(!0===this.denseToggle&&!0===this.switchToggleSide?" items-end":""),class:this.expandIconClass,props:{side:!0!==this.switchToggleSide,avatar:this.switchToggleSide}},i=[t(s["a"],{staticClass:"q-expansion-item__toggle-icon",class:void 0===this.expandedIcon&&!0===this.showing?"q-expansion-item__toggle-icon--rotated":void 0,props:{name:this.expansionIcon}})];return!0===this.activeToggleIcon&&(Object.assign(e,{attrs:{tabindex:0},on:Object(u["b"])(this,"inpExt",{click:this.__toggleIcon,keyup:this.__toggleIconKeyboard})}),i.unshift(t("div",{ref:"blurTarget",staticClass:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",attrs:{tabindex:-1}}))),t(o["a"],e,i)},__getHeader(t){let e;void 0!==this.$scopedSlots.header?e=[].concat(this.$scopedSlots.header()):(e=[t(o["a"],[t(a["a"],{props:{lines:this.labelLines}},[this.label||""]),this.caption?t(a["a"],{props:{lines:this.captionLines,caption:!0}},[this.caption]):null])],this.icon&&e[!0===this.switchToggleSide?"push":"unshift"](t(o["a"],{props:{side:!0===this.switchToggleSide,avatar:!0!==this.switchToggleSide}},[t(s["a"],{props:{name:this.icon}})]))),!0!==this.disable&&e[!0===this.switchToggleSide?"unshift":"push"](this.__getToggleIcon(t));const i={ref:"item",style:this.headerStyle,class:this.headerClass,props:{dark:this.isDark,disable:this.disable,dense:this.dense,insetLevel:this.headerInsetLevel}};return!0===this.isClickable&&(i.props.clickable=!0,i[!0===this.hasRouterLink?"nativeOn":"on"]={...this.qListeners,click:this.__onHeaderClick},!0===this.hasLink&&(Object.assign(i.props,this.linkProps.props),i.attrs=this.linkProps.attrs)),t(r["a"],i,e)},__getContent(t){const e=[this.__getHeader(t),t(c,{props:{duration:this.duration},on:Object(u["b"])(this,"slide",{show:()=>{this.$emit("after-show")},hide:()=>{this.$emit("after-hide")}})},[t("div",{staticClass:"q-expansion-item__content relative-position",style:this.contentStyle,directives:[{name:"show",value:this.showing}]},Object(l["c"])(this,"default"))])];return this.expandSeparator&&e.push(t(h["a"],{staticClass:"q-expansion-item__border q-expansion-item__border--top absolute-top",props:{dark:this.isDark}}),t(h["a"],{staticClass:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",props:{dark:this.isDark}})),e}},render(t){return t("div",{staticClass:"q-expansion-item q-item-type",class:this.classes},[t("div",{staticClass:"q-expansion-item__container relative-position"},this.__getContent(t))])},created(){void 0!==this.group&&this.$root.$on(m,this.__eventHandler)},beforeDestroy(){void 0!==this.group&&this.$root.$off(m,this.__eventHandler)}})},"3bbe":function(t,e,i){var n=i("1626"),r=String,o=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw o("Can't set "+r(t)+" as a prototype")}},"3c5d":function(t,e,i){"use strict";var n=i("da84"),r=i("c65b"),o=i("ebb5"),a=i("07fa"),s=i("182d"),l=i("7b0b"),u=i("d039"),c=n.RangeError,h=n.Int8Array,d=h&&h.prototype,p=d&&d.set,f=o.aTypedArray,g=o.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return r(p,t,{length:1,0:3},1),3!==t[1]})),v=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){f(this);var e=s(arguments.length>1?arguments[1]:void 0,1),i=l(t);if(m)return r(p,this,i,e);var n=this.length,o=a(i),u=0;if(o+e>n)throw c("Wrong length");while(u<o)this[e+u]=i[u++]}),!m||v)},"3ca3":function(t,e,i){"use strict";var n=i("6547").charAt,r=i("577e"),o=i("69f3"),a=i("7dd0"),s="String Iterator",l=o.set,u=o.getterFor(s);a(String,"String",(function(t){l(this,{type:s,string:r(t),index:0})}),(function(){var t,e=u(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=n(i,r),e.index+=t.length,{value:t,done:!1})}))},"3d69":function(t,e,i){"use strict";var n=i("714f");e["a"]={directives:{Ripple:n["a"]},props:{ripple:{type:[Boolean,Object],default:!0}}}},"3f8c":function(t,e){t.exports={}},4002:function(t,e,i){"use strict";i("3ca3");var n,r=i("23e7"),o=i("83ab"),a=i("0d3b"),s=i("da84"),l=i("0366"),u=i("e330"),c=i("cb2d"),h=i("edd0"),d=i("19aa"),p=i("1a2d"),f=i("60da"),g=i("4df4"),m=i("4dae"),v=i("6547").codeAt,y=i("5fb2"),b=i("577e"),_=i("d44e"),x=i("d6d6"),w=i("5352"),S=i("69f3"),C=S.set,k=S.getterFor("URL"),M=w.URLSearchParams,O=w.getState,T=s.URL,A=s.TypeError,I=s.parseInt,P=Math.floor,E=Math.pow,D=u("".charAt),L=u(/./.exec),j=u([].join),R=u(1..toString),B=u([].pop),F=u([].push),N=u("".replace),z=u([].shift),V=u("".split),q=u("".slice),$=u("".toLowerCase),H=u([].unshift),G="Invalid authority",W="Invalid scheme",U="Invalid host",Y="Invalid port",X=/[a-z]/i,K=/[\d+-.a-z]/i,Z=/\d/,Q=/^0x/i,J=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,it=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ot=/[\t\n\r]/g,at=function(t){var e,i,n,r,o,a,s,l=V(t,".");if(l.length&&""==l[l.length-1]&&l.length--,e=l.length,e>4)return t;for(i=[],n=0;n<e;n++){if(r=l[n],""==r)return t;if(o=10,r.length>1&&"0"==D(r,0)&&(o=L(Q,r)?16:8,r=q(r,8==o?1:2)),""===r)a=0;else{if(!L(10==o?tt:8==o?J:et,r))return t;a=I(r,o)}F(i,a)}for(n=0;n<e;n++)if(a=i[n],n==e-1){if(a>=E(256,5-e))return null}else if(a>255)return null;for(s=B(i),n=0;n<i.length;n++)s+=i[n]*E(256,3-n);return s},st=function(t){var e,i,n,r,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,h=0,d=function(){return D(t,h)};if(":"==d()){if(":"!=D(t,1))return;h+=2,u++,c=u}while(d()){if(8==u)return;if(":"!=d()){e=i=0;while(i<4&&L(et,d()))e=16*e+I(d(),16),h++,i++;if("."==d()){if(0==i)return;if(h-=i,u>6)return;n=0;while(d()){if(r=null,n>0){if(!("."==d()&&n<4))return;h++}if(!L(Z,d()))return;while(L(Z,d())){if(o=I(d(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;h++}l[u]=256*l[u]+r,n++,2!=n&&4!=n||u++}if(4!=n)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;l[u++]=e}else{if(null!==c)return;h++,u++,c=u}}if(null!==c){a=u-c,u=7;while(0!=u&&a>0)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s}else if(8!=u)return;return l},lt=function(t){for(var e=null,i=1,n=null,r=0,o=0;o<8;o++)0!==t[o]?(r>i&&(e=n,i=r),n=null,r=0):(null===n&&(n=o),++r);return r>i&&(e=n,i=r),e},ut=function(t){var e,i,n,r;if("number"==typeof t){for(e=[],i=0;i<4;i++)H(e,t%256),t=P(t/256);return j(e,".")}if("object"==typeof t){for(e="",n=lt(t),i=0;i<8;i++)r&&0===t[i]||(r&&(r=!1),n===i?(e+=i?":":"::",r=!0):(e+=R(t[i],16),i<7&&(e+=":")));return"["+e+"]"}return t},ct={},ht=f({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),dt=f({},ht,{"#":1,"?":1,"{":1,"}":1}),pt=f({},dt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ft=function(t,e){var i=v(t,0);return i>32&&i<127&&!p(e,t)?t:encodeURIComponent(t)},gt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(t,e){var i;return 2==t.length&&L(X,D(t,0))&&(":"==(i=D(t,1))||!e&&"|"==i)},vt=function(t){var e;return t.length>1&&mt(q(t,0,2))&&(2==t.length||"/"===(e=D(t,2))||"\\"===e||"?"===e||"#"===e)},yt=function(t){return"."===t||"%2e"===$(t)},bt=function(t){return t=$(t),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},_t={},xt={},wt={},St={},Ct={},kt={},Mt={},Ot={},Tt={},At={},It={},Pt={},Et={},Dt={},Lt={},jt={},Rt={},Bt={},Ft={},Nt={},zt={},Vt=function(t,e,i){var n,r,o,a=b(t);if(e){if(r=this.parse(a),r)throw A(r);this.searchParams=null}else{if(void 0!==i&&(n=new Vt(i,!0)),r=this.parse(a,null,n),r)throw A(r);o=O(new M),o.bindURL(this),this.searchParams=o}};Vt.prototype={type:"URL",parse:function(t,e,i){var r,o,a,s,l=this,u=e||_t,c=0,h="",d=!1,f=!1,v=!1;t=b(t),e||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,t=N(t,rt,"")),t=N(t,ot,""),r=g(t);while(c<=r.length){switch(o=r[c],u){case _t:if(!o||!L(X,o)){if(e)return W;u=wt;continue}h+=$(o),u=xt;break;case xt:if(o&&(L(K,o)||"+"==o||"-"==o||"."==o))h+=$(o);else{if(":"!=o){if(e)return W;h="",u=wt,c=0;continue}if(e&&(l.isSpecial()!=p(gt,h)||"file"==h&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=h,e)return void(l.isSpecial()&&gt[l.scheme]==l.port&&(l.port=null));h="","file"==l.scheme?u=Dt:l.isSpecial()&&i&&i.scheme==l.scheme?u=St:l.isSpecial()?u=Ot:"/"==r[c+1]?(u=Ct,c++):(l.cannotBeABaseURL=!0,F(l.path,""),u=Ft)}break;case wt:if(!i||i.cannotBeABaseURL&&"#"!=o)return W;if(i.cannotBeABaseURL&&"#"==o){l.scheme=i.scheme,l.path=m(i.path),l.query=i.query,l.fragment="",l.cannotBeABaseURL=!0,u=zt;break}u="file"==i.scheme?Dt:kt;continue;case St:if("/"!=o||"/"!=r[c+1]){u=kt;continue}u=Tt,c++;break;case Ct:if("/"==o){u=At;break}u=Bt;continue;case kt:if(l.scheme=i.scheme,o==n)l.username=i.username,l.password=i.password,l.host=i.host,l.port=i.port,l.path=m(i.path),l.query=i.query;else if("/"==o||"\\"==o&&l.isSpecial())u=Mt;else if("?"==o)l.username=i.username,l.password=i.password,l.host=i.host,l.port=i.port,l.path=m(i.path),l.query="",u=Nt;else{if("#"!=o){l.username=i.username,l.password=i.password,l.host=i.host,l.port=i.port,l.path=m(i.path),l.path.length--,u=Bt;continue}l.username=i.username,l.password=i.password,l.host=i.host,l.port=i.port,l.path=m(i.path),l.query=i.query,l.fragment="",u=zt}break;case Mt:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=i.username,l.password=i.password,l.host=i.host,l.port=i.port,u=Bt;continue}u=At}else u=Tt;break;case Ot:if(u=Tt,"/"!=o||"/"!=D(h,c+1))continue;c++;break;case Tt:if("/"!=o&&"\\"!=o){u=At;continue}break;case At:if("@"==o){d&&(h="%40"+h),d=!0,a=g(h);for(var y=0;y<a.length;y++){var _=a[y];if(":"!=_||v){var x=ft(_,pt);v?l.password+=x:l.username+=x}else v=!0}h=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(d&&""==h)return G;c-=g(h).length+1,h="",u=It}else h+=o;break;case It:case Pt:if(e&&"file"==l.scheme){u=jt;continue}if(":"!=o||f){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(l.isSpecial()&&""==h)return U;if(e&&""==h&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(h),s)return s;if(h="",u=Rt,e)return;continue}"["==o?f=!0:"]"==o&&(f=!1),h+=o}else{if(""==h)return U;if(s=l.parseHost(h),s)return s;if(h="",u=Et,e==Pt)return}break;case Et:if(!L(Z,o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||e){if(""!=h){var w=I(h,10);if(w>65535)return Y;l.port=l.isSpecial()&&w===gt[l.scheme]?null:w,h=""}if(e)return;u=Rt;continue}return Y}h+=o;break;case Dt:if(l.scheme="file","/"==o||"\\"==o)u=Lt;else{if(!i||"file"!=i.scheme){u=Bt;continue}if(o==n)l.host=i.host,l.path=m(i.path),l.query=i.query;else if("?"==o)l.host=i.host,l.path=m(i.path),l.query="",u=Nt;else{if("#"!=o){vt(j(m(r,c),""))||(l.host=i.host,l.path=m(i.path),l.shortenPath()),u=Bt;continue}l.host=i.host,l.path=m(i.path),l.query=i.query,l.fragment="",u=zt}}break;case Lt:if("/"==o||"\\"==o){u=jt;break}i&&"file"==i.scheme&&!vt(j(m(r,c),""))&&(mt(i.path[0],!0)?F(l.path,i.path[0]):l.host=i.host),u=Bt;continue;case jt:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&mt(h))u=Bt;else if(""==h){if(l.host="",e)return;u=Rt}else{if(s=l.parseHost(h),s)return s;if("localhost"==l.host&&(l.host=""),e)return;h="",u=Rt}continue}h+=o;break;case Rt:if(l.isSpecial()){if(u=Bt,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=n&&(u=Bt,"/"!=o))continue}else l.fragment="",u=zt;else l.query="",u=Nt;break;case Bt:if(o==n||"/"==o||"\\"==o&&l.isSpecial()||!e&&("?"==o||"#"==o)){if(bt(h)?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||F(l.path,"")):yt(h)?"/"==o||"\\"==o&&l.isSpecial()||F(l.path,""):("file"==l.scheme&&!l.path.length&&mt(h)&&(l.host&&(l.host=""),h=D(h,0)+":"),F(l.path,h)),h="","file"==l.scheme&&(o==n||"?"==o||"#"==o))while(l.path.length>1&&""===l.path[0])z(l.path);"?"==o?(l.query="",u=Nt):"#"==o&&(l.fragment="",u=zt)}else h+=ft(o,dt);break;case Ft:"?"==o?(l.query="",u=Nt):"#"==o?(l.fragment="",u=zt):o!=n&&(l.path[0]+=ft(o,ct));break;case Nt:e||"#"!=o?o!=n&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ft(o,ct)):(l.fragment="",u=zt);break;case zt:o!=n&&(l.fragment+=ft(o,ht));break}c++}},parseHost:function(t){var e,i,n;if("["==D(t,0)){if("]"!=D(t,t.length-1))return U;if(e=st(q(t,1,-1)),!e)return U;this.host=e}else if(this.isSpecial()){if(t=y(t),L(it,t))return U;if(e=at(t),null===e)return U;this.host=e}else{if(L(nt,t))return U;for(e="",i=g(t),n=0;n<i.length;n++)e+=ft(i[n],ct);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(gt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&mt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,i=t.username,n=t.password,r=t.host,o=t.port,a=t.path,s=t.query,l=t.fragment,u=e+":";return null!==r?(u+="//",t.includesCredentials()&&(u+=i+(n?":"+n:"")+"@"),u+=ut(r),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},setHref:function(t){var e=this.parse(t);if(e)throw A(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new qt(t.path[0]).origin}catch(i){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+ut(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",_t)},getUsername:function(){return this.username},setUsername:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var i=0;i<e.length;i++)this.username+=ft(e[i],pt)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var i=0;i<e.length;i++)this.password+=ft(e[i],pt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ut(t):ut(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,It)},getHostname:function(){var t=this.host;return null===t?"":ut(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Pt)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(t=b(t),""==t?this.port=null:this.parse(t,Et))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+j(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Rt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){t=b(t),""==t?this.query=null:("?"==D(t,0)&&(t=q(t,1)),this.query="",this.parse(t,Nt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){t=b(t),""!=t?("#"==D(t,0)&&(t=q(t,1)),this.fragment="",this.parse(t,zt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qt=function(t){var e=d(this,$t),i=x(arguments.length,1)>1?arguments[1]:void 0,n=C(e,new Vt(t,!1,i));o||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},$t=qt.prototype,Ht=function(t,e){return{get:function(){return k(this)[t]()},set:e&&function(t){return k(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&(h($t,"href",Ht("serialize","setHref")),h($t,"origin",Ht("getOrigin")),h($t,"protocol",Ht("getProtocol","setProtocol")),h($t,"username",Ht("getUsername","setUsername")),h($t,"password",Ht("getPassword","setPassword")),h($t,"host",Ht("getHost","setHost")),h($t,"hostname",Ht("getHostname","setHostname")),h($t,"port",Ht("getPort","setPort")),h($t,"pathname",Ht("getPathname","setPathname")),h($t,"search",Ht("getSearch","setSearch")),h($t,"searchParams",Ht("getSearchParams")),h($t,"hash",Ht("getHash","setHash"))),c($t,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),c($t,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),T){var Gt=T.createObjectURL,Wt=T.revokeObjectURL;Gt&&c(qt,"createObjectURL",l(Gt,T)),Wt&&c(qt,"revokeObjectURL",l(Wt,T))}_(qt,"URL"),r({global:!0,constructor:!0,forced:!a,sham:!o},{URL:qt})},4006:function(t,e,i){const n=i("45be");function r(t,e){const i=t.a/255,n=e+'="'+t.hex+'"';return i<1?n+" "+e+'-opacity="'+i.toFixed(2).slice(1)+'"':n}function o(t,e,i){let n=t+e;return"undefined"!==typeof i&&(n+=" "+i),n}function a(t,e,i){let n="",r=0,a=!1,s=0;for(let l=0;l<t.length;l++){const u=Math.floor(l%e),c=Math.floor(l/e);u||a||(a=!0),t[l]?(s++,l>0&&u>0&&t[l-1]||(n+=a?o("M",u+i,.5+c+i):o("m",r,0),r=0,a=!1),u+1<e&&t[l+1]||(n+=o("h",s),s=0)):r++}return n}e.render=function(t,e,i){const o=n.getOptions(e),s=t.modules.size,l=t.modules.data,u=s+2*o.margin,c=o.color.light.a?"<path "+r(o.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",h="<path "+r(o.color.dark,"stroke")+' d="'+a(l,s,o.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',p=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+p+d+' shape-rendering="crispEdges">'+c+h+"</svg>\n";return"function"===typeof i&&i(null,f),f}},4074:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QItemSection",mixins:[r["a"]],props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},computed:{classes(){const t=this.avatar||this.side||this.thumbnail;return{"q-item__section--top":this.top,"q-item__section--avatar":this.avatar,"q-item__section--thumbnail":this.thumbnail,"q-item__section--side":t,"q-item__section--nowrap":this.noWrap,"q-item__section--main":!t,["justify-"+(this.top?"start":"center")]:!0}}},render(t){return t("div",{staticClass:"q-item__section column",class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"40d5":function(t,e,i){var n=i("d039");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},4146:function(t,e,i){const n=i("45be");function r(t,e,i){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=i,e.width=i,e.style.height=i+"px",e.style.width=i+"px"}function o(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}e.render=function(t,e,i){let a=i,s=e;"undefined"!==typeof a||e&&e.getContext||(a=e,e=void 0),e||(s=o()),a=n.getOptions(a);const l=n.getImageWidth(t.modules.size,a),u=s.getContext("2d"),c=u.createImageData(l,l);return n.qrToImageData(c.data,t,a),r(u,s,l),u.putImageData(c,0,0),s},e.renderToDataURL=function(t,i,n){let r=n;"undefined"!==typeof r||i&&i.getContext||(r=i,i=void 0),r||(r={});const o=e.render(t,i,r),a=r.type||"image/png",s=r.rendererOpts||{};return o.toDataURL(a,s.quality)}},"41ef":function(t,e,i){"use strict";i.d(e,"g",(function(){return v})),i.d(e,"c",(function(){return _})),i.d(e,"a",(function(){return x})),i.d(e,"b",(function(){return w})),i.d(e,"f",(function(){return S})),i.d(e,"e",(function(){return C})),i.d(e,"h",(function(){return k})),i.d(e,"d",(function(){return M}));var n=i("d51b"),r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return t=Math.round(t),t<0?0:t>255?255:t}function a(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function h(t,e,i){return t+(e-t)*i}function d(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new n["a"](20),g=null;function m(t,e){g&&p(g,e),g=f.put(t,g||e.slice())}function v(t,e){if(t){e=e||[];var i=f.get(t);if(i)return p(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in r)return p(e,r[n]),m(t,e),e;var o=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),s=n.indexOf(")");if(-1!==a&&s+1===o){var c=n.substr(0,a),h=n.substr(a+1,s-(a+1)).split(","),g=1;switch(c){case"rgba":if(4!==h.length)return 3===h.length?d(e,+h[0],+h[1],+h[2],1):d(e,0,0,0,1);g=u(h.pop());case"rgb":return 3!==h.length?void d(e,0,0,0,1):(d(e,l(h[0]),l(h[1]),l(h[2]),g),m(t,e),e);case"hsla":return 4!==h.length?void d(e,0,0,0,1):(h[3]=u(h[3]),y(h,e),m(t,e),e);case"hsl":return 3!==h.length?void d(e,0,0,0,1):(y(h,e),m(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===o||5===o){var v=parseInt(n.slice(1,4),16);return v>=0&&v<=4095?(d(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===o?parseInt(n.slice(4),16)/15:1),m(t,e),e):void d(e,0,0,0,1)}if(7===o||9===o){v=parseInt(n.slice(1,7),16);return v>=0&&v<=16777215?(d(e,(16711680&v)>>16,(65280&v)>>8,255&v,9===o?parseInt(n.slice(7),16)/255:1),m(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),r=u(t[2]),a=r<=.5?r*(n+1):r+n-r*n,s=2*r-a;return e=e||[],d(e,o(255*c(s,a,i+1/3)),o(255*c(s,a,i)),o(255*c(s,a,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function b(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(n,r,o),s=Math.max(n,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+a):l/(2-s-a);var c=((s-n)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;n===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,i,u];return null!=t[3]&&p.push(t[3]),p}}function _(t,e){var i=v(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:i[n]<0&&(i[n]=0);return k(i,4===i.length?"rgba":"rgb")}}function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),r=Math.floor(n),a=Math.ceil(n),l=e[r],u=e[a],c=n-r;return i[0]=o(h(l[0],u[0],c)),i[1]=o(h(l[1],u[1],c)),i[2]=o(h(l[2],u[2],c)),i[3]=s(h(l[3],u[3],c)),i}}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),r=Math.floor(n),a=Math.ceil(n),l=v(e[r]),u=v(e[a]),c=n-r,d=k([o(h(l[0],u[0],c)),o(h(l[1],u[1],c)),o(h(l[2],u[2],c)),s(h(l[3],u[3],c))],"rgba");return i?{color:d,leftIndex:r,rightIndex:a,value:n}:d}}function S(t,e,i,n){var r=v(t);if(t)return r=b(r),null!=e&&(r[0]=a(e)),null!=i&&(r[1]=u(i)),null!=n&&(r[2]=u(n)),k(y(r),"rgba")}function C(t,e){var i=v(t);if(i&&null!=e)return i[3]=s(e),k(i,"rgba")}function k(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function M(t,e){var i=v(t);return i?(.299*i[0]+.587*i[1]+.114*i[2])*i[3]/255+(1-i[3])*e:0}},"429b":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("0016"),o=i("3980"),a=i("463c"),s=i("87e8"),l=i("d882"),u=i("dde5"),c=i("0cd3"),h=i("0831");function d(t,e,i){const n=!0===i?["left","right"]:["top","bottom"];return`absolute-${!0===e?n[0]:n[1]}${t?` text-${t}`:""}`}function p(t,e){return t.priorityMatched===e.priorityMatched?e.priorityHref-t.priorityHref:e.priorityMatched-t.priorityMatched}function f(t){return t.selected=!1,t}const g=[t=>!0===t.selected&&!0===t.exact&&!0!==t.redirected,t=>!0===t.selected&&!0===t.exact,t=>!0===t.selected&&!0!==t.redirected,t=>!0===t.selected,t=>!0===t.exact&&!0!==t.redirected,t=>!0!==t.redirected,t=>!0===t.exact,t=>!0],m=g.length;e["a"]=n["a"].extend({name:"QTabs",mixins:[a["a"],s["a"]],provide(){return{tabs:this.tabs,__recalculateScroll:this.__recalculateScroll,__activateTab:this.__activateTab,__activateRoute:this.__activateRoute,__onKbdNavigate:this.__onKbdNavigate}},props:{value:[Number,String],align:{type:String,default:"center",validator:t=>["left","center","right","justify"].includes(t)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String},data(){return{tabs:{current:this.value,hasFocus:!1,activeClass:this.activeClass,activeColor:this.activeColor,activeBgColor:this.activeBgColor,indicatorClass:d(this.indicatorColor,this.switchIndicator,this.vertical),narrowIndicator:this.narrowIndicator,inlineLabel:this.inlineLabel,noCaps:this.noCaps},scrollable:!1,startArrow:!0,endArrow:!1,justify:!1}},watch:{value(t){this.__activateTab(t,!0,!0)},activeClass(t){this.tabs.activeClass=t},activeColor(t){this.tabs.activeColor=t},activeBgColor(t){this.tabs.activeBgColor=t},vertical(t){this.tabs.indicatorClass=d(this.indicatorColor,this.switchIndicator,t)},indicatorColor(t){this.tabs.indicatorClass=d(t,this.switchIndicator,this.vertical)},switchIndicator(t){this.tabs.indicatorClass=d(this.indicatorColor,t,this.vertical)},narrowIndicator(t){this.tabs.narrowIndicator=t},inlineLabel(t){this.tabs.inlineLabel=t},noCaps(t){this.tabs.noCaps=t},outsideArrows(){this.__recalculateScroll()},arrowsEnabled(t){this.__updateArrows=!0===t?this.__updateArrowsFn:l["g"],this.__recalculateScroll()},isRTL(){this.__updateArrows()}},computed:{arrowsEnabled(){return!0===this.$q.platform.is.desktop||!0===this.mobileArrows},arrowIcons(){const t=!0===this.isRTL?["end","start"]:["start","end"];return{[t[0]]:this.leftIcon||(!0===this.vertical?this.$q.iconSet.tabs.up:this.$q.iconSet.tabs.left),[t[1]]:this.rightIcon||(!0===this.vertical?this.$q.iconSet.tabs.down:this.$q.iconSet.tabs.right)}},alignClass(){const t=!0===this.scrollable?"left":!0===this.justify?"justify":this.align;return`q-tabs__content--align-${t}`},classes(){return`q-tabs--${!0===this.scrollable?"":"not-"}scrollable q-tabs--`+(!0===this.vertical?"vertical":"horizontal")+" q-tabs__arrows--"+(!0===this.arrowsEnabled&&!0===this.outsideArrows?"outside":"inside")+(!0===this.dense?" q-tabs--dense":"")+(!0===this.shrink?" col-shrink":"")+(!0===this.stretch?" self-stretch":"")},innerClass(){return this.alignClass+(void 0!==this.contentClass?` ${this.contentClass}`:"")+(!0===this.$q.platform.is.mobile?" scroll":"")},domProps(){return!0===this.vertical?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}},isRTL(){return!0!==this.vertical&&!0===this.$q.lang.rtl},__getScrollPosition(){return!0===this.vertical?t=>t.scrollTop:!0!==this.$q.lang.rtl?t=>t.scrollLeft:!0===this.rtlHasScrollBug?t=>t.scrollWidth-t.clientWidth-t.scrollLeft:t=>1-t.scrollLeft},__setScrollPosition(){return!0===this.vertical?(t,e)=>{t.scrollTop=e}:!0!==this.$q.lang.rtl?(t,e)=>{t.scrollLeft=e}:!0===this.rtlHasScrollBug?(t,e)=>{t.scrollLeft=t.scrollWidth-t.clientWidth-e}:(t,e)=>{t.scrollLeft=1-e}},__getScrollOffset(){return!0===this.vertical?t=>t.offsetTop:!0!==this.$q.lang.rtl||!0===this.rtlHasScrollBug?t=>t.offsetLeft:t=>t.offsetParent.offsetWidth-t.offsetLeft-t.clientWidth},onEvents(){return{input:l["k"],...this.qListeners,focusin:this.__onFocusin,focusout:this.__onFocusout}}},methods:{__onFocusin(t){this.tabs.hasFocus=!0,void 0!==this.qListeners.focusin&&this.$emit("focusin",t)},__onFocusout(t){this.tabs.hasFocus=!1,void 0!==this.qListeners.focusout&&this.$emit("focusout",t)},__activateTab(t,e,i){this.tabs.current!==t&&(!0!==i&&this.$emit("input",t),!0!==e&&void 0!==this.qListeners.input||(this.__animate(this.tabs.current,t),this.tabs.current=t))},__activateRoute(t){this.bufferRoute!==this.$route&&this.buffer.length>0&&(clearTimeout(this.bufferTimer),this.bufferTimer=void 0,this.buffer.length=0),this.bufferRoute=this.$route,void 0!==t&&(!0===t.remove?this.buffer=this.buffer.filter((e=>e.name!==t.name)):this.buffer.push(t)),void 0===this.bufferTimer&&(this.bufferTimer=setTimeout((()=>{let t=[];for(let e=0;e<m&&0===t.length;e++)t=this.buffer.filter(g[e]);t.sort(p),this.__activateTab(0===t.length?null:t[0].name,!0),this.buffer=this.buffer.map(f),this.bufferTimer=void 0}),1))},__recalculateScroll(){this.__nextTick((()=>{!0!==this._isDestroyed&&this.__updateContainer({width:this.$el.offsetWidth,height:this.$el.offsetHeight})})),this.__prepareTick()},__updateContainer(t){const e=t[this.domProps.container],i=Math.min(this.$refs.content[this.domProps.scroll],Array.prototype.reduce.call(this.$refs.content.children,((t,e)=>t+(e[this.domProps.content]||0)),0)),n=e>0&&i>e;this.scrollable!==n&&(this.scrollable=n),!0===n&&this.$nextTick((()=>this.__updateArrows()));const r=e<parseInt(this.breakpoint,10);this.justify!==r&&(this.justify=r)},__animate(t,e){const i=void 0!==t&&null!==t&&""!==t?this.$children.find((e=>e.name===t)):null,n=void 0!==e&&null!==e&&""!==e?this.$children.find((t=>t.name===e)):null;if(i&&n){const t=i.$el.getElementsByClassName("q-tab__indicator")[0],e=n.$el.getElementsByClassName("q-tab__indicator")[0];clearTimeout(this.animateTimer),t.style.transition="none",t.style.transform="none",e.style.transition="none",e.style.transform="none";const r=t.getBoundingClientRect(),o=e.getBoundingClientRect();e.style.transform=!0===this.vertical?`translate3d(0,${r.top-o.top}px,0) scale3d(1,${o.height?r.height/o.height:1},1)`:`translate3d(${r.left-o.left}px,0,0) scale3d(${o.width?r.width/o.width:1},1,1)`,this.$nextTick((()=>{this.animateTimer=setTimeout((()=>{e.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",e.style.transform="none"}),70)}))}n&&!0===this.scrollable?this.__scrollToTab(n.$el,void 0,!0):this.__updateArrows()},__updateArrowsFn(){const{content:t}=this.$refs;if(void 0!==t){const e=t.getBoundingClientRect(),i=this.__getScrollPosition(t);this.startArrow=i>(!0===this.isRTL?1:0),this.endArrow=!0===this.vertical?Math.ceil(i+e.height)<t.scrollHeight:Math.ceil(i+e.width)<t.scrollWidth}},__animScrollTo(t,e){this.__stopAnimScroll(),this.__onAnimScrollEnd=e,this.__scrollTowards(t),this.scrollTimer=setInterval((()=>{this.__scrollTowards(t)&&this.__stopAnimScroll()}),5)},__scrollToStart(){this.__animScrollTo(0)},__scrollToEnd(){this.__animScrollTo(Number.MAX_SAFE_INTEGER)},__stopAnimScroll(){clearInterval(this.scrollTimer),void 0!==this.__onAnimScrollEnd&&(this.__onAnimScrollEnd(),this.__onAnimScrollEnd=void 0)},__scrollTowards(t){const e=this.$refs.content,i=!0===this.vertical?e.scrollHeight-e.offsetHeight:e.scrollWidth-e.offsetWidth;let n=this.__getScrollPosition(e),r=!1;t=Math.max(0,Math.min(i,t));const o=t<n?-1:1;return n+=5*o,(-1===o&&n<=t||1===o&&n>=t)&&(r=!0,n=t),this.__setScrollPosition(e,n),this.__updateArrows(),r},__scrollToTab(t,e,i){if(void 0===this.$refs.content)return;const n=this.$refs.content,r=this.__getScrollPosition(n),o=!0===this.vertical?n.offsetHeight:n.offsetWidth,a=!0===this.vertical?n.scrollHeight:n.scrollWidth,s=this.__getScrollOffset(t),l=s+(!0===this.vertical?t.offsetHeight:t.offsetWidth),u=s<r,c=l>r+o;!0!==u&&!0!==c?e=void 0:void 0===e&&(l>=a-1?e=!0:!0===u||!0===c&&s<l-o?e=!1:u!==c&&(e=c)),void 0!==e?this.__animScrollTo(!0===e?l>=a-1?a:l-o:s<=1?0:s,!0!==i?()=>{setTimeout((()=>{t&&t.focus()}))}:void 0):!0!==i&&t.focus()},__onKbdNavigate(t,e){const i=t=>t===e||t.matches&&!0===t.matches(".q-tab.q-focusable"),n=Array.prototype.filter.call(this.$refs.content.children,i),r=n.length;if(0===r)return;if(36===t)return!0!==n[0].contains(document.activeElement)&&(this.__scrollToTab(n[0],!1),this.__recalculateScroll(),!0);if(35===t)return!0!==n[r-1].contains(document.activeElement)&&(this.__scrollToTab(n[r-1],!0),this.__recalculateScroll(),!0);const o=!0===this.vertical&&38===t||!0!==this.vertical&&37===t,a=!0===this.vertical&&40===t||!0!==this.vertical&&39===t,s=!0===o?-1:!0===a?1:void 0;if(void 0!==s){const t=!0===this.isRTL?-1:1,i=n.indexOf(e)+s*t;return!(i<0||i>=r||!0===n[i].contains(document.activeElement))&&(this.__scrollToTab(n[i],s===t),this.__recalculateScroll(),!0)}}},created(){this.buffer=[],this.__updateArrows=!0===this.arrowsEnabled?this.__updateArrowsFn:l["g"]},mounted(){this.rtlHasScrollBug=Object(h["g"])()},activated(){!0===this.shouldActivate&&this.__recalculateScroll()},deactivated(){this.shouldActivate=!0},beforeDestroy(){clearTimeout(this.bufferTimer),clearTimeout(this.animateTimer)},render(t){const e=[t(o["a"],{on:Object(c["b"])(this,"resize",{resize:this.__updateContainer})}),t("div",{ref:"content",staticClass:"q-tabs__content row no-wrap items-center self-stretch hide-scrollbar relative-position",class:this.innerClass,on:!0===this.arrowsEnabled?Object(c["b"])(this,"scroll",{scroll:this.__updateArrowsFn}):void 0},Object(u["c"])(this,"default"))];return!0===this.arrowsEnabled&&e.push(t(r["a"],{staticClass:"q-tabs__arrow q-tabs__arrow--start absolute q-tab__icon",class:!0===this.startArrow?"":"q-tabs__arrow--faded",props:{name:this.arrowIcons.start},on:Object(c["b"])(this,"onS",{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll})}),t(r["a"],{staticClass:"q-tabs__arrow q-tabs__arrow--end absolute q-tab__icon",class:!0===this.endArrow?"":"q-tabs__arrow--faded",props:{name:this.arrowIcons.end},on:Object(c["b"])(this,"onE",{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll})})),t("div",{staticClass:"q-tabs row no-wrap items-center",class:this.classes,on:this.onEvents,attrs:{role:"tablist"}},e)}})},"42d2":function(t,e,i){"use strict";e["a"]={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}}},"42e1":function(t,e,i){"use strict";function n(t,e,i,n,r,o,a,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}i.d(e,"a",(function(){return n}))},4362:function(t,e,i){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=i("df7c")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"436b":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("24e8"),o=i("9c40");i("ddb0"),i("5377");function a(t,e=new WeakMap){if(Object(t)!==t)return t;if(e.has(t))return e.get(t);const i=t instanceof Date?new Date(t):t instanceof RegExp?new RegExp(t.source,t.flags):t instanceof Set?new Set:t instanceof Map?new Map:"function"!==typeof t.constructor?Object.create(null):void 0!==t.prototype&&"function"===typeof t.prototype.constructor?t:new t.constructor;if("function"===typeof t.constructor&&"function"===typeof t.valueOf){const i=t.valueOf();if(Object(i)!==i){const n=new t.constructor(i);return e.set(t,n),n}}return e.set(t,i),t instanceof Set?t.forEach((t=>{i.add(a(t,e))})):t instanceof Map&&t.forEach(((t,n)=>{i.set(n,a(t,e))})),Object.assign(i,...Object.keys(t).map((i=>({[i]:a(t[i],e)}))))}var s=i("d728"),l=i("f09f"),u=i("a370"),c=i("4b7e"),h=i("eb85"),d=i("27f9"),p=i("0016"),f=i("b7fa"),g=i("ff7b"),m=i("f89c"),v=i("2b69"),y=i("d882"),b=i("dde5"),_=i("0cd3"),x=n["a"].extend({name:"QRadio",mixins:[f["a"],g["a"],m["b"],v["a"]],props:{value:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return this.value===this.val},classes(){return"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(!0===this.disable?" disabled":"")+(!0===this.isDark?" q-radio--dark":"")+(!0===this.dense?" q-radio--dense":"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=void 0===this.color||!0!==this.keepColor&&!0!==this.isTrue?"":` text-${this.color}`;return`q-radio__inner--${!0===this.isTrue?"truthy":"falsy"}${t}`},computedIcon(){return!0===this.isTrue?this.checkedIcon:this.uncheckedIcon},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},formAttrs(){const t={type:"radio"};return void 0!==this.name&&Object.assign(t,{name:this.name,value:this.val}),t},formDomProps(){if(void 0!==this.name&&!0===this.isTrue)return{checked:!0}},attrs(){const t={tabindex:this.computedTabindex,role:"radio","aria-label":this.label,"aria-checked":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{set(t){void 0!==t&&(Object(y["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&!0!==this.isTrue&&this.$emit("input",this.val,t)}},render(t){const e=void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[t(p["a"],{staticClass:"q-radio__icon",props:{name:this.computedIcon}})])]:[t("svg",{key:"svg",staticClass:"q-radio__bg absolute non-selectable",attrs:{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{attrs:{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}}),t("path",{staticClass:"q-radio__check",attrs:{d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"}})])];!0!==this.disable&&this.__injectFormInput(e,"unshift","q-radio__native q-ma-none q-pa-none");const i=[t("div",{staticClass:"q-radio__inner relative-position",class:this.innerClass,style:this.sizeStyle},e)];void 0!==this.__refocusTargetEl&&i.push(this.__refocusTargetEl);const n=void 0!==this.label?Object(b["a"])([this.label],this,"default"):Object(b["c"])(this,"default");return void 0!==n&&i.push(t("div",{staticClass:"q-radio__label q-anchor--skip"},n)),t("div",{class:this.classes,attrs:this.attrs,on:Object(_["b"])(this,"inpExt",{click:this.set,keydown:t=>{13!==t.keyCode&&32!==t.keyCode||Object(y["l"])(t)},keyup:t=>{13!==t.keyCode&&32!==t.keyCode||this.set(t)}})},i)}}),w=i("8f8e"),S=i("9564"),C=i("87e8");const k={radio:x,checkbox:w["a"],toggle:S["a"]},M=Object.keys(k);var O=n["a"].extend({name:"QOptionGroup",mixins:[f["a"],C["a"]],props:{value:{required:!0},options:{type:Array,validator(t){return t.every((t=>"value"in t&&"label"in t))}},name:String,type:{default:"radio",validator:t=>M.includes(t)},color:String,keepColor:Boolean,dense:Boolean,size:String,leftLabel:Boolean,inline:Boolean,disable:Boolean},computed:{component(){return k[this.type]},model(){return Array.isArray(this.value)?this.value.slice():this.value},classes(){return"q-option-group q-gutter-x-sm"+(!0===this.inline?" q-option-group--inline":"")},attrs(){if("radio"===this.type){const t={role:"radiogroup"};return!0===this.disable&&(t["aria-disabled"]="true"),t}}},methods:{__update(t){this.$emit("input",t)}},created(){const t=Array.isArray(this.value);"radio"===this.type?t&&console.error("q-option-group: model should not be array"):!1===t&&console.error("q-option-group: model should be array in your case")},render(t){return t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},this.options.map(((e,i)=>{const n=void 0!==this.$scopedSlots["label-"+i]?this.$scopedSlots["label-"+i](e):void 0!==this.$scopedSlots.label?this.$scopedSlots.label(e):void 0;return t("div",[t(this.component,{props:{value:this.value,val:e.value,name:void 0===e.name?this.name:e.name,disable:this.disable||e.disable,label:void 0===n?e.label:void 0,leftLabel:void 0===e.leftLabel?this.leftLabel:e.leftLabel,color:void 0===e.color?this.color:e.color,checkedIcon:e.checkedIcon,uncheckedIcon:e.uncheckedIcon,dark:e.dark||this.isDark,size:void 0===e.size?this.size:e.size,dense:this.dense,keepColor:void 0===e.keepColor?this.keepColor:e.keepColor},on:Object(_["b"])(this,"inp",{input:this.__update})},n)])})))}}),T=i("0d59"),A=i("f376"),I=i("5ff7"),P=n["a"].extend({name:"DialogPlugin",mixins:[f["a"],A["b"]],inheritAttrs:!1,props:{title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:t=>["ok","cancel","none"].includes(t)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},computed:{classes(){return"q-dialog-plugin"+(!0===this.isDark?" q-dialog-plugin--dark q-dark":"")+(!1!==this.progress?" q-dialog-plugin--progress":"")},spinner(){if(!1!==this.progress)return!0===Object(I["d"])(this.progress)?{component:this.progress.spinner||T["a"],props:{color:this.progress.color||this.vmColor}}:{component:T["a"],props:{color:this.vmColor}}},hasForm(){return void 0!==this.prompt||void 0!==this.options},okLabel(){return!0===Object(I["d"])(this.ok)||!0===this.ok?this.$q.lang.label.ok:this.ok},cancelLabel(){return!0===Object(I["d"])(this.cancel)||!0===this.cancel?this.$q.lang.label.cancel:this.cancel},vmColor(){return this.color||(!0===this.isDark?"amber":"primary")},okDisabled(){return void 0!==this.prompt?void 0!==this.prompt.isValid&&!0!==this.prompt.isValid(this.prompt.model):void 0!==this.options?void 0!==this.options.isValid&&!0!==this.options.isValid(this.options.model):void 0},okProps(){return{color:this.vmColor,label:this.okLabel,ripple:!1,disable:this.okDisabled,...!0===Object(I["d"])(this.ok)?this.ok:{flat:!0}}},cancelProps(){return{color:this.vmColor,label:this.cancelLabel,ripple:!1,...!0===Object(I["d"])(this.cancel)?this.cancel:{flat:!0}}}},methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},getPrompt(t){return[t(d["a"],{props:{value:this.prompt.model,type:this.prompt.type,label:this.prompt.label,stackLabel:this.prompt.stackLabel,outlined:this.prompt.outlined,filled:this.prompt.filled,standout:this.prompt.standout,rounded:this.prompt.rounded,square:this.prompt.square,counter:this.prompt.counter,maxlength:this.prompt.maxlength,prefix:this.prompt.prefix,suffix:this.prompt.suffix,color:this.vmColor,dense:!0,autofocus:!0,dark:this.isDark},attrs:this.prompt.attrs,on:Object(_["b"])(this,"prompt",{input:t=>{this.prompt.model=t},keyup:t=>{!0!==this.okDisabled&&"textarea"!==this.prompt.type&&!0===Object(s["a"])(t,13)&&this.onOk()}})})]},getOptions(t){return[t(O,{props:{value:this.options.model,type:this.options.type,color:this.vmColor,inline:this.options.inline,options:this.options.items,dark:this.isDark},on:Object(_["b"])(this,"opts",{input:t=>{this.options.model=t}})})]},getButtons(t){const e=[];if(this.cancel&&e.push(t(o["a"],{props:this.cancelProps,attrs:{"data-autofocus":"cancel"===this.focus&&!0!==this.hasForm},on:Object(_["b"])(this,"cancel",{click:this.onCancel})})),this.ok&&e.push(t(o["a"],{props:this.okProps,attrs:{"data-autofocus":"ok"===this.focus&&!0!==this.hasForm},on:Object(_["b"])(this,"ok",{click:this.onOk})})),e.length>0)return t(c["a"],{staticClass:!0===this.stackButtons?"items-end":null,props:{vertical:this.stackButtons,align:"right"}},e)},onOk(){this.$emit("ok",a(this.getData())),this.hide()},onCancel(){this.hide()},getData(){return void 0!==this.prompt?this.prompt.model:void 0!==this.options?this.options.model:void 0},getSection(t,e,i){return!0===this.html?t(u["a"],{staticClass:e,domProps:{innerHTML:i}}):t(u["a"],{staticClass:e},[i])}},render(t){const e=[];return this.title&&e.push(this.getSection(t,"q-dialog__title",this.title)),!1!==this.progress&&e.push(t(u["a"],{staticClass:"q-dialog__progress"},[t(this.spinner.component,{props:this.spinner.props})])),this.message&&e.push(this.getSection(t,"q-dialog__message",this.message)),void 0!==this.prompt?e.push(t(u["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getPrompt(t))):void 0!==this.options&&e.push(t(h["a"],{props:{dark:this.isDark}}),t(u["a"],{staticClass:"scroll q-dialog-plugin__form"},this.getOptions(t)),t(h["a"],{props:{dark:this.isDark}})),(this.ok||this.cancel)&&e.push(this.getButtons(t)),t(r["a"],{ref:"dialog",props:{...this.qAttrs,value:this.value},on:Object(_["b"])(this,"hide",{hide:()=>{this.$emit("hide")}})},[t(l["a"],{staticClass:this.classes,style:this.cardStyle,class:this.cardClass,props:{dark:this.isDark}},e)])}}),E=i("0967");const D={onOk:()=>D,okCancel:()=>D,hide:()=>D,update:()=>D};function L(t,e){for(const i in e)"spinner"!==i&&Object(e[i])===e[i]?(t[i]=Object(t[i])!==t[i]?{}:{...t[i]},L(t[i],e[i])):t[i]=e[i]}let j;function R(t,e){if(void 0!==t)return t;if(void 0!==e)return e;if(void 0===j){const t=document.getElementById("q-app");t&&t.__vue__&&(j=t.__vue__.$root)}return j}var B=function(t){return({className:e,class:i,style:r,component:o,root:a,parent:s,...l})=>{if(!0===E["e"])return D;void 0!==i&&(l.cardClass=i),void 0!==r&&(l.cardStyle=r);const u=void 0!==o;let c,h;!0===u?c=o:(c=t,h=l);const d=[],p=[],f={onOk(t){return d.push(t),f},onCancel(t){return p.push(t),f},onDismiss(t){return d.push(t),p.push(t),f},hide(){return y.$refs.dialog.hide(),f},update({className:t,class:e,style:i,component:n,root:r,parent:o,...a}){return null!==y&&(void 0!==e&&(a.cardClass=e),void 0!==i&&(a.cardStyle=i),!0===u?Object.assign(l,a):(L(l,a),h={...l}),y.$forceUpdate()),f}},g=document.createElement("div");document.body.appendChild(g);let m=!1;const v={ok:t=>{m=!0,d.forEach((e=>{e(t)}))},hide:()=>{y.$destroy(),y.$el.remove(),y=null,!0!==m&&p.forEach((t=>{t()}))}};let y=new n["a"]({name:"QGlobalDialog",el:g,parent:R(s,a),render(t){return t(c,{ref:"dialog",props:l,attrs:h,on:v})},mounted(){void 0!==this.$refs.dialog?this.$refs.dialog.show():v["hook:mounted"]=()=>{void 0!==this.$refs.dialog&&this.$refs.dialog.show()}}});return f}};e["a"]={install({$q:t}){this.create=t.dialog=B(P)}}},4461:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("124f"),r=a(n),o=i("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod11)(t),i))}return u(e,t),e}(r.default);e.default=c},"44ad":function(t,e,i){var n=i("e330"),r=i("d039"),o=i("c6b6"),a=Object,s=n("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},"44d2":function(t,e,i){var n=i("b622"),r=i("7c73"),o=i("9bf2").f,a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"45be":function(t,e){function i(t){if("number"===typeof t&&(t=t.toString()),"string"!==typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");const i=parseInt(e.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:255&i,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});const e="undefined"===typeof t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,r=t.scale||4;return{width:n,scale:n?4:r,margin:e,color:{dark:i(t.color.dark||"#000000ff"),light:i(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,i){const n=e.getScale(t,i);return Math.floor((t+2*i.margin)*n)},e.qrToImageData=function(t,i,n){const r=i.modules.size,o=i.modules.data,a=e.getScale(r,n),s=Math.floor((r+2*n.margin)*a),l=n.margin*a,u=[n.color.light,n.color.dark];for(let e=0;e<s;e++)for(let i=0;i<s;i++){let c=4*(e*s+i),h=n.color.light;if(e>=l&&i>=l&&e<s-l&&i<s-l){const t=Math.floor((e-l)/a),n=Math.floor((i-l)/a);h=u[o[t*r+n]?1:0]}t[c++]=h.r,t[c++]=h.g,t[c++]=h.b,t[c]=h.a}}},"463c":function(t,e,i){"use strict";e["a"]={methods:{__nextTick(t){this.__tickFn=t},__prepareTick(){if(void 0!==this.__tickFn){const t=this.__tickFn;this.$nextTick((()=>{this.__tickFn===t&&(this.__tickFn(),this.__tickFn=void 0)}))}},__clearTick(){this.__tickFn=void 0},__setTimeout(t,e){clearTimeout(this.__timer),this.__timer=setTimeout(t,e)},__clearTimeout(){clearTimeout(this.__timer)}},beforeDestroy(){this.__tickFn=void 0,clearTimeout(this.__timer)}}},"467f":function(t,e,i){"use strict";var n=i("2d83");t.exports=function(t,e,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?e(n("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},4727:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("124f"),r=a(n),o=i("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod10)(t),i))}return u(e,t),e}(r.default);e.default=c},4840:function(t,e,i){var n=i("825a"),r=i("5087"),o=i("b622"),a=o("species");t.exports=function(t,e){var i,o=n(t).constructor;return void 0===o||void 0==(i=n(o)[a])?e:r(i)}},4848:function(t,e,i){},"485a":function(t,e,i){var n=i("c65b"),r=i("1626"),o=i("861d"),a=TypeError;t.exports=function(t,e){var i,s;if("string"===e&&r(i=t.toString)&&!o(s=n(i,t)))return s;if(r(i=t.valueOf)&&!o(s=n(i,t)))return s;if("string"!==e&&r(i=t.toString)&&!o(s=n(i,t)))return s;throw a("Can't convert object to primitive value")}},4930:function(t,e,i){var n=i("2d00"),r=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4983:function(t,e,i){"use strict";i("caad"),i("ddb0");var n=i("2b0e"),r=i("3980"),o=i("ed5e"),a=i("75c3"),s=i("7937"),l=i("0831"),u=i("dde5"),c=i("0cd3"),h=i("1c16"),d=i("b7fa"),p=i("f376");const f=t=>t>=250?50:Math.ceil(t/5),g=["vertical","horizontal"],m={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}};e["a"]=n["a"].extend({name:"QScrollArea",mixins:[d["a"]],directives:{TouchPan:a["a"]},props:{thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},horizontal:Boolean,tabindex:[String,Number]},data(){return{tempShowing:!1,panning:!1,hover:!1,container:{vertical:0,horizontal:0},scroll:{vertical:{position:0,size:0},horizontal:{position:0,size:0}}}},computed:{classes(){return"q-scrollarea"+(!0===this.isDark?" q-scrollarea--dark":"")},verticalScrollPercentage(){const t=this.scroll.vertical.size-this.container.vertical;if(t<=0)return 0;const e=Object(s["a"])(this.scroll.vertical.position/t,0,1);return Math.round(1e4*e)/1e4},horizontalScrollPercentage(){const t=this.scroll.horizontal.size-this.container.horizontal;if(t<=0)return 0;const e=Object(s["a"])(this.scroll.horizontal.position/t,0,1);return Math.round(1e4*e)/1e4},verticalThumbHidden(){return!0!==(null===this.visible?this.hover:this.visible)&&!1===this.tempShowing&&!1===this.panning||this.scroll.vertical.size<=this.container.vertical+1},horizontalThumbHidden(){return!0!==(null===this.visible?this.hover:this.visible)&&!1===this.tempShowing&&!1===this.panning||this.scroll.horizontal.size<=this.container.horizontal+1},verticalThumbStart(){return this.verticalScrollPercentage*(this.container.vertical-this.verticalThumbSize)},horizontalThumbStart(){return this.horizontalScrollPercentage*(this.container.horizontal-this.horizontalThumbSize)},verticalThumbSize(){return Math.round(Object(s["a"])(this.container.vertical*this.container.vertical/this.scroll.vertical.size,f(this.container.vertical),this.container.vertical))},horizontalThumbSize(){return Math.round(Object(s["a"])(this.container.horizontal*this.container.horizontal/this.scroll.horizontal.size,f(this.container.horizontal),this.container.horizontal))},verticalStyle(){return{...this.thumbStyle,...this.verticalThumbStyle,top:`${this.verticalThumbStart}px`,height:`${this.verticalThumbSize}px`}},horizontalStyle(){return{...this.thumbStyle,...this.horizontalThumbStyle,left:`${this.horizontalThumbStart}px`,width:`${this.horizontalThumbSize}px`}},verticalThumbClass(){return"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(!0===this.verticalThumbHidden?" q-scrollarea__thumb--invisible":"")},horizontalThumbClass(){return"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(!0===this.horizontalThumbHidden?" q-scrollarea__thumb--invisible":"")},verticalBarClass(){return"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(!0===this.verticalThumbHidden?" q-scrollarea__bar--invisible":"")},horizontalBarClass(){return"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(!0===this.horizontalThumbHidden?" q-scrollarea__bar--invisible":"")},scrollComputed(){return{vertical:{...this.scroll.vertical,percentage:this.verticalScrollPercentage,thumbHidden:this.verticalThumbHidden,thumbStart:this.verticalThumbStart,thumbSize:this.verticalThumbSize,style:this.verticalStyle,thumbClass:this.verticalThumbClass,barClass:this.verticalBarClass},horizontal:{...this.scroll.horizontal,percentage:this.horizontalScrollPercentage,thumbHidden:this.horizontalThumbHidden,thumbStart:this.horizontalThumbStart,thumbSize:this.horizontalThumbSize,style:this.horizontalStyle,thumbClass:this.horizontalThumbClass,barClass:this.horizontalBarClass}}},mainStyle(){return!0===this.verticalThumbHidden&&!0===this.horizontalThumbHidden?this.contentStyle:this.contentActiveStyle},verticalThumbDirectives(){return[{name:"touch-pan",modifiers:{vertical:!0,prevent:!0,mouse:!0,mouseAllDir:!0},value:t=>{this.__panThumb(t,"vertical")}}]},horizontalThumbDirectives(){return[{name:"touch-pan",modifiers:{horizontal:!0,prevent:!0,mouse:!0,mouseAllDir:!0},value:t=>{this.__panThumb(t,"horizontal")}}]},scrollAttrs(){if(void 0!==this.tabindex)return{tabindex:this.tabindex}}},methods:{getScrollTarget(){return this.$refs.target},getScroll(){const t={};return g.forEach((e=>{const i=this.scrollComputed[e];t[e+"Position"]=i.position,t[e+"Percentage"]=i.percentage,t[e+"Size"]=i.size,t[e+"ContainerSize"]=this.container[e]})),t},getScrollPosition(t){return"both"===t?{top:this.scroll.vertical.position,left:this.scroll.horizontal.position}:(!0!==g.includes(t)&&(t=!0===this.horizontal?"horizontal":"vertical"),this.scroll[t].position)},getScrollPercentage(t){return"both"===t?{top:this.verticalScrollPercentage,left:this.horizontalScrollPercentage}:(!0!==g.includes(t)&&(t=!0===this.horizontal?"horizontal":"vertical"),this[`${t}ScrollPercentage`])},setScrollPosition(t,e,i){if(!1===g.includes(t)){if(!0===isNaN(t))return void console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");[t,e,i]=[!0===this.horizontal?"horizontal":"vertical",t,e]}const n="vertical"===t?l["j"]:l["h"];n(this.$refs.target,e,i)},setScrollPercentage(t,e,i){if(!1===g.includes(t)){if(!0===isNaN(t))return void console.error("[QScrollArea]: wrong first param of setScrollPercentage (vertical/horizontal)");[t,e,i]=[!0===this.horizontal?"horizontal":"vertical",t,e]}this.setScrollPosition(t,e*(this.scroll[t].size-this.container[t]),i)},__updateContainer({height:t,width:e}){let i=!1;this.container.vertical!==t&&(this.container.vertical=t,i=!0),this.container.horizontal!==e&&(this.container.horizontal=e,i=!0),!0===i&&this.__startTimer()},__updateVerticalScroll({position:t}){this.scroll.vertical.position!==t&&(this.scroll.vertical.position=t,this.__startTimer())},__updateHorizontalScroll({position:t}){this.scroll.horizontal.position!==t&&(this.scroll.horizontal.position=t,this.__startTimer())},__updateScrollSize({height:t,width:e}){let i=!1;this.scroll.horizontal.size!==e&&(this.scroll.horizontal.size=e,i=!0),this.scroll.vertical.size!==t&&(this.scroll.vertical.size=t,i=!0),!0===i&&this.__startTimer()},__panThumb(t,e){const i=this.scrollComputed[e];if(!0===t.isFinal){if(!0!==this.panning)return;this.panning=!1}else if(!0===t.isFirst){if(!0===i.thumbHidden)return;this.refPos=i.position,this.panning=!0}else if(!0!==this.panning)return;const n=m[e],r=this.container[e],o=(i.size-r)/(r-i.thumbSize),a=t.distance[n.dist],s=this.refPos+(t.direction===n.dir?1:-1)*a*o;this.__setScroll(s,e)},__mouseDown(t,e){const i=this.scrollComputed[e];if(!0!==i.thumbHidden){const n=t[m[e].offset];if(n<i.thumbStart||n>i.thumbStart+i.thumbSize){const t=n-i.thumbSize/2;this.__setScroll(t/this.container[e]*i.size,e)}const r="vertical"===e?this.$refs.verticalThumb:this.$refs.horizontalThumb;void 0!==r&&r.dispatchEvent(new MouseEvent(t.type,t))}},__verticalMouseDown(t){this.__mouseDown(t,"vertical")},__horizontalMouseDown(t){this.__mouseDown(t,"horizontal")},__startTimer(){!0===this.tempShowing?clearTimeout(this.timer):this.tempShowing=!0,this.timer=setTimeout((()=>{this.tempShowing=!1}),this.delay),void 0!==this.$listeners.scroll&&this.__emitScroll()},__setScroll(t,e){this.$refs.target[m[e].scroll]=t},__mouseEnter(){this.hover=!0},__mouseLeave(){this.hover=!1}},render(t){return t("div",{class:this.classes,on:Object(c["b"])(this,"desk",{mouseenter:this.__mouseEnter,mouseleave:this.__mouseLeave})},[t("div",{ref:"target",staticClass:"q-scrollarea__container scroll relative-position fit hide-scrollbar",attrs:this.scrollAttrs},[t("div",{staticClass:"q-scrollarea__content absolute",style:this.mainStyle},Object(u["a"])([t(r["a"],{props:{debounce:0},on:Object(c["b"])(this,"resizeIn",{resize:this.__updateScrollSize})})],this,"default")),t(o["a"],{on:Object(c["b"])(this,"scrollV",{scroll:this.__updateVerticalScroll})}),t(o["a"],{props:{horizontal:!0},on:Object(c["b"])(this,"scrollH",{scroll:this.__updateHorizontalScroll})})]),t(r["a"],{props:{debounce:0},on:Object(c["b"])(this,"resizeOut",{resize:this.__updateContainer})}),t("div",{class:this.verticalBarClass,style:[this.barStyle,this.verticalBarStyle],attrs:p["a"],on:Object(c["b"])(this,"barV",{mousedown:this.__verticalMouseDown})}),t("div",{class:this.horizontalBarClass,style:[this.barStyle,this.horizontalBarStyle],attrs:p["a"],on:Object(c["b"])(this,"barH",{mousedown:this.__horizontalMouseDown})}),t("div",{ref:"verticalThumb",class:this.verticalThumbClass,style:this.verticalStyle,attrs:p["a"],directives:this.verticalThumbDirectives}),t("div",{ref:"horizontalThumb",class:this.horizontalThumbClass,style:this.horizontalStyle,attrs:p["a"],directives:this.horizontalThumbDirectives})])},created(){this.__emitScroll=Object(h["a"])((()=>{const t=this.getScroll();t.ref=this,this.$emit("scroll",t)}),0)},activated(){if(void 0===this.__scrollPosition)return;const t=this.getScrollTarget();void 0!==t&&(Object(l["h"])(t,this.__scrollPosition.left),Object(l["j"])(t,this.__scrollPosition.top))},deactivated(){this.__scrollPosition=this.getScrollPosition("both")},beforeDestroy(){this.__emitScroll.cancel(),clearTimeout(this.timer)}})},"4a0c":function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},"4a7b":function(t,e,i){"use strict";var n=i("c532");t.exports=function(t,e){e=e||{};var i={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function u(r){n.isUndefined(e[r])?n.isUndefined(t[r])||(i[r]=l(void 0,t[r])):i[r]=l(t[r],e[r])}n.forEach(r,(function(t){n.isUndefined(e[t])||(i[t]=l(void 0,e[t]))})),n.forEach(o,u),n.forEach(a,(function(r){n.isUndefined(e[r])?n.isUndefined(t[r])||(i[r]=l(void 0,t[r])):i[r]=l(void 0,e[r])})),n.forEach(s,(function(n){n in e?i[n]=l(t[n],e[n]):n in t&&(i[n]=l(void 0,t[n]))}));var c=r.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===c.indexOf(t)}));return n.forEach(h,u),i}},"4b23":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=s(r),a=i("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,i){l(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.substring(1),i));return n.bytes=t.split("").map((function(t){return t.charCodeAt(0)})),n}return c(e,t),n(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,i=t.shift()-105,n=a.SET_BY_CODE[i];if(void 0===n)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(a.FNC1);var r=e.next(t,1,n);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(i)+r.result+e.getBar((r.checksum+i)%a.MODULO)+e.getBar(a.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"===typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return a.BARS[t]?a.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===a.SET_A){var i=t.shift();return i<32?i+64:i-32}return e===a.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,i,n){if(!t.length)return{result:"",checksum:0};var r=void 0,o=void 0;if(t[0]>=200){o=t.shift()-105;var s=a.SWAP[o];void 0!==s?r=e.next(t,i+1,s):(n!==a.SET_A&&n!==a.SET_B||o!==a.SHIFT||(t[0]=n===a.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),r=e.next(t,i+1,n))}else o=e.correctIndex(t,n),r=e.next(t,i+1,n);var l=e.getBar(o),u=o*i;return{result:l+r.result,checksum:u+r.checksum}}}]),e}(o.default);e.default=h},"4b7e":function(t,e,i){"use strict";var n=i("2b0e"),r=i("99b6"),o=i("87e8"),a=i("dde5");e["a"]=n["a"].extend({name:"QCardActions",mixins:[o["a"],r["a"]],props:{vertical:Boolean},computed:{classes(){return`q-card__actions--${!0===this.vertical?"vert column":"horiz row"} ${this.alignClass}`}},render(t){return t("div",{staticClass:"q-card__actions",class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},"4ced":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e,i,n){r(this,t),this.object=e,this.encodings=i,this.options=n}return n(t,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),t}();e.default=o},"4d5a":function(t,e,i){"use strict";var n=i("2b0e"),r=i("0967"),o=i("ed5e"),a=i("3980"),s=i("87e8"),l=i("0831"),u=i("dde5"),c=i("0cd3");e["a"]=n["a"].extend({name:"QLayout",mixins:[s["a"]],provide(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:t=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}},data(){return{height:this.$q.screen.height,width:!0===this.container?0:this.$q.screen.width,containerHeight:0,scrollbarWidth:!0===r["f"]?0:Object(l["e"])(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows(){const t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},style(){return!0===this.container?null:{minHeight:this.$q.screen.height+"px"}},targetStyle(){if(0!==this.scrollbarWidth)return{[!0===this.$q.lang.rtl?"left":"right"]:`${this.scrollbarWidth}px`}},targetChildStyle(){if(0!==this.scrollbarWidth)return{[!0===this.$q.lang.rtl?"right":"left"]:0,[!0===this.$q.lang.rtl?"left":"right"]:`-${this.scrollbarWidth}px`,width:`calc(100% + ${this.scrollbarWidth}px)`}},totalWidth(){return this.width+this.scrollbarWidth},classes(){return"q-layout q-layout--"+(!0===this.container?"containerized":"standard")},scrollbarEvtAction(){return!0!==this.container&&this.scrollbarWidth>0?"add":"remove"}},watch:{scrollbarEvtAction:"__updateScrollEvent"},created(){this.instances={}},mounted(){"add"===this.scrollbarEvtAction&&this.__updateScrollEvent("add")},beforeDestroy(){"add"===this.scrollbarEvtAction&&this.__updateScrollEvent("remove")},render(t){const e=t("div",{class:this.classes,style:this.style,attrs:{tabindex:-1},on:{...this.qListeners}},Object(u["a"])([t(o["a"],{on:Object(c["b"])(this,"scroll",{scroll:this.__onPageScroll})}),t(a["a"],{on:Object(c["b"])(this,"resizeOut",{resize:this.__onPageResize})})],this,"default"));return!0===this.container?t("div",{staticClass:"q-layout-container overflow-hidden"},[t(a["a"],{on:Object(c["b"])(this,"resizeIn",{resize:this.__onContainerResize})}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"scroll",style:this.targetChildStyle},[e])])]):e},methods:{__animate(){void 0!==this.timer?clearTimeout(this.timer):document.body.classList.add("q-body--layout-animate"),this.timer=setTimeout((()=>{document.body.classList.remove("q-body--layout-animate"),this.timer=void 0}),150)},__onPageScroll(t){!0!==this.container&&!0===document.qScrollPrevented||(this.scroll=t),void 0!==this.qListeners.scroll&&this.$emit("scroll",t)},__onPageResize({height:t,width:e}){let i=!1;this.height!==t&&(i=!0,this.height=t,void 0!==this.qListeners["scroll-height"]&&this.$emit("scroll-height",t),this.__updateScrollbarWidth()),this.width!==e&&(i=!0,this.width=e),!0===i&&void 0!==this.qListeners.resize&&this.$emit("resize",{height:t,width:e})},__onContainerResize({height:t}){this.containerHeight!==t&&(this.containerHeight=t,this.__updateScrollbarWidth())},__updateScrollbarWidth(){if(!0===this.container){const t=this.height>this.containerHeight?Object(l["e"])():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}},__updateScrollEvent(t){void 0!==this.timerScrollbar&&"remove"===t&&(clearTimeout(this.timerScrollbar),this.__restoreScrollbar()),window[`${t}EventListener`]("resize",this.__hideScrollbar)},__hideScrollbar(){if(void 0===this.timerScrollbar){const t=document.body;if(t.scrollHeight>this.$q.screen.height)return;t.classList.add("hide-scrollbar")}else clearTimeout(this.timerScrollbar);this.timerScrollbar=setTimeout(this.__restoreScrollbar,200)},__restoreScrollbar(){this.timerScrollbar=void 0,document.body.classList.remove("hide-scrollbar")}}})},"4d64":function(t,e,i){var n=i("fc6a"),r=i("23cb"),o=i("07fa"),a=function(t){return function(e,i,a){var s,l=n(e),u=o(l),c=r(a,u);if(t&&i!=i){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4dae":function(t,e,i){var n=i("23cb"),r=i("07fa"),o=i("8418"),a=Array,s=Math.max;t.exports=function(t,e,i){for(var l=r(t),u=n(e,l),c=n(void 0===i?l:i,l),h=a(s(c-u,0)),d=0;u<c;u++,d++)o(h,d,t[u]);return h.length=d,h}},"4dec":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return Vn}));
  43. /*! *****************************************************************************
  44. Copyright (c) Microsoft Corporation.
  45. Permission to use, copy, modify, and/or distribute this software for any
  46. purpose with or without fee is hereby granted.
  47. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  48. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  49. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  50. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  51. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  52. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  53. PERFORMANCE OF THIS SOFTWARE.
  54. ***************************************************************************** */
  55. var n=function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},n.apply(this,arguments)};function r(t,e,i){if(i||2===arguments.length)for(var n,r=0,o=e.length;r<o;r++)!n&&r in e||(n||(n=Array.prototype.slice.call(e,0,r)),n[r]=e[r]);return t.concat(n||Array.prototype.slice.call(e))}var o="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:t,a=Object.keys,s=Array.isArray;function l(t,e){return"object"!==typeof e||a(e).forEach((function(i){t[i]=e[i]})),t}"undefined"===typeof Promise||o.Promise||(o.Promise=Promise);var u=Object.getPrototypeOf,c={}.hasOwnProperty;function h(t,e){return c.call(t,e)}function d(t,e){"function"===typeof e&&(e=e(u(t))),("undefined"===typeof Reflect?a:Reflect.ownKeys)(e).forEach((function(i){f(t,i,e[i])}))}var p=Object.defineProperty;function f(t,e,i,n){p(t,e,l(i&&h(i,"get")&&"function"===typeof i.get?{get:i.get,set:i.set,configurable:!0}:{value:i,configurable:!0,writable:!0},n))}function g(t){return{from:function(e){return t.prototype=Object.create(e.prototype),f(t.prototype,"constructor",t),{extend:d.bind(null,t.prototype)}}}}var m=Object.getOwnPropertyDescriptor;function v(t,e){var i,n=m(t,e);return n||(i=u(t))&&v(i,e)}var y=[].slice;function b(t,e,i){return y.call(t,e,i)}function _(t,e){return e(t)}function x(t){if(!t)throw new Error("Assertion Failed")}function w(t){o.setImmediate?setImmediate(t):setTimeout(t,0)}function S(t,e){return t.reduce((function(t,i,n){var r=e(i,n);return r&&(t[r[0]]=r[1]),t}),{})}function C(t,e,i){try{t.apply(null,i)}catch(n){e&&e(n)}}function k(t,e){if(h(t,e))return t[e];if(!e)return t;if("string"!==typeof e){for(var i=[],n=0,r=e.length;n<r;++n){var o=k(t,e[n]);i.push(o)}return i}var a=e.indexOf(".");if(-1!==a){var s=t[e.substr(0,a)];return void 0===s?void 0:k(s,e.substr(a+1))}}function M(t,e,i){if(t&&void 0!==e&&(!("isFrozen"in Object)||!Object.isFrozen(t)))if("string"!==typeof e&&"length"in e){x("string"!==typeof i&&"length"in i);for(var n=0,r=e.length;n<r;++n)M(t,e[n],i[n])}else{var o=e.indexOf(".");if(-1!==o){var a=e.substr(0,o),l=e.substr(o+1);if(""===l)void 0===i?s(t)&&!isNaN(parseInt(a))?t.splice(a,1):delete t[a]:t[a]=i;else{var u=t[a];u&&h(t,a)||(u=t[a]={}),M(u,l,i)}}else void 0===i?s(t)&&!isNaN(parseInt(e))?t.splice(e,1):delete t[e]:t[e]=i}}function O(t,e){"string"===typeof e?M(t,e,void 0):"length"in e&&[].map.call(e,(function(e){M(t,e,void 0)}))}function T(t){var e={};for(var i in t)h(t,i)&&(e[i]=t[i]);return e}var A=[].concat;function I(t){return A.apply([],t)}var P="Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(I([8,16,32,64].map((function(t){return["Int","Uint","Float"].map((function(e){return e+t+"Array"}))})))).filter((function(t){return o[t]})),E=P.map((function(t){return o[t]}));S(P,(function(t){return[t,!0]}));var D=null;function L(t){D="undefined"!==typeof WeakMap&&new WeakMap;var e=j(t);return D=null,e}function j(t){if(!t||"object"!==typeof t)return t;var e=D&&D.get(t);if(e)return e;if(s(t)){e=[],D&&D.set(t,e);for(var i=0,n=t.length;i<n;++i)e.push(j(t[i]))}else if(E.indexOf(t.constructor)>=0)e=t;else{var r=u(t);for(var o in e=r===Object.prototype?{}:Object.create(r),D&&D.set(t,e),t)h(t,o)&&(e[o]=j(t[o]))}return e}var R={}.toString;function B(t){return R.call(t).slice(8,-1)}var F="undefined"!==typeof Symbol?Symbol.iterator:"@@iterator",N="symbol"===typeof F?function(t){var e;return null!=t&&(e=t[F])&&e.apply(t)}:function(){return null},z={};function V(t){var e,i,n,r;if(1===arguments.length){if(s(t))return t.slice();if(this===z&&"string"===typeof t)return[t];if(r=N(t)){i=[];while(n=r.next(),!n.done)i.push(n.value);return i}if(null==t)return[t];if(e=t.length,"number"===typeof e){i=new Array(e);while(e--)i[e]=t[e];return i}return[t]}e=arguments.length,i=new Array(e);while(e--)i[e]=arguments[e];return i}var q="undefined"!==typeof Symbol?function(t){return"AsyncFunction"===t[Symbol.toStringTag]}:function(){return!1},$="undefined"!==typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function H(t,e){$=t,G=e}var G=function(){return!0},W=!new Error("").stack;function U(){if(W)try{throw U.arguments,new Error}catch(t){return t}return new Error}function Y(t,e){var i=t.stack;return i?(e=e||0,0===i.indexOf(t.name)&&(e+=(t.name+t.message).split("\n").length),i.split("\n").slice(e).filter(G).map((function(t){return"\n"+t})).join("")):""}var X=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],K=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],Z=X.concat(K),Q={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function J(t,e){this._e=U(),this.name=t,this.message=e}function tt(t,e){return t+". Errors: "+Object.keys(e).map((function(t){return e[t].toString()})).filter((function(t,e,i){return i.indexOf(t)===e})).join("\n")}function et(t,e,i,n){this._e=U(),this.failures=e,this.failedKeys=n,this.successCount=i,this.message=tt(t,e)}function it(t,e){this._e=U(),this.name="BulkError",this.failures=Object.keys(e).map((function(t){return e[t]})),this.failuresByPos=e,this.message=tt(t,e)}g(J).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+Y(this._e,2))}},toString:function(){return this.name+": "+this.message}}),g(et).from(J),g(it).from(J);var nt=Z.reduce((function(t,e){return t[e]=e+"Error",t}),{}),rt=J,ot=Z.reduce((function(t,e){var i=e+"Error";function n(t,n){this._e=U(),this.name=i,t?"string"===typeof t?(this.message=t+(n?"\n "+n:""),this.inner=n||null):"object"===typeof t&&(this.message=t.name+" "+t.message,this.inner=t):(this.message=Q[e]||i,this.inner=null)}return g(n).from(rt),t[e]=n,t}),{});ot.Syntax=SyntaxError,ot.Type=TypeError,ot.Range=RangeError;var at=K.reduce((function(t,e){return t[e+"Error"]=ot[e],t}),{});function st(t,e){if(!t||t instanceof J||t instanceof TypeError||t instanceof SyntaxError||!t.name||!at[t.name])return t;var i=new at[t.name](e||t.message,t);return"stack"in t&&f(i,"stack",{get:function(){return this.inner.stack}}),i}var lt=Z.reduce((function(t,e){return-1===["Syntax","Type","Range"].indexOf(e)&&(t[e+"Error"]=ot[e]),t}),{});function ut(){}function ct(t){return t}function ht(t,e){return null==t||t===ct?e:function(i){return e(t(i))}}function dt(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function pt(t,e){return t===ut?e:function(){var i=t.apply(this,arguments);void 0!==i&&(arguments[0]=i);var n=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var o=e.apply(this,arguments);return n&&(this.onsuccess=this.onsuccess?dt(n,this.onsuccess):n),r&&(this.onerror=this.onerror?dt(r,this.onerror):r),void 0!==o?o:i}}function ft(t,e){return t===ut?e:function(){t.apply(this,arguments);var i=this.onsuccess,n=this.onerror;this.onsuccess=this.onerror=null,e.apply(this,arguments),i&&(this.onsuccess=this.onsuccess?dt(i,this.onsuccess):i),n&&(this.onerror=this.onerror?dt(n,this.onerror):n)}}function gt(t,e){return t===ut?e:function(i){var n=t.apply(this,arguments);l(i,n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=e.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?dt(r,this.onsuccess):r),o&&(this.onerror=this.onerror?dt(o,this.onerror):o),void 0===n?void 0===a?void 0:a:l(n,a)}}function mt(t,e){return t===ut?e:function(){return!1!==e.apply(this,arguments)&&t.apply(this,arguments)}}function vt(t,e){return t===ut?e:function(){var i=t.apply(this,arguments);if(i&&"function"===typeof i.then){var n=this,r=arguments.length,o=new Array(r);while(r--)o[r]=arguments[r];return i.then((function(){return e.apply(n,o)}))}return e.apply(this,arguments)}}lt.ModifyError=et,lt.DexieError=J,lt.BulkError=it;var yt={},bt=100,_t=20,xt=100,wt="undefined"===typeof Promise?[]:function(){var t=Promise.resolve();if("undefined"===typeof crypto||!crypto.subtle)return[t,u(t),t];var e=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[e,u(e),t]}(),St=wt[0],Ct=wt[1],kt=wt[2],Mt=Ct&&Ct.then,Ot=St&&St.constructor,Tt=!!kt,At=!1,It=kt?function(){kt.then(Jt)}:o.setImmediate?setImmediate.bind(null,Jt):o.MutationObserver?function(){var t=document.createElement("div");new MutationObserver((function(){Jt(),t=null})).observe(t,{attributes:!0}),t.setAttribute("i","1")}:function(){setTimeout(Jt,0)},Pt=function(t,e){zt.push([t,e]),Dt&&(It(),Dt=!1)},Et=!0,Dt=!0,Lt=[],jt=[],Rt=null,Bt=ct,Ft={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:Oe,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((function(t){try{Oe(t[0],t[1])}catch(e){}}))}},Nt=Ft,zt=[],Vt=0,qt=[];function $t(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ut,this._lib=!1;var e=this._PSD=Nt;if($&&(this._stackHolder=U(),this._prev=null,this._numPrev=0),"function"!==typeof t){if(t!==yt)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Ut(this,this._value))}this._state=null,this._value=null,++e.ref,Wt(this,t)}var Ht={get:function(){var t=Nt,e=de;function i(i,n){var r=this,o=!t.global&&(t!==Nt||e!==de),a=o&&!me(),s=new $t((function(e,s){Xt(r,new Gt(Ce(i,t,o,a),Ce(n,t,o,a),e,s,t))}));return $&&Qt(s,this),s}return i.prototype=yt,i},set:function(t){f(this,"then",t&&t.prototype===yt?Ht:{get:function(){return t},set:Ht.set})}};function Gt(t,e,i,n,r){this.onFulfilled="function"===typeof t?t:null,this.onRejected="function"===typeof e?e:null,this.resolve=i,this.reject=n,this.psd=r}function Wt(t,e){try{e((function(e){if(null===t._state){if(e===t)throw new TypeError("A promise cannot be resolved with itself.");var i=t._lib&&te();e&&"function"===typeof e.then?Wt(t,(function(t,i){e instanceof $t?e._then(t,i):e.then(t,i)})):(t._state=!0,t._value=e,Yt(t)),i&&ee()}}),Ut.bind(null,t))}catch(i){Ut(t,i)}}function Ut(t,e){if(jt.push(e),null===t._state){var i=t._lib&&te();e=Bt(e),t._state=!1,t._value=e,$&&null!==e&&"object"===typeof e&&!e._promise&&C((function(){var i=v(e,"stack");e._promise=t,f(e,"stack",{get:function(){return At?i&&(i.get?i.get.apply(e):i.value):t.stack}})})),re(t),Yt(t),i&&ee()}}function Yt(t){var e=t._listeners;t._listeners=[];for(var i=0,n=e.length;i<n;++i)Xt(t,e[i]);var r=t._PSD;--r.ref||r.finalize(),0===Vt&&(++Vt,Pt((function(){0===--Vt&&ie()}),[]))}function Xt(t,e){if(null!==t._state){var i=t._state?e.onFulfilled:e.onRejected;if(null===i)return(t._state?e.resolve:e.reject)(t._value);++e.psd.ref,++Vt,Pt(Kt,[i,t,e])}else t._listeners.push(e)}function Kt(t,e,i){try{Rt=e;var n,r=e._value;e._state?n=t(r):(jt.length&&(jt=[]),n=t(r),-1===jt.indexOf(r)&&oe(e)),i.resolve(n)}catch(o){i.reject(o)}finally{Rt=null,0===--Vt&&ie(),--i.psd.ref||i.psd.finalize()}}function Zt(t,e,i){if(e.length===i)return e;var n="";if(!1===t._state){var r,o,a=t._value;null!=a?(r=a.name||"Error",o=a.message||a,n=Y(a,0)):(r=a,o=""),e.push(r+(o?": "+o:"")+n)}return $&&(n=Y(t._stackHolder,2),n&&-1===e.indexOf(n)&&e.push(n),t._prev&&Zt(t._prev,e,i)),e}function Qt(t,e){var i=e?e._numPrev+1:0;i<bt&&(t._prev=e,t._numPrev=i)}function Jt(){te()&&ee()}function te(){var t=Et;return Et=!1,Dt=!1,t}function ee(){var t,e,i;do{while(zt.length>0)for(t=zt,zt=[],i=t.length,e=0;e<i;++e){var n=t[e];n[0].apply(null,n[1])}}while(zt.length>0);Et=!0,Dt=!0}function ie(){var t=Lt;Lt=[],t.forEach((function(t){t._PSD.onunhandled.call(null,t._value,t)}));var e=qt.slice(0),i=e.length;while(i)e[--i]()}function ne(t){function e(){t(),qt.splice(qt.indexOf(e),1)}qt.push(e),++Vt,Pt((function(){0===--Vt&&ie()}),[])}function re(t){Lt.some((function(e){return e._value===t._value}))||Lt.push(t)}function oe(t){var e=Lt.length;while(e)if(Lt[--e]._value===t._value)return void Lt.splice(e,1)}function ae(t){return new $t(yt,!1,t)}function se(t,e){var i=Nt;return function(){var n=te(),r=Nt;try{return _e(i,!0),t.apply(this,arguments)}catch(o){e&&e(o)}finally{_e(r,!1),n&&ee()}}}d($t.prototype,{then:Ht,_then:function(t,e){Xt(this,new Gt(null,null,t,e,Nt))},catch:function(t){if(1===arguments.length)return this.then(null,t);var e=arguments[0],i=arguments[1];return"function"===typeof e?this.then(null,(function(t){return t instanceof e?i(t):ae(t)})):this.then(null,(function(t){return t&&t.name===e?i(t):ae(t)}))},finally:function(t){return this.then((function(e){return t(),e}),(function(e){return t(),ae(e)}))},stack:{get:function(){if(this._stack)return this._stack;try{At=!0;var t=Zt(this,[],_t),e=t.join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{At=!1}}},timeout:function(t,e){var i=this;return t<1/0?new $t((function(n,r){var o=setTimeout((function(){return r(new ot.Timeout(e))}),t);i.then(n,r).finally(clearTimeout.bind(null,o))})):this}}),"undefined"!==typeof Symbol&&Symbol.toStringTag&&f($t.prototype,Symbol.toStringTag,"Dexie.Promise"),Ft.env=xe(),d($t,{all:function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,i){0===t.length&&e([]);var n=t.length;t.forEach((function(r,o){return $t.resolve(r).then((function(i){t[o]=i,--n||e(t)}),i)}))}))},resolve:function(t){if(t instanceof $t)return t;if(t&&"function"===typeof t.then)return new $t((function(e,i){t.then(e,i)}));var e=new $t(yt,!0,t);return Qt(e,Rt),e},reject:ae,race:function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,i){t.map((function(t){return $t.resolve(t).then(e,i)}))}))},PSD:{get:function(){return Nt},set:function(t){return Nt=t}},totalEchoes:{get:function(){return de}},newPSD:fe,usePSD:we,scheduler:{get:function(){return Pt},set:function(t){Pt=t}},rejectionMapper:{get:function(){return Bt},set:function(t){Bt=t}},follow:function(t,e){return new $t((function(i,n){return fe((function(e,i){var n=Nt;n.unhandleds=[],n.onunhandled=i,n.finalize=dt((function(){var t=this;ne((function(){0===t.unhandleds.length?e():i(t.unhandleds[0])}))}),n.finalize),t()}),e,i,n)}))}}),Ot&&(Ot.allSettled&&f($t,"allSettled",(function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e){0===t.length&&e([]);var i=t.length,n=new Array(i);t.forEach((function(t,r){return $t.resolve(t).then((function(t){return n[r]={status:"fulfilled",value:t}}),(function(t){return n[r]={status:"rejected",reason:t}})).then((function(){return--i||e(n)}))}))}))})),Ot.any&&"undefined"!==typeof AggregateError&&f($t,"any",(function(){var t=V.apply(null,arguments).map(ve);return new $t((function(e,i){0===t.length&&i(new AggregateError([]));var n=t.length,r=new Array(n);t.forEach((function(t,o){return $t.resolve(t).then((function(t){return e(t)}),(function(t){r[o]=t,--n||i(new AggregateError(r))}))}))}))})));var le={awaits:0,echoes:0,id:0},ue=0,ce=[],he=0,de=0,pe=0;function fe(t,e,i,n){var r=Nt,o=Object.create(r);o.parent=r,o.ref=0,o.global=!1,o.id=++pe;var a=Ft.env;o.env=Tt?{Promise:$t,PromiseProp:{value:$t,configurable:!0,writable:!0},all:$t.all,race:$t.race,allSettled:$t.allSettled,any:$t.any,resolve:$t.resolve,reject:$t.reject,nthen:ke(a.nthen,o),gthen:ke(a.gthen,o)}:{},e&&l(o,e),++r.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=we(o,t,i,n);return 0===o.ref&&o.finalize(),s}function ge(){return le.id||(le.id=++ue),++le.awaits,le.echoes+=xt,le.id}function me(){return!!le.awaits&&(0===--le.awaits&&(le.id=0),le.echoes=le.awaits*xt,!0)}function ve(t){return le.echoes&&t&&t.constructor===Ot?(ge(),t.then((function(t){return me(),t}),(function(t){return me(),Te(t)}))):t}function ye(t){++de,le.echoes&&0!==--le.echoes||(le.echoes=le.id=0),ce.push(Nt),_e(t,!0)}function be(){var t=ce[ce.length-1];ce.pop(),_e(t,!1)}function _e(t,e){var i=Nt;if((e?!le.echoes||he++&&t===Nt:!he||--he&&t===Nt)||Se(e?ye.bind(null,t):be),t!==Nt&&(Nt=t,i===Ft&&(Ft.env=xe()),Tt)){var n=Ft.env.Promise,r=t.env;Ct.then=r.nthen,n.prototype.then=r.gthen,(i.global||t.global)&&(Object.defineProperty(o,"Promise",r.PromiseProp),n.all=r.all,n.race=r.race,n.resolve=r.resolve,n.reject=r.reject,r.allSettled&&(n.allSettled=r.allSettled),r.any&&(n.any=r.any))}}function xe(){var t=o.Promise;return Tt?{Promise:t,PromiseProp:Object.getOwnPropertyDescriptor(o,"Promise"),all:t.all,race:t.race,allSettled:t.allSettled,any:t.any,resolve:t.resolve,reject:t.reject,nthen:Ct.then,gthen:t.prototype.then}:{}}function we(t,e,i,n,r){var o=Nt;try{return _e(t,!0),e(i,n,r)}finally{_e(o,!1)}}function Se(t){Mt.call(St,t)}function Ce(t,e,i,n){return"function"!==typeof t?t:function(){var r=Nt;i&&ge(),_e(e,!0);try{return t.apply(this,arguments)}finally{_e(r,!1),n&&Se(me)}}}function ke(t,e){return function(i,n){return t.call(this,Ce(i,e),Ce(n,e))}}-1===(""+Mt).indexOf("[native code]")&&(ge=me=ut);var Me="unhandledrejection";function Oe(t,e){var i;try{i=e.onuncatched(t)}catch(a){}if(!1!==i)try{var n,r={promise:e,reason:t};if(o.document&&document.createEvent?(n=document.createEvent("Event"),n.initEvent(Me,!0,!0),l(n,r)):o.CustomEvent&&(n=new CustomEvent(Me,{detail:r}),l(n,r)),n&&o.dispatchEvent&&(dispatchEvent(n),!o.PromiseRejectionEvent&&o.onunhandledrejection))try{o.onunhandledrejection(n)}catch(s){}$&&n&&!n.defaultPrevented&&console.warn("Unhandled rejection: "+(t.stack||t))}catch(a){}}var Te=$t.reject;function Ae(t,e,i,n){if(t.idbdb&&(t._state.openComplete||Nt.letThrough||t._vip)){var r=t._createTransaction(e,i,t._dbSchema);try{r.create(),t._state.PR1398_maxLoop=3}catch(o){return o.name===nt.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then((function(){return Ae(t,e,i,n)}))):Te(o)}return r._promise(e,(function(t,e){return fe((function(){return Nt.trans=r,n(t,e,r)}))})).then((function(t){return r._completion.then((function(){return t}))}))}if(t._state.openComplete)return Te(new ot.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._options.autoOpen)return Te(new ot.DatabaseClosed);t.open().catch(ut)}return t._state.dbReadyPromise.then((function(){return Ae(t,e,i,n)}))}var Ie="3.2.2",Pe=String.fromCharCode(65535),Ee=-1/0,De="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",Le="String expected.",je=[],Re="undefined"!==typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),Be=Re,Fe=Re,Ne=function(t){return!/(dexie\.js|dexie\.min\.js)/.test(t)},ze="__dbnames",Ve="readonly",qe="readwrite";function $e(t,e){return t?e?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:t:e}var He={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Ge(t){return"string"!==typeof t||/\./.test(t)?function(t){return t}:function(e){return void 0===e[t]&&t in e&&(e=L(e),delete e[t]),e}}var We=function(){function t(){}return t.prototype._trans=function(t,e,i){var n=this._tx||Nt.trans,r=this.name;function o(t,i,n){if(!n.schema[r])throw new ot.NotFound("Table "+r+" not part of transaction");return e(n.idbtrans,n)}var a=te();try{return n&&n.db===this.db?n===Nt.trans?n._promise(t,o,i):fe((function(){return n._promise(t,o,i)}),{trans:n,transless:Nt.transless||Nt}):Ae(this.db,t,[this.name],o)}finally{a&&ee()}},t.prototype.get=function(t,e){var i=this;return t&&t.constructor===Object?this.where(t).first(e):this._trans("readonly",(function(e){return i.core.get({trans:e,key:t}).then((function(t){return i.hook.reading.fire(t)}))})).then(e)},t.prototype.where=function(t){if("string"===typeof t)return new this.db.WhereClause(this,t);if(s(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var e=a(t);if(1===e.length)return this.where(e[0]).equals(t[e[0]]);var i=this.schema.indexes.concat(this.schema.primKey).filter((function(t){return t.compound&&e.every((function(e){return t.keyPath.indexOf(e)>=0}))&&t.keyPath.every((function(t){return e.indexOf(t)>=0}))}))[0];if(i&&this.db._maxKey!==Pe)return this.where(i.name).equals(i.keyPath.map((function(e){return t[e]})));!i&&$&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a compound index ["+e.join("+")+"]");var n=this.schema.idxByName,r=this.db._deps.indexedDB;function o(t,e){try{return 0===r.cmp(t,e)}catch(i){return!1}}var l=e.reduce((function(e,i){var r=e[0],a=e[1],l=n[i],u=t[i];return[r||l,r||!l?$e(a,l&&l.multi?function(t){var e=k(t,i);return s(e)&&e.some((function(t){return o(u,t)}))}:function(t){return o(u,k(t,i))}):a]}),[null,null]),u=l[0],c=l[1];return u?this.where(u.name).equals(t[u.keyPath]).filter(c):i?this.filter(c):this.where(e).equals("")},t.prototype.filter=function(t){return this.toCollection().and(t)},t.prototype.count=function(t){return this.toCollection().count(t)},t.prototype.offset=function(t){return this.toCollection().offset(t)},t.prototype.limit=function(t){return this.toCollection().limit(t)},t.prototype.each=function(t){return this.toCollection().each(t)},t.prototype.toArray=function(t){return this.toCollection().toArray(t)},t.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},t.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,s(t)?"["+t.join("+")+"]":t))},t.prototype.reverse=function(){return this.toCollection().reverse()},t.prototype.mapToClass=function(t){this.schema.mappedClass=t;var e=function(e){if(!e)return e;var i=Object.create(t.prototype);for(var n in e)if(h(e,n))try{i[n]=e[n]}catch(r){}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=e,this.hook("reading",e),t},t.prototype.defineClass=function(){function t(t){l(this,t)}return this.mapToClass(t)},t.prototype.add=function(t,e){var i=this,n=this.schema.primKey,r=n.auto,o=n.keyPath,a=t;return o&&r&&(a=Ge(o)(t)),this._trans("readwrite",(function(t){return i.core.mutate({trans:t,type:"add",keys:null!=e?[e]:null,values:[a]})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{M(t,o,e)}catch(i){}return e}))},t.prototype.update=function(t,e){if("object"!==typeof t||s(t))return this.where(":id").equals(t).modify(e);var i=k(t,this.schema.primKey.keyPath);if(void 0===i)return Te(new ot.InvalidArgument("Given object does not contain its primary key"));try{"function"!==typeof e?a(e).forEach((function(i){M(t,i,e[i])})):e(t,{value:t,primKey:i})}catch(Tn){}return this.where(":id").equals(i).modify(e)},t.prototype.put=function(t,e){var i=this,n=this.schema.primKey,r=n.auto,o=n.keyPath,a=t;return o&&r&&(a=Ge(o)(t)),this._trans("readwrite",(function(t){return i.core.mutate({trans:t,type:"put",values:[a],keys:null!=e?[e]:null})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):t.lastResult})).then((function(e){if(o)try{M(t,o,e)}catch(i){}return e}))},t.prototype.delete=function(t){var e=this;return this._trans("readwrite",(function(i){return e.core.mutate({trans:i,type:"delete",keys:[t]})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):void 0}))},t.prototype.clear=function(){var t=this;return this._trans("readwrite",(function(e){return t.core.mutate({trans:e,type:"deleteRange",range:He})})).then((function(t){return t.numFailures?$t.reject(t.failures[0]):void 0}))},t.prototype.bulkGet=function(t){var e=this;return this._trans("readonly",(function(i){return e.core.getMany({keys:t,trans:i}).then((function(t){return t.map((function(t){return e.hook.reading.fire(t)}))}))}))},t.prototype.bulkAdd=function(t,e,i){var n=this,r=Array.isArray(e)?e:void 0;i=i||(r?void 0:e);var o=i?i.allKeys:void 0;return this._trans("readwrite",(function(e){var i=n.schema.primKey,a=i.auto,s=i.keyPath;if(s&&r)throw new ot.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(r&&r.length!==t.length)throw new ot.InvalidArgument("Arguments objects and keys must have the same length");var l=t.length,u=s&&a?t.map(Ge(s)):t;return n.core.mutate({trans:e,type:"add",keys:r,values:u,wantResults:o}).then((function(t){var e=t.numFailures,i=t.results,r=t.lastResult,a=t.failures,s=o?i:r;if(0===e)return s;throw new it(n.name+".bulkAdd(): "+e+" of "+l+" operations failed",a)}))}))},t.prototype.bulkPut=function(t,e,i){var n=this,r=Array.isArray(e)?e:void 0;i=i||(r?void 0:e);var o=i?i.allKeys:void 0;return this._trans("readwrite",(function(e){var i=n.schema.primKey,a=i.auto,s=i.keyPath;if(s&&r)throw new ot.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(r&&r.length!==t.length)throw new ot.InvalidArgument("Arguments objects and keys must have the same length");var l=t.length,u=s&&a?t.map(Ge(s)):t;return n.core.mutate({trans:e,type:"put",keys:r,values:u,wantResults:o}).then((function(t){var e=t.numFailures,i=t.results,r=t.lastResult,a=t.failures,s=o?i:r;if(0===e)return s;throw new it(n.name+".bulkPut(): "+e+" of "+l+" operations failed",a)}))}))},t.prototype.bulkDelete=function(t){var e=this,i=t.length;return this._trans("readwrite",(function(i){return e.core.mutate({trans:i,type:"delete",keys:t})})).then((function(t){var n=t.numFailures,r=t.lastResult,o=t.failures;if(0===n)return r;throw new it(e.name+".bulkDelete(): "+n+" of "+i+" operations failed",o)}))},t}();function Ue(t){var e={},i=function(i,n){if(n){var r=arguments.length,o=new Array(r-1);while(--r)o[r-1]=arguments[r];return e[i].subscribe.apply(null,o),t}if("string"===typeof i)return e[i]};i.addEventType=o;for(var n=1,r=arguments.length;n<r;++n)o(arguments[n]);return i;function o(t,n,r){if("object"===typeof t)return l(t);n||(n=mt),r||(r=ut);var o={subscribers:[],fire:r,subscribe:function(t){-1===o.subscribers.indexOf(t)&&(o.subscribers.push(t),o.fire=n(o.fire,t))},unsubscribe:function(t){o.subscribers=o.subscribers.filter((function(e){return e!==t})),o.fire=o.subscribers.reduce(n,r)}};return e[t]=i[t]=o,o}function l(t){a(t).forEach((function(e){var i=t[e];if(s(i))o(e,t[e][0],t[e][1]);else{if("asap"!==i)throw new ot.InvalidArgument("Invalid event config");var n=o(e,ct,(function(){var t=arguments.length,e=new Array(t);while(t--)e[t]=arguments[t];n.subscribers.forEach((function(t){w((function(){t.apply(null,e)}))}))}))}}))}}function Ye(t,e){return g(e).from({prototype:t}),e}function Xe(t){return Ye(We.prototype,(function(e,i,n){this.db=t,this._tx=n,this.name=e,this.schema=i,this.hook=t._allTables[e]?t._allTables[e].hook:Ue(null,{creating:[pt,ut],reading:[ht,ct],updating:[gt,ut],deleting:[ft,ut]})}))}function Ke(t,e){return!(t.filter||t.algorithm||t.or)&&(e?t.justLimit:!t.replayFilter)}function Ze(t,e){t.filter=$e(t.filter,e)}function Qe(t,e,i){var n=t.replayFilter;t.replayFilter=n?function(){return $e(n(),e())}:e,t.justLimit=i&&!n}function Je(t,e){t.isMatch=$e(t.isMatch,e)}function ti(t,e){if(t.isPrimKey)return e.primaryKey;var i=e.getIndexByKeyPath(t.index);if(!i)throw new ot.Schema("KeyPath "+t.index+" on object store "+e.name+" is not indexed");return i}function ei(t,e,i){var n=ti(t,e.schema);return e.openCursor({trans:i,values:!t.keysOnly,reverse:"prev"===t.dir,unique:!!t.unique,query:{index:n,range:t.range}})}function ii(t,e,i,n){var r=t.replayFilter?$e(t.filter,t.replayFilter()):t.filter;if(t.or){var o={},a=function(t,i,n){if(!r||r(i,n,(function(t){return i.stop(t)}),(function(t){return i.fail(t)}))){var a=i.primaryKey,s=""+a;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(a)),h(o,s)||(o[s]=!0,e(t,i,n))}};return Promise.all([t.or._iterate(a,i),ni(ei(t,n,i),t.algorithm,a,!t.keysOnly&&t.valueMapper)])}return ni(ei(t,n,i),$e(t.algorithm,r),e,!t.keysOnly&&t.valueMapper)}function ni(t,e,i,n){var r=n?function(t,e,r){return i(n(t),e,r)}:i,o=se(r);return t.then((function(t){if(t)return t.start((function(){var i=function(){return t.continue()};e&&!e(t,(function(t){return i=t}),(function(e){t.stop(e),i=ut}),(function(e){t.fail(e),i=ut}))||o(t.value,t,(function(t){return i=t})),i()}))}))}function ri(t,e){try{var i=si(t),n=si(e);if(i!==n)return"Array"===i?1:"Array"===n?-1:"binary"===i?1:"binary"===n?-1:"string"===i?1:"string"===n?-1:"Date"===i?1:"Date"!==n?NaN:-1;switch(i){case"number":case"Date":case"string":return t>e?1:t<e?-1:0;case"binary":return ai(li(t),li(e));case"Array":return oi(t,e)}}catch(Tn){}return NaN}function oi(t,e){for(var i=t.length,n=e.length,r=i<n?i:n,o=0;o<r;++o){var a=ri(t[o],e[o]);if(0!==a)return a}return i===n?0:i<n?-1:1}function ai(t,e){for(var i=t.length,n=e.length,r=i<n?i:n,o=0;o<r;++o)if(t[o]!==e[o])return t[o]<e[o]?-1:1;return i===n?0:i<n?-1:1}function si(t){var e=typeof t;if("object"!==e)return e;if(ArrayBuffer.isView(t))return"binary";var i=B(t);return"ArrayBuffer"===i?"binary":i}function li(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(t)}var ui=function(){function t(){}return t.prototype._read=function(t,e){var i=this._ctx;return i.error?i.table._trans(null,Te.bind(null,i.error)):i.table._trans("readonly",t).then(e)},t.prototype._write=function(t){var e=this._ctx;return e.error?e.table._trans(null,Te.bind(null,e.error)):e.table._trans("readwrite",t,"locked")},t.prototype._addAlgorithm=function(t){var e=this._ctx;e.algorithm=$e(e.algorithm,t)},t.prototype._iterate=function(t,e){return ii(this._ctx,t,e,this._ctx.table.core)},t.prototype.clone=function(t){var e=Object.create(this.constructor.prototype),i=Object.create(this._ctx);return t&&l(i,t),e._ctx=i,e},t.prototype.raw=function(){return this._ctx.valueMapper=null,this},t.prototype.each=function(t){var e=this._ctx;return this._read((function(i){return ii(e,t,i,e.table.core)}))},t.prototype.count=function(t){var e=this;return this._read((function(t){var i=e._ctx,n=i.table.core;if(Ke(i,!0))return n.count({trans:t,query:{index:ti(i,n.schema),range:i.range}}).then((function(t){return Math.min(t,i.limit)}));var r=0;return ii(i,(function(){return++r,!1}),t,n).then((function(){return r}))})).then(t)},t.prototype.sortBy=function(t,e){var i=t.split(".").reverse(),n=i[0],r=i.length-1;function o(t,e){return e?o(t[i[e]],e-1):t[n]}var a="next"===this._ctx.dir?1:-1;function s(t,e){var i=o(t,r),n=o(e,r);return i<n?-a:i>n?a:0}return this.toArray((function(t){return t.sort(s)})).then(e)},t.prototype.toArray=function(t){var e=this;return this._read((function(t){var i=e._ctx;if("next"===i.dir&&Ke(i,!0)&&i.limit>0){var n=i.valueMapper,r=ti(i,i.table.core.schema);return i.table.core.query({trans:t,limit:i.limit,values:!0,query:{index:r,range:i.range}}).then((function(t){var e=t.result;return n?e.map(n):e}))}var o=[];return ii(i,(function(t){return o.push(t)}),t,i.table.core).then((function(){return o}))}),t)},t.prototype.offset=function(t){var e=this._ctx;return t<=0||(e.offset+=t,Ke(e)?Qe(e,(function(){var e=t;return function(t,i){return 0===e||(1===e?(--e,!1):(i((function(){t.advance(e),e=0})),!1))}})):Qe(e,(function(){var e=t;return function(){return--e<0}}))),this},t.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),Qe(this._ctx,(function(){var e=t;return function(t,i,n){return--e<=0&&i(n),e>=0}}),!0),this},t.prototype.until=function(t,e){return Ze(this._ctx,(function(i,n,r){return!t(i.value)||(n(r),e)})),this},t.prototype.first=function(t){return this.limit(1).toArray((function(t){return t[0]})).then(t)},t.prototype.last=function(t){return this.reverse().first(t)},t.prototype.filter=function(t){return Ze(this._ctx,(function(e){return t(e.value)})),Je(this._ctx,t),this},t.prototype.and=function(t){return this.filter(t)},t.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},t.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},t.prototype.desc=function(){return this.reverse()},t.prototype.eachKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,i){t(i.key,i)}))},t.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},t.prototype.eachPrimaryKey=function(t){var e=this._ctx;return e.keysOnly=!e.isMatch,this.each((function(e,i){t(i.primaryKey,i)}))},t.prototype.keys=function(t){var e=this._ctx;e.keysOnly=!e.isMatch;var i=[];return this.each((function(t,e){i.push(e.key)})).then((function(){return i})).then(t)},t.prototype.primaryKeys=function(t){var e=this._ctx;if("next"===e.dir&&Ke(e,!0)&&e.limit>0)return this._read((function(t){var i=ti(e,e.table.core.schema);return e.table.core.query({trans:t,values:!1,limit:e.limit,query:{index:i,range:e.range}})})).then((function(t){var e=t.result;return e})).then(t);e.keysOnly=!e.isMatch;var i=[];return this.each((function(t,e){i.push(e.primaryKey)})).then((function(){return i})).then(t)},t.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},t.prototype.firstKey=function(t){return this.limit(1).keys((function(t){return t[0]})).then(t)},t.prototype.lastKey=function(t){return this.reverse().firstKey(t)},t.prototype.distinct=function(){var t=this._ctx,e=t.index&&t.table.schema.idxByName[t.index];if(!e||!e.multi)return this;var i={};return Ze(this._ctx,(function(t){var e=t.primaryKey.toString(),n=h(i,e);return i[e]=!0,!n})),this},t.prototype.modify=function(t){var e=this,i=this._ctx;return this._write((function(n){var r;if("function"===typeof t)r=t;else{var o=a(t),s=o.length;r=function(e){for(var i=!1,n=0;n<s;++n){var r=o[n],a=t[r];k(e,r)!==a&&(M(e,r,a),i=!0)}return i}}var l=i.table.core,u=l.schema.primaryKey,c=u.outbound,h=u.extractKey,d=e.db._options.modifyChunkSize||200,p=[],f=0,g=[],m=function(t,e){var i=e.failures,n=e.numFailures;f+=t-n;for(var r=0,o=a(i);r<o.length;r++){var s=o[r];p.push(i[s])}};return e.clone().primaryKeys().then((function(e){var o=function(a){var s=Math.min(d,e.length-a);return l.getMany({trans:n,keys:e.slice(a,a+s),cache:"immutable"}).then((function(u){for(var p=[],f=[],g=c?[]:null,v=[],y=0;y<s;++y){var b=u[y],_={value:L(b),primKey:e[a+y]};!1!==r.call(_,_.value,_)&&(null==_.value?v.push(e[a+y]):c||0===ri(h(b),h(_.value))?(f.push(_.value),c&&g.push(e[a+y])):(v.push(e[a+y]),p.push(_.value)))}var x=Ke(i)&&i.limit===1/0&&("function"!==typeof t||t===ci)&&{index:i.index,range:i.range};return Promise.resolve(p.length>0&&l.mutate({trans:n,type:"add",values:p}).then((function(t){for(var e in t.failures)v.splice(parseInt(e),1);m(p.length,t)}))).then((function(){return(f.length>0||x&&"object"===typeof t)&&l.mutate({trans:n,type:"put",keys:g,values:f,criteria:x,changeSpec:"function"!==typeof t&&t}).then((function(t){return m(f.length,t)}))})).then((function(){return(v.length>0||x&&t===ci)&&l.mutate({trans:n,type:"delete",keys:v,criteria:x}).then((function(t){return m(v.length,t)}))})).then((function(){return e.length>a+s&&o(a+d)}))}))};return o(0).then((function(){if(p.length>0)throw new et("Error modifying one or more objects",p,f,g);return e.length}))}))}))},t.prototype.delete=function(){var t=this._ctx,e=t.range;return Ke(t)&&(t.isPrimKey&&!Fe||3===e.type)?this._write((function(i){var n=t.table.core.schema.primaryKey,r=e;return t.table.core.count({trans:i,query:{index:n,range:r}}).then((function(e){return t.table.core.mutate({trans:i,type:"deleteRange",range:r}).then((function(t){var i=t.failures;t.lastResult,t.results;var n=t.numFailures;if(n)throw new et("Could not delete some values",Object.keys(i).map((function(t){return i[t]})),e-n);return e-n}))}))})):this.modify(ci)},t}(),ci=function(t,e){return e.value=null};function hi(t){return Ye(ui.prototype,(function(e,i){this.db=t;var n=He,r=null;if(i)try{n=i()}catch(l){r=l}var o=e._ctx,a=o.table,s=a.hook.reading.fire;this._ctx={table:a,index:o.index,isPrimKey:!o.index||a.schema.primKey.keyPath&&o.index===a.schema.primKey.name,range:n,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:r,or:o.or,valueMapper:s!==ct?s:null}}))}function di(t,e){return t<e?-1:t===e?0:1}function pi(t,e){return t>e?-1:t===e?0:1}function fi(t,e,i){var n=t instanceof wi?new t.Collection(t):t;return n._ctx.error=i?new i(e):new TypeError(e),n}function gi(t){return new t.Collection(t,(function(){return xi("")})).limit(0)}function mi(t){return"next"===t?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function vi(t){return"next"===t?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function yi(t,e,i,n,r,o){for(var a=Math.min(t.length,n.length),s=-1,l=0;l<a;++l){var u=e[l];if(u!==n[l])return r(t[l],i[l])<0?t.substr(0,l)+i[l]+i.substr(l+1):r(t[l],n[l])<0?t.substr(0,l)+n[l]+i.substr(l+1):s>=0?t.substr(0,s)+e[s]+i.substr(s+1):null;r(t[l],u)<0&&(s=l)}return a<n.length&&"next"===o?t+i.substr(t.length):a<t.length&&"prev"===o?t.substr(0,i.length):s<0?null:t.substr(0,s)+n[s]+i.substr(s+1)}function bi(t,e,i,n){var r,o,a,s,l,u,c,h=i.length;if(!i.every((function(t){return"string"===typeof t})))return fi(t,Le);function d(t){r=mi(t),o=vi(t),a="next"===t?di:pi;var e=i.map((function(t){return{lower:o(t),upper:r(t)}})).sort((function(t,e){return a(t.lower,e.lower)}));s=e.map((function(t){return t.upper})),l=e.map((function(t){return t.lower})),u=t,c="next"===t?"":n}d("next");var p=new t.Collection(t,(function(){return _i(s[0],l[h-1]+n)}));p._ondirectionchange=function(t){d(t)};var f=0;return p._addAlgorithm((function(t,i,n){var r=t.key;if("string"!==typeof r)return!1;var d=o(r);if(e(d,l,f))return!0;for(var p=null,g=f;g<h;++g){var m=yi(r,d,s[g],l[g],a,u);null===m&&null===p?f=g+1:(null===p||a(p,m)>0)&&(p=m)}return i(null!==p?function(){t.continue(p+c)}:n),!1})),p}function _i(t,e,i,n){return{type:2,lower:t,upper:e,lowerOpen:i,upperOpen:n}}function xi(t){return{type:1,lower:t,upper:t}}var wi=function(){function t(){}return Object.defineProperty(t.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),t.prototype.between=function(t,e,i,n){i=!1!==i,n=!0===n;try{return this._cmp(t,e)>0||0===this._cmp(t,e)&&(i||n)&&(!i||!n)?gi(this):new this.Collection(this,(function(){return _i(t,e,!i,!n)}))}catch(r){return fi(this,De)}},t.prototype.equals=function(t){return null==t?fi(this,De):new this.Collection(this,(function(){return xi(t)}))},t.prototype.above=function(t){return null==t?fi(this,De):new this.Collection(this,(function(){return _i(t,void 0,!0)}))},t.prototype.aboveOrEqual=function(t){return null==t?fi(this,De):new this.Collection(this,(function(){return _i(t,void 0,!1)}))},t.prototype.below=function(t){return null==t?fi(this,De):new this.Collection(this,(function(){return _i(void 0,t,!1,!0)}))},t.prototype.belowOrEqual=function(t){return null==t?fi(this,De):new this.Collection(this,(function(){return _i(void 0,t)}))},t.prototype.startsWith=function(t){return"string"!==typeof t?fi(this,Le):this.between(t,t+Pe,!0,!0)},t.prototype.startsWithIgnoreCase=function(t){return""===t?this.startsWith(t):bi(this,(function(t,e){return 0===t.indexOf(e[0])}),[t],Pe)},t.prototype.equalsIgnoreCase=function(t){return bi(this,(function(t,e){return t===e[0]}),[t],"")},t.prototype.anyOfIgnoreCase=function(){var t=V.apply(z,arguments);return 0===t.length?gi(this):bi(this,(function(t,e){return-1!==e.indexOf(t)}),t,"")},t.prototype.startsWithAnyOfIgnoreCase=function(){var t=V.apply(z,arguments);return 0===t.length?gi(this):bi(this,(function(t,e){return e.some((function(e){return 0===t.indexOf(e)}))}),t,Pe)},t.prototype.anyOf=function(){var t=this,e=V.apply(z,arguments),i=this._cmp;try{e.sort(i)}catch(o){return fi(this,De)}if(0===e.length)return gi(this);var n=new this.Collection(this,(function(){return _i(e[0],e[e.length-1])}));n._ondirectionchange=function(n){i="next"===n?t._ascending:t._descending,e.sort(i)};var r=0;return n._addAlgorithm((function(t,n,o){var a=t.key;while(i(a,e[r])>0)if(++r,r===e.length)return n(o),!1;return 0===i(a,e[r])||(n((function(){t.continue(e[r])})),!1)})),n},t.prototype.notEqual=function(t){return this.inAnyRange([[Ee,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},t.prototype.noneOf=function(){var t=V.apply(z,arguments);if(0===t.length)return new this.Collection(this);try{t.sort(this._ascending)}catch(i){return fi(this,De)}var e=t.reduce((function(t,e){return t?t.concat([[t[t.length-1][1],e]]):[[Ee,e]]}),null);return e.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(e,{includeLowers:!1,includeUppers:!1})},t.prototype.inAnyRange=function(t,e){var i=this,n=this._cmp,r=this._ascending,o=this._descending,a=this._min,s=this._max;if(0===t.length)return gi(this);if(!t.every((function(t){return void 0!==t[0]&&void 0!==t[1]&&r(t[0],t[1])<=0})))return fi(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ot.InvalidArgument);var l=!e||!1!==e.includeLowers,u=e&&!0===e.includeUppers;function c(t,e){for(var i=0,r=t.length;i<r;++i){var o=t[i];if(n(e[0],o[1])<0&&n(e[1],o[0])>0){o[0]=a(o[0],e[0]),o[1]=s(o[1],e[1]);break}}return i===r&&t.push(e),t}var h,d=r;function p(t,e){return d(t[0],e[0])}try{h=t.reduce(c,[]),h.sort(p)}catch(_){return fi(this,De)}var f=0,g=u?function(t){return r(t,h[f][1])>0}:function(t){return r(t,h[f][1])>=0},m=l?function(t){return o(t,h[f][0])>0}:function(t){return o(t,h[f][0])>=0};function v(t){return!g(t)&&!m(t)}var y=g,b=new this.Collection(this,(function(){return _i(h[0][0],h[h.length-1][1],!l,!u)}));return b._ondirectionchange=function(t){"next"===t?(y=g,d=r):(y=m,d=o),h.sort(p)},b._addAlgorithm((function(t,e,n){var o=t.key;while(y(o))if(++f,f===h.length)return e(n),!1;return!!v(o)||(0===i._cmp(o,h[f][1])||0===i._cmp(o,h[f][0])||e((function(){d===r?t.continue(h[f][0]):t.continue(h[f][1])})),!1)})),b},t.prototype.startsWithAnyOf=function(){var t=V.apply(z,arguments);return t.every((function(t){return"string"===typeof t}))?0===t.length?gi(this):this.inAnyRange(t.map((function(t){return[t,t+Pe]}))):fi(this,"startsWithAnyOf() only works with strings")},t}();function Si(t){return Ye(wi.prototype,(function(e,i,n){this.db=t,this._ctx={table:e,index:":id"===i?null:i,or:n};var r=t._deps.indexedDB;if(!r)throw new ot.MissingAPI;this._cmp=this._ascending=r.cmp.bind(r),this._descending=function(t,e){return r.cmp(e,t)},this._max=function(t,e){return r.cmp(t,e)>0?t:e},this._min=function(t,e){return r.cmp(t,e)<0?t:e},this._IDBKeyRange=t._deps.IDBKeyRange}))}function Ci(t){return se((function(e){return ki(e),t(e.target.error),!1}))}function ki(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()}var Mi="storagemutated",Oi="x-storagemutated-1",Ti=Ue(null,Mi),Ai=function(){function t(){}return t.prototype._lock=function(){return x(!Nt.global),++this._reculock,1!==this._reculock||Nt.global||(Nt.lockOwnerFor=this),this},t.prototype._unlock=function(){if(x(!Nt.global),0===--this._reculock){Nt.global||(Nt.lockOwnerFor=null);while(this._blockedFuncs.length>0&&!this._locked()){var t=this._blockedFuncs.shift();try{we(t[1],t[0])}catch(e){}}}return this},t.prototype._locked=function(){return this._reculock&&Nt.lockOwnerFor!==this},t.prototype.create=function(t){var e=this;if(!this.mode)return this;var i=this.db.idbdb,n=this.db._state.dbOpenError;if(x(!this.idbtrans),!t&&!i)switch(n&&n.name){case"DatabaseClosedError":throw new ot.DatabaseClosed(n);case"MissingAPIError":throw new ot.MissingAPI(n.message,n);default:throw new ot.OpenFailed(n)}if(!this.active)throw new ot.TransactionInactive;return x(null===this._completion._state),t=this.idbtrans=t||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):i.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability})),t.onerror=se((function(i){ki(i),e._reject(t.error)})),t.onabort=se((function(i){ki(i),e.active&&e._reject(new ot.Abort(t.error)),e.active=!1,e.on("abort").fire(i)})),t.oncomplete=se((function(){e.active=!1,e._resolve(),"mutatedParts"in t&&Ti.storagemutated.fire(t["mutatedParts"])})),this},t.prototype._promise=function(t,e,i){var n=this;if("readwrite"===t&&"readwrite"!==this.mode)return Te(new ot.ReadOnly("Transaction is readonly"));if(!this.active)return Te(new ot.TransactionInactive);if(this._locked())return new $t((function(r,o){n._blockedFuncs.push([function(){n._promise(t,e,i).then(r,o)},Nt])}));if(i)return fe((function(){var t=new $t((function(t,i){n._lock();var r=e(t,i,n);r&&r.then&&r.then(t,i)}));return t.finally((function(){return n._unlock()})),t._lib=!0,t}));var r=new $t((function(t,i){var r=e(t,i,n);r&&r.then&&r.then(t,i)}));return r._lib=!0,r},t.prototype._root=function(){return this.parent?this.parent._root():this},t.prototype.waitFor=function(t){var e=this._root(),i=$t.resolve(t);if(e._waitingFor)e._waitingFor=e._waitingFor.then((function(){return i}));else{e._waitingFor=i,e._waitingQueue=[];var n=e.idbtrans.objectStore(e.storeNames[0]);(function t(){++e._spinCount;while(e._waitingQueue.length)e._waitingQueue.shift()();e._waitingFor&&(n.get(-1/0).onsuccess=t)})()}var r=e._waitingFor;return new $t((function(t,n){i.then((function(i){return e._waitingQueue.push(se(t.bind(null,i)))}),(function(t){return e._waitingQueue.push(se(n.bind(null,t)))})).finally((function(){e._waitingFor===r&&(e._waitingFor=null)}))}))},t.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ot.Abort))},t.prototype.table=function(t){var e=this._memoizedTables||(this._memoizedTables={});if(h(e,t))return e[t];var i=this.schema[t];if(!i)throw new ot.NotFound("Table "+t+" not part of transaction");var n=new this.db.Table(t,i,this);return n.core=this.db.core.table(t),e[t]=n,n},t}();function Ii(t){return Ye(Ai.prototype,(function(e,i,n,r,o){var a=this;this.db=t,this.mode=e,this.storeNames=i,this.schema=n,this.chromeTransactionDurability=r,this.idbtrans=null,this.on=Ue(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new $t((function(t,e){a._resolve=t,a._reject=e})),this._completion.then((function(){a.active=!1,a.on.complete.fire()}),(function(t){var e=a.active;return a.active=!1,a.on.error.fire(t),a.parent?a.parent._reject(t):e&&a.idbtrans&&a.idbtrans.abort(),Te(t)}))}))}function Pi(t,e,i,n,r,o,a){return{name:t,keyPath:e,unique:i,multi:n,auto:r,compound:o,src:(i&&!a?"&":"")+(n?"*":"")+(r?"++":"")+Ei(e)}}function Ei(t){return"string"===typeof t?t:t?"["+[].join.call(t,"+")+"]":""}function Di(t,e,i){return{name:t,primKey:e,indexes:i,mappedClass:null,idxByName:S(i,(function(t){return[t.name,t]}))}}function Li(t){return 1===t.length?t[0]:t}var ji=function(t){try{return t.only([[]]),ji=function(){return[[]]},[[]]}catch(e){return ji=function(){return Pe},Pe}};function Ri(t){return null==t?function(){}:"string"===typeof t?Bi(t):function(e){return k(e,t)}}function Bi(t){var e=t.split(".");return 1===e.length?function(e){return e[t]}:function(e){return k(e,t)}}function Fi(t){return[].slice.call(t)}var Ni=0;function zi(t){return null==t?":id":"string"===typeof t?t:"["+t.join("+")+"]"}function Vi(t,e,i){function n(t,e){var i=Fi(t.objectStoreNames);return{schema:{name:t.name,tables:i.map((function(t){return e.objectStore(t)})).map((function(t){var e=t.keyPath,i=t.autoIncrement,n=s(e),r=null==e,o={},a={name:t.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:r,compound:n,keyPath:e,autoIncrement:i,unique:!0,extractKey:Ri(e)},indexes:Fi(t.indexNames).map((function(e){return t.index(e)})).map((function(t){var e=t.name,i=t.unique,n=t.multiEntry,r=t.keyPath,a=s(r),l={name:e,compound:a,keyPath:r,unique:i,multiEntry:n,extractKey:Ri(r)};return o[zi(r)]=l,l})),getIndexByKeyPath:function(t){return o[zi(t)]}};return o[":id"]=a.primaryKey,null!=e&&(o[zi(e)]=a.primaryKey),a}))},hasGetAll:i.length>0&&"getAll"in e.objectStore(i[0])&&!("undefined"!==typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function r(t){if(3===t.type)return null;if(4===t.type)throw new Error("Cannot convert never type to IDBKeyRange");var i=t.lower,n=t.upper,r=t.lowerOpen,o=t.upperOpen,a=void 0===i?void 0===n?null:e.upperBound(n,!!o):void 0===n?e.lowerBound(i,!!r):e.bound(i,n,!!r,!!o);return a}function o(t){var e=t.name;function i(t){var i=t.trans,n=t.type,o=t.keys,a=t.values,s=t.range;return new Promise((function(t,l){t=se(t);var u=i.objectStore(e),c=null==u.keyPath,h="put"===n||"add"===n;if(!h&&"delete"!==n&&"deleteRange"!==n)throw new Error("Invalid operation type: "+n);var d,p=(o||a||{length:1}).length;if(o&&a&&o.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===p)return t({numFailures:0,failures:{},results:[],lastResult:void 0});var f=[],g=[],m=0,v=function(t){++m,ki(t)};if("deleteRange"===n){if(4===s.type)return t({numFailures:m,failures:g,results:[],lastResult:void 0});3===s.type?f.push(d=u.clear()):f.push(d=u.delete(r(s)))}else{var y=h?c?[a,o]:[a,null]:[o,null],b=y[0],_=y[1];if(h)for(var x=0;x<p;++x)f.push(d=_&&void 0!==_[x]?u[n](b[x],_[x]):u[n](b[x])),d.onerror=v;else for(x=0;x<p;++x)f.push(d=u[n](b[x])),d.onerror=v}var w=function(e){var i=e.target.result;f.forEach((function(t,e){return null!=t.error&&(g[e]=t.error)})),t({numFailures:m,failures:g,results:"delete"===n?o:f.map((function(t){return t.result})),lastResult:i})};d.onerror=function(t){v(t),w(t)},d.onsuccess=w}))}function n(t){var i=t.trans,n=t.values,o=t.query,a=t.reverse,s=t.unique;return new Promise((function(t,l){t=se(t);var u=o.index,c=o.range,h=i.objectStore(e),d=u.isPrimaryKey?h:h.index(u.name),p=a?s?"prevunique":"prev":s?"nextunique":"next",f=n||!("openKeyCursor"in d)?d.openCursor(r(c),p):d.openKeyCursor(r(c),p);f.onerror=Ci(l),f.onsuccess=se((function(e){var n=f.result;if(n){n.___id=++Ni,n.done=!1;var r=n.continue.bind(n),o=n.continuePrimaryKey;o&&(o=o.bind(n));var a=n.advance.bind(n),s=function(){throw new Error("Cursor not started")},u=function(){throw new Error("Cursor not stopped")};n.trans=i,n.stop=n.continue=n.continuePrimaryKey=n.advance=s,n.fail=se(l),n.next=function(){var t=this,e=1;return this.start((function(){return e--?t.continue():t.stop()})).then((function(){return t}))},n.start=function(t){var e=new Promise((function(t,e){t=se(t),f.onerror=Ci(e),n.fail=e,n.stop=function(e){n.stop=n.continue=n.continuePrimaryKey=n.advance=u,t(e)}})),i=function(){if(f.result)try{t()}catch(e){n.fail(e)}else n.done=!0,n.start=function(){throw new Error("Cursor behind last entry")},n.stop()};return f.onsuccess=se((function(t){f.onsuccess=i,i()})),n.continue=r,n.continuePrimaryKey=o,n.advance=a,i(),e},t(n)}else t(null)}),l)}))}function o(t){return function(i){return new Promise((function(n,o){n=se(n);var a=i.trans,s=i.values,l=i.limit,u=i.query,c=l===1/0?void 0:l,h=u.index,d=u.range,p=a.objectStore(e),f=h.isPrimaryKey?p:p.index(h.name),g=r(d);if(0===l)return n({result:[]});if(t){var m=s?f.getAll(g,c):f.getAllKeys(g,c);m.onsuccess=function(t){return n({result:t.target.result})},m.onerror=Ci(o)}else{var v=0,y=s||!("openKeyCursor"in f)?f.openCursor(g):f.openKeyCursor(g),b=[];y.onsuccess=function(t){var e=y.result;return e?(b.push(s?e.value:e.primaryKey),++v===l?n({result:b}):void e.continue()):n({result:b})},y.onerror=Ci(o)}}))}}return{name:e,schema:t,mutate:i,getMany:function(t){var i=t.trans,n=t.keys;return new Promise((function(t,r){t=se(t);for(var o,a=i.objectStore(e),s=n.length,l=new Array(s),u=0,c=0,h=function(e){var i=e.target;l[i._pos]=i.result,++c===u&&t(l)},d=Ci(r),p=0;p<s;++p){var f=n[p];null!=f&&(o=a.get(n[p]),o._pos=p,o.onsuccess=h,o.onerror=d,++u)}0===u&&t(l)}))},get:function(t){var i=t.trans,n=t.key;return new Promise((function(t,r){t=se(t);var o=i.objectStore(e),a=o.get(n);a.onsuccess=function(e){return t(e.target.result)},a.onerror=Ci(r)}))},query:o(u),openCursor:n,count:function(t){var i=t.query,n=t.trans,o=i.index,a=i.range;return new Promise((function(t,i){var s=n.objectStore(e),l=o.isPrimaryKey?s:s.index(o.name),u=r(a),c=u?l.count(u):l.count();c.onsuccess=se((function(e){return t(e.target.result)})),c.onerror=Ci(i)}))}}}var a=n(t,i),l=a.schema,u=a.hasGetAll,c=l.tables.map((function(t){return o(t)})),h={};return c.forEach((function(t){return h[t.name]=t})),{stack:"dbcore",transaction:t.transaction.bind(t),table:function(t){var e=h[t];if(!e)throw new Error("Table '"+t+"' not found");return h[t]},MIN_KEY:-1/0,MAX_KEY:ji(e),schema:l}}function qi(t,e){return e.reduce((function(t,e){var i=e.create;return n(n({},t),i(t))}),t)}function $i(t,e,i,n){var r=i.IDBKeyRange;i.indexedDB;var o=qi(Vi(e,r,n),t.dbcore);return{dbcore:o}}function Hi(t,e){var i=t._novip,n=e.db,r=$i(i._middlewares,n,i._deps,e);i.core=r.dbcore,i.tables.forEach((function(t){var e=t.name;i.core.schema.tables.some((function(t){return t.name===e}))&&(t.core=i.core.table(e),i[e]instanceof i.Table&&(i[e].core=t.core))}))}function Gi(t,e,i,n){var r=t._novip;i.forEach((function(t){var i=n[t];e.forEach((function(e){var n=v(e,t);(!n||"value"in n&&void 0===n.value)&&(e===r.Transaction.prototype||e instanceof r.Transaction?f(e,t,{get:function(){return this.table(t)},set:function(e){p(this,t,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):e[t]=new r.Table(t,i))}))}))}function Wi(t,e){var i=t._novip;e.forEach((function(t){for(var e in t)t[e]instanceof i.Table&&delete t[e]}))}function Ui(t,e){return t._cfg.version-e._cfg.version}function Yi(t,e,i,n){var r=t._dbSchema,o=t._createTransaction("readwrite",t._storeNames,r);o.create(i),o._completion.catch(n);var s=o._reject.bind(o),l=Nt.transless||Nt;fe((function(){Nt.trans=o,Nt.transless=l,0===e?(a(r).forEach((function(t){Zi(i,t,r[t].primKey,r[t].indexes)})),Hi(t,i),$t.follow((function(){return t.on.populate.fire(o)})).catch(s)):Xi(t,e,o,i).catch(s)}))}function Xi(t,e,i,n){var r=t._novip,o=[],s=r._versions,l=r._dbSchema=en(r,r.idbdb,n),u=!1,c=s.filter((function(t){return t._cfg.version>=e}));function h(){return o.length?$t.resolve(o.shift()(i.idbtrans)).then(h):$t.resolve()}return c.forEach((function(t){o.push((function(){var o=l,s=t._cfg.dbschema;on(r,o,n),on(r,s,n),l=r._dbSchema=s;var c=Ki(o,s);c.add.forEach((function(t){Zi(n,t[0],t[1].primKey,t[1].indexes)})),c.change.forEach((function(t){if(t.recreate)throw new ot.Upgrade("Not yet support for changing primary key");var e=n.objectStore(t.name);t.add.forEach((function(t){return tn(e,t)})),t.change.forEach((function(t){e.deleteIndex(t.name),tn(e,t)})),t.del.forEach((function(t){return e.deleteIndex(t)}))}));var h=t._cfg.contentUpgrade;if(h&&t._cfg.version>e){Hi(r,n),i._memoizedTables={},u=!0;var d=T(s);c.del.forEach((function(t){d[t]=o[t]})),Wi(r,[r.Transaction.prototype]),Gi(r,[r.Transaction.prototype],a(d),d),i.schema=d;var p,f=q(h);f&&ge();var g=$t.follow((function(){if(p=h(i),p&&f){var t=me.bind(null,null);p.then(t,t)}}));return p&&"function"===typeof p.then?$t.resolve(p):g.then((function(){return p}))}})),o.push((function(e){if(!u||!Be){var n=t._cfg.dbschema;Ji(n,e)}Wi(r,[r.Transaction.prototype]),Gi(r,[r.Transaction.prototype],r._storeNames,r._dbSchema),i.schema=r._dbSchema}))})),h().then((function(){Qi(l,n)}))}function Ki(t,e){var i,n={del:[],add:[],change:[]};for(i in t)e[i]||n.del.push(i);for(i in e){var r=t[i],o=e[i];if(r){var a={name:i,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(r.primKey.keyPath||"")!==""+(o.primKey.keyPath||"")||r.primKey.auto!==o.primKey.auto&&!Re)a.recreate=!0,n.change.push(a);else{var s=r.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],h=l[u];c?c.src!==h.src&&a.change.push(h):a.add.push(h)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}else n.add.push([i,o])}return n}function Zi(t,e,i,n){var r=t.db.createObjectStore(e,i.keyPath?{keyPath:i.keyPath,autoIncrement:i.auto}:{autoIncrement:i.auto});return n.forEach((function(t){return tn(r,t)})),r}function Qi(t,e){a(t).forEach((function(i){e.db.objectStoreNames.contains(i)||Zi(e,i,t[i].primKey,t[i].indexes)}))}function Ji(t,e){[].slice.call(e.db.objectStoreNames).forEach((function(i){return null==t[i]&&e.db.deleteObjectStore(i)}))}function tn(t,e){t.createIndex(e.name,e.keyPath,{unique:e.unique,multiEntry:e.multi})}function en(t,e,i){var n={},r=b(e.objectStoreNames,0);return r.forEach((function(t){for(var e=i.objectStore(t),r=e.keyPath,o=Pi(Ei(r),r||"",!1,!1,!!e.autoIncrement,r&&"string"!==typeof r,!0),a=[],s=0;s<e.indexNames.length;++s){var l=e.index(e.indexNames[s]);r=l.keyPath;var u=Pi(l.name,r,!!l.unique,!!l.multiEntry,!1,r&&"string"!==typeof r,!1);a.push(u)}n[t]=Di(t,o,a)})),n}function nn(t,e,i){var n=t._novip;n.verno=e.version/10;var r=n._dbSchema=en(n,e,i);n._storeNames=b(e.objectStoreNames,0),Gi(n,[n._allTables],a(r),r)}function rn(t,e){var i=en(t,t.idbdb,e),n=Ki(i,t._dbSchema);return!(n.add.length||n.change.some((function(t){return t.add.length||t.change.length})))}function on(t,e,i){for(var n=t._novip,r=i.db.objectStoreNames,a=0;a<r.length;++a){var s=r[a],l=i.objectStore(s);n._hasGetAll="getAll"in l;for(var u=0;u<l.indexNames.length;++u){var c=l.indexNames[u],h=l.index(c).keyPath,d="string"===typeof h?h:"["+b(h).join("+")+"]";if(e[s]){var p=e[s].idxByName[d];p&&(p.name=c,delete e[s].idxByName[d],e[s].idxByName[c]=p)}}}"undefined"!==typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&o.WorkerGlobalScope&&o instanceof o.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(n._hasGetAll=!1)}function an(t){return t.split(",").map((function(t,e){t=t.trim();var i=t.replace(/([&*]|\+\+)/g,""),n=/^\[/.test(i)?i.match(/^\[(.*)\]$/)[1].split("+"):i;return Pi(i,n||null,/\&/.test(t),/\*/.test(t),/\+\+/.test(t),s(n),0===e)}))}var sn=function(){function t(){}return t.prototype._parseStoresSpec=function(t,e){a(t).forEach((function(i){if(null!==t[i]){var n=an(t[i]),r=n.shift();if(r.multi)throw new ot.Schema("Primary key cannot be multi-valued");n.forEach((function(t){if(t.auto)throw new ot.Schema("Only primary key can be marked as autoIncrement (++)");if(!t.keyPath)throw new ot.Schema("Index must have a name and cannot be an empty string")})),e[i]=Di(i,r,n)}}))},t.prototype.stores=function(t){var e=this.db;this._cfg.storesSource=this._cfg.storesSource?l(this._cfg.storesSource,t):t;var i=e._versions,n={},r={};return i.forEach((function(t){l(n,t._cfg.storesSource),r=t._cfg.dbschema={},t._parseStoresSpec(n,r)})),e._dbSchema=r,Wi(e,[e._allTables,e,e.Transaction.prototype]),Gi(e,[e._allTables,e,e.Transaction.prototype,this._cfg.tables],a(r),r),e._storeNames=a(r),this},t.prototype.upgrade=function(t){return this._cfg.contentUpgrade=vt(this._cfg.contentUpgrade||ut,t),this},t}();function ln(t){return Ye(sn.prototype,(function(e){this.db=t,this._cfg={version:e,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}function un(t,e){var i=t["_dbNamesDB"];return i||(i=t["_dbNamesDB"]=new Vn(ze,{addons:[],indexedDB:t,IDBKeyRange:e}),i.version(1).stores({dbnames:"name"})),i.table("dbnames")}function cn(t){return t&&"function"===typeof t.databases}function hn(t){var e=t.indexedDB,i=t.IDBKeyRange;return cn(e)?Promise.resolve(e.databases()).then((function(t){return t.map((function(t){return t.name})).filter((function(t){return t!==ze}))})):un(e,i).toCollection().primaryKeys()}function dn(t,e){var i=t.indexedDB,n=t.IDBKeyRange;!cn(i)&&e!==ze&&un(i,n).put({name:e}).catch(ut)}function pn(t,e){var i=t.indexedDB,n=t.IDBKeyRange;!cn(i)&&e!==ze&&un(i,n).delete(e).catch(ut)}function fn(t){return fe((function(){return Nt.letThrough=!0,t()}))}function gn(){var t,e=!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent);return e&&indexedDB.databases?new Promise((function(e){var i=function(){return indexedDB.databases().finally(e)};t=setInterval(i,100),i()})).finally((function(){return clearInterval(t)})):Promise.resolve()}function mn(t){var e=t._state,i=t._deps.indexedDB;if(e.isBeingOpened||t.idbdb)return e.dbReadyPromise.then((function(){return e.dbOpenError?Te(e.dbOpenError):t}));$&&(e.openCanceller._stackHolder=U()),e.isBeingOpened=!0,e.dbOpenError=null,e.openComplete=!1;var n=e.openCanceller;function r(){if(e.openCanceller!==n)throw new ot.DatabaseClosed("db.open() was cancelled")}var o=e.dbReadyResolve,a=null,s=!1;return $t.race([n,("undefined"===typeof navigator?$t.resolve():gn()).then((function(){return new $t((function(n,o){if(r(),!i)throw new ot.MissingAPI;var l=t.name,u=e.autoSchema?i.open(l):i.open(l,Math.round(10*t.verno));if(!u)throw new ot.MissingAPI;u.onerror=Ci(o),u.onblocked=se(t._fireOnBlocked),u.onupgradeneeded=se((function(n){if(a=u.transaction,e.autoSchema&&!t._options.allowEmptyDB){u.onerror=ki,a.abort(),u.result.close();var r=i.deleteDatabase(l);r.onsuccess=r.onerror=se((function(){o(new ot.NoSuchDatabase("Database "+l+" doesnt exist"))}))}else{a.onerror=Ci(o);var c=n.oldVersion>Math.pow(2,62)?0:n.oldVersion;s=c<1,t._novip.idbdb=u.result,Yi(t,c/10,a,o)}}),o),u.onsuccess=se((function(){a=null;var i=t._novip.idbdb=u.result,r=b(i.objectStoreNames);if(r.length>0)try{var o=i.transaction(Li(r),"readonly");e.autoSchema?nn(t,i,o):(on(t,t._dbSchema,o),rn(t,o)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),Hi(t,o)}catch(c){}je.push(t),i.onversionchange=se((function(i){e.vcFired=!0,t.on("versionchange").fire(i)})),i.onclose=se((function(e){t.on("close").fire(e)})),s&&dn(t._deps,l),n()}),o)}))}))]).then((function(){return r(),e.onReadyBeingFired=[],$t.resolve(fn((function(){return t.on.ready.fire(t.vip)}))).then((function i(){if(e.onReadyBeingFired.length>0){var n=e.onReadyBeingFired.reduce(vt,ut);return e.onReadyBeingFired=[],$t.resolve(fn((function(){return n(t.vip)}))).then(i)}}))})).finally((function(){e.onReadyBeingFired=null,e.isBeingOpened=!1})).then((function(){return t})).catch((function(i){e.dbOpenError=i;try{a&&a.abort()}catch(Tn){}return n===e.openCanceller&&t._close(),Te(i)})).finally((function(){e.openComplete=!0,o()}))}function vn(t){var e=function(e){return t.next(e)},i=function(e){return t.throw(e)},n=o(e),r=o(i);function o(t){return function(e){var i=t(e),o=i.value;return i.done?o:o&&"function"===typeof o.then?o.then(n,r):s(o)?Promise.all(o).then(n,r):n(o)}}return o(e)()}function yn(t,e,i){var n=arguments.length;if(n<2)throw new ot.InvalidArgument("Too few arguments");var r=new Array(n-1);while(--n)r[n-1]=arguments[n];i=r.pop();var o=I(r);return[t,o,i]}function bn(t,e,i,n,r){return $t.resolve().then((function(){var o=Nt.transless||Nt,a=t._createTransaction(e,i,t._dbSchema,n),s={trans:a,transless:o};if(n)a.idbtrans=n.idbtrans;else try{a.create(),t._state.PR1398_maxLoop=3}catch(h){return h.name===nt.InvalidState&&t.isOpen()&&--t._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),t._close(),t.open().then((function(){return bn(t,e,i,null,r)}))):Te(h)}var l,u=q(r);u&&ge();var c=$t.follow((function(){if(l=r.call(a,a),l)if(u){var t=me.bind(null,null);l.then(t,t)}else"function"===typeof l.next&&"function"===typeof l.throw&&(l=vn(l))}),s);return(l&&"function"===typeof l.then?$t.resolve(l).then((function(t){return a.active?t:Te(new ot.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):c.then((function(){return l}))).then((function(t){return n&&a._resolve(),a._completion.then((function(){return t}))})).catch((function(t){return a._reject(t),Te(t)}))}))}function _n(t,e,i){for(var n=s(t)?t.slice():[t],r=0;r<i;++r)n.push(e);return n}function xn(t){return n(n({},t),{table:function(e){var i=t.table(e),r=i.schema,o={},a=[];function s(t,e,i){var r=zi(t),l=o[r]=o[r]||[],u=null==t?0:"string"===typeof t?1:t.length,c=e>0,h=n(n({},i),{isVirtual:c,keyTail:e,keyLength:u,extractKey:Ri(t),unique:!c&&i.unique});if(l.push(h),h.isPrimaryKey||a.push(h),u>1){var d=2===u?t[0]:t.slice(0,u-1);s(d,e+1,i)}return l.sort((function(t,e){return t.keyTail-e.keyTail})),h}var l=s(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[l];for(var u=0,c=r.indexes;u<c.length;u++){var h=c[u];s(h.keyPath,0,h)}function d(t){var e=o[zi(t)];return e&&e[0]}function p(e,i){return{type:1===e.type?2:e.type,lower:_n(e.lower,e.lowerOpen?t.MAX_KEY:t.MIN_KEY,i),lowerOpen:!0,upper:_n(e.upper,e.upperOpen?t.MIN_KEY:t.MAX_KEY,i),upperOpen:!0}}function f(t){var e=t.query.index;return e.isVirtual?n(n({},t),{query:{index:e,range:p(t.query.range,e.keyTail)}}):t}var g=n(n({},i),{schema:n(n({},r),{primaryKey:l,indexes:a,getIndexByKeyPath:d}),count:function(t){return i.count(f(t))},query:function(t){return i.query(f(t))},openCursor:function(e){var n=e.query.index,r=n.keyTail,o=n.isVirtual,a=n.keyLength;if(!o)return i.openCursor(e);function s(i){function n(n){null!=n?i.continue(_n(n,e.reverse?t.MAX_KEY:t.MIN_KEY,r)):e.unique?i.continue(i.key.slice(0,a).concat(e.reverse?t.MIN_KEY:t.MAX_KEY,r)):i.continue()}var o=Object.create(i,{continue:{value:n},continuePrimaryKey:{value:function(e,n){i.continuePrimaryKey(_n(e,t.MAX_KEY,r),n)}},primaryKey:{get:function(){return i.primaryKey}},key:{get:function(){var t=i.key;return 1===a?t[0]:t.slice(0,a)}},value:{get:function(){return i.value}}});return o}return i.openCursor(f(e)).then((function(t){return t&&s(t)}))}});return g}})}var wn={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:xn};function Sn(t,e,i,n){return i=i||{},n=n||"",a(t).forEach((function(r){if(h(e,r)){var o=t[r],a=e[r];if("object"===typeof o&&"object"===typeof a&&o&&a){var s=B(o),l=B(a);s!==l?i[n+r]=e[r]:"Object"===s?Sn(o,a,i,n+r+"."):o!==a&&(i[n+r]=e[r])}else o!==a&&(i[n+r]=e[r])}else i[n+r]=void 0})),a(e).forEach((function(r){h(t,r)||(i[n+r]=e[r])})),i}function Cn(t,e){return"delete"===e.type?e.keys:e.keys||e.values.map(t.extractKey)}var kn={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(t){return n(n({},t),{table:function(e){var i=t.table(e),o=i.schema.primaryKey,a=n(n({},i),{mutate:function(t){var a=Nt.trans,s=a.table(e).hook,l=s.deleting,u=s.creating,c=s.updating;switch(t.type){case"add":if(u.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"put":if(u.fire===ut&&c.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"delete":if(l.fire===ut)break;return a._promise("readwrite",(function(){return d(t)}),!0);case"deleteRange":if(l.fire===ut)break;return a._promise("readwrite",(function(){return p(t)}),!0)}return i.mutate(t);function d(t){var e=Nt.trans,a=t.keys||Cn(o,t);if(!a)throw new Error("Keys missing");return t="add"===t.type||"put"===t.type?n(n({},t),{keys:a}):n({},t),"delete"!==t.type&&(t.values=r([],t.values,!0)),t.keys&&(t.keys=r([],t.keys,!0)),Mn(i,t,a).then((function(n){var r=a.map((function(i,r){var a=n[r],s={onerror:null,onsuccess:null};if("delete"===t.type)l.fire.call(s,i,a,e);else if("add"===t.type||void 0===a){var d=u.fire.call(s,i,t.values[r],e);null==i&&null!=d&&(i=d,t.keys[r]=i,o.outbound||M(t.values[r],o.keyPath,i))}else{var p=Sn(a,t.values[r]),f=c.fire.call(s,p,i,a,e);if(f){var g=t.values[r];Object.keys(f).forEach((function(t){h(g,t)?g[t]=f[t]:M(g,t,f[t])}))}}return s}));return i.mutate(t).then((function(e){for(var i=e.failures,o=e.results,s=e.numFailures,l=e.lastResult,u=0;u<a.length;++u){var c=o?o[u]:a[u],h=r[u];null==c?h.onerror&&h.onerror(i[u]):h.onsuccess&&h.onsuccess("put"===t.type&&n[u]?t.values[u]:c)}return{failures:i,results:o,numFailures:s,lastResult:l}})).catch((function(t){return r.forEach((function(e){return e.onerror&&e.onerror(t)})),Promise.reject(t)}))}))}function p(t){return f(t.trans,t.range,1e4)}function f(t,e,r){return i.query({trans:t,values:!1,query:{index:o,range:e},limit:r}).then((function(i){var o=i.result;return d({type:"delete",keys:o,trans:t}).then((function(i){return i.numFailures>0?Promise.reject(i.failures[0]):o.length<r?{failures:[],numFailures:0,lastResult:void 0}:f(t,n(n({},e),{lower:o[o.length-1],lowerOpen:!0}),r)}))}))}}});return a}})}};function Mn(t,e,i){return"add"===e.type?Promise.resolve([]):t.getMany({trans:e.trans,keys:i,cache:"immutable"})}function On(t,e,i){try{if(!e)return null;if(e.keys.length<t.length)return null;for(var n=[],r=0,o=0;r<e.keys.length&&o<t.length;++r)0===ri(e.keys[r],t[o])&&(n.push(i?L(e.values[r]):e.values[r]),++o);return n.length===t.length?n:null}catch(Tn){return null}}var Tn,An={stack:"dbcore",level:-1,create:function(t){return{table:function(e){var i=t.table(e);return n(n({},i),{getMany:function(t){if(!t.cache)return i.getMany(t);var e=On(t.keys,t.trans["_cache"],"clone"===t.cache);return e?$t.resolve(e):i.getMany(t).then((function(e){return t.trans["_cache"]={keys:t.keys,values:"clone"===t.cache?L(e):e},e}))},mutate:function(t){return"add"!==t.type&&(t.trans["_cache"]=null),i.mutate(t)}})}}}};function In(t){return!("from"in t)}var Pn=function(t,e){if(!this){var i=new Pn;return t&&"d"in t&&l(i,t),i}l(this,arguments.length?{d:1,from:t,to:arguments.length>1?e:t}:{d:0})};function En(t,e,i){var n=ri(e,i);if(!isNaN(n)){if(n>0)throw RangeError();if(In(t))return l(t,{from:e,to:i,d:1});var r=t.l,o=t.r;if(ri(i,t.from)<0)return r?En(r,e,i):t.l={from:e,to:i,d:1,l:null,r:null},Rn(t);if(ri(e,t.to)>0)return o?En(o,e,i):t.r={from:e,to:i,d:1,l:null,r:null},Rn(t);ri(e,t.from)<0&&(t.from=e,t.l=null,t.d=o?o.d+1:1),ri(i,t.to)>0&&(t.to=i,t.r=null,t.d=t.l?t.l.d+1:1);var a=!t.r;r&&!t.l&&Dn(t,r),o&&a&&Dn(t,o)}}function Dn(t,e){function i(t,e){var n=e.from,r=e.to,o=e.l,a=e.r;En(t,n,r),o&&i(t,o),a&&i(t,a)}In(e)||i(t,e)}function Ln(t,e){var i=jn(e),n=i.next();if(n.done)return!1;var r=n.value,o=jn(t),a=o.next(r.from),s=a.value;while(!n.done&&!a.done){if(ri(s.from,r.to)<=0&&ri(s.to,r.from)>=0)return!0;ri(r.from,s.from)<0?r=(n=i.next(s.from)).value:s=(a=o.next(r.from)).value}return!1}function jn(t){var e=In(t)?null:{s:0,n:t};return{next:function(t){var i=arguments.length>0;while(e)switch(e.s){case 0:if(e.s=1,i)while(e.n.l&&ri(t,e.n.from)<0)e={up:e,n:e.n.l,s:1};else while(e.n.l)e={up:e,n:e.n.l,s:1};case 1:if(e.s=2,!i||ri(t,e.n.to)<=0)return{value:e.n,done:!1};case 2:if(e.n.r){e.s=3,e={up:e,n:e.n.r,s:0};continue}case 3:e=e.up}return{done:!0}}}}function Rn(t){var e,i,r=((null===(e=t.r)||void 0===e?void 0:e.d)||0)-((null===(i=t.l)||void 0===i?void 0:i.d)||0),o=r>1?"r":r<-1?"l":"";if(o){var a="r"===o?"l":"r",s=n({},t),l=t[o];t.from=l.from,t.to=l.to,t[o]=l[o],s[o]=l[a],t[a]=s,s.d=Bn(s)}t.d=Bn(t)}function Bn(t){var e=t.r,i=t.l;return(e?i?Math.max(e.d,i.d):e.d:i?i.d:0)+1}d(Pn.prototype,(Tn={add:function(t){return Dn(this,t),this},addKey:function(t){return En(this,t,t),this},addKeys:function(t){var e=this;return t.forEach((function(t){return En(e,t,t)})),this}},Tn[F]=function(){return jn(this)},Tn));var Fn={stack:"dbcore",level:0,create:function(t){var e=t.schema.name,i=new Pn(t.MIN_KEY,t.MAX_KEY);return n(n({},t),{table:function(r){var o=t.table(r),l=o.schema,u=l.primaryKey,c=u.extractKey,h=u.outbound,d=n(n({},o),{mutate:function(t){var n=t.trans,a=n.mutatedParts||(n.mutatedParts={}),u=function(t){var i="idb://"+e+"/"+r+"/"+t;return a[i]||(a[i]=new Pn)},c=u(""),h=u(":dels"),d=t.type,p="deleteRange"===t.type?[t.range]:"delete"===t.type?[t.keys]:t.values.length<50?[[],t.values]:[],f=p[0],g=p[1],m=t.trans["_cache"];return o.mutate(t).then((function(t){if(s(f)){"delete"!==d&&(f=t.results),c.addKeys(f);var e=On(f,m);e||"add"===d||h.addKeys(f),(e||g)&&Nn(u,l,e,g)}else if(f){var n={from:f.lower,to:f.upper};h.add(n),c.add(n)}else c.add(i),h.add(i),l.indexes.forEach((function(t){return u(t.name).add(i)}));return t}))}}),p=function(e){var i,n,r=e.query,o=r.index,a=r.range;return[o,new Pn(null!==(i=a.lower)&&void 0!==i?i:t.MIN_KEY,null!==(n=a.upper)&&void 0!==n?n:t.MAX_KEY)]},f={get:function(t){return[u,new Pn(t.key)]},getMany:function(t){return[u,(new Pn).addKeys(t.keys)]},count:p,query:p,openCursor:p};return a(f).forEach((function(t){d[t]=function(a){var s=Nt.subscr;if(s){var l=function(t){var i="idb://"+e+"/"+r+"/"+t;return s[i]||(s[i]=new Pn)},u=l(""),d=l(":dels"),p=f[t](a),g=p[0],m=p[1];if(l(g.name||"").add(m),!g.isPrimaryKey){if("count"!==t){var v="query"===t&&h&&a.values&&o.query(n(n({},a),{values:!1}));return o[t].apply(this,arguments).then((function(e){if("query"===t){if(h&&a.values)return v.then((function(t){var i=t.result;return u.addKeys(i),e}));var i=a.values?e.result.map(c):e.result;a.values?u.addKeys(i):d.addKeys(i)}else if("openCursor"===t){var n=e,r=a.values;return n&&Object.create(n,{key:{get:function(){return d.addKey(n.primaryKey),n.key}},primaryKey:{get:function(){var t=n.primaryKey;return d.addKey(t),t}},value:{get:function(){return r&&u.addKey(n.primaryKey),n.value}}})}return e}))}d.add(i)}}return o[t].apply(this,arguments)}})),d}})}};function Nn(t,e,i,n){function r(e){var r=t(e.name||"");function o(t){return null!=t?e.extractKey(t):null}var a=function(t){return e.multiEntry&&s(t)?t.forEach((function(t){return r.addKey(t)})):r.addKey(t)};(i||n).forEach((function(t,e){var r=i&&o(i[e]),s=n&&o(n[e]);0!==ri(r,s)&&(null!=r&&a(r),null!=s&&a(s))}))}e.indexes.forEach(r)}var zn,Vn=function(){function t(e,i){var r=this;this._middlewares={},this.verno=0;var o=t.dependencies;this._options=i=n({addons:t.addons,autoOpen:!0,indexedDB:o.indexedDB,IDBKeyRange:o.IDBKeyRange},i),this._deps={indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange};var a=i.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var s={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:ut,dbReadyPromise:null,cancelOpen:ut,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3};s.dbReadyPromise=new $t((function(t){s.dbReadyResolve=t})),s.openCanceller=new $t((function(t,e){s.cancelOpen=e})),this._state=s,this.name=e,this.on=Ue(this,"populate","blocked","versionchange","close",{ready:[vt,ut]}),this.on.ready.subscribe=_(this.on.ready.subscribe,(function(e){return function(i,n){t.vip((function(){var t=r._state;if(t.openComplete)t.dbOpenError||$t.resolve().then(i),n&&e(i);else if(t.onReadyBeingFired)t.onReadyBeingFired.push(i),n&&e(i);else{e(i);var o=r;n||e((function t(){o.on.ready.unsubscribe(i),o.on.ready.unsubscribe(t)}))}}))}})),this.Collection=hi(this),this.Table=Xe(this),this.Transaction=Ii(this),this.Version=ln(this),this.WhereClause=Si(this),this.on("versionchange",(function(t){t.newVersion>0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()})),this.on("blocked",(function(t){!t.newVersion||t.newVersion<t.oldVersion?console.warn("Dexie.delete('"+r.name+"') was blocked"):console.warn("Upgrade '"+r.name+"' blocked by other connection holding version "+t.oldVersion/10)})),this._maxKey=ji(i.IDBKeyRange),this._createTransaction=function(t,e,i,n){return new r.Transaction(t,e,i,r._options.chromeTransactionDurability,n)},this._fireOnBlocked=function(t){r.on("blocked").fire(t),je.filter((function(t){return t.name===r.name&&t!==r&&!t._state.vcFired})).map((function(e){return e.on("versionchange").fire(t)}))},this.use(wn),this.use(kn),this.use(Fn),this.use(An),this.vip=Object.create(this,{_vip:{value:!0}}),a.forEach((function(t){return t(r)}))}return t.prototype.version=function(t){if(isNaN(t)||t<.1)throw new ot.Type("Given version is not a positive number");if(t=Math.round(10*t)/10,this.idbdb||this._state.isBeingOpened)throw new ot.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,t);var e=this._versions,i=e.filter((function(e){return e._cfg.version===t}))[0];return i||(i=new this.Version(t),e.push(i),e.sort(Ui),i.stores({}),this._state.autoSchema=!1,i)},t.prototype._whenReady=function(t){var e=this;return this.idbdb&&(this._state.openComplete||Nt.letThrough||this._vip)?t():new $t((function(t,i){if(e._state.openComplete)return i(new ot.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._options.autoOpen)return void i(new ot.DatabaseClosed);e.open().catch(ut)}e._state.dbReadyPromise.then(t,i)})).then(t)},t.prototype.use=function(t){var e=t.stack,i=t.create,n=t.level,r=t.name;r&&this.unuse({stack:e,name:r});var o=this._middlewares[e]||(this._middlewares[e]=[]);return o.push({stack:e,create:i,level:null==n?10:n,name:r}),o.sort((function(t,e){return t.level-e.level})),this},t.prototype.unuse=function(t){var e=t.stack,i=t.name,n=t.create;return e&&this._middlewares[e]&&(this._middlewares[e]=this._middlewares[e].filter((function(t){return n?t.create!==n:!!i&&t.name!==i}))),this},t.prototype.open=function(){return mn(this)},t.prototype._close=function(){var t=this._state,e=je.indexOf(this);if(e>=0&&je.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(i){}this._novip.idbdb=null}t.dbReadyPromise=new $t((function(e){t.dbReadyResolve=e})),t.openCanceller=new $t((function(e,i){t.cancelOpen=i}))},t.prototype.close=function(){this._close();var t=this._state;this._options.autoOpen=!1,t.dbOpenError=new ot.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError)},t.prototype.delete=function(){var t=this,e=arguments.length>0,i=this._state;return new $t((function(n,r){var o=function(){t.close();var e=t._deps.indexedDB.deleteDatabase(t.name);e.onsuccess=se((function(){pn(t._deps,t.name),n()})),e.onerror=Ci(r),e.onblocked=t._fireOnBlocked};if(e)throw new ot.InvalidArgument("Arguments not allowed in db.delete()");i.isBeingOpened?i.dbReadyPromise.then(o):o()}))},t.prototype.backendDB=function(){return this.idbdb},t.prototype.isOpen=function(){return null!==this.idbdb},t.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&"DatabaseClosed"===t.name},t.prototype.hasFailed=function(){return null!==this._state.dbOpenError},t.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(t.prototype,"tables",{get:function(){var t=this;return a(this._allTables).map((function(e){return t._allTables[e]}))},enumerable:!1,configurable:!0}),t.prototype.transaction=function(){var t=yn.apply(this,arguments);return this._transaction.apply(this,t)},t.prototype._transaction=function(t,e,i){var n=this,r=Nt.trans;r&&r.db===this&&-1===t.indexOf("!")||(r=null);var o,a,s=-1!==t.indexOf("?");t=t.replace("!","").replace("?","");try{if(a=e.map((function(t){var e=t instanceof n.Table?t.name:t;if("string"!==typeof e)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return e})),"r"==t||t===Ve)o=Ve;else{if("rw"!=t&&t!=qe)throw new ot.InvalidArgument("Invalid transaction mode: "+t);o=qe}if(r){if(r.mode===Ve&&o===qe){if(!s)throw new ot.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");r=null}r&&a.forEach((function(t){if(r&&-1===r.storeNames.indexOf(t)){if(!s)throw new ot.SubTransaction("Table "+t+" not included in parent transaction.");r=null}})),s&&r&&!r.active&&(r=null)}}catch(u){return r?r._promise(null,(function(t,e){e(u)})):Te(u)}var l=bn.bind(null,this,o,a,r,i);return r?r._promise(o,l,"lock"):Nt.trans?we(Nt.transless,(function(){return n._whenReady(l)})):this._whenReady(l)},t.prototype.table=function(t){if(!h(this._allTables,t))throw new ot.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},t}(),qn="undefined"!==typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",$n=function(){function t(t){this._subscribe=t}return t.prototype.subscribe=function(t,e,i){return this._subscribe(t&&"function"!==typeof t?t:{next:t,error:e,complete:i})},t.prototype[qn]=function(){return this},t}();function Hn(t,e){return a(e).forEach((function(i){var n=t[i]||(t[i]=new Pn);Dn(n,e[i])})),t}function Gn(t){return new $n((function(e){var i=q(t);function n(e){i&&ge();var n=function(){return fe(t,{subscr:e,trans:null})},r=Nt.trans?we(Nt.transless,n):n();return i&&r.then(me,me),r}var r=!1,o={},s={},l={get closed(){return r},unsubscribe:function(){r=!0,Ti.storagemutated.unsubscribe(d)}};e.start&&e.start(l);var u=!1,c=!1;function h(){return a(s).some((function(t){return o[t]&&Ln(o[t],s[t])}))}var d=function(t){Hn(o,t),h()&&p()},p=function(){if(!u&&!r){o={};var t={},i=n(t);c||(Ti(Mi,d),c=!0),u=!0,Promise.resolve(i).then((function(i){u=!1,r||(h()?p():(o={},s=t,e.next&&e.next(i)))}),(function(t){u=!1,e.error&&e.error(t),l.unsubscribe()}))}};return p(),l}))}try{zn={indexedDB:o.indexedDB||o.mozIndexedDB||o.webkitIndexedDB||o.msIndexedDB,IDBKeyRange:o.IDBKeyRange||o.webkitIDBKeyRange}}catch(Qn){zn={indexedDB:null,IDBKeyRange:null}}var Wn=Vn;function Un(t){var e=Yn;try{Yn=!0,Ti.storagemutated.fire(t)}finally{Yn=e}}d(Wn,n(n({},lt),{delete:function(t){var e=new Wn(t,{addons:[]});return e.delete()},exists:function(t){return new Wn(t,{addons:[]}).open().then((function(t){return t.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(t){try{return hn(Wn.dependencies).then(t)}catch(Tn){return Te(new ot.MissingAPI)}},defineClass:function(){function t(t){l(this,t)}return t},ignoreTransaction:function(t){return Nt.trans?we(Nt.transless,t):t()},vip:fn,async:function(t){return function(){try{var e=vn(t.apply(this,arguments));return e&&"function"===typeof e.then?e:$t.resolve(e)}catch(Qn){return Te(Qn)}}},spawn:function(t,e,i){try{var n=vn(t.apply(i,e||[]));return n&&"function"===typeof n.then?n:$t.resolve(n)}catch(Qn){return Te(Qn)}},currentTransaction:{get:function(){return Nt.trans||null}},waitFor:function(t,e){var i=$t.resolve("function"===typeof t?Wn.ignoreTransaction(t):t).timeout(e||6e4);return Nt.trans?Nt.trans.waitFor(i):i},Promise:$t,debug:{get:function(){return $},set:function(t){H(t,"dexie"===t?function(){return!0}:Ne)}},derive:g,extend:l,props:d,override:_,Events:Ue,on:Ti,liveQuery:Gn,extendObservabilitySet:Hn,getByKeyPath:k,setByKeyPath:M,delByKeyPath:O,shallowClone:T,deepClone:L,getObjectDiff:Sn,cmp:ri,asap:w,minKey:Ee,addons:[],connections:je,errnames:nt,dependencies:zn,semVer:Ie,version:Ie.split(".").map((function(t){return parseInt(t)})).reduce((function(t,e,i){return t+e/Math.pow(10,2*i)}))})),Wn.maxKey=ji(Wn.dependencies.IDBKeyRange),"undefined"!==typeof dispatchEvent&&"undefined"!==typeof addEventListener&&(Ti(Mi,(function(t){var e;Yn||(Re?(e=document.createEvent("CustomEvent"),e.initCustomEvent(Oi,!0,!0,t)):e=new CustomEvent(Oi,{detail:t}),Yn=!0,dispatchEvent(e),Yn=!1)})),addEventListener(Oi,(function(t){var e=t.detail;Yn||Un(e)})));var Yn=!1;if("undefined"!==typeof BroadcastChannel){var Xn=new BroadcastChannel(Oi);Ti(Mi,(function(t){Yn||Xn.postMessage(t)})),Xn.onmessage=function(t){t.data&&Un(t.data)}}else if("undefined"!==typeof self&&"undefined"!==typeof navigator){Ti(Mi,(function(t){try{Yn||("undefined"!==typeof localStorage&&localStorage.setItem(Oi,JSON.stringify({trig:Math.random(),changedParts:t})),"object"===typeof self["clients"]&&r([],self["clients"].matchAll({includeUncontrolled:!0}),!0).forEach((function(e){return e.postMessage({type:Oi,changedParts:t})})))}catch(Tn){}})),"undefined"!==typeof addEventListener&&addEventListener("storage",(function(t){if(t.key===Oi){var e=JSON.parse(t.newValue);e&&Un(e.changedParts)}}));var Kn=self.document&&navigator.serviceWorker;Kn&&Kn.addEventListener("message",Zn)}function Zn(t){var e=t.data;e&&e.type===Oi&&Un(e.changedParts)}$t.rejectionMapper=st,H($,Ne)}).call(this,i("23b3"))},"4df4":function(t,e,i){"use strict";var n=i("0366"),r=i("c65b"),o=i("7b0b"),a=i("9bdd"),s=i("e95a"),l=i("68ee"),u=i("07fa"),c=i("8418"),h=i("9a1f"),d=i("35a1"),p=Array;t.exports=function(t){var e=o(t),i=l(this),f=arguments.length,g=f>1?arguments[1]:void 0,m=void 0!==g;m&&(g=n(g,f>2?arguments[2]:void 0));var v,y,b,_,x,w,S=d(e),C=0;if(!S||this===p&&s(S))for(v=u(e),y=i?new this(v):p(v);v>C;C++)w=m?g(e[C],C):e[C],c(y,C,w);else for(_=h(e,S),x=_.next,y=i?new this:[];!(b=r(x,_)).done;C++)w=m?a(_,g,[b.value,C],!0):b.value,c(y,C,w);return y.length=C,y}},"4e73":function(t,e,i){"use strict";var n=i("2b0e"),r=i("c474"),o=i("7ee0"),a=i("b7fa"),s=i("9e62"),l=i("7562"),u=i("f376"),c=i("0967"),h=i("d882");function d(t){for(let e=t;null!==e;e=e.parentNode)if(void 0!==e.__vue__)return e.__vue__}function p(t,e){if(null===t||null===e)return null;for(let i=t;void 0!==i;i=i.$parent)if(i===e)return!0;return!1}let f;const{notPassiveCapture:g,passiveCapture:m}=h["f"],v={click:[],focus:[]};function y(t){while(null!==(t=t.nextElementSibling))if(t.classList.contains("q-dialog--modal"))return!0;return!1}function b(t,e){for(let i=t.length-1;i>=0;i--)if(void 0===t[i](e))return}function _(t){clearTimeout(f),"focusin"===t.type&&(!0===c["a"].is.ie&&t.target===document.body||!0===t.target.hasAttribute("tabindex"))?f=setTimeout((()=>{b(v.focus,t)}),!0===c["a"].is.ie?500:200):b(v.click,t)}var x={name:"click-outside",bind(t,{value:e,arg:i},n){const r=n.componentInstance||n.context,o={trigger:e,toggleEl:i,handler(e){const i=e.target;if(!0!==e.qClickOutside&&!0===document.body.contains(i)&&8!==i.nodeType&&i!==document.documentElement&&!1===i.classList.contains("no-pointer-events")&&!0!==y(t)&&(void 0===o.toggleEl||!1===o.toggleEl.contains(i))&&(i===document.body||!1===p(d(i),r)))return e.qClickOutside=!0,o.trigger(e)}};t.__qclickoutside&&(t.__qclickoutside_old=t.__qclickoutside),t.__qclickoutside=o,0===v.click.length&&(document.addEventListener("mousedown",_,g),document.addEventListener("touchstart",_,g),document.addEventListener("focusin",_,m)),v.click.push(o.handler),o.timerFocusin=setTimeout((()=>{v.focus.push(o.handler)}),500)},update(t,{value:e,oldValue:i,arg:n}){const r=t.__qclickoutside;e!==i&&(r.trigger=e),n!==r.arg&&(r.toggleEl=n)},unbind(t){const e=t.__qclickoutside_old||t.__qclickoutside;if(void 0!==e){clearTimeout(e.timerFocusin);const i=v.click.findIndex((t=>t===e.handler)),n=v.focus.findIndex((t=>t===e.handler));i>-1&&v.click.splice(i,1),n>-1&&v.focus.splice(n,1),0===v.click.length&&(clearTimeout(f),document.removeEventListener("mousedown",_,g),document.removeEventListener("touchstart",_,g),document.removeEventListener("focusin",_,m)),delete t[t.__qclickoutside_old?"__qclickoutside_old":"__qclickoutside"]}}},w=i("0831"),S=i("a267"),C=i("dde5"),k=i("e704"),M=i("ab41");e["a"]=n["a"].extend({name:"QMenu",mixins:[u["b"],a["a"],r["a"],o["a"],s["c"],l["a"]],directives:{ClickOutside:x},props:{persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:M["d"]},self:{type:String,validator:M["d"]},offset:{type:Array,validator:M["c"]},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},computed:{anchorOrigin(){return Object(M["a"])(this.anchor||(!0===this.cover?"center middle":"bottom start"),this.$q.lang.rtl)},selfOrigin(){return!0===this.cover?this.anchorOrigin:Object(M["a"])(this.self||"top start",this.$q.lang.rtl)},menuClass(){return(!0===this.square?" q-menu--square":"")+(!0===this.isDark?" q-menu--dark q-dark":"")},hideOnRouteChange(){return!0!==this.persistent&&!0!==this.noRouteDismiss},onEvents(){const t={...this.qListeners,input:h["k"],"popup-show":h["k"],"popup-hide":h["k"]};return!0===this.autoClose&&(t.click=this.__onAutoClose),t},attrs(){return{tabindex:-1,...this.qAttrs}}},methods:{focus(){Object(k["a"])((()=>{let t=void 0!==this.__portal&&void 0!==this.__portal.$refs?this.__portal.$refs.inner:void 0;void 0!==t&&!0!==t.contains(document.activeElement)&&(t=t.querySelector("[autofocus], [data-autofocus]")||t,t.focus({preventScroll:!0}))}))},__show(t){if(this.__refocusTarget=!0!==c["a"].is.mobile&&!1===this.noRefocus&&null!==document.activeElement?document.activeElement:void 0,S["a"].register(this,(()=>{!0!==this.persistent&&(this.$emit("escape-key"),this.hide())})),this.__showPortal(),this.__configureScrollTarget(),this.absoluteOffset=void 0,void 0!==t&&(this.touchPosition||this.contextMenu)){const e=Object(h["h"])(t);if(void 0!==e.left){const{top:t,left:i}=this.anchorEl.getBoundingClientRect();this.absoluteOffset={left:e.left-i,top:e.top-t}}}void 0===this.unwatch&&(this.unwatch=this.$watch((()=>this.$q.screen.width+"|"+this.$q.screen.height+"|"+this.self+"|"+this.anchor+"|"+this.$q.lang.rtl),this.updatePosition)),this.$el.dispatchEvent(Object(h["c"])("popup-show",{bubbles:!0})),!0!==this.noFocus&&null!==document.activeElement&&document.activeElement.blur(),this.__nextTick((()=>{this.updatePosition(),!0!==this.noFocus&&this.focus()})),this.__setTimeout((()=>{!0===this.$q.platform.is.ios&&(this.__avoidAutoClose=this.autoClose,this.__portal.$el.click()),this.updatePosition(),this.__showPortal(!0),this.$emit("show",t)}),300)},__hide(t){this.__anchorCleanup(!0),this.__hidePortal(),void 0===this.__refocusTarget||null===this.__refocusTarget||void 0!==t&&!0===t.qClickOutside||(this.__refocusTarget.focus(),this.__refocusTarget=void 0),this.$el.dispatchEvent(Object(h["c"])("popup-hide",{bubbles:!0})),this.__setTimeout((()=>{this.__hidePortal(!0),this.$emit("hide",t)}),300)},__anchorCleanup(t){this.absoluteOffset=void 0,void 0!==this.unwatch&&(this.unwatch(),this.unwatch=void 0),!0!==t&&!0!==this.showing||(S["a"].pop(this),this.__unconfigureScrollTarget())},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__changeScrollEvent(this.__scrollTarget),this.__scrollTarget=void 0)},__configureScrollTarget(){void 0===this.anchorEl&&void 0===this.scrollTarget||(this.__scrollTarget=Object(w["d"])(this.anchorEl,this.scrollTarget),this.__changeScrollEvent(this.__scrollTarget,this.updatePosition))},__onAutoClose(t){!0!==this.__avoidAutoClose?(Object(s["a"])(this,t),void 0!==this.qListeners.click&&this.$emit("click",t)):this.__avoidAutoClose=!1},updatePosition(){if(void 0===this.anchorEl||void 0===this.__portal)return;const t=this.__portal.$el;8!==t.nodeType?Object(M["b"])({el:t,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,absoluteOffset:this.absoluteOffset,fit:this.fit,cover:this.cover,maxHeight:this.maxHeight,maxWidth:this.maxWidth}):setTimeout(this.updatePosition,25)},__onClickOutside(t){if(!0!==this.persistent&&!0===this.showing){const e=t.target.classList;return Object(s["a"])(this,t),("touchstart"===t.type||e.contains("q-dialog__backdrop"))&&Object(h["m"])(t),!0}},__renderPortal(t){return t("transition",{props:{name:this.transition}},[!0===this.showing?t("div",{ref:"inner",staticClass:"q-menu q-position-engine scroll"+this.menuClass,class:this.contentClass,style:this.contentStyle,attrs:this.attrs,on:this.onEvents,directives:[{name:"click-outside",value:this.__onClickOutside,arg:this.anchorEl}]},Object(C["c"])(this,"default")):null])}},mounted(){this.__processModelChange(this.value)},beforeDestroy(){this.__refocusTarget=void 0,!0===this.showing&&void 0!==this.anchorEl&&this.anchorEl.dispatchEvent(Object(h["c"])("popup-hide",{bubbles:!0}))}})},5087:function(t,e,i){var n=i("68ee"),r=i("0d51"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(r(t)+" is not a constructor")}},5096:function(t,e,i){"use strict";var n=i("2b0e"),r=i("de5e"),o=i("0831");e["a"]=n["a"].extend({name:"QPageScroller",mixins:[r["a"]],props:{scrollOffset:{type:Number,default:1e3},reverse:Boolean,duration:{type:Number,default:300},offset:{default:()=>[18,18]}},inject:{layout:{default(){console.error("QPageScroller needs to be used within a QLayout")}}},data(){return{showing:this.__isVisible()}},computed:{scrollHeight(){return this.layout.height-(!0===this.layout.container?this.layout.containerHeight:this.$q.screen.height)},onEvents(){return{...this.qListeners,click:this.__onClick}}},watch:{"layout.scroll.position"(){this.__updateVisibility()},reverse:{handler(t){!0===t?void 0===this.heightWatcher&&(this.heightWatcher=this.$watch("scrollHeight",this.__updateVisibility)):void 0!==this.heightWatcher&&this.__cleanup()},immediate:!0}},methods:{__isVisible(){return!0===this.reverse?this.scrollHeight-this.layout.scroll.position>this.scrollOffset:this.layout.scroll.position>this.scrollOffset},__onClick(t){const e=Object(o["d"])(!0===this.layout.container?this.$el:this.layout.$el);Object(o["i"])(e,!0===this.reverse?this.layout.height:0,this.duration),this.$emit("click",t)},__updateVisibility(){const t=this.__isVisible();this.showing!==t&&(this.showing=t)},__cleanup(){this.heightWatcher(),this.heightWatcher=void 0}},render(t){return t("transition",{props:{name:"q-transition--fade"}},!0===this.showing?[t("div",{staticClass:"q-page-scroller",on:this.onEvents},[r["a"].options.render.call(this,t)])]:null)},beforeDestroy(){void 0!==this.heightWatcher&&this.__cleanup()}})},"50c4":function(t,e,i){var n=i("5926"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},"512c":function(t,e,i){var n=i("342f"),r=n.match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},"515f":function(t,e,i){"use strict";i("5319");var n=i("0967");function r(t){return encodeURIComponent(t)}function o(t){return decodeURIComponent(t)}function a(t){return r(t===Object(t)?JSON.stringify(t):""+t)}function s(t){if(""===t)return t;0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),t=o(t.replace(/\+/g," "));try{t=JSON.parse(t)}catch(e){}return t}function l(t){const e=new Date;return e.setMilliseconds(e.getMilliseconds()+t),e.toUTCString()}function u(t){let e=0;const i=t.match(/(\d+)d/),n=t.match(/(\d+)h/),r=t.match(/(\d+)m/),o=t.match(/(\d+)s/);return i&&(e+=864e5*i[1]),n&&(e+=36e5*n[1]),r&&(e+=6e4*r[1]),o&&(e+=1e3*o[1]),0===e?t:l(e)}function c(t,e,i={},n){let o,s;void 0!==i.expires&&("[object Date]"===Object.prototype.toString.call(i.expires)?o=i.expires.toUTCString():"string"===typeof i.expires?o=u(i.expires):(s=parseFloat(i.expires),o=!1===isNaN(s)?l(864e5*s):i.expires));const c=`${r(t)}=${a(e)}`,d=[c,void 0!==o?"; Expires="+o:"",i.path?"; Path="+i.path:"",i.domain?"; Domain="+i.domain:"",i.sameSite?"; SameSite="+i.sameSite:"",i.httpOnly?"; HttpOnly":"",i.secure?"; Secure":"",i.other?"; "+i.other:""].join("");if(n){n.req.qCookies?n.req.qCookies.push(d):n.req.qCookies=[d],n.res.setHeader("Set-Cookie",n.req.qCookies);let e=n.req.headers.cookie||"";if(void 0!==o&&s<0){const i=h(t,n);void 0!==i&&(e=e.replace(`${t}=${i}; `,"").replace(`; ${t}=${i}`,"").replace(`${t}=${i}`,""))}else e=e?`${c}; ${e}`:d;n.req.headers.cookie=e}else document.cookie=d}function h(t,e){const i=e?e.req.headers:document,n=i.cookie?i.cookie.split("; "):[],r=n.length;let a,l,u,c=t?null:{},h=0;for(;h<r;h++)if(a=n[h].split("="),l=o(a.shift()),u=a.join("="),t){if(t===l){c=s(u);break}}else c[l]=u;return c}function d(t,e,i){c(t,"",{expires:-1,...e},i)}function p(t,e){return null!==h(t,e)}function f(t){return{get:e=>h(e,t),set:(e,i,n)=>c(e,i,n,t),has:e=>p(e,t),remove:(e,i)=>d(e,i,t),getAll:()=>h(null,t)}}e["a"]={parseSSR(t){return void 0!==t?f(t):this},install({$q:t,queues:e}){!0===n["e"]?e.server.push(((t,e)=>{t.cookies=f(e.ssr)})):(Object.assign(this,f()),t.cookies=this)}}},5261:function(t,e,i){"use strict";function n(t){var e=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in e)e.hasOwnProperty(i)&&(i=e[i],"string"===typeof t[i]&&(t[i]=parseInt(t[i],10)));return"string"===typeof t["displayValue"]&&(t["displayValue"]="false"!=t["displayValue"]),t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},5270:function(t,e,i){"use strict";var n=i("c532"),r=i("c401"),o=i("2e67"),a=i("2444");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){s(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||a.adapter;return e(t).then((function(e){return s(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"52ee":function(t,e,i){"use strict";i("caad"),i("ddb0");var n=i("2b0e"),r=i("9c40"),o=i("a8f0"),a=i("b7fa"),s=i("f89c"),l=i("87e8"),u=i("7937");const c=["gregorian","persian"];var h={mixins:[a["a"],s["b"],l["a"]],props:{value:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:t=>c.includes(t),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},computed:{computedMask(){return this.__getMask()},computedLocale(){return this.__getLocale()},editable(){return!0!==this.disable&&!0!==this.readonly},computedColor(){return this.color||"primary"},computedTextColor(){return this.textColor||"white"},computedTabindex(){return!0===this.editable?0:-1},headerClass(){const t=[];return void 0!==this.color&&t.push(`bg-${this.color}`),void 0!==this.textColor&&t.push(`text-${this.textColor}`),t.join(" ")}},methods:{__getLocale(){return void 0!==this.locale?{...this.$q.lang.date,...this.locale}:this.$q.lang.date},__getCurrentDate(t){const e=new Date,i=!0===t?null:0;if("persian"===this.calendar){const t=Object(o["c"])(e);return{year:t.jy,month:t.jm,day:t.jd}}return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:i,minute:i,second:i,millisecond:i}},__getCurrentTime(){const t=new Date;return{hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},__getDayHash(t){return t.year+"/"+Object(u["e"])(t.month)+"/"+Object(u["e"])(t.day)}}},d=i("dde5"),p=i("bd4c"),f=i("0cd3"),g=i("5ff7");const m=20,v=["Calendar","Years","Months"],y=t=>v.includes(t),b=t=>/^-?[\d]+\/[0-1]\d$/.test(t),_=" — ";e["a"]=n["a"].extend({name:"QDate",mixins:[h],props:{multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:b},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:b},navigationMaxYearMonth:{type:String,validator:b},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:y}},data(){const t=this.__getMask(),e=this.__getLocale(),i=this.__getViewModel(t,e),n=i.year,r=!0===this.$q.lang.rtl?"right":"left";return{view:this.defaultView,monthDirection:r,yearDirection:r,startYear:n-n%m-(n<0?m:0),editRange:void 0,innerMask:t,innerLocale:e,viewModel:i}},watch:{value(t){if(this.lastEmitValue===t)this.lastEmitValue=0;else{const{year:t,month:e}=this.__getViewModel(this.innerMask,this.innerLocale);this.__updateViewModel(t,e)}},view(){void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus()},"viewModel.year"(t){this.$emit("navigation",{year:t,month:this.viewModel.month})},"viewModel.month"(t){this.$emit("navigation",{year:this.viewModel.year,month:t})},computedMask(t){this.__updateValue(t,this.innerLocale,"mask"),this.innerMask=t},computedLocale(t){this.__updateValue(this.innerMask,t,"locale"),this.innerLocale=t}},computed:{classes(){const t=!0===this.landscape?"landscape":"portrait";return`q-date q-date--${t} q-date--${t}-${!0===this.minimal?"minimal":"standard"}`+(!0===this.isDark?" q-date--dark q-dark":"")+(!0===this.bordered?" q-date--bordered":"")+(!0===this.square?" q-date--square no-border-radius":"")+(!0===this.flat?" q-date--flat no-shadow":"")+(!0===this.disable?" disabled":!0===this.readonly?" q-date--readonly":"")},isImmediate(){return!0===this.emitImmediately&&!0!==this.multiple&&!0!==this.range},normalizedModel(){return!0===Array.isArray(this.value)?this.value:null!==this.value&&void 0!==this.value?[this.value]:[]},daysModel(){return this.normalizedModel.filter((t=>"string"===typeof t)).map((t=>this.__decodeString(t,this.innerMask,this.innerLocale))).filter((t=>null!==t.dateHash&&null!==t.day&&null!==t.month&&null!==t.year))},rangeModel(){const t=t=>this.__decodeString(t,this.innerMask,this.innerLocale);return this.normalizedModel.filter((t=>!0===Object(g["d"])(t)&&void 0!==t.from&&void 0!==t.to)).map((e=>({from:t(e.from),to:t(e.to)}))).filter((t=>null!==t.from.dateHash&&null!==t.to.dateHash&&t.from.dateHash<t.to.dateHash))},getNativeDateFn(){return"persian"!==this.calendar?t=>new Date(t.year,t.month-1,t.day):t=>{const e=Object(o["b"])(t.year,t.month,t.day);return new Date(e.gy,e.gm-1,e.gd)}},encodeObjectFn(){return"persian"===this.calendar?this.__getDayHash:(t,e,i)=>Object(p["c"])(new Date(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond),void 0===e?this.innerMask:e,void 0===i?this.innerLocale:i,t.year,t.timezoneOffset)},daysInModel(){return this.daysModel.length+this.rangeModel.reduce(((t,e)=>t+1+Object(p["d"])(this.getNativeDateFn(e.to),this.getNativeDateFn(e.from))),0)},headerTitle(){if(void 0!==this.title&&null!==this.title&&this.title.length>0)return this.title;if(void 0!==this.editRange){const t=this.editRange.init,e=this.getNativeDateFn(t);return this.innerLocale.daysShort[e.getDay()]+", "+this.innerLocale.monthsShort[t.month-1]+" "+t.day+_+"?"}if(0===this.daysInModel)return _;if(this.daysInModel>1)return`${this.daysInModel} ${this.innerLocale.pluralDay}`;const t=this.daysModel[0],e=this.getNativeDateFn(t);return!0===isNaN(e.valueOf())?_:void 0!==this.innerLocale.headerTitle?this.innerLocale.headerTitle(e,t):this.innerLocale.daysShort[e.getDay()]+", "+this.innerLocale.monthsShort[t.month-1]+" "+t.day},headerSubtitle(){if(void 0!==this.subtitle&&null!==this.subtitle&&this.subtitle.length>0)return this.subtitle;if(0===this.daysInModel)return _;if(this.daysInModel>1){const t=this.minSelectedModel,e=this.maxSelectedModel,i=this.innerLocale.monthsShort;return i[t.month-1]+(t.year!==e.year?" "+t.year+_+i[e.month-1]+" ":t.month!==e.month?_+i[e.month-1]:"")+" "+e.year}return this.daysModel[0].year},minSelectedModel(){const t=this.daysModel.concat(this.rangeModel.map((t=>t.from))).sort(((t,e)=>t.year-e.year||t.month-e.month));return t[0]},maxSelectedModel(){const t=this.daysModel.concat(this.rangeModel.map((t=>t.to))).sort(((t,e)=>e.year-t.year||e.month-t.month));return t[0]},dateArrow(){const t=[this.$q.iconSet.datetime.arrowLeft,this.$q.iconSet.datetime.arrowRight];return!0===this.$q.lang.rtl?t.reverse():t},computedFirstDayOfWeek(){return void 0!==this.firstDayOfWeek?Number(this.firstDayOfWeek):this.innerLocale.firstDayOfWeek},daysOfWeek(){const t=this.innerLocale.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},daysInMonth(){const t=this.viewModel;return"persian"!==this.calendar?new Date(t.year,t.month,0).getDate():Object(o["a"])(t.year,t.month)},today(){return this.__getCurrentDate()},evtColor(){return"function"===typeof this.eventColor?this.eventColor:()=>this.eventColor},minNav(){if(void 0!==this.navigationMinYearMonth){const t=this.navigationMinYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}},maxNav(){if(void 0!==this.navigationMaxYearMonth){const t=this.navigationMaxYearMonth.split("/");return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}},navBoundaries(){const t={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return void 0!==this.minNav&&this.minNav.year>=this.viewModel.year&&(t.year.prev=!1,this.minNav.year===this.viewModel.year&&this.minNav.month>=this.viewModel.month&&(t.month.prev=!1)),void 0!==this.maxNav&&this.maxNav.year<=this.viewModel.year&&(t.year.next=!1,this.maxNav.year===this.viewModel.year&&this.maxNav.month<=this.viewModel.month&&(t.month.next=!1)),t},daysMap(){const t={};return this.daysModel.forEach((e=>{const i=this.__getMonthHash(e);void 0===t[i]&&(t[i]=[]),t[i].push(e.day)})),t},rangeMap(){const t={};return this.rangeModel.forEach((e=>{const i=this.__getMonthHash(e.from),n=this.__getMonthHash(e.to);if(void 0===t[i]&&(t[i]=[]),t[i].push({from:e.from.day,to:i===n?e.to.day:void 0,range:e}),i<n){let i;const{year:r,month:o}=e.from,a=o<12?{year:r,month:o+1}:{year:r+1,month:1};while((i=this.__getMonthHash(a))<=n)void 0===t[i]&&(t[i]=[]),t[i].push({from:void 0,to:i===n?e.to.day:void 0,range:e}),a.month++,a.month>12&&(a.year++,a.month=1)}})),t},rangeView(){if(void 0===this.editRange)return;const{init:t,initHash:e,final:i,finalHash:n}=this.editRange,[r,o]=e<=n?[t,i]:[i,t],a=this.__getMonthHash(r),s=this.__getMonthHash(o);if(a!==this.viewMonthHash&&s!==this.viewMonthHash)return;const l={};return a===this.viewMonthHash?(l.from=r.day,l.includeFrom=!0):l.from=1,s===this.viewMonthHash?(l.to=o.day,l.includeTo=!0):l.to=this.daysInMonth,l},viewMonthHash(){return this.__getMonthHash(this.viewModel)},selectionDaysMap(){const t={};if(void 0===this.options){for(let e=1;e<=this.daysInMonth;e++)t[e]=!0;return t}const e="function"===typeof this.options?this.options:t=>this.options.includes(t);for(let i=1;i<=this.daysInMonth;i++){const n=this.viewMonthHash+"/"+Object(u["e"])(i);t[i]=e(n)}return t},eventDaysMap(){const t={};if(void 0===this.events)for(let e=1;e<=this.daysInMonth;e++)t[e]=!1;else{const e="function"===typeof this.events?this.events:t=>this.events.includes(t);for(let i=1;i<=this.daysInMonth;i++){const n=this.viewMonthHash+"/"+Object(u["e"])(i);t[i]=!0===e(n)&&this.evtColor(n)}}return t},viewDays(){let t,e;const{year:i,month:n}=this.viewModel;if("persian"!==this.calendar)t=new Date(i,n-1,1),e=new Date(i,n-1,0).getDate();else{const r=Object(o["b"])(i,n,1);t=new Date(r.gy,r.gm-1,r.gd);let a=n-1,s=i;0===a&&(a=12,s--),e=Object(o["a"])(s,a)}return{days:t.getDay()-this.computedFirstDayOfWeek-1,endDay:e}},days(){const t=[],{days:e,endDay:i}=this.viewDays,n=e<0?e+7:e;if(n<6)for(let a=i-n;a<=i;a++)t.push({i:a,fill:!0});const r=t.length;for(let a=1;a<=this.daysInMonth;a++){const e={i:a,event:this.eventDaysMap[a],classes:[]};!0===this.selectionDaysMap[a]&&(e.in=!0,e.flat=!0),t.push(e)}if(void 0!==this.daysMap[this.viewMonthHash]&&this.daysMap[this.viewMonthHash].forEach((e=>{const i=r+e-1;Object.assign(t[i],{selected:!0,unelevated:!0,flat:!1,color:this.computedColor,textColor:this.computedTextColor})})),void 0!==this.rangeMap[this.viewMonthHash]&&this.rangeMap[this.viewMonthHash].forEach((e=>{if(void 0!==e.from){const i=r+e.from-1,n=r+(e.to||this.daysInMonth)-1;for(let r=i;r<=n;r++)Object.assign(t[r],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor});Object.assign(t[i],{rangeFrom:!0,flat:!1}),void 0!==e.to&&Object.assign(t[n],{rangeTo:!0,flat:!1})}else if(void 0!==e.to){const i=r+e.to-1;for(let n=r;n<=i;n++)Object.assign(t[n],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor});Object.assign(t[i],{flat:!1,rangeTo:!0})}else{const i=r+this.daysInMonth-1;for(let n=r;n<=i;n++)Object.assign(t[n],{range:e.range,unelevated:!0,color:this.computedColor,textColor:this.computedTextColor})}})),void 0!==this.rangeView){const e=r+this.rangeView.from-1,i=r+this.rangeView.to-1;for(let n=e;n<=i;n++)t[n].color=this.computedColor,t[n].editRange=!0;!0===this.rangeView.includeFrom&&(t[e].editRangeFrom=!0),!0===this.rangeView.includeTo&&(t[i].editRangeTo=!0)}this.viewModel.year===this.today.year&&this.viewModel.month===this.today.month&&(t[r+this.today.day-1].today=!0);const o=t.length%7;if(o>0){const e=7-o;for(let i=1;i<=e;i++)t.push({i:i,fill:!0})}return t.forEach((t=>{let e="q-date__calendar-item ";!0===t.fill?e+="q-date__calendar-item--fill":(e+="q-date__calendar-item--"+(!0===t.in?"in":"out"),void 0!==t.range&&(e+=" q-date__range"+(!0===t.rangeTo?"-to":!0===t.rangeFrom?"-from":"")),!0===t.editRange&&(e+=` q-date__edit-range${!0===t.editRangeFrom?"-from":""}${!0===t.editRangeTo?"-to":""}`),void 0===t.range&&!0!==t.editRange||(e+=` text-${t.color}`)),t.classes=e})),t},attrs(){return!0===this.disable?{"aria-disabled":"true"}:!0===this.readonly?{"aria-readonly":"true"}:void 0}},methods:{setToday(){const t=this.today,e=this.daysMap[this.__getMonthHash(t)];void 0!==e&&!1!==e.includes(t.day)||this.__addToModel(t),this.setCalendarTo(this.today.year,this.today.month)},setView(t){!0===y(t)&&(this.view=t)},offsetCalendar(t,e){["month","year"].includes(t)&&this["__goTo"+("month"===t?"Month":"Year")](!0===e?-1:1)},setCalendarTo(t,e){this.view="Calendar",this.__updateViewModel(t,e)},setEditingRange(t,e){if(!1===this.range||!t)return void(this.editRange=void 0);const i=Object.assign({...this.viewModel},t),n=void 0!==e?Object.assign({...this.viewModel},e):i;this.editRange={init:i,initHash:this.__getDayHash(i),final:n,finalHash:this.__getDayHash(n)},this.setCalendarTo(i.year,i.month)},__getMask(){return"persian"===this.calendar?"YYYY/MM/DD":this.mask},__decodeString(t,e,i){return Object(p["a"])(t,e,i,this.calendar,{hour:0,minute:0,second:0,millisecond:0})},__getViewModel(t,e){const i=!0===Array.isArray(this.value)?this.value:this.value?[this.value]:[];if(0===i.length)return this.__getDefaultViewModel();const n=this.__decodeString(void 0!==i[0].from?i[0].from:i[0],t,e);return null===n.dateHash?this.__getDefaultViewModel():n},__getDefaultViewModel(){let t,e;if(void 0!==this.defaultYearMonth){const i=this.defaultYearMonth.split("/");t=parseInt(i[0],10),e=parseInt(i[1],10)}else{const i=void 0!==this.today?this.today:this.__getCurrentDate();t=i.year,e=i.month}return{year:t,month:e,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+"/"+Object(u["e"])(e)+"/01"}},__getHeader(t){if(!0!==this.minimal)return t("div",{staticClass:"q-date__header",class:this.headerClass},[t("div",{staticClass:"relative-position"},[t("transition",{props:{name:"q-transition--fade"}},[t("div",{key:"h-yr-"+this.headerSubtitle,staticClass:"q-date__header-subtitle q-date__header-link",class:"Years"===this.view?"q-date__header-link--active":"cursor-pointer",attrs:{tabindex:this.computedTabindex},on:Object(f["b"])(this,"vY",{click:()=>{this.view="Years"},keyup:t=>{13===t.keyCode&&(this.view="Years")}})},[this.headerSubtitle])])]),t("div",{staticClass:"q-date__header-title relative-position flex no-wrap"},[t("div",{staticClass:"relative-position col"},[t("transition",{props:{name:"q-transition--fade"}},[t("div",{key:"h-sub"+this.headerTitle,staticClass:"q-date__header-title-label q-date__header-link",class:"Calendar"===this.view?"q-date__header-link--active":"cursor-pointer",attrs:{tabindex:this.computedTabindex},on:Object(f["b"])(this,"vC",{click:()=>{this.view="Calendar"},keyup:t=>{13===t.keyCode&&(this.view="Calendar")}})},[this.headerTitle])])]),!0===this.todayBtn?t(r["a"],{staticClass:"q-date__header-today self-start",props:{icon:this.$q.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:this.computedTabindex},on:Object(f["b"])(this,"today",{click:this.setToday})}):null])])},__getNavigation(t,{label:e,view:i,key:n,dir:o,goTo:a,boundaries:s,cls:l}){return[t("div",{staticClass:"row items-center q-date__arrow"},[t(r["a"],{props:{round:!0,dense:!0,size:"sm",flat:!0,icon:this.dateArrow[0],tabindex:this.computedTabindex,disable:!1===s.prev},on:Object(f["b"])(this,"go-#"+i,{click(){a(-1)}})})]),t("div",{staticClass:"relative-position overflow-hidden flex flex-center"+l},[t("transition",{props:{name:"q-transition--jump-"+o}},[t("div",{key:n},[t(r["a"],{props:{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:this.computedTabindex},on:Object(f["b"])(this,"view#"+i,{click:()=>{this.view=i}})})])])]),t("div",{staticClass:"row items-center q-date__arrow"},[t(r["a"],{props:{round:!0,dense:!0,size:"sm",flat:!0,icon:this.dateArrow[1],tabindex:this.computedTabindex,disable:!1===s.next},on:Object(f["b"])(this,"go+#"+i,{click(){a(1)}})})])]},__getCalendarView(t){return[t("div",{key:"calendar-view",staticClass:"q-date__view q-date__calendar"},[t("div",{staticClass:"q-date__navigation row items-center no-wrap"},this.__getNavigation(t,{label:this.innerLocale.months[this.viewModel.month-1],view:"Months",key:this.viewModel.month,dir:this.monthDirection,goTo:this.__goToMonth,boundaries:this.navBoundaries.month,cls:" col"}).concat(this.__getNavigation(t,{label:this.viewModel.year,view:"Years",key:this.viewModel.year,dir:this.yearDirection,goTo:this.__goToYear,boundaries:this.navBoundaries.year,cls:""}))),t("div",{staticClass:"q-date__calendar-weekdays row items-center no-wrap"},this.daysOfWeek.map((e=>t("div",{staticClass:"q-date__calendar-item"},[t("div",[e])])))),t("div",{staticClass:"q-date__calendar-days-container relative-position overflow-hidden"},[t("transition",{props:{name:"q-transition--slide-"+this.monthDirection}},[t("div",{key:this.viewMonthHash,staticClass:"q-date__calendar-days fit"},this.days.map((e=>t("div",{staticClass:e.classes},[!0===e.in?t(r["a"],{staticClass:!0===e.today?"q-date__today":null,props:{dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:this.computedTabindex},on:Object(f["b"])(this,"day#"+e.i,{click:()=>{this.__onDayClick(e.i)},mouseover:()=>{this.__onDayMouseover(e.i)}})},!1!==e.event?[t("div",{staticClass:"q-date__event bg-"+e.event})]:null):t("div",[e.i])]))))])])])]},__getMonthsView(t){const e=this.viewModel.year===this.today.year,i=t=>void 0!==this.minNav&&this.viewModel.year===this.minNav.year&&this.minNav.month>t||void 0!==this.maxNav&&this.viewModel.year===this.maxNav.year&&this.maxNav.month<t,n=this.innerLocale.monthsShort.map(((n,o)=>{const a=this.viewModel.month===o+1;return t("div",{staticClass:"q-date__months-item flex flex-center"},[t(r["a"],{staticClass:!0===e&&this.today.month===o+1?"q-date__today":null,props:{flat:!0!==a,label:n,unelevated:a,color:!0===a?this.computedColor:null,textColor:!0===a?this.computedTextColor:null,tabindex:this.computedTabindex,disable:i(o+1)},on:Object(f["b"])(this,"month#"+o,{click:()=>{this.__setMonth(o+1)}})})])}));return!0===this.yearsInMonthView&&n.unshift(t("div",{staticClass:"row no-wrap full-width"},[this.__getNavigation(t,{label:this.viewModel.year,view:"Years",key:this.viewModel.year,dir:this.yearDirection,goTo:this.__goToYear,boundaries:this.navBoundaries.year,cls:" col"})])),t("div",{key:"months-view",staticClass:"q-date__view q-date__months flex flex-center"},n)},__getYearsView(t){const e=this.startYear,i=e+m,n=[],o=t=>void 0!==this.minNav&&this.minNav.year>t||void 0!==this.maxNav&&this.maxNav.year<t;for(let a=e;a<=i;a++){const e=this.viewModel.year===a;n.push(t("div",{staticClass:"q-date__years-item flex flex-center"},[t(r["a"],{key:"yr"+a,staticClass:this.today.year===a?"q-date__today":null,props:{flat:!e,label:a,dense:!0,unelevated:e,color:!0===e?this.computedColor:null,textColor:!0===e?this.computedTextColor:null,tabindex:this.computedTabindex,disable:o(a)},on:Object(f["b"])(this,"yr#"+a,{click:()=>{this.__setYear(a)}})})]))}return t("div",{staticClass:"q-date__view q-date__years flex flex-center"},[t("div",{staticClass:"col-auto"},[t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[0],tabindex:this.computedTabindex,disable:o(e)},on:Object(f["b"])(this,"y-",{click:()=>{this.startYear-=m}})})]),t("div",{staticClass:"q-date__years-content col self-stretch row items-center"},n),t("div",{staticClass:"col-auto"},[t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],tabindex:this.computedTabindex,disable:o(i)},on:Object(f["b"])(this,"y+",{click:()=>{this.startYear+=m}})})])])},__goToMonth(t){let e=this.viewModel.year,i=Number(this.viewModel.month)+t;13===i?(i=1,e++):0===i&&(i=12,e--),this.__updateViewModel(e,i),!0===this.isImmediate&&this.__emitImmediately("month")},__goToYear(t){const e=Number(this.viewModel.year)+t;this.__updateViewModel(e,this.viewModel.month),!0===this.isImmediate&&this.__emitImmediately("year")},__setYear(t){this.__updateViewModel(t,this.viewModel.month),this.view="Years"===this.defaultView?"Months":"Calendar",!0===this.isImmediate&&this.__emitImmediately("year")},__setMonth(t){this.__updateViewModel(this.viewModel.year,t),this.view="Calendar",!0===this.isImmediate&&this.__emitImmediately("month")},__getMonthHash(t){return t.year+"/"+Object(u["e"])(t.month)},__toggleDate(t,e){const i=this.daysMap[e],n=void 0!==i&&!0===i.includes(t.day)?this.__removeFromModel:this.__addToModel;n(t)},__getShortDate(t){return{year:t.year,month:t.month,day:t.day}},__onDayClick(t){const e={...this.viewModel,day:t};if(!1!==this.range)if(void 0===this.editRange){const i=this.days.find((e=>!0!==e.fill&&e.i===t));if(void 0!==i.range)return void this.__removeFromModel({target:e,from:i.range.from,to:i.range.to});if(!0===i.selected)return void this.__removeFromModel(e);const n=this.__getDayHash(e);this.editRange={init:e,initHash:n,final:e,finalHash:n},this.$emit("range-start",this.__getShortDate(e))}else{const t=this.editRange.initHash,i=this.__getDayHash(e),n=t<=i?{from:this.editRange.init,to:e}:{from:e,to:this.editRange.init};this.editRange=void 0,this.__addToModel(t===i?e:{target:e,...n}),this.$emit("range-end",{from:this.__getShortDate(n.from),to:this.__getShortDate(n.to)})}else this.__toggleDate(e,this.viewMonthHash)},__onDayMouseover(t){if(void 0!==this.editRange){const e={...this.viewModel,day:t};Object.assign(this.editRange,{final:e,finalHash:this.__getDayHash(e)})}},__updateViewModel(t,e){void 0!==this.minNav&&t<=this.minNav.year&&(t=this.minNav.year,e<this.minNav.month&&(e=this.minNav.month)),void 0!==this.maxNav&&t>=this.maxNav.year&&(t=this.maxNav.year,e>this.maxNav.month&&(e=this.maxNav.month));const i=t+"/"+Object(u["e"])(e)+"/01";i!==this.viewModel.dateHash&&(this.monthDirection=this.viewModel.dateHash<i===(!0!==this.$q.lang.rtl)?"left":"right",t!==this.viewModel.year&&(this.yearDirection=this.monthDirection),this.$nextTick((()=>{this.startYear=t-t%m-(t<0?m:0),Object.assign(this.viewModel,{year:t,month:e,day:1,dateHash:i})})))},__emitValue(t,e,i){const n=null!==t&&1===t.length&&!1===this.multiple?t[0]:t;this.lastEmitValue=n;const{reason:r,details:o}=this.__getEmitParams(e,i);this.$emit("input",n,r,o)},__emitImmediately(t){const e=void 0!==this.daysModel[0]&&null!==this.daysModel[0].dateHash?{...this.daysModel[0]}:{...this.viewModel};this.$nextTick((()=>{e.year=this.viewModel.year,e.month=this.viewModel.month;const i="persian"!==this.calendar?new Date(e.year,e.month,0).getDate():Object(o["a"])(e.year,e.month);e.day=Math.min(Math.max(1,e.day),i);const n=this.__encodeEntry(e);this.lastEmitValue=n;const{details:r}=this.__getEmitParams("",e);this.$emit("input",n,t,r)}))},__getEmitParams(t,e){return void 0!==e.from?{reason:`${t}-range`,details:{...this.__getShortDate(e.target),from:this.__getShortDate(e.from),to:this.__getShortDate(e.to),changed:!0}}:{reason:`${t}-day`,details:{...this.__getShortDate(e),changed:!0}}},__encodeEntry(t,e,i){return void 0!==t.from?{from:this.encodeObjectFn(t.from,e,i),to:this.encodeObjectFn(t.to,e,i)}:this.encodeObjectFn(t,e,i)},__addToModel(t){let e;if(!0===this.multiple)if(void 0!==t.from){const i=this.__getDayHash(t.from),n=this.__getDayHash(t.to),r=this.daysModel.filter((t=>t.dateHash<i||t.dateHash>n)),o=this.rangeModel.filter((({from:t,to:e})=>e.dateHash<i||t.dateHash>n));e=r.concat(o).concat(t).map((t=>this.__encodeEntry(t)))}else{const i=this.normalizedModel.slice();i.push(this.__encodeEntry(t)),e=i}else e=this.__encodeEntry(t);this.__emitValue(e,"add",t)},__removeFromModel(t){if(!0===this.noUnset)return;let e=null;if(!0===this.multiple&&!0===Array.isArray(this.value)){const i=this.__encodeEntry(t);e=void 0!==t.from?this.value.filter((t=>void 0===t.from||t.from!==i.from&&t.to!==i.to)):this.value.filter((t=>t!==i)),0===e.length&&(e=null)}this.__emitValue(e,"remove",t)},__updateValue(t,e,i){const n=this.daysModel.concat(this.rangeModel).map((i=>this.__encodeEntry(i,t,e))).filter((t=>void 0!==t.from?null!==t.from.dateHash&&null!==t.to.dateHash:null!==t.dateHash));this.$emit("input",(!0===this.multiple?n:n[0])||null,i)}},render(t){const e=[t("div",{staticClass:"q-date__content col relative-position"},[t("transition",{props:{name:"q-transition--fade"}},[this[`__get${this.view}View`](t)])])],i=Object(d["c"])(this,"default");return void 0!==i&&e.push(t("div",{staticClass:"q-date__actions"},i)),void 0!==this.name&&!0!==this.disable&&this.__injectFormInput(e,"push"),t("div",{class:this.classes,attrs:this.attrs,on:{...this.qListeners}},[this.__getHeader(t),t("div",{staticClass:"q-date__main col column",attrs:{tabindex:-1},ref:"blurTarget"},e)])}})},5319:function(t,e,i){"use strict";var n=i("2ba4"),r=i("c65b"),o=i("e330"),a=i("d784"),s=i("d039"),l=i("825a"),u=i("1626"),c=i("5926"),h=i("50c4"),d=i("577e"),p=i("1d80"),f=i("8aa5"),g=i("dc4a"),m=i("0cb2"),v=i("14c3"),y=i("b622"),b=y("replace"),_=Math.max,x=Math.min,w=o([].concat),S=o([].push),C=o("".indexOf),k=o("".slice),M=function(t){return void 0===t?t:String(t)},O=function(){return"$0"==="a".replace(/./,"$0")}(),T=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),A=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));a("replace",(function(t,e,i){var o=T?"$":"$0";return[function(t,i){var n=p(this),o=void 0==t?void 0:g(t,b);return o?r(o,t,n,i):r(e,d(n),t,i)},function(t,r){var a=l(this),s=d(t);if("string"==typeof r&&-1===C(r,o)&&-1===C(r,"$<")){var p=i(e,a,s,r);if(p.done)return p.value}var g=u(r);g||(r=d(r));var y=a.global;if(y){var b=a.unicode;a.lastIndex=0}var O=[];while(1){var T=v(a,s);if(null===T)break;if(S(O,T),!y)break;var A=d(T[0]);""===A&&(a.lastIndex=f(s,h(a.lastIndex),b))}for(var I="",P=0,E=0;E<O.length;E++){T=O[E];for(var D=d(T[0]),L=_(x(c(T.index),s.length),0),j=[],R=1;R<T.length;R++)S(j,M(T[R]));var B=T.groups;if(g){var F=w([D],j,L,s);void 0!==B&&S(F,B);var N=d(n(r,void 0,F))}else N=m(D,s,L,j,B,r);L>=P&&(I+=k(s,P,L)+N,P=L+D.length)}return I+k(s,P)}]}),!A||!O||T)},5352:function(t,e,i){"use strict";i("e260");var n=i("23e7"),r=i("da84"),o=i("c65b"),a=i("e330"),s=i("83ab"),l=i("0d3b"),u=i("cb2d"),c=i("6964"),h=i("d44e"),d=i("9ed3"),p=i("69f3"),f=i("19aa"),g=i("1626"),m=i("1a2d"),v=i("0366"),y=i("f5df"),b=i("825a"),_=i("861d"),x=i("577e"),w=i("7c73"),S=i("5c6c"),C=i("9a1f"),k=i("35a1"),M=i("d6d6"),O=i("b622"),T=i("addb"),A=O("iterator"),I="URLSearchParams",P=I+"Iterator",E=p.set,D=p.getterFor(I),L=p.getterFor(P),j=Object.getOwnPropertyDescriptor,R=function(t){if(!s)return r[t];var e=j(r,t);return e&&e.value},B=R("fetch"),F=R("Request"),N=R("Headers"),z=F&&F.prototype,V=N&&N.prototype,q=r.RegExp,$=r.TypeError,H=r.decodeURIComponent,G=r.encodeURIComponent,W=a("".charAt),U=a([].join),Y=a([].push),X=a("".replace),K=a([].shift),Z=a([].splice),Q=a("".split),J=a("".slice),tt=/\+/g,et=Array(4),it=function(t){return et[t-1]||(et[t-1]=q("((?:%[\\da-f]{2}){"+t+"})","gi"))},nt=function(t){try{return H(t)}catch(e){return t}},rt=function(t){var e=X(t,tt," "),i=4;try{return H(e)}catch(n){while(i)e=X(e,it(i--),nt);return e}},ot=/[!'()~]|%20/g,at={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return at[t]},lt=function(t){return X(G(t),ot,st)},ut=d((function(t,e){E(this,{type:P,iterator:C(D(t).entries),kind:e})}),"Iterator",(function(){var t=L(this),e=t.kind,i=t.iterator.next(),n=i.value;return i.done||(i.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),i}),!0),ct=function(t){this.entries=[],this.url=null,void 0!==t&&(_(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===W(t,0)?J(t,1):t:x(t)))};ct.prototype={type:I,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,i,n,r,a,s,l,u=k(t);if(u){e=C(t,u),i=e.next;while(!(n=o(i,e)).done){if(r=C(b(n.value)),a=r.next,(s=o(a,r)).done||(l=o(a,r)).done||!o(a,r).done)throw $("Expected sequence with length 2");Y(this.entries,{key:x(s.value),value:x(l.value)})}}else for(var c in t)m(t,c)&&Y(this.entries,{key:c,value:x(t[c])})},parseQuery:function(t){if(t){var e,i,n=Q(t,"&"),r=0;while(r<n.length)e=n[r++],e.length&&(i=Q(e,"="),Y(this.entries,{key:rt(K(i)),value:rt(U(i,"="))}))}},serialize:function(){var t,e=this.entries,i=[],n=0;while(n<e.length)t=e[n++],Y(i,lt(t.key)+"="+lt(t.value));return U(i,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ht=function(){f(this,dt);var t=arguments.length>0?arguments[0]:void 0;E(this,new ct(t))},dt=ht.prototype;if(c(dt,{append:function(t,e){M(arguments.length,2);var i=D(this);Y(i.entries,{key:x(t),value:x(e)}),i.updateURL()},delete:function(t){M(arguments.length,1);var e=D(this),i=e.entries,n=x(t),r=0;while(r<i.length)i[r].key===n?Z(i,r,1):r++;e.updateURL()},get:function(t){M(arguments.length,1);for(var e=D(this).entries,i=x(t),n=0;n<e.length;n++)if(e[n].key===i)return e[n].value;return null},getAll:function(t){M(arguments.length,1);for(var e=D(this).entries,i=x(t),n=[],r=0;r<e.length;r++)e[r].key===i&&Y(n,e[r].value);return n},has:function(t){M(arguments.length,1);var e=D(this).entries,i=x(t),n=0;while(n<e.length)if(e[n++].key===i)return!0;return!1},set:function(t,e){M(arguments.length,1);for(var i,n=D(this),r=n.entries,o=!1,a=x(t),s=x(e),l=0;l<r.length;l++)i=r[l],i.key===a&&(o?Z(r,l--,1):(o=!0,i.value=s));o||Y(r,{key:a,value:s}),n.updateURL()},sort:function(){var t=D(this);T(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){var e,i=D(this).entries,n=v(t,arguments.length>1?arguments[1]:void 0),r=0;while(r<i.length)e=i[r++],n(e.value,e.key,this)},keys:function(){return new ut(this,"keys")},values:function(){return new ut(this,"values")},entries:function(){return new ut(this,"entries")}},{enumerable:!0}),u(dt,A,dt.entries,{name:"entries"}),u(dt,"toString",(function(){return D(this).serialize()}),{enumerable:!0}),h(ht,I),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:ht}),!l&&g(N)){var pt=a(V.has),ft=a(V.set),gt=function(t){if(_(t)){var e,i=t.body;if(y(i)===I)return e=t.headers?new N(t.headers):new N,pt(e,"content-type")||ft(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(t,{body:S(0,x(i)),headers:S(0,e)})}return t};if(g(B)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return B(t,arguments.length>1?gt(arguments[1]):{})}}),g(F)){var mt=function(t){return f(this,z),new F(t,arguments.length>1?gt(arguments[1]):{})};z.constructor=mt,mt.prototype=z,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:mt})}}t.exports={URLSearchParams:ht,getState:D}},5377:function(t,e,i){var n=i("da84"),r=i("83ab"),o=i("edd0"),a=i("ad6d"),s=i("d039"),l=n.RegExp,u=l.prototype,c=r&&s((function(){var t=!0;try{l(".","d")}catch(c){t=!1}var e={},i="",n=t?"dgimsy":"gimsy",r=function(t,n){Object.defineProperty(e,t,{get:function(){return i+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(o.hasIndices="d"),o)r(a,o[a]);var s=Object.getOwnPropertyDescriptor(u,"flags").get.call(e);return s!==n||i!==n}));c&&o(u,"flags",{configurable:!0,get:a})},5692:function(t,e,i){var n=i("c430"),r=i("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,i){var n=i("d066"),r=i("e330"),o=i("241c"),a=i("7418"),s=i("825a"),l=r([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),i=a.f;return i?l(e,i(t)):e}},5726:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("c243"),r=function(t,e,i){var r=t.split("").map((function(t,i){return n.BINARIES[e[i]]})).map((function(e,i){return e?e[t[i]]:""}));if(i){var o=t.length-1;r=r.map((function(t,e){return e<o?t+i:t}))}return r.join("")};e.default=r},"577e":function(t,e,i){var n=i("f5df"),r=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},"577e4":function(t,e){function i(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}i.prototype.set=function(t,e,i,n){const r=t*this.size+e;this.data[r]=i,n&&(this.reservedBit[r]=!0)},i.prototype.get=function(t,e){return this.data[t*this.size+e]},i.prototype.xor=function(t,e,i){this.data[t*this.size+e]^=i},i.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=i},"57b0":function(t,e,i){"use strict";i("caad");var n=i("87e8");const r=["top","right","bottom","left"];e["a"]={mixins:[n["a"]],props:{type:{type:String,default:"a"},outline:Boolean,push:Boolean,flat:Boolean,unelevated:Boolean,color:String,textColor:String,glossy:Boolean,square:Boolean,padding:String,label:{type:[String,Number],default:""},labelPosition:{type:String,default:"right",validator:t=>r.includes(t)},externalLabel:Boolean,hideLabel:{type:Boolean},labelClass:[Array,String,Object],labelStyle:[Array,String,Object],disable:Boolean,tabindex:[Number,String]},computed:{formClass(){return"q-fab--form-"+(!0===this.square?"square":"rounded")},stacked(){return!1===this.externalLabel&&["top","bottom"].includes(this.labelPosition)},labelProps(){if(!0===this.externalLabel){const t=null===this.hideLabel?!1===this.showing:this.hideLabel;return{action:"push",data:{staticClass:`q-fab__label q-tooltip--style q-fab__label--external q-fab__label--external-${this.labelPosition}`+(!0===t?" q-fab__label--external-hidden":""),style:this.labelStyle,class:this.labelClass}}}return{action:["left","top"].includes(this.labelPosition)?"unshift":"push",data:{staticClass:`q-fab__label q-fab__label--internal q-fab__label--internal-${this.labelPosition}`+(!0===this.hideLabel?" q-fab__label--internal-hidden":""),style:this.labelStyle,class:this.labelClass}}}}}},"582c":function(t,e,i){"use strict";i("ddb0"),i("caad");var n=i("0967"),r=i("d882");const o=()=>!0;function a(t){return"string"===typeof t&&""!==t&&"/"!==t&&"#/"!==t}function s(t){return!0===t.startsWith("#")&&(t=t.substr(1)),!1===t.startsWith("/")&&(t="/"+t),!0===t.endsWith("/")&&(t=t.substr(0,t.length-1)),"#"+t}function l(t){if(!1===t.backButtonExit)return()=>!1;if("*"===t.backButtonExit)return o;const e=["#/"];return!0===Array.isArray(t.backButtonExit)&&e.push(...t.backButtonExit.filter(a).map(s)),()=>e.includes(window.location.hash)}e["a"]={__history:[],add:r["g"],remove:r["g"],install(t){if(!0===n["e"])return;const{cordova:e,capacitor:i}=n["a"].is;if(!0!==e&&!0!==i)return;const r=t[!0===e?"cordova":"capacitor"];if(void 0!==r&&!1===r.backButton)return;if(!0===i&&(void 0===window.Capacitor||void 0===window.Capacitor.Plugins.App))return;this.add=t=>{void 0===t.condition&&(t.condition=o),this.__history.push(t)},this.remove=t=>{const e=this.__history.indexOf(t);e>=0&&this.__history.splice(e,1)};const a=l(Object.assign({backButtonExit:!0},r)),s=()=>{if(this.__history.length){const t=this.__history[this.__history.length-1];!0===t.condition()&&(this.__history.pop(),t.handler())}else!0===a()?navigator.app.exitApp():window.history.back()};!0===e?document.addEventListener("deviceready",(()=>{document.addEventListener("backbutton",s,!1)})):window.Capacitor.Plugins.App.addListener("backButton",s)}}},"583f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("c243"),o=i("5726"),a=u(o),s=i("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){var e=t.split("").map((function(t){return+t})).reduce((function(t,e,i){return i%2?t+9*e:t+3*e}),0);return e%10},f=function(t){function e(t,i){return c(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return d(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t=r.EAN5_STRUCTURE[p(this.data)];return{data:"1011"+(0,a.default)(this.data,t,"01"),text:this.text}}}]),e}(l.default);e.default=f},"58a8":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QBadge",mixins:[r["a"]],props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:t=>["top","middle","bottom"].includes(t)}},computed:{style(){if(void 0!==this.align)return{verticalAlign:this.align}},classes(){const t=!0===this.outline&&this.color||this.textColor;return`q-badge flex inline items-center no-wrap q-badge--${!0===this.multiLine?"multi":"single"}-line`+(!0===this.outline?" q-badge--outline":void 0!==this.color?` bg-${this.color}`:"")+(void 0!==t?` text-${t}`:"")+(!0===this.floating?" q-badge--floating":"")+(!0===this.rounded?" q-badge--rounded":"")+(!0===this.transparent?" q-badge--transparent":"")},attrs(){return{role:"alert","aria-label":this.label}}},render(t){return t("div",{style:this.style,class:this.classes,attrs:this.attrs,on:{...this.qListeners}},void 0!==this.label?[this.label]:Object(o["c"])(this,"default"))}})},"58b4":function(t,e,i){"use strict";t.exports=function(t){for(var e=[],i=t.length,n=0;n<i;n++){var r=t.charCodeAt(n);if(r>=55296&&r<=56319&&i>n+1){var o=t.charCodeAt(n+1);o>=56320&&o<=57343&&(r=1024*(r-55296)+o-56320+65536,n+=1)}r<128?e.push(r):r<2048?(e.push(r>>6|192),e.push(63&r|128)):r<55296||r>=57344&&r<65536?(e.push(r>>12|224),e.push(r>>6&63|128),e.push(63&r|128)):r>=65536&&r<=1114111?(e.push(r>>18|240),e.push(r>>12&63|128),e.push(r>>6&63|128),e.push(63&r|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},"58e5":function(t,e,i){"use strict";var n=i("582c");e["a"]={methods:{__addHistory(){this.__historyEntry={condition:()=>!0===this.hideOnRouteChange,handler:this.hide},n["a"].add(this.__historyEntry)},__removeHistory(){void 0!==this.__historyEntry&&(n["a"].remove(this.__historyEntry),this.__historyEntry=void 0)}},beforeDestroy(){!0===this.showing&&this.__removeHistory()}}},5926:function(t,e,i){var n=i("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"59ed":function(t,e,i){var n=i("1626"),r=i("0d51"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(r(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cc6":function(t,e,i){var n=i("74e8");n("Uint8",(function(t){return function(e,i,n){return t(this,e,i,n)}}))},"5e77":function(t,e,i){var n=i("83ab"),r=i("1a2d"),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"5f02":function(t,e,i){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},"5fb2":function(t,e,i){"use strict";var n=i("e330"),r=2147483647,o=36,a=1,s=26,l=38,u=700,c=72,h=128,d="-",p=/[^\0-\u007E]/,f=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",m=o-a,v=RangeError,y=n(f.exec),b=Math.floor,_=String.fromCharCode,x=n("".charCodeAt),w=n([].join),S=n([].push),C=n("".replace),k=n("".split),M=n("".toLowerCase),O=function(t){var e=[],i=0,n=t.length;while(i<n){var r=x(t,i++);if(r>=55296&&r<=56319&&i<n){var o=x(t,i++);56320==(64512&o)?S(e,((1023&r)<<10)+(1023&o)+65536):(S(e,r),i--)}else S(e,r)}return e},T=function(t){return t+22+75*(t<26)},A=function(t,e,i){var n=0;t=i?b(t/u):t>>1,t+=b(t/e);while(t>m*s>>1)t=b(t/m),n+=o;return b(n+(m+1)*t/(t+l))},I=function(t){var e=[];t=O(t);var i,n,l=t.length,u=h,p=0,f=c;for(i=0;i<t.length;i++)n=t[i],n<128&&S(e,_(n));var m=e.length,y=m;m&&S(e,d);while(y<l){var x=r;for(i=0;i<t.length;i++)n=t[i],n>=u&&n<x&&(x=n);var C=y+1;if(x-u>b((r-p)/C))throw v(g);for(p+=(x-u)*C,u=x,i=0;i<t.length;i++){if(n=t[i],n<u&&++p>r)throw v(g);if(n==u){var k=p,M=o;while(1){var I=M<=f?a:M>=f+s?s:M-f;if(k<I)break;var P=k-I,E=o-I;S(e,_(T(I+P%E))),k=b(P/E),M+=o}S(e,_(T(k))),f=A(p,C,y==m),p=0,y++}}p++,u++}return w(e,"")};t.exports=function(t){var e,i,n=[],r=k(C(M(t),f,"."),".");for(e=0;e<r.length;e++)i=r[e],S(n,y(p,i)?"xn--"+I(i):i);return w(n,".")}},"5ff7":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"d",(function(){return s})),i.d(e,"a",(function(){return l})),i.d(e,"e",(function(){return u})),i.d(e,"c",(function(){return c}));i("ddb0"),i("5377");const n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer;function a(t,e){if(t===e)return!0;if(null!==t&&null!==e&&"object"===typeof t&&"object"===typeof e){if(t.constructor!==e.constructor)return!1;let i,s;if(t.constructor===Array){if(i=t.length,i!==e.length)return!1;for(s=i;0!==s--;)if(!0!==a(t[s],e[s]))return!1;return!0}if(!0===n&&t.constructor===Map){if(t.size!==e.size)return!1;s=t.entries().next();while(!0!==s.done){if(!0!==e.has(s.value[0]))return!1;s=s.next()}s=t.entries().next();while(!0!==s.done){if(!0!==a(s.value[1],e.get(s.value[0])))return!1;s=s.next()}return!0}if(!0===r&&t.constructor===Set){if(t.size!==e.size)return!1;s=t.entries().next();while(!0!==s.done){if(!0!==e.has(s.value[0]))return!1;s=s.next()}return!0}if(!0===o&&null!=t.buffer&&t.buffer.constructor===ArrayBuffer){if(i=t.length,i!==e.length)return!1;for(s=i;0!==s--;)if(t[s]!==e[s])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();const l=Object.keys(t).filter((e=>void 0!==t[e]));if(i=l.length,i!==Object.keys(e).filter((t=>void 0!==e[t])).length)return!1;for(s=i;0!==s--;){const i=l[s];if(!0!==a(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function s(t){return null!==t&&"object"===typeof t&&!0!==Array.isArray(t)}function l(t){return"[object Date]"===Object.prototype.toString.call(t)}function u(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function c(t){return"number"===typeof t&&isFinite(t)}},"60da":function(t,e,i){"use strict";var n=i("83ab"),r=i("e330"),o=i("c65b"),a=i("d039"),s=i("df75"),l=i("7418"),u=i("d1e7"),c=i("7b0b"),h=i("44ad"),d=Object.assign,p=Object.defineProperty,f=r([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},i=Symbol(),r="abcdefghijklmnopqrst";return t[i]=7,r.split("").forEach((function(t){e[t]=t})),7!=d({},t)[i]||s(d({},e)).join("")!=r}))?function(t,e){var i=c(t),r=arguments.length,a=1,d=l.f,p=u.f;while(r>a){var g,m=h(arguments[a++]),v=d?f(s(m),d(m)):s(m),y=v.length,b=0;while(y>b)g=v[b++],n&&!o(p,m,g)||(i[g]=m[g])}return i}:d},"621a":function(t,e,i){"use strict";var n=i("da84"),r=i("e330"),o=i("83ab"),a=i("a981"),s=i("5e77"),l=i("9112"),u=i("6964"),c=i("d039"),h=i("19aa"),d=i("5926"),p=i("50c4"),f=i("0b25"),g=i("77a7"),m=i("e163"),v=i("d2bb"),y=i("241c").f,b=i("9bf2").f,_=i("81d5"),x=i("4dae"),w=i("d44e"),S=i("69f3"),C=s.PROPER,k=s.CONFIGURABLE,M=S.get,O=S.set,T="ArrayBuffer",A="DataView",I="prototype",P="Wrong length",E="Wrong index",D=n[T],L=D,j=L&&L[I],R=n[A],B=R&&R[I],F=Object.prototype,N=n.Array,z=n.RangeError,V=r(_),q=r([].reverse),$=g.pack,H=g.unpack,G=function(t){return[255&t]},W=function(t){return[255&t,t>>8&255]},U=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Y=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},X=function(t){return $(t,23,4)},K=function(t){return $(t,52,8)},Z=function(t,e){b(t[I],e,{get:function(){return M(this)[e]}})},Q=function(t,e,i,n){var r=f(i),o=M(t);if(r+e>o.byteLength)throw z(E);var a=M(o.buffer).bytes,s=r+o.byteOffset,l=x(a,s,s+e);return n?l:q(l)},J=function(t,e,i,n,r,o){var a=f(i),s=M(t);if(a+e>s.byteLength)throw z(E);for(var l=M(s.buffer).bytes,u=a+s.byteOffset,c=n(+r),h=0;h<e;h++)l[u+h]=c[o?h:e-h-1]};if(a){var tt=C&&D.name!==T;if(c((function(){D(1)}))&&c((function(){new D(-1)}))&&!c((function(){return new D,new D(1.5),new D(NaN),tt&&!k})))tt&&k&&l(D,"name",T);else{L=function(t){return h(this,j),new D(f(t))},L[I]=j;for(var et,it=y(D),nt=0;it.length>nt;)(et=it[nt++])in L||l(L,et,D[et]);j.constructor=L}v&&m(B)!==F&&v(B,F);var rt=new R(new L(2)),ot=r(B.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||u(B,{setInt8:function(t,e){ot(this,t,e<<24>>24)},setUint8:function(t,e){ot(this,t,e<<24>>24)}},{unsafe:!0})}else L=function(t){h(this,j);var e=f(t);O(this,{bytes:V(N(e),0),byteLength:e}),o||(this.byteLength=e)},j=L[I],R=function(t,e,i){h(this,B),h(t,j);var n=M(t).byteLength,r=d(e);if(r<0||r>n)throw z("Wrong offset");if(i=void 0===i?n-r:p(i),r+i>n)throw z(P);O(this,{buffer:t,byteLength:i,byteOffset:r}),o||(this.buffer=t,this.byteLength=i,this.byteOffset=r)},B=R[I],o&&(Z(L,"byteLength"),Z(R,"buffer"),Z(R,"byteLength"),Z(R,"byteOffset")),u(B,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return Y(Q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return Y(Q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(Q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(Q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){J(this,1,t,G,e)},setUint8:function(t,e){J(this,1,t,G,e)},setInt16:function(t,e){J(this,2,t,W,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){J(this,2,t,W,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){J(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){J(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){J(this,4,t,X,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){J(this,8,t,K,e,arguments.length>2?arguments[2]:void 0)}});w(L,T),w(R,A),t.exports={ArrayBuffer:L,DataView:R}},"62c5":function(t,e,i){"use strict";var n=i("ff84"),r=_(n),o=i("fd7c"),a=_(o),s=i("a2b0"),l=_(s),u=i("79f1"),c=_(u),h=i("b1d8"),d=_(h),p=i("5261"),f=_(p),g=i("bd8a"),m=_(g),v=i("dca2"),y=i("ca32"),b=_(y);function _(t){return t&&t.__esModule?t:{default:t}}var x=function(){},w=function(t,e,i){var n=new x;if("undefined"===typeof t)throw Error("No element to render on was provided.");return n._renderProperties=(0,d.default)(t),n._encodings=[],n._options=b.default,n._errorHandler=new m.default(n),"undefined"!==typeof e&&(i=i||{},i.format||(i.format=M()),n.options(i)[i.format](e,i).render()),n};for(var S in w.getModule=function(t){return r.default[t]},r.default)r.default.hasOwnProperty(S)&&C(r.default,S);function C(t,e){x.prototype[e]=x.prototype[e.toUpperCase()]=x.prototype[e.toLowerCase()]=function(i,n){var r=this;return r._errorHandler.wrapBarcodeCall((function(){n.text="undefined"===typeof n.text?void 0:""+n.text;var o=(0,a.default)(r._options,n);o=(0,f.default)(o);var s=t[e],l=k(i,s,o);return r._encodings.push(l),r}))}}function k(t,e,i){t=""+t;var n=new e(t,i);if(!n.valid())throw new v.InvalidInputException(n.constructor.name,t);var r=n.encode();r=(0,l.default)(r);for(var o=0;o<r.length;o++)r[o].options=(0,a.default)(i,r[o].options);return r}function M(){return r.default["CODE128"]?"CODE128":Object.keys(r.default)[0]}function O(t,e,i){e=(0,l.default)(e);for(var n=0;n<e.length;n++)e[n].options=(0,a.default)(i,e[n].options),(0,c.default)(e[n].options);(0,c.default)(i);var r=t.renderer,o=new r(t.element,e,i);o.render(),t.afterRender&&t.afterRender()}x.prototype.options=function(t){return this._options=(0,a.default)(this._options,t),this},x.prototype.blank=function(t){var e=new Array(t+1).join("0");return this._encodings.push({data:e}),this},x.prototype.init=function(){var t;if(this._renderProperties)for(var e in Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]),this._renderProperties){t=this._renderProperties[e];var i=(0,a.default)(this._options,t.options);"auto"==i.format&&(i.format=M()),this._errorHandler.wrapBarcodeCall((function(){var e=i.value,n=r.default[i.format.toUpperCase()],o=k(e,n,i);O(t,o,i)}))}},x.prototype.render=function(){if(!this._renderProperties)throw new v.NoElementException;if(Array.isArray(this._renderProperties))for(var t=0;t<this._renderProperties.length;t++)O(this._renderProperties[t],this._encodings,this._options);else O(this._renderProperties,this._encodings,this._options);return this},x.prototype._defaults=b.default,"undefined"!==typeof window&&(window.JsBarcode=w),"undefined"!==typeof jQuery&&(jQuery.fn.JsBarcode=function(t,e){var i=[];return jQuery(this).each((function(){i.push(this)})),w(i,t,e)}),t.exports=w},6374:function(t,e,i){var n=i("da84"),r=Object.defineProperty;t.exports=function(t,e){try{r(n,t,{value:e,configurable:!0,writable:!0})}catch(i){n[t]=e}return e}},6547:function(t,e,i){var n=i("e330"),r=i("5926"),o=i("577e"),a=i("1d80"),s=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(t){return function(e,i){var n,c,h=o(a(e)),d=r(i),p=h.length;return d<0||d>=p?t?"":void 0:(n=l(h,d),n<55296||n>56319||d+1===p||(c=l(h,d+1))<56320||c>57343?t?s(h,d):n:t?u(h,d,d+2):c-56320+(n-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},"65c6":function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QToolbar",mixins:[r["a"]],props:{inset:Boolean},render(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center",class:this.inset?"q-toolbar--inset":null,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"65f0":function(t,e,i){var n=i("0b42");t.exports=function(t,e){return new(n(t))(0===e?0:e)}},6642:function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return r}));const n={xs:18,sm:24,md:32,lg:38,xl:46};function r(t){return{props:{size:String},computed:{sizeStyle(){if(void 0!==this.size)return{fontSize:this.size in t?`${t[this.size]}px`:this.size}}}}}e["a"]=r(n)},"66e5":function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("e2fa"),a=i("8716"),s=i("87e8"),l=i("dde5"),u=i("d882"),c=i("d728");e["a"]=n["a"].extend({name:"QItem",mixins:[r["a"],a["a"],o["a"],s["a"]],props:{active:Boolean,clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},computed:{isActionable(){return!0===this.clickable||!0===this.hasLink||"label"===this.tag},isClickable(){return!0!==this.disable&&!0===this.isActionable},classes(){return{"q-item--clickable q-link cursor-pointer":this.isClickable,"q-focusable q-hoverable":!0===this.isClickable&&!1===this.manualFocus,"q-manual-focusable":!0===this.isClickable&&!0===this.manualFocus,"q-manual-focusable--focused":!0===this.isClickable&&!0===this.focused,"q-item--dense":this.dense,"q-item--dark":this.isDark,"q-item--active":this.active,[this.activeClass]:!0===this.active&&!0!==this.hasRouterLink&&void 0!==this.activeClass,disabled:this.disable}},style(){if(void 0!==this.insetLevel){const t=!0===this.$q.lang.rtl?"Right":"Left";return{["padding"+t]:16+56*this.insetLevel+"px"}}},onEvents(){return{...this.qListeners,click:this.__onClick,keyup:this.__onKeyup}}},methods:{__getContent(t){const e=Object(l["d"])(this,"default",[]);return!0===this.isClickable&&e.unshift(t("div",{staticClass:"q-focus-helper",attrs:{tabindex:-1},ref:"blurTarget"})),e},__onClick(t){!0===this.isClickable&&(void 0!==this.$refs.blurTarget&&(!0!==t.qKeyEvent&&document.activeElement===this.$el?this.$refs.blurTarget.focus():document.activeElement===this.$refs.blurTarget&&this.$el.focus()),this.$emit("click",t))},__onKeyup(t){if(!0===this.isClickable&&!0===Object(c["a"])(t,13)){Object(u["l"])(t),t.qKeyEvent=!0;const e=new MouseEvent("click",t);e.qKeyEvent=!0,this.$el.dispatchEvent(e)}this.$emit("keyup",t)}},render(t){const e={staticClass:"q-item q-item-type row no-wrap",class:this.classes,style:this.style,attrs:{},[!0===this.hasRouterLink?"nativeOn":"on"]:this.onEvents};return!0===this.isClickable?e.attrs.tabindex=this.tabindex||"0":!0===this.isActionable&&(e.attrs["aria-disabled"]="true"),!0===this.hasLink&&(e.props=this.linkProps.props,Object.assign(e.attrs,this.linkProps.attrs)),t(this.linkTag,e,this.__getContent(t))}})},"67dd":function(t,e){t.exports=function(){return"function"===typeof Promise&&Promise.prototype&&Promise.prototype.then}},"685b":function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return l}));var n=i("d882"),r=i("5ff7");function o(t){return!0===Object(r["a"])(t)?"__q_date|"+t.toUTCString():!0===Object(r["e"])(t)?"__q_expr|"+t.source:"number"===typeof t?"__q_numb|"+t:"boolean"===typeof t?"__q_bool|"+(t?"1":"0"):"string"===typeof t?"__q_strn|"+t:"function"===typeof t?"__q_strn|"+t.toString():t===Object(t)?"__q_objt|"+JSON.stringify(t):t}function a(t){const e=t.length;if(e<9)return t;const i=t.substr(0,8),n=t.substring(9);switch(i){case"__q_date":return new Date(n);case"__q_expr":return new RegExp(n);case"__q_numb":return Number(n);case"__q_bool":return Boolean("1"===n);case"__q_strn":return""+n;case"__q_objt":return JSON.parse(n);default:return t}}function s(){const t=()=>null;return{has:()=>!1,getLength:()=>0,getItem:t,getIndex:t,getKey:t,getAll:()=>{},getAllKeys:()=>[],set:n["g"],remove:n["g"],clear:n["g"],isEmpty:()=>!0}}function l(t){const e=window[t+"Storage"],i=t=>{const i=e.getItem(t);return i?a(i):null};return{has:t=>null!==e.getItem(t),getLength:()=>e.length,getItem:i,getIndex:t=>t<e.length?i(e.key(t)):null,getKey:t=>t<e.length?e.key(t):null,getAll:()=>{let t;const n={},r=e.length;for(let o=0;o<r;o++)t=e.key(o),n[t]=i(t);return n},getAllKeys:()=>{const t=[],i=e.length;for(let n=0;n<i;n++)t.push(e.key(n));return t},set:(t,i)=>{e.setItem(t,o(i))},remove:t=>{e.removeItem(t)},clear:()=>{e.clear()},isEmpty:()=>0===e.length}}},"68ee":function(t,e,i){var n=i("e330"),r=i("d039"),o=i("1626"),a=i("f5df"),s=i("d066"),l=i("8925"),u=function(){},c=[],h=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),f=!d.exec(u),g=function(t){if(!o(t))return!1;try{return h(u,c,t),!0}catch(e){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!p(d,l(t))}catch(e){return!0}};m.sham=!0,t.exports=!h||r((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?m:g},6900:function(t,e,i){"use strict";e["a"]={props:{ratio:[String,Number]},computed:{ratioStyle(){const t=this.ratio||this.naturalRatio;if(void 0!==t)return{paddingBottom:100/t+"%"}}}}},6964:function(t,e,i){var n=i("cb2d");t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},"699e":function(t,e){const i=new Uint8Array(512),n=new Uint8Array(256);(function(){let t=1;for(let e=0;e<255;e++)i[e]=t,n[t]=e,t<<=1,256&t&&(t^=285);for(let e=255;e<512;e++)i[e]=i[e-255]})(),e.log=function(t){if(t<1)throw new Error("log("+t+")");return n[t]},e.exp=function(t){return i[t]},e.mul=function(t,e){return 0===t||0===e?0:i[n[t]+n[e]]}},"69f3":function(t,e,i){var n,r,o,a=i("7f9a"),s=i("da84"),l=i("e330"),u=i("861d"),c=i("9112"),h=i("1a2d"),d=i("c6cd"),p=i("f772"),f=i("d012"),g="Object already initialized",m=s.TypeError,v=s.WeakMap,y=function(t){return o(t)?r(t):n(t,{})},b=function(t){return function(e){var i;if(!u(e)||(i=r(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return i}};if(a||d.state){var _=d.state||(d.state=new v),x=l(_.get),w=l(_.has),S=l(_.set);n=function(t,e){if(w(_,t))throw new m(g);return e.facade=t,S(_,t,e),e},r=function(t){return x(_,t)||{}},o=function(t){return w(_,t)}}else{var C=p("state");f[C]=!0,n=function(t,e){if(h(t,C))throw new m(g);return e.facade=t,c(t,C,e),e},r=function(t){return h(t,C)?t[C]:{}},o=function(t){return h(t,C)}}t.exports={set:n,get:r,has:o,enforce:y,getterFor:b}},"6a67":function(t,e,i){"use strict";var n=i("2b0e"),r=i("9c40"),o=i("e7a9"),a=i("87e8"),s=i("f89c"),l=i("3d69"),u=i("dde5");e["a"]=n["a"].extend({name:"QBtnToggle",mixins:[a["a"],l["a"],s["b"]],props:{value:{required:!0},options:{type:Array,required:!0,validator:t=>t.every((t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t))},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean},computed:{hasActiveValue(){return void 0!==this.options.find((t=>t.value===this.value))},formAttrs(){return{type:"hidden",name:this.name,value:this.value}},btnOptions(){const t=(t,e)=>void 0===t[e]?this[e]:t[e];return this.options.map(((e,i)=>({slot:e.slot,options:{key:i,class:e.class,style:e.style,on:{...this.qListeners,click:t=>this.__set(e.value,e,t)},attrs:{"aria-pressed":e.value===this.value?"true":"false",...e.attrs},props:{...e,slot:void 0,class:void 0,style:void 0,value:void 0,attrs:void 0,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,unelevated:this.unelevated,dense:this.dense,disable:!0===this.disable||!0===e.disable,color:e.value===this.value?t(e,"toggleColor"):t(e,"color"),textColor:e.value===this.value?t(e,"toggleTextColor"):t(e,"textColor"),noCaps:!0===t(e,"noCaps"),noWrap:!0===t(e,"noWrap"),size:t(e,"size"),padding:t(e,"padding"),ripple:t(e,"ripple"),stack:!0===t(e,"stack"),stretch:!0===t(e,"stretch")}}})))}},methods:{__set(t,e,i){!0!==this.readonly&&(this.value===t?!0===this.clearable&&(this.$emit("input",null,null),this.$emit("clear")):this.$emit("input",t,e),this.$emit("click",i))}},render(t){const e=this.btnOptions.map((e=>t(r["a"],{...e.options},void 0!==e.slot?Object(u["c"])(this,e.slot):void 0)));return void 0!==this.name&&!0!==this.disable&&!0===this.hasActiveValue&&this.__injectFormInput(e,"push"),t(o["a"],{staticClass:"q-btn-toggle",props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,stretch:this.stretch,unelevated:this.unelevated,glossy:this.glossy,spread:this.spread}},Object(u["a"])(e,this,"default"))}})},"6ac0":function(t,e,i){"use strict";var n=i("2b0e"),r=i("6900"),o=i("87e8");e["a"]=n["a"].extend({name:"QVideo",mixins:[r["a"],o["a"]],props:{src:{type:String,required:!0},title:String,fetchpriority:{type:String,default:"auto"},loading:{type:String,default:"eager"},referrerpolicy:{type:String,default:"strict-origin-when-cross-origin"}},computed:{iframeData(){return{attrs:{src:this.src,frameborder:"0",title:this.title,allowfullscreen:!0,fetchpriority:this.fetchpriority,loading:this.loading,referrerpolicy:this.referrerpolicy}}},classes(){return"q-video"+(void 0!==this.ratio?" q-video--responsive":"")}},render(t){return t("div",{class:this.classes,style:this.ratioStyle,on:{...this.qListeners}},[t("iframe",this.iframeData)])}})},"6ac5":function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QToolbarTitle",mixins:[r["a"]],props:{shrink:Boolean},computed:{classes(){return"q-toolbar__title ellipsis"+(!0===this.shrink?" col-shrink":"")}},render(t){return t("div",{class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"6d8b":function(t,e,i){"use strict";i.d(e,"p",(function(){return m})),i.d(e,"G",(function(){return v})),i.d(e,"d",(function(){return y})),i.d(e,"I",(function(){return b})),i.d(e,"J",(function(){return _})),i.d(e,"m",(function(){return x})),i.d(e,"i",(function(){return w})),i.d(e,"r",(function(){return S})),i.d(e,"s",(function(){return C})),i.d(e,"K",(function(){return k})),i.d(e,"u",(function(){return M})),i.d(e,"k",(function(){return O})),i.d(e,"H",(function(){return T})),i.d(e,"N",(function(){return A})),i.d(e,"n",(function(){return I})),i.d(e,"o",(function(){return P})),i.d(e,"F",(function(){return E})),i.d(e,"c",(function(){return L})),i.d(e,"h",(function(){return j})),i.d(e,"t",(function(){return R})),i.d(e,"w",(function(){return B})),i.d(e,"C",(function(){return F})),i.d(e,"D",(function(){return N})),i.d(e,"z",(function(){return z})),i.d(e,"A",(function(){return V})),i.d(e,"E",(function(){return $})),i.d(e,"v",(function(){return H})),i.d(e,"x",(function(){return G})),i.d(e,"y",(function(){return W})),i.d(e,"B",(function(){return U})),i.d(e,"l",(function(){return Y})),i.d(e,"O",(function(){return X})),i.d(e,"P",(function(){return K})),i.d(e,"Q",(function(){return Z})),i.d(e,"S",(function(){return Q})),i.d(e,"M",(function(){return J})),i.d(e,"b",(function(){return tt})),i.d(e,"T",(function(){return et})),i.d(e,"R",(function(){return nt})),i.d(e,"f",(function(){return at})),i.d(e,"e",(function(){return st})),i.d(e,"g",(function(){return lt})),i.d(e,"j",(function(){return ut})),i.d(e,"q",(function(){return ct})),i.d(e,"L",(function(){return ht})),i.d(e,"a",(function(){return dt}));var n=i("726e"),r=A(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=A(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,d=function(){}.constructor,p=d?d.prototype:null,f="__proto__",g=2311;function m(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function y(t){if(null==t||"object"!==typeof t)return t;var e=t,i=a.call(t);if("[object Array]"===i){if(!rt(t)){e=[];for(var n=0,s=t.length;n<s;n++)e[n]=y(t[n])}}else if(o[i]){if(!rt(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(n=0,s=t.length;n<s;n++)e[n]=t[n]}}}else if(!r[i]&&!rt(t)&&!H(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=y(t[u]));return e}function b(t,e,i){if(!V(e)||!V(t))return i?y(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==f){var r=t[n],o=e[n];!V(o)||!V(r)||R(o)||R(r)||H(o)||H(r)||q(o)||q(r)||rt(o)||rt(r)?!i&&n in t||(t[n]=y(e[n])):b(r,o,i)}return t}function _(t,e){for(var i=t[0],n=1,r=t.length;n<r;n++)i=b(i,t[n],e);return i}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var i in e)e.hasOwnProperty(i)&&i!==f&&(t[i]=e[i]);return t}function w(t,e,i){for(var n=E(e),r=0;r<n.length;r++){var o=n[r];(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}n["d"].createCanvas;function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function C(t,e){var i=t.prototype;function n(){}for(var r in n.prototype=e.prototype,t.prototype=new n,i)i.hasOwnProperty(r)&&(t.prototype[r]=i[r]);t.prototype.constructor=t,t.superClass=e}function k(t,e,i){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++){var o=n[r];"constructor"!==o&&(i?null!=e[o]:null==t[o])&&(t[o]=e[o])}else w(t,e,i)}function M(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function O(t,e,i){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,r=t.length;n<r;n++)e.call(i,t[n],n,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(i,t[o],o,t)}function T(t,e,i){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===h)return t.map(e,i);for(var n=[],r=0,o=t.length;r<o;r++)n.push(e.call(i,t[r],r,t));return n}function A(t,e,i,n){if(t&&e){for(var r=0,o=t.length;r<o;r++)i=e.call(n,i,t[r],r,t);return i}}function I(t,e,i){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===u)return t.filter(e,i);for(var n=[],r=0,o=t.length;r<o;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}function P(t,e,i){if(t&&e)for(var n=0,r=t.length;n<r;n++)if(e.call(i,t[n],n,t))return t[n]}function E(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i);return e}function D(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return function(){return t.apply(e,i.concat(c.call(arguments)))}}var L=p&&B(p.bind)?p.call.bind(p.bind):D;function j(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function B(t){return"function"===typeof t}function F(t){return"string"===typeof t}function N(t){return"[object String]"===a.call(t)}function z(t){return"number"===typeof t}function V(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function q(t){return!!r[a.call(t)]}function $(t){return!!o[a.call(t)]}function H(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function G(t){return null!=t.colorStops}function W(t){return null!=t.image}function U(t){return"[object RegExp]"===a.call(t)}function Y(t){return t!==t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0,n=t.length;i<n;i++)if(null!=t[i])return t[i]}function K(t,e){return null!=t?t:e}function Z(t,e,i){return null!=t?t:null!=e?e:i}function Q(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return c.apply(t,e)}function J(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw new Error(e)}function et(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var it="__ec_primitive__";function nt(t){t[it]=!0}function rt(t){return t[it]}var ot=function(){function t(e){this.data={};var i=R(e);this.data={};var n=this;function r(t,e){i?n.set(t,e):n.set(e,t)}e instanceof t?e.each(r):e&&O(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var i in this.data)this.data.hasOwnProperty(i)&&t.call(e,this.data[i],i)},t.prototype.keys=function(){return E(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function at(t){return new ot(t)}function st(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var r=t.length;for(n=0;n<e.length;n++)i[n+r]=e[n];return i}function lt(t,e){var i;if(Object.create)i=Object.create(t);else{var n=function(){};n.prototype=t,i=new n}return e&&x(i,e),i}function ut(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function ct(t,e){return t.hasOwnProperty(e)}function ht(){}var dt=180/Math.PI},"6e53":function(t,e,i){"use strict";function n(t){for(var e=0,i=0;i<t.length;i++){var n=parseInt(t[i]);(i+t.length)%2===0?e+=n:e+=2*n%10+Math.floor(2*n/10)}return(10-e%10)%10}function r(t){for(var e=0,i=[2,3,4,5,6,7],n=0;n<t.length;n++){var r=parseInt(t[t.length-1-n]);e+=i[n%i.length]*r}return(11-e%11)%11}Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=n,e.mod11=r},"6f24":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("4b23"),r=s(n),o=i("bb5d"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,i){if(l(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,a.default)(t),i));else n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return u(n)}return c(e,t),e}(r.default);e.default=h},"70b0":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("4b23"),o=s(r),a=i("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,i){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.B_START_CHAR+t,i))}return c(e,t),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.B_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},"714f":function(t,e,i){"use strict";var n=i("f303"),r=i("d882"),o=i("d728"),a=i("0967"),s=function(t,e=250){let i,n=!1;return function(){return!1===n&&(n=!0,setTimeout((()=>{n=!1}),e),i=t.apply(this,arguments)),i}},l=i("81e7");function u(t,e,i,o){!0===i.modifiers.stop&&Object(r["k"])(t);const a=i.modifiers.color;let s=i.modifiers.center;s=!0===s||!0===o;const l=document.createElement("span"),u=document.createElement("span"),c=Object(r["h"])(t),{left:h,top:d,width:p,height:f}=e.getBoundingClientRect(),g=Math.sqrt(p*p+f*f),m=g/2,v=(p-g)/2+"px",y=s?v:c.left-h-m+"px",b=(f-g)/2+"px",_=s?b:c.top-d-m+"px";u.className="q-ripple__inner",Object(n["b"])(u,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${y},${_},0) scale3d(.2,.2,1)`,opacity:0}),l.className="q-ripple"+(a?" text-"+a:""),l.setAttribute("dir","ltr"),l.appendChild(u),e.appendChild(l);const x=()=>{l.remove(),clearTimeout(w)};i.abort.push(x);let w=setTimeout((()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${v},${b},0) scale3d(1,1,1)`,u.style.opacity=.2,w=setTimeout((()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,w=setTimeout((()=>{l.remove(),i.abort.splice(i.abort.indexOf(x),1)}),275)}),250)}),50)}function c(t,{modifiers:e,value:i,arg:n}){const r=Object.assign({},l["a"].config.ripple,e,i);t.modifiers={early:!0===r.early,stop:!0===r.stop,center:!0===r.center,color:r.color||n,keyCodes:[].concat(r.keyCodes||13)}}function h(t){const e=t.__qripple;void 0!==e&&(e.abort.forEach((t=>{t()})),Object(r["b"])(e,"main"),delete t._qripple)}e["a"]={name:"ripple",inserted(t,e){void 0!==t.__qripple&&(h(t),t.__qripple_destroyed=!0);const i={enabled:!1!==e.value,modifiers:{},abort:[],start(e){!0===i.enabled&&!0!==e.qSkipRipple&&(!0!==a["a"].is.ie||e.clientX>=0)&&e.type===(!0===i.modifiers.early?"pointerdown":"click")&&u(e,t,i,!0===e.qKeyEvent)},keystart:s((e=>{!0===i.enabled&&!0!==e.qSkipRipple&&!0===Object(o["a"])(e,i.modifiers.keyCodes)&&e.type==="key"+(!0===i.modifiers.early?"down":"up")&&u(e,t,i,!0)}),300)};c(i,e),t.__qripple=i,Object(r["a"])(i,"main",[[t,"pointerdown","start","passive"],[t,"click","start","passive"],[t,"keydown","keystart","passive"],[t,"keyup","keystart","passive"]])},update(t,e){const i=t.__qripple;void 0!==i&&e.oldValue!==e.value&&(i.enabled=!1!==e.value,!0===i.enabled&&Object(e.value)===e.value&&c(i,e))},unbind(t){void 0===t.__qripple_destroyed?h(t):delete t.__qripple_destroyed}}},7156:function(t,e,i){var n=i("1626"),r=i("861d"),o=i("d2bb");t.exports=function(t,e,i){var a,s;return o&&n(a=e.constructor)&&a!==i&&r(s=a.prototype)&&s!==i.prototype&&o(t,s),t}},"721a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("fd7c"),o=s(r),a=i("ab5b");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(e,i,n){l(this,t),this.canvas=e,this.encodings=i,this.options=n}return n(t,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var t=0;t<this.encodings.length;t++){var e=(0,o.default)(this.options,this.encodings[t].options);this.drawCanvasBarcode(e,this.encodings[t]),this.drawCanvasText(e,this.encodings[t]),this.moveCanvasDrawing(this.encodings[t])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var t=this.canvas.getContext("2d");t.save(),(0,a.calculateEncodingAttributes)(this.encodings,this.options,t);var e=(0,a.getTotalWidthOfEncodings)(this.encodings),i=(0,a.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=e+this.options.marginLeft+this.options.marginRight,this.canvas.height=i,t.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(t.fillStyle=this.options.background,t.fillRect(0,0,this.canvas.width,this.canvas.height)),t.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(t,e){var i,n=this.canvas.getContext("2d"),r=e.data;i="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,n.fillStyle=t.lineColor;for(var o=0;o<r.length;o++){var a=o*t.width+e.barcodePadding;"1"===r[o]?n.fillRect(a,i,t.width,t.height):r[o]&&n.fillRect(a,i,t.width,t.height*r[o])}}},{key:"drawCanvasText",value:function(t,e){var i,n,r=this.canvas.getContext("2d"),o=t.fontOptions+" "+t.fontSize+"px "+t.font;t.displayValue&&(n="top"==t.textPosition?t.marginTop+t.fontSize-t.textMargin:t.height+t.textMargin+t.marginTop+t.fontSize,r.font=o,"left"==t.textAlign||e.barcodePadding>0?(i=0,r.textAlign="left"):"right"==t.textAlign?(i=e.width-1,r.textAlign="right"):(i=e.width/2,r.textAlign="center"),r.fillText(e.text,i,n))}},{key:"moveCanvasDrawing",value:function(t){var e=this.canvas.getContext("2d");e.translate(t.width,0)}},{key:"restoreCanvas",value:function(){var t=this.canvas.getContext("2d");t.restore()}}]),t}();e.default=u},"726e":function(t,e,i){"use strict";i.d(e,"c",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"d",(function(){return h})),i.d(e,"e",(function(){return d}));var n=12,r="sans-serif",o=n+"px "+r,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(t){var e={};if("undefined"===typeof JSON)return e;for(var i=0;i<t.length;i++){var n=String.fromCharCode(i+32),r=(t.charCodeAt(i)-a)/s;e[n]=r}return e}var c=u(l),h={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(i,r){if(!t){var a=h.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||o),t.measureText(i);i=i||"",r=r||o;var s=/^([0-9]*?)px$/.exec(r),l=+(s&&s[1])||n,u=0;if(r.indexOf("mono")>=0)u=l*i.length;else for(var d=0;d<i.length;d++){var p=c[i[d]];u+=null==p?l:p*l}return{width:u}}}(),loadImage:function(t,e,i){var n=new Image;return n.onload=e,n.onerror=i,n.src=t,n}};function d(t){for(var e in h)t[e]&&(h[e]=t[e])}},"72db":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("9c40"),o=i("0016"),a=i("57b0"),s=i("d882"),l=i("dde5");const u={start:"self-end",center:"self-center",end:"self-start"},c=Object.keys(u);e["a"]=n["a"].extend({name:"QFabAction",mixins:[a["a"]],props:{icon:{type:String,default:""},anchor:{type:String,validator:t=>c.includes(t)},to:[String,Object],replace:Boolean},inject:{__qFab:{default(){return{showing:!0,__onChildClick:s["g"]}}}},computed:{classes(){const t=u[this.anchor];return this.formClass+(void 0!==t?` ${t}`:"")},onEvents(){return{...this.qListeners,click:this.click}},isDisabled(){return!0!==this.__qFab.showing||!0===this.disable}},methods:{click(t){this.__qFab.__onChildClick(t),this.$emit("click",t)}},render(t){const e=[];return void 0!==this.$scopedSlots.icon?e.push(this.$scopedSlots.icon()):""!==this.icon&&e.push(t(o["a"],{props:{name:this.icon}})),""===this.label&&void 0===this.$scopedSlots.label||e[this.labelProps.action](t("div",this.labelProps.data,void 0!==this.$scopedSlots.label?this.$scopedSlots.label():[this.label])),t(r["a"],{class:this.classes,props:{...this.$props,noWrap:!0,stack:this.stacked,icon:void 0,label:void 0,noCaps:!0,fabMini:!0,disable:this.isDisabled},on:this.onEvents},Object(l["a"])(e,this,"default"))}})},"735e":function(t,e,i){"use strict";var n=i("ebb5"),r=i("81d5"),o=i("f495"),a=i("f5df"),s=i("c65b"),l=i("e330"),u=i("d039"),c=n.aTypedArray,h=n.exportTypedArrayMethod,d=l("".slice),p=u((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t}));h("fill",(function(t){var e=arguments.length;c(this);var i="Big"===d(a(this),0,3)?o(t):+t;return s(r,this,i,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),p)},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7460:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0016"),o=i("3d69"),a=i("87e8"),s=i("d882"),l=i("dde5"),u=i("d728");let c=0;e["a"]=n["a"].extend({name:"QTab",mixins:[o["a"],a["a"]],inject:{tabs:{default(){console.error("QTab/QRouteTab components need to be child of QTabs")}},__activateTab:{},__recalculateScroll:{},__onKbdNavigate:{}},props:{icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>"t_"+c++},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String},computed:{isActive(){return this.tabs.current===this.name},classes(){return{...!0===this.isActive?{"q-tab--active":!0,[this.tabs.activeClass]:this.tabs.activeClass,[`text-${this.tabs.activeColor}`]:this.tabs.activeColor,[`bg-${this.tabs.activeBgColor}`]:this.tabs.activeBgColor}:{"q-tab--inactive":!0},"q-tab--full":this.icon&&this.label&&!this.tabs.inlineLabel,"q-tab--no-caps":!0===this.noCaps||!0===this.tabs.noCaps,"q-focusable q-hoverable cursor-pointer":!this.disable,disabled:this.disable}},innerClass(){return(!0===this.tabs.inlineLabel?"row no-wrap q-tab__content--inline":"column")+(void 0!==this.contentClass?` ${this.contentClass}`:"")},computedTabIndex(){return!0===this.disable||!0===this.tabs.hasFocus?-1:this.tabindex||0},computedRipple(){return!1!==this.ripple&&Object.assign({keyCodes:[13,32],early:!0},!0===this.ripple?{}:this.ripple)},onEvents(){return{input:s["k"],...this.qListeners,click:this.__activate,keydown:this.__onKeydown}},attrs(){const t={tabindex:this.computedTabIndex,role:"tab","aria-selected":!0===this.isActive?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{__activate(t,e){!0!==e&&void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus({preventScroll:!0}),!0!==this.disable&&(void 0!==this.qListeners.click&&this.$emit("click",t),this.__activateTab(this.name))},__onKeydown(t){Object(u["c"])(t)||(-1!==[13,32].indexOf(t.keyCode)?(this.__activate(t,!0),Object(s["i"])(t)):t.keyCode>=35&&t.keyCode<=40&&!0===this.__onKbdNavigate(t.keyCode,this.$el)&&Object(s["l"])(t))},__getContent(t){const e=this.tabs.narrowIndicator,i=[],n=t("div",{staticClass:"q-tab__indicator",class:this.tabs.indicatorClass});void 0!==this.icon&&i.push(t(r["a"],{staticClass:"q-tab__icon",props:{name:this.icon}})),void 0!==this.label&&i.push(t("div",{staticClass:"q-tab__label"},[this.label])),!1!==this.alert&&i.push(void 0!==this.alertIcon?t(r["a"],{staticClass:"q-tab__alert-icon",props:{color:!0!==this.alert?this.alert:void 0,name:this.alertIcon}}):t("div",{staticClass:"q-tab__alert",class:!0!==this.alert?`text-${this.alert}`:null})),!0===e&&i.push(n);const o=[t("div",{staticClass:"q-focus-helper",attrs:{tabindex:-1},ref:"blurTarget"}),t("div",{staticClass:"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable",class:this.innerClass},Object(l["a"])(i,this,"default"))];return!1===e&&o.push(n),o},__renderTab(t,e){const i={staticClass:"q-tab relative-position self-stretch flex flex-center text-center no-outline",class:this.classes,attrs:this.attrs,directives:!1===this.ripple||!0===this.disable?null:[{name:"ripple",value:this.computedRipple}]};return!0===this.hasRouterLink?t(e,{...i,nativeOn:this.onEvents,props:this.routerTabLinkProps,scopedSlots:{default:({href:e,isActive:i,isExactActive:n})=>t("a",{class:{[this.activeClass]:i,[this.exactActiveClass]:n},attrs:{...this.linkProps.attrs,href:e}},this.__getContent(t))}}):(!0===this.hasLink&&(Object.assign(i.attrs,this.linkProps.attrs),i.props=this.linkProps.props),i.on=this.onEvents,t(e,i,this.__getContent(t)))}},mounted(){this.__recalculateScroll()},beforeDestroy(){this.__recalculateScroll()},render(t){return this.__renderTab(t,"div")}})},"74af":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("0016"),o=i("87e8"),a=i("dde5");e["a"]=n["a"].extend({name:"QTimelineEntry",inject:{__timeline:{default(){console.error("QTimelineEntry needs to be child of QTimeline")}}},mixins:[o["a"]],props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:t=>["left","right"].includes(t)},icon:String,avatar:String,color:String,title:String,subtitle:String,body:String},computed:{colorClass(){return`text-${this.color||this.__timeline.color}`},classes(){return`q-timeline__entry--${this.side}`+(void 0!==this.icon||void 0!==this.avatar?" q-timeline__entry--icon":"")},reverse(){return"comfortable"===this.__timeline.layout&&"left"===this.__timeline.side}},render(t){const e=Object(a["d"])(this,"default",[]);if(void 0!==this.body&&e.unshift(this.body),!0===this.heading){const i=[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline__heading-title"},e)];return t("div",{staticClass:"q-timeline__heading",on:{...this.qListeners}},!0===this.reverse?i.reverse():i)}let i;void 0!==this.icon?i=[t(r["a"],{staticClass:"row items-center justify-center",props:{name:this.icon}})]:void 0!==this.avatar&&(i=[t("img",{staticClass:"q-timeline__dot-img",domProps:{src:this.avatar}})]);const n=[t("div",{staticClass:"q-timeline__subtitle"},[t("span",Object(a["c"])(this,"subtitle",[this.subtitle]))]),t("div",{staticClass:"q-timeline__dot",class:this.colorClass},i),t("div",{staticClass:"q-timeline__content"},[t("h6",{staticClass:"q-timeline__title"},Object(a["c"])(this,"title",[this.title]))].concat(e))];return t("li",{staticClass:"q-timeline__entry",class:this.classes,on:{...this.qListeners}},!0===this.reverse?n.reverse():n)}})},"74e8":function(t,e,i){"use strict";var n=i("23e7"),r=i("da84"),o=i("c65b"),a=i("83ab"),s=i("8aa7"),l=i("ebb5"),u=i("621a"),c=i("19aa"),h=i("5c6c"),d=i("9112"),p=i("eac5"),f=i("50c4"),g=i("0b25"),m=i("182d"),v=i("a04b"),y=i("1a2d"),b=i("f5df"),_=i("861d"),x=i("d9b5"),w=i("7c73"),S=i("3a9b"),C=i("d2bb"),k=i("241c").f,M=i("a078"),O=i("b727").forEach,T=i("2626"),A=i("9bf2"),I=i("06cf"),P=i("69f3"),E=i("7156"),D=P.get,L=P.set,j=P.enforce,R=A.f,B=I.f,F=Math.round,N=r.RangeError,z=u.ArrayBuffer,V=z.prototype,q=u.DataView,$=l.NATIVE_ARRAY_BUFFER_VIEWS,H=l.TYPED_ARRAY_TAG,G=l.TypedArray,W=l.TypedArrayPrototype,U=l.aTypedArrayConstructor,Y=l.isTypedArray,X="BYTES_PER_ELEMENT",K="Wrong length",Z=function(t,e){U(t);var i=0,n=e.length,r=new t(n);while(n>i)r[i]=e[i++];return r},Q=function(t,e){R(t,e,{get:function(){return D(this)[e]}})},J=function(t){var e;return S(V,t)||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},tt=function(t,e){return Y(t)&&!x(e)&&e in t&&p(+e)&&e>=0},et=function(t,e){return e=v(e),tt(t,e)?h(2,t[e]):B(t,e)},it=function(t,e,i){return e=v(e),!(tt(t,e)&&_(i)&&y(i,"value"))||y(i,"get")||y(i,"set")||i.configurable||y(i,"writable")&&!i.writable||y(i,"enumerable")&&!i.enumerable?R(t,e,i):(t[e]=i.value,t)};a?($||(I.f=et,A.f=it,Q(W,"buffer"),Q(W,"byteOffset"),Q(W,"byteLength"),Q(W,"length")),n({target:"Object",stat:!0,forced:!$},{getOwnPropertyDescriptor:et,defineProperty:it}),t.exports=function(t,e,i){var a=t.match(/\d+$/)[0]/8,l=t+(i?"Clamped":"")+"Array",u="get"+t,h="set"+t,p=r[l],v=p,y=v&&v.prototype,b={},x=function(t,e){var i=D(t);return i.view[u](e*a+i.byteOffset,!0)},S=function(t,e,n){var r=D(t);i&&(n=(n=F(n))<0?0:n>255?255:255&n),r.view[h](e*a+r.byteOffset,n,!0)},A=function(t,e){R(t,e,{get:function(){return x(this,e)},set:function(t){return S(this,e,t)},enumerable:!0})};$?s&&(v=e((function(t,e,i,n){return c(t,y),E(function(){return _(e)?J(e)?void 0!==n?new p(e,m(i,a),n):void 0!==i?new p(e,m(i,a)):new p(e):Y(e)?Z(v,e):o(M,v,e):new p(g(e))}(),t,v)})),C&&C(v,G),O(k(p),(function(t){t in v||d(v,t,p[t])})),v.prototype=y):(v=e((function(t,e,i,n){c(t,y);var r,s,l,u=0,h=0;if(_(e)){if(!J(e))return Y(e)?Z(v,e):o(M,v,e);r=e,h=m(i,a);var d=e.byteLength;if(void 0===n){if(d%a)throw N(K);if(s=d-h,s<0)throw N(K)}else if(s=f(n)*a,s+h>d)throw N(K);l=s/a}else l=g(e),s=l*a,r=new z(s);L(t,{buffer:r,byteOffset:h,byteLength:s,length:l,view:new q(r)});while(u<l)A(t,u++)})),C&&C(v,G),y=v.prototype=w(W)),y.constructor!==v&&d(y,"constructor",v),j(y).TypedArrayConstructor=v,H&&d(y,H,l);var I=v!=p;b[l]=v,n({global:!0,constructor:!0,forced:I,sham:!$},b),X in v||d(v,X,a),X in y||d(y,X,a),T(l)}):t.exports=function(){}},"752b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("721a"),r=u(n),o=i("be5e"),a=u(o),s=i("4ced"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}e.default={CanvasRenderer:r.default,SVGRenderer:a.default,ObjectRenderer:l.default}},7562:function(t,e,i){"use strict";e["a"]={props:{transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"}},data(){return{transitionState:this.showing}},watch:{showing(t){this.transitionShow!==this.transitionHide&&this.$nextTick((()=>{this.transitionState=t}))}},computed:{transition(){return"q-transition--"+(!0===this.transitionState?this.transitionHide:this.transitionShow)}}}},"75c3":function(t,e,i){"use strict";var n=i("0967"),r=i("3627"),o=i("d882"),a=i("2248");function s(t,e,i){const n=Object(o["h"])(t);let r,a=n.left-e.event.x,s=n.top-e.event.y,l=Math.abs(a),u=Math.abs(s);const c=e.direction;!0===c.horizontal&&!0!==c.vertical?r=a<0?"left":"right":!0!==c.horizontal&&!0===c.vertical?r=s<0?"up":"down":!0===c.up&&s<0?(r="up",l>u&&(!0===c.left&&a<0?r="left":!0===c.right&&a>0&&(r="right"))):!0===c.down&&s>0?(r="down",l>u&&(!0===c.left&&a<0?r="left":!0===c.right&&a>0&&(r="right"))):!0===c.left&&a<0?(r="left",l<u&&(!0===c.up&&s<0?r="up":!0===c.down&&s>0&&(r="down"))):!0===c.right&&a>0&&(r="right",l<u&&(!0===c.up&&s<0?r="up":!0===c.down&&s>0&&(r="down")));let h=!1;if(void 0===r&&!1===i){if(!0===e.event.isFirst||void 0===e.event.lastDir)return{};r=e.event.lastDir,h=!0,"left"===r||"right"===r?(n.left-=a,l=0,a=0):(n.top-=s,u=0,s=0)}return{synthetic:h,payload:{evt:t,touch:!0!==e.event.mouse,mouse:!0===e.event.mouse,position:n,direction:r,isFirst:e.event.isFirst,isFinal:!0===i,duration:Date.now()-e.event.time,distance:{x:l,y:u},offset:{x:a,y:s},delta:{x:n.left-e.event.lastX,y:n.top-e.event.lastY}}}}function l(t){const e=t.__qtouchpan;void 0!==e&&(void 0!==e.event&&e.end(),Object(o["b"])(e,"main"),Object(o["b"])(e,"temp"),!0===n["a"].is.firefox&&Object(o["j"])(t,!1),void 0!==e.styleCleanup&&e.styleCleanup(),delete t.__qtouchpan)}let u=0;e["a"]={name:"touch-pan",bind(t,{value:e,modifiers:i}){if(void 0!==t.__qtouchpan&&(l(t),t.__qtouchpan_destroyed=!0),!0!==i.mouse&&!0!==n["a"].has.touch)return;function c(t,e){!0===i.mouse&&!0===e?Object(o["l"])(t):(!0===i.stop&&Object(o["k"])(t),!0===i.prevent&&Object(o["i"])(t))}const h={uid:"qvtp_"+u++,handler:e,modifiers:i,direction:Object(r["a"])(i),noop:o["g"],mouseStart(t){Object(r["b"])(t,h)&&Object(o["e"])(t)&&(Object(o["a"])(h,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),h.start(t,!0))},touchStart(t){if(Object(r["b"])(t,h)){const e=t.target;Object(o["a"])(h,"temp",[[e,"touchmove","move","notPassiveCapture"],[e,"touchcancel","end","passiveCapture"],[e,"touchend","end","passiveCapture"]]),h.start(t)}},start(e,r){!0===n["a"].is.firefox&&Object(o["j"])(t,!0),h.lastEvt=e;const a=Object(o["h"])(e);if(!0===r||!0===i.stop){if(!0!==h.direction.all&&(!0!==r||!0!==h.direction.mouseAllDir)){const t=e.type.indexOf("mouse")>-1?new MouseEvent(e.type,e):new TouchEvent(e.type,e);!0===e.defaultPrevented&&Object(o["i"])(t),!0===e.cancelBubble&&Object(o["k"])(t),t.qClonedBy=void 0===e.qClonedBy?[h.uid]:e.qClonedBy.concat(h.uid),t.qKeyEvent=e.qKeyEvent,t.qClickOutside=e.qClickOutside,h.initialEvent={target:e.target,event:t}}Object(o["k"])(e)}h.event={x:a.left,y:a.top,time:Date.now(),mouse:!0===r,detected:!1,isFirst:!0,isFinal:!1,lastX:a.left,lastY:a.top}},move(t){if(void 0===h.event)return;h.lastEvt=t;const e=!0===h.event.mouse,n=()=>{c(t,e),!0!==i.preserveCursor&&(document.documentElement.style.cursor="grabbing"),!0===e&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Object(a["a"])(),h.styleCleanup=t=>{if(h.styleCleanup=void 0,!0!==i.preserveCursor&&(document.documentElement.style.cursor=""),document.body.classList.remove("non-selectable"),!0===e){const e=()=>{document.body.classList.remove("no-pointer-events--children")};void 0!==t?setTimeout((()=>{e(),t()}),50):e()}else void 0!==t&&t()}};if(!0===h.event.detected){!0!==h.event.isFirst&&c(t,h.event.mouse);const{payload:e,synthetic:i}=s(t,h,!1);return void(void 0!==e&&(!1===h.handler(e)?h.end(t):(void 0===h.styleCleanup&&!0===h.event.isFirst&&n(),h.event.lastX=e.position.left,h.event.lastY=e.position.top,h.event.lastDir=!0===i?void 0:e.direction,h.event.isFirst=!1)))}if(!0===h.direction.all||!0===e&&!0===h.modifiers.mouseAllDir)return n(),h.event.detected=!0,void h.move(t);const r=Object(o["h"])(t),l=r.left-h.event.x,u=r.top-h.event.y,d=Math.abs(l),p=Math.abs(u);d!==p&&(!0===h.direction.horizontal&&d>p||!0===h.direction.vertical&&d<p||!0===h.direction.up&&d<p&&u<0||!0===h.direction.down&&d<p&&u>0||!0===h.direction.left&&d>p&&l<0||!0===h.direction.right&&d>p&&l>0?(h.event.detected=!0,h.move(t)):h.end(t,!0))},end(e,i){if(void 0!==h.event){if(Object(o["b"])(h,"temp"),!0===n["a"].is.firefox&&Object(o["j"])(t,!1),!0===i)void 0!==h.styleCleanup&&h.styleCleanup(),!0!==h.event.detected&&void 0!==h.initialEvent&&h.initialEvent.target.dispatchEvent(h.initialEvent.event);else if(!0===h.event.detected){!0===h.event.isFirst&&h.handler(s(void 0===e?h.lastEvt:e,h).payload);const{payload:t}=s(void 0===e?h.lastEvt:e,h,!0),i=()=>{h.handler(t)};void 0!==h.styleCleanup?h.styleCleanup(i):i()}h.event=void 0,h.initialEvent=void 0,h.lastEvt=void 0}}};t.__qtouchpan=h,!0===i.mouse&&Object(o["a"])(h,"main",[[t,"mousedown","mouseStart","passive"+(!0===i.mouseCapture?"Capture":"")]]),!0===n["a"].has.touch&&Object(o["a"])(h,"main",[[t,"touchstart","touchStart","passive"+(!0===i.capture?"Capture":"")],[t,"touchmove","noop","notPassiveCapture"]])},update(t,{oldValue:e,value:i}){const n=t.__qtouchpan;void 0!==n&&e!==i&&("function"!==typeof i&&n.end(),n.handler=i)},unbind(t){void 0===t.__qtouchpan_destroyed?l(t):delete t.__qtouchpan_destroyed}}},"77a7":function(t,e){var i=Array,n=Math.abs,r=Math.pow,o=Math.floor,a=Math.log,s=Math.LN2,l=function(t,e,l){var u,c,h,d=i(l),p=8*l-e-1,f=(1<<p)-1,g=f>>1,m=23===e?r(2,-24)-r(2,-77):0,v=t<0||0===t&&1/t<0?1:0,y=0;t=n(t),t!=t||t===1/0?(c=t!=t?1:0,u=f):(u=o(a(t)/s),h=r(2,-u),t*h<1&&(u--,h*=2),t+=u+g>=1?m/h:m*r(2,1-g),t*h>=2&&(u++,h/=2),u+g>=f?(c=0,u=f):u+g>=1?(c=(t*h-1)*r(2,e),u+=g):(c=t*r(2,g-1)*r(2,e),u=0));while(e>=8)d[y++]=255&c,c/=256,e-=8;u=u<<e|c,p+=e;while(p>0)d[y++]=255&u,u/=256,p-=8;return d[--y]|=128*v,d},u=function(t,e){var i,n=t.length,o=8*n-e-1,a=(1<<o)-1,s=a>>1,l=o-7,u=n-1,c=t[u--],h=127&c;c>>=7;while(l>0)h=256*h+t[u--],l-=8;i=h&(1<<-l)-1,h>>=-l,l+=e;while(l>0)i=256*i+t[u--],l-=8;if(0===h)h=1-s;else{if(h===a)return i?NaN:c?-1/0:1/0;i+=r(2,e),h-=s}return(c?-1:1)*i*r(2,h-e)};t.exports={pack:l,unpack:u}},"77d9":function(t,e,i){i("1d02")},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"784f":function(t,e,i){!function(e,i){t.exports=i()}(window,(function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=4)}([function(t,e,i){var n=i(2);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),(0,i(5).default)("7341b954",n,!0,{})},function(t,e,i){"use strict";var n=i(0);i.n(n).a},function(t,e,i){(t.exports=i(3)(!1)).push([t.i,".distpicker-address-wrapper {\n color: #9caebf;\n}\n.distpicker-address-wrapper select {\n padding: .5rem .75rem;\n height: 40px;\n font-size: 1rem;\n line-height: 1.25;\n color: #464a4c;\n background-color: #fff;\n background-image: none;\n -webkit-background-clip: padding-box;\n background-clip: padding-box;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: .25rem;\n -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;\n}\n.distpicker-address-wrapper select option {\n font-weight: normal;\n display: block;\n white-space: pre;\n min-height: 1.2em;\n padding: 0px 2px 1px;\n}\n.distpicker-address-wrapper ul {\n margin: 0;\n padding: 0;\n}\n.distpicker-address-wrapper ul li {\n list-style: none;\n}\n.distpicker-address-wrapper .address-header {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-header ul {\n display: flex;\n justify-content: space-around;\n align-items: stretch;\n}\n.distpicker-address-wrapper .address-header ul li {\n display: inline-block;\n padding: 10px 10px 7px;\n}\n.distpicker-address-wrapper .address-header ul li.active {\n border-bottom: #52697f solid 3px;\n color: #52697f;\n}\n.distpicker-address-wrapper .address-container {\n background-color: #fff;\n}\n.distpicker-address-wrapper .address-container ul {\n height: 100%;\n overflow: auto;\n}\n.distpicker-address-wrapper .address-container ul li {\n padding: 8px 10px;\n border-top: 1px solid #f6f6f6;\n}\n.distpicker-address-wrapper .address-container ul li.active {\n color: #52697f;\n}\n.disabled-color {\n background: #f8f8f8;\n}\n",""])},function(t,e,i){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i=function(t,e){var i,n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(i=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),a=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i})).join("")},e.i=function(t,i){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];null!=o&&(n[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];null!=a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),e.push(a))}},e}},function(t,e,i){"use strict";i.r(e);var n={1e5:{11e4:"北京市",12e4:"天津市",13e4:"河北省",14e4:"山西省",15e4:"内蒙古自治区",21e4:"辽宁省",22e4:"吉林省",23e4:"黑龙江省",31e4:"上海市",32e4:"江苏省",33e4:"浙江省",34e4:"安徽省",35e4:"福建省",36e4:"江西省",37e4:"山东省",41e4:"河南省",42e4:"湖北省",43e4:"湖南省",44e4:"广东省",45e4:"广西壮族自治区",46e4:"海南省",5e5:"重庆市",51e4:"四川省",52e4:"贵州省",53e4:"云南省",54e4:"西藏自治区",61e4:"陕西省",62e4:"甘肃省",63e4:"青海省",64e4:"宁夏回族自治区",65e4:"新疆维吾尔自治区",71e4:"台湾省",81e4:"香港特别行政区",82e4:"澳门特别行政区",9e5:"海外"},11e4:{110100:"北京市"},110100:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"},12e4:{120100:"天津市"},120100:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"},13e4:{130100:"石家庄市",130200:"唐山市",130300:"秦皇岛市",130400:"邯郸市",130500:"邢台市",130600:"保定市",130700:"张家口市",130800:"承德市",130900:"沧州市",131e3:"廊坊市",131100:"衡水市"},130100:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130171:"石家庄高新技术产业开发区",130172:"石家庄循环化工园区",130181:"辛集市",130183:"晋州市",130184:"新乐市"},130200:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130271:"河北唐山芦台经济开发区",130272:"唐山市汉沽管理区",130273:"唐山高新技术产业开发区",130274:"河北唐山海港经济开发区",130281:"遵化市",130283:"迁安市",130284:"滦州市"},130300:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县",130371:"秦皇岛市经济技术开发区",130372:"北戴河新区"},130400:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130471:"邯郸经济技术开发区",130473:"邯郸冀南新区",130481:"武安市"},130500:{130502:"襄都区",130503:"信都区",130505:"任泽区",130506:"南和区",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130571:"河北邢台经济开发区",130581:"南宫市",130582:"沙河市"},130600:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130671:"保定高新技术产业开发区",130672:"保定白沟新城",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市"},130700:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130771:"张家口经济开发区",130772:"张家口市察北管理区",130773:"张家口市塞北管理区"},130800:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130871:"承德高新技术产业开发区",130881:"平泉市"},130900:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130971:"河北沧州经济开发区",130972:"沧州高新技术产业开发区",130973:"沧州渤海新区",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市"},131e3:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131071:"廊坊经济技术开发区",131081:"霸州市",131082:"三河市"},131100:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131171:"河北衡水高新技术产业开发区",131172:"衡水滨湖新区",131182:"深州市"},14e4:{140100:"太原市",140200:"大同市",140300:"阳泉市",140400:"长治市",140500:"晋城市",140600:"朔州市",140700:"晋中市",140800:"运城市",140900:"忻州市",141e3:"临汾市",141100:"吕梁市"},140100:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140171:"山西转型综合改革示范区",140181:"古交市"},140200:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140271:"山西大同经济开发区"},140300:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"},140400:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140471:"山西长治高新技术产业园区"},140500:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市"},140600:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140671:"山西朔州经济开发区",140681:"怀仁市"},140700:{140702:"榆次区",140703:"太谷区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市"},140800:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市"},140900:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140971:"五台山风景名胜区",140981:"原平市"},141e3:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市"},141100:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市"},15e4:{150100:"呼和浩特市",150200:"包头市",150300:"乌海市",150400:"赤峰市",150500:"通辽市",150600:"鄂尔多斯市",150700:"呼伦贝尔市",150800:"巴彦淖尔市",150900:"乌兰察布市",152200:"兴安盟",152500:"锡林郭勒盟",152900:"阿拉善盟"},150100:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150172:"呼和浩特经济技术开发区"},150200:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150271:"包头稀土高新技术产业开发区"},150300:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"},150400:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"},150500:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150571:"通辽经济技术开发区",150581:"霍林郭勒市"},150600:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"},150700:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市"},150800:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"},150900:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市"},152200:{152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"},152500:{152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152571:"乌拉盖管委会"},152900:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152971:"内蒙古阿拉善高新技术产业开发区"},21e4:{210100:"沈阳市",210200:"大连市",210300:"鞍山市",210400:"抚顺市",210500:"本溪市",210600:"丹东市",210700:"锦州市",210800:"营口市",210900:"阜新市",211e3:"辽阳市",211100:"盘锦市",211200:"铁岭市",211300:"朝阳市",211400:"葫芦岛市"},210100:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民市"},210200:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店市",210283:"庄河市"},210300:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市"},210400:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"},210500:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"},210600:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市"},210700:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市"},210800:{210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市"},210900:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"},211e3:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市"},211100:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"},211200:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市"},211300:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市"},211400:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市"},22e4:{220100:"长春市",220200:"吉林市",220300:"四平市",220400:"辽源市",220500:"通化市",220600:"白山市",220700:"松原市",220800:"白城市",222400:"延边朝鲜族自治州"},220100:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220171:"长春经济技术开发区",220172:"长春净月高新技术产业开发区",220173:"长春高新技术产业开发区",220174:"长春汽车经济技术开发区",220182:"榆树市",220183:"德惠市",220184:"公主岭市"},220200:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220271:"吉林经济开发区",220272:"吉林高新技术产业开发区",220273:"吉林中国新加坡食品区",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市"},220300:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220382:"双辽市"},220400:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"},220500:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市"},220600:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江市"},220700:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220771:"吉林松原经济开发区",220781:"扶余市"},220800:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220871:"吉林白城经济开发区",220881:"洮南市",220882:"大安市"},222400:{222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县"},23e4:{230100:"哈尔滨市",230200:"齐齐哈尔市",230300:"鸡西市",230400:"鹤岗市",230500:"双鸭山市",230600:"大庆市",230700:"伊春市",230800:"佳木斯市",230900:"七台河市",231e3:"牡丹江市",231100:"黑河市",231200:"绥化市",232700:"大兴安岭地区"},230100:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志市",230184:"五常市"},230200:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市"},230300:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市"},230400:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"},230500:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"},230600:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230671:"大庆高新技术产业开发区"},230700:{230717:"伊美区",230718:"乌翠区",230719:"友好区",230722:"嘉荫县",230723:"汤旺县",230724:"丰林县",230725:"大箐山县",230726:"南岔县",230751:"金林区",230781:"铁力市"},230800:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江市",230882:"富锦市",230883:"抚远市"},230900:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"},231e3:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231071:"牡丹江经济技术开发区",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"东宁市"},231100:{231102:"爱辉区",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"嫩江市"},231200:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市"},232700:{232701:"漠河市",232721:"呼玛县",232722:"塔河县",232761:"加格达奇区",232762:"松岭区",232763:"新林区",232764:"呼中区"},31e4:{310100:"上海市"},310100:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"},32e4:{320100:"南京市",320200:"无锡市",320300:"徐州市",320400:"常州市",320500:"苏州市",320600:"南通市",320700:"连云港市",320800:"淮安市",320900:"盐城市",321e3:"扬州市",321100:"镇江市",321200:"泰州市",321300:"宿迁市"},320100:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"},320200:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴市",320282:"宜兴市"},320300:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320371:"徐州经济技术开发区",320381:"新沂市",320382:"邳州市"},320400:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳市"},320500:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320571:"苏州工业园区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320585:"太仓市"},320600:{320612:"通州区",320613:"崇川区",320614:"海门区",320623:"如东县",320671:"南通经济技术开发区",320681:"启东市",320682:"如皋市",320685:"海安市"},320700:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县",320771:"连云港经济技术开发区",320772:"连云港高新技术产业开发区"},320800:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县",320871:"淮安经济技术开发区"},320900:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320971:"盐城经济技术开发区",320981:"东台市"},321e3:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321071:"扬州经济技术开发区",321081:"仪征市",321084:"高邮市"},321100:{321102:"京口区",321111:"润州区",321112:"丹徒区",321171:"镇江新区",321181:"丹阳市",321182:"扬中市",321183:"句容市"},321200:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321271:"泰州医药高新技术产业开发区",321281:"兴化市",321282:"靖江市",321283:"泰兴市"},321300:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321371:"宿迁经济技术开发区"},33e4:{330100:"杭州市",330200:"宁波市",330300:"温州市",330400:"嘉兴市",330500:"湖州市",330600:"绍兴市",330700:"金华市",330800:"衢州市",330900:"舟山市",331e3:"台州市",331100:"丽水市"},330100:{330102:"上城区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330113:"临平区",330114:"钱塘区",330122:"桐庐县",330127:"淳安县",330182:"建德市"},330200:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市"},330300:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330371:"温州经济技术开发区",330381:"瑞安市",330382:"乐清市",330383:"龙港市"},330400:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市"},330500:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"},330600:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨市",330683:"嵊州市"},330700:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市"},330800:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市"},330900:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"},331e3:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"玉环市"},331100:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市"},34e4:{340100:"合肥市",340200:"芜湖市",340300:"蚌埠市",340400:"淮南市",340500:"马鞍山市",340600:"淮北市",340700:"铜陵市",340800:"安庆市",341e3:"黄山市",341100:"滁州市",341200:"阜阳市",341300:"宿州市",341500:"六安市",341600:"亳州市",341700:"池州市",341800:"宣城市"},340100:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340171:"合肥高新技术产业开发区",340172:"合肥经济技术开发区",340173:"合肥新站高新技术产业开发区",340181:"巢湖市"},340200:{340202:"镜湖区",340207:"鸠江区",340209:"弋江区",340210:"湾沚区",340212:"繁昌区",340223:"南陵县",340271:"芜湖经济技术开发区",340272:"安徽芜湖三山经济开发区",340281:"无为市"},340300:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340371:"蚌埠市高新技术开发区",340372:"蚌埠市经济开发区"},340400:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"},340500:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"},340600:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"},340700:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"},340800:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340871:"安徽安庆经济开发区",340881:"桐城市",340882:"潜山市"},341e3:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"},341100:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341171:"中新苏滁高新技术产业开发区",341172:"滁州经济技术开发区",341181:"天长市",341182:"明光市"},341200:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341271:"阜阳合肥现代产业园区",341272:"阜阳经济技术开发区",341282:"界首市"},341300:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341371:"宿州马鞍山现代产业园区",341372:"宿州经济技术开发区"},341500:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"},341600:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"},341700:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"},341800:{341802:"宣州区",341821:"郎溪县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341871:"宣城市经济开发区",341881:"宁国市",341882:"广德市"},35e4:{350100:"福州市",350200:"厦门市",350300:"莆田市",350400:"三明市",350500:"泉州市",350600:"漳州市",350700:"南平市",350800:"龙岩市",350900:"宁德市"},350100:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市"},350200:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"},350300:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"},350400:{350404:"三元区",350405:"沙县区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市"},350500:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市"},350600:{350602:"芗城区",350603:"龙文区",350604:"龙海区",350605:"长泰区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县"},350700:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市"},350800:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市"},350900:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市"},36e4:{360100:"南昌市",360200:"景德镇市",360300:"萍乡市",360400:"九江市",360500:"新余市",360600:"鹰潭市",360700:"赣州市",360800:"吉安市",360900:"宜春市",361e3:"抚州市",361100:"上饶市"},360100:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360111:"青山湖区",360112:"新建区",360113:"红谷滩区",360121:"南昌县",360123:"安义县",360124:"进贤县"},360200:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市"},360300:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"},360400:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"共青城市",360483:"庐山市"},360500:{360502:"渝水区",360521:"分宜县"},360600:{360602:"月湖区",360603:"余江区",360681:"贵溪市"},360700:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360783:"龙南市"},360800:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市"},360900:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市"},361e3:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"},361100:{361102:"信州区",361103:"广丰区",361104:"广信区",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市"},37e4:{370100:"济南市",370200:"青岛市",370300:"淄博市",370400:"枣庄市",370500:"东营市",370600:"烟台市",370700:"潍坊市",370800:"济宁市",370900:"泰安市",371e3:"威海市",371100:"日照市",371300:"临沂市",371400:"德州市",371500:"聊城市",371600:"滨州市",371700:"菏泽市"},370100:{370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县",370171:"济南高新技术产业开发区"},370200:{370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370271:"青岛高新技术产业开发区",370281:"胶州市",370283:"平度市",370285:"莱西市"},370300:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"},370400:{370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市"},370500:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县",370571:"东营经济技术开发区",370572:"东营港经济开发区"},370600:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370671:"烟台高新技术产业开发区",370672:"烟台经济技术开发区",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370685:"招远市",370686:"栖霞市",370687:"海阳市"},370700:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370772:"潍坊滨海经济技术开发区",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市"},370800:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370871:"济宁高新技术产业开发区",370881:"曲阜市",370883:"邹城市"},370900:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市"},371e3:{371002:"环翠区",371003:"文登区",371071:"威海火炬高技术产业开发区",371072:"威海经济技术开发区",371073:"威海临港经济技术开发区",371082:"荣成市",371083:"乳山市"},371100:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371171:"日照经济技术开发区"},371300:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371371:"临沂高新技术产业开发区"},371400:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371471:"德州经济技术开发区",371472:"德州运河经济开发区",371481:"乐陵市",371482:"禹城市"},371500:{371502:"东昌府区",371503:"茌平区",371521:"阳谷县",371522:"莘县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市"},371600:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平市"},371700:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县",371771:"菏泽经济技术开发区",371772:"菏泽高新技术开发区"},41e4:{410100:"郑州市",410200:"开封市",410300:"洛阳市",410400:"平顶山市",410500:"安阳市",410600:"鹤壁市",410700:"新乡市",410800:"焦作市",410900:"濮阳市",411e3:"许昌市",411100:"漯河市",411200:"三门峡市",411300:"南阳市",411400:"商丘市",411500:"信阳市",411600:"周口市",411700:"驻马店市"},410100:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410171:"郑州经济技术开发区",410172:"郑州高新技术产业开发区",410173:"郑州航空港经济综合实验区",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市"},410200:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"},410300:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410307:"偃师区",410308:"孟津区",410311:"洛龙区",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410371:"洛阳高新技术产业开发区"},410400:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410471:"平顶山高新技术产业开发区",410472:"平顶山市城乡一体化示范区",410481:"舞钢市",410482:"汝州市"},410500:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410571:"安阳高新技术产业开发区",410581:"林州市"},410600:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410671:"鹤壁经济技术开发区"},410700:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410771:"新乡高新技术产业开发区",410772:"新乡经济技术开发区",410773:"新乡市平原城乡一体化示范区",410781:"卫辉市",410782:"辉县市",410783:"长垣市"},410800:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410871:"焦作城乡一体化示范区",410882:"沁阳市",410883:"孟州市"},410900:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410971:"河南濮阳工业园区",410972:"濮阳经济技术开发区"},411e3:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411071:"许昌经济技术开发区",411081:"禹州市",411082:"长葛市"},411100:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411171:"漯河经济技术开发区"},411200:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411271:"河南三门峡经济开发区",411281:"义马市",411282:"灵宝市"},411300:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411371:"南阳高新技术产业开发区",411372:"南阳市城乡一体化示范区",411381:"邓州市"},411400:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411471:"豫东综合物流产业聚集区",411472:"河南商丘经济开发区",411481:"永城市"},411500:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411571:"信阳高新技术产业开发区"},411600:{411602:"川汇区",411603:"淮阳区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411627:"太康县",411628:"鹿邑县",411671:"河南周口经济开发区",411681:"项城市"},411700:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411771:"河南驻马店经济开发区"},42e4:{420100:"武汉市",420200:"黄石市",420300:"十堰市",420500:"宜昌市",420600:"襄阳市",420700:"鄂州市",420800:"荆门市",420900:"孝感市",421e3:"荆州市",421100:"黄冈市",421200:"咸宁市",421300:"随州市",422800:"恩施土家族苗族自治州"},420100:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"},420200:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市"},420300:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市"},420500:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市"},420600:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市"},420700:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"},420800:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥市",420882:"京山市"},420900:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市"},421e3:{421002:"沙市区",421003:"荆州区",421022:"公安县",421024:"江陵县",421071:"荆州经济技术开发区",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"监利市"},421100:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421171:"龙感湖管理区",421181:"麻城市",421182:"武穴市"},421200:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市"},421300:{421303:"曾都区",421321:"随县",421381:"广水市"},422800:{422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"},43e4:{430100:"长沙市",430200:"株洲市",430300:"湘潭市",430400:"衡阳市",430500:"邵阳市",430600:"岳阳市",430700:"常德市",430800:"张家界市",430900:"益阳市",431e3:"郴州市",431100:"永州市",431200:"怀化市",431300:"娄底市",433100:"湘西土家族苗族自治州"},430100:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳市",430182:"宁乡市"},430200:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430271:"云龙示范区",430281:"醴陵市"},430300:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430371:"湖南湘潭高新技术产业园区",430372:"湘潭昭山示范区",430373:"湘潭九华示范区",430381:"湘乡市",430382:"韶山市"},430400:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430471:"衡阳综合保税区",430472:"湖南衡阳高新技术产业园区",430473:"湖南衡阳松木经济开发区",430481:"耒阳市",430482:"常宁市"},430500:{430502:"双清区",430503:"大祥区",430511:"北塔区",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"邵东市"},430600:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430671:"岳阳市屈原管理区",430681:"汨罗市",430682:"临湘市"},430700:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430771:"常德市西洞庭管理区",430781:"津市市"},430800:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"},430900:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430971:"益阳市大通湖管理区",430972:"湖南益阳高新技术产业园区",430981:"沅江市"},431e3:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市"},431100:{431102:"零陵区",431103:"冷水滩区",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431171:"永州经济技术开发区",431173:"永州市回龙圩管理区",431181:"祁阳市"},431200:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431271:"怀化市洪江管理区",431281:"洪江市"},431300:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市"},433100:{433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"},44e4:{440100:"广州市",440200:"韶关市",440300:"深圳市",440400:"珠海市",440500:"汕头市",440600:"佛山市",440700:"江门市",440800:"湛江市",440900:"茂名市",441200:"肇庆市",441300:"惠州市",441400:"梅州市",441500:"汕尾市",441600:"河源市",441700:"阳江市",441800:"清远市",441900:"东莞市",442e3:"中山市",445100:"潮州市",445200:"揭阳市",445300:"云浮市"},440100:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"},440200:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市"},440300:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"},440400:{440402:"香洲区",440403:"斗门区",440404:"金湾区"},440500:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"},440600:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"},440700:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市"},440800:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市"},440900:{440902:"茂南区",440904:"电白区",440981:"高州市",440982:"化州市",440983:"信宜市"},441200:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会市"},441300:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"},441400:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市"},441500:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市"},441600:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"},441700:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春市"},441800:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德市",441882:"连州市"},441900:{44190011:"常平镇",441900003:"东城街道",441900004:"南城街道",441900005:"万江街道",441900006:"莞城街道",441900101:"石碣镇",441900102:"石龙镇",441900103:"茶山镇",441900104:"石排镇",441900105:"企石镇",441900106:"横沥镇",441900107:"桥头镇",441900108:"谢岗镇",441900109:"东坑镇",441900111:"寮步镇",441900112:"樟木头镇",441900113:"大朗镇",441900114:"黄江镇",441900115:"清溪镇",441900116:"塘厦镇",441900117:"凤岗镇",441900118:"大岭山镇",441900119:"长安镇",441900121:"虎门镇",441900122:"厚街镇",441900123:"沙田镇",441900124:"道滘镇",441900125:"洪梅镇",441900126:"麻涌镇",441900127:"望牛墩镇",441900128:"中堂镇",441900129:"高埗镇",441900401:"松山湖",441900402:"东莞港",441900403:"东莞生态园",441900404:"东莞滨海湾新区"},442e3:{44200011:"横栏镇",442000001:"石岐街道",442000002:"东区街道",442000003:"中山港街道",442000004:"西区街道",442000005:"南区街道",442000006:"五桂山街道",442000007:"民众街道",442000008:"南朗街道",442000101:"黄圃镇",442000103:"东凤镇",442000105:"古镇镇",442000106:"沙溪镇",442000107:"坦洲镇",442000108:"港口镇",442000109:"三角镇",442000111:"南头镇",442000112:"阜沙镇",442000114:"三乡镇",442000115:"板芙镇",442000116:"大涌镇",442000117:"神湾镇",442000118:"小榄镇"},445100:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"},445200:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市"},445300:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定市"},45e4:{450100:"南宁市",450200:"柳州市",450300:"桂林市",450400:"梧州市",450500:"北海市",450600:"防城港市",450700:"钦州市",450800:"贵港市",450900:"玉林市",451e3:"百色市",451100:"贺州市",451200:"河池市",451300:"来宾市",451400:"崇左市"},450100:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450181:"横州市"},450200:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"},450300:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦市"},450400:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市"},450500:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"},450600:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市"},450700:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"},450800:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市"},450900:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市"},451e3:{451002:"右江区",451003:"田阳区",451022:"田东县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西市",451082:"平果市"},451100:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"},451200:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"},451300:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市"},451400:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市"},46e4:{460100:"海口市",460200:"三亚市",460300:"三沙市",460400:"儋州市"},460100:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"},460200:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"},460300:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域"},460400:{4604001:"那大镇",4604005:"华南热作学院",460400101:"和庆镇",460400102:"南丰镇",460400103:"大成镇",460400104:"雅星镇",460400105:"兰洋镇",460400106:"光村镇",460400107:"木棠镇",460400108:"海头镇",460400109:"峨蔓镇",460400111:"王五镇",460400112:"白马井镇",460400113:"中和镇",460400114:"排浦镇",460400115:"东成镇",460400116:"新州镇",460400499:"洋浦经济开发区"},5e5:{500100:"重庆市"},500100:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区"},51e4:{510100:"成都市",510300:"自贡市",510400:"攀枝花市",510500:"泸州市",510600:"德阳市",510700:"绵阳市",510800:"广元市",510900:"遂宁市",511e3:"内江市",511100:"乐山市",511300:"南充市",511400:"眉山市",511500:"宜宾市",511600:"广安市",511700:"达州市",511800:"雅安市",511900:"巴中市",512e3:"资阳市",513200:"阿坝藏族羌族自治州",513300:"甘孜藏族自治州",513400:"凉山彝族自治州"},510100:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510118:"新津区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"简阳市"},510300:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"},510400:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"},510500:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"},510600:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市"},510700:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市"},510800:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"},510900:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510923:"大英县",510981:"射洪市"},511e3:{511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511071:"内江经济开发区",511083:"隆昌市"},511100:{511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市"},511300:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市"},511400:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"},511500:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"},511600:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市"},511700:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511771:"达州经济开发区",511781:"万源市"},511800:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"},511900:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511971:"巴中经济开发区"},512e3:{512002:"雁江区",512021:"安岳县",512022:"乐至县"},513200:{513201:"马尔康市",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"},513300:{513301:"康定市",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"},513400:{513401:"西昌市",513402:"会理市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"},52e4:{520100:"贵阳市",520200:"六盘水市",520300:"遵义市",520400:"安顺市",520500:"毕节市",520600:"铜仁市",522300:"黔西南布依族苗族自治州",522600:"黔东南苗族侗族自治州",522700:"黔南布依族苗族自治州"},520100:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇市"},520200:{520201:"钟山区",520203:"六枝特区",520204:"水城区",520281:"盘州市"},520300:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市"},520400:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"},520500:{520502:"七星关区",520521:"大方县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县",520581:"黔西市"},520600:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"},522300:{522301:"兴义市",522302:"兴仁市",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"},522600:{522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"},522700:{522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"},53e4:{530100:"昆明市",530300:"曲靖市",530400:"玉溪市",530500:"保山市",530600:"昭通市",530700:"丽江市",530800:"普洱市",530900:"临沧市",532300:"楚雄彝族自治州",532500:"红河哈尼族彝族自治州",532600:"文山壮族苗族自治州",532800:"西双版纳傣族自治州",532900:"大理白族自治州",533100:"德宏傣族景颇族自治州",533300:"怒江傈僳族自治州",533400:"迪庆藏族自治州"},530100:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市"},530300:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威市"},530400:{530402:"红塔区",530403:"江川区",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530481:"澄江市"},530500:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲市"},530600:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富市"},530700:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"},530800:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"},530900:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"},532300:{532301:"楚雄市",532302:"禄丰市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县"},532500:{532501:"个旧市",532502:"开远市",532503:"蒙自市",532504:"弥勒市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"},532600:{532601:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"},532800:{532801:"景洪市",532822:"勐海县",532823:"勐腊县"},532900:{532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"},533100:{533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县"},533300:{533301:"泸水市",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"},533400:{533401:"香格里拉市",533422:"德钦县",533423:"维西傈僳族自治县"},54e4:{540100:"拉萨市",540200:"日喀则市",540300:"昌都市",540400:"林芝市",540500:"山南市",540600:"那曲市",542500:"阿里地区"},540100:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县",540171:"格尔木藏青工业园区",540172:"拉萨经济技术开发区",540173:"西藏文化旅游创意园区",540174:"达孜工业园区"},540200:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"},540300:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"},540400:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"},540500:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"},540600:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"},542500:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"},61e4:{610100:"西安市",610200:"铜川市",610300:"宝鸡市",610400:"咸阳市",610500:"渭南市",610600:"延安市",610700:"汉中市",610800:"榆林市",610900:"安康市",611e3:"商洛市"},610100:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"},610200:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"},610300:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610305:"凤翔区",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"},610400:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"彬州市"},610500:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市"},610600:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610681:"子长市"},610700:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"},610800:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木市"},610900:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610929:"白河县",610981:"旬阳市"},611e3:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"},62e4:{620100:"兰州市",620200:"嘉峪关市",620300:"金昌市",620400:"白银市",620500:"天水市",620600:"武威市",620700:"张掖市",620800:"平凉市",620900:"酒泉市",621e3:"庆阳市",621100:"定西市",621200:"陇南市",622900:"临夏回族自治州",623e3:"甘南藏族自治州"},620100:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620171:"兰州新区"},620200:{6202011:"新城镇",620201001:"雄关街道",620201002:"钢城街道",620201101:"峪泉镇",620201102:"文殊镇"},620300:{620302:"金川区",620321:"永昌县"},620400:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"},620500:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"},620600:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"},620700:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"},620800:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭市"},620900:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市"},621e3:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"},621100:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"},621200:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"},622900:{622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"},623e3:{623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"},63e4:{630100:"西宁市",630200:"海东市",632200:"海北藏族自治州",632300:"黄南藏族自治州",632500:"海南藏族自治州",632600:"果洛藏族自治州",632700:"玉树藏族自治州",632800:"海西蒙古族藏族自治州"},630100:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630106:"湟中区",630121:"大通回族土族自治县",630123:"湟源县"},630200:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"},632200:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"},632300:{632301:"同仁市",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"},632500:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"},632600:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"},632700:{632701:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"},632800:{632801:"格尔木市",632802:"德令哈市",632803:"茫崖市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632857:"大柴旦行政委员会"},64e4:{640100:"银川市",640200:"石嘴山市",640300:"吴忠市",640400:"固原市",640500:"中卫市"},640100:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市"},640200:{640202:"大武口区",640205:"惠农区",640221:"平罗县"},640300:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市"},640400:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"},640500:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"},65e4:{650100:"乌鲁木齐市",650200:"克拉玛依市",650400:"吐鲁番市",650500:"哈密市",652300:"昌吉回族自治州",652700:"博尔塔拉蒙古自治州",652800:"巴音郭楞蒙古自治州",652900:"阿克苏地区",653e3:"克孜勒苏柯尔克孜自治州",653100:"喀什地区",653200:"和田地区",654e3:"伊犁哈萨克自治州",654200:"塔城地区",654300:"阿勒泰地区"},650100:{650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"},650200:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"},650400:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"},650500:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"},652300:{652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"},652700:{652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县"},652800:{652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652871:"库尔勒经济技术开发区"},652900:{652901:"阿克苏市",652902:"库车市",652922:"温宿县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"},653e3:{653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"},653100:{653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"},653200:{653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"},654e3:{654002:"伊宁市",654003:"奎屯市",654004:"霍尔果斯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"},654200:{654201:"塔城市",654202:"乌苏市",654203:"沙湾市",654221:"额敏县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"},654300:{654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"},71e4:{710100:"台北市",710200:"高雄市",710300:"台南市",710400:"台中市",710500:"金门县",710600:"南投县",710700:"基隆市",710800:"新竹市",710900:"嘉义市",711100:"新北市",711200:"宜兰县",711300:"新竹县",711400:"桃园县",711500:"苗栗县",711700:"彰化县",711900:"嘉义县",712100:"云林县",712400:"屏东县",712500:"台东县",712600:"花莲县",712700:"澎湖县",712800:"连江县"},710100:{710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710199:"其它区"},710200:{710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710299:"其它区"},710300:{710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710399:"其它区"},710400:{710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710499:"其它区"},710500:{710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡"},710600:{710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡"},710700:{710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710799:"其它区"},710800:{710801:"东区",710802:"北区",710803:"香山区",710899:"其它区"},710900:{710901:"东区",710902:"西区",710999:"其它区"},711100:{711130:"万里区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区"},711200:{711287:"宜兰市",711288:"头城镇",711289:"礁溪乡",711290:"壮围乡",711291:"员山乡",711292:"罗东镇",711293:"三星乡",711294:"大同乡",711295:"五结乡",711296:"冬山乡",711297:"苏澳镇",711298:"南澳乡",711299:"钓鱼台"},711300:{711387:"竹北市",711388:"湖口乡",711389:"新丰乡",711390:"新埔镇",711391:"关西镇",711392:"芎林乡",711393:"宝山乡",711394:"竹东镇",711395:"五峰乡",711396:"横山乡",711397:"尖石乡",711398:"北埔乡",711399:"峨眉乡"},711400:{711414:"中坜区",711415:"平镇区",711417:"杨梅区",711418:"新屋区",711419:"观音区",711420:"桃园区",711421:"龟山区",711422:"八德区",711423:"大溪区",711425:"大园区",711426:"芦竹区",711487:"中坜市",711488:"平镇市",711489:"龙潭乡",711490:"杨梅市",711491:"新屋乡",711492:"观音乡",711493:"桃园市",711494:"龟山乡",711495:"八德市",711496:"大溪镇",711497:"复兴乡",711498:"大园乡",711499:"芦竹乡"},711500:{711520:"头份市",711582:"竹南镇",711583:"头份镇",711584:"三湾乡",711585:"南庄乡",711586:"狮潭乡",711587:"后龙镇",711588:"通霄镇",711589:"苑里镇",711590:"苗栗市",711591:"造桥乡",711592:"头屋乡",711593:"公馆乡",711594:"大湖乡",711595:"泰安乡",711596:"铜锣乡",711597:"三义乡",711598:"西湖乡",711599:"卓兰镇"},711700:{711736:"员林市",711774:"彰化市",711775:"芬园乡",711776:"花坛乡",711777:"秀水乡",711778:"鹿港镇",711779:"福兴乡",711780:"线西乡",711781:"和美镇",711782:"伸港乡",711783:"员林镇",711784:"社头乡",711785:"永靖乡",711786:"埔心乡",711787:"溪湖镇",711788:"大村乡",711789:"埔盐乡",711790:"田中镇",711791:"北斗镇",711792:"田尾乡",711793:"埤头乡",711794:"溪州乡",711795:"竹塘乡",711796:"二林镇",711797:"大城乡",711798:"芳苑乡",711799:"二水乡"},711900:{711982:"番路乡",711983:"梅山乡",711984:"竹崎乡",711985:"阿里山乡",711986:"中埔乡",711987:"大埔乡",711988:"水上乡",711989:"鹿草乡",711990:"太保市",711991:"朴子市",711992:"东石乡",711993:"六脚乡",711994:"新港乡",711995:"民雄乡",711996:"大林镇",711997:"溪口乡",711998:"义竹乡",711999:"布袋镇"},712100:{712180:"斗南镇",712181:"大埤乡",712182:"虎尾镇",712183:"土库镇",712184:"褒忠乡",712185:"东势乡",712186:"台西乡",712187:"仑背乡",712188:"麦寮乡",712189:"斗六市",712190:"林内乡",712191:"古坑乡",712192:"莿桐乡",712193:"西螺镇",712194:"二仑乡",712195:"北港镇",712196:"水林乡",712197:"口湖乡",712198:"四湖乡",712199:"元长乡"},712400:{712451:"崁顶乡",712467:"屏东市",712468:"三地门乡",712469:"雾台乡",712470:"玛家乡",712471:"九如乡",712472:"里港乡",712473:"高树乡",712474:"盐埔乡",712475:"长治乡",712476:"麟洛乡",712477:"竹田乡",712478:"内埔乡",712479:"万丹乡",712480:"潮州镇",712481:"泰武乡",712482:"来义乡",712483:"万峦乡",712484:"莰顶乡",712485:"新埤乡",712486:"南州乡",712487:"林边乡",712488:"东港镇",712489:"琉球乡",712490:"佳冬乡",712491:"新园乡",712492:"枋寮乡",712493:"枋山乡",712494:"春日乡",712495:"狮子乡",712496:"车城乡",712497:"牡丹乡",712498:"恒春镇",712499:"满州乡"},712500:{712584:"台东市",712585:"绿岛乡",712586:"兰屿乡",712587:"延平乡",712588:"卑南乡",712589:"鹿野乡",712590:"关山镇",712591:"海端乡",712592:"池上乡",712593:"东河乡",712594:"成功镇",712595:"长滨乡",712596:"金峰乡",712597:"大武乡",712598:"达仁乡",712599:"太麻里乡"},712600:{712686:"花莲市",712687:"新城乡",712688:"太鲁阁",712689:"秀林乡",712690:"吉安乡",712691:"寿丰乡",712692:"凤林镇",712693:"光复乡",712694:"丰滨乡",712695:"瑞穗乡",712696:"万荣乡",712697:"玉里镇",712698:"卓溪乡",712699:"富里乡"},712700:{712794:"马公市",712795:"西屿乡",712796:"望安乡",712797:"七美乡",712798:"白沙乡",712799:"湖西乡"},712800:{712896:"南竿乡",712897:"北竿乡",712898:"东引乡",712899:"莒光乡"},81e4:{810100:"香港岛",810200:"九龙",810300:"新界"},810100:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区"},810200:{810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区"},810300:{810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区"},82e4:{820100:"澳门半岛",820200:"离岛"},820100:{820101:"澳门半岛"},820200:{820201:"离岛"},9e5:{900100:"其它市"},900100:{900101:"其它区"}},r={name:"v-distpicker",props:{province:{type:[String,Number],default:""},city:{type:[String,Number],default:""},area:{type:[String,Number],default:""},type:{type:String,default:""},hideArea:{type:Boolean,default:!1},onlyProvince:{type:Boolean,default:!1},staticPlaceholder:{type:Boolean,default:!1},placeholders:{type:Object,default:function(){return{province:"省",city:"市",area:"区"}}},districts:{type:[Array,Object],default:function(){return n}},disabled:{type:Boolean,default:!1},provinceDisabled:{type:Boolean,default:!1},cityDisabled:{type:Boolean,default:!1},areaDisabled:{type:Boolean,default:!1},addressHeader:{type:String,default:"address-header"},addressContainer:{type:String,default:"address-container"},wrapper:{type:String,default:"distpicker-address-wrapper"}},data:function(){return{tab:1,showCityTab:!1,showAreaTab:!1,provinces:[],cities:[],areas:[],currentProvince:this.determineType(this.province)||this.placeholders.province,currentCity:this.determineType(this.city)||this.placeholders.city,currentArea:this.determineType(this.area)||this.placeholders.area}},created:function(){if("mobile"!==this.type){this.provinces=this.getDistricts(),this.cities=this.province?this.getDistricts(this.getAreaCode(this.determineType(this.province))):[];var t=this.isDirectCity(this.province,this.city);this.areas=this.city?this.getDistricts(this.getAreaCode(this.determineType(this.city),t?this.determineType(this.city):this.area,"city")):[]}else if(!this.area||this.hideArea||this.onlyProvince)this.city&&this.hideArea&&!this.onlyProvince?(this.tab=2,this.showCityTab=!0,this.cities=this.getDistricts(this.getAreaCode(this.determineType(this.province)))):this.provinces=this.getDistricts();else{this.tab=3,this.showCityTab=!0,this.showAreaTab=!0;var e=this.isDirectCity(this.province,this.city);this.areas=this.getDistricts(this.getAreaCode(this.determineType(this.city),e?this.determineType(this.city):this.area,"city"))}},watch:{currentProvince:function(t){this.$emit("province",this.setData(t,"province")),this.onlyProvince&&this.emit("selected")},currentCity:function(t){this.$emit("city",this.setData(t,"city",this.currentProvince)),t!=this.placeholders.city&&this.hideArea&&this.emit("selected")},currentArea:function(t){this.$emit("area",this.setData(t,"area",this.currentProvince,!0)),t!=this.placeholders.area&&this.emit("selected")},province:function(t){this.currentProvince=this.province||this.placeholders.province,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province)},city:function(t){this.currentCity=this.city||this.placeholders.city,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince)},area:function(t){this.currentArea=this.area||this.placeholders.area}},methods:{setData:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{code:arguments.length>3&&void 0!==arguments[3]&&arguments[3]?this.getCodeByArea(t):this.getAreaCode(t,i,e),value:t}},getCodeByArea:function(t){for(var e={},i=Object.keys(this.areas),n=0;n<i.length;n++){var r=i[n];e[this.areas[r]]=r}return e[t]},emit:function(t){var e={province:this.setData(this.currentProvince,"province")};this.onlyProvince||this.$set(e,"city",this.setData(this.currentCity,"city",this.currentProvince)),this.onlyProvince&&!this.hideArea||this.$set(e,"area",this.setData(this.currentArea,"area",this.currentProvince,!0)),this.$emit(t,e)},getCities:function(){this.currentCity=this.placeholders.city,this.currentArea=this.placeholders.area,this.cities=this.determineValue("province",this.currentProvince,this.placeholders.province),this.cleanList("areas"),0===this.cities.length&&(this.emit("selected"),this.tab=1,this.showCityTab=!1)},getAreas:function(){this.currentArea=this.placeholders.area,this.areas=this.determineValue("city",this.currentCity,this.placeholders.city,this.currentProvince),0===this.areas.length&&(this.emit("selected"),this.tab=2,this.showAreaTab=!1)},resetProvince:function(){this.tab=1,this.provinces=this.getDistricts(),this.showCityTab=!1,this.showAreaTab=!1},resetCity:function(){this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities()},chooseProvince:function(t){this.currentProvince=t,this.onlyProvince||(this.tab=2,this.showCityTab=!0,this.showAreaTab=!1,this.getCities())},chooseCity:function(t){this.currentCity=t,this.hideArea||(this.tab=3,this.showCityTab=!0,this.showAreaTab=!0,this.getAreas())},chooseArea:function(t){this.currentArea=t},getAreaCodeByPreCode:function(t,e){var i,n=[];for(var r in this.districts)for(var o in this.districts[r])t===this.districts[r][o]&&n.push(o);return n.length>1?(n.forEach((function(t,n){(2===e.length&&t.slice(0,2)===e||4===e.length&&t.slice(0,4)!==e)&&(i=n)})),n[i]):n[0]},getAreaCode:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";for(var n in this.districts)for(var r in this.districts[n])if(t===this.districts[n][r]){if(e.length>0){var o=r;if(e){var a="city"===i?this.getAreaCode(this.currentProvince).slice(0,2):r.slice(0,2);o=this.getAreaCodeByPreCode(t,a)}if(o&&r.slice(0,2)===o.slice(0,2))return o;continue}return r}},getCodeValue:function(t){for(var e in this.districts)for(var i in this.districts[e])if(t===parseInt(i))return this.districts[e][i]},getDistricts:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e5;return this.districts[t]||[]},determineValue:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e===i?[]:this.getDistricts(this.getAreaCode(e,n,t))},determineType:function(t){return"number"==typeof t?this.getCodeValue(t):t},cleanList:function(t){this[t]=[]},isDirectCity:function(t,e){return!(!t||!e)&&this.determineType(this.province)===this.determineType(this.city)}}};i(1);var o=function(t,e,i,n,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.wrapper},["mobile"!==t.type?[i("label",[i("select",{directives:[{name:"model",rawName:"v-model",value:t.currentProvince,expression:"currentProvince"}],attrs:{disabled:t.disabled||t.provinceDisabled},on:{change:[function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentProvince=e.target.multiple?i:i[0]},t.getCities]}},[i("option",{domProps:{value:t.placeholders.province}},[t._v(t._s(t.placeholders.province))]),t._v(" "),t._l(t.provinces,(function(e,n){return i("option",{key:n,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)]),t._v(" "),t.onlyProvince?t._e():[i("label",[i("select",{directives:[{name:"model",rawName:"v-model",value:t.currentCity,expression:"currentCity"}],attrs:{disabled:t.disabled||t.cityDisabled},on:{change:[function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentCity=e.target.multiple?i:i[0]},t.getAreas]}},[i("option",{domProps:{value:t.placeholders.city}},[t._v(t._s(t.placeholders.city))]),t._v(" "),t._l(t.cities,(function(e,n){return i("option",{key:n,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)]),t._v(" "),i("label",[t.hideArea?t._e():i("select",{directives:[{name:"model",rawName:"v-model",value:t.currentArea,expression:"currentArea"}],attrs:{disabled:t.disabled||t.areaDisabled},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.currentArea=e.target.multiple?i:i[0]}}},[i("option",{domProps:{value:t.placeholders.area}},[t._v(t._s(t.placeholders.area))]),t._v(" "),t._l(t.areas,(function(e,n){return i("option",{key:n,domProps:{value:e}},[t._v("\n "+t._s(e)+"\n ")])}))],2)])]]:[i("div",{class:t.addressHeader},[i("ul",[i("li",{class:{active:1===t.tab},on:{click:t.resetProvince}},[t._v(t._s(t.currentProvince&&!t.staticPlaceholder?t.currentProvince:t.placeholders.province))]),t._v(" "),t.onlyProvince?t._e():[t.showCityTab?i("li",{class:{active:2===t.tab},on:{click:t.resetCity}},[t._v(t._s(t.currentCity&&!t.staticPlaceholder?t.currentCity:t.placeholders.city))]):t._e(),t._v(" "),t.showAreaTab&&!t.hideArea?i("li",{class:{active:3===t.tab}},[t._v(t._s(t.currentArea&&!t.staticPlaceholder?t.currentArea:t.placeholders.area))]):t._e()]],2)]),t._v(" "),i("div",{class:t.addressContainer},[1===t.tab?i("ul",t._l(t.provinces,(function(e,n){return i("li",{key:n,class:{active:e===t.currentProvince},on:{click:function(i){return t.chooseProvince(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0):t._e(),t._v(" "),t.onlyProvince?t._e():[2===t.tab?i("ul",t._l(t.cities,(function(e,n){return i("li",{key:n,class:{active:e===t.currentCity},on:{click:function(i){return t.chooseCity(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0):t._e(),t._v(" "),3!==t.tab||t.hideArea?t._e():i("ul",t._l(t.areas,(function(e,n){return i("li",{key:n,class:{active:e===t.currentArea},on:{click:function(i){return t.chooseArea(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),0)]],2)]],2)}),[],!1,null,null,null).exports;e.default=o},function(t,e,i){"use strict";function n(t,e){for(var i=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(s):i.push(n[a]={id:a,parts:[s]})}return i}i.r(e),i.d(e,"default",(function(){return f}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,c=function(){},h=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,r){u=i,h=r||{};var a=n(t,e);return g(a),function(e){for(var i=[],r=0;r<a.length;r++){var s=a[r];(l=o[s.id]).refs--,i.push(l)}for(e?g(a=n(t,e)):a=[],r=0;r<i.length;r++){var l;if(0===(l=i[r]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],n=o[i.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](i.parts[r]);for(;r<i.parts.length;r++)n.parts.push(v(i.parts[r]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var a=[];for(r=0;r<i.parts.length;r++)a.push(v(i.parts[r]));o[i.id]={id:i.id,refs:1,parts:a}}}}function m(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function v(t){var e,i,n=document.querySelector("style["+d+'~="'+t.id+'"]');if(n){if(u)return c;n.parentNode.removeChild(n)}if(p){var r=l++;n=s||(s=m()),e=_.bind(null,n,r,!1),i=_.bind(null,n,r,!0)}else n=m(),e=function(t,e){var i=e.css,n=e.media,r=e.sourceMap;if(n&&t.setAttribute("media",n),h.ssrId&&t.setAttribute(d,e.id),r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function _(t,e,i,n){var r=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}}]).default}))},"785a":function(t,e,i){var n=i("cc12"),r=n("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7867:function(t,e,i){"use strict";i("5319");var n=i("2b0e"),r=i("7460"),o=i("8716");const a=/\/?$/;function s(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in e)if(!(i in t)||String(t[i])!==String(e[i]))return!1;return!0}function l(t,e){for(const i in e)if(!(i in t))return!1;return!0}function u(t,e){return!!e&&(t.path&&e.path?t.path.replace(a,"")===e.path.replace(a,"")&&t.hash===e.hash&&s(t.query,e.query):"string"===typeof t.name&&t.name===e.name&&t.hash===e.hash&&!0===s(t.query,e.query)&&!0===s(t.params,e.params))}function c(t,e){return 0===t.path.replace(a,"/").indexOf(e.path.replace(a,"/"))&&("string"!==typeof e.hash||e.hash.length<2||t.hash===e.hash)&&!0===l(t.query,e.query)}var h=i("d882");e["a"]=n["a"].extend({name:"QRouteTab",mixins:[r["a"],o["a"]],inject:{__activateRoute:{},__recalculateScroll:{}},watch:{$route(){this.__checkActivation()}},computed:{routerTabLinkProps(){return{...this.linkProps.props,custom:!0}}},methods:{__activate(t,e){if(!0!==this.disable)if(void 0===t||!0!==t.ctrlKey&&!0!==t.shiftKey&&!0!==t.altKey&&!0!==t.metaKey){if(!0===this.hasRouterLink){void 0!==t&&Object(h["l"])(t);const e=(t=this.to,e=this.append,i=this.replace)=>{const{route:n}=this.$router.resolve(t,this.$route,e),r=t===this.to&&e===this.append?this.__checkActivation:h["g"];this.$router[!0===i?"replace":"push"](n,(()=>{r(!0)}),(t=>{t&&"NavigationDuplicated"===t.name&&r(!0)}))};void 0!==this.qListeners.click&&this.$emit("click",t,e),void 0!==t&&!1===t.navigate||e()}}else this.__checkActivation(!0);!0===e?this.$el.focus({preventScroll:!0}):void 0!==this.$refs.blurTarget&&this.$refs.blurTarget.focus({preventScroll:!0})},__checkActivation(t=!1){if(!0!==this.hasRouterLink)return;const e=this.$route,{href:i,location:n,route:r}=this.$router.resolve(this.to,e,this.append),o=void 0!==r.redirectedFrom,a=u(e,r),s=!0===this.exact?u:c,l={name:this.name,selected:t,exact:this.exact,priorityMatched:r.matched.length,priorityHref:i.length};(!0===a||!0!==this.exact&&!0===c(e,r))&&this.__activateRoute({...l,redirected:o,exact:!0===this.exact||!0===a}),!0===o&&!0===s(e,{path:r.redirectedFrom,...n})&&this.__activateRoute(l),!0===this.isActive&&this.__activateRoute()}},mounted(){this.__recalculateScroll(),void 0!==this.$router&&this.__checkActivation()},beforeDestroy(){this.__recalculateScroll(),this.__activateRoute({remove:!0,name:this.name})},render(t){return this.__renderTab(t,this.linkTag)}})},7903:function(t,e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const i={N1:3,N2:3,N3:40,N4:10};function n(t,i,n){switch(t){case e.Patterns.PATTERN000:return(i+n)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return n%3===0;case e.Patterns.PATTERN011:return(i+n)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(n/3))%2===0;case e.Patterns.PATTERN101:return i*n%2+i*n%3===0;case e.Patterns.PATTERN110:return(i*n%2+i*n%3)%2===0;case e.Patterns.PATTERN111:return(i*n%3+(i+n)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}e.isValid=function(t){return null!=t&&""!==t&&!isNaN(t)&&t>=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){const e=t.size;let n=0,r=0,o=0,a=null,s=null;for(let l=0;l<e;l++){r=o=0,a=s=null;for(let u=0;u<e;u++){let e=t.get(l,u);e===a?r++:(r>=5&&(n+=i.N1+(r-5)),a=e,r=1),e=t.get(u,l),e===s?o++:(o>=5&&(n+=i.N1+(o-5)),s=e,o=1)}r>=5&&(n+=i.N1+(r-5)),o>=5&&(n+=i.N1+(o-5))}return n},e.getPenaltyN2=function(t){const e=t.size;let n=0;for(let i=0;i<e-1;i++)for(let r=0;r<e-1;r++){const e=t.get(i,r)+t.get(i,r+1)+t.get(i+1,r)+t.get(i+1,r+1);4!==e&&0!==e||n++}return n*i.N2},e.getPenaltyN3=function(t){const e=t.size;let n=0,r=0,o=0;for(let i=0;i<e;i++){r=o=0;for(let a=0;a<e;a++)r=r<<1&2047|t.get(i,a),a>=10&&(1488===r||93===r)&&n++,o=o<<1&2047|t.get(a,i),a>=10&&(1488===o||93===o)&&n++}return n*i.N3},e.getPenaltyN4=function(t){let e=0;const n=t.data.length;for(let i=0;i<n;i++)e+=t.data[i];const r=Math.abs(Math.ceil(100*e/n/5)-10);return r*i.N4},e.applyMask=function(t,e){const i=e.size;for(let r=0;r<i;r++)for(let o=0;o<i;o++)e.isReserved(o,r)||e.xor(o,r,n(t,o,r))},e.getBestMask=function(t,i){const n=Object.keys(e.Patterns).length;let r=0,o=1/0;for(let a=0;a<n;a++){i(a),e.applyMask(a,t);const n=e.getPenaltyN1(t)+e.getPenaltyN2(t)+e.getPenaltyN3(t)+e.getPenaltyN4(t);e.applyMask(a,t),n<o&&(o=n,r=a)}return r}},7937:function(t,e,i){"use strict";i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return a})),i.d(e,"d",(function(){return s})),i.d(e,"e",(function(){return l}));const n=["B","KB","MB","GB","TB","PB"];function r(t){let e=0;while(parseInt(t,10)>=1024&&e<n.length-1)t/=1024,++e;return`${t.toFixed(1)}${n[e]}`}function o(t){return t.charAt(0).toUpperCase()+t.slice(1)}function a(t,e,i){return i<=e?e:Math.min(i,Math.max(e,t))}function s(t,e,i){if(i<=e)return e;const n=i-e+1;let r=e+(t-e)%n;return r<e&&(r=n+r),0===r?0:r}function l(t,e=2,i="0"){if(void 0===t||null===t)return t;const n=""+t;return n.length>=e?n:new Array(e-n.length+1).join(i)+n}},"79f1":function(t,e,i){"use strict";function n(t){return t.marginTop=t.marginTop||t.margin,t.marginBottom=t.marginBottom||t.margin,t.marginRight=t.marginRight||t.margin,t.marginLeft=t.marginLeft||t.margin,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},"7a29":function(t,e,i){"use strict";(function(t){i.d(e,"p",(function(){return s})),i.d(e,"j",(function(){return u})),i.d(e,"q",(function(){return h})),i.d(e,"e",(function(){return d})),i.d(e,"a",(function(){return p})),i.d(e,"b",(function(){return f})),i.d(e,"i",(function(){return g})),i.d(e,"h",(function(){return m})),i.d(e,"l",(function(){return v})),i.d(e,"n",(function(){return b})),i.d(e,"m",(function(){return _})),i.d(e,"o",(function(){return x})),i.d(e,"k",(function(){return w})),i.d(e,"d",(function(){return S})),i.d(e,"f",(function(){return C})),i.d(e,"g",(function(){return k})),i.d(e,"c",(function(){return M}));var n=i("6d8b"),r=i("41ef"),o=i("22d1"),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var i=Object(r["g"])(t);i&&(t="rgb("+i[0]+","+i[1]+","+i[2]+")",e=i[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var l=1e-4;function u(t){return t<l&&t>-l}function c(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function d(t){return"matrix("+c(t[0])+","+c(t[1])+","+c(t[2])+","+c(t[3])+","+h(t[4])+","+h(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function f(t,e,i){return"top"===i?t+=e/2:"bottom"===i&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function m(t){var e=t.style,i=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),i[0],i[1]].join(",")}function v(t){return t&&!!t.image}function y(t){return t&&!!t.svgElement}function b(t){return v(t)||y(t)}function _(t){return"linear"===t.type}function x(t){return"radial"===t.type}function w(t){return t&&("linear"===t.type||"radial"===t.type)}function S(t){return"url(#"+t+")"}function C(t){var e=t.getGlobalScale(),i=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(i)/Math.log(10)),1)}function k(t){var e=t.x||0,i=t.y||0,r=(t.rotation||0)*n["a"],o=Object(n["P"])(t.scaleX,1),s=Object(n["P"])(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||i)&&c.push("translate("+e+"px,"+i+"px)"),r&&c.push("rotate("+r+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*n["a"])+"deg, "+a(u*n["a"])+"deg)"),c.join(" ")}var M=function(){return o["a"].hasGlobalWindow&&Object(n["w"])(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,i("1c35").Buffer)},"7a43":function(t,e){function i(t){if("string"!==typeof t)throw new Error("Param is not a string");const i=t.toLowerCase();switch(i){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&"undefined"!==typeof t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,n){if(e.isValid(t))return t;try{return i(t)}catch(r){return n}}},"7a77":function(t,e,i){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},"7aac":function(t,e,i){"use strict";var n=i("c532");t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,i,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),n.isString(r)&&s.push("path="+r),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(t,e,i){var n=i("1d80"),r=Object;t.exports=function(t){return r(n(t))}},"7b1d":function(t,e,i){(function(e,i){t.exports=i()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fb15")}({"00ee":function(t,e,i){var n=i("b622"),r=n("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,i){var n=i("1c0b");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,i){var n=i("fc6a"),r=i("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(n(t))}},"06cf":function(t,e,i){var n=i("83ab"),r=i("d1e7"),o=i("5c6c"),a=i("fc6a"),s=i("c04e"),l=i("5135"),u=i("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=n?c:function(t,e){if(t=a(t),e=s(e,!0),u)try{return c(t,e)}catch(i){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},"0cb2":function(t,e,i){var n=i("7b0b"),r=Math.floor,o="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,i,l,u,c){var h=i+t.length,d=l.length,p=s;return void 0!==u&&(u=n(u),p=a),o.call(c,p,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(h);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>d){var c=r(s/10);return 0===c?n:c<=d?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):n}a=l[s-1]}return void 0===a?"":a}))}},"0cfb":function(t,e,i){var n=i("83ab"),r=i("d039"),o=i("cc12");t.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"14c3":function(t,e,i){var n=i("c6b6"),r=i("9263");t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var o=i.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"1be4":function(t,e,i){var n=i("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,i){var n=i("d039"),r=i("b622"),o=i("2d00"),a=r("species");t.exports=function(t){return o>=51||!n((function(){var e=[],i=e.constructor={};return i[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,i){var n=i("a691"),r=Math.max,o=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):o(i,e)}},"23e7":function(t,e,i){var n=i("da84"),r=i("06cf").f,o=i("9112"),a=i("6eeb"),s=i("ce4e"),l=i("e893"),u=i("94ca");t.exports=function(t,e){var i,c,h,d,p,f,g=t.target,m=t.global,v=t.stat;if(c=m?n:v?n[g]||s(g,{}):(n[g]||{}).prototype,c)for(h in e){if(p=e[h],t.noTargetGet?(f=r(c,h),d=f&&f.value):d=c[h],i=u(m?h:g+(v?".":"#")+h,t.forced),!i&&void 0!==d){if(typeof p===typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),a(c,h,p,t)}}},"241c":function(t,e,i){var n=i("ca84"),r=i("7839"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"25f0":function(t,e,i){"use strict";var n=i("6eeb"),r=i("825a"),o=i("d039"),a=i("ad6d"),s="toString",l=RegExp.prototype,u=l[s],c=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),h=u.name!=s;(c||h)&&n(RegExp.prototype,s,(function(){var t=r(this),e=String(t.source),i=t.flags,n=String(void 0===i&&t instanceof RegExp&&!("flags"in l)?a.call(t):i);return"/"+e+"/"+n}),{unsafe:!0})},2626:function(t,e,i){"use strict";var n=i("d066"),r=i("9bf2"),o=i("b622"),a=i("83ab"),s=o("species");t.exports=function(t){var e=n(t),i=r.f;a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},"2d00":function(t,e,i){var n,r,o=i("da84"),a=i("342f"),s=o.process,l=s&&s.versions,u=l&&l.v8;u?(n=u.split("."),r=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(r=n[1]))),t.exports=r&&+r},"342f":function(t,e,i){var n=i("d066");t.exports=n("navigator","userAgent")||""},"37e8":function(t,e,i){var n=i("83ab"),r=i("9bf2"),o=i("825a"),a=i("df75");t.exports=n?Object.defineProperties:function(t,e){o(t);var i,n=a(e),s=n.length,l=0;while(s>l)r.f(t,i=n[l++],e[i]);return t}},"3bbe":function(t,e,i){var n=i("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,i){"use strict";var n=i("6547").charAt,r=i("69f3"),o=i("7dd0"),a="String Iterator",s=r.set,l=r.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=n(i,r),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,i){var n=i("da84");t.exports=n},"44ad":function(t,e,i){var n=i("d039"),r=i("c6b6"),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,i){var n=i("b622"),r=i("7c73"),o=i("9bf2"),a=n("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},"44e7":function(t,e,i){var n=i("861d"),r=i("c6b6"),o=i("b622"),a=o("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},4930:function(t,e,i){var n=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"4d63":function(t,e,i){var n=i("83ab"),r=i("da84"),o=i("94ca"),a=i("7156"),s=i("9bf2").f,l=i("241c").f,u=i("44e7"),c=i("ad6d"),h=i("9f7f"),d=i("6eeb"),p=i("d039"),f=i("69f3").set,g=i("2626"),m=i("b622"),v=m("match"),y=r.RegExp,b=y.prototype,_=/a/g,x=/a/g,w=new y(_)!==_,S=h.UNSUPPORTED_Y,C=n&&o("RegExp",!w||S||p((function(){return x[v]=!1,y(_)!=_||y(x)==x||"/a/i"!=y(_,"i")})));if(C){var k=function(t,e){var i,n=this instanceof k,r=u(t),o=void 0===e;if(!n&&r&&t.constructor===k&&o)return t;w?r&&!o&&(t=t.source):t instanceof k&&(o&&(e=c.call(t)),t=t.source),S&&(i=!!e&&e.indexOf("y")>-1,i&&(e=e.replace(/y/g,"")));var s=a(w?new y(t,e):y(t,e),n?this:b,k);return S&&i&&f(s,{sticky:i}),s},M=function(t){t in k||s(k,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},O=l(y),T=0;while(O.length>T)M(O[T++]);b.constructor=k,k.prototype=b,d(r,"RegExp",k)}g("RegExp")},"4d64":function(t,e,i){var n=i("fc6a"),r=i("50c4"),o=i("23cb"),a=function(t){return function(e,i,a){var s,l=n(e),u=r(l.length),c=o(a,u);if(t&&i!=i){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,i){var n=i("a691"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},5135:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},5319:function(t,e,i){"use strict";var n=i("d784"),r=i("825a"),o=i("50c4"),a=i("a691"),s=i("1d80"),l=i("8aa5"),u=i("0cb2"),c=i("14c3"),h=Math.max,d=Math.min,p=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,i,n){var f=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=f?"$":"$0";return[function(i,n){var r=s(this),o=void 0==i?void 0:i[t];return void 0!==o?o.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!f&&g||"string"===typeof n&&-1===n.indexOf(m)){var s=i(e,t,this,n);if(s.done)return s.value}var v=r(t),y=String(this),b="function"===typeof n;b||(n=String(n));var _=v.global;if(_){var x=v.unicode;v.lastIndex=0}var w=[];while(1){var S=c(v,y);if(null===S)break;if(w.push(S),!_)break;var C=String(S[0]);""===C&&(v.lastIndex=l(y,o(v.lastIndex),x))}for(var k="",M=0,O=0;O<w.length;O++){S=w[O];for(var T=String(S[0]),A=h(d(a(S.index),y.length),0),I=[],P=1;P<S.length;P++)I.push(p(S[P]));var E=S.groups;if(b){var D=[T].concat(I,A,y);void 0!==E&&D.push(E);var L=String(n.apply(void 0,D))}else L=u(T,y,A,I,E,n);A>=M&&(k+=y.slice(M,A)+L,M=A+T.length)}return k+y.slice(M)}]}))},5692:function(t,e,i){var n=i("c430"),r=i("c6cd");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,i){var n=i("d066"),r=i("241c"),o=i("7418"),a=i("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(a(t)),i=o.f;return i?e.concat(i(t)):e}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,i){var n=i("a691"),r=i("1d80"),o=function(t){return function(e,i){var o,a,s=String(r(e)),l=n(i),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,i){var n=i("861d"),r=i("e8b5"),o=i("b622"),a=o("species");t.exports=function(t,e){var i;return r(t)&&(i=t.constructor,"function"!=typeof i||i!==Array&&!r(i.prototype)?n(i)&&(i=i[a],null===i&&(i=void 0)):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},"69f3":function(t,e,i){var n,r,o,a=i("7f9a"),s=i("da84"),l=i("861d"),u=i("9112"),c=i("5135"),h=i("c6cd"),d=i("f772"),p=i("d012"),f=s.WeakMap,g=function(t){return o(t)?r(t):n(t,{})},m=function(t){return function(e){var i;if(!l(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}};if(a){var v=h.state||(h.state=new f),y=v.get,b=v.has,_=v.set;n=function(t,e){return e.facade=t,_.call(v,t,e),e},r=function(t){return y.call(v,t)||{}},o=function(t){return b.call(v,t)}}else{var x=d("state");p[x]=!0,n=function(t,e){return e.facade=t,u(t,x,e),e},r=function(t){return c(t,x)?t[x]:{}},o=function(t){return c(t,x)}}t.exports={set:n,get:r,has:o,enforce:g,getterFor:m}},"6eeb":function(t,e,i){var n=i("da84"),r=i("9112"),o=i("5135"),a=i("ce4e"),s=i("8925"),l=i("69f3"),u=l.get,c=l.enforce,h=String(String).split("String");(t.exports=function(t,e,i,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof i&&("string"!=typeof e||o(i,"name")||r(i,"name",e),l=c(i),l.source||(l.source=h.join("string"==typeof e?e:""))),t!==n?(u?!p&&t[e]&&(d=!0):delete t[e],d?t[e]=i:r(t,e,i)):d?t[e]=i:a(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},7156:function(t,e,i){var n=i("861d"),r=i("d2bb");t.exports=function(t,e,i){var o,a;return r&&"function"==typeof(o=e.constructor)&&o!==i&&n(a=o.prototype)&&a!==i.prototype&&r(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,i){var n=i("428f"),r=i("5135"),o=i("e538"),a=i("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,i){var n=i("1d80");t.exports=function(t){return Object(n(t))}},"7c73":function(t,e,i){var n,r=i("825a"),o=i("37e8"),a=i("7839"),s=i("d012"),l=i("1be4"),u=i("cc12"),c=i("f772"),h=">",d="<",p="prototype",f="script",g=c("IE_PROTO"),m=function(){},v=function(t){return d+f+h+t+d+"/"+f+h},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),i="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}_=n?y(n):b();var t=a.length;while(t--)delete _[p][a[t]];return _()};s[g]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(m[p]=r(t),i=new m,m[p]=null,i[g]=t):i=_(),void 0===e?i:o(i,e)}},"7dd0":function(t,e,i){"use strict";var n=i("23e7"),r=i("9ed3"),o=i("e163"),a=i("d2bb"),s=i("d44e"),l=i("9112"),u=i("6eeb"),c=i("b622"),h=i("c430"),d=i("3f8c"),p=i("ae93"),f=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",y="values",b="entries",_=function(){return this};t.exports=function(t,e,i,c,p,x,w){r(i,e,c);var S,C,k,M=function(t){if(t===p&&P)return P;if(!g&&t in A)return A[t];switch(t){case v:return function(){return new i(this,t)};case y:return function(){return new i(this,t)};case b:return function(){return new i(this,t)}}return function(){return new i(this)}},O=e+" Iterator",T=!1,A=t.prototype,I=A[m]||A["@@iterator"]||p&&A[p],P=!g&&I||M(p),E="Array"==e&&A.entries||I;if(E&&(S=o(E.call(new t)),f!==Object.prototype&&S.next&&(h||o(S)===f||(a?a(S,f):"function"!=typeof S[m]&&l(S,m,_)),s(S,O,!0,!0),h&&(d[O]=_))),p==y&&I&&I.name!==y&&(T=!0,P=function(){return I.call(this)}),h&&!w||A[m]===P||l(A,m,P),d[e]=P,p)if(C={values:M(y),keys:x?P:M(v),entries:M(b)},w)for(k in C)(g||T||!(k in A))&&u(A,k,C[k]);else n({target:e,proto:!0,forced:g||T},C);return C}},"7f9a":function(t,e,i){var n=i("da84"),r=i("8925"),o=n.WeakMap;t.exports="function"===typeof o&&/native code/.test(r(o))},"825a":function(t,e,i){var n=i("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,i){var n=i("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,i){"use strict";var n=i("c04e"),r=i("9bf2"),o=i("5c6c");t.exports=function(t,e,i){var a=n(e);a in t?r.f(t,a,o(0,i)):t[a]=i}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,i){var n,r,o;(function(i,a){r=[],n=a,o="function"===typeof n?n.apply(e,r):n,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var i,n,r,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(p.stack)||a.exec(p.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),h=document.getElementsByTagName("script");l===c&&(i=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=i.replace(n,"$1").trim());for(var d=0;d<h.length;d++){if("interactive"===h[d].readyState)return h[d];if(h[d].src===l)return h[d];if(l===c&&h[d].innerHTML&&h[d].innerHTML.trim()===r)return h[d]}return null}}return t}))},8925:function(t,e,i){var n=i("c6cd"),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return r.call(t)}),t.exports=n.inspectSource},"8aa5":function(t,e,i){"use strict";var n=i("6547").charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},"90e3":function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},9112:function(t,e,i){var n=i("83ab"),r=i("9bf2"),o=i("5c6c");t.exports=n?function(t,e,i){return r.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},9263:function(t,e,i){"use strict";var n=i("ad6d"),r=i("9f7f"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,l=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=r.UNSUPPORTED_Y||r.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],h=l||c||u;h&&(s=function(t){var e,i,r,s,h=this,d=u&&h.sticky,p=n.call(h),f=h.source,g=0,m=t;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),m=String(t).slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==t[h.lastIndex-1])&&(f="(?: "+f+")",m=" "+m,g++),i=new RegExp("^(?:"+f+")",p)),c&&(i=new RegExp("^"+f+"$(?!\\s)",p)),l&&(e=h.lastIndex),r=o.call(d?i:h,m),d?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:l&&r&&(h.lastIndex=h.global?r.index+r[0].length:e),c&&r&&r.length>1&&a.call(r[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r}),t.exports=s},"94ca":function(t,e,i){var n=i("d039"),r=/#|\.prototype\./,o=function(t,e){var i=s[a(t)];return i==u||i!=l&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",u=o.POLYFILL="P";t.exports=o},"99af":function(t,e,i){"use strict";var n=i("23e7"),r=i("d039"),o=i("e8b5"),a=i("861d"),s=i("7b0b"),l=i("50c4"),u=i("8418"),c=i("65f0"),h=i("1dde"),d=i("b622"),p=i("2d00"),f=d("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",v=p>=51||!r((function(){var t=[];return t[f]=!1,t.concat()[0]!==t})),y=h("concat"),b=function(t){if(!a(t))return!1;var e=t[f];return void 0!==e?!!e:o(t)},_=!v||!y;n({target:"Array",proto:!0,forced:_},{concat:function(t){var e,i,n,r,o,a=s(this),h=c(a,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(o=-1===e?a:arguments[e],b(o)){if(r=l(o.length),d+r>g)throw TypeError(m);for(i=0;i<r;i++,d++)i in o&&u(h,d,o[i])}else{if(d>=g)throw TypeError(m);u(h,d++,o)}return h.length=d,h}})},"9bf2":function(t,e,i){var n=i("83ab"),r=i("0cfb"),o=i("825a"),a=i("c04e"),s=Object.defineProperty;e.f=n?s:function(t,e,i){if(o(t),e=a(e,!0),o(i),r)try{return s(t,e,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},"9ed3":function(t,e,i){"use strict";var n=i("ae93").IteratorPrototype,r=i("7c73"),o=i("5c6c"),a=i("d44e"),s=i("3f8c"),l=function(){return this};t.exports=function(t,e,i){var u=e+" Iterator";return t.prototype=r(n,{next:o(1,i)}),a(t,u,!1,!0),s[u]=l,t}},"9f7f":function(t,e,i){"use strict";var n=i("d039");function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4d3:function(t,e,i){"use strict";var n=i("23e7"),r=i("da84"),o=i("d066"),a=i("c430"),s=i("83ab"),l=i("4930"),u=i("fdbf"),c=i("d039"),h=i("5135"),d=i("e8b5"),p=i("861d"),f=i("825a"),g=i("7b0b"),m=i("fc6a"),v=i("c04e"),y=i("5c6c"),b=i("7c73"),_=i("df75"),x=i("241c"),w=i("057f"),S=i("7418"),C=i("06cf"),k=i("9bf2"),M=i("d1e7"),O=i("9112"),T=i("6eeb"),A=i("5692"),I=i("f772"),P=i("d012"),E=i("90e3"),D=i("b622"),L=i("e538"),j=i("746f"),R=i("d44e"),B=i("69f3"),F=i("b727").forEach,N=I("hidden"),z="Symbol",V="prototype",q=D("toPrimitive"),$=B.set,H=B.getterFor(z),G=Object[V],W=r.Symbol,U=o("JSON","stringify"),Y=C.f,X=k.f,K=w.f,Z=M.f,Q=A("symbols"),J=A("op-symbols"),tt=A("string-to-symbol-registry"),et=A("symbol-to-string-registry"),it=A("wks"),nt=r.QObject,rt=!nt||!nt[V]||!nt[V].findChild,ot=s&&c((function(){return 7!=b(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,i){var n=Y(G,e);n&&delete G[e],X(t,e,i),n&&t!==G&&X(G,e,n)}:X,at=function(t,e){var i=Q[t]=b(W[V]);return $(i,{type:z,tag:t,description:e}),s||(i.description=e),i},st=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},lt=function(t,e,i){t===G&&lt(J,e,i),f(t);var n=v(e,!0);return f(i),h(Q,n)?(i.enumerable?(h(t,N)&&t[N][n]&&(t[N][n]=!1),i=b(i,{enumerable:y(0,!1)})):(h(t,N)||X(t,N,y(1,{})),t[N][n]=!0),ot(t,n,i)):X(t,n,i)},ut=function(t,e){f(t);var i=m(e),n=_(i).concat(ft(i));return F(n,(function(e){s&&!ht.call(i,e)||lt(t,e,i[e])})),t},ct=function(t,e){return void 0===e?b(t):ut(b(t),e)},ht=function(t){var e=v(t,!0),i=Z.call(this,e);return!(this===G&&h(Q,e)&&!h(J,e))&&(!(i||!h(this,e)||!h(Q,e)||h(this,N)&&this[N][e])||i)},dt=function(t,e){var i=m(t),n=v(e,!0);if(i!==G||!h(Q,n)||h(J,n)){var r=Y(i,n);return!r||!h(Q,n)||h(i,N)&&i[N][n]||(r.enumerable=!0),r}},pt=function(t){var e=K(m(t)),i=[];return F(e,(function(t){h(Q,t)||h(P,t)||i.push(t)})),i},ft=function(t){var e=t===G,i=K(e?J:m(t)),n=[];return F(i,(function(t){!h(Q,t)||e&&!h(G,t)||n.push(Q[t])})),n};if(l||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=E(t),i=function(t){this===G&&i.call(J,t),h(this,N)&&h(this[N],e)&&(this[N][e]=!1),ot(this,e,y(1,t))};return s&&rt&&ot(G,e,{configurable:!0,set:i}),at(e,t)},T(W[V],"toString",(function(){return H(this).tag})),T(W,"withoutSetter",(function(t){return at(E(t),t)})),M.f=ht,k.f=lt,C.f=dt,x.f=w.f=pt,S.f=ft,L.f=function(t){return at(D(t),t)},s&&(X(W[V],"description",{configurable:!0,get:function(){return H(this).description}}),a||T(G,"propertyIsEnumerable",ht,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),F(_(it),(function(t){j(t)})),n({target:z,stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(tt,e))return tt[e];var i=W(e);return tt[e]=i,et[i]=e,i},keyFor:function(t){if(!st(t))throw TypeError(t+" is not a symbol");if(h(et,t))return et[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:ct,defineProperty:lt,defineProperties:ut,getOwnPropertyDescriptor:dt}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pt,getOwnPropertySymbols:ft}),n({target:"Object",stat:!0,forced:c((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(g(t))}}),U){var gt=!l||c((function(){var t=W();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}));n({target:"JSON",stat:!0,forced:gt},{stringify:function(t,e,i){var n,r=[t],o=1;while(arguments.length>o)r.push(arguments[o++]);if(n=e,(p(e)||void 0!==t)&&!st(t))return d(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!st(e))return e}),r[1]=e,U.apply(null,r)}})}W[V][q]||O(W[V],q,W[V].valueOf),R(W,z),P[N]=!0},a691:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},ac1f:function(t,e,i){"use strict";var n=i("23e7"),r=i("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,i){"use strict";var n=i("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae93:function(t,e,i){"use strict";var n,r,o,a=i("d039"),s=i("e163"),l=i("9112"),u=i("5135"),c=i("b622"),h=i("c430"),d=c("iterator"),p=!1,f=function(){return this};[].keys&&(o=[].keys(),"next"in o?(r=s(s(o)),r!==Object.prototype&&(n=r)):p=!0);var g=void 0==n||a((function(){var t={};return n[d].call(t)!==t}));g&&(n={}),h&&!g||u(n,d)||l(n,d,f),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},b041:function(t,e,i){"use strict";var n=i("00ee"),r=i("f5df");t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},b622:function(t,e,i){var n=i("da84"),r=i("5692"),o=i("5135"),a=i("90e3"),s=i("4930"),l=i("fdbf"),u=r("wks"),c=n.Symbol,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)||(s&&o(c,t)?u[t]=c[t]:u[t]=h("Symbol."+t)),u[t]}},b727:function(t,e,i){var n=i("0366"),r=i("44ad"),o=i("7b0b"),a=i("50c4"),s=i("65f0"),l=[].push,u=function(t){var e=1==t,i=2==t,u=3==t,c=4==t,h=6==t,d=7==t,p=5==t||h;return function(f,g,m,v){for(var y,b,_=o(f),x=r(_),w=n(g,m,3),S=a(x.length),C=0,k=v||s,M=e?k(f,S):i||d?k(f,0):void 0;S>C;C++)if((p||C in x)&&(y=x[C],b=w(y,C,_),t))if(e)M[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(M,y)}else switch(t){case 4:return!1;case 7:l.call(M,y)}return h?-1:u||c?c:M}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},c04e:function(t,e,i){var n=i("861d");t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},c6cd:function(t,e,i){var n=i("da84"),r=i("ce4e"),o="__core-js_shared__",a=n[o]||r(o,{});t.exports=a},c8ba:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},ca84:function(t,e,i){var n=i("5135"),r=i("fc6a"),o=i("4d64").indexOf,a=i("d012");t.exports=function(t,e){var i,s=r(t),l=0,u=[];for(i in s)!n(a,i)&&n(s,i)&&u.push(i);while(e.length>l)n(s,i=e[l++])&&(~o(u,i)||u.push(i));return u}},cc12:function(t,e,i){var n=i("da84"),r=i("861d"),o=n.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},ce4e:function(t,e,i){var n=i("da84"),r=i("9112");t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,i){var n=i("428f"),r=i("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},d1e7:function(t,e,i){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},d28b:function(t,e,i){var n=i("746f");n("iterator")},d2bb:function(t,e,i){var n=i("825a"),r=i("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(i,[]),e=i instanceof Array}catch(o){}return function(i,o){return n(i),r(o),e?t.call(i,o):i.__proto__=o,i}}():void 0)},d3b7:function(t,e,i){var n=i("00ee"),r=i("6eeb"),o=i("b041");n||r(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,i){var n=i("9bf2").f,r=i("5135"),o=i("b622"),a=o("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,a)&&n(t,a,{configurable:!0,value:e})}},d784:function(t,e,i){"use strict";i("ac1f");var n=i("6eeb"),r=i("d039"),o=i("b622"),a=i("9263"),s=i("9112"),l=o("species"),u=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),h=o("replace"),d=function(){return!!/./[h]&&""===/./[h]("a","$0")}(),p=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,h){var f=o(t),g=!r((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,i=/a/;return"split"===t&&(i={},i.constructor={},i.constructor[l]=function(){return i},i.flags="",i[f]=/./[f]),i.exec=function(){return e=!0,null},i[f](""),!e}));if(!g||!m||"replace"===t&&(!u||!c||d)||"split"===t&&!p){var v=/./[f],y=i(f,""[t],(function(t,e,i,n,r){return e.exec===a?g&&!r?{done:!0,value:v.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],_=y[1];n(String.prototype,t,b),n(RegExp.prototype,f,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}h&&s(RegExp.prototype[f],"sham",!0)}},da84:function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i("c8ba"))},ddb0:function(t,e,i){var n=i("da84"),r=i("fdbc"),o=i("e260"),a=i("9112"),s=i("b622"),l=s("iterator"),u=s("toStringTag"),c=o.values;for(var h in r){var d=n[h],p=d&&d.prototype;if(p){if(p[l]!==c)try{a(p,l,c)}catch(g){p[l]=c}if(p[u]||a(p,u,h),r[h])for(var f in o)if(p[f]!==o[f])try{a(p,f,o[f])}catch(g){p[f]=o[f]}}}},df75:function(t,e,i){var n=i("ca84"),r=i("7839");t.exports=Object.keys||function(t){return n(t,r)}},e01a:function(t,e,i){"use strict";var n=i("23e7"),r=i("83ab"),o=i("da84"),a=i("5135"),s=i("861d"),l=i("9bf2").f,u=i("e893"),c=o.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var h={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof d?new c(t):void 0===t?c():c(t);return""===t&&(h[e]=!0),e};u(d,c);var p=d.prototype=c.prototype;p.constructor=d;var f=p.toString,g="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=f.call(t);if(a(h,t))return"";var i=g?e.slice(7,-1):e.replace(m,"$1");return""===i?void 0:i}}),n({global:!0,forced:!0},{Symbol:d})}},e163:function(t,e,i){var n=i("5135"),r=i("7b0b"),o=i("f772"),a=i("e177"),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=r(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,i){var n=i("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,i){"use strict";var n=i("fc6a"),r=i("44d2"),o=i("3f8c"),a=i("69f3"),s=i("7dd0"),l="Array Iterator",u=a.set,c=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){u(this,{type:l,target:n(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},e538:function(t,e,i){var n=i("b622");e.f=n},e893:function(t,e,i){var n=i("5135"),r=i("56ef"),o=i("06cf"),a=i("9bf2");t.exports=function(t,e){for(var i=r(e),s=a.f,l=o.f,u=0;u<i.length;u++){var c=i[u];n(t,c)||s(t,c,l(e,c))}}},e8b5:function(t,e,i){var n=i("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},f5df:function(t,e,i){var n=i("00ee"),r=i("c6b6"),o=i("b622"),a=o("toStringTag"),s="Arguments"==r(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(i){}};t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=l(e=Object(t),a))?i:s?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},f772:function(t,e,i){var n=i("5692"),r=i("90e3"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},fb15:function(t,e,i){"use strict";if(i.r(e),"undefined"!==typeof window){var n=window.document.currentScript,r=i("8875");n=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var o=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(i.p=o[1])}function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,i){return e&&l(t.prototype,e),i&&l(t,i),t}i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("5319"),i("ac1f"),i("4d63"),i("25f0"),i("99af");var c=function(){return!(!window.ActiveXobject&&!("ActiveXObject"in window))},h=function(){return!!/Trident\/7\./.test(navigator.userAgent)},d=function(t){return c()||h()?t.removeNode(!0):t.remove(),t},p=function(){function t(e){s(this,t),this.standards={strict:"strict",loose:"loose",html5:"html5"},this.previewBody=null,this.close=null,this.previewBodyUtilPrintBtn=null,this.selectArray=[],this.counter=0,this.settings={standard:this.standards.html5},Object.assign(this.settings,e),this.init()}return u(t,[{key:"init",value:function(){this.counter++,this.settings.id="printArea_".concat(this.counter);var t="";this.settings.url&&!this.settings.asyncUrl&&(t=this.settings.url);var e=this;if(this.settings.asyncUrl)e.settings.asyncUrl((function(t){var i=e.getPrintWindow(t);e.settings.preview?e.previewIfrmaeLoad():e.print(i)}),e.settings.vue);else{var i=this.getPrintWindow(t);this.settings.url||this.write(i.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(i)}}},{key:"addEvent",value:function(t,e,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i}},{key:"previewIfrmaeLoad",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");if(t){var e=this,i=t.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(i,"load",(function(){e.previewBoxShow(),e.removeCanvasImg(),e.settings.previewOpenCallback()})),this.addEvent(t.querySelector(".previewBodyUtilPrintBtn"),"click",(function(){e.settings.beforeOpenCallback(),e.settings.openCallback(),i.contentWindow.print(),e.settings.closeCallback()}))}}},{key:"removeCanvasImg",value:function(){var t=this;try{if(t.elsdom)for(var e=t.elsdom.querySelectorAll(".canvasImg"),i=0;i<e.length;i++)d(e[i])}catch(n){console.log(n)}}},{key:"print",value:function(t){var e=this,i=document.getElementById(this.settings.id)||t.f,n=document.getElementById(this.settings.id).contentWindow||t.f.contentWindow,r=function(){n.focus(),e.settings.openCallback(),n.print(),d(i),e.settings.closeCallback(),e.removeCanvasImg()};e.settings.beforeOpenCallback(),e.addEvent(i,"load",(function(){r()}))}},{key:"write",value:function(t){t.open(),t.write("".concat(this.docType(),"<html>").concat(this.getHead()).concat(this.getBody(),"</html>")),t.close()}},{key:"docType",value:function(){if(this.settings.standard===this.standards.html5)return"<!DOCTYPE html>";var t=this.settings.standard===this.standards.loose?" Transitional":"",e=this.settings.standard===this.standards.loose?"loose":"strict";return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01'.concat(t,'//EN" "http://www.w3.org/TR/html4/').concat(e,'.dtd">')}},{key:"getHead",value:function(){var t="",e="",i="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,(function(e){t+=e})),[].forEach.call(document.querySelectorAll("link"),(function(t){t.href.indexOf(".css")>=0&&(e+='<link type="text/css" rel="stylesheet" href="'.concat(t.href,'" >'))}));var n=document.styleSheets;if(n&&n.length>0)for(var r=0;r<n.length;r++)try{if(n[r].cssRules||n[r].rules)for(var o=n[r].cssRules||n[r].rules,a=0;a<o.length;a++)i+=o[a].cssText}catch(s){console.log(n[r].href+s)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,(function(t){e+='<link type="text/css" rel="stylesheet" href="'.concat(t,'">')})),"<head><title>".concat(this.settings.popTitle,"</title>").concat(t).concat(e,'<style type="text/css">').concat(i,"</style></head>")}},{key:"getBody",value:function(){var t=this.settings.ids;t=t.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(t));var e=this.getFormData(this.elsdom),i=e.outerHTML;return"<body>"+i+"</body>"}},{key:"beforeHanler",value:function(t){for(var e=t.querySelectorAll("canvas"),i=0;i<e.length;i++)if(!e[i].style.display){var n=e[i].parentNode,r=e[i].toDataURL("image/png"),o=new Image;o.className="canvasImg",o.style.display="none",o.src=r,n.appendChild(o)}return t}},{key:"getFormData",value:function(t){for(var e=t.cloneNode(!0),i=e.querySelectorAll("input,select,textarea"),n=e.querySelectorAll(".canvasImg,canvas"),r=-1,o=0;o<n.length;o++){var a=n[o].parentNode,s=n[o];"canvas"===s.tagName.toLowerCase()?a.removeChild(s):s.style.display="block"}for(var l=0;l<i.length;l++){var u=i[l],c=u.getAttribute("type"),h=i[l];if(c||(c="SELECT"===u.tagName?"select":"TEXTAREA"===u.tagName?"textarea":""),"INPUT"===u.tagName)"radio"===c||"checkbox"===c?u.checked&&h.setAttribute("checked",u.checked):(h.value=u.value,h.setAttribute("value",u.value));else if("select"===c){r++;for(var d=0;d<t.querySelectorAll("select").length;d++){var p=t.querySelectorAll("select")[d];if(!p.getAttribute("newbs")&&p.setAttribute("newbs",d),p.getAttribute("newbs")==r){var f=t.querySelectorAll("select")[r].selectedIndex;u.options[f].setAttribute("selected",!0)}}}else h.innerHTML=u.value,h.setAttribute("html",u.value)}return e}},{key:"getPrintWindow",value:function(t){var e=this.Iframe(t);return{f:e,win:e.contentWindow||e,doc:e.doc}}},{key:"previewBoxShow",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");t&&(document.querySelector("html").setAttribute("style","overflow: hidden"),t.style.display="block")}},{key:"previewBoxHide",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox");t&&(document.querySelector("html").setAttribute("style","overflow: visible;"),t.querySelector("iframe")&&d(t.querySelector("iframe")),t.style.display="none")}},{key:"previewBox",value:function(){var t=document.getElementById("vue-pirnt-nb-previewBox"),e="previewBody";if(t)return t.querySelector("iframe")&&d(t.querySelector("iframe")),{close:t.querySelector(".previewClose"),previewBody:t.querySelector(".".concat(e))};var i=document.createElement("div");i.setAttribute("id","vue-pirnt-nb-previewBox"),i.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),i.style.zIndex=this.settings.zIndex;var n=document.createElement("div");n.setAttribute("class","previewHeader"),n.setAttribute("style","padding: 5px 20px;"),n.innerHTML=this.settings.previewTitle,i.appendChild(n),this.close=document.createElement("div");var r=this.close;r.setAttribute("class","previewClose"),r.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");var o=document.createElement("div"),a=document.createElement("div");o.setAttribute("class","closeBefore"),o.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),a.setAttribute("class","closeAfter"),a.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),r.appendChild(o),r.appendChild(a),n.appendChild(r),this.previewBody=document.createElement("div");var s=this.previewBody;s.setAttribute("class",e),s.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),i.appendChild(s);var l=document.createElement("div");l.setAttribute("class","previewBodyUtil"),l.setAttribute("style","height: 32px;background: #474747;position: relative;"),s.appendChild(l),this.previewBodyUtilPrintBtn=document.createElement("div");var u=this.previewBodyUtilPrintBtn;return u.setAttribute("class","previewBodyUtilPrintBtn"),u.innerHTML=this.settings.previewPrintBtnLabel,u.setAttribute("style","position: absolute;padding: 2px 10px;margin-top: 3px;left: 24px;font-size: 14px;color: white;cursor: pointer;background-color: rgba(0,0,0,.12);background-image: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid rgba(0,0,0,.35);border-color: rgba(0,0,0,.32) rgba(0,0,0,.38) rgba(0,0,0,.42);box-shadow: inset 0 1px 0 hsla(0,0%,100%,.05), inset 0 0 1px hsla(0,0%,100%,.15), 0 1px 0 hsla(0,0%,100%,.05);"),l.appendChild(u),document.body.appendChild(i),{close:this.close,previewBody:this.previewBody}}},{key:"iframeBox",value:function(t,e){var i=document.createElement("iframe");return i.style.border="0px",i.style.position="absolute",i.style.width="0px",i.style.height="0px",i.style.right="0px",i.style.top="0px",i.setAttribute("id",t),i.setAttribute("src",e),i}},{key:"Iframe",value:function(t){var e=this.settings.id;t=t||(new Date).getTime();var i=this,n=this.iframeBox(e,t);try{if(this.settings.preview){n.setAttribute("style","border: 0px;flex: 1;");var r=this.previewBox(),o=r.previewBody,a=r.close;o.appendChild(n),this.addEvent(a,"click",(function(){i.previewBoxHide()}))}else document.body.appendChild(n);n.doc=null,n.doc=n.contentDocument?n.contentDocument:n.contentWindow?n.contentWindow.document:n.document}catch(s){throw new Error(s+". iframes may not be supported in this browser.")}if(null==n.doc)throw new Error("Cannot find document.");return n}}]),t}(),f=function(t,e,i){t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},g={directiveName:"print",bind:function(t,e,i){var n=i.context,r="";f(t,"click",(function(){n.$nextTick((function(){var t,i;if(null!==e&&void 0!==e&&null!==(t=e.value)&&void 0!==t&&t.clickMounted&&e.value.clickMounted(n),"string"===typeof e.value)r=e.value,o();else if("object"===a(e.value)&&e.value.id){r=e.value.id;var s=r.replace(new RegExp("#","g"),""),l=document.getElementById(s);l||(console.log("id in Error"),r=""),o()}else{if(null===e||void 0===e||null===(i=e.value)||void 0===i||!i.preview)return void window.print();o()}}))}));var o=function(){new p({ids:r,vue:n,url:e.value.url,standard:"",extraHead:e.value.extraHead,extraCss:e.value.extraCss,previewTitle:e.value.previewTitle||"打印预览",zIndex:e.value.zIndex||20002,previewPrintBtnLabel:e.value.previewPrintBtnLabel||"打印",popTitle:e.value.popTitle,preview:e.value.preview||!1,asyncUrl:e.value.asyncUrl,previewBeforeOpenCallback:function(){e.value.previewBeforeOpenCallback&&e.value.previewBeforeOpenCallback(n)},previewOpenCallback:function(){e.value.previewOpenCallback&&e.value.previewOpenCallback(n)},openCallback:function(){e.value.openCallback&&e.value.openCallback(n)},closeCallback:function(){e.value.closeCallback&&e.value.closeCallback(n)},beforeOpenCallback:function(){e.value.beforeOpenCallback&&e.value.beforeOpenCallback(n)}})}},install:function(t){t.directive("print",g)}},m=g;e["default"]=m},fc6a:function(t,e,i){var n=i("44ad"),r=i("1d80");t.exports=function(t){return n(r(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,i){var n=i("4930");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}))},"7ba0":function(t,e){function i(){this.buffer=[],this.length=0}i.prototype={get:function(t){const e=Math.floor(t/8);return 1===(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(let i=0;i<e;i++)this.putBit(1===(t>>>e-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=i},"7bf0":function(t,e){let i;const n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){let e=0;while(0!==t)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!==typeof t)throw new Error('"toSJISFunc" is not a valid function.');i=t},e.isKanjiModeEnabled=function(){return"undefined"!==typeof i},e.toSJIS=function(t){return i(t)}},"7c73":function(t,e,i){var n,r=i("825a"),o=i("37e8"),a=i("7839"),s=i("d012"),l=i("1be4"),u=i("cc12"),c=i("f772"),h=">",d="<",p="prototype",f="script",g=c("IE_PROTO"),m=function(){},v=function(t){return d+f+h+t+d+"/"+f+h},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),i="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}_="undefined"!=typeof document?document.domain&&n?y(n):b():y(n);var t=a.length;while(t--)delete _[p][a[t]];return _()};s[g]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(m[p]=r(t),i=new m,m[p]=null,i[g]=t):i=_(),void 0===e?i:o.f(i,e)}},"7cb9":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){s(this,e);var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.number=parseInt(t,10),n}return u(e,t),n(e,[{key:"encode",value:function(){var t=this.number,e="";while(!isNaN(t)&&0!=t)t%2===0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return e=e.slice(0,-2),{data:e,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(o.default);e.pharmacode=c},"7cbe":function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("24e8"),o=i("4e73"),a=i("c474"),s=i("dde5"),l=i("f376"),u=i("87e8");e["a"]=n["a"].extend({name:"QPopupProxy",mixins:[l["b"],u["a"],a["a"]],props:{breakpoint:{type:[String,Number],default:450}},data(){const t=parseInt(this.breakpoint,10);return{type:this.$q.screen.width<t||this.$q.screen.height<t?"dialog":"menu"}},computed:{parsedBreakpoint(){return parseInt(this.breakpoint,10)},onEvents(){return{...this.qListeners,hide:this.__onHide}}},watch:{"$q.screen.width"(t){!0!==this.$refs.popup.showing&&this.__updateType(t,this.$q.screen.height,this.parsedBreakpoint)},"$q.screen.height"(t){!0!==this.$refs.popup.showing&&this.__updateType(this.$q.screen.width,t,this.parsedBreakpoint)},breakpoint(t){!0!==this.$refs.popup.showing&&this.__updateType(this.$q.screen.width,this.$q.screen.height,parseInt(t,10))}},methods:{toggle(t){this.$refs.popup.toggle(t)},show(t){this.$refs.popup.show(t)},hide(t){this.$refs.popup.hide(t)},__onHide(t){this.__updateType(this.$q.screen.width,this.$q.screen.height,this.parsedBreakpoint),this.$emit("hide",t)},__updateType(t,e,i){const n=t<i||e<i?"dialog":"menu";this.type!==n&&(this.type=n)}},render(t){const e=Object(s["c"])(this,"default"),i="menu"===this.type&&void 0!==e&&void 0!==e[0]&&void 0!==e[0].componentOptions&&void 0!==e[0].componentOptions.Ctor&&void 0!==e[0].componentOptions.Ctor.sealedOptions&&["QDate","QTime","QCarousel","QColor"].includes(e[0].componentOptions.Ctor.sealedOptions.name)?{cover:!0,maxHeight:"99vh"}:{},n={ref:"popup",props:{...i,...this.qAttrs},on:this.onEvents};let a;return"dialog"===this.type?a=r["a"]:(a=o["a"],n.props.target=this.target,n.props.contextMenu=this.contextMenu,n.props.noParentEvent=!0,n.props.separateClosePopup=!0),t(a,n,e)}})},"7d6e":function(t,e,i){},"7dd0":function(t,e,i){"use strict";var n=i("23e7"),r=i("c65b"),o=i("c430"),a=i("5e77"),s=i("1626"),l=i("9ed3"),u=i("e163"),c=i("d2bb"),h=i("d44e"),d=i("9112"),p=i("cb2d"),f=i("b622"),g=i("3f8c"),m=i("ae93"),v=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,x=f("iterator"),w="keys",S="values",C="entries",k=function(){return this};t.exports=function(t,e,i,a,f,m,M){l(i,e,a);var O,T,A,I=function(t){if(t===f&&j)return j;if(!_&&t in D)return D[t];switch(t){case w:return function(){return new i(this,t)};case S:return function(){return new i(this,t)};case C:return function(){return new i(this,t)}}return function(){return new i(this)}},P=e+" Iterator",E=!1,D=t.prototype,L=D[x]||D["@@iterator"]||f&&D[f],j=!_&&L||I(f),R="Array"==e&&D.entries||L;if(R&&(O=u(R.call(new t)),O!==Object.prototype&&O.next&&(o||u(O)===b||(c?c(O,b):s(O[x])||p(O,x,k)),h(O,P,!0,!0),o&&(g[P]=k))),v&&f==S&&L&&L.name!==S&&(!o&&y?d(D,"name",S):(E=!0,j=function(){return r(L,this)})),f)if(T={values:I(S),keys:m?j:I(w),entries:I(C)},M)for(A in T)(_||E||!(A in D))&&p(D,A,T[A]);else n({target:e,proto:!0,forced:_||E},T);return o&&!M||D[x]===j||p(D,x,j,{name:f}),g[e]=j,T}},"7ee0":function(t,e,i){"use strict";var n=i("0967"),r=i("463c"),o=i("87e8");e["a"]={mixins:[r["a"],o["a"]],props:{value:{type:Boolean,default:void 0}},data(){return{showing:!1}},watch:{value(t){this.__processModelChange(t)},$route(){!0===this.hideOnRouteChange&&!0===this.showing&&this.hide()}},methods:{toggle(t){this[!0===this.showing?"hide":"show"](t)},show(t){!0===this.disable||void 0!==this.__showCondition&&!0!==this.__showCondition(t)||(void 0!==this.qListeners.input&&!1===n["e"]&&(this.$emit("input",!0),this.payload=t,this.$nextTick((()=>{this.payload===t&&(this.payload=void 0)}))),void 0!==this.value&&void 0!==this.qListeners.input&&!0!==n["e"]||this.__processShow(t))},__processShow(t){!0!==this.showing&&(void 0!==this.__preparePortal&&this.__preparePortal(),this.showing=!0,this.$emit("before-show",t),void 0!==this.__show?(this.__clearTick(),this.__show(t),this.__prepareTick()):this.$emit("show",t))},hide(t){!0!==this.disable&&(void 0!==this.qListeners.input&&!1===n["e"]&&(this.$emit("input",!1),this.payload=t,this.$nextTick((()=>{this.payload===t&&(this.payload=void 0)}))),void 0!==this.value&&void 0!==this.qListeners.input&&!0!==n["e"]||this.__processHide(t))},__processHide(t){!1!==this.showing&&(this.showing=!1,this.$emit("before-hide",t),void 0!==this.__hide?(this.__clearTick(),this.__hide(t),this.__prepareTick()):this.$emit("hide",t))},__processModelChange(t){!0===this.disable&&!0===t?void 0!==this.qListeners.input&&this.$emit("input",!1):!0===t!==this.showing&&this["__process"+(!0===t?"Show":"Hide")](this.payload)}}}},"7f67":function(t,e,i){"use strict";var n=i("9e62"),r=i("d728");function o(t){if(!1===t)return 0;if(!0===t||void 0===t)return 1;const e=parseInt(t,10);return isNaN(e)?0:e}function a(t){const e=t.__qclosepopup;void 0!==e&&(t.removeEventListener("click",e.handler),t.removeEventListener("keyup",e.handlerKey),delete t.__qclosepopup)}e["a"]={name:"close-popup",bind(t,{value:e},i){void 0!==t.__qclosepopup&&(a(t),t.__qclosepopup_destroyed=!0);const s={depth:o(e),handler(t){0!==s.depth&&setTimeout((()=>{Object(n["b"])(i.componentInstance||i.context,t,s.depth)}))},handlerKey(t){!0===Object(r["a"])(t,13)&&s.handler(t)}};t.__qclosepopup=s,t.addEventListener("click",s.handler),t.addEventListener("keyup",s.handlerKey)},update(t,{value:e,oldValue:i}){void 0!==t.__qclosepopup&&e!==i&&(t.__qclosepopup.depth=o(e))},unbind(t){void 0===t.__qclosepopup_destroyed?a(t):delete t.__qclosepopup_destroyed}}},"7f9a":function(t,e,i){var n=i("da84"),r=i("1626"),o=i("8925"),a=n.WeakMap;t.exports=r(a)&&/native code/.test(o(a))},"805f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("124f"),r=a(n),o=i("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),t+=(0,o.mod11)(t),t+=(0,o.mod10)(t),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return u(e,t),e}(r.default);e.default=c},8169:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8");e["a"]=n["a"].extend({name:"QChatMessage",mixins:[r["a"]],props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelSanitize:Boolean,nameSanitize:Boolean,textSanitize:Boolean,stampSanitize:Boolean},computed:{textClass(){return`q-message-text-content q-message-text-content--${this.op}`+(void 0!==this.textColor?` text-${this.textColor}`:"")},messageClass(){return`q-message-text q-message-text--${this.op}`+(void 0!==this.bgColor?` text-${this.bgColor}`:"")},containerClass(){return"q-message-container row items-end no-wrap"+(!0===this.sent?" reverse":"")},sizeClass(){if(void 0!==this.size)return`col-${this.size}`},op(){return!0===this.sent?"sent":"received"}},methods:{__wrapStamp(t,e){if(void 0!==this.$scopedSlots.stamp)return[e,t("div",{staticClass:"q-message-stamp"},this.$scopedSlots.stamp())];if(this.stamp){const i=!0===this.stampSanitize?"textContent":"innerHTML";return[e,t("div",{staticClass:"q-message-stamp",domProps:{[i]:this.stamp}})]}return[e]},__getText(t,e,i){const n=!0===this.textSanitize?"textContent":"innerHTML";if(!0===i&&!0===e.some((t=>void 0===t.tag&&void 0!==t.text)))return[t("div",{class:this.messageClass},[t("div",{class:this.textClass},this.__wrapStamp(t,t("div",e)))])];const r=!0!==i?e=>t("div",{domProps:{[n]:e}}):e.length>1?t=>t:e=>t("div",[e]);return e.map(((e,i)=>t("div",{key:i,class:this.messageClass},[t("div",{class:this.textClass},this.__wrapStamp(t,r(e)))])))}},render(t){const e=[];void 0!==this.$scopedSlots.avatar?e.push(this.$scopedSlots.avatar()):void 0!==this.avatar&&e.push(t("img",{class:`q-message-avatar q-message-avatar--${this.op}`,attrs:{src:this.avatar,"aria-hidden":"true"}}));const i=[];void 0!==this.$scopedSlots.name?i.push(t("div",{class:`q-message-name q-message-name--${this.op}`},this.$scopedSlots.name())):void 0!==this.name&&i.push(t("div",{class:`q-message-name q-message-name--${this.op}`,domProps:{[!0===this.nameSanitize?"textContent":"innerHTML"]:this.name}})),void 0!==this.text&&i.push(this.__getText(t,this.text)),void 0!==this.$scopedSlots.default&&i.push(this.__getText(t,this.$scopedSlots.default(),!0)),e.push(t("div",{class:this.sizeClass},i));const n=[];return void 0!==this.$scopedSlots.label?n.push(t("div",{staticClass:"q-message-label"},this.$scopedSlots.label())):void 0!==this.label&&n.push(t("div",{staticClass:"q-message-label",domProps:{[!0===this.labelSanitize?"textContent":"innerHTML"]:this.label}})),n.push(t("div",{class:this.containerClass},e)),t("div",{class:`q-message q-message-${this.op}`,on:{...this.qListeners}},n)}})},"81d5":function(t,e,i){"use strict";var n=i("7b0b"),r=i("23cb"),o=i("07fa");t.exports=function(t){var e=n(this),i=o(e),a=arguments.length,s=r(a>1?arguments[1]:void 0,i),l=a>2?arguments[2]:void 0,u=void 0===l?i:r(l,i);while(u>s)e[s++]=t;return e}},"81e7":function(t,e,i){"use strict";i.d(e,"c",(function(){return x})),i.d(e,"a",(function(){return w}));i("caad");var n=i("c0a8"),r=i("0967"),o=i("09f9"),a=(i("5319"),i("2b0e")),s=i("d882");const l={isActive:!1,mode:!1,install(t,e,{dark:i}){if(this.isActive=!0===i,!0===r["e"])return e.server.push(((t,e)=>{t.dark={isActive:!1,mode:!1,set:i=>{e.ssr.Q_BODY_CLASSES=e.ssr.Q_BODY_CLASSES.replace(" body--light","").replace(" body--dark","")+" body--"+(!0===i?"dark":"light"),t.dark.isActive=!0===i,t.dark.mode=i},toggle:()=>{t.dark.set(!1===t.dark.isActive)}},t.dark.set(i)})),void(this.set=s["g"]);const n=void 0!==i&&i;if(!0===r["c"]){const t=t=>{this.__fromSSR=t},i=this.set;this.set=t,t(n),e.takeover.push((()=>{this.set=i,this.set(this.__fromSSR)}))}else this.set(n);a["a"].util.defineReactive(this,"isActive",this.isActive),a["a"].util.defineReactive(t,"dark",this)},set(t){this.mode=t,"auto"===t?(void 0===this.__media&&(this.__media=window.matchMedia("(prefers-color-scheme: dark)"),this.__updateMedia=()=>{this.set("auto")},this.__media.addListener(this.__updateMedia)),t=this.__media.matches):void 0!==this.__media&&(this.__media.removeListener(this.__updateMedia),this.__media=void 0),this.isActive=!0===t,document.body.classList.remove("body--"+(!0===t?"light":"dark")),document.body.classList.add("body--"+(!0===t?"dark":"light"))},toggle(){l.set(!1===l.isActive)},__media:void 0};var u=l,c=i("582c"),h=i("ec5d");i("d9e2");function d(t,e,i=document.body){if("string"!==typeof t)throw new TypeError("Expected a string as color");if("string"!==typeof e)throw new TypeError("Expected a string as value");if(!(i instanceof Element))throw new TypeError("Expected a DOM element");i.style.setProperty(`--q-color-${t}`,e)}var p=i("d728");function f(t){return!0===t.ios?"ios":!0===t.android?"android":void 0}function g({is:t,has:e,within:i},n){const r=[!0===t.desktop?"desktop":"mobile",(!1===e.touch?"no-":"")+"touch"];if(!0===t.mobile){const e=f(t);void 0!==e&&r.push("platform-"+e)}if(!0===t.nativeMobile){const e=t.nativeMobileWrapper;r.push(e),r.push("native-mobile"),!0!==t.ios||void 0!==n[e]&&!1===n[e].iosStatusBarPadding||r.push("q-ios-padding")}else!0===t.electron?r.push("electron"):!0===t.bex&&r.push("bex");return!0===i.iframe&&r.push("within-iframe"),r}function m(){const t=document.body.className;let e=t;void 0!==r["d"]&&(e=e.replace("desktop","platform-ios mobile")),!0===r["a"].has.touch&&(e=e.replace("no-touch","touch")),!0===r["a"].within.iframe&&(e+=" within-iframe"),t!==e&&(document.body.className=e)}function v(t){for(const e in t)d(e,t[e])}var y={install(t,e){if(!0!==r["e"]){if(!0===r["c"])m();else{const t=g(r["a"],e);!0===r["a"].is.ie&&11===r["a"].is.versionNumber?t.forEach((t=>document.body.classList.add(t))):document.body.classList.add.apply(document.body.classList,t)}void 0!==e.brand&&v(e.brand),!0===r["a"].is.ios&&document.body.addEventListener("touchstart",s["g"]),window.addEventListener("keydown",p["b"],!0)}else t.server.push(((t,i)=>{const n=g(t.platform,e),r=i.ssr.setBodyClasses;void 0!==e.screen&&!0===e.screen.bodyClass&&n.push("screen--xs"),"function"===typeof r?r(n):i.ssr.Q_BODY_CLASSES=n.join(" ")}))}},b=i("9071");const _=[r["b"],o["a"],u],x={server:[],takeover:[]},w={version:n["a"],config:{}};e["b"]=function(t,e={}){if(!0===this.__qInstalled)return;this.__qInstalled=!0;const i=w.config=Object.freeze(e.config||{});if(r["b"].install(w,x),y.install(x,i),u.install(w,x,i),o["a"].install(w,x,i),c["a"].install(i),h["a"].install(w,x,e.lang),b["a"].install(w,x,e.iconSet),!0===r["e"]?t.mixin({beforeCreate(){this.$q=this.$root.$options.$q}}):t.prototype.$q=w,e.components&&Object.keys(e.components).forEach((i=>{const n=e.components[i];"function"===typeof n&&t.component(n.options.name,n)})),e.directives&&Object.keys(e.directives).forEach((i=>{const n=e.directives[i];void 0!==n.name&&void 0!==n.unbind&&t.directive(n.name,n)})),e.plugins){const t={$q:w,queues:x,cfg:i};Object.keys(e.plugins).forEach((i=>{const n=e.plugins[i];"function"===typeof n.install&&!1===_.includes(n)&&n.install(t)}))}}},"823b":function(t,e,i){"use strict";var n=i("2b0e"),r=i("ae22"),o=i("dde5");e["a"]=n["a"].extend({name:"QTabPanel",mixins:[r["a"]],render(t){return t("div",{staticClass:"q-tab-panel",on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"825a":function(t,e,i){var n=i("861d"),r=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(r(t)+" is not an object")}},"83ab":function(t,e,i){var n=i("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(t,e,i){"use strict";var n=i("d925"),r=i("e683");t.exports=function(t,e){return t&&!n(e)?r(t,e):e}},8418:function(t,e,i){"use strict";var n=i("a04b"),r=i("9bf2"),o=i("5c6c");t.exports=function(t,e,i){var a=n(e);a in t?r.f(t,a,o(0,i)):t[a]=i}},"848b":function(t,e,i){"use strict";var n=i("4a0c"),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}}));var o={},a=n.version.split(".");function s(t,e){for(var i=e?e.split("."):a,n=t.split("."),r=0;r<3;r++){if(i[r]>n[r])return!0;if(i[r]<n[r])return!1}return!1}function l(t,e,i){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),r=n.length;while(r-- >0){var o=n[r],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==i)throw Error("Unknown option "+o)}}r.transitional=function(t,e,i){var r=e&&s(e);function a(t,e){return"[Axios v"+n.version+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return function(i,n,s){if(!1===t)throw new Error(a(n," has been removed in "+e));return r&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,n,s)}},t.exports={isOlderVersion:s,assertOptions:l,validators:r}},8572:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0967"),o=i("0016"),a=i("0d59");i("caad"),i("ddb0");const s=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,l=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,u=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,c=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,h=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,d={date:t=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(t),time:t=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(t),fulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(t),timeOrFulltime:t=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(t),email:t=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t),hexColor:t=>s.test(t),hexaColor:t=>l.test(t),hexOrHexaColor:t=>u.test(t),rgbColor:t=>c.test(t),rgbaColor:t=>h.test(t),rgbOrRgbaColor:t=>c.test(t)||h.test(t),hexOrRgbColor:t=>s.test(t)||c.test(t),hexaOrRgbaColor:t=>l.test(t)||h.test(t),anyColor:t=>u.test(t)||c.test(t)||h.test(t)};var p=i("1c16");const f=[!0,!1,"ondemand"];var g={props:{value:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],validator:t=>f.includes(t)}},data(){return{isDirty:null,innerError:!1,innerErrorMessage:void 0}},watch:{value(){this.__validateIfNeeded()},disable(t){!0===t?this.__resetValidation():this.__validateIfNeeded(!0)},reactiveRules:{handler(t){!0===t?void 0===this.unwatchRules&&(this.unwatchRules=this.$watch("rules",(()=>{this.__validateIfNeeded(!0)}))):void 0!==this.unwatchRules&&(this.unwatchRules(),this.unwatchRules=void 0)},immediate:!0},focused(t){!0===t?null===this.isDirty&&(this.isDirty=!1):!1===this.isDirty&&(this.isDirty=!0,!0===this.hasActiveRules&&"ondemand"!==this.lazyRules&&!1===this.innerLoading&&this.debouncedValidate())},hasError(t){const e=document.getElementById(this.targetUid);null!==e&&e.setAttribute("aria-invalid",!0===t)}},computed:{hasRules(){return void 0!==this.rules&&null!==this.rules&&this.rules.length>0},hasActiveRules(){return!0!==this.disable&&!0===this.hasRules},hasError(){return!0===this.error||!0===this.innerError},computedErrorMessage(){return"string"===typeof this.errorMessage&&this.errorMessage.length>0?this.errorMessage:this.innerErrorMessage}},created(){this.debouncedValidate=Object(p["a"])(this.validate,0)},mounted(){this.validateIndex=0},beforeDestroy(){void 0!==this.unwatchRules&&this.unwatchRules(),this.debouncedValidate.cancel()},methods:{resetValidation(){this.isDirty=null,this.__resetValidation()},validate(t=this.value){if(!0!==this.hasActiveRules)return!0;const e=++this.validateIndex;!0!==this.innerLoading&&!0!==this.lazyRules&&(this.isDirty=!0);const i=(t,e)=>{this.innerError!==t&&(this.innerError=t);const i=e||void 0;this.innerErrorMessage!==i&&(this.innerErrorMessage=i),!1!==this.innerLoading&&(this.innerLoading=!1)},n=[];for(let r=0;r<this.rules.length;r++){const e=this.rules[r];let o;if("function"===typeof e?o=e(t):"string"===typeof e&&void 0!==d[e]&&(o=d[e](t)),!1===o||"string"===typeof o)return i(!0,o),!1;!0!==o&&void 0!==o&&n.push(o)}return 0===n.length?(i(!1),!0):(!0!==this.innerLoading&&(this.innerLoading=!0),Promise.all(n).then((t=>{if(void 0===t||!1===Array.isArray(t)||0===t.length)return e===this.validateIndex&&i(!1),!0;const n=t.find((t=>!1===t||"string"===typeof t));return e===this.validateIndex&&i(void 0!==n,n),void 0===n}),(t=>(e===this.validateIndex&&(console.error(t),i(!0)),!1))))},__resetValidation(){this.debouncedValidate.cancel(),this.validateIndex++,this.innerLoading=!1,this.innerError=!1,this.innerErrorMessage=void 0},__validateIfNeeded(t){!0===this.hasActiveRules&&"ondemand"!==this.lazyRules&&(!0===this.isDirty||!0!==this.lazyRules&&!0!==t)&&this.debouncedValidate()}}},m=i("b7fa"),v=i("f376"),y=i("dde5");i("5cc6"),i("907a"),i("735e"),i("3c5d"),i("219c"),i("fa9e"),i("77d9");let b,_=0;const x=new Array(256);for(let T=0;T<256;T++)x[T]=(T+256).toString(16).substr(1);const w=(()=>{const t="undefined"!==typeof crypto?crypto:"undefined"!==typeof window?window.msCrypto:void 0;if(void 0!==t){if(void 0!==t.randomBytes)return t.randomBytes;if(void 0!==t.getRandomValues)return e=>{var i=new Uint8Array(e);return t.getRandomValues(i),i}}return t=>{const e=[];for(let i=t;i>0;i--)e.push(Math.floor(256*Math.random()));return e}})(),S=4096;var C=function(){(void 0===b||_+16>S)&&(_=0,b=w(S));const t=Array.prototype.slice.call(b,_,_+=16);return t[6]=15&t[6]|64,t[8]=63&t[8]|128,x[t[0]]+x[t[1]]+x[t[2]]+x[t[3]]+"-"+x[t[4]]+x[t[5]]+"-"+x[t[6]]+x[t[7]]+"-"+x[t[8]]+x[t[9]]+"-"+x[t[10]]+x[t[11]]+x[t[12]]+x[t[13]]+x[t[14]]+x[t[15]]},k=i("d882"),M=i("e704");function O(t){return void 0===t?`f_${C()}`:t}e["a"]=n["a"].extend({name:"QField",mixins:[m["a"],g,v["b"]],inheritAttrs:!1,props:{label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String],maxValues:[Number,String]},data(){return{focused:!1,targetUid:O(this.for),innerLoading:!1}},watch:{for(t){this.targetUid=O(t)}},computed:{editable(){return!0!==this.disable&&!0!==this.readonly},hasValue(){const t=void 0===this.__getControl?this.value:this.innerValue;return void 0!==t&&null!==t&&(""+t).length>0},computedCounter(){if(!1!==this.counter){const t="string"===typeof this.value||"number"===typeof this.value?(""+this.value).length:!0===Array.isArray(this.value)?this.value.length:0,e=void 0!==this.maxlength?this.maxlength:this.maxValues;return t+(void 0!==e?" / "+e:"")}},floatingLabel(){return!0===this.stackLabel||!0===this.focused||"string"===typeof this.inputValue&&this.inputValue.length>0||!0!==this.hideSelected&&!0===this.hasValue||void 0!==this.displayValue&&null!==this.displayValue&&(""+this.displayValue).length>0},shouldRenderBottom(){return!0===this.bottomSlots||void 0!==this.hint||!0===this.hasRules||!0===this.counter||null!==this.error},classes(){return{[this.fieldClass]:void 0!==this.fieldClass,[`q-field--${this.styleType}`]:!0,"q-field--rounded":this.rounded,"q-field--square":this.square,"q-field--focused":!0===this.focused,"q-field--highlighted":!0===this.focused||!0===this.hasError,"q-field--float":this.floatingLabel,"q-field--labeled":this.hasLabel,"q-field--dense":this.dense,"q-field--item-aligned q-item-type":this.itemAligned,"q-field--dark":this.isDark,"q-field--auto-height":void 0===this.__getControl,"q-field--with-bottom":!0!==this.hideBottomSpace&&!0===this.shouldRenderBottom,"q-field--error":this.hasError,"q-field--readonly":!0===this.readonly&&!0!==this.disable,"q-field--disabled":!0===this.disable}},styleType(){return!0===this.filled?"filled":!0===this.outlined?"outlined":!0===this.borderless?"borderless":this.standout?"standout":"standard"},contentClass(){const t=[];if(!0===this.hasError)t.push("text-negative");else{if("string"===typeof this.standout&&this.standout.length>0&&!0===this.focused)return this.standout;void 0!==this.color&&t.push("text-"+this.color)}return void 0!==this.bgColor&&t.push(`bg-${this.bgColor}`),t},hasLabel(){return!0===this.labelSlot||void 0!==this.label},labelClass(){if(void 0!==this.labelColor&&!0!==this.hasError)return"text-"+this.labelColor},controlSlotScope(){return{id:this.targetUid,field:this.$el,editable:this.editable,focused:this.focused,floatingLabel:this.floatingLabel,value:this.value,emitValue:this.__emitValue}},bottomSlotScope(){return{id:this.targetUid,field:this.$el,editable:this.editable,focused:this.focused,value:this.value,errorMessage:this.computedErrorMessage}},attrs(){const t={for:this.targetUid};return!0===this.disable?t["aria-disabled"]="true":!0===this.readonly&&(t["aria-readonly"]="true"),t}},methods:{focus(){Object(M["a"])(this.__focus)},blur(){Object(M["c"])(this.__focus);const t=document.activeElement;null!==t&&this.$el.contains(t)&&t.blur()},__focus(){const t=document.activeElement;let e=this.$refs.target;void 0===e||null!==t&&t.id===this.targetUid||(!0===e.hasAttribute("tabindex")||(e=e.querySelector("[tabindex]")),null!==e&&e!==t&&e.focus({preventScroll:!0}))},__getContent(t){const e=[];return void 0!==this.$scopedSlots.prepend&&e.push(t("div",{staticClass:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",on:this.slotsEvents},this.$scopedSlots.prepend())),e.push(t("div",{staticClass:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},this.__getControlContainer(t))),!0===this.hasError&&!1===this.noErrorIcon&&e.push(this.__getInnerAppendNode(t,"error",[t(o["a"],{props:{name:this.$q.iconSet.field.error,color:"negative"}})])),!0===this.loading||!0===this.innerLoading?e.push(this.__getInnerAppendNode(t,"inner-loading-append",void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():[t(a["a"],{props:{color:this.color}})])):!0===this.clearable&&!0===this.hasValue&&!0===this.editable&&e.push(this.__getInnerAppendNode(t,"inner-clearable-append",[t(o["a"],{staticClass:"q-field__focusable-action",props:{tag:"button",name:this.clearIcon||this.$q.iconSet.field.clear},attrs:v["c"],on:this.clearableEvents})])),void 0!==this.$scopedSlots.append&&e.push(t("div",{staticClass:"q-field__append q-field__marginal row no-wrap items-center",key:"append",on:this.slotsEvents},this.$scopedSlots.append())),void 0!==this.__getInnerAppend&&e.push(this.__getInnerAppendNode(t,"inner-append",this.__getInnerAppend(t))),void 0!==this.__getControlChild&&e.push(this.__getControlChild(t)),e},__getControlContainer(t){const e=[];return void 0!==this.prefix&&null!==this.prefix&&e.push(t("div",{staticClass:"q-field__prefix no-pointer-events row items-center"},[this.prefix])),!0===this.hasShadow&&void 0!==this.__getShadowControl&&e.push(this.__getShadowControl(t)),void 0!==this.__getControl?e.push(this.__getControl(t)):void 0!==this.$scopedSlots.rawControl?e.push(this.$scopedSlots.rawControl()):void 0!==this.$scopedSlots.control&&e.push(t("div",{ref:"target",staticClass:"q-field__native row",attrs:{tabindex:-1,...this.qAttrs,"data-autofocus":this.autofocus||void 0}},this.$scopedSlots.control(this.controlSlotScope))),!0===this.hasLabel&&e.push(t("div",{staticClass:"q-field__label no-pointer-events absolute ellipsis",class:this.labelClass},[Object(y["c"])(this,"label",this.label)])),void 0!==this.suffix&&null!==this.suffix&&e.push(t("div",{staticClass:"q-field__suffix no-pointer-events row items-center"},[this.suffix])),e.concat(void 0!==this.__getDefaultSlot?this.__getDefaultSlot(t):Object(y["c"])(this,"default"))},__getBottom(t){let e,i;!0===this.hasError?(i="q--slot-error",void 0!==this.$scopedSlots.error?e=this.$scopedSlots.error(this.bottomSlotScope):void 0!==this.computedErrorMessage&&(e=[t("div",{attrs:{role:"alert"}},[this.computedErrorMessage])],i=this.computedErrorMessage)):!0===this.hideHint&&!0!==this.focused||(i="q--slot-hint",void 0!==this.$scopedSlots.hint?e=this.$scopedSlots.hint(this.bottomSlotScope):void 0!==this.hint&&(e=[t("div",[this.hint])],i=this.hint));const n=!0===this.counter||void 0!==this.$scopedSlots.counter;if(!0===this.hideBottomSpace&&!1===n&&void 0===e)return;const r=t("div",{key:i,staticClass:"q-field__messages col"},e);return t("div",{staticClass:"q-field__bottom row items-start q-field__bottom--"+(!0!==this.hideBottomSpace?"animated":"stale")},[!0===this.hideBottomSpace?r:t("transition",{props:{name:"q-transition--field-message"}},[r]),!0===n?t("div",{staticClass:"q-field__counter"},void 0!==this.$scopedSlots.counter?this.$scopedSlots.counter():[this.computedCounter]):null])},__getInnerAppendNode(t,e,i){return null===i?null:t("div",{staticClass:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip",key:e},i)},__onControlPopupShow(t){void 0!==t&&Object(k["k"])(t),this.$emit("popup-show",t),this.hasPopupOpen=!0,this.__onControlFocusin(t)},__onControlPopupHide(t){void 0!==t&&Object(k["k"])(t),this.$emit("popup-hide",t),this.hasPopupOpen=!1,this.__onControlFocusout(t)},__onControlFocusin(t){clearTimeout(this.focusoutTimer),!0===this.editable&&!1===this.focused&&(this.focused=!0,this.$emit("focus",t))},__onControlFocusout(t,e){clearTimeout(this.focusoutTimer),this.focusoutTimer=setTimeout((()=>{(!0!==document.hasFocus()||!0!==this.hasPopupOpen&&void 0!==this.$refs&&void 0!==this.$refs.control&&!1===this.$refs.control.contains(document.activeElement))&&(!0===this.focused&&(this.focused=!1,this.$emit("blur",t)),void 0!==e&&e())}))},__clearValue(t){if(Object(k["l"])(t),!0!==this.$q.platform.is.mobile){const t=this.$refs.target||this.$el;t.focus()}else!0===this.$el.contains(document.activeElement)&&document.activeElement.blur();"file"===this.type&&(this.$refs.input.value=null),this.$emit("input",null),this.$emit("clear",this.value),this.$nextTick((()=>{this.resetValidation(),!0!==this.$q.platform.is.mobile&&(this.isDirty=!1)}))},__emitValue(t){this.$emit("input",t)}},render(t){void 0!==this.__onPreRender&&this.__onPreRender(),void 0!==this.__onPostRender&&this.$nextTick(this.__onPostRender);const e=void 0===this.__getControl&&void 0===this.$scopedSlots.control?{...this.qAttrs,"data-autofocus":this.autofocus||void 0,...this.attrs}:this.attrs;return t("label",{staticClass:"q-field q-validation-component row no-wrap items-start",class:this.classes,attrs:e},[void 0!==this.$scopedSlots.before?t("div",{staticClass:"q-field__before q-field__marginal row no-wrap items-center",on:this.slotsEvents},this.$scopedSlots.before()):null,t("div",{staticClass:"q-field__inner relative-position col self-stretch"},[t("div",{ref:"control",staticClass:"q-field__control relative-position row no-wrap",class:this.contentClass,attrs:{tabindex:-1},on:this.controlEvents},this.__getContent(t)),!0===this.shouldRenderBottom?this.__getBottom(t):null]),void 0!==this.$scopedSlots.after?t("div",{staticClass:"q-field__after q-field__marginal row no-wrap items-center",on:this.slotsEvents},this.$scopedSlots.after()):null])},created(){void 0!==this.__onPreRender&&this.__onPreRender(),this.slotsEvents={click:k["i"]},this.clearableEvents={click:this.__clearValue},this.controlEvents=void 0!==this.__getControlEvents?this.__getControlEvents():{focusin:this.__onControlFocusin,focusout:this.__onControlFocusout,"popup-show":this.__onControlPopupShow,"popup-hide":this.__onControlPopupHide}},mounted(){!0===r["c"]&&void 0===this.for&&(this.targetUid=O()),!0===this.autofocus&&this.focus()},activated(){!0===this.shouldActivate&&!0===this.autofocus&&this.focus()},deactivated(){this.shouldActivate=!0},beforeDestroy(){clearTimeout(this.focusoutTimer)}})},"85fc":function(t,e,i){"use strict";var n=i("b7fa"),r=i("d882"),o=i("f89c"),a=i("ff7b"),s=i("2b69"),l=i("dde5"),u=i("0cd3");e["a"]={mixins:[n["a"],a["a"],o["b"],s["a"]],props:{value:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:t=>"tf"===t||"ft"===t},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},computed:{isTrue(){return!0===this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse(){return!0===this.modelIsArray?-1===this.index:this.value===this.falseValue},isIndeterminate(){return!1===this.isTrue&&!1===this.isFalse},index(){if(!0===this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray(){return void 0!==this.val&&Array.isArray(this.value)},computedTabindex(){return!0===this.disable?-1:this.tabindex||0},classes(){return`q-${this.type} cursor-pointer no-outline row inline no-wrap items-center`+(!0===this.disable?" disabled":"")+(!0===this.isDark?` q-${this.type}--dark`:"")+(!0===this.dense?` q-${this.type}--dense`:"")+(!0===this.leftLabel?" reverse":"")},innerClass(){const t=!0===this.isTrue?"truthy":!0===this.isFalse?"falsy":"indet",e=void 0===this.color||!0!==this.keepColor&&("toggle"===this.type?!0!==this.isTrue:!0===this.isFalse)?"":` text-${this.color}`;return`q-${this.type}__inner--${t}${e}`},formAttrs(){const t={type:"checkbox"};return void 0!==this.name&&Object.assign(t,{checked:this.isTrue,name:this.name,value:!0===this.modelIsArray?this.val:this.trueValue}),t},attrs(){const t={tabindex:this.computedTabindex,role:"checkbox","aria-label":this.label,"aria-checked":!0===this.isIndeterminate?"mixed":!0===this.isTrue?"true":"false"};return!0===this.disable&&(t["aria-disabled"]="true"),t}},methods:{toggle(t){void 0!==t&&(Object(r["l"])(t),this.__refocusTarget(t)),!0!==this.disable&&this.$emit("input",this.__getNextValue(),t)},__getNextValue(){if(!0===this.modelIsArray){if(!0===this.isTrue){const t=this.value.slice();return t.splice(this.index,1),t}return this.value.concat([this.val])}if(!0===this.isTrue){if("ft"!==this.toggleOrder||!1===this.toggleIndeterminate)return this.falseValue}else{if(!0!==this.isFalse)return"ft"!==this.toggleOrder?this.trueValue:this.falseValue;if("ft"===this.toggleOrder||!1===this.toggleIndeterminate)return this.trueValue}return this.indeterminateValue},__onKeydown(t){13!==t.keyCode&&32!==t.keyCode||Object(r["l"])(t)},__onKeyup(t){13!==t.keyCode&&32!==t.keyCode||this.toggle(t)}},render(t){const e=this.__getInner(t);!0!==this.disable&&this.__injectFormInput(e,"unshift",`q-${this.type}__native absolute q-ma-none q-pa-none`);const i=[t("div",{staticClass:`q-${this.type}__inner relative-position non-selectable`,class:this.innerClass,style:this.sizeStyle},e)];void 0!==this.__refocusTargetEl&&i.push(this.__refocusTargetEl);const n=void 0!==this.label?Object(l["a"])([this.label],this,"default"):Object(l["c"])(this,"default");return void 0!==n&&i.push(t("div",{staticClass:`q-${this.type}__label q-anchor--skip`},n)),t("div",{class:this.classes,attrs:this.attrs,on:Object(u["b"])(this,"inpExt",{click:this.toggle,keydown:this.__onKeydown,keyup:this.__onKeyup})},i)}}},"861d":function(t,e,i){var n=i("1626");t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},8716:function(t,e,i){"use strict";i("5319");const n={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};e["a"]={props:n,computed:{hasHrefLink(){return!0!==this.disable&&void 0!==this.href},hasRouterLinkProps(){return void 0!==this.$router&&!0!==this.disable&&!0!==this.hasHrefLink&&void 0!==this.to&&null!==this.to&&""!==this.to},linkRoute(){if(!0===this.hasRouterLinkProps)try{return!0===this.append?this.$router.resolve(this.to,this.$route,!0):this.$router.resolve(this.to)}catch(t){}return null},hasRouterLink(){return null!==this.linkRoute},hasLink(){return!0===this.hasHrefLink||!0===this.hasRouterLink},linkTag(){return!0===this.hasRouterLink?"router-link":"a"===this.type||!0===this.hasLink?"a":this.tag||this.fallbackTag||"div"},linkProps(){return!0===this.hasHrefLink?{attrs:{href:this.href,target:this.target}}:!0===this.hasRouterLink?{props:{to:this.to,exact:this.exact,append:this.append,replace:this.replace,activeClass:this.activeClass,exactActiveClass:this.exactActiveClass},attrs:{href:this.linkRoute.href,target:this.target}}:{}}}}},"87e8":function(t,e,i){"use strict";var n=i("0cd3");e["a"]=Object(n["c"])("$listeners","qListeners")},8861:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("124f"),r=a(n),o=i("6e53");function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),t+=(0,o.mod10)(t),t+=(0,o.mod10)(t),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return u(e,t),e}(r.default);e.default=c},8925:function(t,e,i){var n=i("e330"),r=i("1626"),o=i("c6cd"),a=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},"89a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=i("c243"),a=i("bdfe"),s=l(a);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){var e=t.substr(0,12).split("").map((function(t){return+t})).reduce((function(t,e,i){return i%2?t+3*e:t+e}),0);return(10-e%10)%10},p=function(t){function e(t,i){u(this,e),-1!==t.search(/^[0-9]{12}$/)&&(t+=d(t));var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.lastChar=i.lastChar,n}return h(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===d(this.data)}},{key:"leftText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),i=o.EAN13_STRUCTURE[this.data[0]];return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,i)}},{key:"rightText",value:function(){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),e}(s.default);e.default=p},"8aa5":function(t,e,i){"use strict";var n=i("6547").charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},"8aa7":function(t,e,i){var n=i("da84"),r=i("d039"),o=i("1c7e"),a=i("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;t.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!o((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||r((function(){return 1!==new l(new s(2),1,void 0).length}))},"8c4f":function(t,e,i){"use strict";
  56. /*!
  57. * vue-router v3.5.3
  58. * (c) 2021 Evan You
  59. * @license MIT
  60. */function n(t,e){for(var i in e)t[i]=e[i];return t}var r=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(r,o).replace(a,",")};function l(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,i){void 0===e&&(e={});var n,r=i||h;try{n=r(t||"")}catch(s){n={}}for(var o in e){var a=e[o];n[o]=Array.isArray(a)?a.map(c):c(a)}return n}var c=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var i=t.replace(/\+/g," ").split("="),n=l(i.shift()),r=i.length>0?l(i.join("=")):null;void 0===e[n]?e[n]=r:Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]})),e):e}function d(t){var e=t?Object.keys(t).map((function(e){var i=t[e];if(void 0===i)return"";if(null===i)return s(e);if(Array.isArray(i)){var n=[];return i.forEach((function(t){void 0!==t&&(null===t?n.push(s(e)):n.push(s(e)+"="+s(t)))})),n.join("&")}return s(e)+"="+s(i)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function f(t,e,i,n){var r=n&&n.options.stringifyQuery,o=e.query||{};try{o=g(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:y(e,r),matched:t?v(t):[]};return i&&(a.redirectedFrom=y(i,r)),Object.freeze(a)}function g(t){if(Array.isArray(t))return t.map(g);if(t&&"object"===typeof t){var e={};for(var i in t)e[i]=g(t[i]);return e}return t}var m=f(null,{path:"/"});function v(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function y(t,e){var i=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;void 0===r&&(r="");var o=e||d;return(i||"/")+o(n)+r}function b(t,e,i){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&(i||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(i||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var i=Object.keys(t).sort(),n=Object.keys(e).sort();return i.length===n.length&&i.every((function(i,r){var o=t[i],a=n[r];if(a!==i)return!1;var s=e[i];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?_(o,s):String(o)===String(s)}))}function x(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&w(t.query,e.query)}function w(t,e){for(var i in e)if(!(i in t))return!1;return!0}function S(t){for(var e=0;e<t.matched.length;e++){var i=t.matched[e];for(var n in i.instances){var r=i.instances[n],o=i.enteredCbs[n];if(r&&o){delete i.enteredCbs[n];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var C={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var i=e.props,r=e.children,o=e.parent,a=e.data;a.routerView=!0;var s=o.$createElement,l=i.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;while(o&&o._routerRoot!==o){var p=o.$vnode?o.$vnode.data:{};p.routerView&&h++,p.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=h,d){var f=c[l],g=f&&f.component;return g?(f.configProps&&k(g,a,f.route,f.configProps),s(g,a,r)):s()}var m=u.matched[h],v=m&&m.components[l];if(!m||!v)return c[l]=null,s();c[l]={component:v},a.registerRouteInstance=function(t,e){var i=m.instances[l];(e&&i!==t||!e&&i===t)&&(m.instances[l]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){m.instances[l]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[l]&&(m.instances[l]=t.componentInstance),S(u)};var y=m.props&&m.props[l];return y&&(n(c[l],{route:u,configProps:y}),k(v,a,u,y)),s(v,a,r)}};function k(t,e,i,r){var o=e.props=M(i,r);if(o){o=e.props=n({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function M(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function O(t,e,i){var n=t.charAt(0);if("/"===n)return t;if("?"===n||"#"===n)return e+t;var r=e.split("/");i&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function T(t){var e="",i="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var r=t.indexOf("?");return r>=0&&(i=t.slice(r+1),t=t.slice(0,r)),{path:t,query:i,hash:e}}function A(t){return t.replace(/\/+/g,"/")}var I=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=K,E=B,D=F,L=V,j=X,R=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){var i,n=[],r=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(i=R.exec(t))){var l=i[0],u=i[1],c=i.index;if(a+=t.slice(o,c),o=c+l.length,u)a+=u[1];else{var h=t[o],d=i[2],p=i[3],f=i[4],g=i[5],m=i[6],v=i[7];a&&(n.push(a),a="");var y=null!=d&&null!=h&&h!==d,b="+"===m||"*"===m,_="?"===m||"*"===m,x=i[2]||s,w=f||g;n.push({name:p||r++,prefix:d||"",delimiter:x,optional:_,repeat:b,partial:y,asterisk:!!v,pattern:w?$(w):v?".*":"[^"+q(x)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&n.push(a),n}function F(t,e){return V(B(t,e),e)}function N(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function z(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function V(t,e){for(var i=new Array(t.length),n=0;n<t.length;n++)"object"===typeof t[n]&&(i[n]=new RegExp("^(?:"+t[n].pattern+")$",G(e)));return function(e,n){for(var r="",o=e||{},a=n||{},s=a.pretty?N:encodeURIComponent,l=0;l<t.length;l++){var u=t[l];if("string"!==typeof u){var c,h=o[u.name];if(null==h){if(u.optional){u.partial&&(r+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(I(h)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(c=s(h[d]),!i[l].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?z(h):s(h),!i[l].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');r+=u.prefix+c}}else r+=u}return r}}function q(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function $(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function H(t,e){return t.keys=e,t}function G(t){return t&&t.sensitive?"":"i"}function W(t,e){var i=t.source.match(/\((?!\?)/g);if(i)for(var n=0;n<i.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return H(t,e)}function U(t,e,i){for(var n=[],r=0;r<t.length;r++)n.push(K(t[r],e,i).source);var o=new RegExp("(?:"+n.join("|")+")",G(i));return H(o,e)}function Y(t,e,i){return X(B(t,i),e,i)}function X(t,e,i){I(e)||(i=e||i,e=[]),i=i||{};for(var n=i.strict,r=!1!==i.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)o+=q(s);else{var l=q(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+l+u+")*"),u=s.optional?s.partial?l+"("+u+")?":"(?:"+l+"("+u+"))?":l+"("+u+")",o+=u}}var c=q(i.delimiter||"/"),h=o.slice(-c.length)===c;return n||(o=(h?o.slice(0,-c.length):o)+"(?:"+c+"(?=$))?"),o+=r?"$":n&&h?"":"(?="+c+"|$)",H(new RegExp("^"+o,G(i)),e)}function K(t,e,i){return I(e)||(i=e||i,e=[]),i=i||{},t instanceof RegExp?W(t,e):I(t)?U(t,e,i):Y(t,e,i)}P.parse=E,P.compile=D,P.tokensToFunction=L,P.tokensToRegExp=j;var Z=Object.create(null);function Q(t,e,i){e=e||{};try{var n=Z[t]||(Z[t]=P.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch(r){return""}finally{delete e[0]}}function J(t,e,i,r){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=n({},t);var a=o.params;return a&&"object"===typeof a&&(o.params=n({},a)),o}if(!o.path&&o.params&&e){o=n({},o),o._normalized=!0;var s=n(n({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=Q(l,s,"path "+e.path)}else 0;return o}var c=T(o.path||""),h=e&&e.path||"/",d=c.path?O(c.path,h,i||o.append):h,p=u(c.query,o.query,r&&r.options.parseQuery),f=o.hash||c.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:d,query:p,hash:f}}var tt,et=[String,Object],it=[String,Array],nt=function(){},rt={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:it,default:"click"}},render:function(t){var e=this,i=this.$router,r=this.$route,o=i.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,u={},c=i.options.linkActiveClass,h=i.options.linkExactActiveClass,d=null==c?"router-link-active":c,p=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,v=s.redirectedFrom?f(null,J(s.redirectedFrom),null,i):s;u[m]=b(r,v,this.exactPath),u[g]=this.exact||this.exactPath?u[m]:x(r,v);var y=u[m]?this.ariaCurrentValue:null,_=function(t){ot(t)&&(e.replace?i.replace(a,nt):i.push(a,nt))},w={click:ot};Array.isArray(this.event)?this.event.forEach((function(t){w[t]=_})):w[this.event]=_;var S={class:u},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:u[g],isExactActive:u[m]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)S.on=w,S.attrs={href:l,"aria-current":y};else{var k=at(this.$slots.default);if(k){k.isStatic=!1;var M=k.data=n({},k.data);for(var O in M.on=M.on||{},M.on){var T=M.on[O];O in w&&(M.on[O]=Array.isArray(T)?T:[T])}for(var A in w)A in M.on?M.on[A].push(w[A]):M.on[A]=_;var I=k.data.attrs=n({},k.data.attrs);I.href=l,I["aria-current"]=y}else S.on=w}return t(this.tag,S,this.$slots.default)}};function ot(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,i=0;i<t.length;i++){if(e=t[i],"a"===e.tag)return e;if(e.children&&(e=at(e.children)))return e}}function st(t){if(!st.installed||tt!==t){st.installed=!0,tt=t;var e=function(t){return void 0!==t},i=function(t,i){var n=t.$options._parentVnode;e(n)&&e(n=n.data)&&e(n=n.registerRouteInstance)&&n(t,i)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,i(this,this)},destroyed:function(){i(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",C),t.component("RouterLink",rt);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var lt="undefined"!==typeof window;function ut(t,e,i,n,r){var o=e||[],a=i||Object.create(null),s=n||Object.create(null);t.forEach((function(t){ct(o,a,s,t,r)}));for(var l=0,u=o.length;l<u;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),u--,l--);return{pathList:o,pathMap:a,nameMap:s}}function ct(t,e,i,n,r,o){var a=n.path,s=n.name;var l=n.pathToRegexpOptions||{},u=dt(a,r,l.strict);"boolean"===typeof n.caseSensitive&&(l.sensitive=n.caseSensitive);var c={path:u,regex:ht(u,l),components:n.components||{default:n.component},alias:n.alias?"string"===typeof n.alias?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:s,parent:r,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach((function(n){var r=o?A(o+"/"+n.path):void 0;ct(t,e,i,n,c,r)})),e[c.path]||(t.push(c.path),e[c.path]=c),void 0!==n.alias)for(var h=Array.isArray(n.alias)?n.alias:[n.alias],d=0;d<h.length;++d){var p=h[d];0;var f={path:p,children:n.children};ct(t,e,i,f,r,c.path||"/")}s&&(i[s]||(i[s]=c))}function ht(t,e){var i=P(t,[],e);return i}function dt(t,e,i){return i||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:A(e.path+"/"+t)}function pt(t,e){var i=ut(t),n=i.pathList,r=i.pathMap,o=i.nameMap;function a(t){ut(t,n,r,o)}function s(t,e){var i="object"!==typeof t?o[t]:void 0;ut([e||t],n,r,o,i),i&&i.alias.length&&ut(i.alias.map((function(t){return{path:t,children:[e]}})),n,r,o,i)}function l(){return n.map((function(t){return r[t]}))}function u(t,i,a){var s=J(t,i,!1,e),l=s.name;if(l){var u=o[l];if(!u)return d(null,s);var c=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),i&&"object"===typeof i.params)for(var h in i.params)!(h in s.params)&&c.indexOf(h)>-1&&(s.params[h]=i.params[h]);return s.path=Q(u.path,s.params,'named route "'+l+'"'),d(u,s,a)}if(s.path){s.params={};for(var p=0;p<n.length;p++){var f=n[p],g=r[f];if(ft(g.regex,s.path,s.params))return d(g,s,a)}}return d(null,s)}function c(t,i){var n=t.redirect,r="function"===typeof n?n(f(t,i,null,e)):n;if("string"===typeof r&&(r={path:r}),!r||"object"!==typeof r)return d(null,i);var a=r,s=a.name,l=a.path,c=i.query,h=i.hash,p=i.params;if(c=a.hasOwnProperty("query")?a.query:c,h=a.hasOwnProperty("hash")?a.hash:h,p=a.hasOwnProperty("params")?a.params:p,s){o[s];return u({_normalized:!0,name:s,query:c,hash:h,params:p},void 0,i)}if(l){var g=gt(l,t),m=Q(g,p,'redirect route with path "'+g+'"');return u({_normalized:!0,path:m,query:c,hash:h},void 0,i)}return d(null,i)}function h(t,e,i){var n=Q(i,e.params,'aliased route with path "'+i+'"'),r=u({_normalized:!0,path:n});if(r){var o=r.matched,a=o[o.length-1];return e.params=r.params,d(a,e)}return d(null,e)}function d(t,i,n){return t&&t.redirect?c(t,n||i):t&&t.matchAs?h(t,i,t.matchAs):f(t,i,n,e)}return{match:u,addRoute:s,getRoutes:l,addRoutes:a}}function ft(t,e,i){var n=e.match(t);if(!n)return!1;if(!i)return!0;for(var r=1,o=n.length;r<o;++r){var a=t.keys[r-1];a&&(i[a.name||"pathMatch"]="string"===typeof n[r]?l(n[r]):n[r])}return!0}function gt(t,e){return O(t,e.parent?e.parent.path:"/",!0)}var mt=lt&&window.performance&&window.performance.now?window.performance:Date;function vt(){return mt.now().toFixed(3)}var yt=vt();function bt(){return yt}function _t(t){return yt=t}var xt=Object.create(null);function wt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),i=n({},window.history.state);return i.key=bt(),window.history.replaceState(i,"",e),window.addEventListener("popstate",kt),function(){window.removeEventListener("popstate",kt)}}function St(t,e,i,n){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var o=Mt(),a=r.call(t,e,i,n?o:null);a&&("function"===typeof a.then?a.then((function(t){Dt(t,o)})).catch((function(t){0})):Dt(a,o))}))}}function Ct(){var t=bt();t&&(xt[t]={x:window.pageXOffset,y:window.pageYOffset})}function kt(t){Ct(),t.state&&t.state.key&&_t(t.state.key)}function Mt(){var t=bt();if(t)return xt[t]}function Ot(t,e){var i=document.documentElement,n=i.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}function Tt(t){return Pt(t.x)||Pt(t.y)}function At(t){return{x:Pt(t.x)?t.x:window.pageXOffset,y:Pt(t.y)?t.y:window.pageYOffset}}function It(t){return{x:Pt(t.x)?t.x:0,y:Pt(t.y)?t.y:0}}function Pt(t){return"number"===typeof t}var Et=/^#\d/;function Dt(t,e){var i="object"===typeof t;if(i&&"string"===typeof t.selector){var n=Et.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(n){var r=t.offset&&"object"===typeof t.offset?t.offset:{};r=It(r),e=Ot(n,r)}else Tt(t)&&(e=At(t))}else i&&Tt(t)&&(e=At(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Lt=lt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function jt(t,e){Ct();var i=window.history;try{if(e){var r=n({},i.state);r.key=bt(),i.replaceState(r,"",t)}else i.pushState({key:_t(vt())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function Rt(t){jt(t,!0)}function Bt(t,e,i){var n=function(r){r>=t.length?i():t[r]?e(t[r],(function(){n(r+1)})):n(r+1)};n(0)}var Ft={redirected:2,aborted:4,cancelled:8,duplicated:16};function Nt(t,e){return $t(t,e,Ft.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Gt(e)+'" via a navigation guard.')}function zt(t,e){var i=$t(t,e,Ft.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return i.name="NavigationDuplicated",i}function Vt(t,e){return $t(t,e,Ft.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function qt(t,e){return $t(t,e,Ft.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function $t(t,e,i,n){var r=new Error(n);return r._isRouter=!0,r.from=t,r.to=e,r.type=i,r}var Ht=["params","query","hash"];function Gt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Ht.forEach((function(i){i in t&&(e[i]=t[i])})),JSON.stringify(e,null,2)}function Wt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Ut(t,e){return Wt(t)&&t._isRouter&&(null==e||t.type===e)}function Yt(t){return function(e,i,n){var r=!1,o=0,a=null;Xt(t,(function(t,e,i,s){if("function"===typeof t&&void 0===t.cid){r=!0,o++;var l,u=Jt((function(e){Qt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),i.components[s]=e,o--,o<=0&&n()})),c=Jt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Wt(t)?t:new Error(e),n(a))}));try{l=t(u,c)}catch(d){c(d)}if(l)if("function"===typeof l.then)l.then(u,c);else{var h=l.component;h&&"function"===typeof h.then&&h.then(u,c)}}})),r||n()}}function Xt(t,e){return Kt(t.map((function(t){return Object.keys(t.components).map((function(i){return e(t.components[i],t.instances[i],t,i)}))})))}function Kt(t){return Array.prototype.concat.apply([],t)}var Zt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Qt(t){return t.__esModule||Zt&&"Module"===t[Symbol.toStringTag]}function Jt(t){var e=!1;return function(){var i=[],n=arguments.length;while(n--)i[n]=arguments[n];if(!e)return e=!0,t.apply(this,i)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(lt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ie(t,e){var i,n=Math.max(t.length,e.length);for(i=0;i<n;i++)if(t[i]!==e[i])break;return{updated:e.slice(0,i),activated:e.slice(i),deactivated:t.slice(i)}}function ne(t,e,i,n){var r=Xt(t,(function(t,n,r,o){var a=re(t,e);if(a)return Array.isArray(a)?a.map((function(t){return i(t,n,r,o)})):i(a,n,r,o)}));return Kt(n?r.reverse():r)}function re(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function oe(t){return ne(t,"beforeRouteLeave",se,!0)}function ae(t){return ne(t,"beforeRouteUpdate",se)}function se(t,e){if(e)return function(){return t.apply(e,arguments)}}function le(t){return ne(t,"beforeRouteEnter",(function(t,e,i,n){return ue(t,i,n)}))}function ue(t,e,i){return function(n,r,o){return t(n,r,(function(t){"function"===typeof t&&(e.enteredCbs[i]||(e.enteredCbs[i]=[]),e.enteredCbs[i].push(t)),o(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,i){var n,r=this;try{n=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var o=this.current;this.confirmTransition(n,(function(){r.updateRoute(n),e&&e(n),r.ensureURL(),r.router.afterHooks.forEach((function(t){t&&t(n,o)})),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(n)})))}),(function(t){i&&i(t),t&&!r.ready&&(Ut(t,Ft.redirected)&&o===m||(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,i){var n=this,r=this.current;this.pending=t;var o=function(t){!Ut(t)&&Wt(t)&&(n.errorCbs.length?n.errorCbs.forEach((function(e){e(t)})):console.error(t)),i&&i(t)},a=t.matched.length-1,s=r.matched.length-1;if(b(t,r)&&a===s&&t.matched[a]===r.matched[s])return this.ensureURL(),t.hash&&St(this.router,r,t,!1),o(zt(r,t));var l=ie(this.current.matched,t.matched),u=l.updated,c=l.deactivated,h=l.activated,d=[].concat(oe(c),this.router.beforeHooks,ae(u),h.map((function(t){return t.beforeEnter})),Yt(h)),p=function(e,i){if(n.pending!==t)return o(Vt(r,t));try{e(t,r,(function(e){!1===e?(n.ensureURL(!0),o(qt(r,t))):Wt(e)?(n.ensureURL(!0),o(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(o(Nt(r,t)),"object"===typeof e&&e.replace?n.replace(e):n.push(e)):i(e)}))}catch(a){o(a)}};Bt(d,p,(function(){var i=le(h),a=i.concat(n.router.resolveHooks);Bt(a,p,(function(){if(n.pending!==t)return o(Vt(r,t));n.pending=null,e(t),n.router.app&&n.router.app.$nextTick((function(){S(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var ce=function(t){function e(e,i){t.call(this,e,i),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,i=e.options.scrollBehavior,n=Lt&&i;n&&this.listeners.push(wt());var r=function(){var i=t.current,r=he(t.base);t.current===m&&r===t._startLocation||t.transitionTo(r,(function(t){n&&St(e,t,i,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,i){var n=this,r=this,o=r.current;this.transitionTo(t,(function(t){jt(A(n.base+t.fullPath)),St(n.router,t,o,!1),e&&e(t)}),i)},e.prototype.replace=function(t,e,i){var n=this,r=this,o=r.current;this.transitionTo(t,(function(t){Rt(A(n.base+t.fullPath)),St(n.router,t,o,!1),e&&e(t)}),i)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=A(this.base+this.current.fullPath);t?jt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,i=e.toLowerCase(),n=t.toLowerCase();return!t||i!==n&&0!==i.indexOf(A(n+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var de=function(t){function e(e,i,n){t.call(this,e,i),n&&pe(this.base)||fe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,i=e.options.scrollBehavior,n=Lt&&i;n&&this.listeners.push(wt());var r=function(){var e=t.current;fe()&&t.transitionTo(ge(),(function(i){n&&St(t.router,i,e,!0),Lt||ye(i.fullPath)}))},o=Lt?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,i){var n=this,r=this,o=r.current;this.transitionTo(t,(function(t){ve(t.fullPath),St(n.router,t,o,!1),e&&e(t)}),i)},e.prototype.replace=function(t,e,i){var n=this,r=this,o=r.current;this.transitionTo(t,(function(t){ye(t.fullPath),St(n.router,t,o,!1),e&&e(t)}),i)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ge()!==e&&(t?ve(e):ye(e))},e.prototype.getCurrentLocation=function(){return ge()},e}(te);function pe(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(A(t+"/#"+e)),!0}function fe(){var t=ge();return"/"===t.charAt(0)||(ye("/"+t),!1)}function ge(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,i=e.indexOf("#"),n=i>=0?e.slice(0,i):e;return n+"#"+t}function ve(t){Lt?jt(me(t)):window.location.hash=t}function ye(t){Lt?Rt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,i){t.call(this,e,i),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,i){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index+1).concat(t),n.index++,e&&e(t)}),i)},e.prototype.replace=function(t,e,i){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index).concat(t),e&&e(t)}),i)},e.prototype.go=function(t){var e=this,i=this.index+t;if(!(i<0||i>=this.stack.length)){var n=this.stack[i];this.confirmTransition(n,(function(){var t=e.current;e.index=i,e.updateRoute(n),e.router.afterHooks.forEach((function(e){e&&e(n,t)}))}),(function(t){Ut(t,Ft.duplicated)&&(e.index=i)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Lt&&!1!==t.fallback,this.fallback&&(e="hash"),lt||(e="abstract"),this.mode=e,e){case"history":this.history=new ce(this,t.base);break;case"hash":this.history=new de(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},xe={currentRoute:{configurable:!0}};function we(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}function Se(t,e,i){var n="hash"===i?"#"+e:e;return t?A(t+"/"+n):n}_e.prototype.match=function(t,e,i){return this.matcher.match(t,e,i)},xe.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var i=e.apps.indexOf(t);i>-1&&e.apps.splice(i,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var i=this.history;if(i instanceof ce||i instanceof de){var n=function(t){var n=i.current,r=e.options.scrollBehavior,o=Lt&&r;o&&"fullPath"in t&&St(e,t,n,!1)},r=function(t){i.setupListeners(),n(t)};i.transitionTo(i.getCurrentLocation(),r,r)}i.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return we(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return we(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return we(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,i){var n=this;if(!e&&!i&&"undefined"!==typeof Promise)return new Promise((function(e,i){n.history.push(t,e,i)}));this.history.push(t,e,i)},_e.prototype.replace=function(t,e,i){var n=this;if(!e&&!i&&"undefined"!==typeof Promise)return new Promise((function(e,i){n.history.replace(t,e,i)}));this.history.replace(t,e,i)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,i){e=e||this.history.current;var n=J(t,e,i,this),r=this.match(n,e),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=Se(a,o,this.mode);return{location:n,route:r,href:s,normalizedTo:n,resolved:r}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,xe),_e.install=st,_e.version="3.5.3",_e.isNavigationFailure=Ut,_e.NavigationFailureType=Ft,_e.START_LOCATION=m,lt&&window.Vue&&window.Vue.use(_e),e["a"]=_e},"8d23":function(t,e,i){const n=i("2732");function r(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(t){this.degree=t,this.genPoly=n.generateECPolynomial(this.degree)},r.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const i=n.mod(e,this.genPoly),r=this.degree-i.length;if(r>0){const t=new Uint8Array(this.degree);return t.set(i,r),t}return i},t.exports=r},"8df4":function(t,e,i){"use strict";var n=i("7a77");function r(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var i=this;t((function(t){i.reason||(i.reason=new n(t),e(i.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t,e=new r((function(e){t=e}));return{token:e,cancel:t}},t.exports=r},"8e51":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var n=i("124f"),r=p(n),o=i("4727"),a=p(o),s=i("4461"),l=p(s),u=i("8861"),c=p(u),h=i("805f"),d=p(h);function p(t){return t&&t.__esModule?t:{default:t}}e.MSI=r.default,e.MSI10=a.default,e.MSI11=l.default,e.MSI1010=c.default,e.MSI1110=d.default},"8f8e":function(t,e,i){"use strict";var n=i("2b0e"),r=i("0016"),o=i("85fc");e["a"]=n["a"].extend({name:"QCheckbox",mixins:[o["a"]],computed:{computedIcon(){return!0===this.isTrue?this.checkedIcon:!0===this.isIndeterminate?this.indeterminateIcon:this.uncheckedIcon}},methods:{__getInner(t){return void 0!==this.computedIcon?[t("div",{key:"icon",staticClass:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[t(r["a"],{staticClass:"q-checkbox__icon",props:{name:this.computedIcon}})])]:[t("div",{key:"svg",staticClass:"q-checkbox__bg absolute"},[t("svg",{staticClass:"q-checkbox__svg fit absolute-full",attrs:{focusable:"false",viewBox:"0 0 24 24","aria-hidden":"true"}},[t("path",{staticClass:"q-checkbox__truthy",attrs:{fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}}),t("path",{staticClass:"q-checkbox__indet",attrs:{d:"M4,14H20V10H4"}})])])]}},created(){this.type="checkbox"}})},9071:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0967"),o=i("42d2");e["a"]={install(t,e,i){const a=i||o["a"];this.set=(e,i)=>{const n={...e};if(!0===r["e"]){if(void 0===i)return void console.error("SSR ERROR: second param required: Quasar.iconSet.set(iconSet, ssrContext)");n.set=i.$q.iconSet.set,i.$q.iconSet=n}else n.set=this.set,t.iconSet=n},!0===r["e"]?e.server.push(((t,e)=>{t.iconSet={},t.iconSet.set=t=>{this.set(t,e.ssr)},t.iconSet.set(a)})):(n["a"].util.defineReactive(t,"iconMapFn",void 0),n["a"].util.defineReactive(t,"iconSet",{}),this.set(a))}}},"907a":function(t,e,i){"use strict";var n=i("ebb5"),r=i("07fa"),o=i("5926"),a=n.aTypedArray,s=n.exportTypedArrayMethod;s("at",(function(t){var e=a(this),i=r(e),n=o(t),s=n>=0?n:i+n;return s<0||s>=i?void 0:e[s]}))},"90e3":function(t,e,i){var n=i("e330"),r=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},9112:function(t,e,i){var n=i("83ab"),r=i("9bf2"),o=i("5c6c");t.exports=n?function(t,e,i){return r.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},9152:function(t,e){
  61. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  62. e.read=function(t,e,i,n,r){var o,a,s=8*r-n-1,l=(1<<s)-1,u=l>>1,c=-7,h=i?r-1:0,d=i?-1:1,p=t[e+h];for(h+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+h],h+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+h],h+=d,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),o-=u}return(p?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,i,n,r,o){var a,s,l,u=8*o-r-1,c=(1<<u)-1,h=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,f=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(a++,l/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[i+p]=255&s,p+=f,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;t[i+p]=255&a,p+=f,a/=256,u-=8);t[i+p-f]|=128*g}},"924f":function(t,e,i){const n=i("7bf0").getSymbolSize,r=7;e.getPositions=function(t){const e=n(t);return[[0,0],[e-r,0],[0,e-r]]}},9263:function(t,e,i){"use strict";var n=i("c65b"),r=i("e330"),o=i("577e"),a=i("ad6d"),s=i("9f7f"),l=i("5692"),u=i("7c73"),c=i("69f3").get,h=i("fce3"),d=i("107c"),p=l("native-string-replace",String.prototype.replace),f=RegExp.prototype.exec,g=f,m=r("".charAt),v=r("".indexOf),y=r("".replace),b=r("".slice),_=function(){var t=/a/,e=/b*/g;return n(f,t,"a"),n(f,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1],S=_||w||x||h||d;S&&(g=function(t){var e,i,r,s,l,h,d,S=this,C=c(S),k=o(t),M=C.raw;if(M)return M.lastIndex=S.lastIndex,e=n(g,M,k),S.lastIndex=M.lastIndex,e;var O=C.groups,T=x&&S.sticky,A=n(a,S),I=S.source,P=0,E=k;if(T&&(A=y(A,"y",""),-1===v(A,"g")&&(A+="g"),E=b(k,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==m(k,S.lastIndex-1))&&(I="(?: "+I+")",E=" "+E,P++),i=new RegExp("^(?:"+I+")",A)),w&&(i=new RegExp("^"+I+"$(?!\\s)",A)),_&&(r=S.lastIndex),s=n(f,T?i:S,E),T?s?(s.input=b(s.input,P),s[0]=b(s[0],P),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:_&&s&&(S.lastIndex=S.global?s.index+s[0].length:r),w&&s&&s.length>1&&n(p,s[0],i,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s&&O)for(s.groups=h=u(null),l=0;l<O.length;l++)d=O[l],h[d[0]]=s[d[1]];return s}),t.exports=g},"93bf":function(t,e,i){
  63. /*!
  64. * screenfull
  65. * v4.2.0 - 2019-04-01
  66. * (c) Sindre Sorhus; MIT License
  67. */
  68. (function(){"use strict";var e="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},i=t.exports,n="undefined"!==typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,r=function(){for(var t,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=i.length,o={};n<r;n++)if(t=i[n],t&&t[1]in e){for(n=0;n<t.length;n++)o[i[0][n]]=t[n];return o}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(t){return new Promise(function(i){var o=r.requestFullscreen,a=function(){this.off("change",a),i()}.bind(this);t=t||e.documentElement,/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?t[o]():t[o](n?Element.ALLOW_KEYBOARD_INPUT:{}),this.on("change",a)}.bind(this))},exit:function(){return new Promise(function(t){if(this.isFullscreen){var i=function(){this.off("change",i),t()}.bind(this);e[r.exitFullscreen](),this.on("change",i)}else t()}.bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,i){var n=o[t];n&&e.addEventListener(n,i,!1)},off:function(t,i){var n=o[t];n&&e.removeEventListener(n,i,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),i?(t.exports=a,t.exports.default=a):window.screenfull=a):i?t.exports=!1:window.screenfull=!1})()},9404:function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("58e5"),o=i("7ee0"),a=i("efe6"),s=i("b7fa"),l=i("75c3"),u=i("7937"),c=i("dde5"),h=i("0cd3"),d=i("f376");const p=150,f=["mouseover","mouseout","mouseenter","mouseleave"];e["a"]=n["a"].extend({name:"QDrawer",inject:{layout:{default(){console.error("QDrawer needs to be child of QLayout")}}},mixins:[s["a"],r["a"],o["a"],a["a"]],directives:{TouchPan:l["a"]},props:{side:{type:String,default:"left",validator:t=>["left","right"].includes(t)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:t=>["default","desktop","mobile"].includes(t),default:"default"},bordered:Boolean,elevated:Boolean,contentStyle:[String,Object,Array],contentClass:[String,Object,Array],overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},data(){const t="mobile"===this.behavior||"desktop"!==this.behavior&&this.layout.totalWidth<=this.breakpoint;return{belowBreakpoint:t,showing:!0===this.showIfAbove&&!1===t||!0===this.value}},watch:{belowBreakpoint(t){!0===t?(this.lastDesktopState=this.showing,!0===this.showing&&this.hide(!1)):!1===this.overlay&&"mobile"!==this.behavior&&!1!==this.lastDesktopState&&(!0===this.showing?(this.__applyPosition(0),this.__applyBackdrop(0),this.__cleanup()):this.show(!1))},"layout.totalWidth"(){!0!==this.layout.container&&!0===document.qScrollPrevented||this.__updateBelowBreakpoint()},side(t,e){this.layout.instances[e]===this&&(this.layout.instances[e]=void 0,this.layout[e].space=!1,this.layout[e].offset=0),this.layout.instances[t]=this,this.layout[t].size=this.size,this.layout[t].space=this.onLayout,this.layout[t].offset=this.offset},behavior(){this.__updateBelowBreakpoint()},breakpoint(){this.__updateBelowBreakpoint()},"layout.container"(t){!0===this.showing&&this.__preventScroll(!0!==t),!0===t&&this.__updateBelowBreakpoint()},"layout.scrollbarWidth"(){this.__applyPosition(!0===this.showing?0:void 0)},offset(t){this.__update("offset",t)},onLayout(t){this.$emit("on-layout",t),this.__update("space",t)},rightSide(){this.__applyPosition()},size(t){this.__applyPosition(),this.__updateSizeOnLayout(this.miniToOverlay,t)},miniToOverlay(t){this.__updateSizeOnLayout(t,this.size)},"$q.lang.rtl"(){this.__applyPosition()},mini(){!0===this.value&&(this.__animateMini(),this.layout.__animate())},isMini(t){this.$emit("mini-state",t)}},computed:{rightSide(){return"right"===this.side},otherSide(){return!0===this.rightSide?"left":"right"},offset(){return!0===this.showing&&!1===this.belowBreakpoint&&!1===this.overlay?!0===this.miniToOverlay?this.miniWidth:this.size:0},size(){return!0===this.isMini?this.miniWidth:this.width},fixed(){return!0===this.overlay||!0===this.miniToOverlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1||this.$q.platform.is.ios&&!0===this.layout.container},onLayout(){return!0===this.showing&&!1===this.belowBreakpoint&&!1===this.overlay},onScreenOverlay(){return!0===this.showing&&!1===this.belowBreakpoint&&!0===this.overlay},backdropClass(){return!1===this.showing?"hidden":null},headerSlot(){return!0===this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0]},footerSlot(){return!0===this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0]},aboveStyle(){const t={};return!0===this.layout.header.space&&!1===this.headerSlot&&(!0===this.fixed?t.top=`${this.layout.header.offset}px`:!0===this.layout.header.space&&(t.top=`${this.layout.header.size}px`)),!0===this.layout.footer.space&&!1===this.footerSlot&&(!0===this.fixed?t.bottom=`${this.layout.footer.offset}px`:!0===this.layout.footer.space&&(t.bottom=`${this.layout.footer.size}px`)),t},style(){const t={width:`${this.size}px`};return!0===this.belowBreakpoint?t:Object.assign(t,this.aboveStyle)},classes(){return`q-drawer--${this.side}`+(!0===this.bordered?" q-drawer--bordered":"")+(!0===this.isDark?" q-drawer--dark q-dark":"")+(!0!==this.showing?" q-layout--prevent-focus":"")+(!0===this.belowBreakpoint?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":" q-drawer--"+(!0===this.isMini?"mini":"standard")+(!0===this.fixed||!0!==this.onLayout?" fixed":"")+(!0===this.overlay||!0===this.miniToOverlay?" q-drawer--on-top":"")+(!0===this.headerSlot?" q-drawer--top-padding":""))},stateDirection(){return(!0===this.$q.lang.rtl?-1:1)*(!0===this.rightSide?1:-1)},isMini(){return!0===this.mini&&!0!==this.belowBreakpoint},onNativeEvents(){if(!0!==this.belowBreakpoint){const t={"!click":t=>{this.$emit("click",t)}};return f.forEach((e=>{t[e]=t=>{void 0!==this.qListeners[e]&&this.$emit(e,t)}})),t}},hideOnRouteChange(){return!0!==this.persistent&&(!0===this.belowBreakpoint||!0===this.onScreenOverlay)},openDirective(){const t=!0===this.$q.lang.rtl?this.side:this.otherSide;return[{name:"touch-pan",value:this.__openByTouch,modifiers:{[t]:!0,mouse:!0}}]},contentCloseDirective(){if(!0!==this.noSwipeClose){const t=!0===this.$q.lang.rtl?this.otherSide:this.side;return[{name:"touch-pan",value:this.__closeByTouch,modifiers:{[t]:!0,mouse:!0}}]}},backdropCloseDirective(){if(!0!==this.noSwipeBackdrop){const t=!0===this.$q.lang.rtl?this.otherSide:this.side;return[{name:"touch-pan",value:this.__closeByTouch,modifiers:{[t]:!0,mouse:!0,mouseAllDir:!0}}]}}},methods:{__applyPosition(t){void 0===t?this.$nextTick((()=>{t=!0===this.showing?0:this.size,this.__applyPosition(this.stateDirection*t)})):void 0!==this.$refs.content&&(!0!==this.layout.container||!0!==this.rightSide||!0!==this.belowBreakpoint&&Math.abs(t)!==this.size||(t+=this.stateDirection*this.layout.scrollbarWidth),this.__lastPosition!==t&&(this.$refs.content.style.transform=`translateX(${t}px)`,this.__lastPosition=t))},__applyBackdrop(t,e){void 0!==this.$refs.backdrop?this.$refs.backdrop.style.backgroundColor=this.lastBackdropBg=`rgba(0,0,0,${.4*t})`:!0!==e&&this.$nextTick((()=>{this.__applyBackdrop(t,!0)}))},__setBackdropVisible(t){void 0!==this.$refs.backdrop&&this.$refs.backdrop.classList[!0===t?"remove":"add"]("hidden")},__setScrollable(t){const e=!0===t?"remove":!0!==this.layout.container?"add":"";""!==e&&document.body.classList[e]("q-body--drawer-toggle")},__animateMini(){void 0!==this.timerMini?clearTimeout(this.timerMini):void 0!==this.$el&&this.$el.classList.add("q-drawer--mini-animate"),this.timerMini=setTimeout((()=>{void 0!==this.$el&&this.$el.classList.remove("q-drawer--mini-animate"),this.timerMini=void 0}),150)},__openByTouch(t){if(!1!==this.showing)return;const e=this.size,i=Object(u["a"])(t.distance.x,0,e);if(!0===t.isFinal){const t=this.$refs.content,n=i>=Math.min(75,e);return t.classList.remove("no-transition"),void(!0===n?this.show():(this.layout.__animate(),this.__applyBackdrop(0),this.__applyPosition(this.stateDirection*e),t.classList.remove("q-drawer--delimiter"),t.classList.add("q-layout--prevent-focus"),this.__setBackdropVisible(!1)))}if(this.__applyPosition((!0===this.$q.lang.rtl?!0!==this.rightSide:this.rightSide)?Math.max(e-i,0):Math.min(0,i-e)),this.__applyBackdrop(Object(u["a"])(i/e,0,1)),!0===t.isFirst){const t=this.$refs.content;t.classList.add("no-transition"),t.classList.add("q-drawer--delimiter"),t.classList.remove("q-layout--prevent-focus"),this.__setBackdropVisible(!0)}},__closeByTouch(t){if(!0!==this.showing)return;const e=this.size,i=t.direction===this.side,n=(!0===this.$q.lang.rtl?!0!==i:i)?Object(u["a"])(t.distance.x,0,e):0;if(!0===t.isFinal){const t=Math.abs(n)<Math.min(75,e);return this.$refs.content.classList.remove("no-transition"),void(!0===t?(this.layout.__animate(),this.__applyBackdrop(1),this.__applyPosition(0)):this.hide())}this.__applyPosition(this.stateDirection*n),this.__applyBackdrop(Object(u["a"])(1-n/e,0,1)),!0===t.isFirst&&this.$refs.content.classList.add("no-transition")},__show(t,e){if(this.__addHistory(),this.__setBackdropVisible(!0),!1!==t&&this.layout.__animate(),this.__applyPosition(0),!0===this.belowBreakpoint){const t=this.layout.instances[this.otherSide];void 0!==t&&!0===t.belowBreakpoint&&t.hide(!1),this.__applyBackdrop(1),!0!==this.layout.container&&this.__preventScroll(!0)}else this.__applyBackdrop(0),!1!==t&&this.__setScrollable(!1);this.__setTimeout((()=>{!1!==t&&this.__setScrollable(!0),!0!==e&&this.$emit("show",t)}),p)},__hide(t,e){this.__removeHistory(),!1!==t&&this.layout.__animate(),this.__applyBackdrop(0),this.__applyPosition(this.stateDirection*this.size),this.__setBackdropVisible(!1),this.__cleanup(),!0!==e&&this.__setTimeout((()=>{this.$emit("hide",t)}),p)},__cleanup(){this.__preventScroll(!1),this.__setScrollable(!0)},__update(t,e){this.layout[this.side][t]!==e&&(this.layout[this.side][t]=e)},__updateLocal(t,e){this[t]!==e&&(this[t]=e)},__updateSizeOnLayout(t,e){this.__update("size",!0===t?this.miniWidth:e)},__updateBelowBreakpoint(){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.layout.totalWidth<=this.breakpoint)}},created(){this.layout.instances[this.side]=this,this.__updateSizeOnLayout(this.miniToOverlay,this.size),this.__update("space",this.onLayout),this.__update("offset",this.offset),!0===this.showIfAbove&&!0!==this.value&&!0===this.showing&&void 0!==this.qListeners.input&&this.$emit("input",!0)},mounted(){this.$emit("on-layout",this.onLayout),this.$emit("mini-state",this.isMini),this.lastDesktopState=!0===this.showIfAbove;const t=()=>{const t=!0===this.showing?"show":"hide";this[`__${t}`](!1,!0)};0===this.layout.totalWidth?this.watcher=this.$watch("layout.totalWidth",(()=>{this.watcher(),this.watcher=void 0,!1===this.showing&&!0===this.showIfAbove&&!1===this.belowBreakpoint?this.show(!1):t()})):this.$nextTick(t)},beforeDestroy(){void 0!==this.watcher&&this.watcher(),clearTimeout(this.timerMini),!0===this.showing&&this.__cleanup(),this.layout.instances[this.side]===this&&(this.layout.instances[this.side]=void 0,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},render(t){const e=[];!0===this.belowBreakpoint&&(!0!==this.noSwipeOpen&&e.push(t("div",{staticClass:`q-drawer__opener fixed-${this.side}`,attrs:d["a"],directives:this.openDirective})),e.push(t("div",{ref:"backdrop",staticClass:"fullscreen q-drawer__backdrop",class:this.backdropClass,attrs:d["a"],style:void 0!==this.lastBackdropBg?{backgroundColor:this.lastBackdropBg}:null,on:Object(h["b"])(this,"bkdrop",{click:this.hide}),directives:!1===this.showing?void 0:this.backdropCloseDirective})));const i=[t("div",{staticClass:"q-drawer__content fit "+(!0===this.layout.container?"overflow-auto":"scroll"),class:this.contentClass,style:this.contentStyle},!0===this.isMini&&void 0!==this.$scopedSlots.mini?this.$scopedSlots.mini():Object(c["c"])(this,"default"))];return!0===this.elevated&&!0===this.showing&&i.push(t("div",{staticClass:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),e.push(t("aside",{ref:"content",staticClass:"q-drawer",class:this.classes,style:this.style,on:this.onNativeEvents,directives:!0===this.belowBreakpoint?this.contentCloseDirective:void 0},i)),t("div",{staticClass:"q-drawer-container"},e)}})},"94ca":function(t,e,i){var n=i("d039"),r=i("1626"),o=/#|\.prototype\./,a=function(t,e){var i=l[s(t)];return i==c||i!=u&&(r(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},"94f1":function(module,exports,__webpack_require__){"undefined"!==typeof navigator&&function(t,e){module.exports=e()}(0,(function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,n,r=t.length;for(i=0;i<r;i+=1)for(var o in n=t[i].prototype,n)Object.prototype.hasOwnProperty.call(n,o)&&(e.prototype[o]=n[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var i,n=0,r=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1;break}for(n=0;n<e;n+=1)r.push(i);return r}function e(e,i){return"float32"===e?new Float32Array(i):"int16"===e?new Int16Array(i):"uint8c"===e?new Uint8ClampedArray(i):t(e,i)}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if("object"===e&&t.length){var i,n=createSizedArray(t.length),r=t.length;for(i=0;i<r;i+=1)n[i]=Math.abs(t[i]);return n}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,i,n){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=n<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,n){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=n<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,i){var n,r,o,a,s,l,u,c;switch(a=Math.floor(6*t),s=6*t-a,l=i*(1-e),u=i*(1-s*e),c=i*(1-(1-s)*e),a%6){case 0:n=i,r=c,o=l;break;case 1:n=u,r=i,o=l;break;case 2:n=l,r=i,o=c;break;case 3:n=l,r=u,o=i;break;case 4:n=c,r=l,o=i;break;case 5:n=i,r=l,o=u;break;default:break}return[n,r,o]}function RGBtoHSV(t,e,i){var n,r=Math.max(t,e,i),o=Math.min(t,e,i),a=r-o,s=0===r?0:a/r,l=r/255;switch(r){case o:n=0;break;case t:n=e-i+a*(e<i?6:0),n/=6*a;break;case e:n=i-t+2*a,n/=6*a;break;case i:n=t-e+4*a,n/=6*a;break;default:break}return[n,s,l]}function addSaturationToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t,e,i=[];for(t=0;t<256;t+=1)e=t.toString(16),i[t]=1===e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+i[t]+i[e]+i[n]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,i=1,n=[],r={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){r.onmessage({data:t})}};function a(e){if(window.Worker&&window.Blob&&getWebWorker()){var i=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),n=URL.createObjectURL(i);return new Worker(n)}return t=e,r}function s(){e||(e=a((function(t){function e(){function t(e,i){var a,s,l,u,c,h,d=e.length;for(s=0;s<d;s+=1)if(a=e[s],"ks"in a&&!a.completed){if(a.completed=!0,a.tt&&(e[s-1].td=a.tt),a.hasMask){var f=a.masksProperties;for(u=f.length,l=0;l<u;l+=1)if(f[l].pt.k.i)o(f[l].pt.k);else for(h=f[l].pt.k.length,c=0;c<h;c+=1)f[l].pt.k[c].s&&o(f[l].pt.k[c].s[0]),f[l].pt.k[c].e&&o(f[l].pt.k[c].e[0])}0===a.ty?(a.layers=n(a.refId,i),t(a.layers,i)):4===a.ty?r(a.shapes):5===a.ty&&p(a)}}function e(e,i){if(e){var r=0,o=e.length;for(r=0;r<o;r+=1)1===e[r].t&&(e[r].data.layers=n(e[r].data.refId,i),t(e[r].data.layers,i))}}function i(t,e){var i=0,n=e.length;while(i<n){if(e[i].id===t)return e[i];i+=1}return null}function n(t,e){var n=i(t,e);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function r(t){var e,i,n,a=t.length;for(e=a-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)o(t[e].ks.k);else for(n=t[e].ks.k.length,i=0;i<n;i+=1)t[e].ks.k[i].s&&o(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&o(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function o(t){var e,i=t.i.length;for(e=0;e<i;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var i=e?e.split("."):[100,100,100];return t[0]>i[0]||!(i[0]>t[0])&&(t[1]>i[1]||!(i[1]>t[1])&&(t[2]>i[2]||!(i[2]>t[2])&&null))}var s=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function i(t){var i,n=t.length;for(i=0;i<n;i+=1)5===t[i].ty&&e(t[i])}return function(e){if(a(t,e.v)&&(i(e.layers),e.assets)){var n,r=e.assets.length;for(n=0;n<r;n+=1)e.assets[n].layers&&i(e.assets[n].layers)}}}(),l=function(){var t=[4,7,99];return function(e){if(e.chars&&!a(t,e.v)){var i,n=e.chars.length;for(i=0;i<n;i+=1){var o=e.chars[i];o.data&&o.data.shapes&&(r(o.data.shapes),o.data.ip=0,o.data.op=99999,o.data.st=0,o.data.sr=1,o.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[i].t||(o.data.shapes.push({ty:"no"}),o.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),u=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"===typeof e.a&&(e.a={a:0,k:e.a}),"number"===typeof e.p&&(e.p={a:0,k:e.p}),"number"===typeof e.r&&(e.r={a:0,k:e.r})}function i(t){var i,n=t.length;for(i=0;i<n;i+=1)5===t[i].ty&&e(t[i])}return function(e){if(a(t,e.v)&&(i(e.layers),e.assets)){var n,r=e.assets.length;for(n=0;n<r;n+=1)e.assets[n].layers&&i(e.assets[n].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var i,n,r,o=t.length;for(i=0;i<o;i+=1)if("gr"===t[i].ty)e(t[i].it);else if("fl"===t[i].ty||"st"===t[i].ty)if(t[i].c.k&&t[i].c.k[0].i)for(r=t[i].c.k.length,n=0;n<r;n+=1)t[i].c.k[n].s&&(t[i].c.k[n].s[0]/=255,t[i].c.k[n].s[1]/=255,t[i].c.k[n].s[2]/=255,t[i].c.k[n].s[3]/=255),t[i].c.k[n].e&&(t[i].c.k[n].e[0]/=255,t[i].c.k[n].e[1]/=255,t[i].c.k[n].e[2]/=255,t[i].c.k[n].e[3]/=255);else t[i].c.k[0]/=255,t[i].c.k[1]/=255,t[i].c.k[2]/=255,t[i].c.k[3]/=255}function i(t){var i,n=t.length;for(i=0;i<n;i+=1)4===t[i].ty&&e(t[i].shapes)}return function(e){if(a(t,e.v)&&(i(e.layers),e.assets)){var n,r=e.assets.length;for(n=0;n<r;n+=1)e.assets[n].layers&&i(e.assets[n].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var i,n,r,o=t.length;for(i=o-1;i>=0;i-=1)if("sh"===t[i].ty)if(t[i].ks.k.i)t[i].ks.k.c=t[i].closed;else for(r=t[i].ks.k.length,n=0;n<r;n+=1)t[i].ks.k[n].s&&(t[i].ks.k[n].s[0].c=t[i].closed),t[i].ks.k[n].e&&(t[i].ks.k[n].e[0].c=t[i].closed);else"gr"===t[i].ty&&e(t[i].it)}function i(t){var i,n,r,o,a,s,l=t.length;for(n=0;n<l;n+=1){if(i=t[n],i.hasMask){var u=i.masksProperties;for(o=u.length,r=0;r<o;r+=1)if(u[r].pt.k.i)u[r].pt.k.c=u[r].cl;else for(s=u[r].pt.k.length,a=0;a<s;a+=1)u[r].pt.k[a].s&&(u[r].pt.k[a].s[0].c=u[r].cl),u[r].pt.k[a].e&&(u[r].pt.k[a].e[0].c=u[r].cl)}4===i.ty&&e(i.shapes)}}return function(e){if(a(t,e.v)&&(i(e.layers),e.assets)){var n,r=e.assets.length;for(n=0;n<r;n+=1)e.assets[n].layers&&i(e.assets[n].layers)}}}();function d(i){i.__complete||(c(i),s(i),l(i),u(i),h(i),t(i.layers,i.assets),e(i.chars,i.assets),i.__complete=!0)}function p(t){0===t.t.a.length&&t.t.p}var f={};return f.completeData=d,f.checkColors=c,f.checkChars=l,f.checkPathProperties=u,f.checkShapes=h,f.completeLayers=t,f}if(o.dataManager||(o.dataManager=e()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}function e(e,i,n,r){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(s){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),n(o);else try{o=t(a),n(o)}catch(s){r&&r(s)}};try{a.open("GET",e,!0)}catch(l){a.open("GET",i+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var i=t.data.animation;o.dataManager.completeData(i),o.postMessage({id:t.data.id,payload:i,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,i=e.id,r=n[i];n[i]=null,"success"===e.status?r.onComplete(e.payload):r.onError&&r.onError()})}function l(t,e){i+=1;var r="processId_"+i;return n[r]={onComplete:t,onError:e},r}function u(t,i,n){s();var r=l(i,n);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function c(t,i,n){s();var r=l(i,n);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function h(t,i,n){s();var r=l(i,n);e.postMessage({type:"complete",animation:t,id:r})}return{loadAnimation:u,loadData:c,completeAnimation:h}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,i){var n="";if(t.e)n=t.p;else if(e){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),n=e+r}else n=i,n+=t.u?t.u:"",n+=t.p;return n}function r(t){var e=0,i=setInterval(function(){var n=t.getBBox();(n.width||e>500)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}function o(e){var i=n(e,this.assetsPath,this.path),r=createNS("image");isSafari?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:e};return o}function a(e){var i=n(e,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.src=i;var o={img:r,assetData:e};return o}function s(t){var e={assetData:t},i=n(t,this.assetsPath,this.path);return dataManager.loadData(i,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function l(t,e){var i;this.imagesLoadedCb=e;var n=t.length;for(i=0;i<n;i+=1)t[i].layers||(t[i].t&&"seq"!==t[i].t?3===t[i].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[i]))):(this.totalImages+=1,this.images.push(this._createImageData(t[i]))))}function u(t){this.path=t||""}function c(t){this.assetsPath=t||""}function h(t){var e=0,i=this.images.length;while(e<i){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null}function d(){this.imagesLoadedCb=null,this.images.length=0}function p(){return this.totalImages===this.loadedAssets}function f(){return this.totalFootages===this.loadedFootagesCount}function g(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function m(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return m.prototype={loadAssets:l,setAssetsPath:c,setPath:u,loadedImages:p,loadedFootages:f,destroy:d,getAsset:h,createImgData:a,createImageData:o,imageLoaded:e,footageLoaded:i,setCacheType:g},m}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],n=0;n<i.length;n+=1)i[n](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){var i=0,n=this._cbs[t].length;while(i<n)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,n-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,i=t.split("\r\n"),n={},r=0,o=0;o<i.length;o+=1)e=i[o].split(":"),2===e.length&&(n[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return n}return function(e){for(var i=[],n=0;n<e.length;n+=1){var r=e[n],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(e[n].cm)}catch(a){try{o.payload=t(e[n].cm)}catch(s){o.payload={name:e[n].cm}}}i.push(o)}return i}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){var e=0,i=this.compositions.length;while(e<i){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function _typeof$4(t){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},n=t.attributes;i.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",i.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var r=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===r?i.loop=!1:"true"===r?i.loop=!0:""!==r&&(i.loop=parseInt(r,10));var o=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;i.autoplay="false"!==o,i.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var a=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";"false"===a&&(i.prerender=!1),this.setParams(i)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,i,n=this.animationData.layers,r=n.length,o=t.layers,a=o.length;for(i=0;i<a;i+=1){e=0;while(e<r){if(n[e].id===o[i].id){n[e]=o[i];break}e+=1}}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,e=0;e<r;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!i||this.name===i){var n=Number(t);if(isNaN(n)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!i||this.name===i){var n=Number(t);if(isNaN(n)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(n,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var i,n=t.length;for(i=0;i<n;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){var e=0,i=this.assets.length;while(e<i){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,i){try{var n=this.renderer.getElementByPath(t);n.updateDocumentData(e,i)}catch(r){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,n=0,r=0,o=!0,a=!1;function s(t){var i=0,r=t.target;while(i<n)e[i].animation===r&&(e.splice(i,1),i-=1,n-=1,r.isPaused||h()),i+=1}function l(t,i){if(!t)return null;var r=0;while(r<n){if(e[r].elem===t&&null!==e[r].elem)return e[r].animation;r+=1}var o=new AnimationItem;return d(o,t),o.setData(t,i),o}function u(){var t,i=e.length,n=[];for(t=0;t<i;t+=1)n.push(e[t].animation);return n}function c(){r+=1,M()}function h(){r-=1}function d(t,i){t.addEventListener("destroy",s),t.addEventListener("_active",c),t.addEventListener("_idle",h),e.push({elem:i,animation:t}),n+=1}function p(t){var e=new AnimationItem;return d(e,null),e.setParams(t),e}function f(t,i){var r;for(r=0;r<n;r+=1)e[r].animation.setSpeed(t,i)}function g(t,i){var r;for(r=0;r<n;r+=1)e[r].animation.setDirection(t,i)}function m(t){var i;for(i=0;i<n;i+=1)e[i].animation.play(t)}function v(t){var s,l=t-i;for(s=0;s<n;s+=1)e[s].animation.advanceTime(l);i=t,r&&!a?window.requestAnimationFrame(v):o=!0}function y(t){i=t,window.requestAnimationFrame(v)}function b(t){var i;for(i=0;i<n;i+=1)e[i].animation.pause(t)}function _(t,i,r){var o;for(o=0;o<n;o+=1)e[o].animation.goToAndStop(t,i,r)}function x(t){var i;for(i=0;i<n;i+=1)e[i].animation.stop(t)}function w(t){var i;for(i=0;i<n;i+=1)e[i].animation.togglePause(t)}function S(t){var i;for(i=n-1;i>=0;i-=1)e[i].animation.destroy(t)}function C(t,e,i){var n,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(n=0;n<o;n+=1)i&&r[n].setAttribute("data-bm-type",i),l(r[n],t);if(e&&0===o){i||(i="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",i),a.appendChild(s),l(s,t)}}function k(){var t;for(t=0;t<n;t+=1)e[t].animation.resize()}function M(){!a&&r&&o&&(window.requestAnimationFrame(y),o=!1)}function O(){a=!0}function T(){a=!1,M()}function A(t,i){var r;for(r=0;r<n;r+=1)e[r].animation.setVolume(t,i)}function I(t){var i;for(i=0;i<n;i+=1)e[i].animation.mute(t)}function P(t){var i;for(i=0;i<n;i+=1)e[i].animation.unmute(t)}return t.registerAnimation=l,t.loadAnimation=p,t.setSpeed=f,t.setDirection=g,t.play=m,t.pause=b,t.stop=x,t.togglePause=w,t.searchAnimations=C,t.resize=k,t.goToAndStop=_,t.destroy=S,t.freeze=O,t.unfreeze=T,t.setVolume=A,t.mute=I,t.unmute=P,t.getRegisteredAnimations=u,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(t,i,n,r,o){var a=o||("bez_"+t+"_"+i+"_"+n+"_"+r).replace(/\./g,"p");if(e[a])return e[a];var s=new v([t,i,n,r]);return e[a]=s,s}var n=4,r=.001,o=1e-7,a=10,s=11,l=1/(s-1),u="function"===typeof Float32Array;function c(t,e){return 1-3*e+3*t}function h(t,e){return 3*e-6*t}function d(t){return 3*t}function p(t,e,i){return((c(e,i)*t+h(e,i))*t+d(e))*t}function f(t,e,i){return 3*c(e,i)*t*t+2*h(e,i)*t+d(e)}function g(t,e,i,n,r){var s,l,u=0;do{l=e+(i-e)/2,s=p(l,n,r)-t,s>0?i=l:e=l}while(Math.abs(s)>o&&++u<a);return l}function m(t,e,i,r){for(var o=0;o<n;++o){var a=f(e,i,r);if(0===a)return e;var s=p(e,i,r)-t;e-=s/a}return e}function v(t){this._p=t,this._mSampleValues=u?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(t){var e=this._p[0],i=this._p[1],n=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===i&&n===r?t:0===t?0:1===t?1:p(this._getTForX(t),i,r)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&i===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<s;++i)this._mSampleValues[i]=p(i*l,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],n=this._mSampleValues,o=0,a=1,u=s-1;a!==u&&n[a]<=t;++a)o+=l;--a;var c=(t-n[a])/(n[a+1]-n[a]),h=o+c*l,d=f(h,e,i);return d>=r?m(t,h,e,i):0===d?h:g(t,o,o+l,e,i)}},t}(),pooling=function(){function t(t){return t.concat(createSizedArray(t.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){var n=0,r=t,o=createSizedArray(r),a={newElement:s,release:l};function s(){var t;return n?(n-=1,t=o[n]):t=e(),t}function l(t){n===r&&(o=pooling["double"](o),r*=2),i&&i(t),o[n]=t,n+=1}return a}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,i=t.lengths.length;for(e=0;e<i;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(t,e,i,n,r,o){var a=t*n+e*r+i*o-r*n-o*t-i*e;return a>-.001&&a<.001}function i(i,n,r,o,a,s,l,u,c){if(0===r&&0===s&&0===c)return e(i,n,o,a,l,u);var h,d=t.sqrt(t.pow(o-i,2)+t.pow(a-n,2)+t.pow(s-r,2)),p=t.sqrt(t.pow(l-i,2)+t.pow(u-n,2)+t.pow(c-r,2)),f=t.sqrt(t.pow(l-o,2)+t.pow(u-a,2)+t.pow(c-s,2));return h=d>p?d>f?d-p-f:f-p-d:f>p?f-p-d:p-d-f,h>-1e-4&&h<1e-4}var n=function(){return function(t,e,i,n){var r,o,a,s,l,u,c=getDefaultCurveSegments(),h=0,d=[],p=[],f=bezierLengthPool.newElement();for(a=i.length,r=0;r<c;r+=1){for(l=r/(c-1),u=0,o=0;o<a;o+=1)s=bmPow(1-l,3)*t[o]+3*bmPow(1-l,2)*l*i[o]+3*(1-l)*bmPow(l,2)*n[o]+bmPow(l,3)*e[o],d[o]=s,null!==p[o]&&(u+=bmPow(d[o]-p[o],2)),p[o]=d[o];u&&(u=bmSqrt(u),h+=u),f.percents[r]=l,f.lengths[r]=h}return f.addedLength=h,f}}();function r(t){var e,i=segmentsLengthPool.newElement(),r=t.c,o=t.v,a=t.o,s=t.i,l=t._length,u=i.lengths,c=0;for(e=0;e<l-1;e+=1)u[e]=n(o[e],o[e+1],a[e],s[e+1]),c+=u[e].addedLength;return r&&l&&(u[e]=n(o[e],o[0],a[e],s[0]),c+=u[e].addedLength),i.totalLength=c,i}function o(t){this.segmentLength=0,this.points=new Array(t)}function a(t,e){this.partialLength=t,this.point=e}var s=function(){var t={};return function(i,n,r,s){var l=(i[0]+"_"+i[1]+"_"+n[0]+"_"+n[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!t[l]){var u,c,h,d,p,f,g,m=getDefaultCurveSegments(),v=0,y=null;2===i.length&&(i[0]!==n[0]||i[1]!==n[1])&&e(i[0],i[1],n[0],n[1],i[0]+r[0],i[1]+r[1])&&e(i[0],i[1],n[0],n[1],n[0]+s[0],n[1]+s[1])&&(m=2);var b=new o(m);for(h=r.length,u=0;u<m;u+=1){for(g=createSizedArray(h),p=u/(m-1),f=0,c=0;c<h;c+=1)d=bmPow(1-p,3)*i[c]+3*bmPow(1-p,2)*p*(i[c]+r[c])+3*(1-p)*bmPow(p,2)*(n[c]+s[c])+bmPow(p,3)*n[c],g[c]=d,null!==y&&(f+=bmPow(g[c]-y[c],2));f=bmSqrt(f),v+=f,b.points[u]=new a(f,g),y=g}b.segmentLength=v,t[l]=b}return t[l]}}();function l(t,e){var i=e.percents,n=e.lengths,r=i.length,o=bmFloor((r-1)*t),a=t*e.addedLength,s=0;if(o===r-1||0===o||a===n[o])return i[o];var l=n[o]>a?-1:1,u=!0;while(u)if(n[o]<=a&&n[o+1]>a?(s=(a-n[o])/(n[o+1]-n[o]),u=!1):o+=l,o<0||o>=r-1){if(o===r-1)return i[o];u=!1}return i[o]+(i[o+1]-i[o])*s}function u(e,i,n,r,o,a){var s=l(o,a),u=1-s,c=t.round(1e3*(u*u*u*e[0]+(s*u*u+u*s*u+u*u*s)*n[0]+(s*s*u+u*s*s+s*u*s)*r[0]+s*s*s*i[0]))/1e3,h=t.round(1e3*(u*u*u*e[1]+(s*u*u+u*s*u+u*u*s)*n[1]+(s*s*u+u*s*s+s*u*s)*r[1]+s*s*s*i[1]))/1e3;return[c,h]}var c=createTypedArray("float32",8);function h(e,i,n,r,o,a,s){o<0?o=0:o>1&&(o=1);var u=l(o,s);a=a>1?1:a;var h,d=l(a,s),p=e.length,f=1-u,g=1-d,m=f*f*f,v=u*f*f*3,y=u*u*f*3,b=u*u*u,_=f*f*g,x=u*f*g+f*u*g+f*f*d,w=u*u*g+f*u*d+u*f*d,S=u*u*d,C=f*g*g,k=u*g*g+f*d*g+f*g*d,M=u*d*g+f*d*d+u*g*d,O=u*d*d,T=g*g*g,A=d*g*g+g*d*g+g*g*d,I=d*d*g+g*d*d+d*g*d,P=d*d*d;for(h=0;h<p;h+=1)c[4*h]=t.round(1e3*(m*e[h]+v*n[h]+y*r[h]+b*i[h]))/1e3,c[4*h+1]=t.round(1e3*(_*e[h]+x*n[h]+w*r[h]+S*i[h]))/1e3,c[4*h+2]=t.round(1e3*(C*e[h]+k*n[h]+M*r[h]+O*i[h]))/1e3,c[4*h+3]=t.round(1e3*(T*e[h]+A*n[h]+I*r[h]+P*i[h]))/1e3;return c}return{getSegmentsLength:r,getNewSegment:h,getPointInSegment:u,buildBezierData:s,pointOnLine2D:e,pointOnLine3D:i}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function i(t,e){var i,a=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));var s,l,u,c,h,d,p,f,g,m=e.lastIndex,v=m,y=this.keyframes.length-1,b=!0;while(b){if(s=this.keyframes[v],l=this.keyframes[v+1],v===y-1&&t>=l.t-a){s.h&&(s=l),m=0;break}if(l.t-a>t){m=v;break}v<y-1?v+=1:(m=0,b=!1)}u=this.keyframesMetadata[v]||{};var _,x=l.t-a,w=s.t-a;if(s.to){u.bezierData||(u.bezierData=bez.buildBezierData(s.s,l.s||s.e,s.to,s.ti));var S=u.bezierData;if(t>=x||t<w){var C=t>=x?S.points.length-1:0;for(h=S.points[C].point.length,c=0;c<h;c+=1)i[c]=S.points[C].point[c]}else{u.__fnct?g=u.__fnct:(g=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,u.__fnct=g),d=g((t-w)/(x-w));var k,M=S.segmentLength*d,O=e.lastFrame<t&&e._lastKeyframeIndex===v?e._lastAddedLength:0;f=e.lastFrame<t&&e._lastKeyframeIndex===v?e._lastPoint:0,b=!0,p=S.points.length;while(b){if(O+=S.points[f].partialLength,0===M||0===d||f===S.points.length-1){for(h=S.points[f].point.length,c=0;c<h;c+=1)i[c]=S.points[f].point[c];break}if(M>=O&&M<O+S.points[f+1].partialLength){for(k=(M-O)/S.points[f+1].partialLength,h=S.points[f].point.length,c=0;c<h;c+=1)i[c]=S.points[f].point[c]+(S.points[f+1].point[c]-S.points[f].point[c])*k;break}f<p-1?f+=1:b=!1}e._lastPoint=f,e._lastAddedLength=O-S.points[f].partialLength,e._lastKeyframeIndex=v}}else{var T,A,I,P,E;if(y=s.s.length,_=l.s||s.e,this.sh&&1!==s.h)if(t>=x)i[0]=_[0],i[1]=_[1],i[2]=_[2];else if(t<=w)i[0]=s.s[0],i[1]=s.s[1],i[2]=s.s[2];else{var D=o(s.s),L=o(_),j=(t-w)/(x-w);r(i,n(D,L,j))}else for(v=0;v<y;v+=1)1!==s.h&&(t>=x?d=1:t<w?d=0:(s.o.x.constructor===Array?(u.__fnct||(u.__fnct=[]),u.__fnct[v]?g=u.__fnct[v]:(T=void 0===s.o.x[v]?s.o.x[0]:s.o.x[v],A=void 0===s.o.y[v]?s.o.y[0]:s.o.y[v],I=void 0===s.i.x[v]?s.i.x[0]:s.i.x[v],P=void 0===s.i.y[v]?s.i.y[0]:s.i.y[v],g=BezierFactory.getBezierEasing(T,A,I,P).get,u.__fnct[v]=g)):u.__fnct?g=u.__fnct:(T=s.o.x,A=s.o.y,I=s.i.x,P=s.i.y,g=BezierFactory.getBezierEasing(T,A,I,P).get,s.keyframeMetadata=g),d=g((t-w)/(x-w)))),_=l.s||s.e,E=1===s.h?s.s[v]:s.s[v]+(_[v]-s.s[v])*d,"multidimensional"===this.propType?i[v]=E:i=E}return e.lastIndex=m,i}function n(t,e,i){var n,r,o,a,s,l=[],u=t[0],c=t[1],h=t[2],d=t[3],p=e[0],f=e[1],g=e[2],m=e[3];return r=u*p+c*f+h*g+d*m,r<0&&(r=-r,p=-p,f=-f,g=-g,m=-m),1-r>1e-6?(n=Math.acos(r),o=Math.sin(n),a=Math.sin((1-i)*n)/o,s=Math.sin(i*n)/o):(a=1-i,s=i),l[0]=a*u+s*p,l[1]=a*c+s*f,l[2]=a*h+s*g,l[3]=a*d+s*m,l}function r(t,e){var i=e[0],n=e[1],r=e[2],o=e[3],a=Math.atan2(2*n*o-2*i*r,1-2*n*n-2*r*r),s=Math.asin(2*i*n+2*r*o),l=Math.atan2(2*i*o-2*n*r,1-2*i*i-2*r*r);t[0]=a/degToRads,t[1]=s/degToRads,t[2]=l/degToRads}function o(t){var e=t[0]*degToRads,i=t[1]*degToRads,n=t[2]*degToRads,r=Math.cos(e/2),o=Math.cos(i/2),a=Math.cos(n/2),s=Math.sin(e/2),l=Math.sin(i/2),u=Math.sin(n/2),c=r*o*a-s*l*u,h=s*l*a+r*o*u,d=s*o*a+r*l*u,p=r*l*a-s*o*u;return[h,d,p,c]}function a(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<i&&e<i))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function s(t){var i;if("unidimensional"===this.propType)i=t*this.mult,e(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else{var n=0,r=this.v.length;while(n<r)i=t[n]*this.mult,e(this.v[n]-i)>1e-5&&(this.v[n]=i,this._mdf=!0),n+=1}}function l(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function u(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function c(t,e,i,n){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=l,this.setVValue=s,this.addEffect=u}function h(t,e,i,n){var r;this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),r=0;r<o;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=l,this.setVValue=s,this.addEffect=u}function d(e,n,r,o){this.propType="unidimensional",this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=r||1,this.elem=e,this.container=o,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=l,this.setVValue=s,this.interpolateValue=i,this.effectsSequence=[a.bind(this)],this.addEffect=u}function p(e,n,r,o){var c;this.propType="multidimensional";var h,d,p,f,g=n.k.length;for(c=0;c<g-1;c+=1)n.k[c].to&&n.k[c].s&&n.k[c+1]&&n.k[c+1].s&&(h=n.k[c].s,d=n.k[c+1].s,p=n.k[c].to,f=n.k[c].ti,(2===h.length&&(h[0]!==d[0]||h[1]!==d[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],h[0]+p[0],h[1]+p[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===h.length&&(h[0]!==d[0]||h[1]!==d[1]||h[2]!==d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],h[0]+p[0],h[1]+p[1],h[2]+p[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(n.k[c].to=null,n.k[c].ti=null),h[0]===d[0]&&h[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===h.length||h[2]===d[2]&&0===p[2]&&0===f[2])&&(n.k[c].to=null,n.k[c].ti=null));this.effectsSequence=[a.bind(this)],this.data=n,this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=o,this.comp=e.comp,this.getValue=l,this.setVValue=s,this.interpolateValue=i,this.frameId=-1;var m=n.k[0].s.length;for(this.v=createTypedArray("float32",m),this.pv=createTypedArray("float32",m),c=0;c<m;c+=1)this.v[c]=t,this.pv[c]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",m)},this.addEffect=u}function f(t,e,i,n,r){var o;if(e.k.length)if("number"===typeof e.k[0])o=new h(t,e,n,r);else switch(i){case 0:o=new d(t,e,n,r);break;case 1:o=new p(t,e,n,r);break;default:break}else o=new c(t,e,n,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}var g={getProp:f};return g}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);var i=0;while(i<e)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){while(this._maxLength<t)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,n,r){var o;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[n]||o[n]&&!r)&&(o[n]=pointPool.newElement()),o[n][0]=t,o[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,n,r,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(i,n,"o",a,s),this.setXYAt(r,o,"i",a,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,n=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],i[0][0],i[0][1],0,!1),r=1);var o,a=this._length-1,s=this._length;for(o=r;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],n[a][0],n[a][1],i[a][0],i[a][1],o,!1),a-=1;return t};var shapePool=function(){function t(){return new ShapePath}function e(t){var e,i=t._length;for(e=0;e<i;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function i(t){var e,i=n.newElement(),r=void 0===t._length?t.v.length:t._length;for(i.setLength(r),i.c=t.c,e=0;e<r;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i}var n=poolFactory(4,t,e);return n.clone=i,n}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:r,release:o},e=0,i=4,n=createSizedArray(i);function r(){var t;return e?(e-=1,t=n[e]):t=new ShapeCollection,t}function o(t){var r,o=t._length;for(r=0;r<o;r+=1)shapePool.release(t.shapes[r]);t._length=0,e===i&&(n=pooling["double"](n),i*=2),n[e]=t,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(t,e,i){var n,r,o,a,s,l,u,c,h,d=i.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)n=p[0].s[0],o=!0,d=0;else if(t>=p[p.length-1].t-this.offsetTime)n=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{var f,g,m,v=d,y=p.length-1,b=!0;while(b){if(f=p[v],g=p[v+1],g.t-this.offsetTime>t)break;v<y-1?v+=1:b=!1}if(m=this.keyframesMetadata[v]||{},o=1===f.h,d=v,!o){if(t>=g.t-this.offsetTime)c=1;else if(t<f.t-this.offsetTime)c=0;else{var _;m.__fnct?_=m.__fnct:(_=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,m.__fnct=_),c=_((t-(f.t-this.offsetTime))/(g.t-this.offsetTime-(f.t-this.offsetTime)))}r=g.s?g.s[0]:f.e[0]}n=f.s[0]}for(l=e._length,u=n.i[0].length,i.lastIndex=d,a=0;a<l;a+=1)for(s=0;s<u;s+=1)h=o?n.i[a][s]:n.i[a][s]+(r.i[a][s]-n.i[a][s])*c,e.i[a][s]=h,h=o?n.o[a][s]:n.o[a][s]+(r.o[a][s]-n.o[a][s])*c,e.o[a][s]=h,h=o?n.v[a][s]:n.v[a][s]+(r.v[a][s]-n.v[a][s])*c,e.v[a][s]=h}function i(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return r!==t&&(r<i&&e<i||r>n&&e>n)||(this._caching.lastIndex=r<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function n(){this.paths=this.localShapeCollection}function r(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var i,n=t._length;for(i=0;i<n;i+=1)if(t.v[i][0]!==e.v[i][0]||t.v[i][1]!==e.v[i][1]||t.o[i][0]!==e.o[i][0]||t.o[i][1]!==e.o[i][1]||t.i[i][0]!==e.i[i][0]||t.i[i][1]!==e.i[i][1])return!1;return!0}function o(t){r(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var i=this.effectsSequence.length;for(e=0;e<i;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,i){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var r=3===i?e.pt.k:e.ks.k;this.v=shapePool.clone(r),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function l(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function u(e,r,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=n,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=o,s.prototype.addEffect=l,u.prototype.getValue=a,u.prototype.interpolateShape=e,u.prototype.setVValue=o,u.prototype.addEffect=l;var c=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],i=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=i-r,a.v[1][0]=o?e+n:e-n,a.v[1][1]=i,a.v[2][0]=e,a.v[2][1]=i+r,a.v[3][0]=o?e-n:e+n,a.v[3][1]=i,a.i[0][0]=o?e-n*t:e+n*t,a.i[0][1]=i-r,a.i[1][0]=o?e+n:e-n,a.i[1][1]=i-r*t,a.i[2][0]=o?e+n*t:e-n*t,a.i[2][1]=i+r,a.i[3][0]=o?e-n:e+n,a.i[3][1]=i+r*t,a.o[0][0]=o?e+n*t:e-n*t,a.o[0][1]=i-r,a.o[1][0]=o?e+n:e-n,a.o[1][1]=i+r*t,a.o[2][0]=o?e-n*t:e+n*t,a.o[2][1]=i+r,a.o[3][0]=o?e-n:e+n,a.o[3][1]=i-r*t}},extendPrototype([DynamicPropertyContainer],e),e}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,i,n,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,a=!0,s=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*s/(2*r),d=2*Math.PI*l/(2*r),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<r;t+=1){e=a?s:l,i=a?u:c,n=a?h:d;var g=e*Math.cos(p),m=e*Math.sin(p),v=0===g&&0===m?0:m/Math.sqrt(g*g+m*m),y=0===g&&0===m?0:-g/Math.sqrt(g*g+m*m);g+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(g,m,g-v*n*i*f,m-y*n*i*f,g+v*n*i*f,m+y*n*i*f,t,!0),a=!a,p+=o*f}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,n=this.or.v,r=this.os.v,o=2*Math.PI*n/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=n*Math.cos(a),u=n*Math.sin(a),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*o*r*s,u-h*o*r*s,l+c*o*r*s,u+h*o*r*s,t,!0),a+=i*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),d=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,r=bmMin(i,n,this.r.v),o=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-n+r,t+i,e-n+r,t+i,e-n+o,0,!0),this.v.setTripleAt(t+i,e+n-r,t+i,e+n-o,t+i,e+n-r,1,!0),0!==r?(this.v.setTripleAt(t+i-r,e+n,t+i-r,e+n,t+i-o,e+n,2,!0),this.v.setTripleAt(t-i+r,e+n,t-i+o,e+n,t-i+r,e+n,3,!0),this.v.setTripleAt(t-i,e+n-r,t-i,e+n-r,t-i,e+n-o,4,!0),this.v.setTripleAt(t-i,e-n+r,t-i,e-n+o,t-i,e-n+r,5,!0),this.v.setTripleAt(t-i+r,e-n,t-i+r,e-n,t-i+o,e-n,6,!0),this.v.setTripleAt(t+i-r,e-n,t+i-o,e-n,t+i-r,e-n,7,!0)):(this.v.setTripleAt(t-i,e+n,t-i+o,e+n,t-i,e+n,2),this.v.setTripleAt(t-i,e-n,t-i,e-n+o,t-i,e-n,3))):(this.v.setTripleAt(t+i,e-n+r,t+i,e-n+o,t+i,e-n+r,0,!0),0!==r?(this.v.setTripleAt(t+i-r,e-n,t+i-r,e-n,t+i-o,e-n,1,!0),this.v.setTripleAt(t-i+r,e-n,t-i+o,e-n,t-i+r,e-n,2,!0),this.v.setTripleAt(t-i,e-n+r,t-i,e-n+r,t-i,e-n+o,3,!0),this.v.setTripleAt(t-i,e+n-r,t-i,e+n-o,t-i,e+n-r,4,!0),this.v.setTripleAt(t-i+r,e+n,t-i+r,e+n,t-i+o,e+n,5,!0),this.v.setTripleAt(t+i-r,e+n,t+i-o,e+n,t+i-r,e+n,6,!0),this.v.setTripleAt(t+i,e+n-r,t+i,e+n-r,t+i,e+n-o,7,!0)):(this.v.setTripleAt(t-i,e-n,t-i+o,e-n,t-i,e-n,1,!0),this.v.setTripleAt(t-i,e+n,t-i,e+n-o,t-i,e+n,2,!0),this.v.setTripleAt(t+i,e+n,t+i-o,e+n,t+i,e+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],t),t}();function p(t,e,i){var n;if(3===i||4===i){var r=3===i?e.pt:e.ks,o=r.k;n=o.length?new u(t,e,i):new s(t,e,i)}else 5===i?n=new d(t,e):6===i?n=new c(t,e):7===i&&(n=new h(t,e));return n.k&&t.addDynamicProperty(n),n}function f(){return s}function g(){return u}var m={};return m.getShapeProp=p,m.getConstructorFunction=f,m.getKeyframedConstructorFunction=g,m}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,n=Math.round;function r(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(i){if(0===i)return this;var n=t(i),r=e(i);return this._t(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1)}function a(i){if(0===i)return this;var n=t(i),r=e(i);return this._t(1,0,0,0,0,n,-r,0,0,r,n,0,0,0,0,1)}function s(i){if(0===i)return this;var n=t(i),r=e(i);return this._t(n,0,r,0,0,1,0,0,-r,0,n,0,0,0,0,1)}function l(i){if(0===i)return this;var n=t(i),r=e(i);return this._t(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(i(t),i(e))}function h(n,r){var o=t(r),a=e(r);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(n),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function d(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function p(t,e,i,n,r,o,a,s,l,u,c,h,d,p,f,g){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=n,this.props[4]=r,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=g,this}function f(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function g(t,e,i,n,r,o,a,s,l,u,c,h,d,p,f,g){var m=this.props;if(1===t&&0===e&&0===i&&0===n&&0===r&&1===o&&0===a&&0===s&&0===l&&0===u&&1===c&&0===h)return m[12]=m[12]*t+m[15]*d,m[13]=m[13]*o+m[15]*p,m[14]=m[14]*c+m[15]*f,m[15]*=g,this._identityCalculated=!1,this;var v=m[0],y=m[1],b=m[2],_=m[3],x=m[4],w=m[5],S=m[6],C=m[7],k=m[8],M=m[9],O=m[10],T=m[11],A=m[12],I=m[13],P=m[14],E=m[15];return m[0]=v*t+y*r+b*l+_*d,m[1]=v*e+y*o+b*u+_*p,m[2]=v*i+y*a+b*c+_*f,m[3]=v*n+y*s+b*h+_*g,m[4]=x*t+w*r+S*l+C*d,m[5]=x*e+w*o+S*u+C*p,m[6]=x*i+w*a+S*c+C*f,m[7]=x*n+w*s+S*h+C*g,m[8]=k*t+M*r+O*l+T*d,m[9]=k*e+M*o+O*u+T*p,m[10]=k*i+M*a+O*c+T*f,m[11]=k*n+M*s+O*h+T*g,m[12]=A*t+I*r+P*l+E*d,m[13]=A*e+I*o+P*u+E*p,m[14]=A*i+I*a+P*c+E*f,m[15]=A*n+I*s+P*h+E*g,this._identityCalculated=!1,this}function m(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){var e=0;while(e<16){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function y(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function x(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function w(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function S(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function C(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,i=-this.props[1]/t,n=-this.props[4]/t,r=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=i,s.props[4]=n,s.props[5]=r,s.props[12]=o,s.props[13]=a,s}function k(t){var e=this.getInverseMatrix();return e.applyToPointArray(t[0],t[1],t[2]||0)}function M(t){var e,i=t.length,n=[];for(e=0;e<i;e+=1)n[e]=k(t[e]);return n}function O(t,e,i){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=t[0],n[1]=t[1],n[2]=e[0],n[3]=e[1],n[4]=i[0],n[5]=i[1];else{var r=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];n[0]=t[0]*r+t[1]*a+l,n[1]=t[0]*o+t[1]*s+u,n[2]=e[0]*r+e[1]*a+l,n[3]=e[0]*o+e[1]*s+u,n[4]=i[0]*r+i[1]*a+l,n[5]=i[0]*o+i[1]*s+u}return n}function T(t,e,i){var n;return n=this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]],n}function A(t,e){if(this.isIdentity())return t+","+e;var i=this.props;return Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100}function I(){var t=0,e=this.props,i="matrix3d(",r=1e4;while(t<16)i+=n(e[t]*r)/r,i+=15===t?")":",",t+=1;return i}function P(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?n(t*e)/e:t}function E(){var t=this.props,e=P(t[0]),i=P(t[1]),n=P(t[4]),r=P(t[5]),o=P(t[12]),a=P(t[13]);return"matrix("+e+","+i+","+n+","+r+","+o+","+a+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=d,this.setTransform=p,this.translate=f,this.transform=g,this.applyToPoint=_,this.applyToX=x,this.applyToY=w,this.applyToZ=S,this.applyToPointArray=T,this.applyToTriplePoints=O,this.applyToPointStringified=A,this.toCSS=I,this.to2dCSS=E,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=M,this.inversePoint=k,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=m,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),i=0;i<e.length;i+=1){var n=e[i].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.9.6";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"===_typeof$3(exports)&&"undefined"!==typeof module||__webpack_require__("bf35")||(window.bodymovin=lottie)}catch(err){}var ShapeModifiers=function(){var t={},e={};function i(t,i){e[t]||(e[t]=i)}function n(t,i,n){return new e[t](i,n)}return t.registerModifier=i,t.getModifier=n,t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,n,r){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],u=o.length;for(a=0;a<u;a+=1){var c,h;if(s=o[a],!(s.e*r<n||s.s*r>n+i))c=s.s*r<=n?0:(s.s*r-n)/i,h=s.e*r>=n+i?1:(s.e*r-n)/i,l.push([c,h])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,n,r;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o,i=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o,e>i){var a=e;e=i,i=a}e=1e-4*Math.round(1e4*e),i=1e-4*Math.round(1e4*i),this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var s,l,u,c,h,d=this.shapes.length,p=0;if(i===e)for(r=0;r<d;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===i&&0===e||0===i&&1===e){if(this._mdf)for(r=0;r<d;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var f,g,m=[];for(r=0;r<d;r+=1)if(f=this.shapes[r],f.shape._mdf||this._mdf||t||2===this.m){if(n=f.shape.paths,l=n._length,h=0,!f.shape._mdf&&f.pathsData.length)h=f.totalShapeLength;else{for(u=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)c=bez.getSegmentsLength(n.shapes[s]),u.push(c),h+=c.totalLength;f.totalShapeLength=h,f.pathsData=u}p+=h,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=e,b=i,_=0;for(r=d-1;r>=0;r-=1)if(f=this.shapes[r],f.shape._mdf){for(g=f.localShapeCollection,g.releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(e,i,f.totalShapeLength,_,p),_+=f.totalShapeLength):v=[[y,b]],l=v.length,s=0;s<l;s+=1){y=v[s][0],b=v[s][1],m.length=0,b<=1?m.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?m.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(m.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),m.push({s:0,e:f.totalShapeLength*(b-1)}));var x=this.addShapes(f,m[0]);if(m[0].s!==m[0].e){if(m.length>1){var w=f.shape.paths.shapes[f.shape.paths._length-1];if(w.c){var S=x.pop();this.addPaths(x,g),x=this.addShapes(f,m[1],S)}else this.addPaths(x,g),x=this.addShapes(f,m[1])}this.addPaths(x,g)}}f.shape.paths=g}}},TrimModifier.prototype.addPaths=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,n,r,o,a){r.setXYAt(e[0],e[1],"o",o),r.setXYAt(i[0],i[1],"i",o+1),a&&r.setXYAt(t[0],t[1],"v",o),r.setXYAt(n[0],n[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,n){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),n&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var n,r,o,a,s,l,u,c,h=t.pathsData,d=t.shape.paths.shapes,p=t.shape.paths._length,f=0,g=[],m=!0;for(i?(s=i._length,c=i._length):(i=shapePool.newElement(),s=0,c=0),g.push(i),n=0;n<p;n+=1){for(l=h[n].lengths,i.c=d[n].c,o=d[n].c?l.length:l.length+1,r=1;r<o;r+=1)if(a=l[r-1],f+a.addedLength<e.s)f+=a.addedLength,i.c=!1;else{if(f>e.e){i.c=!1;break}e.s<=f&&e.e>=f+a.addedLength?(this.addSegment(d[n].v[r-1],d[n].o[r-1],d[n].i[r],d[n].v[r],i,s,m),m=!1):(u=bez.getNewSegment(d[n].v[r-1],d[n].v[r],d[n].o[r-1],d[n].i[r],(e.s-f)/a.addedLength,(e.e-f)/a.addedLength,l[r-1]),this.addSegmentFromArray(u,i,s,m),m=!1,i.c=!1),f+=a.addedLength,s+=1}if(d[n].c&&l.length){if(a=l[r-1],f<=e.e){var v=l[r-1].addedLength;e.s<=f&&e.e>=f+v?(this.addSegment(d[n].v[r-1],d[n].o[r-1],d[n].i[0],d[n].v[0],i,s,m),m=!1):(u=bez.getNewSegment(d[n].v[r-1],d[n].v[0],d[n].o[r-1],d[n].i[0],(e.s-f)/v,(e.e-f)/v,l[r-1]),this.addSegmentFromArray(u,i,s,m),m=!1,i.c=!1)}else i.c=!1;f+=a.addedLength,s+=1}if(i._length&&(i.setXYAt(i.v[c][0],i.v[c][1],"i",c),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),f>e.e)break;n<p-1&&(i=shapePool.newElement(),m=!0,g.push(i),s=0)}return g},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,n=[0,0],r=t._length,o=0;for(o=0;o<r;o+=1)n[0]+=t.v[o][0],n[1]+=t.v[o][1];n[0]/=r,n[1]/=r;var a,s,l,u,c,h,d=shapePool.newElement();for(d.c=t.c,o=0;o<r;o+=1)a=t.v[o][0]+(n[0]-t.v[o][0])*i,s=t.v[o][1]+(n[1]-t.v[o][1])*i,l=t.o[o][0]+(n[0]-t.o[o][0])*-i,u=t.o[o][1]+(n[1]-t.o[o][1])*-i,c=t.i[o][0]+(n[0]-t.i[o][0])*-i,h=t.i[o][1]+(n[1]-t.i[o][1])*-i,d.setTripleAt(a,s,l,u,c,h,o);return d},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,n,r,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(i=0;i<s;i+=1){if(o=this.shapes[i],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,n=0;n<r;n+=1)a.addShape(this.processPath(e[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var i;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,r;if(i=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(n=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],r=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/i,0),n[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),r[0]=o.getValueAtTime(o.keyframes[0].t/i,0),r[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/i,0),n[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(n=[o.pv,a.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/i,o.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else r=t,n=r;this.v.rotate(-Math.atan2(n[1]-r[1],n[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function n(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function r(){}function o(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function a(t,e,i){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var n,r=e.or.k.length;for(n=0;n<r;n+=1)e.or.k[n].to=null,e.or.k[n].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function s(t,e,i){return new a(t,e,i)}return a.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:n,autoOrient:r},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=o,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:s}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(t){for(var e,i=t.fStyle?t.fStyle.split(" "):[],n="normal",r="normal",o=i.length,a=0;a<o;a+=1)switch(e=i[a].toLowerCase(),e){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200";break;default:break}return{style:r,weight:t.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,n,r,o){var a=o?-1:1,s=n.s.v[0]+(1-n.s.v[0])*(1-r),l=n.s.v[1]+(1-n.s.v[1])*(1-r);t.translate(n.p.v[0]*a*r,n.p.v[1]*a*r,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*a*r),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),i.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),i.scale(o?1/s:s,o?1/l:l),i.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,n){this.elem=t,this.arr=e,this.pos=i,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);while(i>0)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)t[i]._render=e,"gr"===t[i].ty&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,n,r,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){while(this._groups.length<l){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,n=0;n<=this._groups.length-1;n+=1){if(s=o<l,this._groups[n]._render=s,this.changeGroupRender(this._groups[n].it,s),!s){var c=this.elemsData[n].it,h=c[c.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}o+=1}this._currentCopies=l;var d=this.o.v,p=d%1,f=d>0?Math.floor(d):Math.ceil(d),g=this.pMatrix.props,m=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(d>0){while(_<f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),_+=p)}else if(d<0){while(_>f)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),_-=p)}n=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;while(o){if(e=this.elemsData[n].it,i=e[e.length-1].transform.mProps.v.props,b=i.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==_){for((0!==n&&1===r||n!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),y=0;y<b;y+=1)i[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)i[y]=this.matrix.props[y];_+=1,o-=1,n+=r}}else{o=this._currentCopies,n=0,r=1;while(o)e=this.elemsData[n].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,n+=r}return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i,n=shapePool.newElement();n.c=t.c;var r,o,a,s,l,u,c,h,d,p,f,g,m=t._length,v=0;for(i=0;i<m;i+=1)r=t.v[i],a=t.o[i],o=t.i[i],r[0]===a[0]&&r[1]===a[1]&&r[0]===o[0]&&r[1]===o[1]?0!==i&&i!==m-1||t.c?(s=0===i?t.v[m-1]:t.v[i-1],l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)),u=l?Math.min(l/2,e)/l:0,f=r[0]+(s[0]-r[0])*u,c=f,g=r[1]-(r[1]-s[1])*u,h=g,d=c-(c-r[0])*roundCorner,p=h-(h-r[1])*roundCorner,n.setTripleAt(c,h,d,p,f,g,v),v+=1,s=i===m-1?t.v[0]:t.v[i+1],l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)),u=l?Math.min(l/2,e)/l:0,d=r[0]+(s[0]-r[0])*u,c=d,p=r[1]+(s[1]-r[1])*u,h=p,f=c-(c-r[0])*roundCorner,g=h-(h-r[1])*roundCorner,n.setTripleAt(c,h,d,p,f,g,v),v+=1):(n.setTripleAt(r[0],r[1],a[0],a[1],o[0],o[1],v),v+=1):(n.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],v),v+=1);return n},RoundCornersModifier.prototype.processShapes=function(t){var e,i,n,r,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(i=0;i<s;i+=1){if(o=this.shapes[i],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,n=0;n<r;n+=1)a.addShape(this.processPath(e[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function o(t){var e,i=t.split(","),n=i.length,r=[];for(e=0;e<n;e+=1)"sans-serif"!==i[e]&&"monospace"!==i[e]&&r.push(i[e]);return r.join(",")}function a(t,e){var i=createTag("span");i.setAttribute("aria-hidden",!0),i.style.fontFamily=e;var n=createTag("span");n.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(n),document.body.appendChild(i);var r=n.offsetWidth;return n.style.fontFamily=o(t)+", "+e,{node:n,w:r,parent:i}}function s(){var e,i,n,r=this.fonts.length,o=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(i=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,i.offsetWidth!==n?(o-=1,this.fonts[e].loaded=!0):(i=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,i.offsetWidth!==n&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function l(t,e){var i,n=document.body&&e?"svg":"canvas",r=getFontProperties(t);if("svg"===n){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),i=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=r.style+" "+r.weight+" 100px "+t.fFamily,i=a}function s(t){return"svg"===n?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}return{measureText:s}}function u(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=l(t),t.cache={}})),void(this.fonts=t.list);var i,n=t.list,r=n.length,o=r;for(i=0;i<r;i+=1){var s,u,c=!0;if(n[i].loaded=!1,n[i].monoCase=a(n[i].fFamily,"monospace"),n[i].sansCase=a(n[i].fFamily,"sans-serif"),n[i].fPath){if("p"===n[i].fOrigin||3===n[i].origin){if(s=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[i].fFamily+'"], style[f-origin="3"][f-family="'+n[i].fFamily+'"]'),s.length>0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",n[i].fOrigin),h.setAttribute("f-origin",n[i].origin),h.setAttribute("f-family",n[i].fFamily),h.type="text/css",h.innerText="@font-face {font-family: "+n[i].fFamily+"; font-style: normal; src: url('"+n[i].fPath+"');}",e.appendChild(h)}}else if("g"===n[i].fOrigin||1===n[i].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<s.length;u+=1)-1!==s[u].href.indexOf(n[i].fPath)&&(c=!1);if(c){var d=createTag("link");d.setAttribute("f-forigin",n[i].fOrigin),d.setAttribute("f-origin",n[i].origin),d.type="text/css",d.rel="stylesheet",d.href=n[i].fPath,document.body.appendChild(d)}}else if("t"===n[i].fOrigin||2===n[i].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<s.length;u+=1)n[i].fPath===s[u].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",n[i].fOrigin),p.setAttribute("f-origin",n[i].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",n[i].fPath),e.appendChild(p)}}}else n[i].loaded=!0,o-=1;n[i].helper=l(n[i],e),n[i].cache={},this.fonts.push(n[i])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function c(t){if(t){var e;this.chars||(this.chars=[]);var i,n,r=t.length,o=this.chars.length;for(e=0;e<r;e+=1){i=0,n=!1;while(i<o)this.chars[i].style===t[e].style&&this.chars[i].fFamily===t[e].fFamily&&this.chars[i].ch===t[e].ch&&(n=!0),i+=1;n||(this.chars.push(t[e]),o+=1)}}}function h(t,i,n){var r=0,o=this.chars.length;while(r<o){if(this.chars[r].ch===t&&this.chars[r].style===i&&this.chars[r].fFamily===n)return this.chars[r];r+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,i,n)),e}function d(t,e,i){var n=this.getFontByName(e),r=t.charCodeAt(0);if(!n.cache[r+1]){var o=n.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");n.cache[r+1]=(a-s)/100}else n.cache[r+1]=o.measureText(t)/100}return n.cache[r+1]*i}function p(t){var e=0,i=this.fonts.length;while(e<i){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function f(t,e){var i=t.toString(16)+e.toString(16);return-1!==n.indexOf(i)}function g(t,e){return e?t===r[0]&&e===r[1]:t===r[1]}function m(t){return-1!==i.indexOf(t)}function v(){this.isLoaded=!0}var y=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};y.isModifier=f,y.isZeroWidthJoiner=g,y.isCombinedCharacter=m;var b={addChars:c,addFonts:u,getCharData:h,getFontByName:p,measureText:d,checkLoadedFonts:s,setIsLoaded:v};return y.prototype=b,y}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});var e=function(e){var i,n=createSizedArray(e.viewData.length),r=e.viewData.length;for(i=0;i<r;i+=1)n[i]=new t(e.viewData[i],e.masksProperties[i]);var o=function(t){i=0;while(i<r){if(e.masksProperties[i].nm===t)return n[i];i+=1}return null};return o};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(t,e,i){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(n){if(!t.numKeys)return 0;var r="";r="s"in e.keyframes[n-1]?e.keyframes[n-1].s:"e"in e.keyframes[n-2]?e.keyframes[n-2].e:e.keyframes[n-2].s;var o="unidimensional"===i?new Number(r):Object.assign({},r);return o.time=e.keyframes[n-1].t/e.elem.comp.globalData.frameRate,o.value="unidimensional"===i?r[0]:r,o},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function n(e){e&&"pv"in e||(e=t);var n=1/e.mult,r=e.pv*n,o=new Number(r);return o.value=r,i(o,e,"unidimensional"),function(){return e.k&&e.getValue(),r=e.v*n,o.value!==r&&(o=new Number(r),o.value=r,i(o,e,"unidimensional")),o}}function r(t){t&&"pv"in t||(t=e);var n=1/t.mult,r=t.data&&t.data.l||t.pv.length,o=createTypedArray("float32",r),a=createTypedArray("float32",r);return o.value=a,i(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<r;e+=1)a[e]=t.v[e]*n,o[e]=a[e];return o}}function o(){return t}return function(t){return t?"unidimensional"===t.propType?n(t):r(t):o}}(),TransformExpressionInterface=function(){return function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var i,n,r,o;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?o=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),n=ExpressionPropertyInterface(t.py),t.pz&&(r=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?o():[i(),n(),r?r():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(t){var e=new Matrix;if(void 0!==t){var i=this._elem.finalTransform.mProp.getValueAtTime(t);i.clone(e)}else{var n=this._elem.finalTransform.mProp;n.applyToMatrix(e)}return e}function e(t,e){var i=this.getMatrix(e);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.applyPoint(i,t)}function i(t,e){var i=this.getMatrix(e);return this.applyPoint(i,t)}function n(t,e){var i=this.getMatrix(e);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.invertPoint(i,t)}function r(t,e){var i=this.getMatrix(e);return this.invertPoint(i,t)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var i,n=this._elem.hierarchy.length;for(i=0;i<n;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(u){var c;function h(t){p.mask=new MaskManagerInterface(t,u)}function d(t){p.effect=t}function p(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return p.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return p.effect;case"ADBE Text Properties":return p.textInterface;default:return null}}p.getMatrix=t,p.invertPoint=a,p.applyPoint=o,p.toWorld=i,p.toWorldVec=e,p.fromWorld=r,p.fromWorldVec=n,p.toComp=i,p.fromComp=s,p.sampleImage=l,p.sourceRectAtTime=u.sourceRectAtTime.bind(u),p._elem=u,c=TransformExpressionInterface(u.finalTransform.mProp);var f=getDescriptor(c,"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return c}},active:{get:function(){return u.isInRange}}}),p.startTime=u.data.st,p.index=u.data.ind,p.source=u.data.refId,p.height=0===u.data.ty?u.data.h:100,p.width=0===u.data.ty?u.data.w:100,p.inPoint=u.data.ip/u.comp.globalData.frameRate,p.outPoint=u.data.op/u.comp.globalData.frameRate,p._name=u.data.nm,p.registerMaskInterface=h,p.registerEffectsInterface=d,p}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=void 0===i?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){var i={_name:t};function n(t){return t=void 0===t?1:t,t<=0?i:e(t-1)}return n}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(t,e){if(t.effectsManager){var n,r=[],o=t.data.ef,a=t.effectsManager.effectElements.length;for(n=0;n<a;n+=1)r.push(i(o[n],t.effectsManager.effectElements[n],e,t));var s=t.data.ef||[],l=function(t){n=0,a=s.length;while(n<a){if(t===s[n].nm||t===s[n].mn||t===s[n].ix)return r[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}function i(t,e,r,o){function a(e){var i=t.ef,n=0,r=i.length;while(n<r){if(e===i[n].nm||e===i[n].mn||e===i[n].ix)return 5===i[n].ty?u[n]:u[n]();n+=1}throw new Error}var s,l=propertyGroupFactory(a,r),u=[],c=t.ef.length;for(s=0;s<c;s+=1)5===t.ef[s].ty?u.push(i(t.ef[s],e.effectElements[s],e.effectElements[s].propertyGroup,o)):u.push(n(e.effectElements[s],t.ef[s].ty,o,l));return"ADBE Color Control"===t.mn&&Object.defineProperty(a,"color",{get:function(){return u[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:l}}),a.enabled=0!==t.en,a.active=a.enabled,a}function n(t,e,i,n){var r=ExpressionPropertyInterface(t.p);function o(){return 10===e?i.comp.compInterface(t.p.v):r()}return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",n)),o}return t}(),CompExpressionInterface=function(){return function(t){function e(e){var i=0,n=t.layers.length;while(i<n){if(t.layers[i].nm===e||t.layers[i].ind===e)return t.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}(),ShapePathInterface=function(){return function(t,e,i){var n=e.sh;function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}var o=propertyGroupFactory(r,i);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(r,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r}}(),ShapeExpressionInterface=function(){function t(t,e,l){var f,g=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"===t[f].ty?g.push(i(t[f],e[f],l)):"fl"===t[f].ty?g.push(n(t[f],e[f],l)):"st"===t[f].ty?g.push(a(t[f],e[f],l)):"tm"===t[f].ty?g.push(s(t[f],e[f],l)):"tr"===t[f].ty||("el"===t[f].ty?g.push(u(t[f],e[f],l)):"sr"===t[f].ty?g.push(c(t[f],e[f],l)):"sh"===t[f].ty?g.push(ShapePathInterface(t[f],e[f],l)):"rc"===t[f].ty?g.push(h(t[f],e[f],l)):"rd"===t[f].ty?g.push(d(t[f],e[f],l)):"rp"===t[f].ty?g.push(p(t[f],e[f],l)):"gf"===t[f].ty?g.push(r(t[f],e[f],l)):g.push(o(t[f],e[f],l)));return g}function e(e,i,n){var r,o=function(t){var e=0,i=r.length;while(e<i){if(r[e]._name===t||r[e].mn===t||r[e].propertyIndex===t||r[e].ix===t||r[e].ind===t)return r[e];e+=1}return"number"===typeof t?r[t-1]:null};o.propertyGroup=propertyGroupFactory(o,n),r=t(e.it,i.it,o.propertyGroup),o.numProperties=r.length;var a=l(e.it[e.it.length-1],i.it[i.it.length-1],o.propertyGroup);return o.transform=a,o.propertyIndex=e.cix,o._name=e.nm,o}function i(t,i,n){var r=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return r.content;default:return r.transform}};r.propertyGroup=propertyGroupFactory(r,n);var o=e(t,i,r.propertyGroup),a=l(t.it[t.it.length-1],i.it[i.it.length-1],r.propertyGroup);return r.content=o,r.transform=a,Object.defineProperty(r,"_name",{get:function(){return t.nm}}),r.numProperties=t.np,r.propertyIndex=t.ix,r.nm=t.nm,r.mn=t.mn,r}function n(t,e,i){function n(t){return"Color"===t||"color"===t?n.color:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),n}function r(t,e,i){function n(t){return"Start Point"===t||"start point"===t?n.startPoint:"End Point"===t||"end point"===t?n.endPoint:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),n}function o(){function t(){return null}return t}function a(t,e,i){var n,r=propertyGroupFactory(u,i),o=propertyGroupFactory(l,r);function a(i){Object.defineProperty(l,t.d[i].nm,{get:ExpressionPropertyInterface(e.d.dataProps[i].p)})}var s=t.d?t.d.length:0,l={};for(n=0;n<s;n+=1)a(n),e.d.dataProps[n].p.setGroupProperty(o);function u(t){return"Color"===t||"color"===t?u.color:"Opacity"===t||"opacity"===t?u.opacity:"Stroke Width"===t||"stroke width"===t?u.strokeWidth:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),e.w.setGroupProperty(PropertyInterface("Stroke Width",r)),u}function s(t,e,i){function n(e){return e===t.e.ix||"End"===e||"end"===e?n.end:e===t.s.ix?n.start:e===t.o.ix?n.offset:null}var r=propertyGroupFactory(n,i);return n.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",r)),e.e.setGroupProperty(PropertyInterface("End",r)),e.o.setGroupProperty(PropertyInterface("Offset",r)),n.propertyIndex=t.ix,n.propertyGroup=i,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),n.mn=t.mn,n}function l(t,e,i){function n(e){return t.a.ix===e||"Anchor Point"===e?n.anchorPoint:t.o.ix===e||"Opacity"===e?n.opacity:t.p.ix===e||"Position"===e?n.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?n.rotation:t.s.ix===e||"Scale"===e?n.scale:t.sk&&t.sk.ix===e||"Skew"===e?n.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?n.skewAxis:null}var r=propertyGroupFactory(n,i);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),n.ty="tr",n.mn=t.mn,n.propertyGroup=i,n}function u(t,e,i){function n(e){return t.p.ix===e?n.position:t.s.ix===e?n.size:null}var r=propertyGroupFactory(n,i);n.propertyIndex=t.ix;var o="tm"===e.sh.ty?e.sh.prop:e.sh;return o.s.setGroupProperty(PropertyInterface("Size",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:t.nm}}),n.mn=t.mn,n}function c(t,e,i){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.rotation:t.pt.ix===e?n.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?n.outerRadius:t.os.ix===e?n.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?n.innerRoundness:null:n.innerRadius}var r=propertyGroupFactory(n,i),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",r)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",r)),o.pt.setGroupProperty(PropertyInterface("Points",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),t.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",r)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",r))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:t.nm}}),n.mn=t.mn,n}function h(t,e,i){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?n.size:null}var r=propertyGroupFactory(n,i),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.p.setGroupProperty(PropertyInterface("Position",r)),o.s.setGroupProperty(PropertyInterface("Size",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:t.nm}}),n.mn=t.mn,n}function d(t,e,i){function n(e){return t.r.ix===e||"Round Corners 1"===e?n.radius:null}var r=propertyGroupFactory(n,i),o=e;return n.propertyIndex=t.ix,o.rd.setGroupProperty(PropertyInterface("Radius",r)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function p(t,e,i){function n(e){return t.c.ix===e||"Copies"===e?n.copies:t.o.ix===e||"Offset"===e?n.offset:null}var r=propertyGroupFactory(n,i),o=e;return n.propertyIndex=t.ix,o.c.setGroupProperty(PropertyInterface("Copies",r)),o.o.setGroupProperty(PropertyInterface("Offset",r)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:t.nm}}),n.mn=t.mn,n}return function(e,i,n){var r;function o(t){if("number"===typeof t)return t=void 0===t?1:t,0===t?n:r[t-1];var e=0,i=r.length;while(e<i){if(r[e]._name===t)return r[e];e+=1}return null}function a(){return n}return o.propertyGroup=propertyGroupFactory(o,a),r=t(e,i,o.propertyGroup),o.numProperties=r.length,o._name="Contents",o}}(),TextExpressionInterface=function(){return function(t){var e,i;function n(t){switch(t){case"ADBE Text Document":return n.sourceText;default:return null}}return Object.defineProperty(n,"sourceText",{get:function(){t.textProperty.getValue();var n=t.textProperty.currentData.t;return n!==e&&(t.textProperty.currentData.t=e,i=new String(n),i.value=n||new String(n)),i}}),n}}(),getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i,n=t.ef||[];this.effectElements=[];var r,o=n.length;for(i=0;i<o;i+=1)r=new GroupEffect(n[i],e),this.effectElements.push(r)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function _typeof$2(t){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var i;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,r=this.data.ef.length,o=this.data.ef;for(i=0;i<r;i+=1){switch(n=null,o[i].ty){case 0:n=new SliderEffect(o[i],e,this);break;case 1:n=new AngleEffect(o[i],e,this);break;case 2:n=new ColorEffect(o[i],e,this);break;case 3:n=new PointEffect(o[i],e,this);break;case 4:case 7:n=new CheckboxEffect(o[i],e,this);break;case 10:n=new LayerIndexEffect(o[i],e,this);break;case 11:n=new MaskIndexEffect(o[i],e,this);break;case 5:n=new EffectsManager(o[i],e,this);break;default:n=new NoValueEffect(o[i],e,this);break}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;var t=0,e=this.data.masksProperties.length;while(t<e){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,n=this.dynamicProperties.length;for(i=0;i<n;i+=1)(e||this._isParent&&"transform"===this.dynamicProperties[i].propType)&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}};var FootageInterface=function(){var t=function(t){var e="",i=t.getFootageData();function n(){return e="",i=t.getFootageData(),r}function r(t){if(i[t])return e=t,i=i[t],"object"===_typeof$2(i)?r:i;var n=t.indexOf(e);if(-1!==n){var o=parseInt(t.substr(n+e.length),10);return i=i[o],"object"===_typeof$2(i)?r:i}return""}return n},e=function(e){function i(t){return"Outline"===t?i.outlineInterface():null}return i._name="Outline",i.outlineInterface=t(e),i};return function(t){function i(t){return"Data"===t?i.dataInterface:null}return i._name="Data",i.dataInterface=e(t),i}}();function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,r,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,l,u,c,h,d,p=this.masksProperties,f=0,g=[],m=createElementID(),v="clipPath",y="clip-path";for(n=0;n<a;n+=1)if(("a"!==p[n].mode&&"n"!==p[n].mode||p[n].inv||100!==p[n].o.k||p[n].o.x)&&(v="mask",y="mask"),"s"!==p[n].mode&&"i"!==p[n].mode||0!==f?u=null:(u=createNS("rect"),u.setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),g.push(u)),r=createNS("path"),"n"===p[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),elem:r,lastPath:""},o.appendChild(r);else{var b;if(f+=1,r.setAttribute("fill","s"===p[n].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==p[n].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,p[n].x,0,null,this.element),b=createElementID(),c=createNS("filter"),c.setAttribute("id",b),h=createNS("feMorphology"),h.setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),o.appendChild(c),r.setAttribute("stroke","s"===p[n].mode?"#000000":"#ffffff")):(h=null,d=null),this.storedData[n]={elem:r,x:d,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[n].mode){l=g.length;var _=createNS("g");for(s=0;s<l;s+=1)_.appendChild(g[s]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",m+"_"+f),x.appendChild(r),o.appendChild(x),_.setAttribute("mask","url("+getLocationHref()+"#"+m+"_"+f+")"),g.length=0,g.push(_)}else g.push(r);p[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:r,lastPath:"",op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),invRect:u},this.viewData[n].prop.k||this.drawPath(p[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(v),a=g.length,n=0;n<a;n+=1)this.maskElement.appendChild(g[n]);f>0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+m+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,i,n=this.layers.length;for(this.completeLayers=!0,e=n-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var i,n=t.length,r=this.layers.length;for(e=0;e<n;e+=1){i=0;while(i<r){if(this.layers[i].id===t[e].id){this.layers[i]=t[e];break}i+=1}}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){var n=this.elements,r=this.layers,o=0,a=r.length;while(o<a)r[o].ind==e&&(n[o]&&!0!==n[o]?(i.push(n[o]),n[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(t,r[o].parent,i):t.setHierarchy(i)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var n=this.createComp(t[e]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"===typeof i)e=this.elements[i];else{var n,r=this.elements.length;for(n=0;n<r;n+=1)if(this.elements[n].data.nm===i){e=this.elements[n];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)while(i<n){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<n;i+=1)t=this.hierarchy[i].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);var i,n=!0,r=this.comp;while(n)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):n=!1;var o,a=e.length;for(i=0;i<a;i+=1)o=e[i].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,i=this.element.finalTransform.mat,n=this.masksProperties.length;for(e=0;e<n;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var r=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),r.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,i){var n,r,o=" M"+e.v[0][0]+","+e.v[0][1];for(r=e._length,n=1;n<r;n+=1)o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&r>1&&(o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==o){var a="";i.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),i.elem.setAttribute("d",a)),i.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};function e(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i}function i(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=i,t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,i,n="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<r;e+=1){i=null;var l=t.data.ef[e].ty;if(registeredEffects[l]){var u=registeredEffects[l].effect;i=new u(a,t.effectsManager.effectElements[e],t,idPrefix+s,n),n=idPrefix+s,registeredEffects[l].countsAsEffect&&(s+=1)}i&&this.filters.push(i)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,i){registeredEffects[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,i,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var r=createNS("mask");r.setAttribute("id",this.layerId),r.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),r.appendChild(this.layerElement),n=r,this.globalData.defs.appendChild(r),featureSupport.maskType||1!=this.data.td||(r.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),i.appendChild(this.layerElement),n=i,r.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type","alpha");var a=createNS("g");o.appendChild(a),t=createElementID(),e=filtersFactory.createFilter(t);var s=createNS("feComponentTransfer");s.setAttribute("in","SourceGraphic"),e.appendChild(s);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),s.appendChild(l),this.globalData.defs.appendChild(e);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),a.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),a.appendChild(u),a.appendChild(this.layerElement),n=a,featureSupport.maskType||(o.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),a.appendChild(u),i.appendChild(this.layerElement),n=i,a.appendChild(i)),this.globalData.defs.appendChild(o)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var c=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=createElementID();if(c.setAttribute("id",d),c.appendChild(h),this.globalData.defs.appendChild(c),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")"),p.appendChild(this.layerElement),this.transformedElement=p,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+d+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},function(){var t={initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var t=this.baseElement||this.layerElement;t.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var t=this.baseElement||this.layerElement;t.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)}(),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){var e=0,i=this.shapeModifiers.length;while(e<i)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e,i=this.shapes.length;for(t=0;t<i;t+=1)this.shapes[t].sh.reset();for(i=this.shapeModifiers.length,t=i-1;t>=0;t-=1)if(e=this.shapeModifiers[t].processShapes(this._isFirstFrame),e)break}},searchProcessedElement:function(t){var e=this.processedElements,i=0,n=e.length;while(i<n){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){var i=this.processedElements,n=i.length;while(n)if(n-=1,i[n].elem===t)return void(i[n].pos=e);i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;var n=0,r=t.length;while(n<r){if(t[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,i,n){var r;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,a=e.length||0;for(r=0;r<a;r+=1)o=PropertyFactory.getProp(t,e[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:e[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){var i,n=0,r=this.o.length/2;while(n<r){if(i=Math.abs(t[4*n]-t[4*e+2*n]),i>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s){var t=0,e=this.data.k.k.length;while(t<e){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i,n,r=4*this.data.p;for(e=0;e<r;e+=1)i=e%4===0?100:255,n=Math.round(this.prop.v[e]*i),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=4*this.data.p;e<r;e+=1)i=e%2===0?100:1,n=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==n&&(this.o[e-4*this.data.p]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),n=createNS(1===e.t?"linearGradient":"radialGradient");n.setAttribute("id",i),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var r,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)r=createNS("stop"),n.appendChild(r),s.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,n,r,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),l=createElementID();o.setAttribute("id",l);var u=createNS(1===t.t?"linearGradient":"radialGradient");u.setAttribute("id",s),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(n=4*t.g.p;n<r;n+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(i),c.push(i);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=u,this.ms=o,this.ost=c,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,n){if(0===e)return"";var r,o=t.o,a=t.i,s=t.v,l=" M"+n.applyToPointStringified(s[0][0],s[0][1]);for(r=1;r<e;r+=1)l+=" C"+n.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+n.applyToPointStringified(a[r][0],a[r][1])+" "+n.applyToPointStringified(s[r][0],s[r][1]);return i&&e&&(l+=" C"+n.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+n.applyToPointStringified(a[0][0],a[0][1])+" "+n.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:n};function n(t){switch(t.ty){case"fl":return s;case"gf":return u;case"gs":return l;case"st":return c;case"sh":case"el":case"rc":case"sr":return a;case"tr":return r;case"no":return o;default:return null}}function r(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function o(){}function a(i,n,r){var o,a,s,l,u,c,h,d,p,f,g,m=n.styles.length,v=n.lvl;for(c=0;c<m;c+=1){if(l=n.sh._mdf||r,n.styles[c].lvl<v){d=e.reset(),f=v-n.styles[c].lvl,g=n.transformers.length-1;while(!l&&f>0)l=n.transformers[g].mProps._mdf||l,f-=1,g-=1;if(l){f=v-n.styles[c].lvl,g=n.transformers.length-1;while(f>0)p=n.transformers[g].mProps.v.props,d.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,g-=1}}else d=t;if(h=n.sh.paths,a=h._length,l){for(s="",o=0;o<a;o+=1)u=h.shapes[o],u&&u._length&&(s+=buildShapeString(u,u._length,u.c,d));n.caches[c]=s}else s=n.caches[c];n.styles[c].d+=!0===i.hd?"":s,n.styles[c]._mdf=l||n.styles[c]._mdf}}function s(t,e,i){var n=e.style;(e.c._mdf||i)&&n.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&n.pElem.setAttribute("fill-opacity",e.o.v)}function l(t,e,i){u(t,e,i),c(t,e,i)}function u(t,e,i){var n,r,o,a,s,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if(e.o._mdf||i){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||i){var p=1===t.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,c[0]),l.setAttribute(f,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(p,c[0]),e.of.setAttribute(f,c[1]))}if(e.g._cmdf||i){n=e.cst;var g=e.g.c;for(o=n.length,r=0;r<o;r+=1)a=n[r],a.setAttribute("offset",g[4*r]+"%"),a.setAttribute("stop-color","rgb("+g[4*r+1]+","+g[4*r+2]+","+g[4*r+3]+")")}if(u&&(e.g._omdf||i)){var m=e.g.o;for(n=e.g._collapsable?e.cst:e.ost,o=n.length,r=0;r<o;r+=1)a=n[r],e.g._collapsable||a.setAttribute("offset",m[2*r]+"%"),a.setAttribute("stop-opacity",m[2*r+1])}if(1===t.t)(e.e._mdf||i)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||i)&&(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||i){s||(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var v=Math.atan2(h[1]-c[1],h[0]-c[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=s*y,_=Math.cos(v+e.a.v)*b+c[0],x=Math.sin(v+e.a.v)*b+c[1];l.setAttribute("fx",_),l.setAttribute("fy",x),u&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",x))}}function c(t,e,i){var n=e.style,r=e.d;r&&(r._mdf||i)&&r.dashStr&&(n.pElem.setAttribute("stroke-dasharray",r.dashStr),n.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||i)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}return i}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,n,r,o){this.o=t,this.sw=e,this.sc=i,this.fc=n,this.m=r,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,i,n,r=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(i=0;i<o;i+=1){for(n=this.stylesList[i],s=!1,a.length=0,t=0;t<r;t+=1)e=this.shapes[t],-1!==e.styles.indexOf(n)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,n=new SVGStyleData(t,e),r=n.pElem;if("st"===t.ty)i=new SVGStrokeStyleData(this,t,n);else if("fl"===t.ty)i=new SVGFillStyleData(this,t,n);else if("gf"===t.ty||"gs"===t.ty){var o="gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new o(this,t,n),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),r.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else"no"===t.ty&&(i=new SVGNoStyleData(this,t,n));return"st"!==t.ty&&"gs"!==t.ty||(r.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),r.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),r.setAttribute("fill-opacity","0"),1===t.lj&&r.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(n),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),n=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7);var r=ShapePropertyFactory.getShapeProp(this,t,n,this),o=new SVGShapeData(e,i,r);return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(t,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){var i=0,n=this.animatedContents.length;while(i<n){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,i=t.styles,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||i.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,n,r,o,a){var s,l,u,c,h,d,p=[].concat(o),f=t.length-1,g=[],m=[];for(s=f;s>=0;s-=1){if(d=this.searchProcessedElement(t[s]),d?e[s]=i[d-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)d?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],r),t[s]._render&&e[s].style.pElem.parentNode!==n&&n.appendChild(e[s].style.pElem),g.push(e[s].style);else if("gr"===t[s].ty){if(d)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,r+1,p,a),t[s]._render&&e[s].gr.parentNode!==n&&n.appendChild(e[s].gr)}else"tr"===t[s].ty?(d||(e[s]=this.createTransformElement(t[s],n)),c=e[s].transform,p.push(c)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(d||(e[s]=this.createShapeElement(t[s],p,r)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty?(d?(h=e[s],h.closed=!1):(h=ShapeModifiers.getModifier(t[s].ty),h.init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),m.push(h)):"rp"===t[s].ty&&(d?(h=e[s],h.closed=!0):(h=ShapeModifiers.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),a=!1),m.push(h));this.addProcessedElement(t[s],s+1)}for(f=g.length,s=0;s<f;s+=1)g[s].closed=!0;for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,i=this.animatedContents.length;for(t=0;t<i;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,i,n,r,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,a=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,a=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(n=0;n<r;n+=1)o=i!==this.keysIndex?this.effectsSequence[n](o,o.t):this.effectsSequence[n](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,n=t.length;while(i<=n-1){if(i===n-1||t[i+1].t>e)break;i+=1}return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){var e,i,n=[],r=0,o=t.length,a=!1;while(r<o)e=t.charCodeAt(r),FontManager.isCombinedCharacter(e)?n[n.length-1]+=t.charAt(r):e>=55296&&e<=56319?(i=t.charCodeAt(r+1),i>=56320&&i<=57343?(a||FontManager.isModifier(e,i)?(n[n.length-1]+=t.substr(r,2),a=!1):n.push(t.substr(r,2)),r+=1):n.push(t.charAt(r))):e>56319?(i=t.charCodeAt(r+1),FontManager.isZeroWidthJoiner(e,i)?(a=!0,n[n.length-1]+=t.substr(r,2),r+=1):n.push(t.charAt(r))):FontManager.isZeroWidthJoiner(e)?(n[n.length-1]+=t.charAt(r),a=!0):n.push(t.charAt(r)),r+=1;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,n,r,o,a,s,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,d=u.m.g,p=0,f=0,g=0,m=[],v=0,y=0,b=l.getFontByName(t.f),_=0,x=getFontProperties(b);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),i=t.finalText.length,t.finalLineHeight=t.lh;var w,S=t.tr/1e3*t.finalSize;if(t.sz){var C,k,M=!0,O=t.sz[0],T=t.sz[1];while(M){k=this.buildFinalText(t.t),C=0,v=0,i=k.length,S=t.tr/1e3*t.finalSize;var A=-1;for(e=0;e<i;e+=1)w=k[e].charCodeAt(0),n=!1," "===k[e]?A=e:13!==w&&3!==w||(v=0,n=!0,C+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(k[e],b.fStyle,b.fFamily),_=n?0:s.w*t.finalSize/100):_=l.measureText(k[e],t.f,t.finalSize),v+_>O&&" "!==k[e]?(-1===A?i+=1:e=A,C+=t.finalLineHeight||1.2*t.finalSize,k.splice(e,A===e?1:0,"\r"),A=-1,v=0):(v+=_,v+=S);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<C?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=k,i=t.finalText.length,M=!1)}}v=-S,_=0;var I,P=0;for(e=0;e<i;e+=1)if(n=!1,I=t.finalText[e],w=I.charCodeAt(0),13===w||3===w?(P=0,m.push(v),y=v>y?v:y,v=-2*S,r="",n=!0,g+=1):r=I,l.chars?(s=l.getCharData(I,b.fStyle,l.getFontByName(t.f).fFamily),_=n?0:s.w*t.finalSize/100):_=l.measureText(r,t.f,t.finalSize)," "===I?P+=_+S:(v+=_+S+P,P=0),c.push({l:_,an:_,add:p,n:n,anIndexes:[],val:r,line:g,animatorJustifyOffset:0}),2==d){if(p+=_,""===r||" "===r||e===i-1){""!==r&&" "!==r||(p-=_);while(f<=e)c[f].an=p,c[f].ind=h,c[f].extra=_,f+=1;h+=1,p=0}}else if(3==d){if(p+=_,""===r||e===i-1){""===r&&(p-=_);while(f<=e)c[f].an=p,c[f].ind=h,c[f].extra=_,f+=1;p=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,y=v>y?v:y,m.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=m;var E,D,L,j,R=u.a;a=R.length;var B=[];for(o=0;o<a;o+=1){for(E=R[o],E.a.sc&&(t.strokeColorAnim=!0),E.a.sw&&(t.strokeWidthAnim=!0),(E.a.fc||E.a.fh||E.a.fs||E.a.fb)&&(t.fillColorAnim=!0),j=0,L=E.s.b,e=0;e<i;e+=1)D=c[e],D.anIndexes[o]=j,(1==L&&""!==D.val||2==L&&""!==D.val&&" "!==D.val||3==L&&(D.n||" "==D.val||e==i-1)||4==L&&(D.n||e==i-1))&&(1===E.s.rn&&B.push(j),j+=1);u.a[o].s.totalChars=j;var F,N=-1;if(1===E.s.rn)for(e=0;e<i;e+=1)D=c[e],N!=D.anIndexes[o]&&(N=D.anIndexes[o],F=B.splice(Math.floor(Math.random()*B.length),1)[0]),D.anIndexes[o]=F}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,i=Math.floor;function n(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function r(t,e,i){return new n(t,e,i)}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,a=1,s=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(r,o,a,s).get,u=0,c=this.finalS,h=this.finalE,d=this.data.sh;if(2===d)u=h===c?n>=h?1:0:t(0,e(.5/(h-c)+(n-c)/(h-c),1)),u=l(u);else if(3===d)u=h===c?n>=h?0:1:1-t(0,e(.5/(h-c)+(n-c)/(h-c),1)),u=l(u);else if(4===d)h===c?u=0:(u=t(0,e(.5/(h-c)+(n-c)/(h-c),1)),u<.5?u*=2:u=1-2*(u-.5)),u=l(u);else if(5===d){if(h===c)u=0;else{var p=h-c;n=e(t(0,n+.5-c),h-c);var f=-p/2+n,g=p/2;u=Math.sqrt(1-f*f/(g*g))}u=l(u)}else 6===d?(h===c?u=0:(n=e(t(0,n+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*n/(h-c)))/2),u=l(u)):(n>=i(c)&&(u=t(0,e(n-c<0?e(h,1)-(c-n):h-n,1))),u=l(u));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var v=.5-.5*m;u<v?u=0:(u=(u-v)/m,u>1&&(u=1))}return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/e,n=this.s.v/e+i,r=this.e.v/e+i;if(n>r){var o=n;n=r,r=o}this.finalS=n,this.finalE=r}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:r}}();function TextAnimatorDataProperty(t,e,i){var n={propType:!1},r=PropertyFactory.getProp,o=e.a;this.a={r:o.r?r(t,o.r,0,degToRads,i):n,rx:o.rx?r(t,o.rx,0,degToRads,i):n,ry:o.ry?r(t,o.ry,0,degToRads,i):n,sk:o.sk?r(t,o.sk,0,degToRads,i):n,sa:o.sa?r(t,o.sa,0,degToRads,i):n,s:o.s?r(t,o.s,1,.01,i):n,a:o.a?r(t,o.a,1,0,i):n,o:o.o?r(t,o.o,0,.01,i):n,p:o.p?r(t,o.p,1,0,i):n,sw:o.sw?r(t,o.sw,0,0,i):n,sc:o.sc?r(t,o.sc,1,0,i):n,fc:o.fc?r(t,o.fc,1,0,i):n,fh:o.fh?r(t,o.fh,0,0,i):n,fs:o.fs?r(t,o.fs,0,.01,i):n,fb:o.fb?r(t,o.fb,0,.01,i):n,t:o.t?r(t,o.t,0,0,i):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,i=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<i;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var i,n,r,o,a,s,l,u,c,h,d,p,f,g,m,v,y,b,_,x=this._moreOptions.alignment.v,w=this._animatorsData,S=this._textData,C=this.mHelper,k=this._renderType,M=this.renderedLetters.length,O=t.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,A=_.v;for(this._pathData.r.v&&(A=A.reverse()),a={tLength:0,segments:[]},o=A._length-1,v=0,r=0;r<o;r+=1)T=bez.buildBezierData(A.v[r],A.v[r+1],[A.o[r][0]-A.v[r][0],A.o[r][1]-A.v[r][1]],[A.i[r+1][0]-A.v[r+1][0],A.i[r+1][1]-A.v[r+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength;r=o,_.v.c&&(T=bez.buildBezierData(A.v[r],A.v[0],[A.o[r][0]-A.v[r][0],A.o[r][1]-A.v[r][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),v+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,d=0,h=1,u=0,c=!0,g=a.segments,s<0&&_.v.c){a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),d=g.length-1,f=g[d].points,h=f.length-1;while(s<0)s+=f[h].partialLength,h-=1,h<0&&(d-=1,f=g[d].points,h=f.length-1)}f=g[d].points,p=f[h-1],l=f[h],m=l.partialLength}o=O.length,i=0,n=0;var I,P,E,D,L,j,R=1.2*t.finalSize*.714,B=!0;D=w.length;var F,N,z,V,q,$,H,G,W,U,Y,X,K=-1,Z=s,Q=d,J=h,tt=-1,et="",it=this.defaultPropsArray;if(2===t.j||1===t.j){var nt=0,rt=0,ot=2===t.j?-.5:-1,at=0,st=!0;for(r=0;r<o;r+=1)if(O[r].n){nt&&(nt+=rt);while(at<r)O[at].animatorJustifyOffset=nt,at+=1;nt=0,st=!0}else{for(E=0;E<D;E+=1)I=w[E].a,I.t.propType&&(st&&2===t.j&&(rt+=I.t.v*ot),P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?nt+=I.t.v*j[0]*ot:nt+=I.t.v*j*ot);st=!1}nt&&(nt+=rt);while(at<r)O[at].animatorJustifyOffset=nt,at+=1}for(r=0;r<o;r+=1){if(C.reset(),V=1,O[r].n)i=0,n+=t.yOffset,n+=B?1:0,s=Z,B=!1,this._hasMaskedPath&&(d=Q,h=J,f=g[d].points,p=f[h-1],l=f[h],m=l.partialLength,u=0),et="",Y="",W="",X="",it=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tt!==O[r].line){switch(t.j){case 1:s+=v-t.lineWidths[O[r].line];break;case 2:s+=(v-t.lineWidths[O[r].line])/2;break;default:break}tt=O[r].line}K!==O[r].ind&&(O[K]&&(s+=O[K].extra),s+=O[r].an/2,K=O[r].ind),s+=x[0]*O[r].an*.005;var lt=0;for(E=0;E<D;E+=1)I=w[E].a,I.p.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?lt+=I.p.v[0]*j[0]:lt+=I.p.v[0]*j),I.a.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?lt+=I.a.v[0]*j[0]:lt+=I.a.v[0]*j);c=!0,this._pathData.a.v&&(s=.5*O[0].an+(v-this._pathData.f.v-.5*O[0].an-.5*O[O.length-1].an)*K/(o-1),s+=this._pathData.f.v);while(c)u+m>=s+lt||!f?(y=(s+lt-u)/l.partialLength,N=p.point[0]+(l.point[0]-p.point[0])*y,z=p.point[1]+(l.point[1]-p.point[1])*y,C.translate(-x[0]*O[r].an*.005,-x[1]*R*.01),c=!1):f&&(u+=l.partialLength,h+=1,h>=f.length&&(h=0,d+=1,g[d]?f=g[d].points:_.v.c?(h=0,d=0,f=g[d].points):(u-=l.partialLength,f=null)),f&&(p=l,l=f[h],m=l.partialLength));F=O[r].an/2-O[r].add,C.translate(-F,0,0)}else F=O[r].an/2-O[r].add,C.translate(-F,0,0),C.translate(-x[0]*O[r].an*.005,-x[1]*R*.01,0);for(E=0;E<D;E+=1)I=w[E].a,I.t.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),0===i&&0===t.j||(this._hasMaskedPath?j.length?s+=I.t.v*j[0]:s+=I.t.v*j:j.length?i+=I.t.v*j[0]:i+=I.t.v*j));for(t.strokeWidthAnim&&($=t.sw||0),t.strokeColorAnim&&(q=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),E=0;E<D;E+=1)I=w[E].a,I.a.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?C.translate(-I.a.v[0]*j[0],-I.a.v[1]*j[1],I.a.v[2]*j[2]):C.translate(-I.a.v[0]*j,-I.a.v[1]*j,I.a.v[2]*j));for(E=0;E<D;E+=1)I=w[E].a,I.s.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),j.length?C.scale(1+(I.s.v[0]-1)*j[0],1+(I.s.v[1]-1)*j[1],1):C.scale(1+(I.s.v[0]-1)*j,1+(I.s.v[1]-1)*j,1));for(E=0;E<D;E+=1){if(I=w[E].a,P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),I.sk.propType&&(j.length?C.skewFromAxis(-I.sk.v*j[0],I.sa.v*j[1]):C.skewFromAxis(-I.sk.v*j,I.sa.v*j)),I.r.propType&&(j.length?C.rotateZ(-I.r.v*j[2]):C.rotateZ(-I.r.v*j)),I.ry.propType&&(j.length?C.rotateY(I.ry.v*j[1]):C.rotateY(I.ry.v*j)),I.rx.propType&&(j.length?C.rotateX(I.rx.v*j[0]):C.rotateX(I.rx.v*j)),I.o.propType&&(j.length?V+=(I.o.v*j[0]-V)*j[0]:V+=(I.o.v*j-V)*j),t.strokeWidthAnim&&I.sw.propType&&(j.length?$+=I.sw.v*j[0]:$+=I.sw.v*j),t.strokeColorAnim&&I.sc.propType)for(G=0;G<3;G+=1)j.length?q[G]+=(I.sc.v[G]-q[G])*j[0]:q[G]+=(I.sc.v[G]-q[G])*j;if(t.fillColorAnim&&t.fc){if(I.fc.propType)for(G=0;G<3;G+=1)j.length?H[G]+=(I.fc.v[G]-H[G])*j[0]:H[G]+=(I.fc.v[G]-H[G])*j;I.fh.propType&&(H=j.length?addHueToRGB(H,I.fh.v*j[0]):addHueToRGB(H,I.fh.v*j)),I.fs.propType&&(H=j.length?addSaturationToRGB(H,I.fs.v*j[0]):addSaturationToRGB(H,I.fs.v*j)),I.fb.propType&&(H=j.length?addBrightnessToRGB(H,I.fb.v*j[0]):addBrightnessToRGB(H,I.fb.v*j))}}for(E=0;E<D;E+=1)I=w[E].a,I.p.propType&&(P=w[E].s,j=P.getMult(O[r].anIndexes[E],S.a[E].s.totalChars),this._hasMaskedPath?j.length?C.translate(0,I.p.v[1]*j[0],-I.p.v[2]*j[1]):C.translate(0,I.p.v[1]*j,-I.p.v[2]*j):j.length?C.translate(I.p.v[0]*j[0],I.p.v[1]*j[1],-I.p.v[2]*j[2]):C.translate(I.p.v[0]*j,I.p.v[1]*j,-I.p.v[2]*j));if(t.strokeWidthAnim&&(W=$<0?0:$),t.strokeColorAnim&&(U="rgb("+Math.round(255*q[0])+","+Math.round(255*q[1])+","+Math.round(255*q[2])+")"),t.fillColorAnim&&t.fc&&(Y="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(C.translate(0,-t.ls),C.translate(0,x[1]*R*.01+n,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var ut=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(ut+=180),C.rotate(-ut*Math.PI/180)}C.translate(N,z,0),s-=x[0]*O[r].an*.005,O[r+1]&&K!==O[r+1].ind&&(s+=O[r].an/2,s+=.001*t.tr*t.finalSize)}else{switch(C.translate(i,n,0),t.ps&&C.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:C.translate(O[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[O[r].line]),0,0);break;case 2:C.translate(O[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[O[r].line])/2,0,0);break;default:break}C.translate(0,-t.ls),C.translate(F,0,0),C.translate(x[0]*O[r].an*.005,x[1]*R*.01,0),i+=O[r].l+.001*t.tr*t.finalSize}"html"===k?et=C.toCSS():"svg"===k?et=C.to2dCSS():it=[C.props[0],C.props[1],C.props[2],C.props[3],C.props[4],C.props[5],C.props[6],C.props[7],C.props[8],C.props[9],C.props[10],C.props[11],C.props[12],C.props[13],C.props[14],C.props[15]],X=V}M<=r?(L=new LetterProps(X,W,U,Y,et,it),this.renderedLetters.push(L),M+=1,this.lettersChangedFlag=!0):(L=this.renderedLetters[r],this.lettersChangedFlag=L.update(X,W,U,Y,et,it)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var i,n,r=e.length,o="";for(i=0;i<r;i+=1)"sh"===e[i].ty&&(n=e[i].ks.k,o+=buildShapeString(n,n.i.length,!0,t));return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,n,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break;default:break}e.translate(n,r,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var n=createNS("title"),r=createElementID();n.setAttribute("id",r),n.textContent=e.title,this.svgElement.appendChild(n),i+=r}if(e&&e.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),i+=" "+a}i&&this.svgElement.setAttribute("aria-labelledby",i);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var t;this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e=15;for(this.savedOp=createTypedArray("float32",e),t=0;t<e;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=e}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(t,e){var i;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,r=!1;for(i=0;i<n;i+=1)"n"!==this.masksProperties[i].mode&&(r=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=r,r&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(t,e,i,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r,o=4;"rc"===e.ty?o=5:"el"===e.ty?o=6:"sr"===e.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var a,s=i.length;for(r=0;r<s;r+=1)i[r].closed||(a={transforms:n.addTransformSequence(i[r].transforms),trNodes:[]},this.styledShapes.push(a),i[r].elements.push(a))}function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}function CVTextElement(t,e,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,i)}function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}function CVSolidElement(t,e,i){this.initElement(t,e,i)}function CanvasRendererBase(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(t,e,i){this.initElement(t,e,i)}function HShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,t.pe,0,0,this),t.ks.p.s?(this.px=n(this,t.ks.p.x,1,0,this),this.py=n(this,t.ks.p.y,1,0,this),this.pz=n(this,t.ks.p.z,1,0,this)):this.p=n(this,t.ks.p,1,0,this),t.ks.a&&(this.a=n(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var r,o=t.ks.or.k.length;for(r=0;r<o;r+=1)t.ks.or.k[r].to=null,t.ks.or.k[r].ti=null}this.or=n(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,t.ks.rx,0,degToRads,this),this.ry=n(this,t.ks.ry,0,degToRads,this),this.rz=n(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,i){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){var e=0,i=t.length,n=[],r="";while(e<i)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(n.push(r),r=""):r+=t[e],e+=1;return n.push(r),n},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var n=i.it[i.it.length-1];n.s&&(n.s.k[0]=e,n.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var n=this.globalData.fontManager.getFontByName(i.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var r=i.fWeight,o=i.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",i.t);var a,s=i.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u=this.mHelper,c="",h=this.data.singleShape,d=0,p=0,f=!0,g=.001*i.tr*i.finalSize;if(!h||l||i.sz){var m,v=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!h||0===t){if(a=v>t?this.textSpans[t].span:createNS(l?"g":"text"),v<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var y=createNS("g");a.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(u.reset(),h&&(s[t].n&&(d=-g,p+=i.yOffset,p+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(i,u,s[t].line,d,p),d+=s[t].l||0,d+=g),l){var b;if(m=this.globalData.fontManager.getCharData(i.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),1===m.t)b=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,i.finalSize)),b=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[t].glyph){var x=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[t].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[t].childSpan.appendChild(b.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d",c)}else{var w=this.textContainer,S="start";switch(i.j){case 1:S="end";break;case 2:S="middle";break;default:S="start";break}w.setAttribute("text-anchor",S),w.setAttribute("letter-spacing",g);var C=this.buildTextContents(i.finalText);for(e=C.length,p=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)a=this.textSpans[t].span||createNS("tspan"),a.textContent=C[t],a.setAttribute("x",0),a.setAttribute("y",p),a.style.display="inherit",w.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,p+=i.finalLineHeight;this.layerElement.appendChild(w)}while(t<this.textSpans.length)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;t+=1)e=this.textSpans[t].glyph,e&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var i,n,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(i=o[t],n=this.textSpans[t].span,r=this.textSpans[t].glyph,r&&r.renderFrame(),i._mdf.m&&n.setAttribute("transform",i.m),i._mdf.o&&n.setAttribute("opacity",i.o),i._mdf.sw&&n.setAttribute("stroke-width",i.sw),i._mdf.sc&&n.setAttribute("stroke",i.sc),i._mdf.fc&&n.setAttribute("fill",i.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var r=createElementID();i.setAttribute("id",r),i.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var i=this.createItem(this.layers[t]);e[t]=i,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?i.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(i)))}},SVGRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt){var e=0,i=this.elements.length;while(e<i){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var n,r=0;while(r<e)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(i,n):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=n-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var i=0;for(i=this._length;i<t;i+=1)this.saved[i]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,i=t.length,n="_";for(e=0;e<i;e+=1)n+=t[e].transform.key+"_";var r=this.sequences[n];return r||(r={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=r,this.sequenceList.push(r)),r},processSequence:function(t,e){var i,n=0,r=t.transforms.length,o=e;while(n<r&&!e){if(t.transforms[n].transform.mProps._mdf){o=!0;break}n+=1}if(o)for(t.finalTransform.reset(),n=r-1;n>=0;n-=1)i=t.transforms[n].transform.mProps.v.props,t.finalTransform.transform(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],i[9],i[10],i[11],i[12],i[13],i[14],i[15]);t._mdf=o},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,n,r=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),n=this.viewData[t].v,e=r.applyToPointArray(n.v[0][0],n.v[0][1],0),o.moveTo(e[0],e[1]);var l=n._length;for(s=1;s<l;s+=1)i=r.applyToTriplePoints(n.o[s-1],n.i[s],n.v[s]),o.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=r.applyToTriplePoints(n.o[s-1],n.i[0],n.v[0]),o.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"===t.ty||"st"===t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(i.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(i.lc=lineCapEnum[t.lc||2],i.lj=lineJoinEnum[t.lj||2],1==t.lj&&(i.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(i.wi=n.w.v),t.d){var r=new DashProperty(this,t.d,"canvas",this);n.d=r,n.d.k||(i.da=n.d.dashArray,i["do"]=n.d.dashoffset[0])}}else i.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(i),n.style=i,n},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,n,r){var o,a,s,l,u,c,h=t.length-1,d=[],p=[],f=[].concat(r);for(o=h;o>=0;o-=1){if(l=this.searchProcessedElement(t[o]),l?e[o]=i[l-1]:t[o]._shouldRender=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)l?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],f),d.push(e[o].style);else if("gr"===t[o].ty){if(l)for(s=e[o].it.length,a=0;a<s;a+=1)e[o].prevViewData[a]=e[o].it[a];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,n,f)}else"tr"===t[o].ty?(l||(c=this.createTransformElement(t[o]),e[o]=c),f.push(e[o]),this.addTransformToStyleList(e[o])):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?l||(e[o]=this.createShapeElement(t[o])):"tm"===t[o].ty||"rd"===t[o].ty||"pb"===t[o].ty?(l?(u=e[o],u.closed=!1):(u=ShapeModifiers.getModifier(t[o].ty),u.init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),p.push(u)):"rp"===t[o].ty&&(l?(u=e[o],u.closed=!0):(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),n=!1),p.push(u));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),h=p.length,o=0;o<h;o+=1)p[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,i,n,r,o,a,s,l,u=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<u;t+=1)if(l=this.stylesList[t],s=l.type,("st"!==s&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=l.elements,"st"===s||"gs"===s?(h.strokeStyle="st"===s?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===s?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),i=o.length,e=0;e<i;e+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l["do"])),a=o[e].trNodes,r=a.length,n=0;n<r;n+=1)"m"===a[n].t?h.moveTo(a[n].p[0],a[n].p[1]):"c"===a[n].t?h.bezierCurveTo(a[n].pts[0],a[n].pts[1],a[n].pts[2],a[n].pts[3],a[n].pts[4],a[n].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&h.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,n){var r,o,a=e.length-1;for(o=t,r=a;r>=0;r-=1)"tr"===e[r].ty?(o=i[r].transform,this.renderShapeTransform(t,o)):"sh"===e[r].ty||"el"===e[r].ty||"rc"===e[r].ty||"sr"===e[r].ty?this.renderPath(e[r],i[r]):"fl"===e[r].ty?this.renderFill(e[r],i[r],o):"st"===e[r].ty?this.renderStroke(e[r],i[r],o):"gf"===e[r].ty||"gs"===e[r].ty?this.renderGradientFill(e[r],i[r],o):"gr"===e[r].ty?this.renderShape(o,e[r].it,i[r].it):e[r].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i,n,r,o=t.trNodes,a=e.paths,s=a._length;o.length=0;var l=t.transforms.finalTransform;for(r=0;r<s;r+=1){var u=a.shapes[r];if(u&&u.v){for(n=u._length,i=1;i<n;i+=1)1===i&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(u.o[i-1],u.i[i],u.v[i])});1===n&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&n&&(o.push({t:"c",pts:l.applyToTriplePoints(u.o[i-1],u.i[0],u.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var i,n=e.styledShapes.length;for(i=0;i<n;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,i){var n=e.style;(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var n,r=e.style;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var o,a=this.globalData.canvasContext,s=e.s.v,l=e.e.v;if(1===t.t)n=a.createLinearGradient(s[0],s[1],l[0],l[1]);else{var u=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=Math.atan2(l[1]-s[1],l[0]-s[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var d=u*h,p=Math.cos(c+e.a.v)*d+s[0],f=Math.sin(c+e.a.v)*d+s[1];n=a.createRadialGradient(p,f,0,s[0],s[1],u)}var g=t.g.p,m=e.g.c,v=1;for(o=0;o<g;o+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*o+1]),n.addColorStop(m[4*o]/100,"rgba("+m[4*o+1]+","+m[4*o+2]+","+m[4*o+3]+","+v+")");r.grd=n}r.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var n=e.style,r=e.d;r&&(r._mdf||this._isFirstFrame)&&(n.da=r.dashArray,n["do"]=r.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(n.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var n,r,o,a,s,l,u,c,h,d,p,f,g=this.globalData.fontManager.getFontByName(t.f),m=t.l,v=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,r=t.finalText.length;var y=this.data.singleShape,b=.001*t.tr*t.finalSize,_=0,x=0,w=!0,S=0;for(n=0;n<r;n+=1){o=this.globalData.fontManager.getCharData(t.finalText[n],g.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),a=o&&o.data||{},v.reset(),y&&m[n].n&&(_=-b,x+=t.yOffset,x+=w?1:0,w=!1),u=a.shapes?a.shapes[0].it:[],h=u.length,v.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,v,m[n].line,_,x),p=createSizedArray(h-1);var C=0;for(c=0;c<h;c+=1)if("sh"===u[c].ty){for(l=u[c].ks.k.i.length,d=u[c].ks.k,f=[],s=1;s<l;s+=1)1===s&&f.push(v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),f.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[s][0],d.i[s][1],0),v.applyToY(d.i[s][0],d.i[s][1],0),v.applyToX(d.v[s][0],d.v[s][1],0),v.applyToY(d.v[s][0],d.v[s][1],0));f.push(v.applyToX(d.o[s-1][0],d.o[s-1][1],0),v.applyToY(d.o[s-1][0],d.o[s-1][1],0),v.applyToX(d.i[0][0],d.i[0][1],0),v.applyToY(d.i[0][0],d.i[0][1],0),v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),p[C]=f,C+=1}y&&(_+=m[n].l,_+=b),this.textSpans[S]?this.textSpans[S].elem=p:this.textSpans[S]={elem:p},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,i,n,r,o,a=this.canvasContext;a.font=this.values.fValue,a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;e=u.length;var c,h,d=null,p=null,f=null;for(t=0;t<e;t+=1)if(!u[t].n){if(s=l[t],s&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?d!==s.fc&&(d=s.fc,a.fillStyle=s.fc):d!==this.values.fill&&(d=this.values.fill,a.fillStyle=this.values.fill),c=this.textSpans[t].elem,n=c.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(h=c[i],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(h[r],h[r+1],h[r+2],h[r+3],h[r+4],h[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,a.lineWidth=s.sw):f!==this.values.sWidth&&(f=this.values.sWidth,a.lineWidth=this.values.sWidth),s&&s.sc?p!==s.sc&&(p=s.sc,a.strokeStyle=s.sc):p!==this.values.stroke&&(p=this.values.stroke,a.strokeStyle=this.values.stroke),c=this.textSpans[t].elem,n=c.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(h=c[i],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(h[r],h[r+1],h[r+2],h[r+3],h[r+4],h[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,i,n=t.getContext("2d"),r=this.img.width,o=this.img.height,a=r/o,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===l||a<s&&"xMidYMid slice"!==l?(i=o,e=i*s):(e=r,i=e/s),n.drawImage(this.img,(r-e)/2,(o-i)/2,e,i,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var i=this.contextData.cTr.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,i=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var n=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)n[e]=i[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,i=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(e=0;e<16;e+=1)n[e]=i[e];this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),i=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=i,this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var i="0px 0px 0px";e.transformOrigin=i,e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){var t,e,i,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var r=this.renderConfig.preserveAspectRatio.split(" "),o=r[1]||"meet",a=r[0]||"xMidYMid",s=a.substr(0,4),l=a.substr(4);i=t/e,n=this.transformCanvas.w/this.transformCanvas.h,n>i&&"meet"===o||n<i&&"slice"===o?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(n<i&&"meet"===o||n>i&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(n<i&&"meet"===o||n>i&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>i&&"meet"===o||n<i&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>i&&"meet"===o||n<i&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var i;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=0;i<n;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=n-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var i=this.layers.length;for(t=i-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)e=t[i].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i,n,r,o,a,s=t.sh.v,l=t.transformers,u=s._length;if(!(u<=1)){for(i=0;i<u-1;i+=1)n=this.getTransformedPoint(l,s.v[i]),r=this.getTransformedPoint(l,s.o[i]),o=this.getTransformedPoint(l,s.i[i+1]),a=this.getTransformedPoint(l,s.v[i+1]),this.checkBounds(n,r,o,a,e);s.c&&(n=this.getTransformedPoint(l,s.v[i]),r=this.getTransformedPoint(l,s.o[i]),o=this.getTransformedPoint(l,s.i[0]),a=this.getTransformedPoint(l,s.v[0]),this.checkBounds(n,r,o,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,n,r){this.getBoundsOfCurve(t,e,i,n);var o=this.shapeBoundingBox;r.x=bmMin(o.left,r.x),r.xMax=bmMax(o.right,r.xMax),r.y=bmMin(o.top,r.y),r.yMax=bmMax(o.bottom,r.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,i,n){for(var r,o,a,s,l,u,c,h=[[t[0],n[0]],[t[1],n[1]]],d=0;d<2;++d)o=6*t[d]-12*e[d]+6*i[d],r=-3*t[d]+9*e[d]-9*i[d]+3*n[d],a=3*e[d]-3*t[d],o|=0,r|=0,a|=0,0===r&&0===o||(0===r?(s=-a/o,s>0&&s<1&&h[d].push(this.calculateF(s,t,e,i,n,d))):(l=o*o-4*a*r,l>=0&&(u=(-o+bmSqrt(l))/(2*r),u>0&&u<1&&h[d].push(this.calculateF(u,t,e,i,n,d)),c=(-o-bmSqrt(l))/(2*r),c>0&&c<1&&h[d].push(this.calculateF(c,t,e,i,n,d)))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,i,n,r,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*i[o]+3*(1-t)*bmPow(t,2)*n[o]+bmPow(t,3)*r[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,n=t.length;for(i=0;i<n;i+=1)t[i]&&t[i].sh?this.calculateShapeBoundingBox(t[i],e):t[i]&&t[i].it?this.calculateBoundingBox(t[i].it,e):t[i]&&t[i].style&&t[i].w&&this.expandStrokeBoundingBox(t[i].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var n=0;n<t.keyframes.length;n+=1){var r=t.keyframes[n].s;r>i&&(i=r)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var i=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),i=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),i=!0),i||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=r,n.webkitTransform=r}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,i=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=i,e.color=i,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var n,r,o=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{e.fontFamily=o.fFamily;var a=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=a}var l,u,c,h=t.l;r=h.length;var d,p=this.mHelper,f="",g=0;for(n=0;n<r;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?l=this.textPaths[g]:(l=createNS("path"),l.setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(u=this.textSpans[g],c=u.children[0]):(u=createTag("div"),u.style.lineHeight=0,c=createNS("svg"),c.appendChild(l),styleDiv(u)))):this.isMasked?l=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(u=this.textSpans[g],l=this.textPaths[g]):(u=createTag("span"),styleDiv(u),l=createTag("span"),styleDiv(l),u.appendChild(l)),this.globalData.fontManager.chars){var m,v=this.globalData.fontManager.getCharData(t.finalText[n],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(m=v?v.data:null,p.reset(),m&&m.shapes&&m.shapes.length&&(d=m.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,d),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(u),m&&m.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=c.style,_="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=_,b.webkitTransform=_,h[n].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);u.appendChild(c)}}else if(l.textContent=h[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(u);var x=l.style,w="translate3d(0,"+-t.finalSize/1.2+"px,0)";x.transform=w,x.webkitTransform=w}this.isMasked?this.textSpans[g]=l:this.textSpans[g]=u,this.textSpans[g].style.display="block",this.textPaths[g]=l,g+=1}while(g<this.textSpans.length)this.textSpans[g].style.display="none",g+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var i,n,r,o,a,s=0,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;for(n=u.length,i=0;i<n;i+=1)u[i].n?s+=1:(o=this.textSpans[i],a=this.textPaths[i],r=l[s],s+=1,r._mdf.m&&(this.isMasked?o.setAttribute("transform",r.m):(o.style.webkitTransform=r.m,o.style.transform=r.m)),o.style.opacity=r.o,r.sw&&r._mdf.sw&&a.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&a.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(a.setAttribute("fill",r.fc),a.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height));var h=1;if(this.currentBBox.w!==c.width+2*h||this.currentBBox.h!==c.height+2*h||this.currentBBox.x!==c.x-h||this.currentBBox.y!==c.y-h){this.currentBBox.w=c.width+2*h,this.currentBBox.h=c.height+2*h,this.currentBBox.x=c.x-h,this.currentBBox.y=c.y-h,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var d="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=d,t.webkitTransform=d}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,i,n,r=this.comp.threeDElements.length;for(t=0;t<r;t+=1)if(e=this.comp.threeDElements[t],"3d"===e.type){i=e.perspectiveElem.style,n=e.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=o,i.webkitPerspective=o,n.transformOrigin=a,n.mozTransformOrigin=a,n.webkitTransformOrigin=a,i.transform=s,i.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,i=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)i=this.hierarchy[t].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=this.hierarchy.length-1,t=e;t>=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var r;r=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),a=[r[0]/o,r[1]/o,r[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],s),u=Math.atan2(a[0],-a[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h,d,p;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if(h=this.comp.threeDElements[t],"3d"===h.type){if(c){var f=this.mat.toCSS();p=h.container.style,p.transform=f,p.webkitTransform=f}this.pe._mdf&&(d=h.perspectiveElem.style,d.perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var n=this.layers[e];if(n.ddd&&this.supports3d)this.addTo3dContainer(i,e);else if(this.threeDElements)this.addTo3dContainer(i,e);else{var r,o,a,s=0;while(s<e)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(o=this.elements[s],a=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),r=a||r),s+=1;r?n.ddd&&this.supports3d||this.layerElement.insertBefore(i,r):n.ddd&&this.supports3d||this.layerElement.appendChild(i)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){var e=0,i=this.threeDElements.length;while(e<i){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var i,n,r=createTag("div");styleDiv(r);var o=createTag("div");if(styleDiv(o),"3d"===e){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a,n=o.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=s,n.webkitTransform=s}r.appendChild(o);var l={container:o,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,i=this.layers.length,n="";for(t=0;t<i;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==n&&(n="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==n&&(n="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(i=this.threeDElements.length,t=i-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){var i=0,n=this.threeDElements.length;while(i<n){if(e<=this.threeDElements[i].endPos){var r,o=this.threeDElements[i].startPos;while(o<e)this.elements[o]&&this.elements[o].getBaseElement&&(r=this.elements[o].getBaseElement()),o+=1;r?this.threeDElements[i].container.insertBefore(t,r):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,n=e.style;n.width=t.w+"px",n.height=t.h+"px",this.resizerElem=e,styleDiv(e),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),n.overflow="hidden";var r=createNS("svg");r.setAttribute("width","1"),r.setAttribute("height","1"),styleDiv(r),this.resizerElem.appendChild(r);var o=createNS("defs");r.appendChild(o),this.data=t,this.setupGlobalData(t,r),this.globalData.defs=o,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,i,n,r=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=r/o,s=this.globalData.compSize.w/this.globalData.compSize.h;s>a?(t=r/this.globalData.compSize.w,e=r/this.globalData.compSize.w,i=0,n=(o-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,i=(r-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,n=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+n+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,i=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t<n;t+=1){var r=this.threeDElements[t].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(i,2))+"px",r.perspective=r.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,i=t.length,n=createTag("div");for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e],n,this.globalData.comp,null);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){var i,n=0;while(n<e)this.elements[n]&&this.elements[n].getBaseElement&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var Expressions=function(){var t={};function e(t){var e=0,i=[];function n(){e+=1}function r(){e-=1,0===e&&a()}function o(t){-1===i.indexOf(t)&&i.push(t)}function a(){var t,e=i.length;for(t=0;t<e;t+=1)i[t].release();i.length=0}t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=n,t.renderer.globalData.popExpression=r,t.renderer.globalData.registerExpressionProperty=o}return t.initExpressions=e,t}();function _typeof$1(t){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}function seedRandom(t,e){var i,n=this,r=256,o=6,a=52,s="random",l=e.pow(r,o),u=e.pow(2,a),c=2*u,h=r-1;function d(i,n,a){var h=[];n=!0===n?{entropy:!0}:n||{};var d=m(g(n.entropy?[i,y(t)]:null===i?v():i,3),h),b=new p(h),_=function(){var t=b.g(o),e=l,i=0;while(t<u)t=(t+i)*r,e*=r,i=b.g(1);while(t>=c)t/=2,e/=2,i>>>=1;return(t+i)/e};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_["double"]=_,m(y(b.S),t),(n.pass||a||function(t,i,n,r){return r&&(r.S&&f(r,b),t.state=function(){return f(b,{})}),n?(e[s]=t,i):t})(_,d,"global"in n?n.global:this==e,n.state)}function p(t){var e,i=t.length,n=this,o=0,a=n.i=n.j=0,s=n.S=[];i||(t=[i++]);while(o<r)s[o]=o++;for(o=0;o<r;o++)s[o]=s[a=h&a+t[o%i]+(e=s[o])],s[a]=e;n.g=function(t){var e,i=0,o=n.i,a=n.j,s=n.S;while(t--)e=s[o=h&o+1],i=i*r+s[h&(s[o]=s[a=h&a+e])+(s[a]=e)];return n.i=o,n.j=a,i}}function f(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function g(t,e){var i,n=[],r=_typeof$1(t);if(e&&"object"==r)for(i in t)try{n.push(g(t[i],e-1))}catch(o){}return n.length?n:"string"==r?t:t+"\0"}function m(t,e){var i,n=t+"",r=0;while(r<n.length)e[h&r]=h&(i^=19*e[h&r])+n.charCodeAt(r++);return y(e)}function v(){try{if(i)return y(i.randomBytes(r));var e=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(e),y(e)}catch(s){var o=n.navigator,a=o&&o.plugins;return[+new Date,n,a,n.screen,y(t)]}}function y(t){return String.fromCharCode.apply(0,t)}e["seed"+s]=d,m(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var i,n=t.length,r=[];for(i=0;i<n;i+=1)r[i]=-t[i];return r}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var i=_typeof(t),n=_typeof(e);if("string"===i||"string"===n)return t+e;if(isNumerable(i,t)&&isNumerable(n,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var r=0,o=t.length,a=e.length,s=[];while(r<o||r<a)("number"===typeof t[r]||t[r]instanceof Number)&&("number"===typeof e[r]||e[r]instanceof Number)?s[r]=t[r]+e[r]:s[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return s}return 0}var add=sum;function sub(t,e){var i=_typeof(t),n=_typeof(e);if(isNumerable(i,t)&&isNumerable(n,e))return"string"===i&&(t=parseInt(t,10)),"string"===n&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var r=0,o=t.length,a=e.length,s=[];while(r<o||r<a)("number"===typeof t[r]||t[r]instanceof Number)&&("number"===typeof e[r]||e[r]instanceof Number)?s[r]=t[r]-e[r]:s[r]=void 0===e[r]?t[r]:t[r]||e[r],r+=1;return s}return 0}function mul(t,e){var i,n,r,o=_typeof(t),a=_typeof(e);if(isNumerable(o,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t[n]*e;return i}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t*e[n];return i}return 0}function div(t,e){var i,n,r,o=_typeof(t),a=_typeof(e);if(isNumerable(o,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(r=t.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t[n]/e;return i}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(r=e.length,i=createTypedArray("float32",r),n=0;n<r;n+=1)i[n]=t/e[n];return i}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t,10)),"string"===typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var n=i;i=e,e=n}return Math.min(Math.max(t,e),i)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var i;e||(e=helperLengthArray);var n=Math.min(t.length,e.length),r=0;for(i=0;i<n;i+=1)r+=Math.pow(e[i]-t[i],2);return Math.sqrt(r)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i,n=t[0],r=t[1],o=t[2],a=Math.max(n,r,o),s=Math.min(n,r,o),l=(a+s)/2;if(a===s)e=0,i=0;else{var u=a-s;switch(i=l>.5?u/(2-a-s):u/(a+s),a){case n:e=(r-o)/u+(r<o?6:0);break;case r:e=(o-n)/u+2;break;case o:e=(n-r)/u+4;break;default:break}e/=6}return[e,i,l,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,n,r=t[0],o=t[1],a=t[2];if(0===o)e=a,n=a,i=a;else{var s=a<.5?a*(1+o):a+o-a*o,l=2*a-s;e=hue2rgb(l,s,r+1/3),i=hue2rgb(l,s,r),n=hue2rgb(l,s,r-1/3)}return[e,i,n,t[3]]}function linear(t,e,i,n,r){if(void 0!==n&&void 0!==r||(n=e,r=i,e=0,i=1),i<e){var o=i;i=e,e=o}if(t<=e)return n;if(t>=i)return r;var a,s=i===e?0:(t-e)/(i-e);if(!n.length)return n+(r-n)*s;var l=n.length,u=createTypedArray("float32",l);for(a=0;a<l;a+=1)u[a]=n[a]+(r[a]-n[a])*s;return u}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var i,n=e.length;t||(t=createTypedArray("float32",n));var r=createTypedArray("float32",n),o=BMMath.random();for(i=0;i<n;i+=1)r[i]=t[i]+o*(e[i]-t[i]);return r}void 0===t&&(t=0);var a=BMMath.random();return t+a*(e-t)}function createPath(t,e,i,n){var r,o=t.length,a=shapePool.newElement();a.setPathData(!!n,o);var s,l,u=[0,0];for(r=0;r<o;r+=1)s=e&&e[r]?e[r]:u,l=i&&i[r]?i[r]:u,a.setTripleAt(t[r][0],t[r][1],l[0]+t[r][0],l[1]+t[r][1],s[0]+t[r][0],s[1]+t[r][1],r,!0);return a}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var i,n,r=this.pv.length?this.pv.length:1,o=createTypedArray("float32",r);t=5;var a=Math.floor(time*t);i=0,n=0;while(i<a){for(n=0;n<r;n+=1)o[n]+=-e+2*e*BMMath.random();i+=1}var s=time*t,l=s-Math.floor(s),u=createTypedArray("float32",r);if(r>1){for(n=0;n<r;n+=1)u[n]=this.pv[n]+o[n]+(-e+2*e*BMMath.random())*l;return u}return this.pv+o[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],n=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,r=-Math.atan2(i[1],i[2])/degToRads;return[r,n,0]}function easeOut(t,e,i,n,r){return applyEase(easeOutBez,t,e,i,n,r)}function easeIn(t,e,i,n,r){return applyEase(easeInBez,t,e,i,n,r)}function ease(t,e,i,n,r){return applyEase(easeInOutBez,t,e,i,n,r)}function applyEase(t,e,i,n,r,o){void 0===r?(r=i,o=n):e=(e-i)/(n-i),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(r)){var s,l=r.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=(o[s]-r[s])*a+r[s];return u}return(o-r)*a+r}function nearestKey(t){var e,i,n,r=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(i=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)i=1,n=data.k[0].t;else{for(e=0;e<r-1;e+=1){if(t===data.k[e].t){i=e+1,n=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(i=e+2,n=data.k[e+1].t):(i=e+1,n=data.k[e].t);break}}-1===i&&(i=e+1,n=data.k[e].t)}else i=0,n=0;var o={};return o.index=i,o.time=n/elem.comp.globalData.frameRate,o}function key(t){var e,i,n;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var r=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=r.length,i=0;i<n;i+=1)e[i]=r[i],e.value[i]=r[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!(!elem.hierarchy||!elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers=function(){function t(t,e,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))}function e(t){return t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value}function i(t){var e=-.01,i=this.getValueAtTime(t),n=this.getValueAtTime(t+e),r=0;if(i.length){var o;for(o=0;o<i.length;o+=1)r+=Math.pow(n[o]-i[o],2);r=100*Math.sqrt(r)}else r=0;return r}function n(t){if(void 0!==this.vel)return this.vel;var e,i,n=-.001,r=this.getValueAtTime(t),o=this.getValueAtTime(t+n);if(r.length)for(e=createTypedArray("float32",r.length),i=0;i<r.length;i+=1)e[i]=(o[i]-r[i])/n;else e=(o-r)/n;return e}function r(){return this.pv}function o(t){this.propertyGroup=t}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:n,getValueAtTime:e,getStaticValueAtTime:r,setGroupProperty:o}}();function addPropertyDecorator(){function t(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var n,r,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(i?(n=e?Math.abs(c-this.elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip),r=c-n):((!e||e>u.length-1)&&(e=u.length-1),r=u[u.length-1-e].t,n=c-r),"pingpong"===t){var h=Math.floor((l-r)/n);if(h%2!==0)return this.getValueAtTime((n-(l-r)%n+r)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var d=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-r)%n+r)/this.comp.globalData.frameRate,0),g=Math.floor((l-r)/n);if(this.pv.length){for(s=new Array(d.length),a=s.length,o=0;o<a;o+=1)s[o]=(p[o]-d[o])*g+f[o];return s}return(p-d)*g+f}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(m.length),a=s.length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-v[o])*((l-c)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-c)/.001*(m-v)}}return this.getValueAtTime(((l-r)%n+r)/this.comp.globalData.frameRate,0)}function e(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var n,r,o,a,s,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(i?(n=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c),r=c+n):((!e||e>u.length-1)&&(e=u.length-1),r=u[e].t,n=r-c),"pingpong"===t){var h=Math.floor((c-l)/n);if(h%2===0)return this.getValueAtTime(((c-l)%n+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var d=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(r/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0),g=Math.floor((c-l)/n)+1;if(this.pv.length){for(s=new Array(d.length),a=s.length,o=0;o<a;o+=1)s[o]=f[o]-(p[o]-d[o])*g;return s}return f-(p-d)*g}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(m.length),a=s.length,o=0;o<a;o+=1)s[o]=m[o]+(m[o]-v[o])*(c-l)/.001;return s}return m+(m-v)*(c-l)/.001}}return this.getValueAtTime((n-((c-l)%n+c))/this.comp.globalData.frameRate,0)}function i(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),e=Math.floor(e||5),e<=1)return this.pv;var i,n,r=this.comp.renderedFrame/this.comp.globalData.frameRate,o=r-t,a=r+t,s=e>1?(a-o)/(e-1):1,l=0,u=0;i=this.pv.length?createTypedArray("float32",this.pv.length):0;while(l<e){if(n=this.getValueAtTime(o+l*s),this.pv.length)for(u=0;u<this.pv.length;u+=1)i[u]+=n[u];else i+=n;l+=1}if(this.pv.length)for(u=0;u<this.pv.length;u+=1)i[u]/=e;else i/=e;return i}function n(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var i=this.a.getValueAtTime(t);e.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(t);e.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var r=this.sk.getValueAtTime(t),o=this.sa.getValueAtTime(t);e.skewFromAxis(-r*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),u=this.rx.getValueAtTime(t),c=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(u*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),d=this.py.getValueAtTime(t);if(this.data.p.z){var p=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else e.translate(h*this.px.mult,d*this.py.mult,0)}else{var f=this.p.getValueAtTime(t);e.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return e}function r(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,i){var a=o(t,e,i);return a.dynamicProperties.length?a.getValueAtTime=n.bind(a):a.getValueAtTime=r.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;function s(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}PropertyFactory.getProp=function(n,r,o,s,l){var u=a(n,r,o,s,l);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=t,u.loopIn=e,u.smooth=i,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===r.a?r.k.length:0,u.propertyIndex=r.ix;var c=0;return 0!==o&&(c=createTypedArray("float32",1===r.a?r.k[0].s.length:r.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(n,r,u),u.k&&l.addDynamicProperty(u),u};var l=ShapePropertyFactory.getConstructorFunction(),u=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var i,n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0));var r=n._length,o=n[t],a=n.v,s=createSizedArray(r);for(i=0;i<r;i+=1)s[i]="i"===t||"o"===t?[o[i][0]-a[i][0],o[i][1]-a[i][1]]:[o[i][0],o[i][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));var n,r=this._segmentsLength,o=r.lengths,a=r.totalLength*t,s=0,l=o.length,u=0;while(s<l){if(u+o[s].addedLength>a){var c=s,h=i.c&&s===l-1?0:s+1,d=(a-u)/o[s].addedLength;n=bez.getPointInSegment(i.v[c],i.v[h],i.o[c],i.i[h],d,o[s]);break}u+=o[s].addedLength,s+=1}return n||(n=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),n},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var n=this.pointOnPath(t,e),r=this.pointOnPath(t+.001,e),o=r[0]-n[0],a=r[1]-n[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));if(0===s)return[0,0];var l="tangent"===i?[o/s,a/s]:[-a/s,o/s];return l},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],l),extendPrototype([c],u),u.prototype.getValueAtTime=s,u.prototype.initiateExpression=ExpressionManager.initiateExpression;var h=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,n,r){var o=h(t,e,i,n,r);return o.propertyIndex=e.ix,o.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,o):4===i&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,e){var i=this.calculateExpression(e);if(t.t!==i){var n={};return this.copyData(n,t),n.t=i.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(t,e,i,n,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),o.setAttribute("result",n+"_tint_1"),t.appendChild(o),o=createNS("feColorMatrix"),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",n+"_tint_2"),t.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(n,[r,n+"_tint_1",n+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,i,n){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result",n),t.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}function SVGTritoneFilter(t,e,i,n){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(r);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),o.appendChild(l),this.feFuncB=l,t.appendChild(o)}function SVGProLevelsFilter(t,e,i,n){this.filterManager=e;var r=this.filterManager.effectElements,o=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(o)),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(o=createNS("feComponentTransfer"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),t.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(t,e,i,n,r){var o=e.container.globalData.renderConfig.filterSize,a=e.data.fs||o;t.setAttribute("x",a.x||o.x),t.setAttribute("y",a.y||o.y),t.setAttribute("width",a.width||o.width),t.setAttribute("height",a.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",n+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=u,t.appendChild(u);var c=createNS("feComposite");c.setAttribute("in",n+"_drop_shadow_3"),c.setAttribute("in2",n+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",n+"_drop_shadow_4"),t.appendChild(c);var h=this.createMergeNode(n,[n+"_drop_shadow_4",r]);t.appendChild(h)}SVGComposableEffect.prototype={createMergeNode:function(t,e){var i,n,r=createNS("feMerge");for(r.setAttribute("result",t),n=0;n<e.length;n+=1)i=createNS("feMergeNode"),i.setAttribute("in",e[n]),r.appendChild(i),r.appendChild(i);return r}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,n,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,n=i+1),e=createNS("g"),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1),i;i<n;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var s=createNS("g");s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");while(r[0])s.appendChild(r[0]);this.elem.layerElement.appendChild(s),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v){r=this.elem.layerElement.children||this.elem.layerElement.childNodes;while(r.length)this.elem.layerElement.removeChild(r[0])}this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var i,n,r=this.paths.length;for(e=0;e<r;e+=1)if(-1!==this.paths[e].m&&(i=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&n.setAttribute("d",i.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||i.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();o="0 0 0 "+l*a+" ";var u,c=l*(s-a),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(c/h);for(u=0;u<d;u+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,r=n[0]+" "+i[0]+" "+e[0],o=n[1]+" "+i[1]+" "+e[1],a=n[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",r),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,n,r){var o,a,s=0,l=256,u=Math.min(t,e),c=Math.max(t,e),h=Array.call(null,{length:l}),d=0,p=r-n,f=e-t;while(s<=256)o=s/256,a=o<=u?f<0?r:n:o>=c?f<0?n:r:n+p*Math.pow((o-t)/f,1/i),h[d]=a,d+=1,s+=256/(l-1);return h.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var i=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=i*Math.cos(n),o=i*Math.sin(n);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,n){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");r.setAttribute("result",n),t.appendChild(r),this.feGaussianBlur=r}return SVGMatte3Effect.prototype.findSymbol=function(t){var e=0,i=_svgMatteSymbols.length;while(e<i){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){var n,r=i.children,o=0,a=r.length;while(o<a){if(r[o]===t.layerElement)break;o+=1}o<=a-2&&(n=r[o+1]);var s=createNS("use");s.setAttribute("href","#"+e),n?i.insertBefore(s,n):i.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),n=createNS("mask");n.setAttribute("id",e.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var r=t.globalData.defs;r.appendChild(n);var o=createNS("symbol");o.setAttribute("id",i),this.replaceInParent(e,i),o.appendChild(e.layerElement),r.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+i),n.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,n=e.length;while(i<n)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,i=this.filterManager.effectElements[0].p.v*e,n=this.filterManager.effectElements[1].p.v,r=3==n?0:i,o=2==n?0:i;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+o);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie}))},9564:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0016"),o=i("85fc");e["a"]=n["a"].extend({name:"QToggle",mixins:[o["a"]],props:{icon:String,iconColor:String},computed:{computedIcon(){return(!0===this.isTrue?this.checkedIcon:!0===this.isIndeterminate?this.indeterminateIcon:this.uncheckedIcon)||this.icon},computedIconColor(){if(!0===this.isTrue)return this.iconColor}},methods:{__getInner(t){return[t("div",{staticClass:"q-toggle__track"}),t("div",{staticClass:"q-toggle__thumb absolute flex flex-center no-wrap"},void 0!==this.computedIcon?[t(r["a"],{props:{name:this.computedIcon,color:this.computedIconColor}})]:void 0)]}},created(){this.type="toggle"}})},9582:function(t,e,i){const n=i("7bf0"),r=1335,o=21522,a=n.getBCHDigit(r);e.getEncodedBits=function(t,e){const i=t.bit<<3|e;let s=i<<10;while(n.getBCHDigit(s)-a>=0)s^=r<<n.getBCHDigit(s)-a;return(i<<10|s)^o}},"985d":function(t,e,i){},9861:function(t,e,i){i("5352")},"986a":function(t,e,i){"use strict";var n=i("ebb5"),r=i("a258").findLast,o=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},9989:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QPage",mixins:[r["a"]],inject:{pageContainer:{default(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style(){const t=(!0===this.layout.header.space?this.layout.header.size:0)+(!0===this.layout.footer.space?this.layout.footer.size:0);if("function"===typeof this.styleFn){const e=!0===this.layout.container?this.layout.containerHeight:this.$q.screen.height;return this.styleFn(t,e)}return{minHeight:!0===this.layout.container?this.layout.containerHeight-t+"px":0===this.$q.screen.height?`calc(100vh - ${t}px)`:this.$q.screen.height-t+"px"}},classes(){if(!0===this.padding)return"q-layout-padding"}},render(t){return t("main",{staticClass:"q-page",style:this.style,class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},"99b6":function(t,e,i){"use strict";i("caad");const n={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},r=Object.keys(n);e["a"]={props:{align:{type:String,validator:t=>r.includes(t)}},computed:{alignClass(){const t=void 0===this.align?!0===this.vertical?"stretch":"left":this.align;return`${!0===this.vertical?"items":"justify"}-${n[t]}`}}}},"9a1f":function(t,e,i){var n=i("c65b"),r=i("59ed"),o=i("825a"),a=i("0d51"),s=i("35a1"),l=TypeError;t.exports=function(t,e){var i=arguments.length<2?s(t):e;if(r(i))return o(n(i,t));throw l(a(t)+" is not iterable")}},"9bdd":function(t,e,i){var n=i("825a"),r=i("2a62");t.exports=function(t,e,i,o){try{return o?e(n(i)[0],i[1]):e(i)}catch(a){r(t,"throw",a)}}},"9bf2":function(t,e,i){var n=i("83ab"),r=i("0cfb"),o=i("aed9"),a=i("825a"),s=i("a04b"),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",p="writable";e.f=n?o?function(t,e,i){if(a(t),e=s(e),a(i),"function"===typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var n=c(t,e);n&&n[p]&&(t[e]=i.value,i={configurable:d in i?i[d]:n[d],enumerable:h in i?i[h]:n[h],writable:!1})}return u(t,e,i)}:u:function(t,e,i){if(a(t),e=s(e),a(i),r)try{return u(t,e,i)}catch(n){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},"9c40":function(t,e,i){"use strict";i("5319");var n=i("2b0e"),r=i("0016"),o=i("0d59"),a=i("c8c8"),s=i("dde5"),l=i("d882"),u=i("d728");const{passiveCapture:c}=l["f"];let h,d,p;const f={role:"img","aria-hidden":"true"};e["a"]=n["a"].extend({name:"QBtn",mixins:[a["a"]],props:{percentage:Number,darkPercentage:Boolean},computed:{hasLabel(){return void 0!==this.label&&null!==this.label&&""!==this.label},computedRipple(){return!1!==this.ripple&&{keyCodes:!0===this.hasLink?[13,32]:[13],...!0===this.ripple?{}:this.ripple}},percentageStyle(){const t=Math.max(0,Math.min(100,this.percentage));if(t>0)return{transition:"transform 0.6s",transform:`translateX(${t-100}%)`}},onEvents(){if(!0===this.loading)return{mousedown:this.__onLoadingEvt,touchstart:this.__onLoadingEvt,click:this.__onLoadingEvt,keydown:this.__onLoadingEvt,keyup:this.__onLoadingEvt};if(!0===this.isActionable){const t={...this.qListeners,click:this.click,keydown:this.__onKeydown,mousedown:this.__onMousedown};return!0===this.$q.platform.has.touch&&(t.touchstart=this.__onTouchstart),t}return{click:l["l"]}},directives(){if(!0!==this.disable&&!1!==this.ripple)return[{name:"ripple",value:this.computedRipple,modifiers:{center:this.round}}]}},methods:{click(t){if(void 0!==t){if(!0===t.defaultPrevented)return;const e=document.activeElement;if("submit"===this.type&&(!0===this.$q.platform.is.ie&&(t.clientX<0||t.clientY<0)||e!==document.body&&!1===this.$el.contains(e)&&!1===e.contains(this.$el))){this.$el.focus();const t=()=>{document.removeEventListener("keydown",l["l"],!0),document.removeEventListener("keyup",t,c),void 0!==this.$el&&this.$el.removeEventListener("blur",t,c)};document.addEventListener("keydown",l["l"],!0),document.addEventListener("keyup",t,c),this.$el.addEventListener("blur",t,c)}if(!0===this.hasRouterLink){if(!0===t.ctrlKey||!0===t.shiftKey||!0===t.altKey||!0===t.metaKey)return;Object(l["l"])(t)}}const e=()=>{this.$router[!0===this.replace?"replace":"push"](this.linkRoute.route,void 0,l["g"])};this.$emit("click",t,e),!0===this.hasRouterLink&&!1!==t.navigate&&e()},__onKeydown(t){this.$emit("keydown",t),!0===Object(u["a"])(t,[13,32])&&(d!==this.$el&&(void 0!==d&&this.__cleanup(),!0!==t.defaultPrevented&&(this.$el.focus(),d=this.$el,this.$el.classList.add("q-btn--active"),document.addEventListener("keyup",this.__onPressEnd,!0),this.$el.addEventListener("blur",this.__onPressEnd,c))),Object(l["l"])(t))},__onTouchstart(t){if(this.$emit("touchstart",t),h!==this.$el&&(void 0!==h&&this.__cleanup(),!0!==t.defaultPrevented)){h=this.$el;const e=this.touchTargetEl=t.target;e.addEventListener("touchcancel",this.__onPressEnd,c),e.addEventListener("touchend",this.__onPressEnd,c)}this.avoidMouseRipple=!0,clearTimeout(this.mouseTimer),this.mouseTimer=setTimeout((()=>{this.avoidMouseRipple=!1}),200)},__onMousedown(t){t.qSkipRipple=!0===this.avoidMouseRipple,this.$emit("mousedown",t),p!==this.$el&&(void 0!==p&&this.__cleanup(),!0!==t.defaultPrevented&&(p=this.$el,this.$el.classList.add("q-btn--active"),document.addEventListener("mouseup",this.__onPressEnd,c)))},__onPressEnd(t){if(void 0===t||"blur"!==t.type||document.activeElement!==this.$el){if(void 0!==t&&"keyup"===t.type){if(d===this.$el&&!0===Object(u["a"])(t,[13,32])){const e=new MouseEvent("click",t);e.qKeyEvent=!0,!0===t.defaultPrevented&&Object(l["i"])(e),!0===t.cancelBubble&&Object(l["k"])(e),this.$el.dispatchEvent(e),Object(l["l"])(t),t.qKeyEvent=!0}this.$emit("keyup",t)}this.__cleanup()}},__cleanup(t){const e=this.$refs.blurTarget;if(!0===t||h!==this.$el&&p!==this.$el||void 0===e||e===document.activeElement||(e.setAttribute("tabindex",-1),e.focus()),h===this.$el){const t=this.touchTargetEl;t.removeEventListener("touchcancel",this.__onPressEnd,c),t.removeEventListener("touchend",this.__onPressEnd,c),h=this.touchTargetEl=void 0}p===this.$el&&(document.removeEventListener("mouseup",this.__onPressEnd,c),p=void 0),d===this.$el&&(document.removeEventListener("keyup",this.__onPressEnd,!0),void 0!==this.$el&&this.$el.removeEventListener("blur",this.__onPressEnd,c),d=void 0),void 0!==this.$el&&this.$el.classList.remove("q-btn--active")},__onLoadingEvt(t){Object(l["l"])(t),t.qSkipRipple=!0}},beforeDestroy(){this.__cleanup(!0)},render(t){let e=[];void 0!==this.icon&&e.push(t(r["a"],{attrs:f,props:{name:this.icon,left:!1===this.stack&&!0===this.hasLabel}})),!0===this.hasLabel&&e.push(t("span",{staticClass:"block"},[this.label])),e=Object(s["a"])(e,this,"default"),void 0!==this.iconRight&&!1===this.round&&e.push(t(r["a"],{attrs:f,props:{name:this.iconRight,right:!1===this.stack&&!0===this.hasLabel}}));const i=[t("span",{staticClass:"q-focus-helper",ref:"blurTarget"})];return!0===this.loading&&void 0!==this.percentage&&i.push(t("span",{staticClass:"q-btn__progress absolute-full overflow-hidden",class:!0===this.darkPercentage?"q-btn__progress--dark":""},[t("span",{staticClass:"q-btn__progress-indicator fit block",style:this.percentageStyle})])),i.push(t("span",{staticClass:"q-btn__wrapper col row q-anchor--skip",style:this.wrapperStyle},[t("span",{staticClass:"q-btn__content text-center col items-center q-anchor--skip",class:this.innerClasses},e)])),null!==this.loading&&i.push(t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("span",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$scopedSlots.loading?this.$scopedSlots.loading():[t(o["a"])])]:void 0)),t(!0===this.hasLink||"a"===this.type?"a":"button",{staticClass:"q-btn q-btn-item non-selectable no-outline",class:this.classes,style:this.style,attrs:this.attrs,on:this.onEvents,directives:this.directives},i)}})},"9c64":function(t,e,i){"use strict";i("caad"),i("5319");var n=i("2b0e"),r=i("0967");const o=Object.prototype.toString,a=Object.prototype.hasOwnProperty,s={};function l(t){return null===t?String(t):s[o.call(t)]||"object"}function u(t){if(!t||"object"!==l(t))return!1;if(t.constructor&&!a.call(t,"constructor")&&!a.call(t.constructor.prototype,"isPrototypeOf"))return!1;let e;for(e in t);return void 0===e||a.call(t,e)}function c(){let t,e,i,n,r,o,a=arguments[0]||{},s=1,h=!1;const d=arguments.length;for("boolean"===typeof a&&(h=a,a=arguments[1]||{},s=2),Object(a)!==a&&"function"!==l(a)&&(a={}),d===s&&(a=this,s--);s<d;s++)if(null!==(t=arguments[s]))for(e in t)i=a[e],n=t[e],a!==n&&(h&&n&&(!0===u(n)||(r="array"===l(n)))?(r?(r=!1,o=i&&"array"===l(i)?i:[]):o=i&&!0===u(i)?i:{},a[e]=c(h,o,n)):void 0!==n&&(a[e]=n));return a}let h,d;function p(t){t.title&&(t.title=t.titleTemplate?t.titleTemplate(t.title):t.title,delete t.titleTemplate),[["meta","content"],["link","href"]].forEach((e=>{const i=t[e[0]],n=e[1];for(const t in i){const e=i[t];e.template&&(1===Object.keys(e).length?delete i[t]:(e[n]=e.template(e[n]||""),delete e.template))}}))}function f(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!0;for(const i in t)if(t[i]!==e[i])return!0}function g(t){return!1===["class","style"].includes(t)}function m(t){return!1===["lang","dir"].includes(t)}function v(t,e){const i={},n={};return void 0===t?{add:e,remove:n}:(t.title!==e.title&&(i.title=e.title),["meta","link","script","htmlAttr","bodyAttr"].forEach((r=>{const o=t[r],a=e[r];if(n[r]=[],void 0!==o&&null!==o){i[r]={};for(const t in o)!1===a.hasOwnProperty(t)&&n[r].push(t);for(const t in a)!1===o.hasOwnProperty(t)?i[r][t]=a[t]:!0===f(o[t],a[t])&&(n[r].push(t),i[r][t]=a[t])}else i[r]=a})),{add:i,remove:n})}function y({add:t,remove:e}){t.title&&(document.title=t.title),Object.keys(e).length>0&&(["meta","link","script"].forEach((t=>{e[t].forEach((e=>{document.head.querySelector(`${t}[data-qmeta="${e}"]`).remove()}))})),e.htmlAttr.filter(m).forEach((t=>{document.documentElement.removeAttribute(t)})),e.bodyAttr.filter(g).forEach((t=>{document.body.removeAttribute(t)}))),["meta","link","script"].forEach((e=>{const i=t[e];for(const t in i){const n=document.createElement(e);for(const e in i[t])"innerHTML"!==e&&n.setAttribute(e,i[t][e]);n.setAttribute("data-qmeta",t),"script"===e&&(n.innerHTML=i[t].innerHTML||""),document.head.appendChild(n)}})),Object.keys(t.htmlAttr).filter(m).forEach((e=>{document.documentElement.setAttribute(e,t.htmlAttr[e]||"")})),Object.keys(t.bodyAttr).filter(g).forEach((e=>{document.body.setAttribute(e,t.bodyAttr[e]||"")}))}function b(t,e){!0!==t._inactive&&(!0===k(t)&&(c(!0,e,t.__qMeta),!0===t.$options.meta.stopPropagation)||t.$children.forEach((t=>{b(t,e)})))}function _(){!0===d&&(d=!1,this.$root.__currentMeta=window.__Q_META__);const t={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};b(this.$root,t),p(t),y(v(this.$root.__currentMeta,t)),this.$root.__currentMeta=t}function x(t){return e=>{const i=t[e];return e+(!0!==i&&void 0!==i?`="${i}"`:"")}}function w(t){let e="";return t.title&&(e+=`<title>${t.title}</title>`),["meta","link","script"].forEach((i=>{const n=t[i];for(const t in n){const r=Object.keys(n[t]).filter((t=>"innerHTML"!==t)).map(x(n[t]));e+=`<${i} ${r.join(" ")} data-qmeta="${t}">`,"script"===i&&(e+=`${n[t].innerHTML||""}<\/script>`)}})),e}function S(t,e,i){const n={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};b(t,n),p(n);const r=void 0!==i&&void 0!==i.nonce?` nonce="${i.nonce}"`:"",o={"%%Q_HTML_ATTRS%%":Object.keys(n.htmlAttr).filter(m).map(x(n.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":w(n),"%%Q_BODY_ATTRS%%":Object.keys(n.bodyAttr).filter(g).map(x(n.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(n.noscript).map((t=>`<noscript data-qmeta="${t}">${n.noscript[t]}</noscript>`)).join("")+`<script${r}>window.__Q_META__=${delete n.noscript&&JSON.stringify(n)}<\/script>`};return Object.keys(o).forEach((t=>{e=e.replace(t,o[t])})),e}function C(){"function"===typeof this.$options.meta?(void 0===this.$options.computed&&(this.$options.computed={}),this.$options.computed.__qMeta=this.$options.meta):!0===k(this)&&(this.__qMeta=this.$options.meta)}function k(t){return void 0!==t.$options.meta&&null!==t.$options.meta}function M(){!0===k(this)&&this.__qMetaUpdate()}"Boolean Number String Function Array Date RegExp Object".split(" ").forEach((t=>{s["[object "+t+"]"]=t.toLowerCase()}));e["a"]={install({queues:t}){!0===r["e"]?(n["a"].prototype.$getMetaHTML=t=>(e,i)=>S(t,e,i),n["a"].mixin({beforeCreate:C}),t.server.push(((t,e)=>{e.ssr.Q_HTML_ATTRS+=" %%Q_HTML_ATTRS%%",Object.assign(e.ssr,{Q_HEAD_TAGS:"%%Q_HEAD_TAGS%%",Q_BODY_ATTRS:"%%Q_BODY_ATTRS%%",Q_BODY_TAGS:"%%Q_BODY_TAGS%%"})}))):(d=r["c"],n["a"].mixin({beforeCreate:C,created(){!0===k(this)&&(this.__qMetaUnwatch=this.$watch("__qMeta",this.__qMetaUpdate))},activated:M,deactivated:M,beforeMount:M,destroyed(){!0===k(this)&&(this.__qMetaUnwatch(),this.__qMetaUpdate())},methods:{__qMetaUpdate(){clearTimeout(h),h=setTimeout(_.bind(this),50)}}}))}}},"9d94":function(t,e,i){const n=i("bbf0"),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=n.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e+2<=this.data.length;e+=2){let i=45*r.indexOf(this.data[e]);i+=r.indexOf(this.data[e+1]),t.put(i,11)}this.data.length%2&&t.put(r.indexOf(this.data[e]),6)},t.exports=o},"9e62":function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return u}));var n=i("2b0e"),r=i("0967"),o=i("f303"),a=i("e704"),s=i("1c16");function l(t,e){do{if("QMenu"===t.$options.name){if(t.hide(e),!0===t.separateClosePopup)return t.$parent}else if(void 0!==t.__renderPortal)return void 0!==t.$parent&&"QPopupProxy"===t.$parent.$options.name?(t.hide(e),t.$parent):t;t=t.$parent}while(void 0!==t&&(void 0===t.$el.contains||!0!==t.$el.contains(e.target)))}function u(t,e,i){while(0!==i&&void 0!==t){if(void 0!==t.__renderPortal){if(i--,"QMenu"===t.$options.name){t=l(t,e);continue}t.hide(e)}t=t.$parent}}function c(t){while(void 0!==t){if("QGlobalDialog"===t.$options.name)return!0;if("QDialog"===t.$options.name)return!1;t=t.$parent}return!1}const h={inheritAttrs:!1,props:{contentClass:[Array,String,Object],contentStyle:[Array,String,Object]},methods:{__showPortal(t){if(!0===t)return Object(a["d"])(this.focusObj),void(this.__portalIsAccessible=!0);if(this.__portalIsAccessible=!1,!0!==this.__portalIsActive)if(this.__portalIsActive=!0,void 0===this.focusObj&&(this.focusObj={}),Object(a["b"])(this.focusObj),void 0!==this.$q.fullscreen&&!0===this.$q.fullscreen.isCapable){const t=()=>{if(void 0===this.__portal)return;const t=Object(o["c"])(this.$q.fullscreen.activeEl);this.__portal.$el.parentElement!==t&&t.contains(this.$el)===(!1===this.__onGlobalDialog)&&t.appendChild(this.__portal.$el)};this.unwatchFullscreen=this.$watch("$q.fullscreen.activeEl",Object(s["a"])(t,50)),!1!==this.__onGlobalDialog&&!0!==this.$q.fullscreen.isActive||t()}else void 0!==this.__portal&&!1===this.__onGlobalDialog&&document.body.appendChild(this.__portal.$el)},__hidePortal(t){this.__portalIsAccessible=!1,!0===t&&(this.__portalIsActive=!1,Object(a["d"])(this.focusObj),void 0!==this.__portal&&(void 0!==this.unwatchFullscreen&&(this.unwatchFullscreen(),this.unwatchFullscreen=void 0),!1===this.__onGlobalDialog&&(this.__portal.$destroy(),this.__portal.$el.remove()),this.__portal=void 0))},__preparePortal(){void 0===this.__portal&&(this.__portal=!0===this.__onGlobalDialog?{$el:this.$el,$refs:this.$refs}:new n["a"]({name:"QPortal",parent:this,inheritAttrs:!1,render:t=>this.__renderPortal(t),components:this.$options.components,directives:this.$options.directives}).$mount())}},render(t){if(!0===this.__onGlobalDialog)return this.__renderPortal(t);void 0!==this.__portal&&this.__portal.$forceUpdate()},beforeDestroy(){this.__hidePortal(!0)}};!1===r["e"]&&(h.created=function(){this.__onGlobalDialog=c(this.$parent)}),e["c"]=h},"9ed3":function(t,e,i){"use strict";var n=i("ae93").IteratorPrototype,r=i("7c73"),o=i("5c6c"),a=i("d44e"),s=i("3f8c"),l=function(){return this};t.exports=function(t,e,i,u){var c=e+" Iterator";return t.prototype=r(n,{next:o(+!u,i)}),a(t,c,!1,!0),s[c]=l,t}},"9f7f":function(t,e,i){var n=i("d039"),r=i("da84"),o=r.RegExp,a=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),s=a||n((function(){return!o("a","y").sticky})),l=a||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:l,MISSED_STICKY:s,UNSUPPORTED_Y:a}},"9ffa":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ITF=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){s(this,e);var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.binaryRepresentation={0:"00110",1:"10001",2:"01001",3:"11000",4:"00101",5:"10100",6:"01100",7:"00011",8:"10010",9:"01010"},n}return u(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){for(var t="1010",e=0;e<this.data.length;e+=2)t+=this.calculatePair(this.data.substr(e,2));return t+="11101",{data:t,text:this.text}}},{key:"calculatePair",value:function(t){for(var e="",i=this.binaryRepresentation[t[0]],n=this.binaryRepresentation[t[1]],r=0;r<5;r++)e+="1"==i[r]?"111":"1",e+="1"==n[r]?"000":"0";return e}}]),e}(o.default);e.ITF=c},a04b:function(t,e,i){var n=i("c04e"),r=i("d9b5");t.exports=function(t){var e=n(t,"string");return r(e)?e:e+""}},a078:function(t,e,i){var n=i("0366"),r=i("c65b"),o=i("5087"),a=i("7b0b"),s=i("07fa"),l=i("9a1f"),u=i("35a1"),c=i("e95a"),h=i("ebb5").aTypedArrayConstructor;t.exports=function(t){var e,i,d,p,f,g,m=o(this),v=a(t),y=arguments.length,b=y>1?arguments[1]:void 0,_=void 0!==b,x=u(v);if(x&&!c(x)){f=l(v,x),g=f.next,v=[];while(!(p=r(g,f)).done)v.push(p.value)}for(_&&y>2&&(b=n(b,arguments[2])),i=s(v),d=new(h(m))(i),e=0;i>e;e++)d[e]=_?b(v[e],e):v[e];return d}},a258:function(t,e,i){var n=i("0366"),r=i("44ad"),o=i("7b0b"),a=i("07fa"),s=function(t){var e=1==t;return function(i,s,l){var u,c,h=o(i),d=r(h),p=n(s,l),f=a(d);while(f-- >0)if(u=d[f],c=p(u,f,h),c)switch(t){case 0:return u;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},a267:function(t,e,i){"use strict";var n=i("d728");const r=[];let o=!1;e["a"]={__install(){this.__installed=!0,window.addEventListener("keydown",(t=>{o=27===t.keyCode})),window.addEventListener("blur",(()=>{!0===o&&(o=!1)})),window.addEventListener("keyup",(t=>{!0===o&&(o=!1,0!==r.length&&!0===Object(n["a"])(t,27)&&r[r.length-1].fn(t))}))},register(t,e){!0===t.$q.platform.is.desktop&&(!0!==this.__installed&&this.__install(),r.push({comp:t,fn:e}))},pop(t){if(!0===t.$q.platform.is.desktop){const e=r.findIndex((e=>e.comp===t));e>-1&&r.splice(e,1)}}}},a2b0:function(t,e,i){"use strict";function n(t){var e=[];function i(t){if(Array.isArray(t))for(var n=0;n<t.length;n++)i(t[n]);else t.text=t.text||"",t.data=t.data||"",e.push(t)}return i(t),e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},a357:function(t,e,i){"use strict";i("ddb0"),i("2b3d"),i("9861");function n(t){setTimeout((()=>{window.URL.revokeObjectURL(t.href)}),1e4),t.remove()}e["a"]=function(t,e,i){const r=new Blob([e],{type:i||"text/plain"});if(window.navigator.msSaveOrOpenBlob)return window.navigator.msSaveOrOpenBlob(r,t);const o=document.createElement("a");o.download=t,o.href=window.URL.createObjectURL(r),o.classList.add("hidden"),o.style.position="fixed",document.body.appendChild(o);try{return o.click(),n(o),!0}catch(a){return n(o),a}}},a370:function(t,e,i){"use strict";var n=i("2b0e"),r=i("e2fa"),o=i("87e8"),a=i("dde5");e["a"]=n["a"].extend({name:"QCardSection",mixins:[o["a"],r["a"]],props:{horizontal:Boolean},computed:{classes(){return"q-card__section q-card__section--"+(!0===this.horizontal?"horiz row no-wrap":"vert")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},a5d2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("c243"),o=i("5726"),a=u(o),s=i("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,i){return c(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return d(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=r.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,a.default)(this.data,t,"01"),text:this.text}}}]),e}(l.default);e.default=p},a639:function(t,e,i){"use strict";var n=i("0967"),r=i("685b");e["a"]={install({$q:t}){const e=!0===n["e"]||!1===n["a"].has.webStorage?Object(r["a"])():Object(r["b"])("session");t.sessionStorage=e,Object.assign(this,e)}}},a79d:function(t,e,i){"use strict";var n=i("23e7"),r=i("c430"),o=i("d256"),a=i("d039"),s=i("d066"),l=i("1626"),u=i("4840"),c=i("cdf9"),h=i("cb2d"),d=o&&o.prototype,p=!!o&&a((function(){d["finally"].call({then:function(){}},(function(){}))}));if(n({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(t){var e=u(this,s("Promise")),i=l(t);return this.then(i?function(i){return c(e,t()).then((function(){return i}))}:t,i?function(i){return c(e,t()).then((function(){throw i}))}:t)}}),!r&&l(o)){var f=s("Promise").prototype["finally"];d["finally"]!==f&&h(d,"finally",f,{unsafe:!0})}},a8f0:function(t,e,i){"use strict";i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return s}));i("d9e2");const n=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function r(t,e,i){return"[object Date]"===Object.prototype.toString.call(t)&&(i=t.getDate(),e=t.getMonth()+1,t=t.getFullYear()),h(d(t,e,i))}function o(t,e,i){return p(c(t,e,i))}function a(t){return 0===l(t)}function s(t,e){return e<=6?31:e<=11||a(t)?30:29}function l(t){const e=n.length;let i,r,o,a,s,l=n[0];if(t<l||t>=n[e-1])throw new Error("Invalid Jalaali year "+t);for(s=1;s<e;s+=1){if(i=n[s],r=i-l,t<i)break;l=i}return a=t-l,r-a<6&&(a=a-r+33*f(r+4,33)),o=g(g(a+1,33)-1,4),-1===o&&(o=4),o}function u(t,e){const i=n.length,r=t+621;let o,a,s,l,u,c=-14,h=n[0];if(t<h||t>=n[i-1])throw new Error("Invalid Jalaali year "+t);for(u=1;u<i;u+=1){if(o=n[u],a=o-h,t<o)break;c=c+8*f(a,33)+f(g(a,33),4),h=o}l=t-h,c=c+8*f(l,33)+f(g(l,33)+3,4),4===g(a,33)&&a-l===4&&(c+=1);const d=f(r,4)-f(3*(f(r,100)+1),4)-150,p=20+c-d;return e||(a-l<6&&(l=l-a+33*f(a+4,33)),s=g(g(l+1,33)-1,4),-1===s&&(s=4)),{leap:s,gy:r,march:p}}function c(t,e,i){const n=u(t,!0);return d(n.gy,3,n.march)+31*(e-1)-f(e,7)*(e-7)+i-1}function h(t){const e=p(t).gy;let i,n,r,o=e-621;const a=u(o,!1),s=d(e,3,a.march);if(r=t-s,r>=0){if(r<=185)return n=1+f(r,31),i=g(r,31)+1,{jy:o,jm:n,jd:i};r-=186}else o-=1,r+=179,1===a.leap&&(r+=1);return n=7+f(r,30),i=g(r,30)+1,{jy:o,jm:n,jd:i}}function d(t,e,i){let n=f(1461*(t+f(e-8,6)+100100),4)+f(153*g(e+9,12)+2,5)+i-34840408;return n=n-f(3*f(t+100100+f(e-8,6),100),4)+752,n}function p(t){let e=4*t+139361631;e=e+4*f(3*f(4*t+183187720,146097),4)-3908;const i=5*f(g(e,1461),4)+308,n=f(g(i,153),5)+1,r=g(f(i,153),12)+1,o=f(e,1461)-100100+f(8-r,6);return{gy:o,gm:r,gd:n}}function f(t,e){return~~(t/e)}function g(t,e){return t-~~(t/e)*e}},a925:function(t,e,i){"use strict";
  69. /*!
  70. * vue-i18n v8.27.2
  71. * (c) 2022 kazuya kawaguchi
  72. * Released under the MIT License.
  73. */var n=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function r(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var a=Array.isArray;function s(t){return null!==t&&"object"===typeof t}function l(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var c=Object.prototype.toString,h="[object Object]";function d(t){return c.call(t)===h}function p(t){return null===t||void 0===t}function f(t){return"function"===typeof t}function g(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var i=null,n=null;return 1===t.length?s(t[0])||a(t[0])?n=t[0]:"string"===typeof t[0]&&(i=t[0]):2===t.length&&("string"===typeof t[0]&&(i=t[0]),(s(t[1])||a(t[1]))&&(n=t[1])),{locale:i,params:n}}function m(t){return JSON.parse(JSON.stringify(t))}function v(t,e){if(t.delete(e))return t}function y(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var _=Object.prototype.hasOwnProperty;function x(t,e){return _.call(t,e)}function w(t){for(var e=arguments,i=Object(t),n=1;n<arguments.length;n++){var r=e[n];if(void 0!==r&&null!==r){var o=void 0;for(o in r)x(r,o)&&(s(r[o])?i[o]=w(i[o],r[o]):i[o]=r[o])}}return i}function S(t,e){if(t===e)return!0;var i=s(t),n=s(e);if(!i||!n)return!i&&!n&&String(t)===String(e);try{var r=a(t),o=a(e);if(r&&o)return t.length===e.length&&t.every((function(t,i){return S(t,e[i])}));if(r||o)return!1;var l=Object.keys(t),u=Object.keys(e);return l.length===u.length&&l.every((function(i){return S(t[i],e[i])}))}catch(c){return!1}}function C(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function k(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=C(t[e]))})),t}function M(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var n=this.$i18n;return n._t.apply(n,[t,n.locale,n._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var i=[],n=arguments.length-2;while(n-- >0)i[n]=arguments[n+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(i))},t.prototype.$te=function(t,e){var i=this.$i18n;return i._te(t,i.locale,i._getMessages(),e)},t.prototype.$d=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this.$i18n).d.apply(e,[t].concat(i))},t.prototype.$n=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this.$i18n).n.apply(e,[t].concat(i))}}function O(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof kt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){e=w(e,JSON.parse(t))})),Object.keys(e).forEach((function(i){t.i18n.mergeLocaleMessage(i,e[i])}))}catch(l){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{},o=t.__i18nBridge||t.__i18n;o.forEach((function(t){r=w(r,JSON.parse(t))})),t.i18n.messages=r}catch(l){0}var a=t.i18n,s=a.sharedMessages;s&&d(s)&&(t.i18n.messages=w(t.i18n.messages,s)),this._i18n=new kt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof kt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof kt||d(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof kt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var i=e.data,n=e.parent,r=e.props,o=e.slots,a=n.$i18n;if(a){var s=r.path,l=r.locale,u=r.places,c=o(),h=a.i(s,l,A(c)||u?I(c.default,u):c),d=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return d?t(d,i,h):h}}};function A(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function I(t,e){var i=e?P(e):{};if(!t)return i;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var n=t.every(L);return t.reduce(n?E:D,i)}function P(t){return Array.isArray(t)?t.reduce(D,{}):Object.assign({},t)}function E(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function D(t,e,i){return t[i]=e,t}function L(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var j,R={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var i=e.props,r=e.parent,o=e.data,a=r.$i18n;if(!a)return null;var l=null,c=null;u(i.format)?l=i.format:s(i.format)&&(i.format.key&&(l=i.format.key),c=Object.keys(i.format).reduce((function(t,e){var r;return b(n,e)?Object.assign({},t,(r={},r[e]=i.format[e],r)):t}),null));var h=i.locale||a.locale,d=a._ntp(i.value,h,l,c),p=d.map((function(t,e){var i,n=o.scopedSlots&&o.scopedSlots[t.type];return n?n((i={},i[t.type]=t.value,i.index=e,i.parts=d,i)):t.value})),f=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return f?t(f,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},p):p}};function B(t,e,i){z(t,i)&&q(t,e,i)}function F(t,e,i,n){if(z(t,i)){var r=i.context.$i18n;V(t,i)&&S(e.value,e.oldValue)&&S(t._localeMessage,r.getLocaleMessage(r.locale))||q(t,e,i)}}function N(t,e,i,n){var o=i.context;if(o){var a=i.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else r("Vue instance does not exists in VNode context")}function z(t,e){var i=e.context;return i?!!i.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance does not exists in VNode context"),!1)}function V(t,e){var i=e.context;return t._locale===i.$i18n.locale}function q(t,e,i){var n,o,a=e.value,s=$(a),l=s.path,u=s.locale,c=s.args,h=s.choice;if(l||u||c)if(l){var d=i.context;t._vt=t.textContent=null!=h?(n=d.$i18n).tc.apply(n,[l,h].concat(H(u,c))):(o=d.$i18n).t.apply(o,[l].concat(H(u,c))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else r("`path` is required in v-t directive");else r("value type not supported")}function $(t){var e,i,n,r;return u(t)?e=t:d(t)&&(e=t.path,i=t.locale,n=t.args,r=t.choice),{path:e,locale:i,args:n,choice:r}}function H(t,e){var i=[];return t&&i.push(t),e&&(Array.isArray(e)||d(e))&&i.push(e),i}function G(t,e){void 0===e&&(e={bridge:!1}),G.installed=!0,j=t;j.version&&Number(j.version.split(".")[0]);M(j),j.mixin(O(e.bridge)),j.directive("t",{bind:B,update:F,unbind:N}),j.component(T.name,T),j.component(R.name,R);var i=j.config.optionMergeStrategies;i.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var i=this._caches[t];return i||(i=X(t),this._caches[t]=i),K(i,e)};var U=/^(?:\d)+/,Y=/^(?:\w)+/;function X(t){var e=[],i=0,n="";while(i<t.length){var r=t[i++];if("{"===r){n&&e.push({type:"text",value:n}),n="";var o="";r=t[i++];while(void 0!==r&&"}"!==r)o+=r,r=t[i++];var a="}"===r,s=U.test(o)?"list":a&&Y.test(o)?"named":"unknown";e.push({value:o,type:s})}else"%"===r?"{"!==t[i]&&(n+=r):n+=r}return n&&e.push({type:"text",value:n}),e}function K(t,e){var i=[],n=0,r=Array.isArray(e)?"list":s(e)?"named":"unknown";if("unknown"===r)return i;while(n<t.length){var o=t[n];switch(o.type){case"text":i.push(o.value);break;case"list":i.push(e[parseInt(o.value,10)]);break;case"named":"named"===r&&i.push(e[o.value]);break;case"unknown":0;break}n++}return i}var Z=0,Q=1,J=2,tt=3,et=0,it=1,nt=2,rt=3,ot=4,at=5,st=6,lt=7,ut=8,ct=[];ct[et]={ws:[et],ident:[rt,Z],"[":[ot],eof:[lt]},ct[it]={ws:[it],".":[nt],"[":[ot],eof:[lt]},ct[nt]={ws:[nt],ident:[rt,Z],0:[rt,Z],number:[rt,Z]},ct[rt]={ident:[rt,Z],0:[rt,Z],number:[rt,Z],ws:[it,Q],".":[nt,Q],"[":[ot,Q],eof:[lt,Q]},ct[ot]={"'":[at,Z],'"':[st,Z],"[":[ot,J],"]":[it,tt],eof:ut,else:[ot,Z]},ct[at]={"'":[ot,Z],eof:ut,else:[at,Z]},ct[st]={'"':[ot,Z],eof:ut,else:[st,Z]};var ht=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dt(t){return ht.test(t)}function pt(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function ft(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function gt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(dt(e)?pt(e):"*"+e)}function mt(t){var e,i,n,r,o,a,s,l=[],u=-1,c=et,h=0,d=[];function p(){var e=t[u+1];if(c===at&&"'"===e||c===st&&'"'===e)return u++,n="\\"+e,d[Z](),!0}d[Q]=function(){void 0!==i&&(l.push(i),i=void 0)},d[Z]=function(){void 0===i?i=n:i+=n},d[J]=function(){d[Z](),h++},d[tt]=function(){if(h>0)h--,c=ot,d[Z]();else{if(h=0,void 0===i)return!1;if(i=gt(i),!1===i)return!1;d[Q]()}};while(null!==c)if(u++,e=t[u],"\\"!==e||!p()){if(r=ft(e),s=ct[c],o=s[r]||s["else"]||ut,o===ut)return;if(c=o[0],a=d[o[1]],a&&(n=o[2],n=void 0===n?e:n,!1===a()))return;if(c===lt)return l}}var vt=function(){this._cache=Object.create(null)};vt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},vt.prototype.getPathValue=function(t,e){if(!s(t))return null;var i=this.parsePath(e);if(0===i.length)return null;var n=i.length,r=t,o=0;while(o<n){var a=r[i[o]];if(void 0===a||null===a)return null;r=a,o++}return r};var yt,bt=/<\/?[\w\s="/.':;#-\/]+>/,_t=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,xt=/^@(?:\.([a-zA-Z]+))?:/,wt=/[()]/g,St={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Ct=new W,kt=function(t){var e=this;void 0===t&&(t={}),!j&&"undefined"!==typeof window&&window.Vue&&G(window.Vue);var i=t.locale||"en-US",n=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Ct,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new vt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,i){var n=Object.getPrototypeOf(e);if(n&&n.getChoiceIndex){var r=n.getChoiceIndex;return r.call(e,t,i)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,i]):o(t,i)},this._exist=function(t,i){return!(!t||!i)&&(!p(e._path.getPathValue(t,i))||!!t[i])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:i,fallbackLocale:n,messages:r,dateTimeFormats:o,numberFormats:a})},Mt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};kt.prototype._checkLocaleMessage=function(t,e,i){var n=[],s=function(t,e,i,n){if(d(i))Object.keys(i).forEach((function(r){var o=i[r];d(o)?(n.push(r),n.push("."),s(t,e,o,n),n.pop(),n.pop()):(n.push(r),s(t,e,o,n),n.pop())}));else if(a(i))i.forEach((function(i,r){d(i)?(n.push("["+r+"]"),n.push("."),s(t,e,i,n),n.pop(),n.pop()):(n.push("["+r+"]"),s(t,e,i,n),n.pop())}));else if(u(i)){var l=bt.test(i);if(l){var c="Detected HTML in message '"+i+"' of keypath '"+n.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?r(c):"error"===t&&o(c)}}};s(e,t,i,n)},kt.prototype._initVM=function(t){var e=j.config.silent;j.config.silent=!0,this._vm=new j({data:t,__VUE18N__INSTANCE__:!0}),j.config.silent=e},kt.prototype.destroyVM=function(){this._vm.$destroy()},kt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},kt.prototype.unsubscribeDataChanging=function(t){v(this._dataListeners,t)},kt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=y(t._dataListeners),i=e.length;while(i--)j.nextTick((function(){e[i]&&e[i].$forceUpdate()}))}),{deep:!0})},kt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,i=this._vm;return this.vm.$watch("locale",(function(n){i.$set(i,"locale",n),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=n),i.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){n.$set(n,"locale",t),n.$forceUpdate()}),{immediate:!0})},kt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Mt.vm.get=function(){return this._vm},Mt.messages.get=function(){return m(this._getMessages())},Mt.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Mt.numberFormats.get=function(){return m(this._getNumberFormats())},Mt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Mt.locale.get=function(){return this._vm.locale},Mt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Mt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Mt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Mt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Mt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Mt.missing.get=function(){return this._missing},Mt.missing.set=function(t){this._missing=t},Mt.formatter.get=function(){return this._formatter},Mt.formatter.set=function(t){this._formatter=t},Mt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Mt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Mt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Mt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Mt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Mt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Mt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Mt.warnHtmlInMessage.set=function(t){var e=this,i=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,i!==t&&("warn"===t||"error"===t)){var n=this._getMessages();Object.keys(n).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,n[t])}))}},Mt.postTranslation.get=function(){return this._postTranslation},Mt.postTranslation.set=function(t){this._postTranslation=t},Mt.sync.get=function(){return this._sync},Mt.sync.set=function(t){this._sync=t},kt.prototype._getMessages=function(){return this._vm.messages},kt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},kt.prototype._getNumberFormats=function(){return this._vm.numberFormats},kt.prototype._warnDefault=function(t,e,i,n,r,o){if(!p(i))return i;if(this._missing){var a=this._missing.apply(null,[t,e,n,r]);if(u(a))return a}else 0;if(this._formatFallbackMessages){var s=g.apply(void 0,r);return this._render(e,o,s.params,e)}return e},kt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:p(t))&&!p(this._root)&&this._fallbackRoot},kt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},kt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},kt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},kt.prototype._interpolate=function(t,e,i,n,r,o,s){if(!e)return null;var l,c=this._path.getPathValue(e,i);if(a(c)||d(c))return c;if(p(c)){if(!d(e))return null;if(l=e[i],!u(l)&&!f(l))return null}else{if(!u(c)&&!f(c))return null;l=c}return u(l)&&(l.indexOf("@:")>=0||l.indexOf("@.")>=0)&&(l=this._link(t,e,l,n,"raw",o,s)),this._render(l,r,o,i)},kt.prototype._link=function(t,e,i,n,r,o,s){var l=i,u=l.match(_t);for(var c in u)if(u.hasOwnProperty(c)){var h=u[c],d=h.match(xt),p=d[0],f=d[1],g=h.replace(p,"").replace(wt,"");if(b(s,g))return l;s.push(g);var m=this._interpolate(t,e,g,n,"raw"===r?"string":r,"raw"===r?void 0:o,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,g,n,r,o)}m=this._warnDefault(t,g,m,n,a(o)?o:[o],r),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):St.hasOwnProperty(f)&&(m=St[f](m)),s.pop(),l=m?l.replace(h,m):l}return l},kt.prototype._createMessageContext=function(t,e,i,n){var r=this,o=a(t)?t:[],l=s(t)?t:{},u=function(t){return o[t]},c=function(t){return l[t]},h=this._getMessages(),d=this.locale;return{list:u,named:c,values:t,formatter:e,path:i,messages:h,locale:d,linked:function(t){return r._interpolate(d,h[d]||{},t,null,n,void 0,[t])}}},kt.prototype._render=function(t,e,i,n){if(f(t))return t(this._createMessageContext(i,this._formatter||Ct,n,e));var r=this._formatter.interpolate(t,i,n);return r||(r=Ct.interpolate(t,i,n)),"string"!==e||u(r)?r:r.join("")},kt.prototype._appendItemToChain=function(t,e,i){var n=!1;return b(t,e)||(n=!0,e&&(n="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),i&&i[e]&&(n=i[e]))),n},kt.prototype._appendLocaleToChain=function(t,e,i){var n,r=e.split("-");do{var o=r.join("-");n=this._appendItemToChain(t,o,i),r.splice(-1,1)}while(r.length&&!0===n);return n},kt.prototype._appendBlockToChain=function(t,e,i){for(var n=!0,r=0;r<e.length&&l(n);r++){var o=e[r];u(o)&&(n=this._appendLocaleToChain(t,o,i))}return n},kt.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var i=this._localeChainCache[t];if(!i){e||(e=this.fallbackLocale),i=[];var n,r=[t];while(a(r))r=this._appendBlockToChain(i,r,e);n=a(e)?e:s(e)?e["default"]?e["default"]:null:e,r=u(n)?[n]:n,r&&this._appendBlockToChain(i,r,null),this._localeChainCache[t]=i}return i},kt.prototype._translate=function(t,e,i,n,r,o,a){for(var s,l=this._getLocaleChain(e,i),u=0;u<l.length;u++){var c=l[u];if(s=this._interpolate(c,t[c],n,r,o,a,[n]),!p(s))return s}return null},kt.prototype._t=function(t,e,i,n){var r,o=[],a=arguments.length-4;while(a-- >0)o[a]=arguments[a+4];if(!t)return"";var s=g.apply(void 0,o);this._escapeParameterHtml&&(s.params=k(s.params));var l=s.locale||e,u=this._translate(i,l,this.fallbackLocale,t,n,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(o))}return u=this._warnDefault(l,t,u,n,o,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},kt.prototype.t=function(t){var e,i=[],n=arguments.length-1;while(n-- >0)i[n]=arguments[n+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(i))},kt.prototype._i=function(t,e,i,n,r){var o=this._translate(i,e,this.fallbackLocale,t,n,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,o,n,[r],"raw")},kt.prototype.i=function(t,e,i){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,i)):""},kt.prototype._tc=function(t,e,i,n,r){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},u=g.apply(void 0,a);return u.params=Object.assign(l,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((o=this)._t.apply(o,[t,e,i,n].concat(a)),r)},kt.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var i=t.split("|");return e=this.getChoiceIndex(e,i.length),i[e]?i[e].trim():t},kt.prototype.tc=function(t,e){var i,n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];return(i=this)._tc.apply(i,[t,this.locale,this._getMessages(),null,e].concat(n))},kt.prototype._te=function(t,e,i){var n=[],r=arguments.length-3;while(r-- >0)n[r]=arguments[r+3];var o=g.apply(void 0,n).locale||e;return this._exist(i[o],t)},kt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},kt.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},kt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},kt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,w("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},kt.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},kt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},kt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,w(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},kt.prototype._clearDateTimeFormat=function(t,e){for(var i in e){var n=t+"__"+i;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},kt.prototype._localizeDateTime=function(t,e,i,n,r){for(var o=e,a=n[o],s=this._getLocaleChain(e,i),l=0;l<s.length;l++){var u=s[l];if(a=n[u],o=u,!p(a)&&!p(a[r]))break}if(p(a)||p(a[r]))return null;var c=a[r],h=o+"__"+r,d=this._dateTimeFormatters[h];return d||(d=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(o,c)),d.format(t)},kt.prototype._d=function(t,e,i){if(!i)return new Intl.DateTimeFormat(e).format(t);var n=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),i);if(this._isFallbackRoot(n)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,i,e)}return n||""},kt.prototype.d=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var n=this.locale,r=null;return 1===e.length?u(e[0])?r=e[0]:s(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(u(e[0])&&(r=e[0]),u(e[1])&&(n=e[1])),this._d(t,n,r)},kt.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},kt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},kt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,w(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},kt.prototype._clearNumberFormat=function(t,e){for(var i in e){var n=t+"__"+i;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},kt.prototype._getNumberFormatter=function(t,e,i,n,r,o){for(var a=e,s=n[a],l=this._getLocaleChain(e,i),u=0;u<l.length;u++){var c=l[u];if(s=n[c],a=c,!p(s)&&!p(s[r]))break}if(p(s)||p(s[r]))return null;var h,d=s[r];if(o)h=new Intl.NumberFormat(a,Object.assign({},d,o));else{var f=a+"__"+r;h=this._numberFormatters[f],h||(h=this._numberFormatters[f]=new Intl.NumberFormat(a,d))}return h},kt.prototype._n=function(t,e,i,n){if(!kt.availabilities.numberFormat)return"";if(!i){var r=n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e);return r.format(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),i,n),a=o&&o.format(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:i,locale:e},n))}return a||""},kt.prototype.n=function(t){var e=[],i=arguments.length-1;while(i-- >0)e[i]=arguments[i+1];var r=this.locale,o=null,a=null;return 1===e.length?u(e[0])?o=e[0]:s(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,i){var r;return b(n,i)?Object.assign({},t,(r={},r[i]=e[0][i],r)):t}),null)):2===e.length&&(u(e[0])&&(o=e[0]),u(e[1])&&(r=e[1])),this._n(t,r,o,a)},kt.prototype._ntp=function(t,e,i,n){if(!kt.availabilities.numberFormat)return[];if(!i){var r=n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e);return r.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),i,n),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,i,n)}return a||[]},Object.defineProperties(kt.prototype,Mt),Object.defineProperty(kt,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),kt.install=G,kt.version="8.27.2",e["a"]=kt},a981:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},aa63:function(t,e,i){const n=i("7bf0"),r=i("7a43"),o=i("7ba0"),a=i("577e4"),s=i("d6c0"),l=i("924f"),u=i("7903"),c=i("34fc"),h=i("8d23"),d=i("c8aa"),p=i("9582"),f=i("bbf0"),g=i("befa");function m(t,e){const i=t.size,n=l.getPositions(e);for(let r=0;r<n.length;r++){const e=n[r][0],o=n[r][1];for(let n=-1;n<=7;n++)if(!(e+n<=-1||i<=e+n))for(let r=-1;r<=7;r++)o+r<=-1||i<=o+r||(n>=0&&n<=6&&(0===r||6===r)||r>=0&&r<=6&&(0===n||6===n)||n>=2&&n<=4&&r>=2&&r<=4?t.set(e+n,o+r,!0,!0):t.set(e+n,o+r,!1,!0))}}function v(t){const e=t.size;for(let i=8;i<e-8;i++){const e=i%2===0;t.set(i,6,e,!0),t.set(6,i,e,!0)}}function y(t,e){const i=s.getPositions(e);for(let n=0;n<i.length;n++){const e=i[n][0],r=i[n][1];for(let i=-2;i<=2;i++)for(let n=-2;n<=2;n++)-2===i||2===i||-2===n||2===n||0===i&&0===n?t.set(e+i,r+n,!0,!0):t.set(e+i,r+n,!1,!0)}}function b(t,e){const i=t.size,n=d.getEncodedBits(e);let r,o,a;for(let s=0;s<18;s++)r=Math.floor(s/3),o=s%3+i-8-3,a=1===(n>>s&1),t.set(r,o,a,!0),t.set(o,r,a,!0)}function _(t,e,i){const n=t.size,r=p.getEncodedBits(e,i);let o,a;for(o=0;o<15;o++)a=1===(r>>o&1),o<6?t.set(o,8,a,!0):o<8?t.set(o+1,8,a,!0):t.set(n-15+o,8,a,!0),o<8?t.set(8,n-o-1,a,!0):o<9?t.set(8,15-o-1+1,a,!0):t.set(8,15-o-1,a,!0);t.set(n-8,8,1,!0)}function x(t,e){const i=t.size;let n=-1,r=i-1,o=7,a=0;for(let s=i-1;s>0;s-=2){6===s&&s--;while(1){for(let i=0;i<2;i++)if(!t.isReserved(r,s-i)){let n=!1;a<e.length&&(n=1===(e[a]>>>o&1)),t.set(r,s-i,n),o--,-1===o&&(a++,o=7)}if(r+=n,r<0||i<=r){r-=n,n=-n;break}}}}function w(t,e,i){const r=new o;i.forEach((function(e){r.put(e.mode.bit,4),r.put(e.getLength(),f.getCharCountIndicator(e.mode,t)),e.write(r)}));const a=n.getSymbolTotalCodewords(t),s=c.getTotalCodewordsCount(t,e),l=8*(a-s);r.getLengthInBits()+4<=l&&r.put(0,4);while(r.getLengthInBits()%8!==0)r.putBit(0);const u=(l-r.getLengthInBits())/8;for(let n=0;n<u;n++)r.put(n%2?17:236,8);return S(r,t,e)}function S(t,e,i){const r=n.getSymbolTotalCodewords(e),o=c.getTotalCodewordsCount(e,i),a=r-o,s=c.getBlocksCount(e,i),l=r%s,u=s-l,d=Math.floor(r/s),p=Math.floor(a/s),f=p+1,g=d-p,m=new h(g);let v=0;const y=new Array(s),b=new Array(s);let _=0;const x=new Uint8Array(t.buffer);for(let n=0;n<s;n++){const t=n<u?p:f;y[n]=x.slice(v,v+t),b[n]=m.encode(y[n]),v+=t,_=Math.max(_,t)}const w=new Uint8Array(r);let S,C,k=0;for(S=0;S<_;S++)for(C=0;C<s;C++)S<y[C].length&&(w[k++]=y[C][S]);for(S=0;S<g;S++)for(C=0;C<s;C++)w[k++]=b[C][S];return w}function C(t,e,i,r){let o;if(Array.isArray(t))o=g.fromArray(t);else{if("string"!==typeof t)throw new Error("Invalid data");{let n=e;if(!n){const e=g.rawSplit(t);n=d.getBestVersionForData(e,i)}o=g.fromString(t,n||40)}}const s=d.getBestVersionForData(o,i);if(!s)throw new Error("The amount of data is too big to be stored in a QR Code");if(e){if(e<s)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+s+".\n")}else e=s;const l=w(e,i,o),c=n.getSymbolSize(e),h=new a(c);return m(h,e),v(h),y(h,e),_(h,i,0),e>=7&&b(h,e),x(h,l),isNaN(r)&&(r=u.getBestMask(h,_.bind(null,h,i))),u.applyMask(r,h),_(h,i,r),{modules:h,version:e,errorCorrectionLevel:i,maskPattern:r,segments:o}}e.create=function(t,e){if("undefined"===typeof t||""===t)throw new Error("No input text");let i,o,a=r.M;return"undefined"!==typeof e&&(a=r.from(e.errorCorrectionLevel,r.M),i=d.from(e.version),o=u.from(e.maskPattern),e.toSJISFunc&&n.setToSJISFunction(e.toSJISFunc)),C(t,i,a,o)}},aab3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("5261"),r=s(n),o=i("ca32"),a=s(o);function s(t){return t&&t.__esModule?t:{default:t}}function l(t){var e={};for(var i in a.default)a.default.hasOwnProperty(i)&&(t.hasAttribute("jsbarcode-"+i.toLowerCase())&&(e[i]=t.getAttribute("jsbarcode-"+i.toLowerCase())),t.hasAttribute("data-"+i.toLowerCase())&&(e[i]=t.getAttribute("data-"+i.toLowerCase())));return e["value"]=t.getAttribute("jsbarcode-value")||t.getAttribute("data-value"),e=(0,r.default)(e),e}e.default=l},ab36:function(t,e,i){var n=i("861d"),r=i("9112");t.exports=function(t,e){n(e)&&"cause"in e&&r(t,"cause",e.cause)}},ab41:function(t,e,i){"use strict";i.d(e,"d",(function(){return s})),i.d(e,"c",(function(){return l})),i.d(e,"a",(function(){return c})),i.d(e,"b",(function(){return p}));i("caad");var n=i("0831"),r=i("0967");let o,a;function s(t){const e=t.split(" ");return 2===e.length&&(!0!==["top","center","bottom"].includes(e[0])?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):!0===["left","middle","right","start","end"].includes(e[1])||(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1))}function l(t){return!t||2===t.length&&("number"===typeof t[0]&&"number"===typeof t[1])}const u={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};function c(t,e){const i=t.split(" ");return{vertical:i[0],horizontal:u[`${i[1]}#${!0===e?"rtl":"ltr"}`]}}function h(t,e){let{top:i,left:n,right:r,bottom:o,width:a,height:s}=t.getBoundingClientRect();return void 0!==e&&(i-=e[1],n-=e[0],o+=e[1],r+=e[0],a+=e[0],s+=e[1]),{top:i,left:n,right:r,bottom:o,width:a,height:s,middle:n+(r-n)/2,center:i+(o-i)/2}}function d(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function p(t){if(!0===r["a"].is.ios&&void 0!==window.visualViewport){const t=document.body.style,{offsetLeft:e,offsetTop:i}=window.visualViewport;e!==o&&(t.setProperty("--q-pe-left",e+"px"),o=e),i!==a&&(t.setProperty("--q-pe-top",i+"px"),a=i)}let e;const{scrollLeft:i,scrollTop:n}=t.el;if(void 0===t.absoluteOffset)e=h(t.anchorEl,!0===t.cover?[0,0]:t.offset);else{const{top:i,left:n}=t.anchorEl.getBoundingClientRect(),r=i+t.absoluteOffset.top,o=n+t.absoluteOffset.left;e={top:r,left:o,width:1,height:1,right:o+1,center:r,middle:o,bottom:r+1}}let s={maxHeight:t.maxHeight,maxWidth:t.maxWidth,visibility:"visible"};!0!==t.fit&&!0!==t.cover||(s.minWidth=e.width+"px",!0===t.cover&&(s.minHeight=e.height+"px")),Object.assign(t.el.style,s);const l=d(t.el),u={top:e[t.anchorOrigin.vertical]-l[t.selfOrigin.vertical],left:e[t.anchorOrigin.horizontal]-l[t.selfOrigin.horizontal]};f(u,e,l,t.anchorOrigin,t.selfOrigin),s={top:u.top+"px",left:u.left+"px"},void 0!==u.maxHeight&&(s.maxHeight=u.maxHeight+"px",e.height>u.maxHeight&&(s.minHeight=s.maxHeight)),void 0!==u.maxWidth&&(s.maxWidth=u.maxWidth+"px",e.width>u.maxWidth&&(s.minWidth=s.maxWidth)),Object.assign(t.el.style,s),t.el.scrollTop!==n&&(t.el.scrollTop=n),t.el.scrollLeft!==i&&(t.el.scrollLeft=i)}function f(t,e,i,r,o){const a=i.bottom,s=i.right,l=Object(n["e"])(),u=window.innerHeight-l,c=document.body.clientWidth;if(t.top<0||t.top+a>u)if("center"===o.vertical)t.top=e[r.vertical]>u/2?Math.max(0,u-a):0,t.maxHeight=Math.min(a,u);else if(e[r.vertical]>u/2){const i=Math.min(u,"center"===r.vertical?e.center:r.vertical===o.vertical?e.bottom:e.top);t.maxHeight=Math.min(a,i),t.top=Math.max(0,i-a)}else t.top=Math.max(0,"center"===r.vertical?e.center:r.vertical===o.vertical?e.top:e.bottom),t.maxHeight=Math.min(a,u-t.top);if(t.left<0||t.left+s>c)if(t.maxWidth=Math.min(s,c),"middle"===o.horizontal)t.left=e[r.horizontal]>c/2?Math.max(0,c-s):0;else if(e[r.horizontal]>c/2){const i=Math.min(c,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.right:e.left);t.maxWidth=Math.min(s,i),t.left=Math.max(0,i-t.maxWidth)}else t.left=Math.max(0,"middle"===r.horizontal?e.middle:r.horizontal===o.horizontal?e.left:e.right),t.maxWidth=Math.min(s,c-t.left)}["left","middle","right"].forEach((t=>{u[`${t}#ltr`]=t,u[`${t}#rtl`]=t}))},ab5b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTotalWidthOfEncodings=e.calculateEncodingAttributes=e.getBarcodePadding=e.getEncodingHeight=e.getMaximumHeightOfEncodings=void 0;var n=i("fd7c"),r=o(n);function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return e.height+(e.displayValue&&t.text.length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function s(t,e,i){if(i.displayValue&&e<t){if("center"==i.textAlign)return Math.floor((t-e)/2);if("left"==i.textAlign)return 0;if("right"==i.textAlign)return Math.floor(t-e)}return 0}function l(t,e,i){for(var n=0;n<t.length;n++){var o,l=t[n],u=(0,r.default)(e,l.options);o=u.displayValue?h(l.text,u,i):0;var c=l.data.length*u.width;l.width=Math.ceil(Math.max(o,c)),l.height=a(l,u),l.barcodePadding=s(o,c,u)}}function u(t){for(var e=0,i=0;i<t.length;i++)e+=t[i].width;return e}function c(t){for(var e=0,i=0;i<t.length;i++)t[i].height>e&&(e=t[i].height);return e}function h(t,e,i){var n;if(i)n=i;else{if("undefined"===typeof document)return 0;n=document.createElement("canvas").getContext("2d")}n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var r=n.measureText(t).width;return r}e.getMaximumHeightOfEncodings=c,e.getEncodingHeight=a,e.getBarcodePadding=s,e.calculateEncodingAttributes=l,e.getTotalWidthOfEncodings=u},ac1f:function(t,e,i){"use strict";var n=i("23e7"),r=i("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(t,e,i){"use strict";var n=i("825a");t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},adad:function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("ae22");e["a"]=n["a"].extend({name:"QTabPanels",mixins:[r["a"],o["b"]],computed:{classes(){return"q-tab-panels q-panel-parent"+(!0===this.isDark?" q-tab-panels--dark q-dark":"")}},methods:{__renderPanels(t){return t("div",{class:this.classes,directives:this.panelDirectives,on:{...this.qListeners}},this.__getPanelContent(t))}}})},addb:function(t,e,i){var n=i("4dae"),r=Math.floor,o=function(t,e){var i=t.length,l=r(i/2);return i<8?a(t,e):s(t,o(n(t,0,l),e),o(n(t,l),e),e)},a=function(t,e){var i,n,r=t.length,o=1;while(o<r){n=o,i=t[o];while(n&&e(t[n-1],i)>0)t[n]=t[--n];n!==o++&&(t[n]=i)}return t},s=function(t,e,i,n){var r=e.length,o=i.length,a=0,s=0;while(a<r||s<o)t[a+s]=a<r&&s<o?n(e[a],i[s])<=0?e[a++]:i[s++]:a<r?e[a++]:i[s++];return t};t.exports=o},ae22:function(t,e,i){"use strict";i.d(e,"b",(function(){return m})),i.d(e,"a",(function(){return v}));var n=i("2b0e"),r=i("0967"),o=i("3627"),a=i("d882"),s=i("2248");function l(t){const e=[.06,6,50];return"string"===typeof t&&t.length&&t.split(":").forEach(((t,i)=>{const n=parseFloat(t);n&&(e[i]=n)})),e}function u(t){const e=t.__qtouchswipe;void 0!==e&&(Object(a["b"])(e,"main"),Object(a["b"])(e,"temp"),!0===r["a"].is.firefox&&Object(a["j"])(t,!1),void 0!==e.styleCleanup&&e.styleCleanup(),delete t.__qtouchswipe)}var c={name:"touch-swipe",bind(t,{value:e,arg:i,modifiers:n}){if(void 0!==t.__qtouchswipe&&(u(t),t.__qtouchswipe_destroyed=!0),!0!==n.mouse&&!0!==r["a"].has.touch)return;const c=!0===n.mouseCapture?"Capture":"",h={handler:e,sensitivity:l(i),modifiers:n,direction:Object(o["a"])(n),noop:a["g"],mouseStart(t){Object(o["b"])(t,h)&&Object(a["e"])(t)&&(Object(a["a"])(h,"temp",[[document,"mousemove","move",`notPassive${c}`],[document,"mouseup","end","notPassiveCapture"]]),h.start(t,!0))},touchStart(t){if(Object(o["b"])(t,h)){const e=t.target;Object(a["a"])(h,"temp",[[e,"touchmove","move","notPassiveCapture"],[e,"touchcancel","end","notPassiveCapture"],[e,"touchend","end","notPassiveCapture"]]),h.start(t)}},start(e,i){!0===r["a"].is.firefox&&Object(a["j"])(t,!0);const n=Object(a["h"])(e);h.event={x:n.left,y:n.top,time:Date.now(),mouse:!0===i,dir:!1}},move(t){if(void 0===h.event)return;if(!1!==h.event.dir)return void Object(a["l"])(t);const e=Date.now()-h.event.time;if(0===e)return;const i=Object(a["h"])(t),n=i.left-h.event.x,r=Math.abs(n),o=i.top-h.event.y,l=Math.abs(o);if(!0!==h.event.mouse){if(r<h.sensitivity[1]&&l<h.sensitivity[1])return void h.end(t)}else if(r<h.sensitivity[2]&&l<h.sensitivity[2])return;const u=r/e,c=l/e;!0===h.direction.vertical&&r<l&&r<100&&c>h.sensitivity[0]&&(h.event.dir=o<0?"up":"down"),!0===h.direction.horizontal&&r>l&&l<100&&u>h.sensitivity[0]&&(h.event.dir=n<0?"left":"right"),!0===h.direction.up&&r<l&&o<0&&r<100&&c>h.sensitivity[0]&&(h.event.dir="up"),!0===h.direction.down&&r<l&&o>0&&r<100&&c>h.sensitivity[0]&&(h.event.dir="down"),!0===h.direction.left&&r>l&&n<0&&l<100&&u>h.sensitivity[0]&&(h.event.dir="left"),!0===h.direction.right&&r>l&&n>0&&l<100&&u>h.sensitivity[0]&&(h.event.dir="right"),!1!==h.event.dir?(Object(a["l"])(t),!0===h.event.mouse&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Object(s["a"])(),h.styleCleanup=t=>{h.styleCleanup=void 0,document.body.classList.remove("non-selectable");const e=()=>{document.body.classList.remove("no-pointer-events--children")};!0===t?setTimeout(e,50):e()}),h.handler({evt:t,touch:!0!==h.event.mouse,mouse:h.event.mouse,direction:h.event.dir,duration:e,distance:{x:r,y:l}})):h.end(t)},end(e){void 0!==h.event&&(Object(a["b"])(h,"temp"),!0===r["a"].is.firefox&&Object(a["j"])(t,!1),void 0!==h.styleCleanup&&h.styleCleanup(!0),void 0!==e&&!1!==h.event.dir&&Object(a["l"])(e),h.event=void 0)}};t.__qtouchswipe=h,!0===n.mouse&&Object(a["a"])(h,"main",[[t,"mousedown","mouseStart",`passive${c}`]]),!0===r["a"].has.touch&&Object(a["a"])(h,"main",[[t,"touchstart","touchStart","passive"+(!0===n.capture?"Capture":"")],[t,"touchmove","noop","notPassiveCapture"]])},update(t,{oldValue:e,value:i}){const n=t.__qtouchswipe;void 0!==n&&e!==i&&("function"!==typeof i&&n.end(),n.handler=i)},unbind(t){void 0===t.__qtouchswipe_destroyed?u(t):delete t.__qtouchswipe_destroyed}},h=i("87e8"),d=i("dde5"),p=i("0cd3");function f(t){return t("div",{staticClass:"q-panel scroll",attrs:{role:"tabpanel"},on:Object(p["b"])(this,"stop",{input:a["k"]})},Object(d["c"])(this,"default"))}const g=n["a"].extend({render:f}),m={mixins:[h["a"]],directives:{TouchSwipe:c},props:{value:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},data(){return{panelIndex:null,panelTransition:null}},computed:{panelDirectives(){if(!0===this.swipeable)return[{name:"touch-swipe",value:this.__swipe,modifiers:{horizontal:!0!==this.vertical,vertical:this.vertical,mouse:!0}}]},contentKey(){return"string"===typeof this.value||"number"===typeof this.value?this.value:String(this.value)},transitionPrevComputed(){return this.transitionPrev||"slide-"+(!0===this.vertical?"down":"right")},transitionNextComputed(){return this.transitionNext||"slide-"+(!0===this.vertical?"up":"left")},keepAliveProps(){return{include:this.keepAliveInclude,exclude:this.keepAliveExclude,max:this.keepAliveMax}},needsUniqueWrapper(){return void 0!==this.keepAliveInclude||void 0!==this.keepAliveExclude}},watch:{value(t,e){const i=!0===this.__isValidPanelName(t)?this.__getPanelIndex(t):-1;!0!==this.__forcedPanelTransition&&this.__updatePanelTransition(-1===i?0:i<this.__getPanelIndex(e)?-1:1),this.panelIndex!==i&&(this.panelIndex=i,this.$emit("before-transition",t,e),this.$nextTick((()=>{this.$emit("transition",t,e)})))}},methods:{next(){this.__go(1)},previous(){this.__go(-1)},goTo(t){this.$emit("input",t)},__isValidPanelName(t){return void 0!==t&&null!==t&&""!==t},__getPanelIndex(t){return this.panels.findIndex((e=>{const i=e.componentOptions.propsData;return i.name===t&&""!==i.disable&&!0!==i.disable}))},__getEnabledPanels(){return this.panels.filter((t=>{const e=t.componentOptions.propsData;return""!==e.disable&&!0!==e.disable}))},__updatePanelTransition(t){const e=0!==t&&!0===this.animated&&-1!==this.panelIndex?"q-transition--"+(-1===t?this.transitionPrevComputed:this.transitionNextComputed):null;this.panelTransition!==e&&(this.panelTransition=e)},__go(t,e=this.panelIndex){let i=e+t;const n=this.panels;while(i>-1&&i<n.length){const e=n[i].componentOptions;if(void 0!==e&&""!==e.propsData.disable&&!0!==e.propsData.disable)return this.__updatePanelTransition(t),this.__forcedPanelTransition=!0,this.$emit("input",n[i].componentOptions.propsData.name),void setTimeout((()=>{this.__forcedPanelTransition=!1}));i+=t}!0===this.infinite&&n.length>0&&-1!==e&&e!==n.length&&this.__go(t,-1===t?n.length:-1)},__swipe(t){const e=!0===this.vertical?"up":"left";this.__go((!0===this.$q.lang.rtl?-1:1)*(t.direction===e?1:-1))},__updatePanelIndex(){const t=this.__getPanelIndex(this.value);return this.panelIndex!==t&&(this.panelIndex=t),!0},__getPanelContent(t){if(0===this.panels.length)return;const e=this.__isValidPanelName(this.value)&&this.__updatePanelIndex()&&this.panels[this.panelIndex],i=!0===this.keepAlive?[t("keep-alive",{props:this.keepAliveProps},[t(!0===this.needsUniqueWrapper?Object(p["a"])(this,this.contentKey,(()=>n["a"].extend({name:this.contentKey,render:f}))):g,{key:this.contentKey},[e])])]:[t("div",{staticClass:"q-panel scroll",key:this.contentKey,attrs:{role:"tabpanel"},on:Object(p["b"])(this,"stop",{input:a["k"]})},[e])];return!0===this.animated?[t("transition",{props:{name:this.panelTransition}},i)]:i}},render(t){return this.panels=Object(d["c"])(this,"default",[]).filter((t=>void 0!==t&&void 0!==t.componentOptions&&void 0!==t.componentOptions.propsData&&this.__isValidPanelName(t.componentOptions.propsData.name))),this.__renderPanels(t)}},v={mixins:[h["a"]],props:{name:{required:!0},disable:Boolean}}},ae93:function(t,e,i){"use strict";var n,r,o,a=i("d039"),s=i("1626"),l=i("7c73"),u=i("e163"),c=i("cb2d"),h=i("b622"),d=i("c430"),p=h("iterator"),f=!1;[].keys&&(o=[].keys(),"next"in o?(r=u(u(o)),r!==Object.prototype&&(n=r)):f=!0);var g=void 0==n||a((function(){var t={};return n[p].call(t)!==t}));g?n={}:d&&(n=l(n)),s(n[p])||c(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},aeb0:function(t,e,i){var n=i("9bf2").f;t.exports=function(t,e,i){i in t||n(t,i,{configurable:!0,get:function(){return e[i]},set:function(t){e[i]=t}})}},aed9:function(t,e,i){var n=i("83ab"),r=i("d039");t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b05d:function(t,e,i){"use strict";var n=i("81e7"),r=i("c0a8"),o=i("ec5d"),a=i("9071");i("caad");const s={mounted(){n["c"].takeover.forEach((t=>{t(this.$q)}))}};var l=function(t){if(t.ssr){const e={...n["a"],ssrContext:t.ssr};Object.assign(t.ssr,{Q_HEAD_TAGS:"",Q_BODY_ATTRS:"",Q_BODY_TAGS:""}),t.app.$q=t.ssr.$q=e,n["c"].server.forEach((i=>{i(e,t)}))}else{const e=t.app.mixins||[];!1===e.includes(s)&&(t.app.mixins=e.concat(s))}};e["a"]={version:r["a"],install:n["b"],lang:o["a"],iconSet:a["a"],ssrUpdate:l}},b06b:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0967"),o=i("d882");function a(t){const e=Object.assign({noopener:!0},t),i=[];return Object.keys(e).forEach((t=>{!0===e[t]&&i.push(t)})),i.join(",")}function s(t,e,i){let o=window.open;if(!0===r["b"].is.cordova){if(void 0!==cordova&&void 0!==cordova.InAppBrowser&&void 0!==cordova.InAppBrowser.open)o=cordova.InAppBrowser.open;else if(void 0!==navigator&&void 0!==navigator.app)return navigator.app.loadUrl(t,{openExternal:!0})}else if(void 0!==n["a"].prototype.$q.electron)return n["a"].prototype.$q.electron.shell.openExternal(t);const s=o(t,"_blank",a(i));if(s)return r["b"].is.desktop&&s.focus(),s;e&&e()}e["a"]=(t,e,i)=>{if(!0!==r["b"].is.ios||void 0===window.SafariViewController)return s(t,e,i);window.SafariViewController.isAvailable((n=>{n?window.SafariViewController.show({url:t},o["g"],e):s(t,e,i)}))}},b1d8:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=i("aab3"),o=u(r),a=i("752b"),s=u(a),l=i("dca2");function u(t){return t&&t.__esModule?t:{default:t}}function c(t){if("string"===typeof t)return h(t);if(Array.isArray(t)){for(var e=[],i=0;i<t.length;i++)e.push(c(t[i]));return e}if("undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLImageElement)return d(t);if(t&&"svg"===t.nodeName||"undefined"!==typeof SVGElement&&t instanceof SVGElement)return{element:t,options:(0,o.default)(t),renderer:s.default.SVGRenderer};if("undefined"!==typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)return{element:t,options:(0,o.default)(t),renderer:s.default.CanvasRenderer};if(t&&t.getContext)return{element:t,renderer:s.default.CanvasRenderer};if(t&&"object"===("undefined"===typeof t?"undefined":n(t))&&!t.nodeName)return{element:t,renderer:s.default.ObjectRenderer};throw new l.InvalidElementException}function h(t){var e=document.querySelectorAll(t);if(0!==e.length){for(var i=[],n=0;n<e.length;n++)i.push(c(e[n]));return i}}function d(t){var e=document.createElement("canvas");return{element:e,options:(0,o.default)(t),renderer:s.default.CanvasRenderer,afterRender:function(){t.setAttribute("src",e.toDataURL())}}}e.default=c},b42e:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?n:i)(e)}},b50d:function(t,e,i){"use strict";var n=i("c532"),r=i("467f"),o=i("7aac"),a=i("30b5"),s=i("83b9"),l=i("c345"),u=i("3934"),c=i("2d83");t.exports=function(t){return new Promise((function(e,i){var h=t.data,d=t.headers,p=t.responseType;n.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(g+":"+m)}var v=s(t.baseURL,t.url);function y(){if(f){var n="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o=p&&"text"!==p&&"json"!==p?f.response:f.responseText,a={data:o,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,i,a),f=null}}if(f.open(t.method.toUpperCase(),a(v,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=y:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(y)},f.onabort=function(){f&&(i(c("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){i(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),i(c(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var b=(t.withCredentials||u(v))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;b&&(d[t.xsrfHeaderName]=b)}"setRequestHeader"in f&&n.forEach(d,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),p&&"json"!==p&&(f.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),i(t),f=null)})),h||(h=null),f.send(h)}))}},b622:function(t,e,i){var n=i("da84"),r=i("5692"),o=i("1a2d"),a=i("90e3"),s=i("4930"),l=i("fdbf"),u=r("wks"),c=n.Symbol,h=c&&c["for"],d=l?c:c&&c.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(c,t)?u[t]=c[t]:u[t]=l&&h?h(e):d(e)}return u[t]}},b727:function(t,e,i){var n=i("0366"),r=i("e330"),o=i("44ad"),a=i("7b0b"),s=i("07fa"),l=i("65f0"),u=r([].push),c=function(t){var e=1==t,i=2==t,r=3==t,c=4==t,h=6==t,d=7==t,p=5==t||h;return function(f,g,m,v){for(var y,b,_=a(f),x=o(_),w=n(g,m),S=s(x),C=0,k=v||l,M=e?k(f,S):i||d?k(f,0):void 0;S>C;C++)if((p||C in x)&&(y=x[C],b=w(y,C,_),t))if(e)M[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:u(M,y)}else switch(t){case 4:return!1;case 7:u(M,y)}return h?-1:r||c?c:M}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},b7fa:function(t,e,i){"use strict";e["a"]={props:{dark:{type:Boolean,default:null}},computed:{isDark(){return null===this.dark?this.$q.dark.isActive:this.dark}}}},b980:function(t,e,i){var n=i("d039"),r=i("5c6c");t.exports=!n((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},bb5d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("f08e"),r=function(t){return t.match(new RegExp("^"+n.A_CHARS+"*"))[0].length},o=function(t){return t.match(new RegExp("^"+n.B_CHARS+"*"))[0].length},a=function(t){return t.match(new RegExp("^"+n.C_CHARS+"*"))[0]};function s(t,e){var i=e?n.A_CHARS:n.B_CHARS,r=t.match(new RegExp("^("+i+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(r)return r[1]+String.fromCharCode(204)+l(t.substring(r[1].length));var o=t.match(new RegExp("^"+i+"+"))[0];return o.length===t.length?t:o+String.fromCharCode(e?205:206)+s(t.substring(o.length),!e)}function l(t){var e=a(t),i=e.length;if(i===t.length)return t;t=t.substring(i);var n=r(t)>=o(t);return e+String.fromCharCode(n?206:205)+s(t,n)}e.default=function(t){var e=void 0,i=a(t).length;if(i>=2)e=n.C_START_CHAR+l(t);else{var u=r(t)>o(t);e=(u?n.A_START_CHAR:n.B_START_CHAR)+s(t,u)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(t,e){return String.fromCharCode(203)+e}))}},bbf0:function(t,e,i){const n=i("27a3"),r=i("0425");function o(t){if("string"!==typeof t)throw new Error("Param is not a string");const i=t.toLowerCase();switch(i){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return r.testNumeric(t)?e.NUMERIC:r.testAlphanumeric(t)?e.ALPHANUMERIC:r.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,i){if(e.isValid(t))return t;try{return o(t)}catch(n){return i}}},bc3a:function(t,e,i){t.exports=i("cee4")},bd08:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QTr",mixins:[r["a"]],props:{props:Object,noHover:Boolean},computed:{classes(){return"q-tr"+(void 0===this.props||!0===this.props.header?"":" "+this.props.__trClass)+(!0===this.noHover?" q-tr--no-hover":"")}},render(t){return t("tr",{on:{...this.qListeners},class:this.classes},Object(o["c"])(this,"default"))}})},bd4c:function(t,e,i){"use strict";i.d(e,"a",(function(){return S})),i.d(e,"d",(function(){return F})),i.d(e,"c",(function(){return W}));i("5319"),i("d9e2");var n=i("5ff7"),r=i("7937"),o=i("a8f0"),a=i("ec5d");const s=864e5,l=36e5,u=6e4,c="YYYY-MM-DDTHH:mm:ss.SSSZ",h=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,d=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,p={};function f(t,e){const i="("+e.days.join("|")+")",n=t+i;if(void 0!==p[n])return p[n];const r="("+e.daysShort.join("|")+")",o="("+e.months.join("|")+")",a="("+e.monthsShort.join("|")+")",s={};let l=0;const u=t.replace(d,(t=>{switch(l++,t){case"YY":return s.YY=l,"(-?\\d{1,2})";case"YYYY":return s.YYYY=l,"(-?\\d{1,4})";case"M":return s.M=l,"(\\d{1,2})";case"MM":return s.M=l,"(\\d{2})";case"MMM":return s.MMM=l,a;case"MMMM":return s.MMMM=l,o;case"D":return s.D=l,"(\\d{1,2})";case"Do":return s.D=l++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=l,"(\\d{2})";case"H":return s.H=l,"(\\d{1,2})";case"HH":return s.H=l,"(\\d{2})";case"h":return s.h=l,"(\\d{1,2})";case"hh":return s.h=l,"(\\d{2})";case"m":return s.m=l,"(\\d{1,2})";case"mm":return s.m=l,"(\\d{2})";case"s":return s.s=l,"(\\d{1,2})";case"ss":return s.s=l,"(\\d{2})";case"S":return s.S=l,"(\\d{1})";case"SS":return s.S=l,"(\\d{2})";case"SSS":return s.S=l,"(\\d{3})";case"A":return s.A=l,"(AM|PM)";case"a":return s.a=l,"(am|pm)";case"aa":return s.aa=l,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return i;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return s.Z=l,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=l,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=l,"(-?\\d+)";case"x":return s.x=l,"(-?\\d{4,})";default:return l--,"["===t[0]&&(t=t.substring(1,t.length-1)),t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}})),c={map:s,regex:new RegExp("^"+u)};return p[n]=c,c}function g(t,e){return void 0!==t?t:void 0!==e?e.date:a["b"].date}function m(t,e=""){const i=t>0?"-":"+",n=Math.abs(t),o=Math.floor(n/60),a=n%60;return i+Object(r["e"])(o)+e+Object(r["e"])(a)}function v(t,e,i){let n=t.getFullYear(),r=t.getMonth();const o=t.getDate();return void 0!==e.year&&(n+=i*e.year,delete e.year),void 0!==e.month&&(r+=i*e.month,delete e.month),t.setDate(1),t.setMonth(2),t.setFullYear(n),t.setMonth(r),t.setDate(Math.min(o,$(t))),void 0!==e.date&&(t.setDate(t.getDate()+i*e.date),delete e.date),t}function y(t,e,i){const n=void 0!==e.year?e.year:t[`get${i}FullYear`](),r=void 0!==e.month?e.month-1:t[`get${i}Month`](),o=new Date(n,r+1,0).getDate(),a=Math.min(o,void 0!==e.date?e.date:t[`get${i}Date`]());return t[`set${i}Date`](1),t[`set${i}Month`](2),t[`set${i}FullYear`](n),t[`set${i}Month`](r),t[`set${i}Date`](a),delete e.year,delete e.month,delete e.date,t}function b(t,e,i){const n=_(e),o=new Date(t),a=void 0!==n.year||void 0!==n.month||void 0!==n.date?v(o,n,i):o;for(const s in n){const t=Object(r["b"])(s);a[`set${t}`](a[`get${t}`]()+i*n[s])}return a}function _(t){const e={...t};return void 0!==t.years&&(e.year=t.years,delete e.years),void 0!==t.months&&(e.month=t.months,delete e.months),void 0!==t.days&&(e.date=t.days,delete e.days),void 0!==t.day&&(e.date=t.day,delete e.day),void 0!==t.hour&&(e.hours=t.hour,delete e.hour),void 0!==t.minute&&(e.minutes=t.minute,delete e.minute),void 0!==t.second&&(e.seconds=t.second,delete e.second),void 0!==t.millisecond&&(e.milliseconds=t.millisecond,delete e.millisecond),e}function x(t,e,i){const n=_(e),r=!0===i?"UTC":"",o=new Date(t),a=void 0!==n.year||void 0!==n.month||void 0!==n.date?y(o,n,r):o;for(const s in n){const t=s.charAt(0).toUpperCase()+s.slice(1);a[`set${r}${t}`](n[s])}return a}function w(t,e,i){const n=S(t,e,i),r=new Date(n.year,null===n.month?null:n.month-1,null===n.day?1:n.day,n.hour,n.minute,n.second,n.millisecond),o=r.getTimezoneOffset();return null===n.timezoneOffset||n.timezoneOffset===o?r:b(r,{minutes:n.timezoneOffset-o},1)}function S(t,e,i,n,s){const l={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(void 0!==s&&Object.assign(l,s),void 0===t||null===t||""===t||"string"!==typeof t)return l;void 0===e&&(e=c);const u=g(i,a["a"].props),h=u.months,d=u.monthsShort,{regex:p,map:m}=f(e,u),v=t.match(p);if(null===v)return l;let y="";if(void 0!==m.X||void 0!==m.x){const t=parseInt(v[void 0!==m.X?m.X:m.x],10);if(!0===isNaN(t)||t<0)return l;const e=new Date(t*(void 0!==m.X?1e3:1));l.year=e.getFullYear(),l.month=e.getMonth()+1,l.day=e.getDate(),l.hour=e.getHours(),l.minute=e.getMinutes(),l.second=e.getSeconds(),l.millisecond=e.getMilliseconds()}else{if(void 0!==m.YYYY)l.year=parseInt(v[m.YYYY],10);else if(void 0!==m.YY){const t=parseInt(v[m.YY],10);l.year=t<0?t:2e3+t}if(void 0!==m.M){if(l.month=parseInt(v[m.M],10),l.month<1||l.month>12)return l}else void 0!==m.MMM?l.month=d.indexOf(v[m.MMM])+1:void 0!==m.MMMM&&(l.month=h.indexOf(v[m.MMMM])+1);if(void 0!==m.D){if(l.day=parseInt(v[m.D],10),null===l.year||null===l.month||l.day<1)return l;const t="persian"!==n?new Date(l.year,l.month,0).getDate():Object(o["a"])(l.year,l.month);if(l.day>t)return l}void 0!==m.H?l.hour=parseInt(v[m.H],10)%24:void 0!==m.h&&(l.hour=parseInt(v[m.h],10)%12,(m.A&&"PM"===v[m.A]||m.a&&"pm"===v[m.a]||m.aa&&"p.m."===v[m.aa])&&(l.hour+=12),l.hour=l.hour%24),void 0!==m.m&&(l.minute=parseInt(v[m.m],10)%60),void 0!==m.s&&(l.second=parseInt(v[m.s],10)%60),void 0!==m.S&&(l.millisecond=parseInt(v[m.S],10)*10**(3-v[m.S].length)),void 0===m.Z&&void 0===m.ZZ||(y=void 0!==m.Z?v[m.Z].replace(":",""):v[m.ZZ],l.timezoneOffset=("+"===y[0]?-1:1)*(60*y.slice(1,3)+1*y.slice(3,5)))}return l.dateHash=Object(r["e"])(l.year,6)+"/"+Object(r["e"])(l.month)+"/"+Object(r["e"])(l.day),l.timeHash=Object(r["e"])(l.hour)+":"+Object(r["e"])(l.minute)+":"+Object(r["e"])(l.second)+y,l}function C(t){return"number"===typeof t||!1===isNaN(Date.parse(t))}function k(t,e){return x(new Date,t,e)}function M(t){const e=new Date(t).getDay();return 0===e?7:e}function O(t){const e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);const i=new Date(e.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);const n=e.getTimezoneOffset()-i.getTimezoneOffset();e.setHours(e.getHours()-n);const r=(e-i)/(7*s);return 1+Math.floor(r)}function T(t){return 1e4*t.getFullYear()+100*t.getMonth()+t.getDate()}function A(t,e){const i=new Date(t);return!0===e?T(i):i.getTime()}function I(t,e,i,n={}){const r=A(e,n.onlyDate),o=A(i,n.onlyDate),a=A(t,n.onlyDate);return(a>r||!0===n.inclusiveFrom&&a===r)&&(a<o||!0===n.inclusiveTo&&a===o)}function P(t,e){return b(t,e,1)}function E(t,e){return b(t,e,-1)}function D(t,e,i){const n=new Date(t),r="set"+(!0===i?"UTC":"");switch(e){case"year":case"years":n[`${r}Month`](0);case"month":case"months":n[`${r}Date`](1);case"day":case"days":case"date":n[`${r}Hours`](0);case"hour":case"hours":n[`${r}Minutes`](0);case"minute":case"minutes":n[`${r}Seconds`](0);case"second":case"seconds":n[`${r}Milliseconds`](0)}return n}function L(t,e,i){const n=new Date(t),r="set"+(!0===i?"UTC":"");switch(e){case"year":case"years":n[`${r}Month`](11);case"month":case"months":n[`${r}Date`]($(n));case"day":case"days":case"date":n[`${r}Hours`](23);case"hour":case"hours":n[`${r}Minutes`](59);case"minute":case"minutes":n[`${r}Seconds`](59);case"second":case"seconds":n[`${r}Milliseconds`](999)}return n}function j(t){let e=new Date(t);return Array.prototype.slice.call(arguments,1).forEach((t=>{e=Math.max(e,new Date(t))})),e}function R(t){let e=new Date(t);return Array.prototype.slice.call(arguments,1).forEach((t=>{e=Math.min(e,new Date(t))})),e}function B(t,e,i){return(t.getTime()-t.getTimezoneOffset()*u-(e.getTime()-e.getTimezoneOffset()*u))/i}function F(t,e,i="days"){const n=new Date(t),r=new Date(e);switch(i){case"years":case"year":return n.getFullYear()-r.getFullYear();case"months":case"month":return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth();case"days":case"day":case"date":return B(D(n,"day"),D(r,"day"),s);case"hours":case"hour":return B(D(n,"hour"),D(r,"hour"),l);case"minutes":case"minute":return B(D(n,"minute"),D(r,"minute"),u);case"seconds":case"second":return B(D(n,"second"),D(r,"second"),1e3)}}function N(t){return F(t,D(t,"year"),"days")+1}function z(t){return!0===Object(n["a"])(t)?"date":"number"===typeof t?"number":"string"}function V(t,e,i){const n=new Date(t);if(e){const t=new Date(e);if(n<t)return t}if(i){const t=new Date(i);if(n>t)return t}return n}function q(t,e,i){const n=new Date(t),r=new Date(e);if(void 0===i)return n.getTime()===r.getTime();switch(i){case"second":case"seconds":if(n.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(n.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(n.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(n.getDate()!==r.getDate())return!1;case"month":case"months":if(n.getMonth()!==r.getMonth())return!1;case"year":case"years":if(n.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${i}`)}return!0}function $(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function H(t){if(t>=11&&t<=13)return`${t}th`;switch(t%10){case 1:return`${t}st`;case 2:return`${t}nd`;case 3:return`${t}rd`}return`${t}th`}const G={YY(t,e,i){const n=this.YYYY(t,e,i)%100;return n>=0?Object(r["e"])(n):"-"+Object(r["e"])(Math.abs(n))},YYYY(t,e,i){return void 0!==i&&null!==i?i:t.getFullYear()},M(t){return t.getMonth()+1},MM(t){return Object(r["e"])(t.getMonth()+1)},MMM(t,e){return e.monthsShort[t.getMonth()]},MMMM(t,e){return e.months[t.getMonth()]},Q(t){return Math.ceil((t.getMonth()+1)/3)},Qo(t){return H(this.Q(t))},D(t){return t.getDate()},Do(t){return H(t.getDate())},DD(t){return Object(r["e"])(t.getDate())},DDD(t){return N(t)},DDDD(t){return Object(r["e"])(N(t),3)},d(t){return t.getDay()},dd(t,e){return this.dddd(t,e).slice(0,2)},ddd(t,e){return e.daysShort[t.getDay()]},dddd(t,e){return e.days[t.getDay()]},E(t){return t.getDay()||7},w(t){return O(t)},ww(t){return Object(r["e"])(O(t))},H(t){return t.getHours()},HH(t){return Object(r["e"])(t.getHours())},h(t){const e=t.getHours();return 0===e?12:e>12?e%12:e},hh(t){return Object(r["e"])(this.h(t))},m(t){return t.getMinutes()},mm(t){return Object(r["e"])(t.getMinutes())},s(t){return t.getSeconds()},ss(t){return Object(r["e"])(t.getSeconds())},S(t){return Math.floor(t.getMilliseconds()/100)},SS(t){return Object(r["e"])(Math.floor(t.getMilliseconds()/10))},SSS(t){return Object(r["e"])(t.getMilliseconds(),3)},A(t){return this.H(t)<12?"AM":"PM"},a(t){return this.H(t)<12?"am":"pm"},aa(t){return this.H(t)<12?"a.m.":"p.m."},Z(t,e,i,n){const r=void 0===n||null===n?t.getTimezoneOffset():n;return m(r,":")},ZZ(t,e,i,n){const r=void 0===n||null===n?t.getTimezoneOffset():n;return m(r)},X(t){return Math.floor(t.getTime()/1e3)},x(t){return t.getTime()}};function W(t,e,i,n,r){if(0!==t&&!t||t===1/0||t===-1/0)return;const o=new Date(t);if(isNaN(o))return;void 0===e&&(e=c);const s=g(i,a["a"].props);return e.replace(h,((t,e)=>t in G?G[t](o,s,n,r):void 0===e?t:e.split("\\]").join("]")))}function U(t){return!0===Object(n["a"])(t)?new Date(t.getTime()):t}e["b"]={isValid:C,extractDate:w,buildDate:k,getDayOfWeek:M,getWeekOfYear:O,isBetweenDates:I,addToDate:P,subtractFromDate:E,adjustDate:x,startOfDate:D,endOfDate:L,getMaxDate:j,getMinDate:R,getDateDiff:F,getDayOfYear:N,inferDateFormat:z,getDateBetween:V,isSameDate:q,daysInMonth:$,formatDate:W,clone:U}},bd8a:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(){function t(e){r(this,t),this.api=e}return n(t,[{key:"handleCatch",value:function(t){if("InvalidInputException"!==t.name)throw t;if(this.api._options.valid===this.api._defaults.valid)throw t.message;this.api._options.valid(!1),this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(t){try{var e=t.apply(void 0,arguments);return this.api._options.valid(!0),e}catch(i){return this.handleCatch(i),this.api}}}]),t}();e.default=o},bdfe:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("c243"),o=i("5726"),a=u(o),s=i("e762"),l=u(s);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=function(t){function e(t,i){c(this,e);var n=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.fontSize=!i.flat&&i.fontSize>10*i.width?10*i.width:i.fontSize,n.guardHeight=i.height+n.fontSize/2+i.textMargin,n}return d(e,t),n(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,a.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,a.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:r.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:r.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:r.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){var t=[r.SIDE_BIN,this.leftEncode(),r.MIDDLE_BIN,this.rightEncode(),r.SIDE_BIN];return{data:t.join(""),text:this.text}}}]),e}(l.default);e.default=p},be5e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("fd7c"),o=s(r),a=i("ab5b");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u="http://www.w3.org/2000/svg",c=function(){function t(e,i,n){l(this,t),this.svg=e,this.encodings=i,this.options=n,this.document=n.xmlDocument||document}return n(t,[{key:"render",value:function(){var t=this.options.marginLeft;this.prepareSVG();for(var e=0;e<this.encodings.length;e++){var i=this.encodings[e],n=(0,o.default)(this.options,i.options),r=this.createGroup(t,n.marginTop,this.svg);this.setGroupOptions(r,n),this.drawSvgBarcode(r,n,i),this.drawSVGText(r,n,i),t+=i.width}}},{key:"prepareSVG",value:function(){while(this.svg.firstChild)this.svg.removeChild(this.svg.firstChild);(0,a.calculateEncodingAttributes)(this.encodings,this.options);var t=(0,a.getTotalWidthOfEncodings)(this.encodings),e=(0,a.getMaximumHeightOfEncodings)(this.encodings),i=t+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(i,e),this.options.background&&this.drawRect(0,0,i,e,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(t,e,i){var n,r=i.data;n="top"==e.textPosition?e.fontSize+e.textMargin:0;for(var o=0,a=0,s=0;s<r.length;s++)a=s*e.width+i.barcodePadding,"1"===r[s]?o++:o>0&&(this.drawRect(a-e.width*o,n,e.width*o,e.height,t),o=0);o>0&&this.drawRect(a-e.width*(o-1),n,e.width*o,e.height,t)}},{key:"drawSVGText",value:function(t,e,i){var n,r,o=this.document.createElementNS(u,"text");e.displayValue&&(o.setAttribute("style","font:"+e.fontOptions+" "+e.fontSize+"px "+e.font),r="top"==e.textPosition?e.fontSize-e.textMargin:e.height+e.textMargin+e.fontSize,"left"==e.textAlign||i.barcodePadding>0?(n=0,o.setAttribute("text-anchor","start")):"right"==e.textAlign?(n=i.width-1,o.setAttribute("text-anchor","end")):(n=i.width/2,o.setAttribute("text-anchor","middle")),o.setAttribute("x",n),o.setAttribute("y",r),o.appendChild(this.document.createTextNode(i.text)),t.appendChild(o))}},{key:"setSvgAttributes",value:function(t,e){var i=this.svg;i.setAttribute("width",t+"px"),i.setAttribute("height",e+"px"),i.setAttribute("x","0px"),i.setAttribute("y","0px"),i.setAttribute("viewBox","0 0 "+t+" "+e),i.setAttribute("xmlns",u),i.setAttribute("version","1.1"),i.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(t,e,i){var n=this.document.createElementNS(u,"g");return n.setAttribute("transform","translate("+t+", "+e+")"),i.appendChild(n),n}},{key:"setGroupOptions",value:function(t,e){t.setAttribute("style","fill:"+e.lineColor+";")}},{key:"drawRect",value:function(t,e,i,n,r){var o=this.document.createElementNS(u,"rect");return o.setAttribute("x",t),o.setAttribute("y",e),o.setAttribute("width",i),o.setAttribute("height",n),r.appendChild(o),o}}]),t}();e.default=c},be98:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("5726"),o=u(r),a=i("e762"),s=u(a),l=i("e8b2");function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var p=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],f=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],g=function(t){function e(t,i){c(this,e);var n=h(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));if(n.isValid=!1,-1!==t.search(/^[0-9]{6}$/))n.middleDigits=t,n.upcA=m(t,"0"),n.text=i.text||""+n.upcA[0]+t+n.upcA[n.upcA.length-1],n.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return h(n);if(n.middleDigits=t.substring(1,t.length-1),n.upcA=m(n.middleDigits,t[0]),n.upcA[n.upcA.length-1]!==t[t.length-1])return h(n);n.isValid=!0}return n.displayValue=i.displayValue,i.fontSize>10*i.width?n.fontSize=10*i.width:n.fontSize=i.fontSize,n.guardHeight=i.height+n.fontSize/2+i.textMargin,n}return d(e,t),n(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),t+="010101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],i=f[parseInt(e)][parseInt(t)];return(0,o.default)(this.middleDigits,i)}}]),e}(s.default);function m(t,e){for(var i=parseInt(t[t.length-1]),n=p[i],r="",o=0,a=0;a<n.length;a++){var s=n[a];r+="X"===s?t[o++]:s}return r=""+e+r,""+r+(0,l.checksum)(r)}e.default=g},befa:function(t,e,i){const n=i("bbf0"),r=i("dd7e"),o=i("9d94"),a=i("0196"),s=i("2f3a"),l=i("0425"),u=i("7bf0"),c=i("10b0");function h(t){return unescape(encodeURIComponent(t)).length}function d(t,e,i){const n=[];let r;while(null!==(r=t.exec(i)))n.push({data:r[0],index:r.index,mode:e,length:r[0].length});return n}function p(t){const e=d(l.NUMERIC,n.NUMERIC,t),i=d(l.ALPHANUMERIC,n.ALPHANUMERIC,t);let r,o;u.isKanjiModeEnabled()?(r=d(l.BYTE,n.BYTE,t),o=d(l.KANJI,n.KANJI,t)):(r=d(l.BYTE_KANJI,n.BYTE,t),o=[]);const a=e.concat(i,r,o);return a.sort((function(t,e){return t.index-e.index})).map((function(t){return{data:t.data,mode:t.mode,length:t.length}}))}function f(t,e){switch(e){case n.NUMERIC:return r.getBitsLength(t);case n.ALPHANUMERIC:return o.getBitsLength(t);case n.KANJI:return s.getBitsLength(t);case n.BYTE:return a.getBitsLength(t)}}function g(t){return t.reduce((function(t,e){const i=t.length-1>=0?t[t.length-1]:null;return i&&i.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}function m(t){const e=[];for(let i=0;i<t.length;i++){const r=t[i];switch(r.mode){case n.NUMERIC:e.push([r,{data:r.data,mode:n.ALPHANUMERIC,length:r.length},{data:r.data,mode:n.BYTE,length:r.length}]);break;case n.ALPHANUMERIC:e.push([r,{data:r.data,mode:n.BYTE,length:r.length}]);break;case n.KANJI:e.push([r,{data:r.data,mode:n.BYTE,length:h(r.data)}]);break;case n.BYTE:e.push([{data:r.data,mode:n.BYTE,length:h(r.data)}])}}return e}function v(t,e){const i={},r={start:{}};let o=["start"];for(let a=0;a<t.length;a++){const s=t[a],l=[];for(let t=0;t<s.length;t++){const u=s[t],c=""+a+t;l.push(c),i[c]={node:u,lastCount:0},r[c]={};for(let t=0;t<o.length;t++){const a=o[t];i[a]&&i[a].node.mode===u.mode?(r[a][c]=f(i[a].lastCount+u.length,u.mode)-f(i[a].lastCount,u.mode),i[a].lastCount+=u.length):(i[a]&&(i[a].lastCount=u.length),r[a][c]=f(u.length,u.mode)+4+n.getCharCountIndicator(u.mode,e))}}o=l}for(let n=0;n<o.length;n++)r[o[n]].end=0;return{map:r,table:i}}function y(t,e){let i;const l=n.getBestModeForData(t);if(i=n.from(e,l),i!==n.BYTE&&i.bit<l.bit)throw new Error('"'+t+'" cannot be encoded with mode '+n.toString(i)+".\n Suggested mode is: "+n.toString(l));switch(i!==n.KANJI||u.isKanjiModeEnabled()||(i=n.BYTE),i){case n.NUMERIC:return new r(t);case n.ALPHANUMERIC:return new o(t);case n.KANJI:return new s(t);case n.BYTE:return new a(t)}}e.fromArray=function(t){return t.reduce((function(t,e){return"string"===typeof e?t.push(y(e,null)):e.data&&t.push(y(e.data,e.mode)),t}),[])},e.fromString=function(t,i){const n=p(t,u.isKanjiModeEnabled()),r=m(n),o=v(r,i),a=c.find_path(o.map,"start","end"),s=[];for(let e=1;e<a.length-1;e++)s.push(o.table[a[e]].node);return e.fromArray(g(s))},e.rawSplit=function(t){return e.fromArray(p(t,u.isKanjiModeEnabled()))}},bf35:function(t,e){(function(e){t.exports=e}).call(this,{})},bf69:function(t,e,i){"use strict";e["a"]={isoName:"zh-hans",nativeName:"中文(简体)",label:{clear:"清空",ok:"确定",cancel:"取消",close:"关闭",set:"设置",select:"选择",reset:"重置",remove:"移除",update:"更新",create:"创建",search:"搜索",filter:"过滤",refresh:"刷新"},date:{days:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),daysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),headerTitle:function(t){return new Intl.DateTimeFormat("zh-CN",{weekday:"short",month:"short",day:"numeric"}).format(t)},firstDayOfWeek:0,format24h:!1,pluralDay:"天"},table:{noData:"没有可用数据",noResults:"找不到匹配的数据",loading:"正在加载...",selectedRecords:function(t){return"已选择"+t+"行"},recordsPerPage:"每页的行数:",allRows:"全部",pagination:function(t,e,i){return t+"-"+e+" / "+i},columns:"列"},editor:{url:"URL",bold:"粗体",italic:"斜体",strikethrough:"删除线",underline:"下划线",unorderedList:"无序列表",orderedList:"有序列表",subscript:"下标",superscript:"上标",hyperlink:"超链接",toggleFullscreen:"全屏切换",quote:"引号",left:"左对齐",center:"居中对齐",right:"右对齐",justify:"两端对齐",print:"打印",outdent:"减少缩进",indent:"增加缩进",removeFormat:"清除样式",formatting:"格式化",fontSize:"字体大小",align:"对齐",hr:"插入水平线",undo:"撤消",redo:"重做",heading1:"标题一",heading2:"标题二",heading3:"标题三",heading4:"标题四",heading5:"标题五",heading6:"标题六",paragraph:"段落",code:"代码",size1:"非常小",size2:"比较小",size3:"正常",size4:"中等偏大",size5:"大",size6:"非常大",size7:"超级大",defaultFont:"默认字体",viewSource:"查看资料"},tree:{noNodes:"没有可用节点",noResults:"找不到匹配的节点"}}},c04e:function(t,e,i){var n=i("c65b"),r=i("861d"),o=i("d9b5"),a=i("dc4a"),s=i("485a"),l=i("b622"),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var i,l=a(t,c);if(l){if(void 0===e&&(e="default"),i=n(l,t,e),!r(i)||o(i))return i;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c0a8:function(t){t.exports=JSON.parse('{"a":"1.19.4"}')},c17b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){s(this,e),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");var n=l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),i));return n.text=n.options.text||n.text.replace(/[A-D]/g,""),n}return u(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),i=0;i<this.data.length;i++)t.push(e[this.data.charAt(i)]),i!==this.data.length-1&&t.push("0");return{text:this.text,data:t.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"101100110011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(o.default);e.codabar=c},c243:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},c294:function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("9c40"),o=i("0016"),a=i("57b0"),s=i("f376"),l=i("7ee0"),u=i("dde5"),c=i("0cd3");const h=["up","right","down","left"],d=["left","center","right"];e["a"]=n["a"].extend({name:"QFab",inheritAttrs:!1,mixins:[a["a"],s["b"],l["a"]],provide(){return{__qFab:this}},props:{icon:String,activeIcon:String,hideIcon:Boolean,hideLabel:{default:null},direction:{type:String,default:"right",validator:t=>h.includes(t)},persistent:Boolean,verticalActionsAlign:{type:String,default:"center",validator:t=>d.includes(t)}},data(){return{showing:!0===this.value}},computed:{hideOnRouteChange(){return!0!==this.persistent},classes(){return`q-fab--align-${this.verticalActionsAlign} ${this.formClass}`+(!0===this.showing?" q-fab--opened":"")},actionsClasses(){return`q-fab__actions--${this.direction}`+(!0===this.showing?" q-fab__actions--opened":"")},iconHolderClasses(){return!0===this.showing?"q-fab__icon-holder--opened":""},attrs(){return{"aria-expanded":!0===this.showing?"true":"false","aria-haspopup":"true",...this.qAttrs}},slotScope(){return{opened:this.showing}}},methods:{__onChildClick(t){this.hide(t),this.$refs.trigger&&this.$refs.trigger.$el&&this.$refs.trigger.$el.focus()},__getIcon(t,e,i){const n=this.$scopedSlots[e],r=`q-fab__${e} absolute-full`;return void 0===n?t(o["a"],{staticClass:r,props:{name:this[i]||this.$q.iconSet.fab[i]}}):t("div",{staticClass:r},n(this.slotScope))}},render(t){const e=[];return!0!==this.hideIcon&&e.push(t("div",{staticClass:"q-fab__icon-holder",class:this.iconHolderClasses},[this.__getIcon(t,"icon","icon"),this.__getIcon(t,"active-icon","activeIcon")])),""===this.label&&void 0===this.$scopedSlots.label||e[this.labelProps.action](t("div",this.labelProps.data,void 0!==this.$scopedSlots.label?this.$scopedSlots.label(this.slotScope):[this.label])),t("div",{staticClass:"q-fab z-fab row inline justify-center",class:this.classes,on:{...this.qListeners}},[t(r["a"],{ref:"trigger",class:this.formClass,props:{...this.$props,noWrap:!0,stack:this.stacked,align:void 0,icon:void 0,label:void 0,noCaps:!0,fab:!0},attrs:this.attrs,on:Object(c["b"])(this,"tog",{click:this.toggle})},Object(u["a"])(e,this,"tooltip")),t("div",{staticClass:"q-fab__actions flex no-wrap inline",class:this.actionsClasses},Object(u["c"])(this,"default"))])}})},c345:function(t,e,i){"use strict";var n=i("c532"),r=["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"];t.exports=function(t){var e,i,o,a={};return t?(n.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),i=n.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([i]):a[e]?a[e]+", "+i:i}})),a):a}},c401:function(t,e,i){"use strict";var n=i("c532"),r=i("2444");t.exports=function(t,e,i){var o=this||r;return n.forEach(i,(function(i){t=i.call(o,t,e)})),t}},c430:function(t,e){t.exports=!1},c474:function(t,e,i){"use strict";var n=i("2248"),r=i("d882"),o=i("f303"),a=i("d728");e["a"]={props:{target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean},watch:{contextMenu(t){void 0!==this.anchorEl&&(this.__unconfigureAnchorEl(),this.__configureAnchorEl(t))},target(){void 0!==this.anchorEl&&this.__unconfigureAnchorEl(),this.__pickAnchorEl()},noParentEvent(t){void 0!==this.anchorEl&&(!0===t?this.__unconfigureAnchorEl():this.__configureAnchorEl())}},methods:{__showCondition(t){return void 0!==this.anchorEl&&(void 0===t||(void 0===t.touches||t.touches.length<=1))},__contextClick(t){this.hide(t),this.$nextTick((()=>{this.show(t)})),Object(r["i"])(t)},__toggleKey(t){!0===Object(a["a"])(t,13)&&this.toggle(t)},__mobileCleanup(t){this.anchorEl.classList.remove("non-selectable"),clearTimeout(this.touchTimer),!0===this.showing&&void 0!==t&&Object(n["a"])()},__mobilePrevent:r["i"],__mobileTouch(t){if(this.__mobileCleanup(t),!0!==this.__showCondition(t))return;this.hide(t),this.anchorEl.classList.add("non-selectable");const e=t.target;Object(r["a"])(this,"anchor",[[e,"touchmove","__mobileCleanup","passive"],[e,"touchend","__mobileCleanup","passive"],[e,"touchcancel","__mobileCleanup","passive"],[this.anchorEl,"contextmenu","__mobilePrevent","notPassive"]]),this.touchTimer=setTimeout((()=>{this.show(t)}),300)},__unconfigureAnchorEl(){Object(r["b"])(this,"anchor")},__configureAnchorEl(t=this.contextMenu){if(!0===this.noParentEvent||void 0===this.anchorEl)return;let e;e=!0===t?!0===this.$q.platform.is.mobile?[[this.anchorEl,"touchstart","__mobileTouch","passive"]]:[[this.anchorEl,"click","hide","passive"],[this.anchorEl,"contextmenu","__contextClick","notPassive"]]:[[this.anchorEl,"click","toggle","passive"],[this.anchorEl,"keyup","__toggleKey","passive"]],Object(r["a"])(this,"anchor",e)},__setAnchorEl(t){this.anchorEl=t;while(this.anchorEl.classList.contains("q-anchor--skip"))this.anchorEl=this.anchorEl.parentNode;this.__configureAnchorEl()},__pickAnchorEl(){!1===this.target||""===this.target||null===this.parentEl?this.anchorEl=void 0:!0===this.target?this.__setAnchorEl(this.parentEl):(this.anchorEl=Object(o["d"])(this.target)||void 0,void 0!==this.anchorEl?this.__configureAnchorEl():console.error(`Anchor: target "${this.target}" not found`,this))},__changeScrollEvent(t,e){const i=(void 0!==e?"add":"remove")+"EventListener",n=void 0!==e?e:this.__scrollFn;t!==window&&t[i]("scroll",n,r["f"].passive),window[i]("scroll",n,r["f"].passive),this.__scrollFn=e}},created(){"function"===typeof this.__configureScrollTarget&&"function"===typeof this.__unconfigureScrollTarget&&(this.noParentEventWatcher=this.$watch("noParentEvent",(()=>{void 0!==this.__scrollTarget&&(this.__unconfigureScrollTarget(),this.__configureScrollTarget())})))},mounted(){this.parentEl=this.$el.parentNode,this.__pickAnchorEl(),!0===this.value&&void 0===this.anchorEl&&this.$emit("input",!1)},beforeDestroy(){clearTimeout(this.touchTimer),void 0!==this.noParentEventWatcher&&this.noParentEventWatcher(),void 0!==this.__anchorCleanup&&this.__anchorCleanup(),this.__unconfigureAnchorEl()}}},c532:function(t,e,i){"use strict";var n=i("1d2b"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function l(t){return"[object ArrayBuffer]"===r.call(t)}function u(t){return"undefined"!==typeof FormData&&t instanceof FormData}function c(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function h(t){return"string"===typeof t}function d(t){return"number"===typeof t}function p(t){return null!==t&&"object"===typeof t}function f(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function g(t){return"[object Date]"===r.call(t)}function m(t){return"[object File]"===r.call(t)}function v(t){return"[object Blob]"===r.call(t)}function y(t){return"[object Function]"===r.call(t)}function b(t){return p(t)&&y(t.pipe)}function _(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function w(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var i=0,n=t.length;i<n;i++)e.call(null,t[i],i,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}function C(){var t={};function e(e,i){f(t[i])&&f(e)?t[i]=C(t[i],e):f(e)?t[i]=C({},e):o(e)?t[i]=e.slice():t[i]=e}for(var i=0,n=arguments.length;i<n;i++)S(arguments[i],e);return t}function k(t,e,i){return S(e,(function(e,r){t[r]=i&&"function"===typeof e?n(e,i):e})),t}function M(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:o,isArrayBuffer:l,isBuffer:s,isFormData:u,isArrayBufferView:c,isString:h,isNumber:d,isObject:p,isPlainObject:f,isUndefined:a,isDate:g,isFile:m,isBlob:v,isFunction:y,isStream:b,isURLSearchParams:_,isStandardBrowserEnv:w,forEach:S,merge:C,extend:k,trim:x,stripBOM:M}},c65b:function(t,e,i){var n=i("40d5"),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},c6b6:function(t,e,i){var n=i("e330"),r=n({}.toString),o=n("".slice);t.exports=function(t){return o(r(t),8,-1)}},c6cd:function(t,e,i){var n=i("da84"),r=i("6374"),o="__core-js_shared__",a=n[o]||r(o,{});t.exports=a},c770:function(t,e,i){var n=i("e330"),r=Error,o=n("".replace),a=function(t){return String(r(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,s,"");return t}},c8aa:function(t,e,i){const n=i("7bf0"),r=i("34fc"),o=i("7a43"),a=i("bbf0"),s=i("27a3"),l=7973,u=n.getBCHDigit(l);function c(t,i,n){for(let r=1;r<=40;r++)if(i<=e.getCapacity(r,n,t))return r}function h(t,e){return a.getCharCountIndicator(t,e)+4}function d(t,e){let i=0;return t.forEach((function(t){const n=h(t.mode,e);i+=n+t.getBitsLength()})),i}function p(t,i){for(let n=1;n<=40;n++){const r=d(t,n);if(r<=e.getCapacity(n,i,a.MIXED))return n}}e.from=function(t,e){return s.isValid(t)?parseInt(t,10):e},e.getCapacity=function(t,e,i){if(!s.isValid(t))throw new Error("Invalid QR Code version");"undefined"===typeof i&&(i=a.BYTE);const o=n.getSymbolTotalCodewords(t),l=r.getTotalCodewordsCount(t,e),u=8*(o-l);if(i===a.MIXED)return u;const c=u-h(i,t);switch(i){case a.NUMERIC:return Math.floor(c/10*3);case a.ALPHANUMERIC:return Math.floor(c/11*2);case a.KANJI:return Math.floor(c/13);case a.BYTE:default:return Math.floor(c/8)}},e.getBestVersionForData=function(t,e){let i;const n=o.from(e,o.M);if(Array.isArray(t)){if(t.length>1)return p(t,n);if(0===t.length)return 1;i=t[0]}else i=t;return c(i.mode,i.getLength(),n)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");let e=t<<12;while(n.getBCHDigit(e)-u>=0)e^=l<<n.getBCHDigit(e)-u;return t<<12|e}},c8af:function(t,e,i){"use strict";var n=i("c532");t.exports=function(t,e){n.forEach(t,(function(i,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=i,delete t[n])}))}},c8c8:function(t,e,i){"use strict";i("caad");var n=i("99b6"),r=i("3d69"),o=i("87e8"),a=i("8716"),s=i("6642");const l={none:0,xs:4,sm:8,md:16,lg:24,xl:32},u=["button","submit","reset"],c=/[^\s]\/[^\s]/;e["a"]={mixins:[o["a"],r["a"],a["a"],n["a"],Object(s["b"])({xs:8,sm:10,md:14,lg:20,xl:24})],props:{type:{type:String,default:"button"},to:[Object,String],replace:Boolean,append:Boolean,label:[Number,String],icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],align:{default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},computed:{style(){if(!1===this.fab&&!1===this.fabMini)return this.sizeStyle},isRounded(){return!0===this.rounded||!0===this.fab||!0===this.fabMini},isActionable(){return!0!==this.disable&&!0!==this.loading},computedTabIndex(){return!0===this.isActionable?this.tabindex||0:-1},design(){return!0===this.flat?"flat":!0===this.outline?"outline":!0===this.push?"push":!0===this.unelevated?"unelevated":"standard"},attrs(){const t={tabindex:this.computedTabIndex};return!0===this.hasLink?Object.assign(t,this.linkProps.attrs):!0===u.includes(this.type)&&(t.type=this.type),!0===this.hasLink||"a"===this.type?(!0===this.disable?t["aria-disabled"]="true":void 0===t.href&&(t.role="button"),!0===c.test(this.type)&&(t.type=this.type)):!0===this.disable&&(t.disabled="",t["aria-disabled"]="true"),!0===this.loading&&void 0!==this.percentage&&(t.role="progressbar",t["aria-valuemin"]=0,t["aria-valuemax"]=100,t["aria-valuenow"]=this.percentage),t},classes(){let t;return void 0!==this.color?t=!0===this.flat||!0===this.outline?`text-${this.textColor||this.color}`:`bg-${this.color} text-${this.textColor||"white"}`:this.textColor&&(t=`text-${this.textColor}`),`q-btn--${this.design} q-btn--`+(!0===this.round?"round":"rectangle"+(!0===this.isRounded?" q-btn--rounded":""))+(void 0!==t?" "+t:"")+(!0===this.isActionable?" q-btn--actionable q-focusable q-hoverable":!0===this.disable?" disabled":"")+(!0===this.fab?" q-btn--fab":!0===this.fabMini?" q-btn--fab-mini":"")+(!0===this.noCaps?" q-btn--no-uppercase":"")+(!0===this.noWrap?"":" q-btn--wrap")+(!0===this.dense?" q-btn--dense":"")+(!0===this.stretch?" no-border-radius self-stretch":"")+(!0===this.glossy?" glossy":"")},innerClasses(){return this.alignClass+(!0===this.stack?" column":" row")+(!0===this.noWrap?" no-wrap text-no-wrap":"")+(!0===this.loading?" q-btn__content--hidden":"")},wrapperStyle(){if(void 0!==this.padding)return{padding:this.padding.split(/\s+/).map((t=>t in l?l[t]+"px":t)).join(" "),minWidth:"0",minHeight:"0"}}}}},ca32:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};e.default=n},ca84:function(t,e,i){var n=i("e330"),r=i("1a2d"),o=i("fc6a"),a=i("4d64").indexOf,s=i("d012"),l=n([].push);t.exports=function(t,e){var i,n=o(t),u=0,c=[];for(i in n)!r(s,i)&&r(n,i)&&l(c,i);while(e.length>u)r(n,i=e[u++])&&(~a(c,i)||l(c,i));return c}},caad:function(t,e,i){"use strict";var n=i("23e7"),r=i("4d64").includes,o=i("d039"),a=i("44d2"),s=o((function(){return!Array(1).includes()}));n({target:"Array",proto:!0,forced:s},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb2d:function(t,e,i){var n=i("1626"),r=i("9bf2"),o=i("13d2"),a=i("6374");t.exports=function(t,e,i,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(n(i)&&o(i,u,s),s.global)l?t[e]=i:a(e,i);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(c){}l?t[e]=i:r.f(t,e,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cb32:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0016"),o=i("6642"),a=i("87e8"),s=i("dde5");e["a"]=n["a"].extend({name:"QAvatar",mixins:[a["a"],o["a"]],props:{fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},computed:{classes(){return{[`bg-${this.color}`]:this.color,[`text-${this.textColor} q-chip--colored`]:this.textColor,"q-avatar--square":this.square,"rounded-borders":this.rounded}},contentStyle(){if(this.fontSize)return{fontSize:this.fontSize}}},render(t){const e=void 0!==this.icon?[t(r["a"],{props:{name:this.icon}})]:void 0;return t("div",{staticClass:"q-avatar",style:this.sizeStyle,class:this.classes,on:{...this.qListeners}},[t("div",{staticClass:"q-avatar__content row flex-center overflow-hidden",style:this.contentStyle},Object(s["b"])(e,this,"default"))])}})},cc12:function(t,e,i){var n=i("da84"),r=i("861d"),o=n.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc78:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));i("caad");var n=i("d882"),r=i("0cd3");function o(t,e,i,n){const r=[];return t.forEach((t=>{!0===n(t)?r.push(t):e.push({failedPropValidation:i,file:t})})),r}function a(t){t&&t.dataTransfer&&(t.dataTransfer.dropEffect="copy"),Object(n["l"])(t)}e["b"]={props:{multiple:Boolean,accept:String,capture:String,maxFileSize:[Number,String],maxTotalSize:[Number,String],maxFiles:[Number,String],filter:Function},computed:{extensions(){if(void 0!==this.accept)return this.accept.split(",").map((t=>(t=t.trim(),"*"===t?"*/":(t.endsWith("/*")&&(t=t.slice(0,t.length-1)),t.toUpperCase()))))},maxFilesNumber(){return parseInt(this.maxFiles,10)},maxTotalSizeNumber(){return parseInt(this.maxTotalSize,10)}},methods:{pickFiles(t){if(!0===this.editable)if(t!==Object(t)&&(t={target:null}),null!==t.target&&!0===t.target.matches('input[type="file"]'))0===t.clientX&&0===t.clientY&&Object(n["k"])(t);else{const e=this.__getFileInput();e&&e!==t.target&&e.click(t)}},addFiles(t){this.editable&&t&&this.__addFiles(null,t)},__processFiles(t,e,i,n){let r=Array.from(e||t.target.files);const a=[],s=()=>{a.length>0&&this.$emit("rejected",a)};if(void 0!==this.accept&&-1===this.extensions.indexOf("*/")&&(r=o(r,a,"accept",(t=>this.extensions.some((e=>t.type.toUpperCase().startsWith(e)||t.name.toUpperCase().endsWith(e))))),0===r.length))return s();if(void 0!==this.maxFileSize){const t=parseInt(this.maxFileSize,10);if(r=o(r,a,"max-file-size",(e=>e.size<=t)),0===r.length)return s()}!0!==this.multiple&&r.length>0&&(r=[r[0]]),r.forEach((t=>{t.__key=t.webkitRelativePath+t.lastModified+t.name+t.size}));const l=i.map((t=>t.__key));if(r=o(r,a,"duplicate",(t=>!1===l.includes(t.__key))),0===r.length)return s();if(void 0!==this.maxTotalSize){let t=!0===n?i.reduce(((t,e)=>t+e.size),0):0;if(r=o(r,a,"max-total-size",(e=>(t+=e.size,t<=this.maxTotalSizeNumber))),0===r.length)return s()}if("function"===typeof this.filter){const t=this.filter(r);r=o(r,a,"filter",(e=>t.includes(e)))}if(void 0!==this.maxFiles){let t=!0===n?i.length:0;if(r=o(r,a,"max-files",(()=>(t++,t<=this.maxFilesNumber))),0===r.length)return s()}return s(),r.length>0?r:void 0},__onDragOver(t){a(t),!0!==this.dnd&&(this.dnd=!0)},__onDragLeave(t){Object(n["l"])(t),t.relatedTarget!==this.$refs.dnd&&(this.dnd=!1)},__onDrop(t){a(t);const e=t.dataTransfer.files;e.length>0&&this.__addFiles(null,e),this.dnd=!1},__getDnd(t,e){if(!0===this.dnd)return t("div",{staticClass:`q-${e}__dnd absolute-full`,ref:"dnd",on:Object(r["b"])(this,"dnd",{dragenter:a,dragover:a,dragleave:this.__onDragLeave,drop:this.__onDrop})})}}};const s={computed:{formDomProps(){if("file"===this.type)try{const t="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(this.value)===this.value&&("length"in this.value?Array.from(this.value):[this.value]).forEach((e=>{t.items.add(e)})),{files:t.files}}catch(t){return{files:void 0}}}}}},cdf9:function(t,e,i){var n=i("825a"),r=i("861d"),o=i("f069");t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t),a=i.resolve;return a(e),i.promise}},cee4:function(t,e,i){"use strict";var n=i("c532"),r=i("1d2b"),o=i("0a06"),a=i("4a7b"),s=i("2444");function l(t){var e=new o(t),i=r(o.prototype.request,e);return n.extend(i,o.prototype,e),n.extend(i,e),i}var u=l(s);u.Axios=o,u.create=function(t){return l(a(u.defaults,t))},u.Cancel=i("7a77"),u.CancelToken=i("8df4"),u.isCancel=i("2e67"),u.all=function(t){return Promise.all(t)},u.spread=i("0df6"),u.isAxiosError=i("5f02"),t.exports=u,t.exports.default=u},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d055:function(t,e,i){const n=i("67dd"),r=i("aa63"),o=i("4146"),a=i("4006");function s(t,e,i,o,a){const s=[].slice.call(arguments,1),l=s.length,u="function"===typeof s[l-1];if(!u&&!n())throw new Error("Callback required as last argument");if(!u){if(l<1)throw new Error("Too few arguments provided");return 1===l?(i=e,e=o=void 0):2!==l||e.getContext||(o=i,i=e,e=void 0),new Promise((function(n,a){try{const a=r.create(i,o);n(t(a,e,o))}catch(s){a(s)}}))}if(l<2)throw new Error("Too few arguments provided");2===l?(a=i,i=e,e=o=void 0):3===l&&(e.getContext&&"undefined"===typeof a?(a=o,o=void 0):(a=o,o=i,i=e,e=void 0));try{const n=r.create(i,o);a(null,t(n,e,o))}catch(c){a(c)}}e.create=r.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,i){return a.render(t,i)}))},d066:function(t,e,i){var n=i("da84"),r=i("1626"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},d1e7:function(t,e,i){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},d256:function(t,e,i){var n=i("da84");t.exports=n.Promise},d2bb:function(t,e,i){var n=i("e330"),r=i("825a"),o=i("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(i,[]),e=i instanceof Array}catch(a){}return function(i,n){return r(i),o(n),e?t(i,n):i.__proto__=n,i}}():void 0)},d44e:function(t,e,i){var n=i("9bf2").f,r=i("1a2d"),o=i("b622"),a=o("toStringTag");t.exports=function(t,e,i){t&&!i&&(t=t.prototype),t&&!r(t,a)&&n(t,a,{configurable:!0,value:e})}},d51b:function(t,e,i){"use strict";var n=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,o=null;if(null==r[t]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["a"]=o},d6c0:function(t,e,i){const n=i("7bf0").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];const e=Math.floor(t/7)+2,i=n(t),r=145===i?26:2*Math.ceil((i-13)/(2*e-2)),o=[i-7];for(let n=1;n<e-1;n++)o[n]=o[n-1]-r;return o.push(6),o.reverse()},e.getPositions=function(t){const i=[],n=e.getRowColCoords(t),r=n.length;for(let e=0;e<r;e++)for(let t=0;t<r;t++)0===e&&0===t||0===e&&t===r-1||e===r-1&&0===t||i.push([n[e],n[t]]);return i}},d6d6:function(t,e){var i=TypeError;t.exports=function(t,e){if(t<e)throw i("Not enough arguments");return t}},d728:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));i("caad");let n=!1;function r(t){n=!0===t.isComposing}function o(t){return!0===n||t!==Object(t)||!0===t.isComposing||!0===t.qKeyEvent}function a(t,e){return!0!==o(t)&&[].concat(e).includes(t.keyCode)}},d784:function(t,e,i){"use strict";i("ac1f");var n=i("e330"),r=i("cb2d"),o=i("9263"),a=i("d039"),s=i("b622"),l=i("9112"),u=s("species"),c=RegExp.prototype;t.exports=function(t,e,i,h){var d=s(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),f=p&&!a((function(){var e=!1,i=/a/;return"split"===t&&(i={},i.constructor={},i.constructor[u]=function(){return i},i.flags="",i[d]=/./[d]),i.exec=function(){return e=!0,null},i[d](""),!e}));if(!p||!f||i){var g=n(/./[d]),m=e(d,""[t],(function(t,e,i,r,a){var s=n(t),l=e.exec;return l===o||l===c.exec?p&&!a?{done:!0,value:g(e,i,r)}:{done:!0,value:s(i,e,r)}:{done:!1}}));r(String.prototype,t,m[0]),r(c,d,m[1])}h&&l(c[d],"sham",!0)}},d847:function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("87e8"),a=i("dde5");const s={role:"toolbar"};e["a"]=n["a"].extend({name:"QBar",mixins:[o["a"],r["a"]],props:{dense:Boolean},computed:{classes(){return`q-bar--${!0===this.dense?"dense":"standard"} q-bar--`+(!0===this.isDark?"dark":"light")}},render(t){return t("div",{staticClass:"q-bar row no-wrap items-center",class:this.classes,attrs:s,on:{...this.qListeners}},Object(a["c"])(this,"default"))}})},d882:function(t,e,i){"use strict";i.d(e,"f",(function(){return n})),i.d(e,"g",(function(){return o})),i.d(e,"e",(function(){return a})),i.d(e,"h",(function(){return s})),i.d(e,"d",(function(){return l})),i.d(e,"k",(function(){return u})),i.d(e,"i",(function(){return c})),i.d(e,"l",(function(){return h})),i.d(e,"m",(function(){return d})),i.d(e,"j",(function(){return p})),i.d(e,"c",(function(){return f})),i.d(e,"a",(function(){return g})),i.d(e,"b",(function(){return m}));i("ddb0");const n={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{var r=Object.defineProperty({},"passive",{get(){Object.assign(n,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,r),window.removeEventListener("qtest",null,r)}catch(v){}function o(){}function a(t){return 0===t.button}function s(t){return t.touches&&t.touches[0]?t=t.touches[0]:t.changedTouches&&t.changedTouches[0]?t=t.changedTouches[0]:t.targetTouches&&t.targetTouches[0]&&(t=t.targetTouches[0]),{top:t.clientY,left:t.clientX}}function l(t){if(t.path)return t.path;if(t.composedPath)return t.composedPath();const e=[];let i=t.target;while(i){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}}function u(t){t.stopPropagation()}function c(t){!1!==t.cancelable&&t.preventDefault()}function h(t){!1!==t.cancelable&&t.preventDefault(),t.stopPropagation()}function d(t){if(h(t),"mousedown"===t.type){const e=i=>{i.target===t.target&&h(i),document.removeEventListener("click",e,n.notPassiveCapture)};document.addEventListener("click",e,n.notPassiveCapture)}}function p(t,e){if(void 0===t||!0===e&&!0===t.__dragPrevented)return;const i=!0===e?t=>{t.__dragPrevented=!0,t.addEventListener("dragstart",c,n.notPassiveCapture)}:t=>{delete t.__dragPrevented,t.removeEventListener("dragstart",c,n.notPassiveCapture)};t.querySelectorAll("a, img").forEach(i)}function f(t,{bubbles:e=!1,cancelable:i=!1}={}){try{return new CustomEvent(t,{bubbles:e,cancelable:i})}catch(v){const r=document.createEvent("Event");return r.initEvent(t,e,i),r}}function g(t,e,i){const r=`__q_${e}_evt`;t[r]=void 0!==t[r]?t[r].concat(i):i,i.forEach((e=>{e[0].addEventListener(e[1],t[e[2]],n[e[3]])}))}function m(t,e){const i=`__q_${e}_evt`;void 0!==t[i]&&(t[i].forEach((e=>{e[0].removeEventListener(e[1],t[e[2]],n[e[3]])})),t[i]=void 0)}},d925:function(t,e,i){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d998:function(t,e,i){var n=i("342f");t.exports=/MSIE|Trident/.test(n)},d9b5:function(t,e,i){var n=i("d066"),r=i("1626"),o=i("3a9b"),a=i("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return r(e)&&o(e.prototype,s(t))}},d9e2:function(t,e,i){var n=i("23e7"),r=i("da84"),o=i("2ba4"),a=i("e5cb"),s="WebAssembly",l=r[s],u=7!==Error("e",{cause:7}).cause,c=function(t,e){var i={};i[t]=a(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},i)},h=function(t,e){if(l&&l[t]){var i={};i[t]=a(s+"."+t,e,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},i)}};c("Error",(function(t){return function(e){return o(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),c("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},da3d:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var n=i("6f24"),r=h(n),o=i("e8c9"),a=h(o),s=i("70b0"),l=h(s),u=i("ed3f"),c=h(u);function h(t){return t&&t.__esModule?t:{default:t}}e.CODE128=r.default,e.CODE128A=a.default,e.CODE128B=l.default,e.CODE128C=c.default},da84:function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i("23b3"))},db86:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QTd",mixins:[r["a"]],props:{props:Object,autoWidth:Boolean,noHover:Boolean},computed:{classes(){return"q-td"+(!0===this.autoWidth?" q-table--col-auto-width":"")+(!0===this.noHover?" q-td--no-hover":"")+" "}},render(t){const e=this.qListeners;if(void 0===this.props)return t("td",{on:e,class:this.classes},Object(o["c"])(this,"default"));const i=this.$vnode.key,n=void 0!==this.props.colsMap&&i?this.props.colsMap[i]:this.props.col;if(void 0===n)return;const r=this.props.row;return t("td",{on:e,style:n.__tdStyle(r),class:this.classes+n.__tdClass(r)},Object(o["c"])(this,"default"))}})},dc4a:function(t,e,i){var n=i("59ed");t.exports=function(t,e){var i=t[e];return null==i?void 0:n(i)}},dca2:function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(t){function e(t,i){n(this,e);var o=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.name="InvalidInputException",o.symbology=t,o.input=i,o.message='"'+o.input+'" is not a valid input for '+o.symbology,o}return o(e,t),e}(Error),s=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="InvalidElementException",t.message="Not supported type to render on",t}return o(e,t),e}(Error),l=function(t){function e(){n(this,e);var t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.name="NoElementException",t.message="No element to render on.",t}return o(e,t),e}(Error);e.InvalidInputException=a,e.InvalidElementException=s,e.NoElementException=l},dd7e:function(t,e,i){const n=i("bbf0");function r(t){this.mode=n.NUMERIC,this.data=t.toString()}r.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){let e,i,n;for(e=0;e+3<=this.data.length;e+=3)i=this.data.substr(e,3),n=parseInt(i,10),t.put(n,10);const r=this.data.length-e;r>0&&(i=this.data.substr(e),n=parseInt(i,10),t.put(n,3*r+1))},t.exports=r},dd82:function(t,e,i){},ddb0:function(t,e,i){var n=i("da84"),r=i("fdbc"),o=i("785a"),a=i("e260"),s=i("9112"),l=i("b622"),u=l("iterator"),c=l("toStringTag"),h=a.values,d=function(t,e){if(t){if(t[u]!==h)try{s(t,u,h)}catch(n){t[u]=h}if(t[c]||s(t,c,e),r[e])for(var i in a)if(t[i]!==a[i])try{s(t,i,a[i])}catch(n){t[i]=a[i]}}};for(var p in r)d(n[p]&&n[p].prototype,p);d(o,"DOMTokenList")},ddd8:function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("8572"),o=i("0016"),a=i("b7fa"),s=i("3d69"),l=i("6642"),u=i("d882"),c=i("dde5"),h=i("0cd3"),d=n["a"].extend({name:"QChip",mixins:[s["a"],a["a"],Object(l["b"])({xs:8,sm:10,md:14,lg:20,xl:24})],model:{event:"remove"},props:{dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,value:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,tabindex:[String,Number],disable:Boolean},computed:{classes(){const t=!0===this.outline&&this.color||this.textColor;return{[`bg-${this.color}`]:!1===this.outline&&void 0!==this.color,[`text-${t} q-chip--colored`]:t,disabled:this.disable,"q-chip--dense":this.dense,"q-chip--outline":this.outline,"q-chip--selected":this.selected,"q-chip--clickable cursor-pointer non-selectable q-hoverable":this.isClickable,"q-chip--square":this.square,"q-chip--dark q-dark":this.isDark}},hasLeftIcon(){return!0===this.selected||void 0!==this.icon},leftIcon(){return!0===this.selected?this.iconSelected||this.$q.iconSet.chip.selected:this.icon},removeIcon(){return this.iconRemove||this.$q.iconSet.chip.remove},isClickable(){return!1===this.disable&&(!0===this.clickable||null!==this.selected)},attrs(){return!0===this.disable?{tabindex:-1,"aria-disabled":"true"}:{tabindex:this.tabindex||0}}},methods:{__onKeyup(t){13===t.keyCode&&this.__onClick(t)},__onClick(t){this.disable||(this.$emit("update:selected",!this.selected),this.$emit("click",t))},__onRemove(t){void 0!==t.keyCode&&13!==t.keyCode||(Object(u["l"])(t),!this.disable&&this.$emit("remove",!1))},__getContent(t){const e=[];!0===this.isClickable&&e.push(t("div",{staticClass:"q-focus-helper"})),!0===this.hasLeftIcon&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--left",props:{name:this.leftIcon}}));const i=void 0!==this.label?[t("div",{staticClass:"ellipsis"},[this.label])]:void 0;return e.push(t("div",{staticClass:"q-chip__content col row no-wrap items-center q-anchor--skip"},Object(c["b"])(i,this,"default"))),this.iconRight&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--right",props:{name:this.iconRight}})),!0===this.removable&&e.push(t(o["a"],{staticClass:"q-chip__icon q-chip__icon--remove cursor-pointer",props:{name:this.removeIcon},attrs:this.attrs,on:Object(h["b"])(this,"non",{click:this.__onRemove,keyup:this.__onRemove})})),e}},render(t){if(!1===this.value)return;const e={staticClass:"q-chip row inline no-wrap items-center",class:this.classes,style:this.sizeStyle};return!0===this.isClickable&&Object.assign(e,{attrs:this.attrs,on:Object(h["b"])(this,"click",{click:this.__onClick,keyup:this.__onKeyup}),directives:Object(h["b"])(this,"dir#"+this.ripple,[{name:"ripple",value:this.ripple}])}),t("div",e,this.__getContent(t))}}),p=i("66e5"),f=i("4074"),g=i("0170"),m=i("4e73"),v=i("24e8"),y=i("5ff7"),b=i("7937"),_=i("d728"),x=i("f89c"),w=i("e48b"),S=i("21e1"),C=i("87e8"),k=i("0967");const M=t=>["add","add-unique","toggle"].includes(t),O=".*+?^${}()|[]\\";e["a"]=n["a"].extend({name:"QSelect",mixins:[r["a"],w["b"],S["a"],x["a"],C["a"]],props:{value:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueSanitize:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsSanitize:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:M},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,behavior:{type:String,validator:t=>["default","menu","dialog"].includes(t),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0}},data(){return{menu:!1,dialog:!1,optionIndex:-1,inputValue:"",dialogFieldFocused:!1}},watch:{innerValue:{handler(t){this.innerValueCache=t,!0===this.useInput&&!0===this.fillInput&&!0!==this.multiple&&!0!==this.innerLoading&&(!0!==this.dialog&&!0!==this.menu||!0!==this.hasValue)&&(!0!==this.userInputValue&&this.__resetInputValue(),!0!==this.dialog&&!0!==this.menu||this.filter(""))},immediate:!0},fillInput(){this.__resetInputValue()},menu(t){this.__updateMenu(t)},virtualScrollLength(t,e){!0===this.menu&&!1===this.innerLoading&&(this.__resetVirtualScroll(-1,!0),this.$nextTick((()=>{!0===this.menu&&!1===this.innerLoading&&(t>e?this.__resetVirtualScroll():this.__updateMenu(!0))})))}},computed:{isOptionsDark(){return null===this.optionsDark?this.isDark:this.optionsDark},virtualScrollLength(){return Array.isArray(this.options)?this.options.length:0},fieldClass(){return`q-select q-field--auto-height q-select--with${!0!==this.useInput?"out":""}-input q-select--with${!0!==this.useChips?"out":""}-chips q-select--`+(!0===this.multiple?"multiple":"single")},computedInputClass(){return!0===this.hideSelected||0===this.innerValue.length?this.inputClass:void 0===this.inputClass?"q-field__input--padding":[this.inputClass,"q-field__input--padding"]},menuContentClass(){return(!0===this.virtualScrollHorizontal?"q-virtual-scroll--horizontal":"")+(this.popupContentClass?" "+this.popupContentClass:"")},innerValue(){const t=!0===this.mapOptions&&!0!==this.multiple,e=void 0===this.value||null===this.value&&!0!==t?[]:!0===this.multiple&&Array.isArray(this.value)?this.value:[this.value];if(!0===this.mapOptions&&!0===Array.isArray(this.options)){const i=!0===this.mapOptions&&void 0!==this.innerValueCache?this.innerValueCache:[],n=e.map((t=>this.__getOption(t,i)));return null===this.value&&!0===t?n.filter((t=>null!==t)):n}return e},noOptions(){return 0===this.virtualScrollLength},selectedString(){return this.innerValue.map((t=>this.getOptionLabel(t))).join(", ")},sanitizeFn(){return!0===this.optionsSanitize?()=>!0:t=>void 0!==t&&null!==t&&!0===t.sanitize},displayAsText(){return!0===this.displayValueSanitize||void 0===this.displayValue&&(!0===this.optionsSanitize||this.innerValue.some(this.sanitizeFn))},computedTabindex(){return!0===this.focused?this.tabindex:-1},selectedScope(){return this.innerValue.map(((t,e)=>({index:e,opt:t,sanitize:this.sanitizeFn(t),selected:!0,removeAtIndex:this.__removeAtIndexAndFocus,toggleOption:this.toggleOption,tabindex:this.computedTabindex})))},optionScope(){if(0===this.virtualScrollLength)return[];const{from:t,to:e}=this.virtualScrollSliceRange,{options:i,optionEls:n}=this.__optionScopeCache;return this.options.slice(t,e).map(((e,r)=>{const o=this.isOptionDisabled(e),a=t+r,s={clickable:!0,active:!1,activeClass:this.computedOptionsSelectedClass,manualFocus:!0,focused:!1,disable:o,tabindex:-1,dense:this.optionsDense,dark:this.isOptionsDark},l={role:"option",id:`${this.targetUid}_${a}`};!0!==o&&(!0===this.isOptionSelected(e)&&(s.active=!0),l["aria-selected"]=!0===s.active?"true":"false",this.optionIndex===a&&(s.focused=!0));const u={click:()=>{this.toggleOption(e)}};!0===this.$q.platform.is.desktop&&(u.mousemove=()=>{!0===this.menu&&this.setOptionIndex(a)});const c={index:a,opt:e,sanitize:this.sanitizeFn(e),selected:s.active,focused:s.focused,toggleOption:this.toggleOption,setOptionIndex:this.setOptionIndex,itemProps:s,itemAttrs:l};return void 0!==i[r]&&!0===Object(y["b"])(c,i[r])||(i[r]=c,n[r]=void 0),{...c,itemEvents:u}}))},dropdownArrowIcon(){return void 0!==this.dropdownIcon?this.dropdownIcon:this.$q.iconSet.arrow.dropdown},squaredMenu(){return!1===this.optionsCover&&!0!==this.outlined&&!0!==this.standout&&!0!==this.borderless&&!0!==this.rounded},computedOptionsSelectedClass(){return void 0!==this.optionsSelectedClass?this.optionsSelectedClass:void 0!==this.color?`text-${this.color}`:""},innerOptionsValue(){return this.innerValue.map((t=>this.getOptionValue(t)))},getOptionValue(){return this.__getPropValueFn("optionValue","value")},getOptionLabel(){return this.__getPropValueFn("optionLabel","label")},isOptionDisabled(){const t=this.__getPropValueFn("optionDisable","disable");return(...e)=>!0===t.apply(null,e)},inputControlEvents(){const t={input:this.__onInput,change:this.__onChange,keydown:this.__onTargetKeydown,keyup:this.__onTargetAutocomplete,keypress:this.__onTargetKeypress,focus:this.__selectInputText,click:t=>{!0===this.hasDialog&&Object(u["k"])(t)}};return t.compositionstart=t.compositionupdate=t.compositionend=this.__onComposition,t},virtualScrollItemSizeComputed(){return void 0===this.virtualScrollItemSize?!0===this.optionsDense?24:48:this.virtualScrollItemSize},comboboxAttrs(){return{role:"combobox","aria-multiselectable":!0===this.multiple?"true":"false","aria-expanded":!0===this.menu?"true":"false","aria-owns":`${this.targetUid}_lb`,"aria-activedescendant":`${this.targetUid}_${this.optionIndex}`}},listboxAttrs(){return{role:"listbox",id:`${this.targetUid}_lb`}}},methods:{getEmittingOptionValue(t){return!0===this.emitValue?this.getOptionValue(t):t},removeAtIndex(t){if(t>-1&&t<this.innerValue.length)if(!0===this.multiple){const e=this.value.slice();this.$emit("remove",{index:t,value:e.splice(t,1)[0]}),this.$emit("input",e)}else this.$emit("input",null)},__removeAtIndexAndFocus(t){this.removeAtIndex(t),this.__focus()},add(t,e){const i=this.getEmittingOptionValue(t);if(!0!==this.multiple)return!0===this.fillInput&&this.updateInputValue(this.getOptionLabel(t),!0,!0),void this.$emit("input",i);if(0===this.innerValue.length)return this.$emit("add",{index:0,value:i}),void this.$emit("input",!0===this.multiple?[i]:i);if(!0===e&&!0===this.isOptionSelected(t))return;if(void 0!==this.maxValues&&this.value.length>=this.maxValues)return;const n=this.value.slice();this.$emit("add",{index:n.length,value:i}),n.push(i),this.$emit("input",n)},toggleOption(t,e){if(!0!==this.editable||void 0===t||!0===this.isOptionDisabled(t))return;const i=this.getOptionValue(t);if(!0!==this.multiple)return!0!==e&&(this.updateInputValue(!0===this.fillInput?this.getOptionLabel(t):"",!0,!0),this.hidePopup()),void 0!==this.$refs.target&&this.$refs.target.focus(),void(0!==this.innerValue.length&&!0===Object(y["b"])(this.getOptionValue(this.innerValue[0]),i)||this.$emit("input",!0===this.emitValue?i:t));if((!0!==this.hasDialog||!0===this.dialogFieldFocused)&&this.__focus(),this.__selectInputText(),0===this.innerValue.length){const e=!0===this.emitValue?i:t;return this.$emit("add",{index:0,value:e}),void this.$emit("input",!0===this.multiple?[e]:e)}const n=this.value.slice(),r=this.innerOptionsValue.findIndex((t=>Object(y["b"])(t,i)));if(r>-1)this.$emit("remove",{index:r,value:n.splice(r,1)[0]});else{if(void 0!==this.maxValues&&n.length>=this.maxValues)return;const e=!0===this.emitValue?i:t;this.$emit("add",{index:n.length,value:e}),n.push(e)}this.$emit("input",n)},setOptionIndex(t){if(!0!==this.$q.platform.is.desktop)return;const e=t>-1&&t<this.virtualScrollLength?t:-1;this.optionIndex!==e&&(this.optionIndex=e)},moveOptionSelection(t=1,e){if(!0===this.menu){let i=this.optionIndex;do{i=Object(b["d"])(i+t,-1,this.virtualScrollLength-1)}while(-1!==i&&i!==this.optionIndex&&!0===this.isOptionDisabled(this.options[i]));this.optionIndex!==i&&(this.setOptionIndex(i),this.scrollTo(i),!0!==e&&!0===this.useInput&&!0===this.fillInput&&this.__setInputValue(i>=0?this.getOptionLabel(this.options[i]):this.defaultInputValue))}},__getOption(t,e){const i=e=>Object(y["b"])(this.getOptionValue(e),t);return this.options.find(i)||e.find(i)||t},__getPropValueFn(t,e){const i=void 0!==this[t]?this[t]:e;return"function"===typeof i?i:t=>null!==t&&"object"===typeof t&&i in t?t[i]:t},isOptionSelected(t){const e=this.getOptionValue(t);return void 0!==this.innerOptionsValue.find((t=>Object(y["b"])(t,e)))},__selectInputText(t){!0===this.useInput&&void 0!==this.$refs.target&&(void 0===t||this.$refs.target===t.target&&t.target.value===this.selectedString)&&this.$refs.target.select()},__onTargetKeyup(t){!0===Object(_["a"])(t,27)&&!0===this.menu&&(Object(u["k"])(t),this.hidePopup(),this.__resetInputValue()),this.$emit("keyup",t)},__onTargetAutocomplete(t){const{value:e}=t.target;if(void 0===t.keyCode)if(t.target.value="",clearTimeout(this.inputTimer),this.__resetInputValue(),"string"===typeof e&&e.length>0){const t=e.toLocaleLowerCase(),i=e=>{const i=this.options.find((i=>e(i).toLocaleLowerCase()===t));return void 0!==i&&(-1===this.innerValue.indexOf(i)?this.toggleOption(i):this.hidePopup(),!0)},n=t=>{!0!==i(this.getOptionValue)&&!0!==i(this.getOptionLabel)&&!0!==t&&this.filter(e,!0,(()=>n(!0)))};n()}else this.__clearValue(t);else this.__onTargetKeyup(t)},__onTargetKeypress(t){this.$emit("keypress",t)},__onTargetKeydown(t){if(this.$emit("keydown",t),!0===Object(_["c"])(t))return;const e=this.inputValue.length>0&&(void 0!==this.newValueMode||void 0!==this.qListeners["new-value"]),i=!0!==t.shiftKey&&!0!==this.multiple&&(this.optionIndex>-1||!0===e);if(27===t.keyCode)return void Object(u["i"])(t);if(9===t.keyCode&&!1===i)return void this.__closeMenu();if(void 0===t.target||t.target.id!==this.targetUid)return;if(40===t.keyCode&&!0!==this.innerLoading&&!1===this.menu)return Object(u["l"])(t),void this.showPopup();if(8===t.keyCode&&!0!==this.hideSelected&&0===this.inputValue.length)return void(!0===this.multiple&&Array.isArray(this.value)?this.removeAtIndex(this.value.length-1):!0!==this.multiple&&null!==this.value&&this.$emit("input",null));35!==t.keyCode&&36!==t.keyCode||"string"===typeof this.inputValue&&0!==this.inputValue.length||(Object(u["l"])(t),this.optionIndex=-1,this.moveOptionSelection(36===t.keyCode?1:-1,this.multiple)),33!==t.keyCode&&34!==t.keyCode||void 0===this.virtualScrollSliceSizeComputed||(Object(u["l"])(t),this.optionIndex=Math.max(-1,Math.min(this.virtualScrollLength,this.optionIndex+(33===t.keyCode?-1:1)*this.virtualScrollSliceSizeComputed.view)),this.moveOptionSelection(33===t.keyCode?1:-1,this.multiple)),38!==t.keyCode&&40!==t.keyCode||(Object(u["l"])(t),this.moveOptionSelection(38===t.keyCode?-1:1,this.multiple));const n=this.virtualScrollLength;if((void 0===this.searchBuffer||this.searchBufferExp<Date.now())&&(this.searchBuffer=""),n>0&&!0!==this.useInput&&void 0!==t.key&&1===t.key.length&&t.altKey===t.ctrlKey&&(32!==t.keyCode||this.searchBuffer.length>0)){!0!==this.menu&&this.showPopup(t);const e=t.key.toLocaleLowerCase(),i=1===this.searchBuffer.length&&this.searchBuffer[0]===e;this.searchBufferExp=Date.now()+1500,!1===i&&(Object(u["l"])(t),this.searchBuffer+=e);const r=new RegExp("^"+this.searchBuffer.split("").map((t=>O.indexOf(t)>-1?"\\"+t:t)).join(".*"),"i");let o=this.optionIndex;if(!0===i||o<0||!0!==r.test(this.getOptionLabel(this.options[o])))do{o=Object(b["d"])(o+1,-1,n-1)}while(o!==this.optionIndex&&(!0===this.isOptionDisabled(this.options[o])||!0!==r.test(this.getOptionLabel(this.options[o]))));this.optionIndex!==o&&this.$nextTick((()=>{this.setOptionIndex(o),this.scrollTo(o),o>=0&&!0===this.useInput&&!0===this.fillInput&&this.__setInputValue(this.getOptionLabel(this.options[o]))}))}else if(13===t.keyCode||32===t.keyCode&&!0!==this.useInput&&""===this.searchBuffer||9===t.keyCode&&!1!==i)if(9!==t.keyCode&&Object(u["l"])(t),this.optionIndex>-1&&this.optionIndex<n)this.toggleOption(this.options[this.optionIndex]);else{if(!0===e){const t=(t,e)=>{if(e){if(!0!==M(e))return}else e=this.newValueMode;void 0!==t&&null!==t&&(this.updateInputValue("",!0!==this.multiple,!0),this["toggle"===e?"toggleOption":"add"](t,"add-unique"===e),!0!==this.multiple&&(void 0!==this.$refs.target&&this.$refs.target.focus(),this.hidePopup()))};if(void 0!==this.qListeners["new-value"]?this.$emit("new-value",this.inputValue,t):t(this.inputValue),!0!==this.multiple)return}!0===this.menu?this.__closeMenu():!0!==this.innerLoading&&this.showPopup()}},__getVirtualScrollEl(){return!0===this.hasDialog?this.$refs.menuContent:void 0!==this.$refs.menu&&void 0!==this.$refs.menu.__portal?this.$refs.menu.__portal.$el:void 0},__getVirtualScrollTarget(){return this.__getVirtualScrollEl()},__getSelection(t){return!0===this.hideSelected?[]:void 0!==this.$scopedSlots["selected-item"]?this.selectedScope.map((t=>this.$scopedSlots["selected-item"](t))).slice():void 0!==this.$scopedSlots.selected?[].concat(this.$scopedSlots.selected()):!0===this.useChips?this.selectedScope.map(((e,i)=>t(d,{key:"option-"+i,props:{removable:!0===this.editable&&!0!==this.isOptionDisabled(e.opt),dense:!0,textColor:this.color,tabindex:this.computedTabindex},on:Object(h["b"])(this,"rem#"+i,{remove(){e.removeAtIndex(i)}})},[t("span",{staticClass:"ellipsis",domProps:{[!0===e.sanitize?"textContent":"innerHTML"]:this.getOptionLabel(e.opt)}})]))):[t("span",{domProps:{[this.displayAsText?"textContent":"innerHTML"]:void 0!==this.displayValue?this.displayValue:this.selectedString}})]},__getControl(t,e){const i=this.__getSelection(t),n=!0===e||!0!==this.dialog||!0!==this.hasDialog;if(!0===this.useInput)i.push(this.__getInput(t,e,n));else if(!0===this.editable){const r=!0===n?this.comboboxAttrs:void 0;i.push(t("div",{ref:!0===n?"target":void 0,key:"d_t",staticClass:"q-select__focus-target",attrs:{id:!0===n?this.targetUid:void 0,tabindex:this.tabindex,"data-autofocus":!0!==e&&this.autofocus||void 0,...r},on:Object(h["b"])(this,"f-tget",{keydown:this.__onTargetKeydown,keyup:this.__onTargetKeyup,keypress:this.__onTargetKeypress})})),!0===n&&"string"===typeof this.autocomplete&&this.autocomplete.length>0&&i.push(t("input",{staticClass:"q-select__autocomplete-input",attrs:{autocomplete:this.autocomplete},on:Object(h["b"])(this,"autoinp",{keyup:this.__onTargetAutocomplete})}))}if(void 0!==this.nameProp&&!0!==this.disable&&this.innerOptionsValue.length>0){const e=this.innerOptionsValue.map((e=>t("option",{attrs:{value:e,selected:!0}})));i.push(t("select",{staticClass:"hidden",attrs:{name:this.nameProp,multiple:this.multiple}},e))}const r=!0===this.useInput||!0!==n?void 0:this.qAttrs;return t("div",{staticClass:"q-field__native row items-center",attrs:r},i)},__getOptions(t){if(!0!==this.menu)return;void 0!==this.$scopedSlots.option&&this.__optionScopeCache.optionSlot!==this.$scopedSlots.option&&(this.__optionScopeCache.optionSlot=this.$scopedSlots.option,this.__optionScopeCache.optionEls=[]);const e=void 0!==this.$scopedSlots.option?this.$scopedSlots.option:e=>t(p["a"],{key:e.index,props:e.itemProps,attrs:e.itemAttrs,on:e.itemEvents},[t(f["a"],[t(g["a"],{domProps:{[!0===e.sanitize?"textContent":"innerHTML"]:this.getOptionLabel(e.opt)}})])]),{optionEls:i}=this.__optionScopeCache;let n=this.__padVirtualScroll(t,"div",this.optionScope.map(((t,n)=>(void 0===i[n]&&(i[n]=e(t)),i[n]))));return void 0!==this.$scopedSlots["before-options"]&&(n=this.$scopedSlots["before-options"]().concat(n)),Object(c["a"])(n,this,"after-options")},__getInnerAppend(t){return!0!==this.loading&&!0!==this.innerLoadingIndicator&&!0!==this.hideDropdownIcon?[t(o["a"],{staticClass:"q-select__dropdown-icon"+(!0===this.menu?" rotate-180":""),props:{name:this.dropdownArrowIcon}})]:null},__getInput(t,e,i){const n=!0===i?{...this.comboboxAttrs,...this.qAttrs}:void 0,r={ref:!0===i?"target":void 0,key:"i_t",staticClass:"q-field__input q-placeholder col",style:this.inputStyle,class:this.computedInputClass,domProps:{value:void 0!==this.inputValue?this.inputValue:""},attrs:{type:"search",...n,id:!0===i?this.targetUid:void 0,maxlength:this.maxlength,tabindex:this.tabindex,autocomplete:this.autocomplete,"data-autofocus":!0!==e&&this.autofocus||void 0,disabled:!0===this.disable,readonly:!0===this.readonly},on:this.inputControlEvents};return!0!==e&&!0===this.hasDialog&&(r.staticClass+=" no-pointer-events"),t("input",r)},__onChange(t){this.__onComposition(t)},__onInput(t){clearTimeout(this.inputTimer),t&&t.target&&!0===t.target.qComposing||(this.__setInputValue(t.target.value||""),this.userInputValue=!0,this.defaultInputValue=this.inputValue,!0===this.focused||!0===this.hasDialog&&!0!==this.dialogFieldFocused||this.__focus(),void 0!==this.qListeners.filter&&(this.inputTimer=setTimeout((()=>{this.filter(this.inputValue)}),this.inputDebounce)))},__setInputValue(t){this.inputValue!==t&&(this.inputValue=t,this.$emit("input-value",t))},updateInputValue(t,e,i){this.userInputValue=!0!==i,!0===this.useInput&&(this.__setInputValue(t),!0!==e&&!0===i||(this.defaultInputValue=t),!0!==e&&this.filter(t))},filter(t,e,i){if(void 0===this.qListeners.filter||!0!==e&&!0!==this.focused)return;!0===this.innerLoading?this.$emit("filter-abort"):(this.innerLoading=!0,this.innerLoadingIndicator=!0),""!==t&&!0!==this.multiple&&this.innerValue.length>0&&!0!==this.userInputValue&&t===this.getOptionLabel(this.innerValue[0])&&(t="");const n=setTimeout((()=>{!0===this.menu&&(this.menu=!1)}),10);clearTimeout(this.filterId),this.filterId=n,this.$emit("filter",t,((t,r)=>{!0!==e&&!0!==this.focused||this.filterId!==n||(clearTimeout(this.filterId),"function"===typeof t&&t(),this.innerLoadingIndicator=!1,this.$nextTick((()=>{this.innerLoading=!1,!0===this.editable&&(!0===e?!0===this.menu&&this.hidePopup():!0===this.menu?this.__updateMenu(!0):this.menu=!0),"function"===typeof r&&this.$nextTick((()=>{r(this)})),"function"===typeof i&&this.$nextTick((()=>{i(this)}))})))}),(()=>{!0===this.focused&&this.filterId===n&&(clearTimeout(this.filterId),this.innerLoading=!1,this.innerLoadingIndicator=!1),!0===this.menu&&(this.menu=!1)}))},__getControlEvents(){const t=t=>{this.__onControlFocusout(t,(()=>{this.__resetInputValue(),this.__closeMenu()}))};return{focusin:this.__onControlFocusin,focusout:t,"popup-show":this.__onControlPopupShow,"popup-hide":e=>{void 0!==e&&Object(u["k"])(e),this.$emit("popup-hide",e),this.hasPopupOpen=!1,t(e)},click:t=>{if(!0!==this.hasDialog&&(Object(u["i"])(t),!0===this.menu))return this.__closeMenu(),void(void 0!==this.$refs.target&&this.$refs.target.focus());this.showPopup(t)}}},__getControlChild(t){if(!1!==this.editable&&(!0===this.dialog||!0!==this.noOptions||void 0!==this.$scopedSlots["no-option"]))return this["__get"+(!0===this.hasDialog?"Dialog":"Menu")](t)},__getMenu(t){const e=!0===this.noOptions?void 0!==this.$scopedSlots["no-option"]?this.$scopedSlots["no-option"]({inputValue:this.inputValue}):null:this.__getOptions(t);return t(m["a"],{ref:"menu",props:{value:this.menu,fit:!0!==this.menuShrink,cover:!0===this.optionsCover&&!0!==this.noOptions&&!0!==this.useInput,anchor:this.menuAnchor,self:this.menuSelf,offset:this.menuOffset,contentClass:this.menuContentClass,contentStyle:this.popupContentStyle,dark:this.isOptionsDark,noParentEvent:!0,noRefocus:!0,noFocus:!0,square:this.squaredMenu,transitionShow:this.transitionShow,transitionHide:this.transitionHide,separateClosePopup:!0},attrs:this.listboxAttrs,on:Object(h["b"])(this,"menu",{"&scroll":this.__onVirtualScrollEvt,"before-hide":this.__closeMenu,show:this.__onMenuShow})},e)},__onMenuShow(){this.__setVirtualScrollSize()},__onDialogFieldFocus(t){Object(u["k"])(t),void 0!==this.$refs.target&&this.$refs.target.focus(),this.dialogFieldFocused=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)},__onDialogFieldBlur(t){Object(u["k"])(t),this.$nextTick((()=>{this.dialogFieldFocused=!1}))},__getDialog(t){const e=[t(r["a"],{staticClass:`col-auto ${this.fieldClass}`,props:{...this.$props,for:this.targetUid,dark:this.isOptionsDark,square:!0,filled:!0,itemAligned:!1,loading:this.innerLoadingIndicator,stackLabel:this.inputValue.length>0},on:{...this.qListeners,focus:this.__onDialogFieldFocus,blur:this.__onDialogFieldBlur},scopedSlots:{...this.$scopedSlots,rawControl:()=>this.__getControl(t,!0),before:void 0,after:void 0}})];return!0===this.menu&&e.push(t("div",{ref:"menuContent",staticClass:"scroll",class:this.menuContentClass,style:this.popupContentStyle,attrs:this.listboxAttrs,on:Object(h["b"])(this,"virtMenu",{click:u["i"],"&scroll":this.__onVirtualScrollEvt})},!0===this.noOptions?void 0!==this.$scopedSlots["no-option"]?this.$scopedSlots["no-option"]({inputValue:this.inputValue}):null:this.__getOptions(t))),t(v["a"],{ref:"dialog",props:{value:this.dialog,dark:this.isOptionsDark,position:!0===this.useInput?"top":void 0,transitionShow:this.transitionShowComputed,transitionHide:this.transitionHide},on:Object(h["b"])(this,"dialog",{"before-hide":this.__onDialogBeforeHide,hide:this.__onDialogHide,show:this.__onDialogShow})},[t("div",{staticClass:"q-select__dialog"+(!0===this.isOptionsDark?" q-select__dialog--dark q-dark":"")+(!0===this.dialogFieldFocused?" q-select__dialog--focused":"")},e)])},__onDialogBeforeHide(){!0!==k["a"].is.mobile&&(this.$refs.dialog.__refocusTarget=this.$el.querySelector(".q-field__native > [tabindex]:last-child")),this.focused=!1},__onDialogHide(t){this.hidePopup(),!1===this.focused&&this.$emit("blur",t),this.__resetInputValue()},__onDialogShow(){const t=document.activeElement;null!==t&&t.id===this.targetUid||this.$refs.target===t||void 0===this.$refs.target||this.$refs.target.focus(),this.__setVirtualScrollSize()},__closeMenu(){void 0!==this.__optionScopeCache&&(this.__optionScopeCache.optionEls=[]),!0!==this.dialog&&(this.optionIndex=-1,!0===this.menu&&(this.menu=!1),!1===this.focused&&(clearTimeout(this.filterId),this.filterId=void 0,!0===this.innerLoading&&(this.$emit("filter-abort"),this.innerLoading=!1,this.innerLoadingIndicator=!1)))},showPopup(t){!0===this.editable&&(!0===this.hasDialog?(this.__onControlFocusin(t),this.dialog=!0,this.$nextTick((()=>{this.__focus()}))):this.__focus(),void 0!==this.qListeners.filter?this.filter(this.inputValue):!0===this.noOptions&&void 0===this.$scopedSlots["no-option"]||(this.menu=!0))},hidePopup(){this.dialog=!1,this.__closeMenu()},__resetInputValue(){!0===this.useInput&&this.updateInputValue(!0!==this.multiple&&!0===this.fillInput&&this.innerValue.length>0&&this.getOptionLabel(this.innerValue[0])||"",!0,!0)},__updateMenu(t){let e=-1;if(!0===t){if(this.innerValue.length>0){const t=this.getOptionValue(this.innerValue[0]);e=this.options.findIndex((e=>Object(y["b"])(this.getOptionValue(e),t)))}this.__resetVirtualScroll(e)}this.setOptionIndex(e)},__onPreRender(){this.hasDialog=(!0===this.$q.platform.is.mobile||"dialog"===this.behavior)&&("menu"!==this.behavior&&(!0!==this.useInput||(void 0!==this.$scopedSlots["no-option"]||void 0!==this.qListeners.filter||!1===this.noOptions))),this.transitionShowComputed=!0===this.hasDialog&&!0===this.useInput&&!0===this.$q.platform.is.ios?"fade":this.transitionShow},__onPostRender(){!1===this.dialog&&void 0!==this.$refs.menu&&this.$refs.menu.updatePosition()},updateMenuPosition(){this.__onPostRender()}},beforeMount(){this.__optionScopeCache={optionSlot:this.$scopedSlots.option,options:[],optionEls:[]}},beforeDestroy(){this.__optionScopeCache=void 0,clearTimeout(this.inputTimer)}})},dde5:function(t,e,i){"use strict";function n(t,e,i){return void 0!==t.$scopedSlots[e]?t.$scopedSlots[e]():i}function r(t,e,i){return void 0!==t.$scopedSlots[e]?[].concat(t.$scopedSlots[e]()):i}function o(t,e,i){return void 0!==e.$scopedSlots[i]?t.concat(e.$scopedSlots[i]()):t}function a(t,e,i){if(void 0===e.$scopedSlots[i])return t;const n=e.$scopedSlots[i]();return void 0!==t?t.concat(n):n}i.d(e,"c",(function(){return n})),i.d(e,"d",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return a}))},de5e:function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QPageSticky",mixins:[r["a"]],inject:{layout:{default(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:t=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)},offset:{type:Array,validator:t=>2===t.length},expand:Boolean},computed:{attach(){const t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top(){return this.layout.header.offset},right(){return this.layout.right.offset},bottom(){return this.layout.footer.offset},left(){return this.layout.left.offset},style(){let t=0,e=0;const i=this.attach,n=!0===this.$q.lang.rtl?-1:1;!0===i.top&&0!==this.top?e=`${this.top}px`:!0===i.bottom&&0!==this.bottom&&(e=-this.bottom+"px"),!0===i.left&&0!==this.left?t=n*this.left+"px":!0===i.right&&0!==this.right&&(t=-n*this.right+"px");const r={transform:`translate(${t}, ${e})`};return this.offset&&(r.margin=`${this.offset[1]}px ${this.offset[0]}px`),!0===i.vertical?(0!==this.left&&(r[!0===this.$q.lang.rtl?"right":"left"]=`${this.left}px`),0!==this.right&&(r[!0===this.$q.lang.rtl?"left":"right"]=`${this.right}px`)):!0===i.horizontal&&(0!==this.top&&(r.top=`${this.top}px`),0!==this.bottom&&(r.bottom=`${this.bottom}px`)),r},classes(){return`fixed-${this.position} q-page-sticky--${!0===this.expand?"expand":"shrink"}`}},render(t){const e=Object(o["c"])(this,"default");return t("div",{staticClass:"q-page-sticky row flex-center",class:this.classes,style:this.style,on:{...this.qListeners}},!0===this.expand?e:[t("div",e)])}})},df75:function(t,e,i){var n=i("ca84"),r=i("7839");t.exports=Object.keys||function(t){return n(t,r)}},df7c:function(t,e,i){(function(t){function i(t,e){for(var i=0,n=t.length-1;n>=0;n--){var r=t[n];"."===r?t.splice(n,1):".."===r?(t.splice(n,1),i++):i&&(t.splice(n,1),i--)}if(e)for(;i--;i)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,i=0,n=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){i=e+1;break}}else-1===n&&(r=!1,n=e+1);return-1===n?"":t.slice(i,n)}function r(t,e){if(t.filter)return t.filter(e);for(var i=[],n=0;n<t.length;n++)e(t[n],n,t)&&i.push(t[n]);return i}e.resolve=function(){for(var e="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return e=i(r(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),a="/"===o(t,-1);return t=i(r(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&a&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,i){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var i=t.length-1;i>=0;i--)if(""!==t[i])break;return e>i?[]:t.slice(e,i-e+1)}t=e.resolve(t).substr(1),i=e.resolve(i).substr(1);for(var r=n(t.split("/")),o=n(i.split("/")),a=Math.min(r.length,o.length),s=a,l=0;l<a;l++)if(r[l]!==o[l]){s=l;break}var u=[];for(l=s;l<r.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),i=47===e,n=-1,r=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){n=o;break}}else r=!1;return-1===n?i?"/":".":i&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var i=n(t);return e&&i.substr(-1*e.length)===e&&(i=i.substr(0,i.length-e.length)),i},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,i=0,n=-1,r=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===n&&(r=!1,n=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){i=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===i+1?"":t.slice(e,n)};var o="b"==="ab".substr(-1)?function(t,e,i){return t.substr(e,i)}:function(t,e,i){return e<0&&(e=t.length+e),t.substr(e,i)}}).call(this,i("4362"))},e163:function(t,e,i){var n=i("1a2d"),r=i("1626"),o=i("7b0b"),a=i("f772"),s=i("e177"),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(n(e,l))return e[l];var i=e.constructor;return r(i)&&e instanceof i?i.prototype:e instanceof u?c:null}},e177:function(t,e,i){var n=i("d039");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,i){"use strict";var n=i("fc6a"),r=i("44d2"),o=i("3f8c"),a=i("69f3"),s=i("9bf2").f,l=i("7dd0"),u=i("c430"),c=i("83ab"),h="Array Iterator",d=a.set,p=a.getterFor(h);t.exports=l(Array,"Array",(function(t,e){d(this,{type:h,target:n(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");var f=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!u&&c&&"values"!==f.name)try{s(f,"name",{value:"values"})}catch(g){}},e2fa:function(t,e,i){"use strict";e["a"]={props:{tag:{type:String,default:"div"}}}},e330:function(t,e,i){var n=i("40d5"),r=Function.prototype,o=r.bind,a=r.call,s=n&&o.bind(a,a);t.exports=n?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e359:function(t,e,i){"use strict";var n=i("2b0e"),r=i("3980"),o=i("87e8"),a=i("dde5"),s=i("d882"),l=i("0cd3");e["a"]=n["a"].extend({name:"QHeader",mixins:[o["a"]],inject:{layout:{default(){console.error("QHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},data(){return{size:parseInt(this.heightHint,10),revealed:!0}},watch:{value(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset(t){this.__update("offset",t)},reveal(t){!1===t&&this.__updateLocal("revealed",this.value)},revealed(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll"(t){!0===this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed(){return!0===this.reveal||this.layout.view.indexOf("H")>-1||this.$q.platform.is.ios&&!0===this.layout.container},offset(){if(!0!==this.value)return 0;if(!0===this.fixed)return!0===this.revealed?this.size:0;const t=this.size-this.layout.scroll.position;return t>0?t:0},hidden(){return!0!==this.value||!0===this.fixed&&!0!==this.revealed},revealOnFocus(){return!0===this.value&&!0===this.hidden&&!0===this.reveal},classes(){return(!0===this.fixed?"fixed":"absolute")+"-top"+(!0===this.bordered?" q-header--bordered":"")+(!0===this.hidden?" q-header--hidden":"")+(!0!==this.value?" q-layout--prevent-focus":"")},style(){const t=this.layout.rows.top,e={};return"l"===t[0]&&!0===this.layout.left.space&&(e[!0===this.$q.lang.rtl?"right":"left"]=`${this.layout.left.size}px`),"r"===t[2]&&!0===this.layout.right.space&&(e[!0===this.$q.lang.rtl?"left":"right"]=`${this.layout.right.size}px`),e},onEvents(){return{...this.qListeners,focusin:this.__onFocusin,input:s["k"]}}},render(t){const e=Object(a["d"])(this,"default",[]);return!0===this.elevated&&e.push(t("div",{staticClass:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),e.push(t(r["a"],{props:{debounce:0},on:Object(l["b"])(this,"resize",{resize:this.__onResize})})),t("header",{staticClass:"q-header q-layout__section--marginal",class:this.classes,style:this.style,on:this.onEvents},e)},created(){this.layout.instances.header=this,!0===this.value&&this.__update("size",this.size),this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy(){this.layout.instances.header===this&&(this.layout.instances.header=void 0,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize({height:t}){this.__updateLocal("size",t),this.__update("size",t)},__update(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal(t,e){this[t]!==e&&(this[t]=e)},__onFocusin(t){!0===this.revealOnFocus&&this.__updateLocal("revealed",!0),this.$emit("focusin",t)}}})},e391:function(t,e,i){var n=i("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},e3db:function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},e48b:function(t,e,i){"use strict";i.d(e,"a",(function(){return f}));i("5319");var n=i("1c16"),r=i("0831");const o=1e3,a=["start","center","end","start-force","center-force","end-force"],s=Array.prototype.filter;function l(t,e){return t+e}function u(t,e,i,n,o,a,s,l){const u=t===window?document.scrollingElement||document.documentElement:t,c=!0===o?"offsetWidth":"offsetHeight",h={scrollStart:0,scrollViewSize:-s-l,scrollMaxSize:0,offsetStart:-s,offsetEnd:-l};if(!0===o?(t===window?(h.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,h.scrollViewSize+=document.documentElement.clientWidth):(h.scrollStart=u.scrollLeft,h.scrollViewSize+=u.clientWidth),h.scrollMaxSize=u.scrollWidth,!0===a&&(h.scrollStart=(!0===Object(r["g"])()?h.scrollMaxSize-h.scrollViewSize:0)-h.scrollStart)):(t===window?(h.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,h.scrollViewSize+=document.documentElement.clientHeight):(h.scrollStart=u.scrollTop,h.scrollViewSize+=u.clientHeight),h.scrollMaxSize=u.scrollHeight),void 0!==i)for(let r=i.previousElementSibling;null!==r;r=r.previousElementSibling)!1===r.classList.contains("q-virtual-scroll--skip")&&(h.offsetStart+=r[c]);if(void 0!==n)for(let r=n.nextElementSibling;null!==r;r=r.nextElementSibling)!1===r.classList.contains("q-virtual-scroll--skip")&&(h.offsetEnd+=r[c]);if(e!==t){const i=u.getBoundingClientRect(),n=e.getBoundingClientRect();!0===o?(h.offsetStart+=n.left-i.left,h.offsetEnd-=n.width):(h.offsetStart+=n.top-i.top,h.offsetEnd-=n.height),t!==window&&(h.offsetStart+=h.scrollStart),h.offsetEnd+=h.scrollMaxSize-h.offsetStart}return h}function c(t,e,i,n){"end"===e&&(e=(t===window?document.body:t)[!0===i?"scrollWidth":"scrollHeight"]),t===window?!0===i?(!0===n&&(e=(!0===Object(r["g"])()?document.body.scrollWidth-document.documentElement.clientWidth:0)-e),window.scrollTo(e,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,e):!0===i?(!0===n&&(e=(!0===Object(r["g"])()?t.scrollWidth-t.offsetWidth:0)-e),t.scrollLeft=e):t.scrollTop=e}function h(t,e,i,n){if(i>=n)return 0;const r=e.length,a=Math.floor(i/o),s=Math.floor((n-1)/o)+1;let u=t.slice(a,s).reduce(l,0);return i%o!==0&&(u-=e.slice(a*o,i).reduce(l,0)),n%o!==0&&n!==r&&(u-=e.slice(n,s*o).reduce(l,0)),u}const d={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]};function p(t,e){void 0===p.isSupported&&(p.isSupported=void 0!==window.getComputedStyle(document.body).overflowAnchor),!1!==p.isSupported&&void 0!==t&&(cancelAnimationFrame(t._qOverflowAnimationFrame),t._qOverflowAnimationFrame=requestAnimationFrame((()=>{if(void 0===t)return;const i=t.children||[];s.call(i,(t=>t.dataset&&void 0!==t.dataset.qVsAnchor)).forEach((t=>{delete t.dataset.qVsAnchor}));const n=i[e];n&&n.dataset&&(n.dataset.qVsAnchor="")})))}const f=Object.keys(d);e["b"]={props:{virtualScrollHorizontal:Boolean,...d},data(){return{virtualScrollSliceRange:{from:0,to:0}}},watch:{needsSliceRecalc(){this.__setVirtualScrollSize()},needsReset(){this.reset()}},computed:{needsReset(){return["virtualScrollItemSizeComputed","virtualScrollHorizontal"].map((t=>this[t])).join(";")},needsSliceRecalc(){return this.needsReset+";"+["virtualScrollSliceRatioBefore","virtualScrollSliceRatioAfter"].map((t=>this[t])).join(";")},colspanAttr(){return void 0!==this.tableColspan?{colspan:this.tableColspan}:{colspan:100}},virtualScrollItemSizeComputed(){return this.virtualScrollItemSize}},methods:{reset(){this.__resetVirtualScroll(this.prevToIndex,!0)},refresh(t){this.__resetVirtualScroll(void 0===t?this.prevToIndex:t)},scrollTo(t,e){const i=this.__getVirtualScrollTarget();if(void 0===i||null===i||8===i.nodeType)return;const n=u(i,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd);this.__scrollViewSize!==n.scrollViewSize&&this.__setVirtualScrollSize(n.scrollViewSize),this.__setVirtualScrollSliceRange(i,n,Math.min(this.virtualScrollLength-1,Math.max(0,parseInt(t,10)||0)),0,a.indexOf(e)>-1?e:this.prevToIndex>-1&&t>this.prevToIndex?"end":"start")},__onVirtualScrollEvt(){const t=this.__getVirtualScrollTarget();if(void 0===t||null===t||8===t.nodeType)return;const e=u(t,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd),i=this.virtualScrollLength-1,n=e.scrollMaxSize-e.offsetStart-e.offsetEnd-this.virtualScrollPaddingAfter;if(this.prevScrollStart===e.scrollStart)return;if(e.scrollMaxSize<=0)return void this.__setVirtualScrollSliceRange(t,e,0,0);this.__scrollViewSize!==e.scrollViewSize&&this.__setVirtualScrollSize(e.scrollViewSize),this.__updateVirtualScrollSizes(this.virtualScrollSliceRange.from);const r=Math.floor(e.scrollMaxSize-Math.max(e.scrollViewSize,e.offsetEnd)-Math.min(this.virtualScrollSizes[i],e.scrollViewSize/2));if(r>0&&Math.ceil(e.scrollStart)>=r)return void this.__setVirtualScrollSliceRange(t,e,i,e.scrollMaxSize-e.offsetEnd-this.virtualScrollSizesAgg.reduce(l,0));let a=0,s=e.scrollStart-e.offsetStart,c=s;if(s<=n&&s+e.scrollViewSize>=this.virtualScrollPaddingBefore)s-=this.virtualScrollPaddingBefore,a=this.virtualScrollSliceRange.from,c=s;else for(let l=0;s>=this.virtualScrollSizesAgg[l]&&a<i;l++)s-=this.virtualScrollSizesAgg[l],a+=o;while(s>0&&a<i)s-=this.virtualScrollSizes[a],s>-e.scrollViewSize?(a++,c=s):c=this.virtualScrollSizes[a]+s;this.__setVirtualScrollSliceRange(t,e,a,c)},__setVirtualScrollSliceRange(t,e,i,n,r){const o="string"===typeof r&&r.indexOf("-force")>-1,a=!0===o?r.replace("-force",""):r,s=void 0!==a?a:"start";let u=Math.max(0,i-this.virtualScrollSliceSizeComputed[s]),d=u+this.virtualScrollSliceSizeComputed.total;d>this.virtualScrollLength&&(d=this.virtualScrollLength,u=Math.max(0,d-this.virtualScrollSliceSizeComputed.total)),this.prevScrollStart=e.scrollStart;const f=u!==this.virtualScrollSliceRange.from||d!==this.virtualScrollSliceRange.to;if(!1===f&&void 0===a)return void this.__emitScroll(i);const{activeElement:g}=document,m=this.$refs.content;!0===f&&void 0!==m&&m!==g&&!0===m.contains(g)&&(m.addEventListener("focusout",this.__onBlurRefocusFn),setTimeout((()=>{void 0!==m&&m.removeEventListener("focusout",this.__onBlurRefocusFn)}))),p(m,i-u);const v=void 0!==a?this.virtualScrollSizes.slice(u,i).reduce(l,0):0;if(!0===f){const t=d>=this.virtualScrollSliceRange.from&&u<=this.virtualScrollSliceRange.to?this.virtualScrollSliceRange.to:d;this.virtualScrollSliceRange={from:u,to:t},this.virtualScrollPaddingBefore=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,0,u),this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,this.virtualScrollSliceRange.to,this.virtualScrollLength),requestAnimationFrame((()=>{this.virtualScrollSliceRange.to!==d&&this.prevScrollStart===e.scrollStart&&(this.virtualScrollSliceRange={from:this.virtualScrollSliceRange.from,to:d},this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,d,this.virtualScrollLength))}))}requestAnimationFrame((()=>{if(this.prevScrollStart!==e.scrollStart)return;!0===f&&this.__updateVirtualScrollSizes(u);const r=this.virtualScrollSizes.slice(u,i).reduce(l,0),s=r+e.offsetStart+this.virtualScrollPaddingBefore,h=s+this.virtualScrollSizes[i];let d=s+n;if(void 0!==a){const t=r-v,n=e.scrollStart+t;d=!0!==o&&n<s&&h<n+e.scrollViewSize?n:"end"===a?h-e.scrollViewSize:s-("start"===a?0:Math.round((e.scrollViewSize-this.virtualScrollSizes[i])/2))}this.prevScrollStart=d,c(t,d,this.virtualScrollHorizontal,this.$q.lang.rtl),this.__emitScroll(i)}))},__updateVirtualScrollSizes(t){const e=this.$refs.content;if(void 0!==e){const i=s.call(e.children||[],(t=>t.classList&&!1===t.classList.contains("q-virtual-scroll--skip"))),n=i.length,r=!0===this.virtualScrollHorizontal?t=>t.getBoundingClientRect().width:t=>t.offsetHeight;let a,l,u=t;for(let t=0;t<n;){a=r(i[t]),t++;while(t<n&&!0===i[t].classList.contains("q-virtual-scroll--with-prev"))a+=r(i[t]),t++;l=a-this.virtualScrollSizes[u],0!==l&&(this.virtualScrollSizes[u]+=l,this.virtualScrollSizesAgg[Math.floor(u/o)]+=l),u++}}},__resetVirtualScroll(t,e){const i=1*this.virtualScrollItemSizeComputed;!0!==e&&!1!==Array.isArray(this.virtualScrollSizes)||(this.virtualScrollSizes=[]);const n=this.virtualScrollSizes.length;this.virtualScrollSizes.length=this.virtualScrollLength;for(let o=this.virtualScrollLength-1;o>=n;o--)this.virtualScrollSizes[o]=i;const r=Math.floor((this.virtualScrollLength-1)/o);this.virtualScrollSizesAgg=[];for(let a=0;a<=r;a++){let t=0;const e=Math.min((a+1)*o,this.virtualScrollLength);for(let i=a*o;i<e;i++)t+=this.virtualScrollSizes[i];this.virtualScrollSizesAgg.push(t)}this.prevToIndex=-1,this.prevScrollStart=void 0,this.virtualScrollPaddingBefore=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,0,this.virtualScrollSliceRange.from),this.virtualScrollPaddingAfter=h(this.virtualScrollSizesAgg,this.virtualScrollSizes,this.virtualScrollSliceRange.to,this.virtualScrollLength),t>=0?(this.__updateVirtualScrollSizes(this.virtualScrollSliceRange.from),this.$nextTick((()=>{this.scrollTo(t)}))):this.__onVirtualScrollEvt()},__setVirtualScrollSize(t){if(void 0===t&&"undefined"!==typeof window){const e=this.__getVirtualScrollTarget();void 0!==e&&null!==e&&8!==e.nodeType&&(t=u(e,this.__getVirtualScrollEl(),this.$refs.before,this.$refs.after,this.virtualScrollHorizontal,this.$q.lang.rtl,this.virtualScrollStickySizeStart,this.virtualScrollStickySizeEnd).scrollViewSize)}this.__scrollViewSize=t;const e=parseFloat(this.virtualScrollSliceRatioBefore)||0,i=parseFloat(this.virtualScrollSliceRatioAfter)||0,n=1+e+i,r=void 0===t||t<=0?1:Math.ceil(t/this.virtualScrollItemSizeComputed),o=Math.max(1,r,Math.ceil((this.virtualScrollSliceSize>0?this.virtualScrollSliceSize:10)/n));this.virtualScrollSliceSizeComputed={total:Math.ceil(o*n),start:Math.ceil(o*e),center:Math.ceil(o*(.5+e)),end:Math.ceil(o*(1+e)),view:r}},__padVirtualScroll(t,e,i){const n=!0===this.virtualScrollHorizontal?"width":"height",r={["--q-virtual-scroll-item-"+n]:this.virtualScrollItemSizeComputed+"px"};return["tbody"===e?t(e,{staticClass:"q-virtual-scroll__padding",key:"before",ref:"before"},[t("tr",[t("td",{style:{[n]:`${this.virtualScrollPaddingBefore}px`,...r},attrs:this.colspanAttr})])]):t(e,{staticClass:"q-virtual-scroll__padding",key:"before",ref:"before",style:{[n]:`${this.virtualScrollPaddingBefore}px`,...r}}),t(e,{staticClass:"q-virtual-scroll__content",key:"content",ref:"content",attrs:{tabindex:-1}},i),"tbody"===e?t(e,{staticClass:"q-virtual-scroll__padding",key:"after",ref:"after"},[t("tr",[t("td",{style:{[n]:`${this.virtualScrollPaddingAfter}px`,...r},attrs:this.colspanAttr})])]):t(e,{staticClass:"q-virtual-scroll__padding",key:"after",ref:"after",style:{[n]:`${this.virtualScrollPaddingAfter}px`,...r}})]},__emitScroll(t){this.prevToIndex!==t&&(void 0!==this.qListeners["virtual-scroll"]&&this.$emit("virtual-scroll",{index:t,from:this.virtualScrollSliceRange.from,to:this.virtualScrollSliceRange.to-1,direction:t<this.prevToIndex?"decrease":"increase",ref:this}),this.prevToIndex=t)},__onBlurRefocusFn(){void 0!==this.$refs.content&&this.$refs.content.focus()}},created(){this.__setVirtualScrollSize()},activated(){if(!0!==this.shouldActivate)return;const t=this.__getVirtualScrollTarget();void 0!==this.prevScrollStart&&void 0!==t&&null!==t&&8!==t.nodeType?c(t,this.prevScrollStart,this.virtualScrollHorizontal,this.$q.lang.rtl):this.scrollTo(this.prevToIndex)},deactivated(){this.shouldActivate=!0},beforeMount(){this.__onVirtualScrollEvt=Object(n["a"])(this.__onVirtualScrollEvt,!0===this.$q.platform.is.ios?120:35),this.__setVirtualScrollSize()},beforeDestroy(){this.__onVirtualScrollEvt.cancel()}}},e54f:function(t,e,i){},e5cb:function(t,e,i){"use strict";var n=i("d066"),r=i("1a2d"),o=i("9112"),a=i("3a9b"),s=i("d2bb"),l=i("e893"),u=i("aeb0"),c=i("7156"),h=i("e391"),d=i("ab36"),p=i("c770"),f=i("b980"),g=i("83ab"),m=i("c430");t.exports=function(t,e,i,v){var y="stackTraceLimit",b=v?2:1,_=t.split("."),x=_[_.length-1],w=n.apply(null,_);if(w){var S=w.prototype;if(!m&&r(S,"cause")&&delete S.cause,!i)return w;var C=n("Error"),k=e((function(t,e){var i=h(v?e:t,void 0),n=v?new w(t):new w;return void 0!==i&&o(n,"message",i),f&&o(n,"stack",p(n.stack,2)),this&&a(S,this)&&c(n,this,k),arguments.length>b&&d(n,arguments[b]),n}));if(k.prototype=S,"Error"!==x?s?s(k,C):l(k,C,{name:!0}):g&&y in w&&(u(k,w,y),u(k,w,"prepareStackTrace")),l(k,w),!m)try{S.name!==x&&o(S,"name",x),S.constructor=k}catch(M){}return k}}},e683:function(t,e,i){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e704:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"d",(function(){return s})),i.d(e,"a",(function(){return l})),i.d(e,"c",(function(){return u}));let n=[],r=[];function o(t){r=r.filter((e=>e!==t))}function a(t){o(t),r.push(t)}function s(t){o(t),0===r.length&&n.length>0&&(n[n.length-1](),n=[])}function l(t){0===r.length?t():n.push(t)}function u(t){n=n.filter((e=>e!==t))}},e762:function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e,i){n(this,t),this.data=e,this.text=i.text||e,this.options=i};e.default=r},e7a9:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("dde5");e["a"]=n["a"].extend({name:"QBtnGroup",mixin:[r["a"]],props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},computed:{classes(){return["unelevated","outline","flat","rounded","push","stretch","glossy"].filter((t=>!0===this[t])).map((t=>`q-btn-group--${t}`)).join(" ")}},render(t){return t("div",{staticClass:"q-btn-group row no-wrap "+(!0===this.spread?"q-btn-group--spread":"inline"),class:this.classes,on:{...this.qListeners}},Object(o["c"])(this,"default"))}})},e893:function(t,e,i){var n=i("1a2d"),r=i("56ef"),o=i("06cf"),a=i("9bf2");t.exports=function(t,e,i){for(var s=r(e),l=a.f,u=o.f,c=0;c<s.length;c++){var h=s[c];n(t,h)||i&&n(i,h)||l(t,h,u(e,h))}}},e8b2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();e.checksum=p;var r=i("5726"),o=l(r),a=i("e762"),s=l(a);function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var d=function(t){function e(t,i){u(this,e),-1!==t.search(/^[0-9]{11}$/)&&(t+=p(t));var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.displayValue=i.displayValue,i.fontSize>10*i.width?n.fontSize=10*i.width:n.fontSize=i.fontSize,n.guardHeight=i.height+n.fontSize/2+i.textMargin,n}return h(e,t),n(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==p(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),t+="101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(s.default);function p(t){var e,i=0;for(e=1;e<11;e+=2)i+=parseInt(t[e]);for(e=0;e<11;e+=2)i+=3*parseInt(t[e]);return(10-i%10)%10}e.default=d},e8b5:function(t,e,i){var n=i("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},e8c9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("4b23"),o=s(r),a=i("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,i){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.A_START_CHAR+t,i))}return c(e,t),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.A_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},e95a:function(t,e,i){var n=i("b622"),r=i("3f8c"),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},eaac:function(t,e,i){"use strict";i("caad");var n=i("2b0e"),r={computed:{marginalsScope(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,firstPage:this.firstPage,prevPage:this.prevPage,nextPage:this.nextPage,lastPage:this.lastPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{__getTopDiv(t){const e=this.$scopedSlots.top,i=this.$scopedSlots["top-left"],n=this.$scopedSlots["top-right"],r=this.$scopedSlots["top-selection"],o=!0===this.hasSelectionMode&&void 0!==r&&this.rowsSelectedNumber>0,a="q-table__top relative-position row items-center";if(void 0!==e)return t("div",{staticClass:a},[e(this.marginalsScope)]);let s;return!0===o?s=r(this.marginalsScope).slice():(s=[],void 0!==i?s.push(t("div",{staticClass:"q-table-control"},[i(this.marginalsScope)])):this.title&&s.push(t("div",{staticClass:"q-table__control"},[t("div",{staticClass:"q-table__title",class:this.titleClass},this.title)]))),void 0!==n&&(s.push(t("div",{staticClass:"q-table__separator col"})),s.push(t("div",{staticClass:"q-table__control"},[n(this.marginalsScope)]))),0!==s.length?t("div",{staticClass:a},s):void 0}}},o=i("8f8e"),a=i("0016"),s=i("87e8"),l=i("dde5"),u=n["a"].extend({name:"QTh",mixins:[s["a"]],props:{props:Object,autoWidth:Boolean},render(t){const e={...this.qListeners};if(void 0===this.props)return t("th",{on:e,class:!0===this.autoWidth?"q-table--col-auto-width":null},Object(l["c"])(this,"default"));let i,n;const r=this.$vnode.key;if(r){if(i=this.props.colsMap[r],void 0===i)return}else i=this.props.col;if(!0===i.sortable){const e="right"===i.align?"unshift":"push";n=Object(l["d"])(this,"default",[]),n[e](t(a["a"],{props:{name:this.$q.iconSet.table.arrowUp},staticClass:i.__iconClass}))}else n=Object(l["c"])(this,"default");const o=!0===i.sortable?{click:t=>{this.props.sort(i),this.$emit("click",t)}}:{};return t("th",{on:{...e,...o},style:i.headerStyle,class:i.__thClass+(!0===this.autoWidth?" q-table--col-auto-width":"")},n)}}),c=i("0cd3"),h={computed:{headerSelectedValue(){return!0===this.someRowsSelected?null:this.allRowsSelected}},methods:{__getTHead(t){const e=this.__getTHeadTR(t);return!0===this.loading&&void 0===this.$scopedSlots.loading&&e.push(t("tr",{staticClass:"q-table__progress"},[t("th",{staticClass:"relative-position",attrs:{colspan:this.computedColspan}},this.__getProgress(t))])),t("thead",e)},__getTHeadTR(t){const e=this.$scopedSlots.header,i=this.$scopedSlots["header-cell"];if(void 0!==e)return e(this.__getHeaderScope({header:!0})).slice();const n=this.computedCols.map((e=>{const n=this.$scopedSlots[`header-cell-${e.name}`],r=void 0!==n?n:i,o=this.__getHeaderScope({col:e});return void 0!==r?r(o):t(u,{key:e.name,props:{props:o}},e.label)}));if(!0===this.singleSelection&&!0!==this.grid)n.unshift(t("th",{staticClass:"q-table--col-auto-width"},[" "]));else if(!0===this.multipleSelection){const e=this.$scopedSlots["header-selection"],i=void 0!==e?e(this.__getHeaderScope({})):[t(o["a"],{props:{color:this.color,value:this.headerSelectedValue,dark:this.isDark,dense:this.dense},on:Object(c["b"])(this,"inp",{input:this.__onMultipleSelectionSet})})];n.unshift(t("th",{staticClass:"q-table--col-auto-width"},i))}return[t("tr",{style:this.tableHeaderStyle,class:this.tableHeaderClass},n)]},__getHeaderScope(t){return Object.assign(t,{cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap,color:this.color,dark:this.isDark,dense:this.dense}),!0===this.multipleSelection&&(Object.defineProperty(t,"selected",{get:()=>this.headerSelectedValue,set:this.__onMultipleSelectionSet,configurable:!0,enumerable:!0}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t},__onMultipleSelectionSet(t){!0===this.someRowsSelected&&(t=!1),this.__updateSelection(this.computedRows.map(this.getRowKey),this.computedRows,t)}}},d={methods:{__getTBodyTR(t,e,i,n){const r=this.getRowKey(e),a=this.isRowSelected(r);if(void 0!==i)return i(this.__getBodyScope({key:r,row:e,pageIndex:n,__trClass:a?"selected":""}));const s=this.$scopedSlots["body-cell"],l=this.computedCols.map((i=>{const o=this.$scopedSlots[`body-cell-${i.name}`],a=void 0!==o?o:s;return void 0!==a?a(this.__getBodyCellScope({key:r,row:e,pageIndex:n,col:i})):t("td",{class:i.__tdClass(e),style:i.__tdStyle(e)},this.getCellValue(i,e))}));if(!0===this.hasSelectionMode){const i=this.$scopedSlots["body-selection"],s=void 0!==i?i(this.__getBodySelectionScope({key:r,row:e,pageIndex:n})):[t(o["a"],{props:{value:a,color:this.color,dark:this.isDark,dense:this.dense},on:{input:(t,i)=>{this.__updateSelection([r],[e],t,i)}}})];l.unshift(t("td",{staticClass:"q-table--col-auto-width"},s))}const u={key:r,class:{selected:a},on:{}};return void 0!==this.qListeners["row-click"]&&(u.class["cursor-pointer"]=!0,u.on.click=t=>{this.$emit("row-click",t,e,n)}),void 0!==this.qListeners["row-dblclick"]&&(u.class["cursor-pointer"]=!0,u.on.dblclick=t=>{this.$emit("row-dblclick",t,e,n)}),void 0!==this.qListeners["row-contextmenu"]&&(u.class["cursor-pointer"]=!0,u.on.contextmenu=t=>{this.$emit("row-contextmenu",t,e,n)}),t("tr",u,l)},__getTBody(t){const e=this.$scopedSlots.body,i=this.$scopedSlots["top-row"],n=this.$scopedSlots["bottom-row"];let r=this.computedRows.map(((i,n)=>this.__getTBodyTR(t,i,e,n)));return void 0!==i&&(r=i({cols:this.computedCols}).concat(r)),void 0!==n&&(r=r.concat(n({cols:this.computedCols}))),t("tbody",r)},__getVirtualTBodyTR(t){const e=this.$scopedSlots.body;return i=>this.__getTBodyTR(t,i.item,e,i.index)},__getBodyScope(t){return this.__injectBodyCommonScope(t),t.cols=t.cols.map((e=>{const i={...e};return Object.defineProperty(i,"value",{get:()=>this.getCellValue(e,t.row),configurable:!0,enumerable:!0}),i})),t},__getBodyCellScope(t){return this.__injectBodyCommonScope(t),Object.defineProperty(t,"value",{get:()=>this.getCellValue(t.col,t.row),configurable:!0,enumerable:!0}),t},__getBodySelectionScope(t){return this.__injectBodyCommonScope(t),t},__injectBodyCommonScope(t){Object.assign(t,{cols:this.computedCols,colsMap:this.computedColsMap,sort:this.sort,rowIndex:this.firstRowIndex+t.pageIndex,color:this.color,dark:this.isDark,dense:this.dense}),!0===this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:()=>this.isRowSelected(t.key),set:(e,i)=>{this.__updateSelection([t.key],[t.row],e,i)},configurable:!0,enumerable:!0}),Object.defineProperty(t,"expand",{get:()=>this.isRowExpanded(t.key),set:e=>{this.__updateExpanded(t.key,e)},configurable:!0,enumerable:!0})},getCellValue(t,e){const i="function"===typeof t.field?t.field(e):e[t.field];return void 0!==t.format?t.format(i,e):i}}},p=i("ddd8"),f=i("9c40");const g="q-table__bottom row items-center";var m={props:{hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean},computed:{navIcon(){const t=[this.iconFirstPage||this.$q.iconSet.table.firstPage,this.iconPrevPage||this.$q.iconSet.table.prevPage,this.iconNextPage||this.$q.iconSet.table.nextPage,this.iconLastPage||this.$q.iconSet.table.lastPage];return!0===this.$q.lang.rtl?t.reverse():t}},methods:{__getBottomDiv(t){if(!0===this.hideBottom)return;if(!0===this.nothingToDisplay){if(!0===this.hideNoData)return;const e=!0===this.loading?this.loadingLabel||this.$q.lang.table.loading:this.filter?this.noResultsLabel||this.$q.lang.table.noResults:this.noDataLabel||this.$q.lang.table.noData,i=this.$scopedSlots["no-data"],n=void 0!==i?[i({message:e,icon:this.$q.iconSet.table.warning,filter:this.filter})]:[t(a["a"],{staticClass:"q-table__bottom-nodata-icon",props:{name:this.$q.iconSet.table.warning}}),e];return t("div",{staticClass:g+" q-table__bottom--nodata"},n)}const e=this.$scopedSlots.bottom;if(void 0!==e)return t("div",{staticClass:g},[e(this.marginalsScope)]);const i=!0!==this.hideSelectedBanner&&!0===this.hasSelectionMode&&this.rowsSelectedNumber>0?[t("div",{staticClass:"q-table__control"},[t("div",[(this.selectedRowsLabel||this.$q.lang.table.selectedRecords)(this.rowsSelectedNumber)])])]:[];return!0!==this.hidePagination?t("div",{staticClass:g+" justify-end"},this.__getPaginationDiv(t,i)):i.length>0?t("div",{staticClass:g},i):void 0},__getPaginationDiv(t,e){let i;const{rowsPerPage:n}=this.computedPagination,r=this.paginationLabel||this.$q.lang.table.pagination,o=this.$scopedSlots.pagination,a=this.rowsPerPageOptions.length>1;if(e.push(t("div",{staticClass:"q-table__separator col"})),!0===a&&e.push(t("div",{staticClass:"q-table__control"},[t("span",{staticClass:"q-table__bottom-item"},[this.rowsPerPageLabel||this.$q.lang.table.recordsPerPage]),t(p["a"],{staticClass:"q-table__select inline q-table__bottom-item",props:{color:this.color,value:n,options:this.computedRowsPerPageOptions,displayValue:0===n?this.$q.lang.table.allRows:n,dark:this.isDark,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0},on:Object(c["b"])(this,"pgSize",{input:t=>{this.setPagination({page:1,rowsPerPage:t.value})}})})])),void 0!==o)i=o(this.marginalsScope);else if(i=[t("span",0!==n?{staticClass:"q-table__bottom-item"}:{},[n?r(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):r(1,this.filteredSortedRowsNumber,this.computedRowsNumber)])],0!==n&&this.pagesNumber>1){const e={color:this.color,round:!0,dense:!0,flat:!0};!0===this.dense&&(e.size="sm"),this.pagesNumber>2&&i.push(t(f["a"],{key:"pgFirst",props:{...e,icon:this.navIcon[0],disable:this.isFirstPage},on:Object(c["b"])(this,"pgFirst",{click:this.firstPage})})),i.push(t(f["a"],{key:"pgPrev",props:{...e,icon:this.navIcon[1],disable:this.isFirstPage},on:Object(c["b"])(this,"pgPrev",{click:this.prevPage})}),t(f["a"],{key:"pgNext",props:{...e,icon:this.navIcon[2],disable:this.isLastPage},on:Object(c["b"])(this,"pgNext",{click:this.nextPage})})),this.pagesNumber>2&&i.push(t(f["a"],{key:"pgLast",props:{...e,icon:this.navIcon[3],disable:this.isLastPage},on:Object(c["b"])(this,"pgLast",{click:this.lastPage})}))}return e.push(t("div",{staticClass:"q-table__control"},i)),e}}},v=i("eb85"),y={methods:{__getGridHeader(t){const e=!0===this.gridHeader?[t("table",{staticClass:"q-table"},[this.__getTHead(t)])]:!0===this.loading&&void 0===this.$scopedSlots.loading?this.__getProgress(t):void 0;return t("div",{staticClass:"q-table__middle"},e)},__getGridBody(t){const e=void 0!==this.$scopedSlots.item?this.$scopedSlots.item:e=>{const i=e.cols.map((e=>t("div",{staticClass:"q-table__grid-item-row"},[t("div",{staticClass:"q-table__grid-item-title"},[e.label]),t("div",{staticClass:"q-table__grid-item-value"},[e.value])])));if(!0===this.hasSelectionMode){const n=this.$scopedSlots["body-selection"],r=void 0!==n?n(e):[t(o["a"],{props:{value:e.selected,color:this.color,dark:this.isDark,dense:this.dense},on:{input:(t,i)=>{this.__updateSelection([e.key],[e.row],t,i)}}})];i.unshift(t("div",{staticClass:"q-table__grid-item-row"},r),t(v["a"],{props:{dark:this.isDark}}))}const n={staticClass:"q-table__grid-item-card"+this.cardDefaultClass,class:this.cardClass,style:this.cardStyle,on:{}};return void 0===this.qListeners["row-click"]&&void 0===this.qListeners["row-dblclick"]||(n.staticClass+=" cursor-pointer"),void 0!==this.qListeners["row-click"]&&(n.on.click=t=>{this.$emit("row-click",t,e.row,e.pageIndex)}),void 0!==this.qListeners["row-dblclick"]&&(n.on.dblclick=t=>{this.$emit("row-dblclick",t,e.row,e.pageIndex)}),t("div",{staticClass:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3",class:!0===e.selected?"q-table__grid-item--selected":""},[t("div",n,i)])};return t("div",{staticClass:"q-table__grid-content row",class:this.cardContainerClass,style:this.cardContainerStyle},this.computedRows.map(((t,i)=>e(this.__getBodyScope({key:this.getRowKey(t),row:t,pageIndex:i})))))}}},b=i("1c1c"),_=i("b7fa"),x=n["a"].extend({name:"QMarkupTable",mixins:[_["a"],s["a"]],props:{dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean},computed:{classes(){return`q-table--${this.separator}-separator`+(!0===this.isDark?" q-table--dark q-table__card--dark q-dark":"")+(!0===this.dense?" q-table--dense":"")+(!0===this.flat?" q-table--flat":"")+(!0===this.bordered?" q-table--bordered":"")+(!0===this.square?" q-table--square":"")+(!1===this.wrapCells?" q-table--no-wrap":"")}},render(t){return t("div",{staticClass:"q-markup-table q-table__container q-table__card",class:this.classes,on:{...this.qListeners}},[t("table",{staticClass:"q-table"},Object(l["c"])(this,"default"))])}}),w=function(t,e,i){return t("div",{...e,staticClass:"q-table__middle"+(void 0!==e.staticClass?" "+e.staticClass:"")},[t("table",{staticClass:"q-table"},i)])},S=i("e48b"),C=i("f376"),k=i("0831"),M=i("d882");const O={list:b["a"],table:x};var T=n["a"].extend({name:"QVirtualScroll",mixins:[C["b"],s["a"],S["b"]],props:{type:{type:String,default:"list",validator:t=>["list","table","__qtable"].includes(t)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:{default:void 0}},computed:{virtualScrollLength(){return this.itemsSize>=0&&void 0!==this.itemsFn?parseInt(this.itemsSize,10):Array.isArray(this.items)?this.items.length:0},virtualScrollScope(){if(0===this.virtualScrollLength)return[];const t=(t,e)=>({index:this.virtualScrollSliceRange.from+e,item:t});return void 0===this.itemsFn?this.items.slice(this.virtualScrollSliceRange.from,this.virtualScrollSliceRange.to).map(t):this.itemsFn(this.virtualScrollSliceRange.from,this.virtualScrollSliceRange.to-this.virtualScrollSliceRange.from).map(t)},classes(){return"q-virtual-scroll q-virtual-scroll"+(!0===this.virtualScrollHorizontal?"--horizontal":"--vertical")+(void 0!==this.scrollTarget?"":" scroll")},attrs(){return void 0!==this.scrollTarget?void 0:{tabindex:0}}},watch:{virtualScrollLength(){this.__resetVirtualScroll()},scrollTarget(){this.__unconfigureScrollTarget(),this.__configureScrollTarget()}},methods:{__getVirtualScrollEl(){return this.$el},__getVirtualScrollTarget(){return this.__scrollTarget},__configureScrollTarget(){this.__scrollTarget=Object(k["d"])(this.$el,this.scrollTarget),this.__scrollTarget.addEventListener("scroll",this.__onVirtualScrollEvt,M["f"].passive)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__scrollTarget.removeEventListener("scroll",this.__onVirtualScrollEvt,M["f"].passive),this.__scrollTarget=void 0)}},beforeMount(){this.__resetVirtualScroll()},mounted(){this.__configureScrollTarget()},activated(){this.__configureScrollTarget()},deactivated(){this.__unconfigureScrollTarget()},beforeDestroy(){this.__unconfigureScrollTarget()},render(t){if(void 0===this.$scopedSlots.default)return void console.error("QVirtualScroll: default scoped slot is required for rendering",this);let e=this.__padVirtualScroll(t,"list"===this.type?"div":"tbody",this.virtualScrollScope.map(this.$scopedSlots.default));return void 0!==this.$scopedSlots.before&&(e=this.$scopedSlots.before().concat(e)),e=Object(l["a"])(e,this,"after"),"__qtable"===this.type?w(t,{staticClass:this.classes},e):t(O[this.type],{class:this.classes,attrs:this.attrs,props:this.qAttrs,on:{...this.qListeners}},e)}}),A=i("6642");function I(t,e,i){return{transform:!0===e?`translateX(${!0===i.lang.rtl?"-":""}100%) scale3d(${-t},1,1)`:`scale3d(${t},1,1)`}}var P=n["a"].extend({name:"QLinearProgress",mixins:[s["a"],_["a"],Object(A["b"])({xs:2,sm:4,md:6,lg:10,xl:14})],props:{value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,instantFeedback:Boolean},computed:{motion(){return!0===this.indeterminate||!0===this.query},widthReverse(){return this.reverse!==this.query},classes(){return"q-linear-progress"+(void 0!==this.color?` text-${this.color}`:"")+(!0===this.reverse||!0===this.query?" q-linear-progress--reverse":"")+(!0===this.rounded?" rounded-borders":"")},trackStyle(){return I(void 0!==this.buffer?this.buffer:1,this.widthReverse,this.$q)},trackClass(){return`q-linear-progress__track--with${!0===this.instantFeedback?"out":""}-transition q-linear-progress__track--`+(!0===this.isDark?"dark":"light")+(void 0!==this.trackColor?` bg-${this.trackColor}`:"")},modelStyle(){return I(!0===this.motion?1:this.value,this.widthReverse,this.$q)},modelClasses(){return`q-linear-progress__model--with${!0===this.instantFeedback?"out":""}-transition q-linear-progress__model--${!0===this.motion?"in":""}determinate`},stripeStyle(){return{width:100*this.value+"%"}},stripeClass(){return!0===this.reverse?"absolute-right":"absolute-left"},attrs(){return{role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":!0===this.indeterminate?void 0:this.value}}},render(t){const e=[t("div",{staticClass:"q-linear-progress__track absolute-full",style:this.trackStyle,class:this.trackClass}),t("div",{staticClass:"q-linear-progress__model absolute-full",style:this.modelStyle,class:this.modelClasses})];return!0===this.stripe&&!1===this.motion&&e.push(t("div",{staticClass:"q-linear-progress__stripe",style:this.stripeStyle,class:this.stripeClass})),t("div",{style:this.sizeStyle,class:this.classes,attrs:this.attrs,on:{...this.qListeners}},Object(l["a"])(e,this,"default"))}});i("ddb0"),i("d9e2");function E(t,e){return new Date(t)-new Date(e)}var D=i("5ff7"),L={props:{sortMethod:{type:Function,default(t,e,i){const n=this.colList.find((t=>t.name===e));if(void 0===n||void 0===n.field)return t;const r=!0===i?-1:1,o="function"===typeof n.field?t=>n.field(t):t=>t[n.field];return t.sort(((t,e)=>{let i=o(t),a=o(e);return null===i||void 0===i?-1*r:null===a||void 0===a?1*r:void 0!==n.sort?n.sort(i,a,t,e)*r:!0===Object(D["c"])(i)&&!0===Object(D["c"])(a)?(i-a)*r:!0===Object(D["a"])(i)&&!0===Object(D["a"])(a)?E(i,a)*r:"boolean"===typeof i&&"boolean"===typeof a?(i-a)*r:([i,a]=[i,a].map((t=>(t+"").toLocaleString().toLowerCase())),i<a?-1*r:i===a?0:r)}))}},columnSortOrder:{type:String,validator:t=>"ad"===t||"da"===t,default:"ad"}},computed:{columnToSort(){const{sortBy:t}=this.computedPagination;if(t)return this.colList.find((e=>e.name===t))||null}},methods:{sort(t){let e=this.columnSortOrder;if(!0===Object(D["d"])(t))t.sortOrder&&(e=t.sortOrder),t=t.name;else{const i=this.colList.find((e=>e.name===t));void 0!==i&&i.sortOrder&&(e=i.sortOrder)}let{sortBy:i,descending:n}=this.computedPagination;i!==t?(i=t,n="da"===e):!0===this.binaryStateSort?n=!n:!0===n?"ad"===e?i=null:n=!1:"ad"===e?n=!0:i=null,this.setPagination({sortBy:i,descending:n,page:1})}}},j={props:{filter:[String,Object],filterMethod:{type:Function,default(t,e,i=this.computedCols,n=this.getCellValue){const r=e?e.toLowerCase():"";return t.filter((t=>i.some((e=>{const i=n(e,t)+"",o="undefined"===i||"null"===i?"":i.toLowerCase();return-1!==o.indexOf(r)}))))}}},watch:{filter:{handler(){this.$nextTick((()=>{this.setPagination({page:1},!0)}))},deep:!0}}};function R(t,e){for(const i in e)if(e[i]!==t[i])return!1;return!0}function B(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var F={props:{pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]}},computed:{computedPagination(){const t=void 0!==this.qListeners["update:pagination"]?{...this.innerPagination,...this.pagination}:this.innerPagination;return B(t)},firstRowIndex(){const{page:t,rowsPerPage:e}=this.computedPagination;return(t-1)*e},lastRowIndex(){const{page:t,rowsPerPage:e}=this.computedPagination;return t*e},isFirstPage(){return 1===this.computedPagination.page},pagesNumber(){return 0===this.computedPagination.rowsPerPage?1:Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions(){const t=this.rowsPerPageOptions.includes(this.innerPagination.rowsPerPage)?this.rowsPerPageOptions:[this.innerPagination.rowsPerPage].concat(this.rowsPerPageOptions);return t.map((t=>({label:0===t?this.$q.lang.table.allRows:""+t,value:t})))}},watch:{pagesNumber(t,e){if(t===e)return;const i=this.computedPagination.page;t&&!i?this.setPagination({page:1}):t<i&&this.setPagination({page:t})}},methods:{__sendServerRequest(t){this.requestServerInteraction({pagination:t,filter:this.filter})},setPagination(t,e){const i=B({...this.computedPagination,...t});R(this.computedPagination,i)?!0===this.isServerSide&&!0===e&&this.__sendServerRequest(i):!0!==this.isServerSide?void 0!==this.pagination&&void 0!==this.qListeners["update:pagination"]?this.$emit("update:pagination",i):this.innerPagination=i:this.__sendServerRequest(i)},firstPage(){this.setPagination({page:1})},prevPage(){const{page:t}=this.computedPagination;t>1&&this.setPagination({page:t-1})},nextPage(){const{page:t,rowsPerPage:e}=this.computedPagination;this.lastRowIndex>0&&t*e<this.computedRowsNumber&&this.setPagination({page:t+1})},lastPage(){this.setPagination({page:this.pagesNumber})}},created(){void 0!==this.qListeners["update:pagination"]&&this.$emit("update:pagination",{...this.computedPagination})}},N={props:{selection:{type:String,default:"none",validator:t=>["single","multiple","none"].includes(t)},selected:{type:Array,default:()=>[]}},computed:{selectedKeys(){const t={};return this.selected.map(this.getRowKey).forEach((e=>{t[e]=!0})),t},hasSelectionMode(){return"none"!==this.selection},singleSelection(){return"single"===this.selection},multipleSelection(){return"multiple"===this.selection},allRowsSelected(){return this.computedRows.length>0&&this.computedRows.every((t=>!0===this.selectedKeys[this.getRowKey(t)]))},someRowsSelected(){return!0!==this.allRowsSelected&&this.computedRows.some((t=>!0===this.selectedKeys[this.getRowKey(t)]))},rowsSelectedNumber(){return this.selected.length}},methods:{isRowSelected(t){return!0===this.selectedKeys[t]},clearSelection(){this.$emit("update:selected",[])},__updateSelection(t,e,i,n){this.$emit("selection",{rows:e,added:i,keys:t,evt:n});const r=!0===this.singleSelection?!0===i?e:[]:!0===i?this.selected.concat(e):this.selected.filter((e=>!1===t.includes(this.getRowKey(e))));this.$emit("update:selected",r)}}};function z(t){return Array.isArray(t)?t.slice():[]}var V={props:{expanded:Array},data(){return{innerExpanded:z(this.expanded)}},watch:{expanded(t){this.innerExpanded=z(t)}},methods:{isRowExpanded(t){return this.innerExpanded.includes(t)},setExpanded(t){void 0!==this.expanded?this.$emit("update:expanded",t):this.innerExpanded=t},__updateExpanded(t,e){const i=this.innerExpanded.slice(),n=i.indexOf(t);!0===e?-1===n&&(i.push(t),this.setExpanded(i)):-1!==n&&(i.splice(n,1),this.setExpanded(i))}}},q={props:{visibleColumns:Array},computed:{colList(){if(void 0!==this.columns)return this.columns;const t=this.data[0];return void 0!==t?Object.keys(t).map((e=>({name:e,label:e.toUpperCase(),field:e,align:Object(D["c"])(t[e])?"right":"left",sortable:!0}))):[]},computedCols(){const{sortBy:t,descending:e}=this.computedPagination,i=void 0!==this.visibleColumns?this.colList.filter((t=>!0===t.required||!0===this.visibleColumns.includes(t.name))):this.colList;return i.map((i=>{const n=i.align||"right",r=`text-${n}`;return{...i,align:n,__iconClass:`q-table__sort-icon q-table__sort-icon--${n}`,__thClass:r+(void 0!==i.headerClasses?" "+i.headerClasses:"")+(!0===i.sortable?" sortable":"")+(i.name===t?" sorted "+(!0===e?"sort-desc":""):""),__tdStyle:void 0!==i.style?"function"!==typeof i.style?()=>i.style:i.style:()=>null,__tdClass:void 0!==i.classes?"function"!==typeof i.classes?()=>r+" "+i.classes:t=>r+" "+i.classes(t):()=>r}}))},computedColsMap(){const t={};return this.computedCols.forEach((e=>{t[e.name]=e})),t},computedColspan(){return void 0!==this.tableColspan?this.tableColspan:this.computedCols.length+(!0===this.hasSelectionMode?1:0)}}},$=i("582c");let H=0;var G={props:{fullscreen:Boolean,noRouteFullscreenExit:Boolean},data(){return{inFullscreen:!1}},watch:{$route(){!0!==this.noRouteFullscreenExit&&this.exitFullscreen()},fullscreen(t){this.inFullscreen!==t&&this.toggleFullscreen()},inFullscreen(t){this.$emit("update:fullscreen",t),this.$emit("fullscreen",t)}},methods:{toggleFullscreen(){!0===this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen(){!0!==this.inFullscreen&&(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),H++,1===H&&document.body.classList.add("q-body--fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},$["a"].add(this.__historyFullscreen))},exitFullscreen(){!0===this.inFullscreen&&(void 0!==this.__historyFullscreen&&($["a"].remove(this.__historyFullscreen),this.__historyFullscreen=void 0),this.container.replaceChild(this.$el,this.fullscreenFillerNode),this.inFullscreen=!1,H=Math.max(0,H-1),0===H&&(document.body.classList.remove("q-body--fullscreen-mixin"),void 0!==this.$el.scrollIntoView&&setTimeout((()=>{this.$el.scrollIntoView()}))))}},beforeMount(){this.fullscreenFillerNode=document.createElement("span")},mounted(){!0===this.fullscreen&&this.setFullscreen()},beforeDestroy(){this.exitFullscreen()}};const W={};S["a"].forEach((t=>{W[t]={}}));e["a"]=n["a"].extend({name:"QTable",mixins:[_["a"],s["a"],G,r,h,d,m,y,L,j,F,N,V,q],props:{data:{type:Array,default:()=>[]},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,binaryStateSort:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:t=>["horizontal","vertical","cell","none"].includes(t)},wrapCells:Boolean,virtualScroll:Boolean,...W,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object]},data(){return{innerPagination:Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:this.rowsPerPageOptions.length>0?this.rowsPerPageOptions[0]:5},this.pagination)}},watch:{needsReset(){!0===this.hasVirtScroll&&void 0!==this.$refs.virtScroll&&this.$refs.virtScroll.reset()}},computed:{getRowKey(){return"function"===typeof this.rowKey?this.rowKey:t=>t[this.rowKey]},hasVirtScroll(){return!0!==this.grid&&!0===this.virtualScroll},needsReset(){return["tableStyle","tableClass","tableHeaderStyle","tableHeaderClass","__containerClass"].map((t=>this[t])).join(";")},filteredSortedRows(){let t=this.data;if(!0===this.isServerSide||0===t.length)return t;const{sortBy:e,descending:i}=this.computedPagination;return this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),void 0!==this.columnToSort&&(t=this.sortMethod(this.data===t?t.slice():t,e,i)),t},filteredSortedRowsNumber(){return this.filteredSortedRows.length},computedRows(){let t=this.filteredSortedRows;if(!0===this.isServerSide)return t;const{rowsPerPage:e}=this.computedPagination;return 0!==e&&(0===this.firstRowIndex&&this.data!==t?t.length>this.lastRowIndex&&(t=t.slice(0,this.lastRowIndex)):t=t.slice(this.firstRowIndex,this.lastRowIndex)),t},computedRowsNumber(){return!0===this.isServerSide?this.computedPagination.rowsNumber||0:this.filteredSortedRowsNumber},nothingToDisplay(){return 0===this.computedRows.length},isServerSide(){return void 0!==this.computedPagination.rowsNumber},cardDefaultClass(){return" q-table__card"+(!0===this.isDark?" q-table__card--dark q-dark":"")+(!0===this.square?" q-table--square":"")+(!0===this.flat?" q-table--flat":"")+(!0===this.bordered?" q-table--bordered":"")},__containerClass(){return`q-table__container q-table--${this.separator}-separator column no-wrap`+(!0===this.grid?" q-table--grid":this.cardDefaultClass)+(!0===this.isDark?" q-table--dark":"")+(!0===this.dense?" q-table--dense":"")+(!1===this.wrapCells?" q-table--no-wrap":"")+(!0===this.inFullscreen?" fullscreen scroll":"")},containerClass(){return this.__containerClass+(!0===this.loading?" q-table--loading":"")},virtProps(){const t={};return S["a"].forEach((e=>{t[e]=this[e]})),void 0===t.virtualScrollItemSize&&(t.virtualScrollItemSize=!0===this.dense?28:48),t}},render(t){const e=[this.__getTopDiv(t)],i={staticClass:this.containerClass};return!0===this.grid?e.push(this.__getGridHeader(t)):Object.assign(i,{class:this.cardClass,style:this.cardStyle}),e.push(this.__getBody(t),this.__getBottomDiv(t)),!0===this.loading&&void 0!==this.$scopedSlots.loading&&e.push(this.$scopedSlots.loading()),t("div",i,e)},methods:{requestServerInteraction(t={}){this.$nextTick((()=>{this.$emit("request",{pagination:t.pagination||this.computedPagination,filter:t.filter||this.filter,getCellValue:this.getCellValue})}))},resetVirtualScroll(){!0===this.hasVirtScroll&&this.$refs.virtScroll.reset()},__getBody(t){if(!0===this.grid)return this.__getGridBody(t);const e=!0!==this.hideHeader?this.__getTHead(t):null;if(!0===this.hasVirtScroll){const i=this.$scopedSlots["top-row"],n=this.$scopedSlots["bottom-row"],r={default:this.__getVirtualTBodyTR(t)};if(void 0!==i){const n=t("tbody",i({cols:this.computedCols}));r.before=null===e?()=>[n]:()=>[e].concat(n)}else null!==e&&(r.before=()=>e);return void 0!==n&&(r.after=()=>t("tbody",n({cols:this.computedCols}))),t(T,{ref:"virtScroll",props:{...this.virtProps,items:this.computedRows,type:"__qtable",tableColspan:this.computedColspan},on:Object(c["b"])(this,"vs",{"virtual-scroll":this.__onVScroll}),class:this.tableClass,style:this.tableStyle,scopedSlots:r})}return w(t,{staticClass:"scroll",class:this.tableClass,style:this.tableStyle},[e,this.__getTBody(t)])},scrollTo(t,e){if(void 0!==this.$refs.virtScroll)return void this.$refs.virtScroll.scrollTo(t,e);t=parseInt(t,10);const i=this.$el.querySelector(`tbody tr:nth-of-type(${t+1})`);if(null!==i){const e=this.$el.querySelector(".q-table__middle.scroll"),{offsetTop:n}=i,r=n<e.scrollTop?"decrease":"increase";e.scrollTop=n,this.$emit("virtual-scroll",{index:t,from:0,to:this.pagination.rowsPerPage-1,direction:r})}},__onVScroll(t){this.$emit("virtual-scroll",t)},__getProgress(t){return[t(P,{staticClass:"q-table__linear-progress",props:{color:this.color,dark:this.isDark,indeterminate:!0,trackColor:"transparent"}})]}}})},eac5:function(t,e,i){var n=i("861d"),r=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&r(t)===t}},eb85:function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("87e8");const a={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},s={xs:2,sm:4,md:8,lg:16,xl:24};e["a"]=n["a"].extend({name:"QSeparator",mixins:[r["a"],o["a"]],props:{spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},computed:{orientation(){return!0===this.vertical?"vertical":"horizontal"},classPrefix(){return` q-separator--${this.orientation}`},insetClass(){return!1!==this.inset?`${this.classPrefix}-${a[this.inset]}`:""},classes(){return`q-separator${this.classPrefix}${this.insetClass}`+(void 0!==this.color?` bg-${this.color}`:"")+(!0===this.isDark?" q-separator--dark":"")},style(){const t={};if(void 0!==this.size&&(t[!0===this.vertical?"width":"height"]=this.size),!1!==this.spaced){const e=!0===this.spaced?`${s.md}px`:this.spaced in s?`${s[this.spaced]}px`:this.spaced,i=!0===this.vertical?["Left","Right"]:["Top","Bottom"];t[`margin${i[0]}`]=t[`margin${i[1]}`]=e}return t},attrs(){return{"aria-orientation":this.orientation}}},render(t){return t("hr",{staticClass:"q-separator",class:this.classes,style:this.style,attrs:this.attrs,on:{...this.qListeners}})}})},ebb5:function(t,e,i){"use strict";var n,r,o,a=i("a981"),s=i("83ab"),l=i("da84"),u=i("1626"),c=i("861d"),h=i("1a2d"),d=i("f5df"),p=i("0d51"),f=i("9112"),g=i("cb2d"),m=i("9bf2").f,v=i("3a9b"),y=i("e163"),b=i("d2bb"),_=i("b622"),x=i("90e3"),w=i("69f3"),S=w.enforce,C=w.get,k=l.Int8Array,M=k&&k.prototype,O=l.Uint8ClampedArray,T=O&&O.prototype,A=k&&y(k),I=M&&y(M),P=Object.prototype,E=l.TypeError,D=_("toStringTag"),L=x("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",R=a&&!!b&&"Opera"!==d(l.opera),B=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},z=function(t){if(!c(t))return!1;var e=d(t);return"DataView"===e||h(F,e)||h(N,e)},V=function(t){var e=y(t);if(c(e)){var i=C(e);return i&&h(i,j)?i[j]:V(e)}},q=function(t){if(!c(t))return!1;var e=d(t);return h(F,e)||h(N,e)},$=function(t){if(q(t))return t;throw E("Target is not a typed array")},H=function(t){if(u(t)&&(!b||v(A,t)))return t;throw E(p(t)+" is not a typed array constructor")},G=function(t,e,i,n){if(s){if(i)for(var r in F){var o=l[r];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(a){try{o.prototype[t]=e}catch(u){}}}I[t]&&!i||g(I,t,i?e:R&&M[t]||e,n)}},W=function(t,e,i){var n,r;if(s){if(b){if(i)for(n in F)if(r=l[n],r&&h(r,t))try{delete r[t]}catch(o){}if(A[t]&&!i)return;try{return g(A,t,i?e:R&&A[t]||e)}catch(o){}}for(n in F)r=l[n],!r||r[t]&&!i||g(r,t,e)}};for(n in F)r=l[n],o=r&&r.prototype,o?S(o)[j]=r:R=!1;for(n in N)r=l[n],o=r&&r.prototype,o&&(S(o)[j]=r);if((!R||!u(A)||A===Function.prototype)&&(A=function(){throw E("Incorrect invocation")},R))for(n in F)l[n]&&b(l[n],A);if((!R||!I||I===P)&&(I=A.prototype,R))for(n in F)l[n]&&b(l[n].prototype,I);if(R&&y(T)!==I&&b(T,I),s&&!h(I,D))for(n in B=!0,m(I,D,{get:function(){return c(this)?this[L]:void 0}}),F)l[n]&&f(l[n],L,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:B&&L,aTypedArray:$,aTypedArrayConstructor:H,exportTypedArrayMethod:G,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:V,isView:z,isTypedArray:q,TypedArray:A,TypedArrayPrototype:I}},ec5d:function(t,e,i){"use strict";i.d(e,"b",(function(){return r}));i("5319");var n=i("2b0e"),r={isoName:"en-us",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,i){return t+"-"+e+" of "+i},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},o=i("0967");function a(){if(!0===o["e"])return;const t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}const s={getLocale:a,install(t,e,i){const s=i||r;this.set=(e=r,i)=>{const n={...e,rtl:!0===e.rtl,getLocale:a};if(!0===o["e"]){if(void 0===i)return void console.error("SSR ERROR: second param required: Quasar.lang.set(lang, ssrContext)");const t=!0===n.rtl?"rtl":"ltr",e=`lang=${n.isoName} dir=${t}`;n.set=i.$q.lang.set,i.Q_HTML_ATTRS=void 0!==i.Q_PREV_LANG?i.Q_HTML_ATTRS.replace(i.Q_PREV_LANG,e):e,i.Q_PREV_LANG=e,i.$q.lang=n}else{if(!1===o["c"]){const t=document.documentElement;t.setAttribute("dir",!0===n.rtl?"rtl":"ltr"),t.setAttribute("lang",n.isoName)}n.set=this.set,t.lang=this.props=n,this.isoName=n.isoName,this.nativeName=n.nativeName}},!0===o["e"]?(e.server.push(((t,e)=>{t.lang={},t.lang.set=t=>{this.set(t,e.ssr)},t.lang.set(s)})),this.isoName=s.isoName,this.nativeName=s.nativeName,this.props=s):(n["a"].util.defineReactive(t,"lang",{}),this.set(s))}};e["a"]=s},ed3f:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("4b23"),o=s(r),a=i("f08e");function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(t,i){return l(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a.C_START_CHAR+t,i))}return c(e,t),n(e,[{key:"valid",value:function(){return new RegExp("^"+a.C_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=h},ed5e:function(t,e,i){"use strict";i("ddb0");var n=i("2b0e"),r=i("0831"),o=i("d882");const{passive:a}=o["f"];e["a"]=n["a"].extend({name:"QScrollObserver",props:{debounce:[String,Number],horizontal:Boolean,scrollTarget:{default:void 0}},render:o["g"],data(){return{pos:0,dir:!0===this.horizontal?"right":"down",dirChanged:!1,dirChangePos:0}},watch:{scrollTarget(){this.__unconfigureScrollTarget(),this.__configureScrollTarget()}},methods:{getPosition(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger(t){if(!0===t||0===this.debounce||"0"===this.debounce)this.__emit();else if(void 0===this.clearTimer){const[t,e]=this.debounce?[setTimeout(this.__emit,this.debounce),clearTimeout]:[requestAnimationFrame(this.__emit),cancelAnimationFrame];this.clearTimer=()=>{e(t),this.clearTimer=void 0}}},__emit(){void 0!==this.clearTimer&&this.clearTimer();const t=!0===this.horizontal?r["a"]:r["c"],e=Math.max(0,t(this.__scrollTarget)),i=e-this.pos,n=!0===this.horizontal?i<0?"left":"right":i<0?"up":"down";this.dirChanged=this.dir!==n,this.dirChanged&&(this.dir=n,this.dirChangePos=this.pos),this.pos=e,this.$emit("scroll",this.getPosition())},__configureScrollTarget(){this.__scrollTarget=Object(r["d"])(this.$el.parentNode,this.scrollTarget),this.__scrollTarget.addEventListener("scroll",this.trigger,a),this.trigger(!0)},__unconfigureScrollTarget(){void 0!==this.__scrollTarget&&(this.__scrollTarget.removeEventListener("scroll",this.trigger,a),this.__scrollTarget=void 0)}},mounted(){this.__configureScrollTarget()},beforeDestroy(){void 0!==this.clearTimer&&this.clearTimer(),this.__unconfigureScrollTarget()}})},edd0:function(t,e,i){var n=i("13d2"),r=i("9bf2");t.exports=function(t,e,i){return i.get&&n(i.get,e,{getter:!0}),i.set&&n(i.set,e,{setter:!0}),r.f(t,e,i)}},ee89:function(t,e,i){"use strict";var n=i("2b0e"),r=(i("ddb0"),i("2b3d"),i("9861"),i("9c40")),o=i("0016"),a=i("0d59"),s=i("87e8"),l=i("6642"),u=i("dde5"),c=i("7937");const h=50,d=2*h,p=d*Math.PI,f=Math.round(1e3*p)/1e3;var g=n["a"].extend({name:"QCircularProgress",mixins:[s["a"],l["a"]],props:{value:{type:Number,default:0},min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,thickness:{type:Number,default:.2,validator:t=>t>=0&&t<=1},angle:{type:Number,default:0},indeterminate:Boolean,showValue:Boolean,reverse:Boolean,instantFeedback:Boolean},computed:{normalizedValue(){return Object(c["a"])(this.value,this.min,this.max)},svgStyle(){const t=!0===this.$q.lang.rtl?-this.angle:this.angle;return{transform:this.reverse!==(!0===this.$q.lang.rtl)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`:`rotate3d(0, 0, 1, ${t-90}deg)`}},circleStyle(){if(!0!==this.instantFeedback&&!0!==this.indeterminate)return{transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},viewBox(){return d/(1-this.thickness/2)},viewBoxAttr(){return`${this.viewBox/2} ${this.viewBox/2} ${this.viewBox} ${this.viewBox}`},strokeDashOffset(){const t=1-(this.normalizedValue-this.min)/(this.max-this.min);return t*p},strokeWidth(){return this.thickness/2*this.viewBox},attrs(){return{role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":!0===this.indeterminate?void 0:this.normalizedValue}}},methods:{__getCircle(t,{thickness:e,offset:i,color:n,cls:r}){return t("circle",{staticClass:"q-circular-progress__"+r,class:void 0!==n?`text-${n}`:null,style:this.circleStyle,attrs:{fill:"transparent",stroke:"currentColor","stroke-width":e,"stroke-dasharray":f,"stroke-dashoffset":i,cx:this.viewBox,cy:this.viewBox,r:h}})}},render(t){const e=[];void 0!==this.centerColor&&"transparent"!==this.centerColor&&e.push(t("circle",{staticClass:"q-circular-progress__center",class:`text-${this.centerColor}`,attrs:{fill:"currentColor",r:h-this.strokeWidth/2,cx:this.viewBox,cy:this.viewBox}})),void 0!==this.trackColor&&"transparent"!==this.trackColor&&e.push(this.__getCircle(t,{cls:"track",thickness:this.strokeWidth,offset:0,color:this.trackColor})),e.push(this.__getCircle(t,{cls:"circle",thickness:this.strokeWidth,offset:this.strokeDashOffset,color:this.color}));const i=[t("svg",{staticClass:"q-circular-progress__svg",style:this.svgStyle,attrs:{focusable:"false",viewBox:this.viewBoxAttr,"aria-hidden":"true"}},e)];return!0===this.showValue&&i.push(t("div",{staticClass:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:this.fontSize}},void 0!==this.$scopedSlots.default?this.$scopedSlots.default():[t("div",[this.normalizedValue])])),t("div",{staticClass:"q-circular-progress",class:`q-circular-progress--${!0===this.indeterminate?"in":""}determinate`,style:this.sizeStyle,on:{...this.qListeners},attrs:this.attrs},Object(u["b"])(i,this,"internal"))}}),m=i("cc78"),v=i("b7fa"),y=i("d882"),b=i("0cd3"),_=n["a"].extend({name:"QUploaderBase",mixins:[v["a"],m["b"]],props:{label:String,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,noThumbnails:Boolean,autoUpload:Boolean,hideUploadBtn:Boolean,disable:Boolean,readonly:Boolean},provide(){return{__qUploaderGetInput:this.__getInputControl}},data(){return{files:[],queuedFiles:[],uploadedFiles:[],dnd:!1,expanded:!1,uploadSize:0,uploadedSize:0}},watch:{isUploading(t,e){!1===e&&!0===t?this.$emit("start"):!0===e&&!1===t&&this.$emit("finish")}},computed:{canUpload(){return!0===this.editable&&!0!==this.isBusy&&!0!==this.isUploading&&this.queuedFiles.length>0},canAddFiles(){return!0===this.editable&&!0!==this.isUploading&&(!0===this.multiple||0===this.queuedFiles.length)&&(void 0===this.maxFiles||this.files.length<this.maxFilesNumber)&&(void 0===this.maxTotalSize||this.uploadSize<this.maxTotalSizeNumber)},uploadProgress(){return 0===this.uploadSize?0:this.uploadedSize/this.uploadSize},uploadProgressLabel(){return this.__getProgressLabel(this.uploadProgress)},uploadedSizeLabel(){return Object(c["c"])(this.uploadedSize)},uploadSizeLabel(){return Object(c["c"])(this.uploadSize)},colorClass(){const t=[];return void 0!==this.color&&t.push(`bg-${this.color}`),void 0!==this.textColor&&t.push(`text-${this.textColor}`),t.join(" ")},editable(){return!0!==this.disable&&!0!==this.readonly}},methods:{reset(){this.disable||(this.abort(),this.uploadedSize=0,this.uploadSize=0,this.__revokeImgURLs(),this.files=[],this.queuedFiles=[],this.uploadedFiles=[])},removeUploadedFiles(){this.__removeFiles(["uploaded"],(()=>{this.uploadedFiles=[]}))},removeQueuedFiles(){this.__removeFiles(["idle","failed"],(({size:t})=>{this.uploadSize-=t,this.queuedFiles=[]}))},__removeFiles(t,e){if(!0===this.disable)return;const i={files:[],size:0},n=this.files.filter((e=>-1===t.indexOf(e.__status)||(i.size+=e.size,i.files.push(e),void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src),!1)));i.files.length>0&&(this.files=n,void 0!==e&&e(i),this.$emit("removed",i.files))},removeFile(t){this.disable||("uploaded"===t.__status?this.uploadedFiles=this.uploadedFiles.filter((e=>e.__key!==t.__key)):"uploading"===t.__status?t.__abort():this.uploadSize-=t.size,this.files=this.files.filter((e=>e.__key!==t.__key||(void 0!==e.__img&&window.URL.revokeObjectURL(e.__img.src),!1))),this.queuedFiles=this.queuedFiles.filter((e=>e.__key!==t.__key)),this.$emit("removed",[t]))},__revokeImgURLs(){this.files.forEach((t=>{void 0!==t.__img&&window.URL.revokeObjectURL(t.__img.src)}))},__getFileInput(){return this.$refs.input||this.$el.getElementsByClassName("q-uploader__input")[0]},__getProgressLabel(t){return(100*t).toFixed(2)+"%"},__updateFile(t,e,i){if(t.__status=e,"idle"===e)return t.__uploaded=0,t.__progress=0,t.__sizeLabel=Object(c["c"])(t.size),void(t.__progressLabel="0.00%");"failed"!==e?(t.__uploaded="uploaded"===e?t.size:i,t.__progress="uploaded"===e?1:Math.min(.9999,t.__uploaded/t.size),t.__progressLabel=this.__getProgressLabel(t.__progress),this.$forceUpdate()):this.$forceUpdate()},__addFiles(t,e){const i=this.__processFiles(t,e,this.files,!0);if(void 0===i)return;const n=this.__getFileInput();void 0!==n&&(n.value=""),i.forEach((t=>{if(this.__updateFile(t,"idle"),this.uploadSize+=t.size,!0!==this.noThumbnails&&t.type.toUpperCase().startsWith("IMAGE")){const e=new Image;e.src=window.URL.createObjectURL(t),t.__img=e}})),this.files=this.files.concat(i),this.queuedFiles=this.queuedFiles.concat(i),this.$emit("added",i),!0===this.autoUpload&&this.upload()},__getBtn(t,e,i,n){if(!0===e)return t(r["a"],{props:{type:"a",icon:this.$q.iconSet.uploader[i],flat:!0,dense:!0},on:{click:"add"===i?this.pickFiles:n}},"add"===i?this.__getInputControl(t):null)},__getInputControl(t){return[t("input",{ref:"input",staticClass:"q-uploader__input overflow-hidden absolute-full",attrs:{tabindex:-1,type:"file",title:"",accept:this.accept,capture:this.capture,...!0===this.multiple?{multiple:!0}:{}},on:Object(b["b"])(this,"input",{mousedown:y["k"],click:this.pickFiles,change:this.__addFiles})})]},__getHeader(t){return void 0!==this.$scopedSlots.header?this.$scopedSlots.header(this):[t("div",{staticClass:"q-uploader__header-content column"},[t("div",{staticClass:"flex flex-center no-wrap q-gutter-xs"},[this.__getBtn(t,this.queuedFiles.length>0,"removeQueue",this.removeQueuedFiles),this.__getBtn(t,this.uploadedFiles.length>0,"removeUploaded",this.removeUploadedFiles),!0===this.isUploading?t(a["a"],{staticClass:"q-uploader__spinner"}):null,t("div",{staticClass:"col column justify-center"},[void 0!==this.label?t("div",{staticClass:"q-uploader__title"},[this.label]):null,t("div",{staticClass:"q-uploader__subtitle"},[this.uploadSizeLabel+" / "+this.uploadProgressLabel])]),this.__getBtn(t,this.canAddFiles,"add",this.pickFiles),this.__getBtn(t,!1===this.hideUploadBtn&&!0===this.canUpload,"upload",this.upload),this.__getBtn(t,this.isUploading,"clear",this.abort)])])]},__getList(t){return void 0!==this.$scopedSlots.list?this.$scopedSlots.list(this):this.files.map((e=>t("div",{key:e.__key,staticClass:"q-uploader__file relative-position",class:{"q-uploader__file--img":!0!==this.noThumbnails&&void 0!==e.__img,"q-uploader__file--failed":"failed"===e.__status,"q-uploader__file--uploaded":"uploaded"===e.__status},style:!0!==this.noThumbnails&&void 0!==e.__img?{backgroundImage:'url("'+e.__img.src+'")'}:null},[t("div",{staticClass:"q-uploader__file-header row flex-center no-wrap"},["failed"===e.__status?t(o["a"],{staticClass:"q-uploader__file-status",props:{name:this.$q.iconSet.type.negative,color:"negative"}}):null,t("div",{staticClass:"q-uploader__file-header-content col"},[t("div",{staticClass:"q-uploader__title"},[e.name]),t("div",{staticClass:"q-uploader__subtitle row items-center no-wrap"},[e.__sizeLabel+" / "+e.__progressLabel])]),"uploading"===e.__status?t(g,{props:{value:e.__progress,min:0,max:1,indeterminate:0===e.__progress}}):t(r["a"],{props:{round:!0,dense:!0,flat:!0,icon:this.$q.iconSet.uploader["uploaded"===e.__status?"done":"clear"]},on:{click:()=>{this.removeFile(e)}}})])])))}},beforeDestroy(){!0===this.isUploading&&this.abort(),this.files.length>0&&this.__revokeImgURLs()},render(t){const e=[t("div",{staticClass:"q-uploader__header",class:this.colorClass},this.__getHeader(t)),t("div",{staticClass:"q-uploader__list scroll"},this.__getList(t)),this.__getDnd(t,"uploader")];return!0===this.isBusy&&e.push(t("div",{staticClass:"q-uploader__overlay absolute-full flex flex-center"},[t(a["a"])])),t("div",{staticClass:"q-uploader column no-wrap",class:{"q-uploader--dark q-dark":this.isDark,"q-uploader--bordered":this.bordered,"q-uploader--square no-border-radius":this.square,"q-uploader--flat no-shadow":this.flat,"disabled q-uploader--disable":this.disable,"q-uploader--dnd":this.dnd},on:!0===this.canAddFiles?Object(b["b"])(this,"drag",{dragover:this.__onDragOver,dragleave:this.__onDragLeave}):null},e)}});i("d9e2");function x(t){return"function"===typeof t?t:()=>t}var w={props:{url:[Function,String],method:{type:[Function,String],default:"POST"},fieldName:{type:[Function,String],default:t=>t.name},headers:[Function,Array],formFields:[Function,Array],withCredentials:[Function,Boolean],sendRaw:[Function,Boolean],batch:[Function,Boolean],factory:Function},data(){return{xhrs:[],promises:[],workingThreads:0}},computed:{xhrProps(){return{url:x(this.url),method:x(this.method),headers:x(this.headers),formFields:x(this.formFields),fieldName:x(this.fieldName),withCredentials:x(this.withCredentials),sendRaw:x(this.sendRaw),batch:x(this.batch)}},isUploading(){return this.workingThreads>0},isBusy(){return this.promises.length>0}},methods:{abort(){this.xhrs.forEach((t=>{t.abort()})),this.promises.length>0&&(this.abortPromises=!0)},upload(){if(!1===this.canUpload)return;const t=this.queuedFiles.slice(0);this.queuedFiles=[],this.xhrProps.batch(t)?this.__runFactory(t):t.forEach((t=>{this.__runFactory([t])}))},__runFactory(t){if(this.workingThreads++,"function"!==typeof this.factory)return void this.__uploadFiles(t,{});const e=this.factory(t);if(e)if("function"===typeof e.catch&&"function"===typeof e.then){this.promises.push(e);const i=i=>{!0!==this._isBeingDestroyed&&!0!==this._isDestroyed&&(this.promises=this.promises.filter((t=>t!==e)),0===this.promises.length&&(this.abortPromises=!1),this.queuedFiles=this.queuedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"failed")})),this.$emit("factory-failed",i,t),this.workingThreads--)};e.then((n=>{!0===this.abortPromises?i(new Error("Aborted")):!0!==this._isBeingDestroyed&&!0!==this._isDestroyed&&(this.promises=this.promises.filter((t=>t!==e)),this.__uploadFiles(t,n))})).catch(i)}else this.__uploadFiles(t,e||{});else this.$emit("factory-failed",new Error("QUploader: factory() does not return properly"),t),this.workingThreads--},__uploadFiles(t,e){const i=new FormData,n=new XMLHttpRequest,r=(t,i)=>void 0!==e[t]?x(e[t])(i):this.xhrProps[t](i),o=r("url",t);if(!o)return console.error("q-uploader: invalid or no URL specified"),void this.workingThreads--;const a=r("formFields",t);void 0!==a&&a.forEach((t=>{i.append(t.name,t.value)}));let s,l=0,u=0,c=0,h=0;n.upload.addEventListener("progress",(e=>{if(!0===s)return;const i=Math.min(h,e.loaded);this.uploadedSize+=i-c,c=i;let n=c-u;for(let r=l;n>0&&r<t.length;r++){const e=t[r],i=n>e.size;if(!i)return void this.__updateFile(e,"uploading",n);n-=e.size,l++,u+=e.size,this.__updateFile(e,"uploading",e.size)}}),!1),n.onreadystatechange=()=>{n.readyState<4||(n.status&&n.status<400?(this.uploadedFiles=this.uploadedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"uploaded")})),this.$emit("uploaded",{files:t,xhr:n})):(s=!0,this.uploadedSize-=c,this.queuedFiles=this.queuedFiles.concat(t),t.forEach((t=>{this.__updateFile(t,"failed")})),this.$emit("failed",{files:t,xhr:n})),this.workingThreads--,this.xhrs=this.xhrs.filter((t=>t!==n)))},n.open(r("method",t),o),!0===r("withCredentials",t)&&(n.withCredentials=!0);const d=r("headers",t);void 0!==d&&d.forEach((t=>{n.setRequestHeader(t.name,t.value)}));const p=r("sendRaw",t);t.forEach((t=>{this.__updateFile(t,"uploading",0),!0!==p&&i.append(r("fieldName",t),t,t.name),t.xhr=n,t.__abort=()=>{n.abort()},h+=t.size})),this.$emit("uploading",{files:t,xhr:n}),this.xhrs.push(n),!0===p?n.send(new Blob(t)):n.send(i)}}};e["a"]=n["a"].extend({name:"QUploader",mixins:[_,w]})},eebe:function(t,e){t.exports=function(t,e,i){var n;if("function"===typeof t.exports?(n=t.exports.extendOptions,n[e]=t.exports.options[e]):n=t.options,void 0===n[e])n[e]=i;else{var r=n[e];for(var o in i)void 0===r[o]&&(r[o]=i[o])}}},ef35:function(t,e,i){"use strict";var n=i("2b0e"),r=i("87e8"),o=i("1c16"),a=i("f303"),s=i("0831"),l=i("d882"),u=i("dde5");const{passive:c}=l["f"];e["a"]=n["a"].extend({name:"QInfiniteScroll",mixins:[r["a"]],props:{offset:{type:Number,default:500},debounce:{type:[String,Number],default:100},scrollTarget:{default:void 0},initialIndex:Number,disable:Boolean,reverse:Boolean},data(){return{index:this.initialIndex||0,isFetching:!1,isWorking:!0}},watch:{disable(t){!0===t?this.stop():this.resume()},reverse(){!1===this.isFetching&&!0===this.isWorking&&this.immediatePoll()},scrollTarget(){this.updateScrollTarget()},debounce(t){this.__setDebounce(t)}},methods:{poll(){if(!0===this.disable||!0===this.isFetching||!1===this.isWorking)return;const t=Object(s["b"])(this.__scrollTarget),e=Object(s["c"])(this.__scrollTarget),i=Object(a["e"])(this.__scrollTarget);!1===this.reverse?Math.round(e+i+this.offset)>=Math.round(t)&&this.trigger():Math.round(e)<this.offset&&this.trigger()},trigger(){if(!0===this.disable||!0===this.isFetching||!1===this.isWorking)return;this.index++,this.isFetching=!0;const t=Object(s["b"])(this.__scrollTarget);this.$emit("load",this.index,(e=>{!0===this.isWorking&&(this.isFetching=!1,this.$nextTick((()=>{if(!0===this.reverse){const e=Object(s["b"])(this.__scrollTarget),i=Object(s["c"])(this.__scrollTarget),n=e-t;Object(s["i"])(this.__scrollTarget,i+n)}!0===e?this.stop():this.$el.closest("body")&&this.poll()})))}))},reset(){this.index=0},resume(){!1===this.isWorking&&(this.isWorking=!0,this.__scrollTarget.addEventListener("scroll",this.poll,c)),this.immediatePoll()},stop(){!0===this.isWorking&&(this.isWorking=!1,this.isFetching=!1,this.__scrollTarget.removeEventListener("scroll",this.poll,c),"function"===typeof this.poll.cancel&&this.poll.cancel())},updateScrollTarget(){if(this.__scrollTarget&&!0===this.isWorking&&this.__scrollTarget.removeEventListener("scroll",this.poll,c),this.__scrollTarget=Object(s["d"])(this.$el,this.scrollTarget),!0===this.isWorking){if(this.__scrollTarget.addEventListener("scroll",this.poll,c),!0===this.reverse){const t=Object(s["b"])(this.__scrollTarget),e=Object(a["e"])(this.__scrollTarget);Object(s["i"])(this.__scrollTarget,t-e)}this.immediatePoll()}},setIndex(t){this.index=t},__setDebounce(t){t=parseInt(t,10);const e=this.poll;this.poll=t<=0?this.immediatePoll:Object(o["a"])(this.immediatePoll,!0===isNaN(t)?100:t),this.__scrollTarget&&!0===this.isWorking&&(void 0!==e&&this.__scrollTarget.removeEventListener("scroll",e,c),this.__scrollTarget.addEventListener("scroll",this.poll,c))}},mounted(){this.immediatePoll=this.poll,this.__setDebounce(this.debounce),this.updateScrollTarget()},activated(){void 0!==this.__scrollPosition&&this.__scrollTarget&&Object(s["i"])(this.__scrollTarget,this.__scrollPosition)},deactivated(){this.__scrollPosition=this.__scrollTarget?Object(s["c"])(this.__scrollTarget):void 0},beforeDestroy(){this.stop()},render(t){const e=Object(u["d"])(this,"default",[]);return!0!==this.disable&&!0===this.isWorking&&e[!1===this.reverse?"push":"unshift"](t("div",{staticClass:"q-infinite-scroll__loading",class:!0===this.isFetching?"":"invisible"},Object(u["c"])(this,"loading"))),t("div",{staticClass:"q-infinite-scroll",on:{...this.qListeners}},e)}})},efe6:function(t,e,i){"use strict";i.d(e,"b",(function(){return b}));var n=i("d882"),r=i("0831"),o=i("0967");let a,s,l,u,c,h,d=0,p=!1;function f(t){g(t)&&Object(n["l"])(t)}function g(t){if(t.target===document.body||t.target.classList.contains("q-layout__backdrop"))return!0;const e=Object(n["d"])(t),i=t.shiftKey&&!t.deltaX,o=!i&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),a=i||o?t.deltaY:t.deltaX;for(let n=0;n<e.length;n++){const t=e[n];if(Object(r["f"])(t,o))return o?a<0&&0===t.scrollTop||a>0&&t.scrollTop+t.clientHeight===t.scrollHeight:a<0&&0===t.scrollLeft||a>0&&t.scrollLeft+t.clientWidth===t.scrollWidth}return!0}function m(t){t.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function v(t){!0!==p&&(p=!0,requestAnimationFrame((()=>{p=!1;const{height:e}=t.target,{clientHeight:i,scrollTop:n}=document.scrollingElement;void 0!==l&&e===window.innerHeight||(l=i-e,document.scrollingElement.scrollTop=n),n>l&&(document.scrollingElement.scrollTop-=Math.ceil((n-l)/8))})))}function y(t){const e=document.body,i=void 0!==window.visualViewport;if("add"===t){const t=window.getComputedStyle(e).overflowY;a=Object(r["a"])(window),s=Object(r["c"])(window),u=e.style.left,c=e.style.top,e.style.left=`-${a}px`,e.style.top=`-${s}px`,"hidden"!==t&&("scroll"===t||e.scrollHeight>window.innerHeight)&&e.classList.add("q-body--force-scrollbar"),e.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,!0===o["a"].is.ios&&(!0===i?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",v,n["f"].passiveCapture),window.visualViewport.addEventListener("scroll",v,n["f"].passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",m,n["f"].passiveCapture))}!0===o["a"].is.desktop&&!0===o["a"].is.mac&&window[`${t}EventListener`]("wheel",f,n["f"].notPassive),"remove"===t&&(!0===o["a"].is.ios&&(!0===i?(window.visualViewport.removeEventListener("resize",v,n["f"].passiveCapture),window.visualViewport.removeEventListener("scroll",v,n["f"].passiveCapture)):window.removeEventListener("scroll",m,n["f"].passiveCapture)),e.classList.remove("q-body--prevent-scroll"),e.classList.remove("q-body--force-scrollbar"),document.qScrollPrevented=!1,e.style.left=u,e.style.top=c,window.scrollTo(a,s),l=void 0)}function b(t){let e="add";if(!0===t){if(d++,void 0!==h)return clearTimeout(h),void(h=void 0);if(d>1)return}else{if(0===d)return;if(d--,d>0)return;if(e="remove",!0===o["a"].is.ios&&!0===o["a"].is.nativeMobile)return clearTimeout(h),void(h=setTimeout((()=>{y(e),h=void 0}),100))}y(e)}e["a"]={methods:{__preventScroll(t){t===this.preventedScroll||void 0===this.preventedScroll&&!0!==t||(this.preventedScroll=t,b(t))}}}},f069:function(t,e,i){"use strict";var n=i("59ed"),r=function(t){var e,i;this.promise=new t((function(t,n){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=n})),this.resolve=n(e),this.reject=n(i)};t.exports.f=function(t){return new r(t)}},f08e:function(t,e,i){"use strict";var n;function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}Object.defineProperty(e,"__esModule",{value:!0});var o=e.SET_A=0,a=e.SET_B=1,s=e.SET_C=2,l=(e.SHIFT=98,e.START_A=103),u=e.START_B=104,c=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(n={},r(n,l,o),r(n,u,a),r(n,c,s),n),e.SWAP={101:o,100:a,99:s},e.A_START_CHAR=String.fromCharCode(208),e.B_START_CHAR=String.fromCharCode(209),e.C_START_CHAR=String.fromCharCode(210),e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},f09f:function(t,e,i){"use strict";var n=i("2b0e"),r=i("b7fa"),o=i("e2fa"),a=i("87e8"),s=i("dde5");e["a"]=n["a"].extend({name:"QCard",mixins:[a["a"],r["a"],o["a"]],props:{square:Boolean,flat:Boolean,bordered:Boolean},computed:{classes(){return"q-card"+(!0===this.isDark?" q-card--dark q-dark":"")+(!0===this.bordered?" q-card--bordered":"")+(!0===this.square?" q-card--square no-border-radius":"")+(!0===this.flat?" q-card--flat no-shadow":"")}},render(t){return t(this.tag,{class:this.classes,on:{...this.qListeners}},Object(s["c"])(this,"default"))}})},f20b:function(t,e,i){"use strict";var n=i("2b0e"),r=i("c8c8"),o=i("f376"),a=i("0016"),s=i("9c40"),l=i("e7a9"),u=i("4e73"),c=i("dde5"),h=i("d882"),d=i("0cd3");e["a"]=n["a"].extend({name:"QBtnDropdown",mixins:[r["a"],o["b"]],inheritAttrs:!1,props:{value:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean},data(){return{showing:this.value}},watch:{value(t){void 0!==this.$refs.menu&&this.$refs.menu[t?"show":"hide"]()},split(){this.hide()}},render(t){const e=Object(c["c"])(this,"label",[]),i={"aria-expanded":!0===this.showing?"true":"false","aria-haspopup":"true"};(!0===this.disable||!1===this.split&&!0===this.disableMainBtn||!0===this.disableDropdown)&&(i["aria-disabled"]="true");const n=[t(a["a"],{props:{name:this.dropdownIcon||this.$q.iconSet.arrow.dropdown},class:"q-btn-dropdown__arrow"+(!0===this.showing&&!1===this.noIconAnimation?" rotate-180":"")+(!1===this.split?" q-btn-dropdown__arrow-container":"")})];if(!0!==this.disableDropdown&&n.push(t(u["a"],{ref:"menu",props:{cover:this.cover,fit:!0,persistent:this.persistent,noRouteDismiss:this.noRouteDismiss,autoClose:this.autoClose,anchor:this.menuAnchor,self:this.menuSelf,offset:this.menuOffset,contentClass:this.contentClass,contentStyle:this.contentStyle,separateClosePopup:!0},on:Object(d["b"])(this,"menu",{"before-show":t=>{this.showing=!0,this.$emit("before-show",t)},show:t=>{this.$emit("show",t),this.$emit("input",!0)},"before-hide":t=>{this.showing=!1,this.$emit("before-hide",t)},hide:t=>{this.$emit("hide",t),this.$emit("input",!1)}})},Object(c["c"])(this,"default"))),!1===this.split)return t(s["a"],{class:"q-btn-dropdown q-btn-dropdown--simple",props:{...this.$props,disable:!0===this.disable||!0===this.disableMainBtn,noWrap:!0,round:!1},attrs:{...this.qAttrs,...i},on:Object(d["b"])(this,"nonSpl",{click:t=>{this.$emit("click",t)}})},e.concat(n));const r=t(s["a"],{class:"q-btn-dropdown--current",props:{...this.$props,disable:!0===this.disable||!0===this.disableMainBtn,noWrap:!0,iconRight:this.iconRight,round:!1},attrs:this.qAttrs,on:Object(d["b"])(this,"spl",{click:t=>{Object(h["k"])(t),this.hide(),this.$emit("click",t)}})},e);return t(l["a"],{props:{outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,unelevated:this.unelevated,glossy:this.glossy,stretch:this.stretch},staticClass:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item"},[r,t(s["a"],{staticClass:"q-btn-dropdown__arrow-container q-anchor--skip",attrs:i,props:{disable:!0===this.disable||!0===this.disableDropdown,outline:this.outline,flat:this.flat,rounded:this.rounded,push:this.push,size:this.size,color:this.color,textColor:this.textColor,dense:this.dense,ripple:this.ripple}},n)])},methods:{toggle(t){this.$refs.menu&&this.$refs.menu.toggle(t)},show(t){this.$refs.menu&&this.$refs.menu.show(t)},hide(t){this.$refs.menu&&this.$refs.menu.hide(t)}},mounted(){!0===this.value&&this.show()}})},f303:function(t,e,i){"use strict";function n(t){return t===window?window.innerHeight:t.getBoundingClientRect().height}function r(t,e){const i=t.style;Object.keys(e).forEach((t=>{i[t]=e[t]}))}function o(t){const e=typeof t;if("function"===e&&(t=t()),"string"===e)try{t=document.querySelector(t)}catch(i){}return t!==Object(t)?null:!0===t._isVue&&void 0!==t.$el?t.$el:t}function a(t,e){if(void 0===t||!0===t.contains(e))return!0;for(let i=t.nextElementSibling;null!==i;i=i.nextElementSibling)if(i.contains(e))return!0;return!1}function s(t){return t===document.documentElement||null===t?document.body:t}i.d(e,"e",(function(){return n})),i.d(e,"b",(function(){return r})),i.d(e,"d",(function(){return o})),i.d(e,"a",(function(){return a})),i.d(e,"c",(function(){return s}))},f376:function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"c",(function(){return o}));var n=i("0cd3");const r={"aria-hidden":"true"},o={tabindex:0,type:"button","aria-hidden":!1,role:null};e["b"]=Object(n["c"])("$attrs","qAttrs")},f495:function(t,e,i){var n=i("c04e"),r=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw r("Can't convert number to bigint");return BigInt(e)}},f508:function(t,e,i){"use strict";var n=i("2b0e"),r=i("0d59"),o=i("0967"),a=i("0cd3"),s=i("5ff7"),l=i("efe6");let u,c,h=0,d={};const p={delay:0,message:!1,spinnerSize:80,spinnerColor:"white",messageColor:"white",backgroundColor:"black",spinner:r["a"],customClass:""},f={...p},g={isActive:!1,show(t){if(!0!==o["e"]){if(d=!0===Object(s["d"])(t)&&!0===t.ignoreDefaults?{...p,...t}:{...f,...t},d.customClass+=` text-${d.backgroundColor}`,this.isActive=!0,void 0!==u)return d.uid=h,void u.$forceUpdate();d.uid=++h,clearTimeout(c),c=setTimeout((()=>{c=void 0;const t=document.createElement("div");document.body.appendChild(t),u=new n["a"]({name:"QLoading",devtools:{hide:!0},beforeCreate(){void 0===this._routerRoot&&(this._routerRoot={})},el:t,mounted(){Object(l["b"])(!0)},render:t=>t("transition",{props:{name:"q-transition--fade",appear:!0},on:Object(a["b"])(this,"tr",{"after-leave":()=>{!0!==this.isActive&&void 0!==u&&(Object(l["b"])(!1),u.$destroy(),u.$el.remove(),u=void 0)}})},[!0===this.isActive?t("div",{staticClass:"q-loading fullscreen column flex-center z-max",key:d.uid,class:d.customClass.trim()},[t(d.spinner,{props:{color:d.spinnerColor,size:d.spinnerSize}}),d.message&&t("div",{class:`text-${d.messageColor}`,domProps:{[!0===d.sanitize?"textContent":"innerHTML"]:d.message}})||void 0]):null])})}),d.delay)}},hide(){!0===this.isActive&&(void 0!==c&&(clearTimeout(c),c=void 0),this.isActive=!1)},setDefaults(t){!0===Object(s["d"])(t)&&Object.assign(f,t)},install({$q:t,cfg:{loading:e}}){this.setDefaults(e),t.loading=this}};!1===o["e"]&&n["a"].util.defineReactive(g,"isActive",g.isActive),e["a"]=g},f5df:function(t,e,i){var n=i("00ee"),r=i("1626"),o=i("c6b6"),a=i("b622"),s=a("toStringTag"),l=Object,u="Arguments"==o(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(i){}};t.exports=n?o:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=c(e=l(t),s))?i:u?o(e):"Object"==(n=o(e))&&r(e.callee)?"Arguments":n}},f6b4:function(t,e,i){"use strict";var n=i("c532");function r(){this.handlers=[]}r.prototype.use=function(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},f772:function(t,e,i){var n=i("5692"),r=i("90e3"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},f89c:function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),e["b"]={props:{name:String},computed:{formAttrs(){return{type:"hidden",name:this.name,value:this.value}}},methods:{__injectFormInput(t,e,i){t[e](this.$createElement("input",{staticClass:"hidden",class:i,attrs:this.formAttrs,domProps:this.formDomProps}))}}};const n={props:{name:String},computed:{nameProp(){return this.name||this.for}}}},f8cd:function(t,e,i){var n=i("5926"),r=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw r("The argument can't be less than 0");return e}},fa9e:function(t,e,i){i("986a")},fbb2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=i("e762"),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function u(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var c=function(t){function e(t,i){return s(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i))}return u(e,t),n(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(o.default);e.GenericBarcode=c},fc6a:function(t,e,i){var n=i("44ad"),r=i("1d80");t.exports=function(t){return n(r(t))}},fce3:function(t,e,i){var n=i("d039"),r=i("da84"),o=r.RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fd7c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};e.default=function(t,e){return n({},t,e)}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,i){var n=i("4930");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ff7b:function(t,e,i){"use strict";var n=i("6642");e["a"]=Object(n["b"])({xs:30,sm:35,md:40,lg:50,xl:60})},ff84:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("349c"),r=i("da3d"),o=i("241e"),a=i("2635"),s=i("9ffa"),l=i("8e51"),u=i("7cb9"),c=i("c17b"),h=i("fbb2");e.default={CODE39:n.CODE39,CODE128:r.CODE128,CODE128A:r.CODE128A,CODE128B:r.CODE128B,CODE128C:r.CODE128C,EAN13:o.EAN13,EAN8:o.EAN8,EAN5:o.EAN5,EAN2:o.EAN2,UPC:o.UPC,UPCE:o.UPCE,ITF14:a.ITF14,ITF:s.ITF,MSI:l.MSI,MSI10:l.MSI10,MSI11:l.MSI11,MSI1010:l.MSI1010,MSI1110:l.MSI1110,pharmacode:u.pharmacode,codabar:c.codabar,GenericBarcode:h.GenericBarcode}}}]);